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.



1886
1887
1888
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1886

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



1878
1879
1880
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1878

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)


1884
1885
1886
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1884

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1891
1892
1893
1894
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 1891

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