1.9.0 (latest) 1.8.0 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.0 0.8.1 0.7.0 0.6.0 0.5.6 Reference documentation and code samples for the Cloud Logging V2 API module Google::Cloud::Logging::V2::ConfigService::Paths.

Path helper methods for the ConfigService API.

## Extended By

- [Google::Cloud::Logging::V2::ConfigService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-ConfigService-Paths)

## Included In

- [Google::Cloud::Logging::V2::ConfigService::Client](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-ConfigService-Client)
- [Google::Cloud::Logging::V2::ConfigService::Paths](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Cloud-Logging-V2-ConfigService-Paths)

## Methods

### #billing_account_location_path

    def billing_account_location_path(billing_account:, location:) -> ::String

Create a fully-qualified BillingAccountLocation resource string.


The resource will be in the following format:

<br />

`billingAccounts/{billing_account}/locations/{location}`
**Parameters**

- **billing_account** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #billing_account_path

    def billing_account_path(billing_account:) -> ::String

Create a fully-qualified BillingAccount resource string.


The resource will be in the following format:

<br />

`billingAccounts/{billing_account}`
**Parameter**

- **billing_account** (String)
**Returns**

- (::String)

### #cmek_settings_path

    def cmek_settings_path(project:) -> ::String
    def cmek_settings_path(organization:) -> ::String
    def cmek_settings_path(folder:) -> ::String
    def cmek_settings_path(billing_account:) -> ::String

Create a fully-qualified CmekSettings resource string.
**Overloads**

    def cmek_settings_path(project:) -> ::String

The resource will be in the following format:


`projects/{project}/cmekSettings`
**Parameter**

- **project** (String)

    def cmek_settings_path(organization:) -> ::String

The resource will be in the following format:


`organizations/{organization}/cmekSettings`
**Parameter**

- **organization** (String)

    def cmek_settings_path(folder:) -> ::String

The resource will be in the following format:


`folders/{folder}/cmekSettings`
**Parameter**

