Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class UpdateRestoreRequest.
Request message for UpdateRestore.
Generated from protobuf message google.cloud.gkebackup.v1.UpdateRestoreRequest
Methods
build
restore
Google\Cloud\GkeBackup\V1\Restore
Required. A new version of the Restore resource that contains updated fields.
This may be sparsely populated if an update_mask
is provided.
updateMask
Google\Protobuf\FieldMask
This is used to specify the fields to be overwritten in the
Restore targeted for update. The values for each of these
updated fields will be taken from the restore
provided
with this request. Field names are relative to the root of the resource.
If no update_mask
is provided, all fields in restore
will be
written to the target Restore resource.
Note that OUTPUT_ONLY and IMMUTABLE fields in restore
are ignored
and are not used to update the target Restore.
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ restore
Google\Cloud\GkeBackup\V1\Restore
Required. A new version of the Restore resource that contains updated fields. This may be sparsely populated if an update_mask
is provided.
↳ update_mask
Google\Protobuf\FieldMask
This is used to specify the fields to be overwritten in the Restore targeted for update. The values for each of these updated fields will be taken from the restore
provided with this request. Field names are relative to the root of the resource. If no update_mask
is provided, all fields in restore
will be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore
are ignored and are not used to update the target Restore.
getRestore
Required. A new version of the Restore resource that contains updated fields.
This may be sparsely populated if an update_mask
is provided.
hasRestore
clearRestore
setRestore
Required. A new version of the Restore resource that contains updated fields.
This may be sparsely populated if an update_mask
is provided.
$this
getUpdateMask
This is used to specify the fields to be overwritten in the
Restore targeted for update. The values for each of these
updated fields will be taken from the restore
provided
with this request. Field names are relative to the root of the resource.
If no update_mask
is provided, all fields in restore
will be
written to the target Restore resource.
Note that OUTPUT_ONLY and IMMUTABLE fields in restore
are ignored
and are not used to update the target Restore.
hasUpdateMask
clearUpdateMask
setUpdateMask
This is used to specify the fields to be overwritten in the
Restore targeted for update. The values for each of these
updated fields will be taken from the restore
provided
with this request. Field names are relative to the root of the resource.
If no update_mask
is provided, all fields in restore
will be
written to the target Restore resource.
Note that OUTPUT_ONLY and IMMUTABLE fields in restore
are ignored
and are not used to update the target Restore.
$this