Class: Google::Apis::CloudidentityV1::SearchGroupsResponse

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 GroupsService.SearchGroups.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchGroupsResponse

Returns a new instance of SearchGroupsResponse.



1903
1904
1905
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1903

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

Instance Attribute Details

#groupsArray<Google::Apis::CloudidentityV1::Group>

The Group resources that match the search query. Corresponds to the JSON property groups



1895
1896
1897
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1895

def groups
  @groups
end

#next_page_tokenString

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

Returns:

  • (String)


1901
1902
1903
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1901

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1908
1909
1910
1911
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1908

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