Binary Authorization V1beta1 API - Module Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Paths (v0.13.0)

Reference documentation and code samples for the Binary Authorization V1beta1 API module Google::Cloud::BinaryAuthorization::V1beta1::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)