Method: projects.locations.backupCollections.backups.export

Mengekspor cadangan tertentu ke URI Cloud Storage target pelanggan.

Permintaan HTTP

POST https://redis.googleapis.com/v1beta1/{name=projects/*/locations/*/backupCollections/*/backups/*}:export

URL menggunakan sintaks gRPC Transcoding.

Parameter jalur

Parameter
name

string

Wajib. Nama resource cadangan Redis menggunakan formulir: projects/{projectId}/locations/{locationId}/backupCollections/{backup_collection_id}/backups/{backupId}

Isi permintaan

Isi permintaan memuat data dengan struktur berikut:

Representasi JSON
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "gcsBucket": string
  // End of mutually exclusive fields.
}
Kolom
Wajib. Tentukan tujuan untuk mengekspor cadangan. Berikut adalah daftar kolom yang bersifat eksklusif satu sama lain. Maksimal satu kolom akan ditetapkan dalam respons:
gcsBucket

string

Bucket Google Cloud Storage, seperti "my-bucket".

Akhir kolom yang saling eksklusif.

Isi respons

Jika berhasil, isi respons akan memuat instance Operation.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/redis.read-write

Untuk mengetahui informasi selengkapnya, lihat Authentication Overview.