API hub V1 API - Module Google::Cloud::ApiHub::V1::RuntimeProjectAttachmentService::Paths (v0.1.1)

Reference documentation and code samples for the API hub V1 API module Google::Cloud::ApiHub::V1::RuntimeProjectAttachmentService::Paths.

Path helper methods for the RuntimeProjectAttachmentService API.

Methods

#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)

#runtime_project_attachment_path

def runtime_project_attachment_path(project:, location:, runtime_project_attachment:) -> ::String

Create a fully-qualified RuntimeProjectAttachment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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