Eventarc V1 API - Class Google::Cloud::Eventarc::V1::Destination (v1.0.0)

Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::Destination.

Represents a target of an invocation over HTTP.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cloud_function

def cloud_function() -> ::String
Returns
  • (::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}

#cloud_function=

def cloud_function=(value) -> ::String
Parameter
  • value (::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}
Returns
  • (::String) — The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}

#cloud_run

def cloud_run() -> ::Google::Cloud::Eventarc::V1::CloudRun
Returns

#cloud_run=

def cloud_run=(value) -> ::Google::Cloud::Eventarc::V1::CloudRun
Parameter
Returns

#gke

def gke() -> ::Google::Cloud::Eventarc::V1::GKE
Returns

#gke=

def gke=(value) -> ::Google::Cloud::Eventarc::V1::GKE
Parameter
Returns

#workflow

def workflow() -> ::String
Returns
  • (::String) — The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}

#workflow=

def workflow=(value) -> ::String
Parameter
  • value (::String) — The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}
Returns
  • (::String) — The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: projects/{project}/locations/{location}/workflows/{workflow}