Eventarc V1 API - Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v1.0.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)

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

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

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