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.



1901
1902
1903
# File 'lib/google/apis/firestore_v1/classes.rb', line 1901

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



1890
1891
1892
# File 'lib/google/apis/firestore_v1/classes.rb', line 1890

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


1899
1900
1901
# File 'lib/google/apis/firestore_v1/classes.rb', line 1899

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1906
1907
1908
1909
# File 'lib/google/apis/firestore_v1/classes.rb', line 1906

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