Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::CreateBackupRequest.
Request message for CreateBackup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::Google::Cloud::GkeBackup::V1::Backup
Returns
- (::Google::Cloud::GkeBackup::V1::Backup) — The Backup resource to create.
#backup=
def backup=(value) -> ::Google::Cloud::GkeBackup::V1::Backup
Parameter
- value (::Google::Cloud::GkeBackup::V1::Backup) — The Backup resource to create.
Returns
- (::Google::Cloud::GkeBackup::V1::Backup) — The Backup resource to create.
#backup_id
def backup_id() -> ::String
Returns
-
(::String) —
The client-provided short name for the Backup resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Backups in this BackupPlan
#backup_id=
def backup_id=(value) -> ::String
Parameter
-
value (::String) —
The client-provided short name for the Backup resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Backups in this BackupPlan
Returns
-
(::String) —
The client-provided short name for the Backup resource. This name must:
- be between 1 and 63 characters long (inclusive)
- consist of only lower-case ASCII letters, numbers, and dashes
- start with a lower-case letter
- end with a lower-case letter or number
- be unique within the set of Backups in this BackupPlan
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The BackupPlan within which to create the Backup.
Format:
projects/*/locations/*/backupPlans/*
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The BackupPlan within which to create the Backup.
Format:
projects/*/locations/*/backupPlans/*
Returns
-
(::String) — Required. The BackupPlan within which to create the Backup.
Format:
projects/*/locations/*/backupPlans/*