Vision AI V1 API - Module Google::Cloud::VisionAI::V1::AppPlatform::Paths (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API module Google::Cloud::VisionAI::V1::AppPlatform::Paths.

Path helper methods for the AppPlatform 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)

#draft_path

def draft_path(project:, location:, application:, draft:) -> ::String

Create a fully-qualified Draft resource string.

The resource will be in the following format:

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

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

#instance_path

def instance_path(project:, location:, application:, instance:) -> ::String

Create a fully-qualified Instance resource string.

The resource will be in the following format:

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

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

#processor_path

def processor_path(project:, location:, processor:) -> ::String

Create a fully-qualified Processor resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/processors/{processor}

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

#stream_path

def stream_path(project:, location:, cluster:, stream:) -> ::String

Create a fully-qualified Stream resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/clusters/{cluster}/streams/{stream}

Parameters
  • project (String)
  • location (String)
  • cluster (String)
  • stream (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)