Method: projects.locations.backupCollections.backups.export

מייצא גיבוי ספציפי ל-URI של Cloud Storage של לקוח.

בקשת HTTP


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

כתובות ה-URL כתובות בתחביר של gRPC Transcoding.

פרמטרים של נתיב

פרמטרים
name

string

חובה. שם משאב גיבוי של מכונה וירטואלית בפורמט: projects/{projectId}/locations/{locationId}/backupCollections/{backup_collection_id}/backups/{backupId}

גוף הבקשה

גוף הבקשה מכיל נתונים במבנה הבא:

ייצוג ב-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.
}
שדות
חובה. מציינים את היעד לייצוא הגיבוי. הרשימה הבאה כוללת שדות שאי אפשר להשתמש בהם בו-זמנית. בכל תשובה יוגדר לכל היותר אחד מהשדות:
gcsBucket

string

קטגוריה של Google Cloud Storage, כמו my-bucket.

סוף השדות הבלעדיים.

גוף התשובה

אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע של Operation.

היקפי הרשאות

נדרש אחד מהיקפי ההרשאות הבאים של OAuth:

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

הרשאות IAM

נדרשת הרשאת IAM הבאה במשאב name:

  • memorystore.backups.export

מידע נוסף מופיע במאמרי העזרה בנושא IAM.