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.



1825
1826
1827
# File 'lib/google/apis/firestore_v1/classes.rb', line 1825

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

Instance Attribute Details

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

List of all backups for the project. Ordered by location ASC, create_time DESC, name ASC. Corresponds to the JSON property backups



1814
1815
1816
# File 'lib/google/apis/firestore_v1/classes.rb', line 1814

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


1823
1824
1825
# File 'lib/google/apis/firestore_v1/classes.rb', line 1823

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1830
1831
1832
1833
# File 'lib/google/apis/firestore_v1/classes.rb', line 1830

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