Class: Google::Apis::CloudidentityV1::LookupMembershipNameResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LookupMembershipNameResponse

Returns a new instance of LookupMembershipNameResponse.



221
222
223
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 221

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

Instance Attribute Details

#nameString

Resource name of the Membership being looked up. Format: groups/group_id/memberships/member_id`, wheregroup_idis the unique ID assigned to the Group to which Membership belongs to, and member_idis the unique ID assigned to the member. Corresponds to the JSON propertyname`

Returns:

  • (String)


219
220
221
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 219

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



226
227
228
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 226

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