Class: Google::Apis::CloudidentityV1::SearchDirectGroupsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchDirectGroupsResponse

Returns a new instance of SearchDirectGroupsResponse.



2499
2500
2501
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2499

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

Instance Attribute Details

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

List of direct groups satisfying the query. Corresponds to the JSON property memberships



2491
2492
2493
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2491

def memberships
  @memberships
end

#next_page_tokenString

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

Returns:

  • (String)


2497
2498
2499
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2497

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2504
2505
2506
2507
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2504

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