Class: Google::Apis::CloudidentityV1::SearchTransitiveMembershipsResponse

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.SearchTransitiveMemberships.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchTransitiveMembershipsResponse

Returns a new instance of SearchTransitiveMembershipsResponse.



1842
1843
1844
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1842

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#membershipsArray<Google::Apis::CloudidentityV1::MemberRelation>

List of transitive members satisfying the query. Corresponds to the JSON property memberships



1834
1835
1836
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1834

def memberships
  @memberships
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1840
1841
1842
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1840

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1847
1848
1849
1850
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1847

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