Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::UpdateRestoreRequest.
Request message for UpdateRestore.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#restore
def restore() -> ::Google::Cloud::GkeBackup::V1::Restore
Returns
-
(::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_maskis provided.
#restore=
def restore=(value) -> ::Google::Cloud::GkeBackup::V1::Restore
Parameter
-
value (::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_maskis provided.
Returns
-
(::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_maskis 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
Restore targeted for update. The values for each of these
updated fields will be taken from the
restoreprovided with this request. Field names are relative to the root of the resource. If noupdate_maskis provided, all fields inrestorewill be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestoreare ignored and are not used to update the target Restore.
#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
Restore targeted for update. The values for each of these
updated fields will be taken from the
restoreprovided with this request. Field names are relative to the root of the resource. If noupdate_maskis provided, all fields inrestorewill be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestoreare ignored and are not used to update the target Restore.
Returns
-
(::Google::Protobuf::FieldMask) — Optional. 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
restoreprovided with this request. Field names are relative to the root of the resource. If noupdate_maskis provided, all fields inrestorewill be written to the target Restore resource. Note that OUTPUT_ONLY and IMMUTABLE fields inrestoreare ignored and are not used to update the target Restore.