Class: Google::Apis::CloudcontrolspartnerV1::PartnerPermissions
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::PartnerPermissions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
The permissions granted to the partner for a workload
Instance Attribute Summary collapse
-
#name ⇒ String
Identifier.
-
#partner_permissions ⇒ Array<String>
The partner permissions granted for the workload Corresponds to the JSON property
partnerPermissions
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PartnerPermissions
constructor
A new instance of PartnerPermissions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PartnerPermissions
Returns a new instance of PartnerPermissions.
669 670 671 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Identifier. Format: organizations/
organization/locations/
location/
customers/
customer/workloads/
workload/partnerPermissions
Corresponds to the JSON property name
662 663 664 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 662 def name @name end |
#partner_permissions ⇒ Array<String>
The partner permissions granted for the workload
Corresponds to the JSON property partnerPermissions
667 668 669 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 667 def @partner_permissions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
674 675 676 677 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 674 def update!(**args) @name = args[:name] if args.key?(:name) @partner_permissions = args[:partner_permissions] if args.key?(:partner_permissions) end |