Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class BackupPlanBinding.
A BackupPlanBinding binds a BackupPlan with a BackupChannel.
This resource is created automatically when a BackupPlan is created using a BackupChannel. This also serves as a holder for cross-project fields that need to be displayed in the current project.
Generated from protobuf message google.cloud.gkebackup.v1.BackupPlanBinding
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The fully qualified name of the BackupPlanBinding. projects/*/locations/*/backupChannels/*/backupPlanBindings/*
↳ uid
↳ create_time
↳ update_time
↳ backup_plan
string
Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. projects/*/locations/*/backupPlans/{backup_plan}
↳ cluster
string
Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats: - projects/*/locations/*/clusters/*
- projects/*/zones/*/clusters/*
↳ backup_plan_details
↳ etag
string
Output only. etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An etag
is returned in the response to GetBackupPlanBinding
, and systems are expected to put that etag in the request to UpdateBackupPlanBinding
or DeleteBackupPlanBinding
to ensure that their change will be applied to the same version of the resource.
getName
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
string
setName
Identifier. The fully qualified name of the BackupPlanBinding.
projects/*/locations/*/backupChannels/*/backupPlanBindings/*
var
string
$this
getUid
Output only. Server generated global unique identifier of UUID4
string
setUid
Output only. Server generated global unique identifier of UUID4
var
string
$this
getCreateTime
Output only. The timestamp when this binding was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when this binding was created.
$this
getUpdateTime
Output only. The timestamp when this binding was created.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when this binding was created.
$this
getBackupPlan
Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel.
projects/*/locations/*/backupPlans/{backup_plan}
string
setBackupPlan
Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel.
projects/*/locations/*/backupPlans/{backup_plan}
var
string
$this
getCluster
Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats:
-
projects/*/locations/*/clusters/*
-
projects/*/zones/*/clusters/*
string
setCluster
Output only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats:
-
projects/*/locations/*/clusters/*
-
projects/*/zones/*/clusters/*
var
string
$this
getBackupPlanDetails
Output only. Contains details about the backup plan/backup.
hasBackupPlanDetails
clearBackupPlanDetails
setBackupPlanDetails
Output only. Contains details about the backup plan/backup.
$this
getEtag
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a BackupPlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform BackupPlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to GetBackupPlanBinding
, and systems are expected to put that etag in
the request to UpdateBackupPlanBinding
or DeleteBackupPlanBinding
to ensure that their change will be applied
to the same version of the resource.
string
setEtag
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a BackupPlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform BackupPlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to GetBackupPlanBinding
, and systems are expected to put that etag in
the request to UpdateBackupPlanBinding
or DeleteBackupPlanBinding
to ensure that their change will be applied
to the same version of the resource.
var
string
$this