Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb
Overview
Request for updating permission settings for a partner workload.
Instance Attribute Summary collapse
-
#etag ⇒ String
Optional.
-
#partner_permissions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
Permissions granted to the AW Partner SA account for the customer workload Corresponds to the JSON property
partnerPermissions
. -
#update_mask ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest
constructor
A new instance of GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest
Returns a new instance of GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest.
339 340 341 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 339 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Optional. The etag of the workload. If this is provided, it must match the
server's etag.
Corresponds to the JSON property etag
326 327 328 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 326 def etag @etag end |
#partner_permissions ⇒ Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions
Permissions granted to the AW Partner SA account for the customer workload
Corresponds to the JSON property partnerPermissions
331 332 333 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 331 def @partner_permissions end |
#update_mask ⇒ String
Required. The list of fields to be updated. E.g. update_mask paths: "
partner_permissions.data_logs_viewer"
Corresponds to the JSON property updateMask
337 338 339 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 337 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
344 345 346 347 348 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 344 def update!(**args) @etag = args[:etag] if args.key?(:etag) @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions) @update_mask = args[:update_mask] if args.key?(:update_mask) end |