Reference documentation and code samples for the Secret Manager V1 API module Google::Cloud::SecretManager::V1::SecretOperationsService::Paths.
Path helper methods for the SecretOperationsService API.
Included In
Methods
#backup_path
def backup_path(project:, location:, backup:) -> ::StringCreate a fully-qualified Backup resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/backups/{backup}
- project (String)
- location (String)
- backup (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::StringCreate a fully-qualified CryptoKey resource string.
The resource will be in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- project (String)
- location (String)
- key_ring (String)
- crypto_key (String)
- (::String)
- (::ArgumentError)
#location_path
def location_path(project:, location:) -> ::StringCreate a fully-qualified Location resource string.
The resource will be in the following format:
projects/{project}/locations/{location}
- project (String)
- location (String)
- (::String)
- (::ArgumentError)
#project_path
def project_path(project:) -> ::StringCreate a fully-qualified Project resource string.
The resource will be in the following format:
projects/{project}
- project (String)
- (::String)
#secret_path
def secret_path(project:, secret:) -> ::String
def secret_path(project:, location:, secret:) -> ::StringCreate a fully-qualified Secret resource string.
def secret_path(project:, secret:) -> ::String
projects/{project}/secrets/{secret}
- project (String)
- secret (String)
def secret_path(project:, location:, secret:) -> ::String
projects/{project}/locations/{location}/secrets/{secret}
- project (String)
- location (String)
- secret (String)
- (::String)
- (::ArgumentError)