module Google::Cloud::BinaryAuthorization::V1beta1::BinauthzManagementService::Paths
Path helper methods for the BinauthzManagementService
API.
Public Instance Methods
attestor_path(project:, attestor: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/")
click to toggle source
Create a fully-qualified Attestor resource string.
The resource will be in the following format:
`projects/{project}/attestors/{attestor}`
@param project [String] @param attestor [String]
@return [::String]
# File lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/paths.rb, line 38 def attestor_path project:, attestor: raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" "projects/#{project}/attestors/#{attestor}" end
policy_path(project: "projects/
click to toggle source
Create a fully-qualified Policy
resource string.
The resource will be in the following format:
`projects/{project}/policy`
@param project [String]
@return [::String]
# File lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/paths.rb, line 54 def policy_path project: "projects/#{project}/policy" end
project_path(project: "projects/
click to toggle source
Create a fully-qualified Project resource string.
The resource will be in the following format:
`projects/{project}`
@param project [String]
@return [::String]
# File lib/google/cloud/binary_authorization/v1beta1/binauthz_management_service/paths.rb, line 68 def project_path project: "projects/#{project}" end