Binary Authorization V1 API - Module Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Paths (v1.0.1)

Reference documentation and code samples for the Binary Authorization V1 API module Google::Cloud::BinaryAuthorization::V1::BinauthzManagementService::Paths.

Path helper methods for the BinauthzManagementService API.

Methods

#attestor_path

def attestor_path(project:, attestor:) -> ::String

Create a fully-qualified Attestor resource string.

The resource will be in the following format:

projects/{project}/attestors/{attestor}

Parameters
  • project (String)
  • attestor (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

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

#project_path

def project_path(project:) -> ::String

Create a fully-qualified Project resource string.

The resource will be in the following format:

projects/{project}

Parameter
  • project (String)
Returns
  • (::String)