# Secure Source Manager V1 API - Module Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths (v2.7.0)

2.7.0 (latest) 2.6.1 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.1 1.3.0 1.2.0 1.1.0 1.0.1 0.4.0 0.3.0 0.2.2 0.1.0 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.

## Extended By

- [Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)

## Included In

- [Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Client)
- [Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Paths)
- [Google::Cloud::SecureSourceManager::V1::SecureSourceManager::Rest::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secure_source_manager-v1/latest/Google-Cloud-SecureSourceManager-V1-SecureSourceManager-Rest-Client)

## 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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **branch_rule** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/caPools/{ca_pool}`
**Parameters**

- **project** (String)
- **location** (String)
- **ca_pool** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
**Parameters**

- **project** (String)
- **location** (String)
- **key_ring** (String)
- **crypto_key** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/hooks/{hook}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **hook** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/instances/{instance}`
**Parameters**

- **project** (String)
- **location** (String)
- **instance** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **issue** (String)
- **comment** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **issue** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #location_path

    def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.


The resource will be in the following format:

<br />

`projects/{project}/locations/{location}`
**Parameters**

- **project** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **pull_request** (String)
- **comment** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
- **pull_request** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/locations/{location}/repositories/{repository}`
**Parameters**

- **project** (String)
- **location** (String)
- **repository** (String)
**Returns**

- (::String)
**Raises**

- (::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:

<br />

`projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`
**Parameters**

- **project** (String)
- **region** (String)
- **service_attachment** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)