DestinationResponse class

Represents a target of an invocation over HTTP.

Constructors

DestinationResponse({required Input<String> cloudFunction, required Input<CloudRunResponse> cloudRun, required Input<GKEResponse> gke, required Input<HttpEndpointResponse> httpEndpoint, required Input<NetworkConfigResponse> networkConfig, required Input<String> workflow})
Creates a new DestinationResponse. cloudFunction The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value. cloudRun Cloud Run fully-managed resource that receives the events. The resource should be in the same project as 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
DestinationResponse.fromMap(Map<String, dynamic> map)
factory

Properties

cloudFunction → Input<String>
The Cloud Function resource name. Cloud Functions V1 and V2 are supported. Format: projects/{project}/locations/{location}/functions/{function} This is a read-only field. Creating Cloud Functions V1/V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
final
cloudRun → Input<CloudRunResponse>
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger.
final
gke → Input<GKEResponse>
A GKE service capable of receiving events. The service should be running in the same project as the trigger.
final
hashCode → int
The hash code for this object.
no setterinherited
httpEndpoint → Input<HttpEndpointResponse>
An HTTP endpoint destination described by an URI.
final
networkConfig → Input<NetworkConfigResponse>
Optional. Network config is used to configure how Eventarc resolves and connect to a destination. This should only be used with HttpEndpoint destination type.
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