App Hub V1 API - Module Google::Cloud::AppHub::V1::AppHub::Paths (v0.1.0)

Reference documentation and code samples for the App Hub V1 API module Google::Cloud::AppHub::V1::AppHub::Paths.

Path helper methods for the AppHub API.

Methods

#application_path

def application_path(project:, location:, application:) -> ::String

Create a fully-qualified Application resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/applications/{application}

Parameters
  • project (String)
  • location (String)
  • application (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#discovered_service_path

def discovered_service_path(project:, location:, discovered_service:) -> ::String

Create a fully-qualified DiscoveredService resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/discoveredServices/{discovered_service}

Parameters
  • project (String)
  • location (String)
  • discovered_service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#discovered_workload_path

def discovered_workload_path(project:, location:, discovered_workload:) -> ::String

Create a fully-qualified DiscoveredWorkload resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/discoveredWorkloads/{discovered_workload}

Parameters
  • project (String)
  • location (String)
  • discovered_workload (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#location_path

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

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • 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)

#service_path

def service_path(project:, location:, application:, service:) -> ::String

Create a fully-qualified Service resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/applications/{application}/services/{service}

Parameters
  • project (String)
  • location (String)
  • application (String)
  • service (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#service_project_attachment_path

def service_project_attachment_path(project:, location:, service_project_attachment:) -> ::String

Create a fully-qualified ServiceProjectAttachment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/serviceProjectAttachments/{service_project_attachment}

Parameters
  • project (String)
  • location (String)
  • service_project_attachment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#workload_path

def workload_path(project:, location:, application:, workload:) -> ::String

Create a fully-qualified Workload resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/applications/{application}/workloads/{workload}

Parameters
  • project (String)
  • location (String)
  • application (String)
  • workload (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)