Class: Google::Apis::RedisV1beta1::ListBackupCollectionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::ListBackupCollectionsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb
Overview
Response for [ListBackupCollections].
Instance Attribute Summary collapse
-
#backup_collections ⇒ Array<Google::Apis::RedisV1beta1::BackupCollection>
A list of backupCollections in the project.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBackupCollectionsResponse
constructor
A new instance of ListBackupCollectionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBackupCollectionsResponse
Returns a new instance of ListBackupCollectionsResponse.
2060 2061 2062 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2060 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_collections ⇒ Array<Google::Apis::RedisV1beta1::BackupCollection>
A list of backupCollections in the project. If the location_id in the parent
field of the request is "-", all regions available to the project are queried,
and the results aggregated. If in such an aggregated query a location is
unavailable, a placeholder backupCollection entry is included in the response
with the name field set to a value of the form projects/project_id/
locations/location_id/backupCollections/- and the status field set to
ERROR and status_message field set to "location not available for
ListBackupCollections".
Corresponds to the JSON property backupCollections
2047 2048 2049 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2047 def backup_collections @backup_collections end |
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
2053 2054 2055 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2053 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
2058 2059 2060 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2058 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2065 2066 2067 2068 2069 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2065 def update!(**args) @backup_collections = args[:backup_collections] if args.key?(:backup_collections) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |