google-cloud-eventarc-v1 0.1.3 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +1 -1
- data/lib/google/cloud/eventarc/v1/channel_connection_pb.rb +31 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +935 -8
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +57 -0
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +65 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +18 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +14 -2
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/lib/google/cloud/eventarc/v1.rb +2 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/channel_connection.rb +59 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +181 -9
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +78 -35
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +7 -3
@@ -47,16 +47,16 @@ module Google
|
|
47
47
|
# the call that provided the page token.
|
48
48
|
# @!attribute [rw] order_by
|
49
49
|
# @return [::String]
|
50
|
-
# The sorting order of the resources returned. Value should be a
|
51
|
-
# separated list of fields. The default sorting
|
52
|
-
# descending order for a field, append a `
|
50
|
+
# The sorting order of the resources returned. Value should be a
|
51
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
52
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
53
53
|
# `name desc, trigger_id`.
|
54
54
|
class ListTriggersRequest
|
55
55
|
include ::Google::Protobuf::MessageExts
|
56
56
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
57
57
|
end
|
58
58
|
|
59
|
-
# The response message for the ListTriggers method.
|
59
|
+
# The response message for the `ListTriggers` method.
|
60
60
|
# @!attribute [rw] triggers
|
61
61
|
# @return [::Array<::Google::Cloud::Eventarc::V1::Trigger>]
|
62
62
|
# The requested triggers, up to the number specified in `page_size`.
|
@@ -84,7 +84,7 @@ module Google
|
|
84
84
|
# Required. The user-provided ID to be assigned to the trigger.
|
85
85
|
# @!attribute [rw] validate_only
|
86
86
|
# @return [::Boolean]
|
87
|
-
# Required. If set, validate the request and preview the review, but do not
|
87
|
+
# Required. If set, validate the request and preview the review, but do not
|
88
88
|
# post it.
|
89
89
|
class CreateTriggerRequest
|
90
90
|
include ::Google::Protobuf::MessageExts
|
@@ -97,8 +97,8 @@ module Google
|
|
97
97
|
# The trigger to be updated.
|
98
98
|
# @!attribute [rw] update_mask
|
99
99
|
# @return [::Google::Protobuf::FieldMask]
|
100
|
-
# The fields to be updated; only fields explicitly provided
|
101
|
-
# If no field mask is provided, all provided fields in the request
|
100
|
+
# The fields to be updated; only fields explicitly provided are updated.
|
101
|
+
# If no field mask is provided, all provided fields in the request are
|
102
102
|
# updated. To update all fields, provide a field mask of "*".
|
103
103
|
# @!attribute [rw] allow_missing
|
104
104
|
# @return [::Boolean]
|
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
# created. In this situation, `update_mask` is ignored.
|
107
107
|
# @!attribute [rw] validate_only
|
108
108
|
# @return [::Boolean]
|
109
|
-
# Required. If set, validate the request and preview the review, but do not
|
109
|
+
# Required. If set, validate the request and preview the review, but do not
|
110
110
|
# post it.
|
111
111
|
class UpdateTriggerRequest
|
112
112
|
include ::Google::Protobuf::MessageExts
|
@@ -127,13 +127,185 @@ module Google
|
|
127
127
|
# but no action will be taken on the server.
|
128
128
|
# @!attribute [rw] validate_only
|
129
129
|
# @return [::Boolean]
|
130
|
-
# Required. If set, validate the request and preview the review, but do not
|
130
|
+
# Required. If set, validate the request and preview the review, but do not
|
131
131
|
# post it.
|
132
132
|
class DeleteTriggerRequest
|
133
133
|
include ::Google::Protobuf::MessageExts
|
134
134
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
135
135
|
end
|
136
136
|
|
137
|
+
# The request message for the GetChannel method.
|
138
|
+
# @!attribute [rw] name
|
139
|
+
# @return [::String]
|
140
|
+
# Required. The name of the channel to get.
|
141
|
+
class GetChannelRequest
|
142
|
+
include ::Google::Protobuf::MessageExts
|
143
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
144
|
+
end
|
145
|
+
|
146
|
+
# The request message for the ListChannels method.
|
147
|
+
# @!attribute [rw] parent
|
148
|
+
# @return [::String]
|
149
|
+
# Required. The parent collection to list channels on.
|
150
|
+
# @!attribute [rw] page_size
|
151
|
+
# @return [::Integer]
|
152
|
+
# The maximum number of channels to return on each page.
|
153
|
+
# Note: The service may send fewer.
|
154
|
+
# @!attribute [rw] page_token
|
155
|
+
# @return [::String]
|
156
|
+
# The page token; provide the value from the `next_page_token` field in a
|
157
|
+
# previous `ListChannels` call to retrieve the subsequent page.
|
158
|
+
#
|
159
|
+
# When paginating, all other parameters provided to `ListChannels` must
|
160
|
+
# match the call that provided the page token.
|
161
|
+
# @!attribute [rw] order_by
|
162
|
+
# @return [::String]
|
163
|
+
# The sorting order of the resources returned. Value should be a
|
164
|
+
# comma-separated list of fields. The default sorting order is ascending. To
|
165
|
+
# specify descending order for a field, append a `desc` suffix; for example:
|
166
|
+
# `name desc, channel_id`.
|
167
|
+
class ListChannelsRequest
|
168
|
+
include ::Google::Protobuf::MessageExts
|
169
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
170
|
+
end
|
171
|
+
|
172
|
+
# The response message for the `ListChannels` method.
|
173
|
+
# @!attribute [rw] channels
|
174
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::Channel>]
|
175
|
+
# The requested channels, up to the number specified in `page_size`.
|
176
|
+
# @!attribute [rw] next_page_token
|
177
|
+
# @return [::String]
|
178
|
+
# A page token that can be sent to ListChannels to request the next page.
|
179
|
+
# If this is empty, then there are no more pages.
|
180
|
+
# @!attribute [rw] unreachable
|
181
|
+
# @return [::Array<::String>]
|
182
|
+
# Unreachable resources, if any.
|
183
|
+
class ListChannelsResponse
|
184
|
+
include ::Google::Protobuf::MessageExts
|
185
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
186
|
+
end
|
187
|
+
|
188
|
+
# The request message for the CreateChannel method.
|
189
|
+
# @!attribute [rw] parent
|
190
|
+
# @return [::String]
|
191
|
+
# Required. The parent collection in which to add this channel.
|
192
|
+
# @!attribute [rw] channel
|
193
|
+
# @return [::Google::Cloud::Eventarc::V1::Channel]
|
194
|
+
# Required. The channel to create.
|
195
|
+
# @!attribute [rw] channel_id
|
196
|
+
# @return [::String]
|
197
|
+
# Required. The user-provided ID to be assigned to the channel.
|
198
|
+
# @!attribute [rw] validate_only
|
199
|
+
# @return [::Boolean]
|
200
|
+
# Required. If set, validate the request and preview the review, but do not
|
201
|
+
# post it.
|
202
|
+
class CreateChannelRequest
|
203
|
+
include ::Google::Protobuf::MessageExts
|
204
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
205
|
+
end
|
206
|
+
|
207
|
+
# The request message for the UpdateChannel method.
|
208
|
+
# @!attribute [rw] channel
|
209
|
+
# @return [::Google::Cloud::Eventarc::V1::Channel]
|
210
|
+
# The channel to be updated.
|
211
|
+
# @!attribute [rw] update_mask
|
212
|
+
# @return [::Google::Protobuf::FieldMask]
|
213
|
+
# The fields to be updated; only fields explicitly provided are updated.
|
214
|
+
# If no field mask is provided, all provided fields in the request are
|
215
|
+
# updated. To update all fields, provide a field mask of "*".
|
216
|
+
# @!attribute [rw] validate_only
|
217
|
+
# @return [::Boolean]
|
218
|
+
# Required. If set, validate the request and preview the review, but do not
|
219
|
+
# post it.
|
220
|
+
class UpdateChannelRequest
|
221
|
+
include ::Google::Protobuf::MessageExts
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
223
|
+
end
|
224
|
+
|
225
|
+
# The request message for the DeleteChannel method.
|
226
|
+
# @!attribute [rw] name
|
227
|
+
# @return [::String]
|
228
|
+
# Required. The name of the channel to be deleted.
|
229
|
+
# @!attribute [rw] validate_only
|
230
|
+
# @return [::Boolean]
|
231
|
+
# Required. If set, validate the request and preview the review, but do not
|
232
|
+
# post it.
|
233
|
+
class DeleteChannelRequest
|
234
|
+
include ::Google::Protobuf::MessageExts
|
235
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
236
|
+
end
|
237
|
+
|
238
|
+
# The request message for the GetChannelConnection method.
|
239
|
+
# @!attribute [rw] name
|
240
|
+
# @return [::String]
|
241
|
+
# Required. The name of the channel connection to get.
|
242
|
+
class GetChannelConnectionRequest
|
243
|
+
include ::Google::Protobuf::MessageExts
|
244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
end
|
246
|
+
|
247
|
+
# The request message for the ListChannelConnections method.
|
248
|
+
# @!attribute [rw] parent
|
249
|
+
# @return [::String]
|
250
|
+
# Required. The parent collection from which to list channel connections.
|
251
|
+
# @!attribute [rw] page_size
|
252
|
+
# @return [::Integer]
|
253
|
+
# The maximum number of channel connections to return on each page.
|
254
|
+
# Note: The service may send fewer responses.
|
255
|
+
# @!attribute [rw] page_token
|
256
|
+
# @return [::String]
|
257
|
+
# The page token; provide the value from the `next_page_token` field in a
|
258
|
+
# previous `ListChannelConnections` call to retrieve the subsequent page.
|
259
|
+
#
|
260
|
+
# When paginating, all other parameters provided to `ListChannelConnetions`
|
261
|
+
# match the call that provided the page token.
|
262
|
+
class ListChannelConnectionsRequest
|
263
|
+
include ::Google::Protobuf::MessageExts
|
264
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
265
|
+
end
|
266
|
+
|
267
|
+
# The response message for the `ListChannelConnections` method.
|
268
|
+
# @!attribute [rw] channel_connections
|
269
|
+
# @return [::Array<::Google::Cloud::Eventarc::V1::ChannelConnection>]
|
270
|
+
# The requested channel connections, up to the number specified in
|
271
|
+
# `page_size`.
|
272
|
+
# @!attribute [rw] next_page_token
|
273
|
+
# @return [::String]
|
274
|
+
# A page token that can be sent to ListChannelConnections to request the
|
275
|
+
# next page.
|
276
|
+
# If this is empty, then there are no more pages.
|
277
|
+
# @!attribute [rw] unreachable
|
278
|
+
# @return [::Array<::String>]
|
279
|
+
# Unreachable resources, if any.
|
280
|
+
class ListChannelConnectionsResponse
|
281
|
+
include ::Google::Protobuf::MessageExts
|
282
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
283
|
+
end
|
284
|
+
|
285
|
+
# The request message for the CreateChannelConnection method.
|
286
|
+
# @!attribute [rw] parent
|
287
|
+
# @return [::String]
|
288
|
+
# Required. The parent collection in which to add this channel connection.
|
289
|
+
# @!attribute [rw] channel_connection
|
290
|
+
# @return [::Google::Cloud::Eventarc::V1::ChannelConnection]
|
291
|
+
# Required. Channel connection to create.
|
292
|
+
# @!attribute [rw] channel_connection_id
|
293
|
+
# @return [::String]
|
294
|
+
# Required. The user-provided ID to be assigned to the channel connection.
|
295
|
+
class CreateChannelConnectionRequest
|
296
|
+
include ::Google::Protobuf::MessageExts
|
297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
|
+
end
|
299
|
+
|
300
|
+
# The request message for the DeleteChannelConnection method.
|
301
|
+
# @!attribute [rw] name
|
302
|
+
# @return [::String]
|
303
|
+
# Required. The name of the channel connection to delete.
|
304
|
+
class DeleteChannelConnectionRequest
|
305
|
+
include ::Google::Protobuf::MessageExts
|
306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
307
|
+
end
|
308
|
+
|
137
309
|
# Represents the metadata of the long-running operation.
|
138
310
|
# @!attribute [r] create_time
|
139
311
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -24,14 +24,13 @@ 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
|
-
#
|
27
|
+
# Required. The resource name of the trigger. Must be unique within the location of the
|
28
|
+
# 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
|
33
|
-
#
|
34
|
-
# deleted.
|
32
|
+
# Output only. Server-assigned unique identifier for the trigger. The value is a UUID4
|
33
|
+
# string and guaranteed to remain unchanged until the resource is deleted.
|
35
34
|
# @!attribute [r] create_time
|
36
35
|
# @return [::Google::Protobuf::Timestamp]
|
37
36
|
# Output only. The creation time.
|
@@ -40,14 +39,14 @@ module Google
|
|
40
39
|
# Output only. The last-modified time.
|
41
40
|
# @!attribute [rw] event_filters
|
42
41
|
# @return [::Array<::Google::Cloud::Eventarc::V1::EventFilter>]
|
43
|
-
# Required. null The list of filters that applies to event attributes. Only
|
44
|
-
#
|
42
|
+
# Required. null The list of filters that applies to event attributes. Only events that
|
43
|
+
# match all the provided filters are sent to the destination.
|
45
44
|
# @!attribute [rw] service_account
|
46
45
|
# @return [::String]
|
47
46
|
# Optional. The IAM service account email associated with the trigger. The
|
48
47
|
# service account represents the identity of the trigger.
|
49
48
|
#
|
50
|
-
# The principal who calls this API must have `iam.serviceAccounts.actAs`
|
49
|
+
# The principal who calls this API must have the `iam.serviceAccounts.actAs`
|
51
50
|
# permission in the service account. See
|
52
51
|
# https://cloud.google.com/iam/docs/understanding-service-accounts?hl=en#sa_common
|
53
52
|
# for more information.
|
@@ -56,26 +55,30 @@ module Google
|
|
56
55
|
# identity tokens when invoking the service. See
|
57
56
|
# https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-account
|
58
57
|
# for information on how to invoke authenticated Cloud Run services.
|
59
|
-
#
|
60
|
-
# have `roles/eventarc.eventReceiver` IAM role.
|
58
|
+
# To create Audit Log triggers, the service account should also
|
59
|
+
# have the `roles/eventarc.eventReceiver` IAM role.
|
61
60
|
# @!attribute [rw] destination
|
62
61
|
# @return [::Google::Cloud::Eventarc::V1::Destination]
|
63
62
|
# Required. Destination specifies where the events should be sent to.
|
64
63
|
# @!attribute [rw] transport
|
65
64
|
# @return [::Google::Cloud::Eventarc::V1::Transport]
|
66
|
-
# Optional.
|
67
|
-
# products as transport intermediary. This field contains a reference to
|
68
|
-
# transport intermediary. This information can be used for debugging
|
65
|
+
# Optional. To deliver messages, Eventarc might use other GCP
|
66
|
+
# products as a transport intermediary. This field contains a reference to
|
67
|
+
# that transport intermediary. This information can be used for debugging
|
69
68
|
# purposes.
|
70
69
|
# @!attribute [rw] labels
|
71
70
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
72
|
-
# Optional. User labels attached to the triggers that can be used to group
|
73
|
-
#
|
71
|
+
# Optional. User labels attached to the triggers that can be used to group resources.
|
72
|
+
# @!attribute [rw] channel
|
73
|
+
# @return [::String]
|
74
|
+
# Optional. The name of the channel associated with the trigger in
|
75
|
+
# `projects/{project}/locations/{location}/channels/{channel}` format.
|
76
|
+
# You must provide a channel to receive events from Eventarc SaaS partners.
|
74
77
|
# @!attribute [r] etag
|
75
78
|
# @return [::String]
|
76
|
-
# Output only. This checksum is computed by the server based on the value of
|
77
|
-
#
|
78
|
-
# has an up-to-date value before proceeding.
|
79
|
+
# Output only. This checksum is computed by the server based on the value of other
|
80
|
+
# fields, and might be sent only on create requests to ensure that the
|
81
|
+
# client has an up-to-date value before proceeding.
|
79
82
|
class Trigger
|
80
83
|
include ::Google::Protobuf::MessageExts
|
81
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -93,13 +96,19 @@ module Google
|
|
93
96
|
# Filters events based on exact matches on the CloudEvents attributes.
|
94
97
|
# @!attribute [rw] attribute
|
95
98
|
# @return [::String]
|
96
|
-
# Required. The name of a CloudEvents attribute. Currently, only a subset of
|
97
|
-
#
|
99
|
+
# Required. The name of a CloudEvents attribute. Currently, only a subset of attributes
|
100
|
+
# are supported for filtering.
|
98
101
|
#
|
99
102
|
# All triggers MUST provide a filter for the 'type' attribute.
|
100
103
|
# @!attribute [rw] value
|
101
104
|
# @return [::String]
|
102
105
|
# Required. The value for the attribute.
|
106
|
+
# @!attribute [rw] operator
|
107
|
+
# @return [::String]
|
108
|
+
# Optional. The operator used for matching the events with the value of the
|
109
|
+
# filter. If not specified, only events that have an exact key-value pair
|
110
|
+
# specified in the filter are matched. The only allowed value is
|
111
|
+
# `match-path-pattern`.
|
103
112
|
class EventFilter
|
104
113
|
include ::Google::Protobuf::MessageExts
|
105
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,18 +117,26 @@ module Google
|
|
108
117
|
# Represents a target of an invocation over HTTP.
|
109
118
|
# @!attribute [rw] cloud_run
|
110
119
|
# @return [::Google::Cloud::Eventarc::V1::CloudRun]
|
111
|
-
# Cloud Run fully-managed
|
112
|
-
# should be
|
120
|
+
# Cloud Run fully-managed resource that receives the events. The resource
|
121
|
+
# should be in the same project as the trigger.
|
122
|
+
# @!attribute [rw] cloud_function
|
123
|
+
# @return [::String]
|
124
|
+
# The Cloud Function resource name. Only Cloud Functions V2 is supported.
|
125
|
+
# Format: `projects/{project}/locations/{location}/functions/{function}`
|
126
|
+
# @!attribute [rw] gke
|
127
|
+
# @return [::Google::Cloud::Eventarc::V1::GKE]
|
128
|
+
# A GKE service capable of receiving events. The service should be running
|
129
|
+
# in the same project as the trigger.
|
113
130
|
class Destination
|
114
131
|
include ::Google::Protobuf::MessageExts
|
115
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
133
|
end
|
117
134
|
|
118
|
-
# Represents the transport intermediaries created for the trigger
|
135
|
+
# Represents the transport intermediaries created for the trigger to
|
119
136
|
# deliver events.
|
120
137
|
# @!attribute [rw] pubsub
|
121
138
|
# @return [::Google::Cloud::Eventarc::V1::Pubsub]
|
122
|
-
# The Pub/Sub topic and subscription used by Eventarc as
|
139
|
+
# The Pub/Sub topic and subscription used by Eventarc as a transport
|
123
140
|
# intermediary.
|
124
141
|
class Transport
|
125
142
|
include ::Google::Protobuf::MessageExts
|
@@ -132,14 +149,13 @@ module Google
|
|
132
149
|
# Required. The name of the Cloud Run service being addressed. See
|
133
150
|
# https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services.
|
134
151
|
#
|
135
|
-
# Only services located in the same project
|
152
|
+
# Only services located in the same project as the trigger object
|
136
153
|
# can be addressed.
|
137
154
|
# @!attribute [rw] path
|
138
155
|
# @return [::String]
|
139
|
-
# Optional. The relative path on the Cloud Run service the events should be
|
140
|
-
# sent to.
|
156
|
+
# Optional. The relative path on the Cloud Run service the events should be sent to.
|
141
157
|
#
|
142
|
-
# The value must conform to the definition of URI path segment (section 3.3
|
158
|
+
# The value must conform to the definition of a URI path segment (section 3.3
|
143
159
|
# of RFC2396). Examples: "/route", "route", "route/subroute".
|
144
160
|
# @!attribute [rw] region
|
145
161
|
# @return [::String]
|
@@ -149,20 +165,47 @@ module Google
|
|
149
165
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
150
166
|
end
|
151
167
|
|
168
|
+
# Represents a GKE destination.
|
169
|
+
# @!attribute [rw] cluster
|
170
|
+
# @return [::String]
|
171
|
+
# Required. The name of the cluster the GKE service is running in. The cluster must be
|
172
|
+
# running in the same project as the trigger being created.
|
173
|
+
# @!attribute [rw] location
|
174
|
+
# @return [::String]
|
175
|
+
# Required. The name of the Google Compute Engine in which the cluster resides, which
|
176
|
+
# can either be compute zone (for example, us-central1-a) for the zonal
|
177
|
+
# clusters or region (for example, us-central1) for regional clusters.
|
178
|
+
# @!attribute [rw] namespace
|
179
|
+
# @return [::String]
|
180
|
+
# Required. The namespace the GKE service is running in.
|
181
|
+
# @!attribute [rw] service
|
182
|
+
# @return [::String]
|
183
|
+
# Required. Name of the GKE service.
|
184
|
+
# @!attribute [rw] path
|
185
|
+
# @return [::String]
|
186
|
+
# Optional. The relative path on the GKE service the events should be sent to.
|
187
|
+
#
|
188
|
+
# The value must conform to the definition of a URI path segment (section 3.3
|
189
|
+
# of RFC2396). Examples: "/route", "route", "route/subroute".
|
190
|
+
class GKE
|
191
|
+
include ::Google::Protobuf::MessageExts
|
192
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
193
|
+
end
|
194
|
+
|
152
195
|
# Represents a Pub/Sub transport.
|
153
196
|
# @!attribute [rw] topic
|
154
197
|
# @return [::String]
|
155
|
-
# Optional. The name of the Pub/Sub topic created and managed by Eventarc
|
156
|
-
#
|
198
|
+
# Optional. The name of the Pub/Sub topic created and managed by Eventarc as
|
199
|
+
# a transport for the event delivery. Format:
|
157
200
|
# `projects/{PROJECT_ID}/topics/{TOPIC_NAME}`.
|
158
201
|
#
|
159
|
-
# You
|
160
|
-
# `google.cloud.pubsub.topic.v1.messagePublished
|
161
|
-
# here
|
202
|
+
# You can set an existing topic for triggers of the type
|
203
|
+
# `google.cloud.pubsub.topic.v1.messagePublished`. The topic you provide
|
204
|
+
# here is not deleted by Eventarc at trigger deletion.
|
162
205
|
# @!attribute [r] subscription
|
163
206
|
# @return [::String]
|
164
|
-
# Output only. The name of the Pub/Sub subscription created and managed by
|
165
|
-
#
|
207
|
+
# Output only. The name of the Pub/Sub subscription created and managed by Eventarc
|
208
|
+
# as a transport for the event delivery. Format:
|
166
209
|
# `projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}`.
|
167
210
|
class Pubsub
|
168
211
|
include ::Google::Protobuf::MessageExts
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
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: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -173,6 +173,8 @@ files:
|
|
173
173
|
- README.md
|
174
174
|
- lib/google-cloud-eventarc-v1.rb
|
175
175
|
- lib/google/cloud/eventarc/v1.rb
|
176
|
+
- lib/google/cloud/eventarc/v1/channel_connection_pb.rb
|
177
|
+
- lib/google/cloud/eventarc/v1/channel_pb.rb
|
176
178
|
- lib/google/cloud/eventarc/v1/eventarc.rb
|
177
179
|
- lib/google/cloud/eventarc/v1/eventarc/client.rb
|
178
180
|
- lib/google/cloud/eventarc/v1/eventarc/credentials.rb
|
@@ -185,6 +187,8 @@ files:
|
|
185
187
|
- proto_docs/README.md
|
186
188
|
- proto_docs/google/api/field_behavior.rb
|
187
189
|
- proto_docs/google/api/resource.rb
|
190
|
+
- proto_docs/google/cloud/eventarc/v1/channel.rb
|
191
|
+
- proto_docs/google/cloud/eventarc/v1/channel_connection.rb
|
188
192
|
- proto_docs/google/cloud/eventarc/v1/eventarc.rb
|
189
193
|
- proto_docs/google/cloud/eventarc/v1/trigger.rb
|
190
194
|
- proto_docs/google/longrunning/operations.rb
|
@@ -213,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
217
|
- !ruby/object:Gem::Version
|
214
218
|
version: '0'
|
215
219
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
220
|
+
rubygems_version: 3.3.5
|
217
221
|
signing_key:
|
218
222
|
specification_version: 4
|
219
223
|
summary: API Client library for the Eventarc V1 API
|