Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::AccessSecretVersionResponse.
Response message for SecretManagerService.AccessSecretVersion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — The resource name of the
SecretVersion in the format
projects/*/secrets/*/versions/*
orprojects/*/locations/*/secrets/*/versions/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The resource name of the
SecretVersion in the format
projects/*/secrets/*/versions/*
orprojects/*/locations/*/secrets/*/versions/*
.
Returns
-
(::String) — The resource name of the
SecretVersion in the format
projects/*/secrets/*/versions/*
orprojects/*/locations/*/secrets/*/versions/*
.
#payload
def payload() -> ::Google::Cloud::SecretManager::V1::SecretPayload
Returns
- (::Google::Cloud::SecretManager::V1::SecretPayload) — Secret payload
#payload=
def payload=(value) -> ::Google::Cloud::SecretManager::V1::SecretPayload
Parameter
- value (::Google::Cloud::SecretManager::V1::SecretPayload) — Secret payload
Returns
- (::Google::Cloud::SecretManager::V1::SecretPayload) — Secret payload