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

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 response message for MembershipsService.LookupMembershipName.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LookupMembershipNameResponse

Returns a new instance of LookupMembershipNameResponse.



2292
2293
2294
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2292

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/memberships/ membership`. Corresponds to the JSON propertyname`

Returns:

  • (String)


2290
2291
2292
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2290

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2297
2298
2299
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2297

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