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

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.

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)