Class: Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse

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

Overview

The response returned from the SearchOrganizations method.

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

Returns a new instance of SearchOrganizationsResponse



1616
1617
1618
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1616

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1608
1609
1610
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1608

def next_page_token
  @next_page_token
end

#organizationsArray<Google::Apis::CloudresourcemanagerV1::Organization>

The list of Organizations that matched the search query, possibly paginated. Corresponds to the JSON property organizations



1614
1615
1616
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1614

def organizations
  @organizations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1621
1622
1623
1624
# File 'generated/google/apis/cloudresourcemanager_v1/classes.rb', line 1621

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