Config Delivery V1 API - Module Google::Cloud::ConfigDelivery::V1::ConfigDelivery::Paths (v0.1.0)

Reference documentation and code samples for the Config Delivery V1 API module Google::Cloud::ConfigDelivery::V1::ConfigDelivery::Paths.

Path helper methods for the ConfigDelivery API.

Methods

#fleet_package_path

def fleet_package_path(project:, location:, fleet_package:) -> ::String

Create a fully-qualified FleetPackage resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/fleetPackages/{fleet_package}

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

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

#release_path

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

Create a fully-qualified Release resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}

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

#repository_path

def repository_path(project:, location:, connection:, repository:) -> ::String

Create a fully-qualified Repository resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}

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

#resource_bundle_path

def resource_bundle_path(project:, location:, resource_bundle:) -> ::String

Create a fully-qualified ResourceBundle resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/resourceBundles/{resource_bundle}

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

#rollout_path

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

Create a fully-qualified Rollout resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/fleetPackages/{fleet_package}/rollouts/{rollout}

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

#variant_path

def variant_path(project:, location:, resource_bundle:, release:, variant:) -> ::String

Create a fully-qualified Variant resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}

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