Assured Workloads for Government V1 API - Module Google::Cloud::AssuredWorkloads::V1::AssuredWorkloadsService::Paths (v0.8.0)

Reference documentation and code samples for the Assured Workloads for Government V1 API module Google::Cloud::AssuredWorkloads::V1::AssuredWorkloadsService::Paths.

Path helper methods for the AssuredWorkloadsService API.

Methods

#location_path

def location_path(organization:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}

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

#violation_path

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

Create a fully-qualified Violation resource string.

The resource will be in the following format:

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

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

#workload_path

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

Create a fully-qualified Workload resource string.

The resource will be in the following format:

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

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