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.



1835
1836
1837
# File 'lib/google/apis/firestore_v1/classes.rb', line 1835

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



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

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


1833
1834
1835
# File 'lib/google/apis/firestore_v1/classes.rb', line 1833

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1840
1841
1842
1843
# File 'lib/google/apis/firestore_v1/classes.rb', line 1840

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