Cloud Controls Partner V1 API - Module Google::Cloud::CloudControlsPartner::V1::CloudControlsPartnerMonitoring::Paths (v1.1.0)

Reference documentation and code samples for the Cloud Controls Partner V1 API module Google::Cloud::CloudControlsPartner::V1::CloudControlsPartnerMonitoring::Paths.

Path helper methods for the CloudControlsPartnerMonitoring API.

Methods

#violation_path

def violation_path(organization:, location:, customer:, workload:, violation:) -> ::String

Create a fully-qualified Violation resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}

Parameters
  • organization (String)
  • location (String)
  • customer (String)
  • workload (String)
  • violation (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workload_path

def workload_path(organization:, location:, customer:, workload:) -> ::String

Create a fully-qualified Workload resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Parameters
  • organization (String)
  • location (String)
  • customer (String)
  • workload (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)