Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetPolicyRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb
Overview
Request message for SetPolicy
method.
Instance Attribute Summary collapse
-
#disable_notification ⇒ Boolean
(also: #disable_notification?)
Optional.
-
#policy ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy
Defines an access control policy to the resources.
-
#resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalSetPolicyRequest
constructor
A new instance of SasPortalSetPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalSetPolicyRequest
Returns a new instance of SasPortalSetPolicyRequest.
1360 1361 1362 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_notification ⇒ Boolean Also known as: disable_notification?
Optional. Set the field as true
to disable the onboarding notification.
Corresponds to the JSON property disableNotification
1346 1347 1348 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1346 def disable_notification @disable_notification end |
#policy ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy
Defines an access control policy to the resources.
Corresponds to the JSON property policy
1352 1353 1354 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1352 def policy @policy end |
#resource ⇒ String
Required. The resource for which the policy is being specified. This policy
replaces any existing policy.
Corresponds to the JSON property resource
1358 1359 1360 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1358 def resource @resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1365 1366 1367 1368 1369 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1365 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 |