# Binary Authorization V1 API - Module Google::Cloud::BinaryAuthorization::V1::SystemPolicy::Paths (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Binary Authorization V1 API module Google::Cloud::BinaryAuthorization::V1::SystemPolicy::Paths.

Path helper methods for the SystemPolicy API.

## Extended By

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

## Included In

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

## Methods

### #policy_path

    def policy_path(project:) -> ::String
    def policy_path(location:) -> ::String

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

    def policy_path(project:) -> ::String

The resource will be in the following format:


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

- **project** (String)

    def policy_path(location:) -> ::String

The resource will be in the following format:


`locations/{location}/policy`
**Parameter**

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

- (::String)
**Raises**

- (::ArgumentError)