Class: Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse
- Defined in:
- generated/google/apis/cloudresourcemanager_v1beta1/classes.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb
Overview
The response returned from the ListOrganizations
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A pagination token to be used to retrieve the next page of results.
-
#organizations ⇒ Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>
The list of Organizations that matched the list query, possibly paginated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListOrganizationsResponse
constructor
A new instance of ListOrganizationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListOrganizationsResponse
Returns a new instance of ListOrganizationsResponse.
428 429 430 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 428 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A pagination token to be used to retrieve the next page of results. If the
result is too large to fit within the page size specified in the request, this
field will be set with a token that can be used to fetch the next page of
results. If this field is empty, it indicates that this response contains the
last page of results.
Corresponds to the JSON property nextPageToken
426 427 428 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 426 def next_page_token @next_page_token end |
#organizations ⇒ Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>
The list of Organizations that matched the list query, possibly paginated.
Corresponds to the JSON property organizations
417 418 419 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 417 def organizations @organizations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
433 434 435 436 |
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 433 def update!(**args) @organizations = args[:organizations] if args.key?(:organizations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |