Package types (0.1.0)

API documentation for eventarc_v1.types package.

Classes

CloudRun

Represents a Cloud Run destination. .. attribute:: service

Required. The name of the Cloud Run service being addressed. See https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located in the same project of the trigger object can be addressed.

:type: str

CreateTriggerRequest

The request message for the CreateTrigger method. .. attribute:: parent

Required. The parent collection in which to add this trigger.

:type: str

DeleteTriggerRequest

The request message for the DeleteTrigger method. .. attribute:: name

Required. The name of the trigger to be deleted.

:type: str

Destination

Represents a target of an invocation over HTTP. .. attribute:: cloud_run

Cloud Run fully-managed service that receives the events. The service should be running in the same project of the trigger.

:type: google.cloud.eventarc_v1.types.CloudRun

EventFilter

Filters events based on exact matches on the CloudEvents attributes.

GetTriggerRequest

The request message for the GetTrigger method. .. attribute:: name

Required. The name of the trigger to get.

:type: str

ListTriggersRequest

The request message for the ListTriggers method. .. attribute:: parent

Required. The parent collection to list triggers on.

:type: str

ListTriggersResponse

The response message for the ListTriggers method. .. attribute:: triggers

The requested triggers, up to the number specified in page_size.

:type: Sequence[google.cloud.eventarc_v1.types.Trigger]

OperationMetadata

Represents the metadata of the long-running operation. .. attribute:: create_time

Output only. The time the operation was created.

:type: google.protobuf.timestamp_pb2.Timestamp

Pubsub

Represents a Pub/Sub transport. .. attribute:: topic

Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/topics/{TOPIC_NAME}.

You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished only. The topic you provide here will not be deleted by Eventarc at trigger deletion.

:type: str

Transport

Represents the transport intermediaries created for the trigger in order to deliver events.

Trigger

A representation of the trigger resource. .. attribute:: name

Required. The resource name of the trigger. Must be unique within the location on the project and must be in projects/{project}/locations/{location}/triggers/{trigger} format.

:type: str

UpdateTriggerRequest

The request message for the UpdateTrigger method. .. attribute:: trigger

The trigger to be updated.

:type: google.cloud.eventarc_v1.types.Trigger