Cloud Composer V1 API - Module Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Paths (v1.0.1)

Reference documentation and code samples for the Cloud Composer V1 API module Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Paths.

Path helper methods for the Environments API.

Methods

#environment_path

def environment_path(project:, location:, environment:) -> ::String

Create a fully-qualified Environment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/environments/{environment}

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

#user_workloads_config_map_path

def user_workloads_config_map_path(project:, location:, environment:, user_workloads_config_map:) -> ::String

Create a fully-qualified UserWorkloadsConfigMap resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}

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

#user_workloads_secret_path

def user_workloads_secret_path(project:, location:, environment:, user_workloads_secret:) -> ::String

Create a fully-qualified UserWorkloadsSecret resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/environments/{environment}/userWorkloadsSecrets/{user_workloads_secret}

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