Eventarc V1 API - Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v1.2.0)

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

Path helper methods for the Eventarc API.

Methods

#channel_connection_path

def channel_connection_path(project:, location:, channel_connection:) -> ::String

Create a fully-qualified ChannelConnection resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/channelConnections/{channel_connection}

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

#channel_path

def channel_path(project:, location:, channel:) -> ::String

Create a fully-qualified Channel resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/channels/{channel}

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

#cloud_function_path

def cloud_function_path(project:, location:, function:) -> ::String

Create a fully-qualified CloudFunction resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/functions/{function}

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

#crypto_key_path

def crypto_key_path(project:, location:, key_ring:, crypto_key:) -> ::String

Create a fully-qualified CryptoKey resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

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

#enrollment_path

def enrollment_path(project:, location:, enrollment:) -> ::String

Create a fully-qualified Enrollment resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/enrollments/{enrollment}

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

#google_api_source_path

def google_api_source_path(project:, location:, google_api_source:) -> ::String

Create a fully-qualified GoogleApiSource resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/googleApiSources/{google_api_source}

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

#google_channel_config_path

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

Create a fully-qualified GoogleChannelConfig resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/googleChannelConfig

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

#message_bus_path

def message_bus_path(project:, location:, message_bus:) -> ::String

Create a fully-qualified MessageBus resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/messageBuses/{message_bus}

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

#network_attachment_path

def network_attachment_path(project:, region:, networkattachment:) -> ::String

Create a fully-qualified NetworkAttachment resource string.

The resource will be in the following format:

projects/{project}/regions/{region}/networkAttachments/{networkattachment}

Parameters
  • project (String)
  • region (String)
  • networkattachment (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#pipeline_path

def pipeline_path(project:, location:, pipeline:) -> ::String

Create a fully-qualified Pipeline resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/pipelines/{pipeline}

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

#service_account_path

def service_account_path(project:, service_account:) -> ::String

Create a fully-qualified ServiceAccount resource string.

The resource will be in the following format:

projects/{project}/serviceAccounts/{service_account}

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

#trigger_path

def trigger_path(project:, location:, trigger:) -> ::String

Create a fully-qualified Trigger resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/triggers/{trigger}

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

#workflow_path

def workflow_path(project:, location:, workflow:) -> ::String

Create a fully-qualified Workflow resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/workflows/{workflow}

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