Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalSetPolicyRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalSetPolicyRequest

Returns a new instance of SasPortalSetPolicyRequest.



1185
1186
1187
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1185

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disable_notificationBoolean Also known as: disable_notification?

Optional. Set the field as true to disable the onboarding notification. Corresponds to the JSON property disableNotification

Returns:

  • (Boolean)


1171
1172
1173
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1171

def disable_notification
  @disable_notification
end

#policyGoogle::Apis::ProdTtSasportalV1alpha1::SasPortalPolicy

Defines an access control policy to the resources. Corresponds to the JSON property policy



1177
1178
1179
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1177

def policy
  @policy
end

#resourceString

Required. The resource for which the policy is being specified. This policy replaces any existing policy. Corresponds to the JSON property resource

Returns:

  • (String)


1183
1184
1185
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1183

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1190
1191
1192
1193
1194
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 1190

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