class Google::Apis::SasportalV1alpha1::SasPortalSetPolicyRequest
Request message for `SetPolicy` method.
Attributes
disable_notification[RW]
Optional. Set the field as true when we would like to disable the onboarding notification. Corresponds to the JSON property `disableNotification` @return [Boolean]
disable_notification?[RW]
Optional. Set the field as true when we would like to disable the onboarding notification. Corresponds to the JSON property `disableNotification` @return [Boolean]
policy[RW]
Defines an access control policy to the resources. Corresponds to the JSON property `policy` @return [Google::Apis::SasportalV1alpha1::SasPortalPolicy]
resource[RW]
Required. The resource for which the policy is being specified. This policy replaces any existing policy. Corresponds to the JSON property `resource` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 1056 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 1061 def update!(**args) @disable_notification = args[:disable_notification] if args.key?(:disable_notification) @policy = args[:policy] if args.key?(:policy) @resource = args[:resource] if args.key?(:resource) end