Apigee Registry V1 API - Module Google::Cloud::ApigeeRegistry::V1::Registry::Paths (v0.1.0)

Reference documentation and code samples for the Apigee Registry V1 API module Google::Cloud::ApigeeRegistry::V1::Registry::Paths.

Path helper methods for the Registry API.

Methods

#api_deployment_path

def api_deployment_path(project:, location:, api:, deployment:) -> ::String

Create a fully-qualified ApiDeployment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • deployment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#api_path

def api_path(project:, location:, api:) -> ::String

Create a fully-qualified Api resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}

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

#api_spec_path

def api_spec_path(project:, location:, api:, version:, spec:) -> ::String

Create a fully-qualified ApiSpec resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • version (String)
  • spec (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#api_version_path

def api_version_path(project:, location:, api:, version:) -> ::String

Create a fully-qualified ApiVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/versions/{version}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • version (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#artifact_path

def artifact_path(project:, location:, artifact:) -> ::String
def artifact_path(project:, location:, api:, artifact:) -> ::String
def artifact_path(project:, location:, api:, version:, artifact:) -> ::String
def artifact_path(project:, location:, api:, version:, spec:, artifact:) -> ::String
def artifact_path(project:, location:, api:, deployment:, artifact:) -> ::String

Create a fully-qualified Artifact resource string.

Overloads
def artifact_path(project:, location:, artifact:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/artifacts/{artifact}

Parameters
  • project (String)
  • location (String)
  • artifact (String)
def artifact_path(project:, location:, api:, artifact:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • artifact (String)
def artifact_path(project:, location:, api:, version:, artifact:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • version (String)
  • artifact (String)
def artifact_path(project:, location:, api:, version:, spec:, artifact:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • version (String)
  • spec (String)
  • artifact (String)
def artifact_path(project:, location:, api:, deployment:, artifact:) -> ::String
The resource will be in the following format:

projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}

Parameters
  • project (String)
  • location (String)
  • api (String)
  • deployment (String)
  • artifact (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)