diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d8c45b1..82950296 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,13 @@ * Remove outdated files ([#145](https://github.com/googleapis/google-cloudevents-python/issues/145)) ([888ccc5](https://github.com/googleapis/google-cloudevents-python/commit/888ccc54b46225ee27c3485e09eda0922535a195)) * **workflows:** Generator not executable, needs an interpreter. ([#150](https://github.com/googleapis/google-cloudevents-python/issues/150)) ([9c8db0e](https://github.com/googleapis/google-cloudevents-python/commit/9c8db0ea7f343e91ec51d9aaad6d90cad09cb4dd)) +## [0.6.0](https://github.com/googleapis/google-cloudevents-python/compare/v0.5.0...v0.6.0) (2023-04-28) + + +### Features + +* Run the code generator (fa5ccbe) ([#204](https://github.com/googleapis/google-cloudevents-python/issues/204)) ([b1a6c1b](https://github.com/googleapis/google-cloudevents-python/commit/b1a6c1ba3170a0719a474bde5c10ca746f614d8c)) + ## [0.5.0](https://github.com/googleapis/google-cloudevents-python/compare/v0.4.0...v0.5.0) (2023-03-24) diff --git a/scripts/requirements.txt b/scripts/requirements.txt index a9f23a9d..d451aac4 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,4 +1,4 @@ -gapic_generator==1.9.1 -grpcio-tools==1.51.3 +gapic_generator==1.10.0 +grpcio-tools==1.53.0 pypandoc_binary==1.11 requests==2.28.2 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 7add4d70..2add7580 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = google-events -version = 0.5.0 +version = 0.6.0 author = Google LLC author_email = googleapis-packages@google.com description = Google Cloudevents library diff --git a/src/google/events/cloud/eventarc_v1/types/data.py b/src/google/events/cloud/eventarc_v1/types/data.py index ed15f5a7..98961303 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.