Skip to main content

@swamp/gcp/eventarc

v2026.04.23.1

Google Cloud eventarc infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudeventarccloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/eventarc

@swamp/gcp/eventarc/channelconnectionsv2026.04.23.1channelconnections.ts

Global Arguments

ArgumentTypeDescription
activationToken?stringInput only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
channel?stringRequired. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in `projects/{project}/location/{location}/channels/{channel_id}` format.
labels?recordOptional. Resource labels.
name?stringRequired. The name of the connection.
channelConnectionId?stringRequired. The user-provided ID to be assigned to the channel connection.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a channelConnections
getGet a channelConnections
ArgumentTypeDescription
identifierstringThe name of the channelConnections
deleteDelete the channelConnections
ArgumentTypeDescription
identifierstringThe name of the channelConnections
syncSync channelConnections state from GCP

Resources

state(infinite)— A representation of the ChannelConnection resource. A ChannelConnection is a ...
@swamp/gcp/eventarc/channelsv2026.04.23.1channels.ts

Global Arguments

ArgumentTypeDescription
cryptoKeyName?stringOptional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
labels?recordOptional. Resource labels.
name?stringRequired. The resource name of the channel. Must be unique within the location on the project and must be in `projects/{project}/locations/{location}/channels/{channel_id}` format.
provider?stringThe name of the event provider (e.g. Eventarc SaaS partner) associated with the channel. This provider will be granted permissions to publish events to the channel. Format: `projects/{project}/locations/{location}/providers/{provider_id}`.
channelId?stringRequired. The user-provided ID to be assigned to the channel.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a channels
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a channels
ArgumentTypeDescription
identifierstringThe name of the channels
updateUpdate channels attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the channels
ArgumentTypeDescription
identifierstringThe name of the channels
syncSync channels state from GCP

Resources

state(infinite)— A representation of the Channel resource. A Channel is a resource on which ev...
@swamp/gcp/eventarc/enrollmentsv2026.04.23.1enrollments.ts
createCreate a enrollments
getGet a enrollments
ArgumentTypeDescription
identifierstringThe name of the enrollments
updateUpdate enrollments attributes
deleteDelete the enrollments
ArgumentTypeDescription
identifierstringThe name of the enrollments
syncSync enrollments state from GCP

Resources

state(infinite)— An enrollment represents a subscription for messages on a particular message ...
@swamp/gcp/eventarc/googleapisourcesv2026.04.23.1googleapisources.ts
createCreate a googleApiSources
getGet a googleApiSources
ArgumentTypeDescription
identifierstringThe name of the googleApiSources
updateUpdate googleApiSources attributes
deleteDelete the googleApiSources
ArgumentTypeDescription
identifierstringThe name of the googleApiSources
syncSync googleApiSources state from GCP

Resources

state(infinite)— A GoogleApiSource represents a subscription of 1P events from a MessageBus.
@swamp/gcp/eventarc/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP
get_google_channel_configget google channel config
update_google_channel_configupdate google channel config
ArgumentTypeDescription
cryptoKeyName?any
labels?any
name?any
updateTime?any

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/eventarc/messagebusesv2026.04.23.1messagebuses.ts

Global Arguments

ArgumentTypeDescription
annotations?recordOptional. Resource annotations.
cryptoKeyName?stringOptional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
displayName?stringOptional. Resource display name.
labels?recordOptional. Resource labels.
loggingConfig?objectThe configuration for Platform Telemetry logging for Eventarc Advanced resources.
name?stringIdentifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
messageBusId?stringRequired. The user-provided ID to be assigned to the MessageBus. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a messageBuses
getGet a messageBuses
ArgumentTypeDescription
identifierstringThe name of the messageBuses
updateUpdate messageBuses attributes
deleteDelete the messageBuses
ArgumentTypeDescription
identifierstringThe name of the messageBuses
syncSync messageBuses state from GCP
list_enrollmentslist enrollments

Resources

state(infinite)— MessageBus for the messages flowing through the system. The admin has visibil...
@swamp/gcp/eventarc/pipelinesv2026.04.23.1pipelines.ts

Global Arguments

