Reference documentation and code samples for the Secret Manager V1BETA2 API module Google::Cloud::SecretManager::V1beta2::SecretManagerService::Paths.
Path helper methods for the SecretManagerService API.
Methods
#location_path
def location_path(project:, location:) -> ::String
Create 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:) -> ::String
Create 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:) -> ::String
Create 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)
#secret_version_path
def secret_version_path(project:, secret:, secret_version:) -> ::String
def secret_version_path(project:, location:, secret:, secret_version:) -> ::String
Create a fully-qualified SecretVersion resource string.
def secret_version_path(project:, secret:, secret_version:) -> ::String
projects/{project}/secrets/{secret}/versions/{secret_version}
- project (String)
- secret (String)
- secret_version (String)
def secret_version_path(project:, location:, secret:, secret_version:) -> ::String
projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}
- project (String)
- location (String)
- secret (String)
- secret_version (String)
- (::String)
- (::ArgumentError)
#topic_path
def topic_path(project:, topic:) -> ::String
Create a fully-qualified Topic resource string.
The resource will be in the following format:
projects/{project}/topics/{topic}
- project (String)
- topic (String)
- (::String)
- (::ArgumentError)