Google Cloud Deploy V1 API - Module Google::Cloud::Deploy::V1::CloudDeploy::Paths (v0.5.0)

Reference documentation and code samples for the Google Cloud Deploy V1 API module Google::Cloud::Deploy::V1::CloudDeploy::Paths.

Path helper methods for the CloudDeploy API.

Methods

#build_path

def build_path(project:, location:, build:) -> ::String

Create a fully-qualified Build resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/builds/{build}

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

#cluster_path

def cluster_path(project:, location:, cluster:) -> ::String

Create a fully-qualified Cluster resource string.

The resource will be in the following format:

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

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

#config_path

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

Create a fully-qualified Config resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/config

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

#delivery_pipeline_path

def delivery_pipeline_path(project:, location:, delivery_pipeline:) -> ::String

Create a fully-qualified DeliveryPipeline resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}

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

#job_run_path

def job_run_path(project:, location:, delivery_pipeline:, release:, rollout:, job_run:) -> ::String

Create a fully-qualified JobRun resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{job_run}

Parameters
  • project (String)
  • location (String)
  • delivery_pipeline (String)
  • release (String)
  • rollout (String)
  • job_run (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)

#membership_path

def membership_path(project:, location:, membership:) -> ::String

Create a fully-qualified Membership resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/memberships/{membership}

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

#release_path

def release_path(project:, location:, delivery_pipeline:, release:) -> ::String

Create a fully-qualified Release resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}

Parameters
  • project (String)
  • location (String)
  • delivery_pipeline (String)
  • release (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#rollout_path

def rollout_path(project:, location:, delivery_pipeline:, release:, rollout:) -> ::String

Create a fully-qualified Rollout resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}/rollouts/{rollout}

Parameters
  • project (String)
  • location (String)
  • delivery_pipeline (String)
  • release (String)
  • rollout (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#target_path

def target_path(project:, location:, target:) -> ::String

Create a fully-qualified Target resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/targets/{target}

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

#worker_pool_path

def worker_pool_path(project:, location:, worker_pool:) -> ::String

Create a fully-qualified WorkerPool resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workerPools/{worker_pool}

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