ArgumentTypeDescription
annotations?recordOptional. User-defined annotations. See https://google.aip.dev/128#annotations.
cryptoKeyName?stringOptional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt the event data. If not set, an internal Google-owned key will be used to encrypt messages. It must match the pattern "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}".
destinationsarray
uri?stringRequired. The URI of the HTTP endpoint. The value must be a RFC2396 URI string. Examples: `https://svc.us-central1.p.local:8080/route`. Only the HTTPS protocol is supported.
messageBus?stringOptional. The resource name of the Message Bus to which events should be published. The Message Bus resource should exist in the same project as the Pipeline. Format: `projects/{project}/locations/{location}/messageBuses/{message_bus}`
networkConfig?objectRepresents a network config to be used for destination resolution and connectivity.
outputPayloadFormat?objectRepresents the format of message data.
topic?stringOptional. The resource name of the Pub/Sub topic to which events should be published. Format: `projects/{project}/locations/{location}/topics/{topic}`
workflow?stringOptional. 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 Pipeline. Format: `projects/{project}/locations/{location}/workflows/{workflow}`
displayName?stringOptional. Display name of resource.
inputPayloadFormat?objectRepresents the format of message data.
labels?recordOptional. User labels attached to the Pipeline that can be used to group resources. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
loggingConfig?objectThe configuration for Platform Telemetry logging for Eventarc Advanced resources.
mediations?arrayOptional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.
name?stringIdentifier. The resource name of the Pipeline. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/pipelines/{pipeline}` format.
retryPolicy?objectThe retry policy configuration for the Pipeline. The pipeline exponentially backs off in case the destination is non responsive or returns a retryable error code. The default semantics are as follows: The backoff starts with a 5 second delay and doubles the delay after each failed attempt (10 seconds, 20 seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default. Please note that if you set the min_retry_delay and max_retry_delay fields to the same value this will make the duration
pipelineId?stringRequired. The user-provided ID to be assigned to the Pipeline. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a pipelines
getGet a pipelines
ArgumentTypeDescription
identifierstringThe name of the pipelines
updateUpdate pipelines attributes
deleteDelete the pipelines
ArgumentTypeDescription
identifierstringThe name of the pipelines
syncSync pipelines state from GCP

Resources

state(infinite)— A representation of the Pipeline resource.
@swamp/gcp/eventarc/providersv2026.04.23.1providers.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
getGet a providers
ArgumentTypeDescription
identifierstringThe name of the providers
syncSync providers state from GCP

Resources

state(infinite)— A representation of the Provider resource.
@swamp/gcp/eventarc/triggersv2026.04.23.1triggers.ts

Global Arguments

ArgumentTypeDescription
channel?stringOptional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events from Eventarc SaaS partners.
destination?objectRepresents a target of an invocation over HTTP.
eventDataContentType?stringOptional. EventDataContentType specifies the type of payload in MIME format that is expected from the CloudEvent data field. This is set to `application/json` if the value is not defined.
eventFilters?arrayRequired. Unordered list. The list of filters that applies to event attributes. Only events that match all the provided filters are sent to the destination.
labels?recordOptional. User labels attached to the triggers that can be used to group resources.
name?stringRequired. The resource name of the trigger. Must be unique within the location of the project and must be in `projects/{project}/locations/{location}/triggers/{trigger}` format.
retryPolicy?objectThe retry policy configuration for the Trigger. Can only be set with Cloud Run destinations.
serviceAccount?stringOptional. The IAM service account email associated with the trigger. The service account represents the identity of the trigger. The `iam.serviceAccounts.actAs` permission must be granted on the service account to allow a principal to impersonate the service account. For more information, see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific to the trigger destination.
transport?objectRepresents the transport intermediaries created for the trigger to deliver events.
triggerId?stringRequired. The user-provided ID to be assigned to the trigger.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a triggers
getGet a triggers
ArgumentTypeDescription
identifierstringThe name of the triggers
updateUpdate triggers attributes
deleteDelete the triggers
ArgumentTypeDescription
identifierstringThe name of the triggers
syncSync triggers state from GCP

Resources

state(infinite)— A representation of the trigger resource.