- **folder** (String)

    def cmek_settings_path(billing_account:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/cmekSettings`
**Parameter**

- **billing_account** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #folder_location_path

    def folder_location_path(folder:, location:) -> ::String

Create a fully-qualified FolderLocation resource string.


The resource will be in the following format:

<br />

`folders/{folder}/locations/{location}`
**Parameters**

- **folder** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #folder_path

    def folder_path(folder:) -> ::String

Create a fully-qualified Folder resource string.


The resource will be in the following format:

<br />

`folders/{folder}`
**Parameter**

- **folder** (String)
**Returns**

- (::String)

### #link_path

    def link_path(project:, location:, bucket:, link:) -> ::String
    def link_path(organization:, location:, bucket:, link:) -> ::String
    def link_path(folder:, location:, bucket:, link:) -> ::String
    def link_path(billing_account:, location:, bucket:, link:) -> ::String

Create a fully-qualified Link resource string.
**Overloads**

    def link_path(project:, location:, bucket:, link:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/buckets/{bucket}/links/{link}`
**Parameters**

- **project** (String)
- **location** (String)
- **bucket** (String)
- **link** (String)

    def link_path(organization:, location:, bucket:, link:) -> ::String

The resource will be in the following format:


`organizations/{organization}/locations/{location}/buckets/{bucket}/links/{link}`
**Parameters**

- **organization** (String)
- **location** (String)
- **bucket** (String)
- **link** (String)

    def link_path(folder:, location:, bucket:, link:) -> ::String

The resource will be in the following format:


`folders/{folder}/locations/{location}/buckets/{bucket}/links/{link}`
**Parameters**

- **folder** (String)
- **location** (String)
- **bucket** (String)
- **link** (String)

    def link_path(billing_account:, location:, bucket:, link:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/links/{link}`
**Parameters**

- **billing_account** (String)
- **location** (String)
- **bucket** (String)
- **link** (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)

### #log_bucket_path

    def log_bucket_path(project:, location:, bucket:) -> ::String
    def log_bucket_path(organization:, location:, bucket:) -> ::String
    def log_bucket_path(folder:, location:, bucket:) -> ::String
    def log_bucket_path(billing_account:, location:, bucket:) -> ::String

Create a fully-qualified LogBucket resource string.
**Overloads**

    def log_bucket_path(project:, location:, bucket:) -> ::String

The resource will be in the following format:


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

- **project** (String)
- **location** (String)
- **bucket** (String)

    def log_bucket_path(organization:, location:, bucket:) -> ::String

The resource will be in the following format:


`organizations/{organization}/locations/{location}/buckets/{bucket}`
**Parameters**

- **organization** (String)
- **location** (String)
- **bucket** (String)

    def log_bucket_path(folder:, location:, bucket:) -> ::String

The resource will be in the following format:


`folders/{folder}/locations/{location}/buckets/{bucket}`
**Parameters**

- **folder** (String)
- **location** (String)
- **bucket** (String)

    def log_bucket_path(billing_account:, location:, bucket:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}`
**Parameters**

- **billing_account** (String)
- **location** (String)
- **bucket** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #log_exclusion_path

    def log_exclusion_path(project:, exclusion:) -> ::String
    def log_exclusion_path(organization:, exclusion:) -> ::String
    def log_exclusion_path(folder:, exclusion:) -> ::String
    def log_exclusion_path(billing_account:, exclusion:) -> ::String

Create a fully-qualified LogExclusion resource string.
**Overloads**

    def log_exclusion_path(project:, exclusion:) -> ::String

The resource will be in the following format:


`projects/{project}/exclusions/{exclusion}`
**Parameters**

- **project** (String)
- **exclusion** (String)

    def log_exclusion_path(organization:, exclusion:) -> ::String

The resource will be in the following format:


`organizations/{organization}/exclusions/{exclusion}`
**Parameters**

- **organization** (String)
- **exclusion** (String)

    def log_exclusion_path(folder:, exclusion:) -> ::String

The resource will be in the following format:


`folders/{folder}/exclusions/{exclusion}`
**Parameters**

- **folder** (String)
- **exclusion** (String)

    def log_exclusion_path(billing_account:, exclusion:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/exclusions/{exclusion}`
**Parameters**

- **billing_account** (String)
- **exclusion** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #log_sink_path

    def log_sink_path(project:, sink:) -> ::String
    def log_sink_path(organization:, sink:) -> ::String
    def log_sink_path(folder:, sink:) -> ::String
    def log_sink_path(billing_account:, sink:) -> ::String

Create a fully-qualified LogSink resource string.
**Overloads**

    def log_sink_path(project:, sink:) -> ::String

The resource will be in the following format:


`projects/{project}/sinks/{sink}`
**Parameters**

- **project** (String)
- **sink** (String)

    def log_sink_path(organization:, sink:) -> ::String

The resource will be in the following format:


`organizations/{organization}/sinks/{sink}`
**Parameters**

- **organization** (String)
- **sink** (String)

    def log_sink_path(folder:, sink:) -> ::String

The resource will be in the following format:


`folders/{folder}/sinks/{sink}`
**Parameters**

- **folder** (String)
- **sink** (String)

    def log_sink_path(billing_account:, sink:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/sinks/{sink}`
**Parameters**

- **billing_account** (String)
- **sink** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #log_view_path

    def log_view_path(project:, location:, bucket:, view:) -> ::String
    def log_view_path(organization:, location:, bucket:, view:) -> ::String
    def log_view_path(folder:, location:, bucket:, view:) -> ::String
    def log_view_path(billing_account:, location:, bucket:, view:) -> ::String

Create a fully-qualified LogView resource string.
**Overloads**

    def log_view_path(project:, location:, bucket:, view:) -> ::String

The resource will be in the following format:


`projects/{project}/locations/{location}/buckets/{bucket}/views/{view}`
**Parameters**

- **project** (String)
- **location** (String)
- **bucket** (String)
- **view** (String)

    def log_view_path(organization:, location:, bucket:, view:) -> ::String

The resource will be in the following format:


`organizations/{organization}/locations/{location}/buckets/{bucket}/views/{view}`
**Parameters**

- **organization** (String)
- **location** (String)
- **bucket** (String)
- **view** (String)

    def log_view_path(folder:, location:, bucket:, view:) -> ::String

The resource will be in the following format:


`folders/{folder}/locations/{location}/buckets/{bucket}/views/{view}`
**Parameters**

- **folder** (String)
- **location** (String)
- **bucket** (String)
- **view** (String)

    def log_view_path(billing_account:, location:, bucket:, view:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/views/{view}`
**Parameters**

- **billing_account** (String)
- **location** (String)
- **bucket** (String)
- **view** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #organization_location_path

    def organization_location_path(organization:, location:) -> ::String

Create a fully-qualified OrganizationLocation resource string.


The resource will be in the following format:

<br />

`organizations/{organization}/locations/{location}`
**Parameters**

- **organization** (String)
- **location** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)

### #organization_path

    def organization_path(organization:) -> ::String

Create a fully-qualified Organization resource string.


The resource will be in the following format:

<br />

`organizations/{organization}`
**Parameter**

- **organization** (String)
**Returns**

- (::String)

### #project_path

    def project_path(project:) -> ::String

Create a fully-qualified Project resource string.


The resource will be in the following format:

<br />

`projects/{project}`
**Parameter**

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

- (::String)

### #settings_path

    def settings_path(project:) -> ::String
    def settings_path(organization:) -> ::String
    def settings_path(folder:) -> ::String
    def settings_path(billing_account:) -> ::String

Create a fully-qualified Settings resource string.
**Overloads**

    def settings_path(project:) -> ::String

The resource will be in the following format:


`projects/{project}/settings`
**Parameter**

- **project** (String)

    def settings_path(organization:) -> ::String

The resource will be in the following format:


`organizations/{organization}/settings`
**Parameter**

- **organization** (String)

    def settings_path(folder:) -> ::String

The resource will be in the following format:


`folders/{folder}/settings`
**Parameter**

- **folder** (String)

    def settings_path(billing_account:) -> ::String

The resource will be in the following format:


`billingAccounts/{billing_account}/settings`
**Parameter**

- **billing_account** (String)
**Returns**

- (::String)
**Raises**

- (::ArgumentError)