google-apis-eventarc_v1 0.18.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d92937efc5735fcb886264fc01b674e155824c3487fb066f9a4782c1eb5d859b
|
4
|
+
data.tar.gz: 28fc74c8ca698fb0e24b87a7f9936ae094286049d27fee13db7606f26e4af797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d626aff2cd5286e85ef6404453e3fc3a7bcec02a24276bdeb756612d57bf3d992cab97a06a4fe0f548aefb43e225f4f29ef91374d65fc5df85bd01b7ee298173
|
7
|
+
data.tar.gz: e8e8a9be2e87cd00c1669108f48844245e4e4af59b8b0ab92833abe4cdf348d909940ef2e28bdc887dc9fdd2247d4f1da8d046712de3ca8636e10910ad71268a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-eventarc_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-03-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220318
|
6
|
+
|
7
|
+
### v0.20.0 (2022-03-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220301
|
10
|
+
|
11
|
+
### v0.19.0 (2022-02-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220205
|
14
|
+
|
3
15
|
### v0.18.0 (2022-02-03)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220124
|
@@ -204,7 +204,7 @@ module Google
|
|
204
204
|
include Google::Apis::Core::Hashable
|
205
205
|
|
206
206
|
# The Cloud Function resource name. Only Cloud Functions V2 is supported. Format:
|
207
|
-
# projects/`project`/locations/`location`/functions/`function
|
207
|
+
# `projects/`project`/locations/`location`/functions/`function``
|
208
208
|
# Corresponds to the JSON property `cloudFunction`
|
209
209
|
# @return [String]
|
210
210
|
attr_accessor :cloud_function
|
@@ -219,6 +219,13 @@ module Google
|
|
219
219
|
# @return [Google::Apis::EventarcV1::Gke]
|
220
220
|
attr_accessor :gke
|
221
221
|
|
222
|
+
# The resource name of the Workflow whose Executions are triggered by the events.
|
223
|
+
# The Workflow resource should be deployed in the same project as the trigger.
|
224
|
+
# Format: `projects/`project`/locations/`location`/workflows/`workflow``
|
225
|
+
# Corresponds to the JSON property `workflow`
|
226
|
+
# @return [String]
|
227
|
+
attr_accessor :workflow
|
228
|
+
|
222
229
|
def initialize(**args)
|
223
230
|
update!(**args)
|
224
231
|
end
|
@@ -228,14 +235,14 @@ module Google
|
|
228
235
|
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
229
236
|
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
230
237
|
@gke = args[:gke] if args.key?(:gke)
|
238
|
+
@workflow = args[:workflow] if args.key?(:workflow)
|
231
239
|
end
|
232
240
|
end
|
233
241
|
|
234
242
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
235
243
|
# messages in your APIs. A typical example is to use it as the request or the
|
236
244
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
237
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
238
|
-
# `Empty` is empty JSON object ````.
|
245
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
239
246
|
class Empty
|
240
247
|
include Google::Apis::Core::Hashable
|
241
248
|
|
@@ -259,6 +266,14 @@ module Google
|
|
259
266
|
# @return [String]
|
260
267
|
attr_accessor :attribute
|
261
268
|
|
269
|
+
# Optional. The operator used for matching the events with the value of the
|
270
|
+
# filter. If not specified, only events that have an exact key-value pair
|
271
|
+
# specified in the filter are matched. The only allowed value is `match-path-
|
272
|
+
# pattern`.
|
273
|
+
# Corresponds to the JSON property `operator`
|
274
|
+
# @return [String]
|
275
|
+
attr_accessor :operator
|
276
|
+
|
262
277
|
# Required. The value for the attribute.
|
263
278
|
# Corresponds to the JSON property `value`
|
264
279
|
# @return [String]
|
@@ -271,6 +286,7 @@ module Google
|
|
271
286
|
# Update properties of this object
|
272
287
|
def update!(**args)
|
273
288
|
@attribute = args[:attribute] if args.key?(:attribute)
|
289
|
+
@operator = args[:operator] if args.key?(:operator)
|
274
290
|
@value = args[:value] if args.key?(:value)
|
275
291
|
end
|
276
292
|
end
|
@@ -298,10 +314,10 @@ module Google
|
|
298
314
|
attr_accessor :filtering_attributes
|
299
315
|
|
300
316
|
# Output only. The full name of the event type (for example, "google.cloud.
|
301
|
-
# storage.object.v1.finalized"). In the form of `provider-
|
302
|
-
# version`.`verb`. Types MUST be versioned and event schemas are
|
303
|
-
# remain backward compatible within one version. Note that event
|
304
|
-
# and API versions do not need to match.
|
317
|
+
# storage.object.v1.finalized"). In the form of `provider-specific-prefix`.`
|
318
|
+
# resource`.`version`.`verb`. Types MUST be versioned and event schemas are
|
319
|
+
# guaranteed to remain backward compatible within one version. Note that event
|
320
|
+
# type versions and API versions do not need to match.
|
305
321
|
# Corresponds to the JSON property `type`
|
306
322
|
# @return [String]
|
307
323
|
attr_accessor :type
|
@@ -906,8 +922,8 @@ module Google
|
|
906
922
|
# @return [Array<Google::Apis::EventarcV1::EventType>]
|
907
923
|
attr_accessor :event_types
|
908
924
|
|
909
|
-
# Output only. In `projects/`project`/locations/`location`/providers/`
|
910
|
-
#
|
925
|
+
# Output only. In `projects/`project`/locations/`location`/providers/`
|
926
|
+
# provider_id`` format.
|
911
927
|
# Corresponds to the JSON property `name`
|
912
928
|
# @return [String]
|
913
929
|
attr_accessor :name
|
@@ -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.21.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 = "20220318"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -234,6 +234,7 @@ module Google
|
|
234
234
|
|
235
235
|
property :gke, as: 'gke', class: Google::Apis::EventarcV1::Gke, decorator: Google::Apis::EventarcV1::Gke::Representation
|
236
236
|
|
237
|
+
property :workflow, as: 'workflow'
|
237
238
|
end
|
238
239
|
end
|
239
240
|
|
@@ -247,6 +248,7 @@ module Google
|
|
247
248
|
# @private
|
248
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
249
250
|
property :attribute, as: 'attribute'
|
251
|
+
property :operator, as: 'operator'
|
250
252
|
property :value, as: 'value'
|
251
253
|
end
|
252
254
|
end
|
@@ -744,6 +744,10 @@ module Google
|
|
744
744
|
# List triggers.
|
745
745
|
# @param [String] parent
|
746
746
|
# Required. The parent collection to list triggers on.
|
747
|
+
# @param [String] filter
|
748
|
+
# Filter field. Used to filter the Triggers to be listed. Possible filters are
|
749
|
+
# described in https://google.aip.dev/160. For example, using "?filter=
|
750
|
+
# destination:gke" would list only Triggers with a gke destination.
|
747
751
|
# @param [String] order_by
|
748
752
|
# The sorting order of the resources returned. Value should be a comma-separated
|
749
753
|
# list of fields. The default sorting order is ascending. To specify descending
|
@@ -774,11 +778,12 @@ module Google
|
|
774
778
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
775
779
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
776
780
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
777
|
-
def list_project_location_triggers(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
781
|
+
def list_project_location_triggers(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
778
782
|
command = make_simple_command(:get, 'v1/{+parent}/triggers', options)
|
779
783
|
command.response_representation = Google::Apis::EventarcV1::ListTriggersResponse::Representation
|
780
784
|
command.response_class = Google::Apis::EventarcV1::ListTriggersResponse
|
781
785
|
command.params['parent'] = parent unless parent.nil?
|
786
|
+
command.query['filter'] = filter unless filter.nil?
|
782
787
|
command.query['orderBy'] = order_by unless order_by.nil?
|
783
788
|
command.query['pageSize'] = page_size unless page_size.nil?
|
784
789
|
command.query['pageToken'] = page_token unless page_token.nil?
|
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.21.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-03-28 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.21.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: []
|