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.



1961
1962
1963
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1961

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)


1959
1960
1961
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1959

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1966
1967
1968
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1966

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