Cloud Scheduler V1 API - Module Google::Cloud::Scheduler::V1::CloudScheduler::Paths (v0.9.1)

Reference documentation and code samples for the Cloud Scheduler V1 API module Google::Cloud::Scheduler::V1::CloudScheduler::Paths.

Path helper methods for the CloudScheduler API.

Methods

#job_path

def job_path(project:, location:, job:) -> ::String

Create a fully-qualified Job resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/jobs/{job}

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

#topic_path

def topic_path(project:, topic:) -> ::String

Create a fully-qualified Topic resource string.

The resource will be in the following format:

projects/{project}/topics/{topic}

Parameters
  • project (String)
  • topic (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)