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.



2310
2311
2312
# File 'lib/google/apis/firestore_v1/classes.rb', line 2310

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



2299
2300
2301
# File 'lib/google/apis/firestore_v1/classes.rb', line 2299

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


2308
2309
2310
# File 'lib/google/apis/firestore_v1/classes.rb', line 2308

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2315
2316
2317
2318
# File 'lib/google/apis/firestore_v1/classes.rb', line 2315

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