Skip to content

Commit 8da0332

Browse files
feat: Automated regeneration of Eventarc client (googleapis#12634)
Auto-created at 2024-12-04 13:14:35 +0000 using the toys pull request generator.
1 parent 6433cad commit 8da0332

File tree

8 files changed

+16
-10
lines changed

8 files changed

+16
-10
lines changed

clients/eventarc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_eventarc, "~> 0.16"}]
14+
[{:google_api_eventarc, "~> 0.17"}]
1515
end
1616
```
1717

clients/eventarc/lib/google_api/eventarc/v1/api/projects.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ defmodule GoogleApi.Eventarc.V1.Api.Projects do
14201420
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
14211421
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
14221422
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
1423-
* `:enrollmentId` (*type:* `String.t`) - Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
1423+
* `:enrollmentId` (*type:* `String.t`) - Required. The user-provided ID to be assigned to the Enrollment. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
14241424
* `:validateOnly` (*type:* `boolean()`) - Optional. If set, validate the request and preview the review, but do not post it.
14251425
* `:body` (*type:* `GoogleApi.Eventarc.V1.Model.Enrollment.t`) -
14261426
* `opts` (*type:* `keyword()`) - Call options
@@ -2022,7 +2022,7 @@ defmodule GoogleApi.Eventarc.V1.Api.Projects do
20222022
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
20232023
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
20242024
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2025-
* `:googleApiSourceId` (*type:* `String.t`) - Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$).
2025+
* `:googleApiSourceId` (*type:* `String.t`) - Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
20262026
* `:validateOnly` (*type:* `boolean()`) - Optional. If set, validate the request and preview the review, but do not post it.
20272027
* `:body` (*type:* `GoogleApi.Eventarc.V1.Model.GoogleApiSource.t`) -
20282028
* `opts` (*type:* `keyword()`) - Call options
@@ -2626,7 +2626,7 @@ defmodule GoogleApi.Eventarc.V1.Api.Projects do
26262626
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
26272627
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
26282628
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
2629-
* `:messageBusId` (*type:* `String.t`) - Required. 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])?$)
2629+
* `:messageBusId` (*type:* `String.t`) - Required. 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])?$`.
26302630
* `:validateOnly` (*type:* `boolean()`) - Optional. If set, validate the request and preview the review, but do not post it.
26312631
* `:body` (*type:* `GoogleApi.Eventarc.V1.Model.MessageBus.t`) -
26322632
* `opts` (*type:* `keyword()`) - Call options
@@ -3286,7 +3286,7 @@ defmodule GoogleApi.Eventarc.V1.Api.Projects do
32863286
end
32873287

32883288
@doc """
3289-
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
3289+
Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
32903290
32913291
## Parameters
32923292
@@ -3596,7 +3596,7 @@ defmodule GoogleApi.Eventarc.V1.Api.Projects do
35963596
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
35973597
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
35983598
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
3599-
* `:pipelineId` (*type:* `String.t`) - Required. The user-provided ID to be assigned to the Pipeline.
3599+
* `:pipelineId` (*type:* `String.t`) - Required. 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])?$`.
36003600
* `:validateOnly` (*type:* `boolean()`) - Optional. If set, validate the request and preview the review, but do not post it.
36013601
* `:body` (*type:* `GoogleApi.Eventarc.V1.Model.Pipeline.t`) -
36023602
* `opts` (*type:* `keyword()`) - Call options

clients/eventarc/lib/google_api/eventarc/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Eventarc.V1 do
2020
API client metadata for GoogleApi.Eventarc.V1.
2121
"""
2222

23-
@discovery_revision "20241029"
23+
@discovery_revision "20241119"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/eventarc/lib/google_api/eventarc/v1/model/channel.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Eventarc.V1.Model.Channel do
2424
* `activationToken` (*type:* `String.t`, *default:* `nil`) - Output only. The activation token for the channel. The token must be used by the provider to register the channel for publishing.
2525
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The creation time.
2626
* `cryptoKeyName` (*type:* `String.t`, *default:* `nil`) - 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/*`.
27+
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels.
2728
* `name` (*type:* `String.t`, *default:* `nil`) - Required. 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.
2829
* `provider` (*type:* `String.t`, *default:* `nil`) - The 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}`.
2930
* `pubsubTopic` (*type:* `String.t`, *default:* `nil`) - Output only. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: `projects/{project}/topics/{topic_id}`.
@@ -39,6 +40,7 @@ defmodule GoogleApi.Eventarc.V1.Model.Channel do
3940
:activationToken => String.t() | nil,
4041
:createTime => DateTime.t() | nil,
4142
:cryptoKeyName => String.t() | nil,
43+
:labels => map() | nil,
4244
:name => String.t() | nil,
4345
:provider => String.t() | nil,
4446
:pubsubTopic => String.t() | nil,
@@ -51,6 +53,7 @@ defmodule GoogleApi.Eventarc.V1.Model.Channel do
5153
field(:activationToken)
5254
field(:createTime, as: DateTime)
5355
field(:cryptoKeyName)
56+
field(:labels, type: :map)
5457
field(:name)
5558
field(:provider)
5659
field(:pubsubTopic)

clients/eventarc/lib/google_api/eventarc/v1/model/channel_connection.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ defmodule GoogleApi.Eventarc.V1.Model.ChannelConnection do
2424
* `activationToken` (*type:* `String.t`, *default:* `nil`) - Input 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.
2525
* `channel` (*type:* `String.t`, *default:* `nil`) - Required. 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.
2626
* `createTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The creation time.
27+
* `labels` (*type:* `map()`, *default:* `nil`) - Optional. Resource labels.
2728
* `name` (*type:* `String.t`, *default:* `nil`) - Required. The name of the connection.
2829
* `uid` (*type:* `String.t`, *default:* `nil`) - Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
2930
* `updateTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. The last-modified time.
@@ -35,6 +36,7 @@ defmodule GoogleApi.Eventarc.V1.Model.ChannelConnection do
3536
:activationToken => String.t() | nil,
3637
:channel => String.t() | nil,
3738
:createTime => DateTime.t() | nil,
39+
:labels => map() | nil,
3840
:name => String.t() | nil,
3941
:uid => String.t() | nil,
4042
:updateTime => DateTime.t() | nil
@@ -43,6 +45,7 @@ defmodule GoogleApi.Eventarc.V1.Model.ChannelConnection do
4345
field(:activationToken)
4446
field(:channel)
4547
field(:createTime, as: DateTime)
48+
field(:labels, type: :map)
4649
field(:name)
4750
field(:uid)
4851
field(:updateTime, as: DateTime)

0 commit comments

Comments
 (0)