Secure Source Manager V1 API - Module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths (v2.2.1)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
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}
Parameters
project (String)
location (String)
repository (String)
branch_rule (String)
#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}
Parameters
project (String)
location (String)
ca_pool (String)
#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}
Parameters
project (String)
location (String)
key_ring (String)
crypto_key (String)
#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}
Parameters
project (String)
location (String)
repository (String)
hook (String)
#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}
Parameters
project (String)
location (String)
instance (String)
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}
Parameters
project (String)
location (String)
repository (String)
issue (String)
comment (String)
#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}
Parameters
project (String)
location (String)
repository (String)
issue (String)
#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}
Parameters
project (String)
location (String)
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}
Parameters
project (String)
location (String)
repository (String)
pull_request (String)
comment (String)
#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}
Parameters
project (String)
location (String)
repository (String)
pull_request (String)
#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}
Parameters
project (String)
location (String)
repository (String)
#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}
Parameters
project (String)
region (String)
service_attachment (String)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Secure Source Manager V1 API - Module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths (v2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [2.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.2.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [2.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.1.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [2.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/2.0.1/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.3.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.2.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.1.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-secure_source_manager-v1/1.0.1/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.4.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [0.3.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.3.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [0.2.2](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.2.2/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n- [0.1.0](/ruby/docs/reference/google-cloud-secure_source_manager-v1/0.1.0/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths) \nReference documentation and code samples for the Secure Source Manager V1 API module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths.\n\nPath helper methods for the SecureSourceManager API. \n\nExtended By\n-----------\n\n- [Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths](./Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)\n\nMethods\n-------\n\n### #branch_rule_path\n\n def branch_rule_path(project:, location:, repository:, branch_rule:) -\u003e ::String\n\nCreate a fully-qualified BranchRule resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **branch_rule** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #ca_pool_path\n\n def ca_pool_path(project:, location:, ca_pool:) -\u003e ::String\n\nCreate a fully-qualified CaPool resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/caPools/{ca_pool}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **ca_pool** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #crypto_key_path\n\n def crypto_key_path(project:, location:, key_ring:, crypto_key:) -\u003e ::String\n\nCreate a fully-qualified CryptoKey resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **key_ring** (String)\n- **crypto_key** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #hook_path\n\n def hook_path(project:, location:, repository:, hook:) -\u003e ::String\n\nCreate a fully-qualified Hook resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/hooks/{hook}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **hook** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #instance_path\n\n def instance_path(project:, location:, instance:) -\u003e ::String\n\nCreate a fully-qualified Instance resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/instances/{instance}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **instance** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #issue_comment_path\n\n def issue_comment_path(project:, location:, repository:, issue:, comment:) -\u003e ::String\n\nCreate a fully-qualified IssueComment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **issue** (String)\n- **comment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #issue_path\n\n def issue_path(project:, location:, repository:, issue:) -\u003e ::String\n\nCreate a fully-qualified Issue resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **issue** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #pull_request_comment_path\n\n def pull_request_comment_path(project:, location:, repository:, pull_request:, comment:) -\u003e ::String\n\nCreate a fully-qualified PullRequestComment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **pull_request** (String)\n- **comment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #pull_request_path\n\n def pull_request_path(project:, location:, repository:, pull_request:) -\u003e ::String\n\nCreate a fully-qualified PullRequest resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String)\n- **pull_request** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #repository_path\n\n def repository_path(project:, location:, repository:) -\u003e ::String\n\nCreate a fully-qualified Repository resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/repositories/{repository}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **repository** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #service_attachment_path\n\n def service_attachment_path(project:, region:, service_attachment:) -\u003e ::String\n\nCreate a fully-qualified ServiceAttachment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/regions/{region}/serviceAttachments/{service_attachment}` \n**Parameters**\n\n- **project** (String)\n- **region** (String)\n- **service_attachment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]