Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class UpdateBackupChannelRequest.
Request message for UpdateBackupChannel.
Generated from protobuf message google.cloud.gkebackup.v1.UpdateBackupChannelRequest
Namespace
Google \ Cloud \ GkeBackup \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ backup_channel |
BackupChannel
Required. A new version of the BackupChannel resource that contains updated fields. This may be sparsely populated if an |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. This is used to specify the fields to be overwritten in the BackupChannel targeted for update. The values for each of these updated fields will be taken from the |
getBackupChannel
Required. A new version of the BackupChannel resource that contains updated
fields. This may be sparsely populated if an update_mask
is provided.
Returns | |
---|---|
Type | Description |
BackupChannel|null |
hasBackupChannel
clearBackupChannel
setBackupChannel
Required. A new version of the BackupChannel resource that contains updated
fields. This may be sparsely populated if an update_mask
is provided.
Parameter | |
---|---|
Name | Description |
var |
BackupChannel
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. This is used to specify the fields to be overwritten in the
BackupChannel targeted for update. The values for each of these
updated fields will be taken from the backup_channel
provided
with this request. Field names are relative to the root of the resource
(e.g., description
, labels
, etc.)
If no update_mask
is provided, all fields in backup_channel
will
be written to the target BackupChannel resource. Note that
OUTPUT_ONLY and IMMUTABLE fields in backup_channel
are ignored and
are not used to update the target BackupChannel.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. This is used to specify the fields to be overwritten in the
BackupChannel targeted for update. The values for each of these
updated fields will be taken from the backup_channel
provided
with this request. Field names are relative to the root of the resource
(e.g., description
, labels
, etc.)
If no update_mask
is provided, all fields in backup_channel
will
be written to the target BackupChannel resource. Note that
OUTPUT_ONLY and IMMUTABLE fields in backup_channel
are ignored and
are not used to update the target BackupChannel.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
backupChannel |
BackupChannel
Required. A new version of the BackupChannel resource that contains updated
fields. This may be sparsely populated if an |
updateMask |
Google\Protobuf\FieldMask
Optional. This is used to specify the fields to be overwritten in the
BackupChannel targeted for update. The values for each of these
updated fields will be taken from the |
Returns | |
---|---|
Type | Description |
UpdateBackupChannelRequest |