Reference documentation and code samples for the Secure Source Manager V1 API module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths.
Path helper methods for the SecureSourceManager API.
Methods
#branch_rule_path
def branch_rule_path(project:, ___location:, repository:, branch_rule:) -> ::String
Create a fully-qualified BranchRule resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/branchRules/{branch_rule}
- project (String)
- ___location (String)
- repository (String)
- branch_rule (String)
- (::String)
- (::ArgumentError)
#ca_pool_path
def ca_pool_path(project:, ___location:, ca_pool:) -> ::String
Create a fully-qualified CaPool resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/caPools/{ca_pool}
- project (String)
- ___location (String)
- ca_pool (String)
- (::String)
- (::ArgumentError)
#crypto_key_path
def crypto_key_path(project:, ___location:, key_ring:, crypto_key:) -> ::String
Create 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)
#hook_path
def hook_path(project:, ___location:, repository:, hook:) -> ::String
Create a fully-qualified Hook resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/hooks/{hook}
- project (String)
- ___location (String)
- repository (String)
- hook (String)
- (::String)
- (::ArgumentError)
#instance_path
def instance_path(project:, ___location:, instance:) -> ::String
Create a fully-qualified Instance resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/instances/{instance}
- project (String)
- ___location (String)
- instance (String)
- (::String)
- (::ArgumentError)
#issue_comment_path
def issue_comment_path(project:, ___location:, repository:, issue:, comment:) -> ::String
Create a fully-qualified IssueComment resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/issues/{issue}/issueComments/{comment}
- project (String)
- ___location (String)
- repository (String)
- issue (String)
- comment (String)
- (::String)
- (::ArgumentError)
#issue_path
def issue_path(project:, ___location:, repository:, issue:) -> ::String
Create a fully-qualified Issue resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/issues/{issue}
- project (String)
- ___location (String)
- repository (String)
- issue (String)
- (::String)
- (::ArgumentError)
#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)
#pull_request_comment_path
def pull_request_comment_path(project:, ___location:, repository:, pull_request:, comment:) -> ::String
Create a fully-qualified PullRequestComment resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment}
- project (String)
- ___location (String)
- repository (String)
- pull_request (String)
- comment (String)
- (::String)
- (::ArgumentError)
#pull_request_path
def pull_request_path(project:, ___location:, repository:, pull_request:) -> ::String
Create a fully-qualified PullRequest resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}/pullRequests/{pull_request}
- project (String)
- ___location (String)
- repository (String)
- pull_request (String)
- (::String)
- (::ArgumentError)
#repository_path
def repository_path(project:, ___location:, repository:) -> ::String
Create a fully-qualified Repository resource string.
The resource will be in the following format:
projects/{project}/locations/{___location}/repositories/{repository}
- project (String)
- ___location (String)
- repository (String)
- (::String)
- (::ArgumentError)
#service_attachment_path
def service_attachment_path(project:, region:, service_attachment:) -> ::String
Create a fully-qualified ServiceAttachment resource string.
The resource will be in the following format:
projects/{project}/regions/{region}/serviceAttachments/{service_attachment}
- project (String)
- region (String)
- service_attachment (String)
- (::String)
- (::ArgumentError)