Reference documentation and code samples for the Secret Manager V1beta1 API class Google::Cloud::SecretManager::V1beta1::AddSecretVersionRequest.
Request message for SecretManagerService.AddSecretVersion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the Secret to associate with the
SecretVersion in the format
projects/*/secrets/*
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Secret to associate with the
SecretVersion in the format
projects/*/secrets/*
.
Returns
-
(::String) — Required. The resource name of the Secret to associate with the
SecretVersion in the format
projects/*/secrets/*
.
#payload
def payload() -> ::Google::Cloud::SecretManager::V1beta1::SecretPayload
Returns
- (::Google::Cloud::SecretManager::V1beta1::SecretPayload) — Required. The secret payload of the SecretVersion.
#payload=
def payload=(value) -> ::Google::Cloud::SecretManager::V1beta1::SecretPayload
Parameter
- value (::Google::Cloud::SecretManager::V1beta1::SecretPayload) — Required. The secret payload of the SecretVersion.
Returns
- (::Google::Cloud::SecretManager::V1beta1::SecretPayload) — Required. The secret payload of the SecretVersion.