Class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ListBackupsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firestore_v1/classes.rb,
lib/google/apis/firestore_v1/representations.rb,
lib/google/apis/firestore_v1/representations.rb

Overview

The response for FirestoreAdmin.ListBackups.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirestoreAdminV1ListBackupsResponse

Returns a new instance of GoogleFirestoreAdminV1ListBackupsResponse.



2336
2337
2338
# File 'lib/google/apis/firestore_v1/classes.rb', line 2336

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

Instance Attribute Details

#backupsArray<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Backup>

List of all backups for the project. Corresponds to the JSON property backups



2325
2326
2327
# File 'lib/google/apis/firestore_v1/classes.rb', line 2325

def backups
  @backups
end

#unreachableArray<String>

List of locations that existing backups were not able to be fetched from. Instead of failing the entire requests when a single location is unreachable, this response returns a partial result set and list of locations unable to be reached here. The request can be retried against a single location to get a concrete error. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2334
2335
2336
# File 'lib/google/apis/firestore_v1/classes.rb', line 2334

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2341
2342
2343
2344
# File 'lib/google/apis/firestore_v1/classes.rb', line 2341

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