Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::UpdateSecretRequest.
Request message for SecretManagerService.UpdateSecret.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#secret
def secret() -> ::Google::Cloud::SecretManager::V1beta2::Secret
Returns
- (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. Secret with updated field values.
#secret=
def secret=(value) -> ::Google::Cloud::SecretManager::V1beta2::Secret
Parameter
- value (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. Secret with updated field values.
Returns
- (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. Secret with updated field values.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. Specifies the fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. Specifies the fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — Required. Specifies the fields to be updated.