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

Overview

The response message for MembershipsService.LookupMembershipName.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LookupMembershipNameResponse

Returns a new instance of LookupMembershipNameResponse.



1148
1149
1150
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 1148

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

Instance Attribute Details

#nameString

The resource name of the looked-up Membership. Must be of the form groups/group_id/memberships/ membership_id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


1146
1147
1148
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 1146

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1153
1154
1155
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 1153

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