google-apis-eventarc_v1 0.25.0 → 0.26.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: c496b41ace0eb43e00a0c2e837f0276d045413d33f4937139629c7d26d43a89d
|
4
|
+
data.tar.gz: '009de418982ff6a3171d5800726cd878d8412f3bcd87c7053441383957f44ab2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b969fba225d60682b245af8ce2bab266343a33caa4e3da300ecbd9d486743bf1e93c7358e3b7245bf2b25fecdd901a0e35032635e82c27e72243db75b3cdf9
|
7
|
+
data.tar.gz: 2a5fce10c78d268ab55386d773f50b525c4e25cfb2a09f3a30bc1e66f210fb1b2ed6fef317af61e957b98101b7b3f2d5c6478d2ef8d534112293770240355d49
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-eventarc_v1
|
2
2
|
|
3
|
+
### v0.26.0 (2022-06-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220607
|
6
|
+
* Regenerated using generator version 0.5.0
|
7
|
+
|
3
8
|
### v0.25.0 (2022-05-08)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220429
|
@@ -237,6 +237,62 @@ module Google
|
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
240
|
+
# A representation of the ChannelConnection resource. A ChannelConnection is a
|
241
|
+
# resource which event providers create during the activation process to
|
242
|
+
# establish a connection between the provider and the subscriber channel.
|
243
|
+
class ChannelConnection
|
244
|
+
include Google::Apis::Core::Hashable
|
245
|
+
|
246
|
+
# Input only. Activation token for the channel. The token will be used during
|
247
|
+
# the creation of ChannelConnection to bind the channel with the provider
|
248
|
+
# project. This field will not be stored in the provider resource.
|
249
|
+
# Corresponds to the JSON property `activationToken`
|
250
|
+
# @return [String]
|
251
|
+
attr_accessor :activation_token
|
252
|
+
|
253
|
+
# Required. The name of the connected subscriber Channel. This is a weak
|
254
|
+
# reference to avoid cross project and cross accounts references. This must be
|
255
|
+
# in `projects/`project`/location/`location`/channels/`channel_id`` format.
|
256
|
+
# Corresponds to the JSON property `channel`
|
257
|
+
# @return [String]
|
258
|
+
attr_accessor :channel
|
259
|
+
|
260
|
+
# Output only. The creation time.
|
261
|
+
# Corresponds to the JSON property `createTime`
|
262
|
+
# @return [String]
|
263
|
+
attr_accessor :create_time
|
264
|
+
|
265
|
+
# Required. The name of the connection.
|
266
|
+
# Corresponds to the JSON property `name`
|
267
|
+
# @return [String]
|
268
|
+
attr_accessor :name
|
269
|
+
|
270
|
+
# Output only. / Output only. Server assigned ID of the resource. The server
|
271
|
+
# guarantees uniqueness and immutability until deleted.
|
272
|
+
# Corresponds to the JSON property `uid`
|
273
|
+
# @return [String]
|
274
|
+
attr_accessor :uid
|
275
|
+
|
276
|
+
# Output only. The last-modified time.
|
277
|
+
# Corresponds to the JSON property `updateTime`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :update_time
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@activation_token = args[:activation_token] if args.key?(:activation_token)
|
288
|
+
@channel = args[:channel] if args.key?(:channel)
|
289
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
290
|
+
@name = args[:name] if args.key?(:name)
|
291
|
+
@uid = args[:uid] if args.key?(:uid)
|
292
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
240
296
|
# Represents a Cloud Run destination.
|
241
297
|
class CloudRun
|
242
298
|
include Google::Apis::Core::Hashable
|
@@ -691,6 +747,38 @@ module Google
|
|
691
747
|
end
|
692
748
|
end
|
693
749
|
|
750
|
+
# The response message for the `ListChannelConnections` method.
|
751
|
+
class ListChannelConnectionsResponse
|
752
|
+
include Google::Apis::Core::Hashable
|
753
|
+
|
754
|
+
# The requested channel connections, up to the number specified in `page_size`.
|
755
|
+
# Corresponds to the JSON property `channelConnections`
|
756
|
+
# @return [Array<Google::Apis::EventarcV1::ChannelConnection>]
|
757
|
+
attr_accessor :channel_connections
|
758
|
+
|
759
|
+
# A page token that can be sent to ListChannelConnections to request the next
|
760
|
+
# page. If this is empty, then there are no more pages.
|
761
|
+
# Corresponds to the JSON property `nextPageToken`
|
762
|
+
# @return [String]
|
763
|
+
attr_accessor :next_page_token
|
764
|
+
|
765
|
+
# Unreachable resources, if any.
|
766
|
+
# Corresponds to the JSON property `unreachable`
|
767
|
+
# @return [Array<String>]
|
768
|
+
attr_accessor :unreachable
|
769
|
+
|
770
|
+
def initialize(**args)
|
771
|
+
update!(**args)
|
772
|
+
end
|
773
|
+
|
774
|
+
# Update properties of this object
|
775
|
+
def update!(**args)
|
776
|
+
@channel_connections = args[:channel_connections] if args.key?(:channel_connections)
|
777
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
778
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
694
782
|
# The response message for the `ListChannels` method.
|
695
783
|
class ListChannelsResponse
|
696
784
|
include Google::Apis::Core::Hashable
|
@@ -1129,6 +1217,31 @@ module Google
|
|
1129
1217
|
end
|
1130
1218
|
end
|
1131
1219
|
|
1220
|
+
# A condition that is part of the trigger state computation.
|
1221
|
+
class StateCondition
|
1222
|
+
include Google::Apis::Core::Hashable
|
1223
|
+
|
1224
|
+
# The canonical code of the condition.
|
1225
|
+
# Corresponds to the JSON property `code`
|
1226
|
+
# @return [String]
|
1227
|
+
attr_accessor :code
|
1228
|
+
|
1229
|
+
# Human-readable message.
|
1230
|
+
# Corresponds to the JSON property `message`
|
1231
|
+
# @return [String]
|
1232
|
+
attr_accessor :message
|
1233
|
+
|
1234
|
+
def initialize(**args)
|
1235
|
+
update!(**args)
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
# Update properties of this object
|
1239
|
+
def update!(**args)
|
1240
|
+
@code = args[:code] if args.key?(:code)
|
1241
|
+
@message = args[:message] if args.key?(:message)
|
1242
|
+
end
|
1243
|
+
end
|
1244
|
+
|
1132
1245
|
# Request message for `TestIamPermissions` method.
|
1133
1246
|
class TestIamPermissionsRequest
|
1134
1247
|
include Google::Apis::Core::Hashable
|
@@ -1200,6 +1313,11 @@ module Google
|
|
1200
1313
|
# @return [String]
|
1201
1314
|
attr_accessor :channel
|
1202
1315
|
|
1316
|
+
# Output only. The reason(s) why a trigger is in FAILED state.
|
1317
|
+
# Corresponds to the JSON property `conditions`
|
1318
|
+
# @return [Hash<String,Google::Apis::EventarcV1::StateCondition>]
|
1319
|
+
attr_accessor :conditions
|
1320
|
+
|
1203
1321
|
# Output only. The creation time.
|
1204
1322
|
# Corresponds to the JSON property `createTime`
|
1205
1323
|
# @return [String]
|
@@ -1274,6 +1392,7 @@ module Google
|
|
1274
1392
|
# Update properties of this object
|
1275
1393
|
def update!(**args)
|
1276
1394
|
@channel = args[:channel] if args.key?(:channel)
|
1395
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
1277
1396
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1278
1397
|
@destination = args[:destination] if args.key?(:destination)
|
1279
1398
|
@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.26.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class ChannelConnection
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class CloudRun
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class ListChannelConnectionsResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class ListChannelsResponse
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -178,6 +190,12 @@ module Google
|
|
178
190
|
include Google::Apis::Core::JsonObjectSupport
|
179
191
|
end
|
180
192
|
|
193
|
+
class StateCondition
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
181
199
|
class TestIamPermissionsRequest
|
182
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
201
|
|
@@ -243,6 +261,18 @@ module Google
|
|
243
261
|
end
|
244
262
|
end
|
245
263
|
|
264
|
+
class ChannelConnection
|
265
|
+
# @private
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
267
|
+
property :activation_token, as: 'activationToken'
|
268
|
+
property :channel, as: 'channel'
|
269
|
+
property :create_time, as: 'createTime'
|
270
|
+
property :name, as: 'name'
|
271
|
+
property :uid, as: 'uid'
|
272
|
+
property :update_time, as: 'updateTime'
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
246
276
|
class CloudRun
|
247
277
|
# @private
|
248
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -357,6 +387,16 @@ module Google
|
|
357
387
|
end
|
358
388
|
end
|
359
389
|
|
390
|
+
class ListChannelConnectionsResponse
|
391
|
+
# @private
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
393
|
+
collection :channel_connections, as: 'channelConnections', class: Google::Apis::EventarcV1::ChannelConnection, decorator: Google::Apis::EventarcV1::ChannelConnection::Representation
|
394
|
+
|
395
|
+
property :next_page_token, as: 'nextPageToken'
|
396
|
+
collection :unreachable, as: 'unreachable'
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
360
400
|
class ListChannelsResponse
|
361
401
|
# @private
|
362
402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -459,6 +499,14 @@ module Google
|
|
459
499
|
end
|
460
500
|
end
|
461
501
|
|
502
|
+
class StateCondition
|
503
|
+
# @private
|
504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
+
property :code, as: 'code'
|
506
|
+
property :message, as: 'message'
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
462
510
|
class TestIamPermissionsRequest
|
463
511
|
# @private
|
464
512
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -485,6 +533,8 @@ module Google
|
|
485
533
|
# @private
|
486
534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
487
535
|
property :channel, as: 'channel'
|
536
|
+
hash :conditions, as: 'conditions', class: Google::Apis::EventarcV1::StateCondition, decorator: Google::Apis::EventarcV1::StateCondition::Representation
|
537
|
+
|
488
538
|
property :create_time, as: 'createTime'
|
489
539
|
property :destination, as: 'destination', class: Google::Apis::EventarcV1::Destination, decorator: Google::Apis::EventarcV1::Destination::Representation
|
490
540
|
|
@@ -122,11 +122,108 @@ module Google
|
|
122
122
|
execute_or_queue_command(command, &block)
|
123
123
|
end
|
124
124
|
|
125
|
+
# Create a new ChannelConnection in a particular project and location.
|
126
|
+
# @param [String] parent
|
127
|
+
# Required. The parent collection in which to add this channel connection.
|
128
|
+
# @param [Google::Apis::EventarcV1::ChannelConnection] channel_connection_object
|
129
|
+
# @param [String] channel_connection_id
|
130
|
+
# Required. The user-provided ID to be assigned to the channel connection.
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleLongrunningOperation] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::EventarcV1::GoogleLongrunningOperation]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def create_project_location_channel_connection(parent, channel_connection_object = nil, channel_connection_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:post, 'v1/{+parent}/channelConnections', options)
|
150
|
+
command.request_representation = Google::Apis::EventarcV1::ChannelConnection::Representation
|
151
|
+
command.request_object = channel_connection_object
|
152
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation
|
153
|
+
command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation
|
154
|
+
command.params['parent'] = parent unless parent.nil?
|
155
|
+
command.query['channelConnectionId'] = channel_connection_id unless channel_connection_id.nil?
|
156
|
+
command.query['fields'] = fields unless fields.nil?
|
157
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
+
execute_or_queue_command(command, &block)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Delete a single ChannelConnection.
|
162
|
+
# @param [String] name
|
163
|
+
# Required. The name of the channel connection to delete.
|
164
|
+
# @param [String] fields
|
165
|
+
# Selector specifying which fields to include in a partial response.
|
166
|
+
# @param [String] quota_user
|
167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
169
|
+
# @param [Google::Apis::RequestOptions] options
|
170
|
+
# Request-specific options
|
171
|
+
#
|
172
|
+
# @yield [result, err] Result & error if block supplied
|
173
|
+
# @yieldparam result [Google::Apis::EventarcV1::GoogleLongrunningOperation] parsed result object
|
174
|
+
# @yieldparam err [StandardError] error object if request failed
|
175
|
+
#
|
176
|
+
# @return [Google::Apis::EventarcV1::GoogleLongrunningOperation]
|
177
|
+
#
|
178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
181
|
+
def delete_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
182
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
183
|
+
command.response_representation = Google::Apis::EventarcV1::GoogleLongrunningOperation::Representation
|
184
|
+
command.response_class = Google::Apis::EventarcV1::GoogleLongrunningOperation
|
185
|
+
command.params['name'] = name unless name.nil?
|
186
|
+
command.query['fields'] = fields unless fields.nil?
|
187
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
188
|
+
execute_or_queue_command(command, &block)
|
189
|
+
end
|
190
|
+
|
191
|
+
# Get a single ChannelConnection.
|
192
|
+
# @param [String] name
|
193
|
+
# Required. The name of the channel connection to get.
|
194
|
+
# @param [String] fields
|
195
|
+
# Selector specifying which fields to include in a partial response.
|
196
|
+
# @param [String] quota_user
|
197
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
198
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
199
|
+
# @param [Google::Apis::RequestOptions] options
|
200
|
+
# Request-specific options
|
201
|
+
#
|
202
|
+
# @yield [result, err] Result & error if block supplied
|
203
|
+
# @yieldparam result [Google::Apis::EventarcV1::ChannelConnection] parsed result object
|
204
|
+
# @yieldparam err [StandardError] error object if request failed
|
205
|
+
#
|
206
|
+
# @return [Google::Apis::EventarcV1::ChannelConnection]
|
207
|
+
#
|
208
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
209
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
210
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
211
|
+
def get_project_location_channel_connection(name, fields: nil, quota_user: nil, options: nil, &block)
|
212
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
213
|
+
command.response_representation = Google::Apis::EventarcV1::ChannelConnection::Representation
|
214
|
+
command.response_class = Google::Apis::EventarcV1::ChannelConnection
|
215
|
+
command.params['name'] = name unless name.nil?
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
|
+
execute_or_queue_command(command, &block)
|
219
|
+
end
|
220
|
+
|
125
221
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
126
222
|
# resource exists and does not have a policy set.
|
127
223
|
# @param [String] resource
|
128
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
129
|
-
#
|
224
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
225
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
226
|
+
# appropriate value for this field.
|
130
227
|
# @param [Fixnum] options_requested_policy_version
|
131
228
|
# Optional. The maximum policy version that will be used to format the policy.
|
132
229
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -166,12 +263,53 @@ module Google
|
|
166
263
|
execute_or_queue_command(command, &block)
|
167
264
|
end
|
168
265
|
|
266
|
+
# List channel connections.
|
267
|
+
# @param [String] parent
|
268
|
+
# Required. The parent collection from which to list channel connections.
|
269
|
+
# @param [Fixnum] page_size
|
270
|
+
# The maximum number of channel connections to return on each page. Note: The
|
271
|
+
# service may send fewer responses.
|
272
|
+
# @param [String] page_token
|
273
|
+
# The page token; provide the value from the `next_page_token` field in a
|
274
|
+
# previous `ListChannelConnections` call to retrieve the subsequent page. When
|
275
|
+
# paginating, all other parameters provided to `ListChannelConnetions` match the
|
276
|
+
# call that provided the page token.
|
277
|
+
# @param [String] fields
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
279
|
+
# @param [String] quota_user
|
280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
282
|
+
# @param [Google::Apis::RequestOptions] options
|
283
|
+
# Request-specific options
|
284
|
+
#
|
285
|
+
# @yield [result, err] Result & error if block supplied
|
286
|
+
# @yieldparam result [Google::Apis::EventarcV1::ListChannelConnectionsResponse] parsed result object
|
287
|
+
# @yieldparam err [StandardError] error object if request failed
|
288
|
+
#
|
289
|
+
# @return [Google::Apis::EventarcV1::ListChannelConnectionsResponse]
|
290
|
+
#
|
291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
294
|
+
def list_project_location_channel_connections(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
295
|
+
command = make_simple_command(:get, 'v1/{+parent}/channelConnections', options)
|
296
|
+
command.response_representation = Google::Apis::EventarcV1::ListChannelConnectionsResponse::Representation
|
297
|
+
command.response_class = Google::Apis::EventarcV1::ListChannelConnectionsResponse
|
298
|
+
command.params['parent'] = parent unless parent.nil?
|
299
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
300
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
301
|
+
command.query['fields'] = fields unless fields.nil?
|
302
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
303
|
+
execute_or_queue_command(command, &block)
|
304
|
+
end
|
305
|
+
|
169
306
|
# Sets the access control policy on the specified resource. Replaces any
|
170
307
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
171
308
|
# PERMISSION_DENIED` errors.
|
172
309
|
# @param [String] resource
|
173
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
174
|
-
#
|
310
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
311
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
312
|
+
# appropriate value for this field.
|
175
313
|
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
|
176
314
|
# @param [String] fields
|
177
315
|
# Selector specifying which fields to include in a partial response.
|
@@ -208,8 +346,9 @@ module Google
|
|
208
346
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
209
347
|
# This operation may "fail open" without warning.
|
210
348
|
# @param [String] resource
|
211
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
212
|
-
#
|
349
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
350
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
351
|
+
# appropriate value for this field.
|
213
352
|
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
214
353
|
# @param [String] fields
|
215
354
|
# Selector specifying which fields to include in a partial response.
|
@@ -347,8 +486,9 @@ module Google
|
|
347
486
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
348
487
|
# resource exists and does not have a policy set.
|
349
488
|
# @param [String] resource
|
350
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
351
|
-
#
|
489
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
490
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
491
|
+
# appropriate value for this field.
|
352
492
|
# @param [Fixnum] options_requested_policy_version
|
353
493
|
# Optional. The maximum policy version that will be used to format the policy.
|
354
494
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -482,8 +622,9 @@ module Google
|
|
482
622
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
483
623
|
# PERMISSION_DENIED` errors.
|
484
624
|
# @param [String] resource
|
485
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
486
|
-
#
|
625
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
626
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
627
|
+
# appropriate value for this field.
|
487
628
|
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
|
488
629
|
# @param [String] fields
|
489
630
|
# Selector specifying which fields to include in a partial response.
|
@@ -520,8 +661,9 @@ module Google
|
|
520
661
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
521
662
|
# This operation may "fail open" without warning.
|
522
663
|
# @param [String] resource
|
523
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
524
|
-
#
|
664
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
665
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
666
|
+
# appropriate value for this field.
|
525
667
|
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
526
668
|
# @param [String] fields
|
527
669
|
# Selector specifying which fields to include in a partial response.
|
@@ -894,8 +1036,9 @@ module Google
|
|
894
1036
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
895
1037
|
# resource exists and does not have a policy set.
|
896
1038
|
# @param [String] resource
|
897
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
898
|
-
#
|
1039
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1040
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1041
|
+
# appropriate value for this field.
|
899
1042
|
# @param [Fixnum] options_requested_policy_version
|
900
1043
|
# Optional. The maximum policy version that will be used to format the policy.
|
901
1044
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -1038,8 +1181,9 @@ module Google
|
|
1038
1181
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1039
1182
|
# PERMISSION_DENIED` errors.
|
1040
1183
|
# @param [String] resource
|
1041
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
1042
|
-
#
|
1184
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1185
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1186
|
+
# appropriate value for this field.
|
1043
1187
|
# @param [Google::Apis::EventarcV1::SetIamPolicyRequest] set_iam_policy_request_object
|
1044
1188
|
# @param [String] fields
|
1045
1189
|
# Selector specifying which fields to include in a partial response.
|
@@ -1076,8 +1220,9 @@ module Google
|
|
1076
1220
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
1077
1221
|
# This operation may "fail open" without warning.
|
1078
1222
|
# @param [String] resource
|
1079
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
1080
|
-
#
|
1223
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1224
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1225
|
+
# appropriate value for this field.
|
1081
1226
|
# @param [Google::Apis::EventarcV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1082
1227
|
# @param [String] fields
|
1083
1228
|
# Selector specifying which fields to include in a partial response.
|
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.26.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-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.26.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Eventarc API V1
|