Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::GetSecretRequest (v1.0.0)

Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::GetSecretRequest.

Request message for SecretManagerService.GetSecret.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the Secret, in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Secret, in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
Returns
  • (::String) — Required. The resource name of the Secret, in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.