# Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::OsConfigZonalService::Paths (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OsConfigZonalService::Paths.

Path helper methods for the OsConfigZonalService API.

## Extended By

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

## Included In

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

## Methods

### #instance_os_policy_assignment_path

    def instance_os_policy_assignment_path(project:, location:, instance:, assignment:) -> ::String

Create a fully-qualified InstanceOSPolicyAssignment resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #instance_path

    def instance_path(project:, zone:, instance:) -> ::String
    def instance_path(project:, location:, instance:) -> ::String

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

    def instance_path(project:, zone:, instance:) -> ::String

The resource will be in the following format:


`projects/{project}/zones/{zone}/instances/{instance}`
**Parameters**

- **project** (String)
- **zone** (String)
- **instance** (String)

    def instance_path(project:, location:, instance:) -> ::String

The resource will be in the following format:


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

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

- (::String)
**Raises**

- (::ArgumentError)

### #inventory_path

    def inventory_path(project:, location:, instance:) -> ::String

Create a fully-qualified Inventory resource string.


The resource will be in the following format:

<br />

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

- **project** (String)
- **location** (String)
- **instance** (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)

### #os_policy_assignment_path

    def os_policy_assignment_path(project:, location:, os_policy_assignment:) -> ::String

Create a fully-qualified OSPolicyAssignment resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #os_policy_assignment_report_path

    def os_policy_assignment_report_path(project:, location:, instance:, assignment:) -> ::String

Create a fully-qualified OSPolicyAssignmentReport resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)

### #vulnerability_report_path

    def vulnerability_report_path(project:, location:, instance:) -> ::String

Create a fully-qualified VulnerabilityReport resource string.


The resource will be in the following format:

<br />

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

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

- (::String)
**Raises**

- (::ArgumentError)