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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The fully qualified name of the RestorePlanBinding. |
↳ uid |
string
Output only. Server generated global unique identifier of UUID4 |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The timestamp when this binding was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The timestamp when this binding was created. |
↳ restore_plan |
string
Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel. |
↳ etag |
string
Output only. |
↳ backup_plan |
string
Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan. |
getName
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUid
Output only. Server generated global unique identifier of UUID4
Returns | |
---|---|
Type | Description |
string |
setUid
Output only. Server generated global unique identifier of UUID4
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. The timestamp when this binding was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when this binding was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The timestamp when this binding was created.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when this binding was created.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getRestorePlan
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
Returns | |
---|---|
Type | Description |
string |
setRestorePlan
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
Returns | |
---|---|
Type | Description |
string |
setBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |