eventarc library
Eventarc — channels, triggers, pipelines, message buses, and API sources for routing CloudEvents to Cloud Run, Cloud Functions, Workflows, GKE, and HTTP endpoints.
Classes
- EventarcMessageBusLoggingConfig
-
logging_configblock — shared across Eventarc message buses, API sources, and pipelines. - EventarcTriggerCloudRunService
-
destination.cloud_run_serviceblock. - EventarcTriggerDestination
-
destinationblock. Selects the workload that receives matched CloudEvents. Exactly ONE of cloudRunService / cloudFunction / workflow / httpEndpoint / gke must be set -- they are mutually exclusive at the GCP API level and the provider validates this before plan/apply. - EventarcTriggerGkeService
-
destination.gkeblock. GKE service in the same project as the trigger. - EventarcTriggerHttpEndpoint
-
destination.http_endpointblock. Only HTTP and HTTPS protocols are supported. The host can be either a static IP reachable from the VPC declared in EventarcTriggerDestination.networkConfig, or an internal DNS hostname resolvable via Cloud DNS. - EventarcTriggerMatchingCriteria
-
One
matching_criteriaentry. The full list of entries is AND-ed -- only events matching every filter are delivered. The schema models this as asetof blocks; the wrapper still accepts aList<EventarcTriggerMatchingCriteria>-- duplicates are deduped by the Terraform engine on apply. - EventarcTriggerNetworkConfig
-
destination.network_configblock. Configures how Eventarc resolves and connects to the destination. ONLY valid when EventarcTriggerDestination.httpEndpoint is set. - EventarcTriggerPubsubTransport
-
transport.pubsubblock. - EventarcTriggerRetryPolicy
-
retry_policyblock. Configures delivery retry behavior for the trigger. Per the schema, this block is ONLY valid whendestinationtargets a Cloud Run service (EventarcTriggerDestination.cloudRunService); setting it for any other destination is rejected by the provider. - EventarcTriggerTransport
-
transportblock. Optional reference to the GCP product Eventarc uses as the delivery intermediary. Today the only supported transport is Pub/Sub via pubsub; future transports may be added by the API without breaking this block (additional sub-blocks would map to new nullable fields). - GoogleEventarcChannel
-
Factory wrapper for
google_eventarc_channel. - GoogleEventarcEnrollment
-
Factory wrapper for
google_eventarc_enrollment. - GoogleEventarcGoogleApiSource
-
Factory wrapper for
google_eventarc_google_api_source. - GoogleEventarcGoogleChannelConfig
-
Factory wrapper for
google_eventarc_google_channel_config. - GoogleEventarcMessageBus
-
Factory wrapper for
google_eventarc_message_bus. - GoogleEventarcPipeline
-
Factory wrapper for
google_eventarc_pipeline. - GoogleEventarcTrigger
-
Factory wrapper for
google_eventarc_trigger.
Enums
- EventarcMessageBusLogSeverity
-
logging_config.log_severity— minimum log severity forwarded to Cloud Logging / Platform Telemetry.