Connectors V1 API - Module Google::Cloud::Connectors::V1::Connectors::Paths (v0.2.0)

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

Path helper methods for the Connectors API.

Methods

#connection_path

def connection_path(project:, location:, connection:) -> ::String

Create a fully-qualified Connection resource string.

The resource will be in the following format:

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

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

#connection_schema_metadata_path

def connection_schema_metadata_path(project:, location:, connection:) -> ::String

Create a fully-qualified ConnectionSchemaMetadata resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata

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

#connector_path

def connector_path(project:, location:, provider:, connector:) -> ::String

Create a fully-qualified Connector resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}

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

#connector_version_path

def connector_version_path(project:, location:, provider:, connector:, version:) -> ::String

Create a fully-qualified ConnectorVersion resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}

Parameters
  • project (String)
  • location (String)
  • provider (String)
  • connector (String)
  • version (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)

#provider_path

def provider_path(project:, location:, provider:) -> ::String

Create a fully-qualified Provider resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/providers/{provider}

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

#runtime_config_path

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

Create a fully-qualified RuntimeConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/runtimeConfig

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

#settings_path

def settings_path(project:) -> ::String

Create a fully-qualified Settings resource string.

The resource will be in the following format:

projects/{project}/locations/global/settings

Parameter
  • project (String)
Returns
  • (::String)