Class: Google::Apis::CloudidentityV1beta1::UpdateMembershipRolesParams
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::UpdateMembershipRolesParams
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb
Overview
The details of an update to a MembershipRole
.
Instance Attribute Summary collapse
-
#field_mask ⇒ String
The fully-qualified names of fields to update.
-
#membership_role ⇒ Google::Apis::CloudidentityV1beta1::MembershipRole
A membership role within the Cloud Identity Groups API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateMembershipRolesParams
constructor
A new instance of UpdateMembershipRolesParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateMembershipRolesParams
Returns a new instance of UpdateMembershipRolesParams.
2210 2211 2212 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 2210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_mask ⇒ String
The fully-qualified names of fields to update. May only contain the field
expiry_detail
.
Corresponds to the JSON property fieldMask
2202 2203 2204 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 2202 def field_mask @field_mask end |
#membership_role ⇒ Google::Apis::CloudidentityV1beta1::MembershipRole
A membership role within the Cloud Identity Groups API. A MembershipRole
defines the privileges granted to a Membership
.
Corresponds to the JSON property membershipRole
2208 2209 2210 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 2208 def membership_role @membership_role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2215 2216 2217 2218 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 2215 def update!(**args) @field_mask = args[:field_mask] if args.key?(:field_mask) @membership_role = args[:membership_role] if args.key?(:membership_role) end |