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

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

Overview

The response message for MembershipsService.LookupMembershipName.

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.



927
928
929
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 927

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)


925
926
927
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 925

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



932
933
934
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 932

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