TriggerDestination class

Constructors

TriggerDestination({Input<String?>? cloudFunction, Input<TriggerDestinationCloudRunService?>? cloudRunService, Input<TriggerDestinationGke?>? gke, Input<TriggerDestinationHttpEndpoint?>? httpEndpoint, Input<TriggerDestinationNetworkConfig?>? networkConfig, Input<String?>? workflow})
Creates a new TriggerDestination. cloudFunction (Output) cloudRunService Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger. gke A GKE service capable of receiving events. The service should be running in the same project as the trigger. httpEndpoint An HTTP endpoint destination described by an URI. networkConfig Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. workflow 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}
const
TriggerDestination.fromMap(Map<String, dynamic> map)
factory

Properties

cloudFunction → Input<String?>?
(Output) The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. WARNING Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
final
cloudRunService → Input<TriggerDestinationCloudRunService?>?
Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger. Structure is documented below.
final
gke → Input<TriggerDestinationGke?>?
A GKE service capable of receiving events. The service should be running in the same project as the trigger. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
httpEndpoint → Input<TriggerDestinationHttpEndpoint?>?
An HTTP endpoint destination described by an URI. Structure is documented below.
final
networkConfig → Input<TriggerDestinationNetworkConfig?>?
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
workflow → Input<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}
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited