Module Google::Cloud::Eventarc::V1::Eventarc::Paths (v0.1.4)

Path helper methods for the Eventarc API.

Methods

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