Class: Google::Apis::FirebasedatabaseV1beta::ListDatabaseInstancesResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedatabaseV1beta::ListDatabaseInstancesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasedatabase_v1beta/classes.rb,
generated/google/apis/firebasedatabase_v1beta/representations.rb,
generated/google/apis/firebasedatabase_v1beta/representations.rb
Overview
The response from the ListDatabaseInstances method.
Instance Attribute Summary collapse
-
#instances ⇒ Array<Google::Apis::FirebasedatabaseV1beta::DatabaseInstance>
List of each DatabaseInstance that is in the parent Firebase project.
-
#next_page_token ⇒ String
If the result list is too large to fit in a single response, then a token is returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListDatabaseInstancesResponse
constructor
A new instance of ListDatabaseInstancesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListDatabaseInstancesResponse
Returns a new instance of ListDatabaseInstancesResponse.
105 106 107 |
# File 'generated/google/apis/firebasedatabase_v1beta/classes.rb', line 105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::FirebasedatabaseV1beta::DatabaseInstance>
List of each DatabaseInstance that is in the parent Firebase project.
Corresponds to the JSON property instances
94 95 96 |
# File 'generated/google/apis/firebasedatabase_v1beta/classes.rb', line 94 def instances @instances end |
#next_page_token ⇒ String
If the result list is too large to fit in a single response, then a token is
returned. If the string is empty, then this response is the last page of
results. This token can be used in a subsequent call to ListDatabaseInstances
to find the next group of database instances. Page tokens are short-lived and
should not be persisted.
Corresponds to the JSON property nextPageToken
103 104 105 |
# File 'generated/google/apis/firebasedatabase_v1beta/classes.rb', line 103 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
110 111 112 113 |
# File 'generated/google/apis/firebasedatabase_v1beta/classes.rb', line 110 def update!(**args) @instances = args[:instances] if args.key?(:instances) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |