Class: Google::Apis::CloudidentityV1::UpdateMembershipRolesParams

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/representations.rb

Overview

The details of an update to a MembershipRole.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateMembershipRolesParams

Returns a new instance of UpdateMembershipRolesParams.



1954
1955
1956
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1954

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

Instance Attribute Details

#field_maskString

The fully-qualified names of fields to update. May only contain the field expiry_detail.expire_time. Corresponds to the JSON property fieldMask

Returns:

  • (String)


1946
1947
1948
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1946

def field_mask
  @field_mask
end

#membership_roleGoogle::Apis::CloudidentityV1::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



1952
1953
1954
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1952

def membership_role
  @membership_role
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1959
1960
1961
1962
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1959

def update!(**args)
  @field_mask = args[:field_mask] if args.key?(:field_mask)
  @membership_role = args[:membership_role] if args.key?(:membership_role)
end