google-apis-eventarc_v1 0.24.0 → 0.25.0
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e28626309cced77c053240d3e7feefce304b405daa2eacaf5bbd859b56e37bbf
|
4
|
+
data.tar.gz: 698a36ba61b04ea80d8a2e0561f9b3f49f139d352746dab9f77df0663a19c0a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 837361b3975a5e99d5ab805926ebd6f7910550a5ed584de5a2e3322e8e09525c29d003ca0bd42ef52228f6072a7d56a75147323f5a9f6dc63c997f9bff9feffd
|
7
|
+
data.tar.gz: 40a1d0ab4e960ed86bec040e30997e4a91c406a525107df2974f181b24fded25e5216fe9e45388347a8c0adc269d8ffe88f54e6c8b5b82448ebd3e452938e3b1
|
data/CHANGELOG.md
CHANGED
@@ -35,8 +35,8 @@ module Google
|
|
35
35
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
36
36
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
37
37
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
38
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
39
|
-
# DATA_WRITE logging.
|
38
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
39
|
+
# from DATA_WRITE logging.
|
40
40
|
class AuditConfig
|
41
41
|
include Google::Apis::Core::Hashable
|
42
42
|
|
@@ -164,6 +164,79 @@ module Google
|
|
164
164
|
end
|
165
165
|
end
|
166
166
|
|
167
|
+
# A representation of the Channel resource. A Channel is a resource on which
|
168
|
+
# event providers publish their events. The published events are delivered
|
169
|
+
# through the transport associated with the channel. Note that a channel is
|
170
|
+
# associated with exactly one event provider.
|
171
|
+
class Channel
|
172
|
+
include Google::Apis::Core::Hashable
|
173
|
+
|
174
|
+
# Output only. The activation token for the channel. The token must be used by
|
175
|
+
# the provider to register the channel for publishing.
|
176
|
+
# Corresponds to the JSON property `activationToken`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :activation_token
|
179
|
+
|
180
|
+
# Output only. The creation time.
|
181
|
+
# Corresponds to the JSON property `createTime`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :create_time
|
184
|
+
|
185
|
+
# Required. The resource name of the channel. Must be unique within the location
|
186
|
+
# on the project and must be in `projects/`project`/locations/`location`/
|
187
|
+
# channels/`channel_id`` format.
|
188
|
+
# Corresponds to the JSON property `name`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :name
|
191
|
+
|
192
|
+
# The name of the event provider (e.g. Eventarc SaaS partner) associated with
|
193
|
+
# the channel. This provider will be granted permissions to publish events to
|
194
|
+
# the channel. Format: `projects/`project`/locations/`location`/providers/`
|
195
|
+
# provider_id``.
|
196
|
+
# Corresponds to the JSON property `provider`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :provider
|
199
|
+
|
200
|
+
# Output only. The name of the Pub/Sub topic created and managed by Eventarc
|
201
|
+
# system as a transport for the event delivery. Format: `projects/`project`/
|
202
|
+
# topics/`topic_id``.
|
203
|
+
# Corresponds to the JSON property `pubsubTopic`
|
204
|
+
# @return [String]
|
205
|
+
attr_accessor :pubsub_topic
|
206
|
+
|
207
|
+
# Output only. The state of a Channel.
|
208
|
+
# Corresponds to the JSON property `state`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :state
|
211
|
+
|
212
|
+
# Output only. Server assigned unique identifier for the channel. The value is a
|
213
|
+
# UUID4 string and guaranteed to remain unchanged until the resource is deleted.
|
214
|
+
# Corresponds to the JSON property `uid`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :uid
|
217
|
+
|
218
|
+
# Output only. The last-modified time.
|
219
|
+
# Corresponds to the JSON property `updateTime`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :update_time
|
222
|
+
|
223
|
+
def initialize(**args)
|
224
|
+
update!(**args)
|
225
|
+
end
|
226
|
+
|
227
|
+
# Update properties of this object
|
228
|
+
def update!(**args)
|
229
|
+
@activation_token = args[:activation_token] if args.key?(:activation_token)
|
230
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
231
|
+
@name = args[:name] if args.key?(:name)
|
232
|
+
@provider = args[:provider] if args.key?(:provider)
|
233
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
234
|
+
@state = args[:state] if args.key?(:state)
|
235
|
+
@uid = args[:uid] if args.key?(:uid)
|
236
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
167
240
|
# Represents a Cloud Run destination.
|
168
241
|
class CloudRun
|
169
242
|
include Google::Apis::Core::Hashable
|
@@ -618,6 +691,38 @@ module Google
|
|
618
691
|
end
|
619
692
|
end
|
620
693
|
|
694
|
+
# The response message for the `ListChannels` method.
|
695
|
+
class ListChannelsResponse
|
696
|
+
include Google::Apis::Core::Hashable
|
697
|
+
|
698
|
+
# The requested channels, up to the number specified in `page_size`.
|
699
|
+
# Corresponds to the JSON property `channels`
|
700
|
+
# @return [Array<Google::Apis::EventarcV1::Channel>]
|
701
|
+
attr_accessor :channels
|
702
|
+
|
703
|
+
# A page token that can be sent to ListChannels to request the next page. If
|
704
|
+
# this is empty, then there are no more pages.
|
705
|
+
# Corresponds to the JSON property `nextPageToken`
|
706
|
+
# @return [String]
|
707
|
+
attr_accessor :next_page_token
|
708
|
+
|
709
|
+
# Unreachable resources, if any.
|
710
|
+
# Corresponds to the JSON property `unreachable`
|
711
|
+
# @return [Array<String>]
|
712
|
+
attr_accessor :unreachable
|
713
|
+
|
714
|
+
def initialize(**args)
|
715
|
+
update!(**args)
|
716
|
+
end
|
717
|
+
|
718
|
+
# Update properties of this object
|
719
|
+
def update!(**args)
|
720
|
+
@channels = args[:channels] if args.key?(:channels)
|
721
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
722
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
621
726
|
# The response message for Locations.ListLocations.
|
622
727
|
class ListLocationsResponse
|
623
728
|
include Google::Apis::Core::Hashable
|
@@ -1088,6 +1193,13 @@ module Google
|
|
1088
1193
|
class Trigger
|
1089
1194
|
include Google::Apis::Core::Hashable
|
1090
1195
|
|
1196
|
+
# Optional. The name of the channel associated with the trigger in `projects/`
|
1197
|
+
# project`/locations/`location`/channels/`channel`` format. You must provide a
|
1198
|
+
# channel to receive events from Eventarc SaaS partners.
|
1199
|
+
# Corresponds to the JSON property `channel`
|
1200
|
+
# @return [String]
|
1201
|
+
attr_accessor :channel
|
1202
|
+
|
1091
1203
|
# Output only. The creation time.
|
1092
1204
|
# Corresponds to the JSON property `createTime`
|
1093
1205
|
# @return [String]
|
@@ -1161,6 +1273,7 @@ module Google
|
|
1161
1273
|
|
1162
1274
|
# Update properties of this object
|
1163
1275
|
def update!(**args)
|
1276
|
+
@channel = args[:channel] if args.key?(:channel)
|
1164
1277
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1165
1278
|
@destination = args[:destination] if args.key?(:destination)
|
1166
1279
|
@etag = args[:etag] if args.key?(:etag)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module EventarcV1
|
18
18
|
# Version of the google-apis-eventarc_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220429"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Channel
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class CloudRun
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class ListChannelsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class ListLocationsResponse
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -217,6 +229,20 @@ module Google
|
|
217
229
|
end
|
218
230
|
end
|
219
231
|
|
232
|
+
class Channel
|
233
|
+
# @private
|
234
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
+
property :activation_token, as: 'activationToken'
|
236
|
+
property :create_time, as: 'createTime'
|
237
|
+
property :name, as: 'name'
|
238
|
+
property :provider, as: 'provider'
|
239
|
+
property :pubsub_topic, as: 'pubsubTopic'
|
240
|
+
property :state, as: 'state'
|
241
|
+
property :uid, as: 'uid'
|
242
|
+
property :update_time, as: 'updateTime'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
220
246
|
class CloudRun
|
221
247
|
# @private
|
222
248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -331,6 +357,16 @@ module Google
|
|
331
357
|
end
|
332
358
|
end
|
333
359
|
|
360
|
+
class ListChannelsResponse
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
collection :channels, as: 'channels', class: Google::Apis::EventarcV1::Channel, decorator: Google::Apis::EventarcV1::Channel::Representation
|
364
|
+
|
365
|
+
property :next_page_token, as: 'nextPageToken'
|
366
|
+
collection :unreachable, as: 'unreachable'
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
334
370
|
class ListLocationsResponse
|
335
371
|
# @private
|
336
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -448,6 +484,7 @@ module Google
|
|
448
484
|
class Trigger
|
449
485
|
# @private
|
450
486
|
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :channel, as: 'channel'
|
451
488
|
property :create_time, as: 'createTime'
|
452
489
|
property :destination, as: 'destination', class: Google::Apis::EventarcV1::Destination, decorator: Google::Apis::EventarcV1::Destination::Representation
|
453
490
|
|
@@ -240,6 +240,110 @@ module Google
|
|
240
240
|
execute_or_queue_command(command, &block)
|
241
241
|
end
|
242
242
|
|
243
|
+
# Create a new channel in a particular project and location.
|
244
|
+
# @param [String] parent
|
245
|
+
# Required. The parent collection in which to add this channel.
|
246
|
+
# @param [Google::Apis::EventarcV1::Channel] channel_object
|
247
|
+
# @param [String] channel_id
|
248
|
+
# Required. The user-provided ID to be assigned to the channel.
|
249
|
+
# @param [Boolean] validate_only
|
250
|
+
# Required. If set, validate the request and preview the review, but do not post
|
251
|
+
# it.
|
252
|
+
# @param [String] fields
|
253
|
+
# Selector specifying which fields to include in a partial response.
|
254
|
+
# @param [String] quota_user
|
255
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
256
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
257
|
+
# @param [Google::Apis::RequestOptions] options
|
258
|
+
# Request-specific options
|
259
|
+
#
|
260
|
+
# @yield [result, err] Result & error if block supplied
|
261
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleLongrunningOperation] parsed result object
|
262
|
+
# @yieldparam err [StandardError] error object if request failed
|
263
|
+
#
|
264
|
+
# @return [Google::Apis::EventarcV1::GoogleLongrunningOperation]
|
265
|
+
#
|
266
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
267
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
268
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
269
|
+
def create_project_location_channel(parent, channel_object = nil, channel_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
270
|
+
command = make_simple_command(:post, 'v1/{+parent}/channels', options)
|
271
|
+
command.request_representation = Google::Apis::EventarcV1::Channel::Representation
|
272
|
+
command.request_object = channel_object
|
273
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation
|
274
|
+
command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation
|
275
|
+
command.params['parent'] = parent unless parent.nil?
|
276
|
+
command.query['channelId'] = channel_id unless channel_id.nil?
|
277
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
278
|
+
command.query['fields'] = fields unless fields.nil?
|
279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
+
execute_or_queue_command(command, &block)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Delete a single channel.
|
284
|
+
# @param [String] name
|
285
|
+
# Required. The name of the channel to be deleted.
|
286
|
+
# @param [Boolean] validate_only
|
287
|
+
# Required. If set, validate the request and preview the review, but do not post
|
288
|
+
# it.
|
289
|
+
# @param [String] fields
|
290
|
+
# Selector specifying which fields to include in a partial response.
|
291
|
+
# @param [String] quota_user
|
292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
294
|
+
# @param [Google::Apis::RequestOptions] options
|
295
|
+
# Request-specific options
|
296
|
+
#
|
297
|
+
# @yield [result, err] Result & error if block supplied
|
298
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleLongrunningOperation] parsed result object
|
299
|
+
# @yieldparam err [StandardError] error object if request failed
|
300
|
+
#
|
301
|
+
# @return [Google::Apis::EventarcV1::GoogleLongrunningOperation]
|
302
|
+
#
|
303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
306
|
+
def delete_project_location_channel(name, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
307
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
308
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation
|
309
|
+
command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation
|
310
|
+
command.params['name'] = name unless name.nil?
|
311
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
312
|
+
command.query['fields'] = fields unless fields.nil?
|
313
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
314
|
+
execute_or_queue_command(command, &block)
|
315
|
+
end
|
316
|
+
|
317
|
+
# Get a single Channel.
|
318
|
+
# @param [String] name
|
319
|
+
# Required. The name of the channel to get.
|
320
|
+
# @param [String] fields
|
321
|
+
# Selector specifying which fields to include in a partial response.
|
322
|
+
# @param [String] quota_user
|
323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
325
|
+
# @param [Google::Apis::RequestOptions] options
|
326
|
+
# Request-specific options
|
327
|
+
#
|
328
|
+
# @yield [result, err] Result & error if block supplied
|
329
|
+
# @yieldparam result [Google::Apis::EventarcV1::Channel] parsed result object
|
330
|
+
# @yieldparam err [StandardError] error object if request failed
|
331
|
+
#
|
332
|
+
# @return [Google::Apis::EventarcV1::Channel]
|
333
|
+
#
|
334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
337
|
+
def get_project_location_channel(name, fields: nil, quota_user: nil, options: nil, &block)
|
338
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
339
|
+
command.response_representation = Google::Apis::EventarcV1::Channel::Representation
|
340
|
+
command.response_class = Google::Apis::EventarcV1::Channel
|
341
|
+
command.params['name'] = name unless name.nil?
|
342
|
+
command.query['fields'] = fields unless fields.nil?
|
343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
344
|
+
execute_or_queue_command(command, &block)
|
345
|
+
end
|
346
|
+
|
243
347
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
244
348
|
# resource exists and does not have a policy set.
|
245
349
|
# @param [String] resource
|
@@ -284,6 +388,96 @@ module Google
|
|
284
388
|
execute_or_queue_command(command, &block)
|
285
389
|
end
|
286
390
|
|
391
|
+
# List channels.
|
392
|
+
# @param [String] parent
|
393
|
+
# Required. The parent collection to list channels on.
|
394
|
+
# @param [String] order_by
|
395
|
+
# The sorting order of the resources returned. Value should be a comma-separated
|
396
|
+
# list of fields. The default sorting order is ascending. To specify descending
|
397
|
+
# order for a field, append a `desc` suffix; for example: `name desc, channel_id`
|
398
|
+
# .
|
399
|
+
# @param [Fixnum] page_size
|
400
|
+
# The maximum number of channels to return on each page. Note: The service may
|
401
|
+
# send fewer.
|
402
|
+
# @param [String] page_token
|
403
|
+
# The page token; provide the value from the `next_page_token` field in a
|
404
|
+
# previous `ListChannels` call to retrieve the subsequent page. When paginating,
|
405
|
+
# all other parameters provided to `ListChannels` must match the call that
|
406
|
+
# provided the page token.
|
407
|
+
# @param [String] fields
|
408
|
+
# Selector specifying which fields to include in a partial response.
|
409
|
+
# @param [String] quota_user
|
410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
412
|
+
# @param [Google::Apis::RequestOptions] options
|
413
|
+
# Request-specific options
|
414
|
+
#
|
415
|
+
# @yield [result, err] Result & error if block supplied
|
416
|
+
# @yieldparam result [Google::Apis::EventarcV1::ListChannelsResponse] parsed result object
|
417
|
+
# @yieldparam err [StandardError] error object if request failed
|
418
|
+
#
|
419
|
+
# @return [Google::Apis::EventarcV1::ListChannelsResponse]
|
420
|
+
#
|
421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
424
|
+
def list_project_location_channels(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
425
|
+
command = make_simple_command(:get, 'v1/{+parent}/channels', options)
|
426
|
+
command.response_representation = Google::Apis::EventarcV1::ListChannelsResponse::Representation
|
427
|
+
command.response_class = Google::Apis::EventarcV1::ListChannelsResponse
|
428
|
+
command.params['parent'] = parent unless parent.nil?
|
429
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
430
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
431
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
432
|
+
command.query['fields'] = fields unless fields.nil?
|
433
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
434
|
+
execute_or_queue_command(command, &block)
|
435
|
+
end
|
436
|
+
|
437
|
+
# Update a single channel.
|
438
|
+
# @param [String] name
|
439
|
+
# Required. The resource name of the channel. Must be unique within the location
|
440
|
+
# on the project and must be in `projects/`project`/locations/`location`/
|
441
|
+
# channels/`channel_id`` format.
|
442
|
+
# @param [Google::Apis::EventarcV1::Channel] channel_object
|
443
|
+
# @param [String] update_mask
|
444
|
+
# The fields to be updated; only fields explicitly provided are updated. If no
|
445
|
+
# field mask is provided, all provided fields in the request are updated. To
|
446
|
+
# update all fields, provide a field mask of "*".
|
447
|
+
# @param [Boolean] validate_only
|
448
|
+
# Required. If set, validate the request and preview the review, but do not post
|
449
|
+
# it.
|
450
|
+
# @param [String] fields
|
451
|
+
# Selector specifying which fields to include in a partial response.
|
452
|
+
# @param [String] quota_user
|
453
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
454
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
455
|
+
# @param [Google::Apis::RequestOptions] options
|
456
|
+
# Request-specific options
|
457
|
+
#
|
458
|
+
# @yield [result, err] Result & error if block supplied
|
459
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleLongrunningOperation] parsed result object
|
460
|
+
# @yieldparam err [StandardError] error object if request failed
|
461
|
+
#
|
462
|
+
# @return [Google::Apis::EventarcV1::GoogleLongrunningOperation]
|
463
|
+
#
|
464
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
465
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
|
+
def patch_project_location_channel(name, channel_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
468
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
469
|
+
command.request_representation = Google::Apis::EventarcV1::Channel::Representation
|
470
|
+
command.request_object = channel_object
|
471
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation
|
472
|
+
command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation
|
473
|
+
command.params['name'] = name unless name.nil?
|
474
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
475
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
476
|
+
command.query['fields'] = fields unless fields.nil?
|
477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
478
|
+
execute_or_queue_command(command, &block)
|
479
|
+
end
|
480
|
+
|
287
481
|
# Sets the access control policy on the specified resource. Replaces any
|
288
482
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
289
483
|
# PERMISSION_DENIED` errors.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-eventarc_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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: 2022-05-
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|