Class: Google::Apis::CloudidentityV1::ListGroupsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudidentity_v1/classes.rb,
generated/google/apis/cloudidentity_v1/representations.rb,
generated/google/apis/cloudidentity_v1/representations.rb

Overview

Response message for ListGroups operation.

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) ⇒ ListGroupsResponse

Returns a new instance of ListGroupsResponse



148
149
150
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 148

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

Instance Attribute Details

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

Groups returned in response to list request. The results are not sorted. Corresponds to the JSON property groups



140
141
142
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 140

def groups
  @groups
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)


146
147
148
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 146

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



153
154
155
156
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 153

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