Class: Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/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.



3064
3065
3066
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3064

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)


3062
3063
3064
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3062

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3069
3070
3071
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 3069

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