Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class RestorePlanBinding.
A RestorePlanBinding binds a RestorePlan with a RestoreChannel.
This resource is created automatically when a RestorePlan is created using a RestoreChannel. 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.RestorePlanBinding
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 RestorePlanBinding. projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
↳ uid
↳ create_time
↳ update_time
↳ restore_plan
string
Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
↳ etag
string
Output only. etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: An etag
is returned in the response to GetRestorePlanBinding
, and systems are expected to put that etag in the request to UpdateRestorePlanBinding
or DeleteRestorePlanBinding
to ensure that their change will be applied to the same version of the resource.
↳ backup_plan
string
Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
getName
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
string
setName
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
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
getRestorePlan
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
string
setRestorePlan
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
var
string
$this
getEtag
Output only. etag
is used for optimistic concurrency control as a way to
help prevent simultaneous updates of a RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to GetRestorePlanBinding
, and systems are expected to put that etag in
the request to UpdateRestorePlanBinding
or DeleteRestorePlanBinding
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 RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: An etag
is returned in the response to GetRestorePlanBinding
, and systems are expected to put that etag in
the request to UpdateRestorePlanBinding
or DeleteRestorePlanBinding
to ensure that their change will be applied
to the same version of the resource.
var
string
$this
getBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
string
setBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
var
string
$this