Eventarc V1 API - Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v0.2.1)

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)

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

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