From 86805f216903e4cb47b8c757f636f2ae92b6c831 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 12 Apr 2023 22:15:36 -0700 Subject: [PATCH] feat: Run the code generator (3b7685e) --- .../events/cloud/eventarc_v1/types/data.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/google/events/cloud/eventarc_v1/types/data.py b/src/google/events/cloud/eventarc_v1/types/data.py index ed15f5a..9896130 100644 --- a/src/google/events/cloud/eventarc_v1/types/data.py +++ b/src/google/events/cloud/eventarc_v1/types/data.py @@ -86,8 +86,8 @@ class Channel(proto.Message): channel. The token must be used by the provider to register the channel for publishing. crypto_key_name (str): - Optional. Resource name of a KMS crypto key (managed by the - user) used to encrypt/decrypt their event data. + 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/*``. @@ -264,7 +264,7 @@ class Trigger(proto.Message): events should be sent to. transport (google.events.cloud.eventarc_v1.types.Transport): Optional. To deliver messages, Eventarc might - use other GCP products as a transport + use other Google Cloud products as a transport intermediary. This field contains a reference to that transport intermediary. This information can be used for debugging purposes. @@ -280,6 +280,11 @@ class Trigger(proto.Message): conditions (MutableMapping[str, google.events.cloud.eventarc_v1.types.StateCondition]): Output only. The reason(s) why a trigger is in FAILED state. + event_data_content_type (str): + Optional. 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. etag (str): Output only. This checksum is computed by the server based on the value of other fields, and @@ -340,6 +345,10 @@ class Trigger(proto.Message): number=15, message='StateCondition', ) + event_data_content_type: str = proto.Field( + proto.STRING, + number=16, + ) etag: str = proto.Field( proto.STRING, number=99, @@ -423,6 +432,10 @@ class Destination(proto.Message): supported. Format: ``projects/{project}/locations/{location}/functions/{function}`` + This is a read-only field. Creating Cloud Functions 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.events.cloud.eventarc_v1.types.GKE): A GKE service capable of receiving events.