Class Destination (1.14.0)

Destination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a target of an invocation over HTTP.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
cloud_run google.cloud.eventarc_v1.types.CloudRun
Cloud Run fully-managed resource that receives the events. The resource should be in the same project as the trigger. This field is a member of oneof_ descriptor.
cloud_function str
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. This field is a member of oneof_ descriptor.
gke google.cloud.eventarc_v1.types.GKE
A GKE service capable of receiving events. The service should be running in the same project as the trigger. This field is a member of oneof_ descriptor.
workflow str
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} This field is a member of oneof_ descriptor.
http_endpoint google.cloud.eventarc_v1.types.HttpEndpoint
An HTTP endpoint destination described by an URI. This field is a member of oneof_ descriptor.
network_config google.cloud.eventarc_v1.types.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.