google-cloud-eventarc-v1 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/bindings_override.rb +96 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
- data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +47 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +2565 -174
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +112 -0
- data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +2420 -180
- data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +1335 -88
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +35 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +50 -0
- data/lib/google/cloud/eventarc/v1/logging_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/message_bus_pb.rb +49 -0
- data/lib/google/cloud/eventarc/v1/network_config_pb.rb +45 -0
- data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +65 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +4 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +51 -10
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +5 -1
- data/proto_docs/google/cloud/eventarc/v1/discovery.rb +8 -7
- data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +522 -8
- data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +95 -0
- data/proto_docs/google/cloud/eventarc/v1/logging_config.rb +78 -0
- data/proto_docs/google/cloud/eventarc/v1/message_bus.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/network_config.rb +37 -0
- data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +583 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +76 -35
- metadata +16 -3
@@ -24,13 +24,14 @@ module Google
|
|
24
24
|
# A representation of the trigger resource.
|
25
25
|
# @!attribute [rw] name
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The resource name of the trigger. Must be unique within the
|
28
|
-
# project and must be in
|
27
|
+
# Required. The resource name of the trigger. Must be unique within the
|
28
|
+
# location of the project and must be in
|
29
29
|
# `projects/{project}/locations/{location}/triggers/{trigger}` format.
|
30
30
|
# @!attribute [r] uid
|
31
31
|
# @return [::String]
|
32
|
-
# Output only. Server-assigned unique identifier for the trigger. The value
|
33
|
-
# string and guaranteed to remain unchanged until the resource is
|
32
|
+
# Output only. Server-assigned unique identifier for the trigger. The value
|
33
|
+
# is a UUID4 string and guaranteed to remain unchanged until the resource is
|
34
|
+
# deleted.
|
34
35
|
# @!attribute [r] create_time
|
35
36
|
# @return [::Google::Protobuf::Timestamp]
|
36
37
|
# Output only. The creation time.
|
@@ -39,36 +40,32 @@ module Google
|
|
39
40
|
# Output only. The last-modified time.
|
40
41
|
# @!attribute [rw] event_filters
|
41
42
|
# @return [::Array<::Google::Cloud::Eventarc::V1::EventFilter>]
|
42
|
-
# Required. Unordered list. The list of filters that applies to event
|
43
|
-
# match all the provided filters are sent to the
|
43
|
+
# Required. Unordered list. The list of filters that applies to event
|
44
|
+
# attributes. Only events that match all the provided filters are sent to the
|
45
|
+
# destination.
|
44
46
|
# @!attribute [rw] service_account
|
45
47
|
# @return [::String]
|
46
48
|
# Optional. The IAM service account email associated with the trigger. The
|
47
49
|
# service account represents the identity of the trigger.
|
48
50
|
#
|
49
|
-
# The
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# For Cloud Run destinations, this service account is used to generate
|
55
|
-
# identity tokens when invoking the service. See
|
56
|
-
# https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account
|
57
|
-
# for information on how to invoke authenticated Cloud Run services.
|
58
|
-
# To create Audit Log triggers, the service account should also
|
59
|
-
# have the `roles/eventarc.eventReceiver` IAM role.
|
51
|
+
# The `iam.serviceAccounts.actAs` permission must be granted on the service
|
52
|
+
# account to allow a principal to impersonate the service account. For more
|
53
|
+
# information, see the
|
54
|
+
# [Roles and permissions](/eventarc/docs/all-roles-permissions) page specific
|
55
|
+
# to the trigger destination.
|
60
56
|
# @!attribute [rw] destination
|
61
57
|
# @return [::Google::Cloud::Eventarc::V1::Destination]
|
62
58
|
# Required. Destination specifies where the events should be sent to.
|
63
59
|
# @!attribute [rw] transport
|
64
60
|
# @return [::Google::Cloud::Eventarc::V1::Transport]
|
65
|
-
# Optional. To deliver messages, Eventarc might use other
|
61
|
+
# Optional. To deliver messages, Eventarc might use other Google Cloud
|
66
62
|
# products as a transport intermediary. This field contains a reference to
|
67
63
|
# that transport intermediary. This information can be used for debugging
|
68
64
|
# purposes.
|
69
65
|
# @!attribute [rw] labels
|
70
66
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
71
|
-
# Optional. User labels attached to the triggers that can be used to group
|
67
|
+
# Optional. User labels attached to the triggers that can be used to group
|
68
|
+
# resources.
|
72
69
|
# @!attribute [rw] channel
|
73
70
|
# @return [::String]
|
74
71
|
# Optional. The name of the channel associated with the trigger in
|
@@ -77,10 +74,19 @@ module Google
|
|
77
74
|
# @!attribute [r] conditions
|
78
75
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Eventarc::V1::StateCondition}]
|
79
76
|
# Output only. The reason(s) why a trigger is in FAILED state.
|
77
|
+
# @!attribute [rw] event_data_content_type
|
78
|
+
# @return [::String]
|
79
|
+
# Optional. EventDataContentType specifies the type of payload in MIME
|
80
|
+
# format that is expected from the CloudEvent data field. This is set to
|
81
|
+
# `application/json` if the value is not defined.
|
82
|
+
# @!attribute [r] satisfies_pzs
|
83
|
+
# @return [::Boolean]
|
84
|
+
# Output only. Whether or not this Trigger satisfies the requirements of
|
85
|
+
# physical zone separation
|
80
86
|
# @!attribute [r] etag
|
81
87
|
# @return [::String]
|
82
|
-
# Output only. This checksum is computed by the server based on the value of
|
83
|
-
# fields, and might be sent only on create requests to ensure that the
|
88
|
+
# Output only. This checksum is computed by the server based on the value of
|
89
|
+
# other fields, and might be sent only on create requests to ensure that the
|
84
90
|
# client has an up-to-date value before proceeding.
|
85
91
|
class Trigger
|
86
92
|
include ::Google::Protobuf::MessageExts
|
@@ -108,8 +114,10 @@ module Google
|
|
108
114
|
# Filters events based on exact matches on the CloudEvents attributes.
|
109
115
|
# @!attribute [rw] attribute
|
110
116
|
# @return [::String]
|
111
|
-
# Required. The name of a CloudEvents attribute. Currently, only a subset of
|
112
|
-
# are supported for filtering.
|
117
|
+
# Required. The name of a CloudEvents attribute. Currently, only a subset of
|
118
|
+
# attributes are supported for filtering. You can [retrieve a specific
|
119
|
+
# provider's supported event
|
120
|
+
# types](/eventarc/docs/list-providers#describe-provider).
|
113
121
|
#
|
114
122
|
# All triggers MUST provide a filter for the 'type' attribute.
|
115
123
|
# @!attribute [rw] value
|
@@ -119,8 +127,9 @@ module Google
|
|
119
127
|
# @return [::String]
|
120
128
|
# Optional. The operator used for matching the events with the value of the
|
121
129
|
# filter. If not specified, only events that have an exact key-value pair
|
122
|
-
# specified in the filter are matched. The
|
123
|
-
# `match-path-pattern`.
|
130
|
+
# specified in the filter are matched. The allowed values are `path_pattern`
|
131
|
+
# and `match-path-pattern`. `path_pattern` is only allowed for GCFv1
|
132
|
+
# triggers.
|
124
133
|
class EventFilter
|
125
134
|
include ::Google::Protobuf::MessageExts
|
126
135
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -145,8 +154,13 @@ module Google
|
|
145
154
|
# should be in the same project as the trigger.
|
146
155
|
# @!attribute [rw] cloud_function
|
147
156
|
# @return [::String]
|
148
|
-
# The Cloud Function resource name.
|
157
|
+
# The Cloud Function resource name. Cloud Functions V1 and V2 are
|
158
|
+
# supported.
|
149
159
|
# Format: `projects/{project}/locations/{location}/functions/{function}`
|
160
|
+
#
|
161
|
+
# This is a read-only field. Creating Cloud Functions V1/V2 triggers is
|
162
|
+
# only supported via the Cloud Functions product. An error will be returned
|
163
|
+
# if the user sets this value.
|
150
164
|
# @!attribute [rw] gke
|
151
165
|
# @return [::Google::Cloud::Eventarc::V1::GKE]
|
152
166
|
# A GKE service capable of receiving events. The service should be running
|
@@ -157,6 +171,14 @@ module Google
|
|
157
171
|
# the events. The Workflow resource should be deployed in the same project
|
158
172
|
# as the trigger.
|
159
173
|
# Format: `projects/{project}/locations/{location}/workflows/{workflow}`
|
174
|
+
# @!attribute [rw] http_endpoint
|
175
|
+
# @return [::Google::Cloud::Eventarc::V1::HttpEndpoint]
|
176
|
+
# An HTTP endpoint destination described by an URI.
|
177
|
+
# @!attribute [rw] network_config
|
178
|
+
# @return [::Google::Cloud::Eventarc::V1::NetworkConfig]
|
179
|
+
# Optional. Network config is used to configure how Eventarc resolves and
|
180
|
+
# connect to a destination.
|
181
|
+
# This should only be used with HttpEndpoint destination type.
|
160
182
|
class Destination
|
161
183
|
include ::Google::Protobuf::MessageExts
|
162
184
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -183,7 +205,8 @@ module Google
|
|
183
205
|
# can be addressed.
|
184
206
|
# @!attribute [rw] path
|
185
207
|
# @return [::String]
|
186
|
-
# Optional. The relative path on the Cloud Run service the events should be
|
208
|
+
# Optional. The relative path on the Cloud Run service the events should be
|
209
|
+
# sent to.
|
187
210
|
#
|
188
211
|
# The value must conform to the definition of a URI path segment (section 3.3
|
189
212
|
# of RFC2396). Examples: "/route", "route", "route/subroute".
|
@@ -198,13 +221,14 @@ module Google
|
|
198
221
|
# Represents a GKE destination.
|
199
222
|
# @!attribute [rw] cluster
|
200
223
|
# @return [::String]
|
201
|
-
# Required. The name of the cluster the GKE service is running in. The
|
202
|
-
# running in the same project as the trigger being created.
|
224
|
+
# Required. The name of the cluster the GKE service is running in. The
|
225
|
+
# cluster must be running in the same project as the trigger being created.
|
203
226
|
# @!attribute [rw] location
|
204
227
|
# @return [::String]
|
205
|
-
# Required. The name of the Google Compute Engine in which the cluster
|
206
|
-
# can either be compute zone (for example, us-central1-a) for
|
207
|
-
# clusters or region (for example, us-central1) for regional
|
228
|
+
# Required. The name of the Google Compute Engine in which the cluster
|
229
|
+
# resides, which can either be compute zone (for example, us-central1-a) for
|
230
|
+
# the zonal clusters or region (for example, us-central1) for regional
|
231
|
+
# clusters.
|
208
232
|
# @!attribute [rw] namespace
|
209
233
|
# @return [::String]
|
210
234
|
# Required. The namespace the GKE service is running in.
|
@@ -213,7 +237,8 @@ module Google
|
|
213
237
|
# Required. Name of the GKE service.
|
214
238
|
# @!attribute [rw] path
|
215
239
|
# @return [::String]
|
216
|
-
# Optional. The relative path on the GKE service the events should be sent
|
240
|
+
# Optional. The relative path on the GKE service the events should be sent
|
241
|
+
# to.
|
217
242
|
#
|
218
243
|
# The value must conform to the definition of a URI path segment (section 3.3
|
219
244
|
# of RFC2396). Examples: "/route", "route", "route/subroute".
|
@@ -234,13 +259,29 @@ module Google
|
|
234
259
|
# here is not deleted by Eventarc at trigger deletion.
|
235
260
|
# @!attribute [r] subscription
|
236
261
|
# @return [::String]
|
237
|
-
# Output only. The name of the Pub/Sub subscription created and managed by
|
238
|
-
# as a transport for the event delivery. Format:
|
262
|
+
# Output only. The name of the Pub/Sub subscription created and managed by
|
263
|
+
# Eventarc as a transport for the event delivery. Format:
|
239
264
|
# `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
240
265
|
class Pubsub
|
241
266
|
include ::Google::Protobuf::MessageExts
|
242
267
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
243
268
|
end
|
269
|
+
|
270
|
+
# Represents a HTTP endpoint destination.
|
271
|
+
# @!attribute [rw] uri
|
272
|
+
# @return [::String]
|
273
|
+
# Required. The URI of the HTTP enpdoint.
|
274
|
+
#
|
275
|
+
# The value must be a RFC2396 URI string.
|
276
|
+
# Examples: `http://10.10.10.8:80/route`,
|
277
|
+
# `http://svc.us-central1.p.local:8080/`.
|
278
|
+
# Only HTTP and HTTPS protocols are supported. The host can be either a
|
279
|
+
# static IP addressable from the VPC specified by the network config, or
|
280
|
+
# an internal DNS hostname of the service resolvable via Cloud DNS.
|
281
|
+
class HttpEndpoint
|
282
|
+
include ::Google::Protobuf::MessageExts
|
283
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
284
|
+
end
|
244
285
|
end
|
245
286
|
end
|
246
287
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-eventarc-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -105,6 +105,7 @@ files:
|
|
105
105
|
- lib/google/cloud/eventarc/v1/channel_connection_pb.rb
|
106
106
|
- lib/google/cloud/eventarc/v1/channel_pb.rb
|
107
107
|
- lib/google/cloud/eventarc/v1/discovery_pb.rb
|
108
|
+
- lib/google/cloud/eventarc/v1/enrollment_pb.rb
|
108
109
|
- lib/google/cloud/eventarc/v1/eventarc.rb
|
109
110
|
- lib/google/cloud/eventarc/v1/eventarc/client.rb
|
110
111
|
- lib/google/cloud/eventarc/v1/eventarc/credentials.rb
|
@@ -116,20 +117,32 @@ files:
|
|
116
117
|
- lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb
|
117
118
|
- lib/google/cloud/eventarc/v1/eventarc_pb.rb
|
118
119
|
- lib/google/cloud/eventarc/v1/eventarc_services_pb.rb
|
120
|
+
- lib/google/cloud/eventarc/v1/google_api_source_pb.rb
|
119
121
|
- lib/google/cloud/eventarc/v1/google_channel_config_pb.rb
|
122
|
+
- lib/google/cloud/eventarc/v1/logging_config_pb.rb
|
123
|
+
- lib/google/cloud/eventarc/v1/message_bus_pb.rb
|
124
|
+
- lib/google/cloud/eventarc/v1/network_config_pb.rb
|
125
|
+
- lib/google/cloud/eventarc/v1/pipeline_pb.rb
|
120
126
|
- lib/google/cloud/eventarc/v1/rest.rb
|
121
127
|
- lib/google/cloud/eventarc/v1/trigger_pb.rb
|
122
128
|
- lib/google/cloud/eventarc/v1/version.rb
|
123
129
|
- proto_docs/README.md
|
124
130
|
- proto_docs/google/api/client.rb
|
125
131
|
- proto_docs/google/api/field_behavior.rb
|
132
|
+
- proto_docs/google/api/field_info.rb
|
126
133
|
- proto_docs/google/api/launch_stage.rb
|
127
134
|
- proto_docs/google/api/resource.rb
|
128
135
|
- proto_docs/google/cloud/eventarc/v1/channel.rb
|
129
136
|
- proto_docs/google/cloud/eventarc/v1/channel_connection.rb
|
130
137
|
- proto_docs/google/cloud/eventarc/v1/discovery.rb
|
138
|
+
- proto_docs/google/cloud/eventarc/v1/enrollment.rb
|
131
139
|
- proto_docs/google/cloud/eventarc/v1/eventarc.rb
|
140
|
+
- proto_docs/google/cloud/eventarc/v1/google_api_source.rb
|
132
141
|
- proto_docs/google/cloud/eventarc/v1/google_channel_config.rb
|
142
|
+
- proto_docs/google/cloud/eventarc/v1/logging_config.rb
|
143
|
+
- proto_docs/google/cloud/eventarc/v1/message_bus.rb
|
144
|
+
- proto_docs/google/cloud/eventarc/v1/network_config.rb
|
145
|
+
- proto_docs/google/cloud/eventarc/v1/pipeline.rb
|
133
146
|
- proto_docs/google/cloud/eventarc/v1/trigger.rb
|
134
147
|
- proto_docs/google/longrunning/operations.rb
|
135
148
|
- proto_docs/google/protobuf/any.rb
|
@@ -159,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
159
172
|
- !ruby/object:Gem::Version
|
160
173
|
version: '0'
|
161
174
|
requirements: []
|
162
|
-
rubygems_version: 3.5.
|
175
|
+
rubygems_version: 3.5.22
|
163
176
|
signing_key:
|
164
177
|
specification_version: 4
|
165
178
|
summary: Build event-driven applications on Google Cloud Platform.
|