Google Cloud Gke Backup V1 Client - Class UpdateRestoreChannelRequest (1.2.1)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class UpdateRestoreChannelRequest.

Request message for UpdateRestoreChannel.

Generated from protobuf message google.cloud.gkebackup.v1.UpdateRestoreChannelRequest

Namespace

Google \ Cloud \ GkeBackup \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ restore_channel
RestoreChannel

Required. A new version of the RestoreChannel resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

↳ update_mask
Google\Protobuf\FieldMask

Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the restore_channel provided with this request. Field names are relative to the root of the resource (e.g., description , destination_project_id , etc.) If no update_mask is provided, all fields in restore_channel will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_channel are ignored and are not used to update the target RestoreChannel.

getRestoreChannel

Required. A new version of the RestoreChannel resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

Returns
Type
Description

hasRestoreChannel

clearRestoreChannel

setRestoreChannel

Required. A new version of the RestoreChannel resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the restore_channel provided with this request. Field names are relative to the root of the resource (e.g., description , destination_project_id , etc.) If no update_mask is provided, all fields in restore_channel will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_channel are ignored and are not used to update the target RestoreChannel.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the restore_channel provided with this request. Field names are relative to the root of the resource (e.g., description , destination_project_id , etc.) If no update_mask is provided, all fields in restore_channel will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_channel are ignored and are not used to update the target RestoreChannel.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
restoreChannel
RestoreChannel

Required. A new version of the RestoreChannel resource that contains updated fields. This may be sparsely populated if an update_mask is provided.

updateMask
Google\Protobuf\FieldMask

Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the restore_channel provided with this request. Field names are relative to the root of the resource (e.g., description , destination_project_id , etc.) If no update_mask is provided, all fields in restore_channel will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_channel are ignored and are not used to update the target RestoreChannel.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: