Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::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/*
orprojects/*/locations/*/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/*
orprojects/*/locations/*/secrets/*
.
Returns
-
(::String) — Required. The resource name of the
Secret to associate with the
SecretVersion in the
format
projects/*/secrets/*
orprojects/*/locations/*/secrets/*
.
#payload
def payload() -> ::Google::Cloud::SecretManager::V1beta2::SecretPayload
Returns
- (::Google::Cloud::SecretManager::V1beta2::SecretPayload) — Required. The secret payload of the SecretVersion.
#payload=
def payload=(value) -> ::Google::Cloud::SecretManager::V1beta2::SecretPayload
Parameter
- value (::Google::Cloud::SecretManager::V1beta2::SecretPayload) — Required. The secret payload of the SecretVersion.
Returns
- (::Google::Cloud::SecretManager::V1beta2::SecretPayload) — Required. The secret payload of the SecretVersion.