Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::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::V1::Secret
Returns
- (::Google::Cloud::SecretManager::V1::Secret) — Required. Secret with updated field values.
#secret=
def secret=(value) -> ::Google::Cloud::SecretManager::V1::Secret
Parameter
- value (::Google::Cloud::SecretManager::V1::Secret) — Required. Secret with updated field values.
Returns
- (::Google::Cloud::SecretManager::V1::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.