Cloud Controls Partner V1 API - Module Google::Cloud::CloudControlsPartner::V1::CloudControlsPartnerCore::Paths (v1.2.0)

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

Path helper methods for the CloudControlsPartnerCore API.

Methods

#customer_path

def customer_path(organization:, location:, customer:) -> ::String

Create a fully-qualified Customer resource string.

The resource will be in the following format:

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

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

#ekm_connections_path

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

Create a fully-qualified EkmConnections resource string.

The resource will be in the following format:

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

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

#organization_location_path

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

Create a fully-qualified OrganizationLocation resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}

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

#partner_path

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

Create a fully-qualified Partner resource string.

The resource will be in the following format:

organizations/{organization}/locations/{location}/partner

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

#partner_permissions_path

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

Create a fully-qualified PartnerPermissions resource string.

The resource will be in the following format:

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

Parameters
  • organization (String)
  • location (String)
  • customer (String)
  • workload (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)