Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::UpdateRestoreChannelRequest.
Request message for UpdateRestoreChannel.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#restore_channel
def restore_channel() -> ::Google::Cloud::GkeBackup::V1::RestoreChannel
Returns
-
(::Google::Cloud::GkeBackup::V1::RestoreChannel) — Required. A new version of the RestoreChannel resource that contains
updated fields. This may be sparsely populated if an
update_mask
is provided.
#restore_channel=
def restore_channel=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreChannel
Parameter
-
value (::Google::Cloud::GkeBackup::V1::RestoreChannel) — Required. A new version of the RestoreChannel resource that contains
updated fields. This may be sparsely populated if an
update_mask
is provided.
Returns
-
(::Google::Cloud::GkeBackup::V1::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
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::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 noupdate_mask
is provided, all fields inrestore_channel
will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestore_channel
are ignored and are not used to update the target RestoreChannel.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::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 noupdate_mask
is provided, all fields inrestore_channel
will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestore_channel
are ignored and are not used to update the target RestoreChannel.
Returns
-
(::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 noupdate_mask
is provided, all fields inrestore_channel
will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestore_channel
are ignored and are not used to update the target RestoreChannel.