Eventarc V1 API - Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v2.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
#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)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Eventarc V1 API - Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v2.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.0 (latest)](/ruby/docs/reference/google-cloud-eventarc-v1/latest/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [2.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/2.0.1/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [1.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.3.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [1.2.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.2.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [1.1.0](/ruby/docs/reference/google-cloud-eventarc-v1/1.1.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [1.0.1](/ruby/docs/reference/google-cloud-eventarc-v1/1.0.1/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.10.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.10.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.9.2](/ruby/docs/reference/google-cloud-eventarc-v1/0.9.2/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.8.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.8.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.7.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.7.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.6.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.6.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.5.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.5.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.4.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.4.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.3.0](/ruby/docs/reference/google-cloud-eventarc-v1/0.3.0/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.2.1](/ruby/docs/reference/google-cloud-eventarc-v1/0.2.1/Google-Cloud-Eventarc-V1-Eventarc-Paths)\n- [0.1.4](/ruby/docs/reference/google-cloud-eventarc-v1/0.1.4/Google-Cloud-Eventarc-V1-Eventarc-Paths) \nReference documentation and code samples for the Eventarc V1 API module Google::Cloud::Eventarc::V1::Eventarc::Paths.\n\nPath helper methods for the Eventarc API. \n\nExtended By\n-----------\n\n- [Google::Cloud::Eventarc::V1::Eventarc::Paths](./Google-Cloud-Eventarc-V1-Eventarc-Paths)\n\nMethods\n-------\n\n### #channel_connection_path\n\n def channel_connection_path(project:, location:, channel_connection:) -\u003e ::String\n\nCreate a fully-qualified ChannelConnection resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/channelConnections/{channel_connection}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **channel_connection** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #channel_path\n\n def channel_path(project:, location:, channel:) -\u003e ::String\n\nCreate a fully-qualified Channel resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/channels/{channel}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **channel** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #cloud_function_path\n\n def cloud_function_path(project:, location:, function:) -\u003e ::String\n\nCreate a fully-qualified CloudFunction resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/functions/{function}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **function** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #crypto_key_path\n\n def crypto_key_path(project:, location:, key_ring:, crypto_key:) -\u003e ::String\n\nCreate a fully-qualified CryptoKey resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **key_ring** (String)\n- **crypto_key** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #enrollment_path\n\n def enrollment_path(project:, location:, enrollment:) -\u003e ::String\n\nCreate a fully-qualified Enrollment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/enrollments/{enrollment}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **enrollment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #google_api_source_path\n\n def google_api_source_path(project:, location:, google_api_source:) -\u003e ::String\n\nCreate a fully-qualified GoogleApiSource resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/googleApiSources/{google_api_source}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **google_api_source** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #google_channel_config_path\n\n def google_channel_config_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified GoogleChannelConfig resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/googleChannelConfig` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #location_path\n\n def location_path(project:, location:) -\u003e ::String\n\nCreate a fully-qualified Location resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}` \n**Parameters**\n\n- **project** (String)\n- **location** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #message_bus_path\n\n def message_bus_path(project:, location:, message_bus:) -\u003e ::String\n\nCreate a fully-qualified MessageBus resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/messageBuses/{message_bus}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **message_bus** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #network_attachment_path\n\n def network_attachment_path(project:, region:, networkattachment:) -\u003e ::String\n\nCreate a fully-qualified NetworkAttachment resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/regions/{region}/networkAttachments/{networkattachment}` \n**Parameters**\n\n- **project** (String)\n- **region** (String)\n- **networkattachment** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #pipeline_path\n\n def pipeline_path(project:, location:, pipeline:) -\u003e ::String\n\nCreate a fully-qualified Pipeline resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/pipelines/{pipeline}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **pipeline** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #provider_path\n\n def provider_path(project:, location:, provider:) -\u003e ::String\n\nCreate a fully-qualified Provider resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/providers/{provider}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **provider** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #service_account_path\n\n def service_account_path(project:, service_account:) -\u003e ::String\n\nCreate a fully-qualified ServiceAccount resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/serviceAccounts/{service_account}` \n**Parameters**\n\n- **project** (String)\n- **service_account** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #topic_path\n\n def topic_path(project:, topic:) -\u003e ::String\n\nCreate a fully-qualified Topic resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/topics/{topic}` \n**Parameters**\n\n- **project** (String)\n- **topic** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #trigger_path\n\n def trigger_path(project:, location:, trigger:) -\u003e ::String\n\nCreate a fully-qualified Trigger resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/triggers/{trigger}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **trigger** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)\n\n### #workflow_path\n\n def workflow_path(project:, location:, workflow:) -\u003e ::String\n\nCreate a fully-qualified Workflow resource string.\n\n\nThe resource will be in the following format:\n\n\u003cbr /\u003e\n\n`projects/{project}/locations/{location}/workflows/{workflow}` \n**Parameters**\n\n- **project** (String)\n- **location** (String)\n- **workflow** (String) \n**Returns**\n\n- (::String) \n**Raises**\n\n- (::ArgumentError)"]]