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.


1642
1643
1644
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1642

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)

1640
1641
1642
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1640

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1647
1648
1649
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1647

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