Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::UpdateBackupRequest.
Request message for SecretOperationsService.UpdateBackup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::Google::Cloud::SecretManager::V1::Backup
Returns
- (::Google::Cloud::SecretManager::V1::Backup) — Required. The Backup resource with updated fields.
#backup=
def backup=(value) -> ::Google::Cloud::SecretManager::V1::Backup
Parameter
- value (::Google::Cloud::SecretManager::V1::Backup) — Required. The Backup resource with updated fields.
Returns
- (::Google::Cloud::SecretManager::V1::Backup) — Required. The Backup resource with updated fields.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the
Backup resource by the update.
The fields specified in the
update_maskare relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the
Backup resource by the update.
The fields specified in the
update_maskare relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.
Returns
-
(::Google::Protobuf::FieldMask) — Optional. Field mask is used to specify the fields to be overwritten in the
Backup resource by the update.
The fields specified in the
update_maskare relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.