google-apis-eventarc_v1 0.39.0 → 0.41.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: 2cf52cac949381f1aca031411d29c1ce29b127d6e0d03649acfe1c1d87147e32
4
- data.tar.gz: 78cf24abba3c0349ee916a80e757a497594c5831a4d0a47591c61505205a63f6
3
+ metadata.gz: c4fe765c2de0b8fce87afd55bef0579bd3daad3a9d4cc15ec9c4dc668aeae3f7
4
+ data.tar.gz: 99b9586df7bbe91db76408dea057047e830f8867504375252651b4df4c0418b3
5
5
  SHA512:
6
- metadata.gz: fcc59f0900ffee761a538bb02dacfc6374ad3ff522e3cd9e2c0180396f177a48607f93a7557900486a7282f50f9da9f21c60c0e8907035a675ec649399834712
7
- data.tar.gz: 904ac19739f928ba70f2757566faea2c8ec823683fc29f08f2e77d2de3f9d61b9364b6f3f06b90dd0be29628742f79ae52c7f18f4be5b38e0d217d635adb4439
6
+ metadata.gz: ebd10a53ddcf4d9c00e384fd3513494c4569254498b410891f71c4403dbe236b69c24acdda34b43e1502c2cc4ba3dbae7b67358d2ac668c0f1307e98a3e102d2
7
+ data.tar.gz: 1d57928249edbb03ebf0c6a9ab87c57a5222dfeb40fcd2a6fbac189dbdee9a64ed3f46b94c06c16e476aeaabaa58ed893cdadd405b3f3ee95ea765027436c993
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.41.0 (2023-06-11)
4
+
5
+ * Regenerated from discovery document revision 20230602
6
+
7
+ ### v0.40.0 (2023-05-14)
8
+
9
+ * Regenerated from discovery document revision 20230505
10
+
3
11
  ### v0.39.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230421
@@ -363,6 +363,11 @@ module Google
363
363
  # @return [Google::Apis::EventarcV1::Gke]
364
364
  attr_accessor :gke
365
365
 
366
+ # Represents a HTTP endpoint destination.
367
+ # Corresponds to the JSON property `httpEndpoint`
368
+ # @return [Google::Apis::EventarcV1::HttpEndpoint]
369
+ attr_accessor :http_endpoint
370
+
366
371
  # The resource name of the Workflow whose Executions are triggered by the events.
367
372
  # The Workflow resource should be deployed in the same project as the trigger.
368
373
  # Format: `projects/`project`/locations/`location`/workflows/`workflow``
@@ -379,6 +384,7 @@ module Google
379
384
  @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
380
385
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
381
386
  @gke = args[:gke] if args.key?(:gke)
387
+ @http_endpoint = args[:http_endpoint] if args.key?(:http_endpoint)
382
388
  @workflow = args[:workflow] if args.key?(:workflow)
383
389
  end
384
390
  end
@@ -404,8 +410,9 @@ module Google
404
410
  include Google::Apis::Core::Hashable
405
411
 
406
412
  # Required. The name of a CloudEvents attribute. Currently, only a subset of
407
- # attributes are supported for filtering. All triggers MUST provide a filter for
408
- # the 'type' attribute.
413
+ # attributes are supported for filtering. You can [retrieve a specific provider'
414
+ # s supported event types](/eventarc/docs/list-providers#describe-provider). All
415
+ # triggers MUST provide a filter for the 'type' attribute.
409
416
  # Corresponds to the JSON property `attribute`
410
417
  # @return [String]
411
418
  attr_accessor :attribute
@@ -799,6 +806,40 @@ module Google
799
806
  end
800
807
  end
801
808
 
809
+ # Represents a HTTP endpoint destination.
810
+ class HttpEndpoint
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # Optional. Forwards DNS requests to the VPC specified by network config to
814
+ # resolve the HTTP endpoint. Default to false. If set to true, Eventarc will
815
+ # create a peering zone to the consumer VPC and forward DNS requests. See: https:
816
+ # //cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if
817
+ # the URI uses an internal DNS name or a private Cloud DNS zone.
818
+ # Corresponds to the JSON property `forwardDnsRequests`
819
+ # @return [Boolean]
820
+ attr_accessor :forward_dns_requests
821
+ alias_method :forward_dns_requests?, :forward_dns_requests
822
+
823
+ # Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string.
824
+ # Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`
825
+ # . Only HTTP and HTTPS protocols are supported. The host can be either a static
826
+ # IP addressable from the VPC specified by the network config, or an internal
827
+ # DNS hostname of the service resolvable via Cloud DNS.
828
+ # Corresponds to the JSON property `uri`
829
+ # @return [String]
830
+ attr_accessor :uri
831
+
832
+ def initialize(**args)
833
+ update!(**args)
834
+ end
835
+
836
+ # Update properties of this object
837
+ def update!(**args)
838
+ @forward_dns_requests = args[:forward_dns_requests] if args.key?(:forward_dns_requests)
839
+ @uri = args[:uri] if args.key?(:uri)
840
+ end
841
+ end
842
+
802
843
  # The response message for the `ListChannelConnections` method.
803
844
  class ListChannelConnectionsResponse
804
845
  include Google::Apis::Core::Hashable
@@ -1414,15 +1455,11 @@ module Google
1414
1455
  attr_accessor :name
1415
1456
 
1416
1457
  # Optional. The IAM service account email associated with the trigger. The
1417
- # service account represents the identity of the trigger. The principal who
1418
- # calls this API must have the `iam.serviceAccounts.actAs` permission in the
1419
- # service account. See https://cloud.google.com/iam/docs/understanding-service-
1420
- # accounts?hl=en#sa_common for more information. For Cloud Run destinations,
1421
- # this service account is used to generate identity tokens when invoking the
1422
- # service. See https://cloud.google.com/run/docs/triggering/pubsub-push#create-
1423
- # service-account for information on how to invoke authenticated Cloud Run
1424
- # services. To create Audit Log triggers, the service account should also have
1425
- # the `roles/eventarc.eventReceiver` IAM role.
1458
+ # service account represents the identity of the trigger. The `iam.
1459
+ # serviceAccounts.actAs` permission must be granted on the service account to
1460
+ # allow a principal to impersonate the service account. For more information,
1461
+ # see the [Roles and permissions](/eventarc/docs/all-roles-permissions) page
1462
+ # specific to the trigger destination.
1426
1463
  # Corresponds to the JSON property `serviceAccount`
1427
1464
  # @return [String]
1428
1465
  attr_accessor :service_account
@@ -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.39.0"
19
+ GEM_VERSION = "0.41.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230421"
25
+ REVISION = "20230602"
26
26
  end
27
27
  end
28
28
  end
@@ -130,6 +130,12 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
+ class HttpEndpoint
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
133
139
  class ListChannelConnectionsResponse
134
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
141
 
@@ -297,6 +303,8 @@ module Google
297
303
 
298
304
  property :gke, as: 'gke', class: Google::Apis::EventarcV1::Gke, decorator: Google::Apis::EventarcV1::Gke::Representation
299
305
 
306
+ property :http_endpoint, as: 'httpEndpoint', class: Google::Apis::EventarcV1::HttpEndpoint, decorator: Google::Apis::EventarcV1::HttpEndpoint::Representation
307
+
300
308
  property :workflow, as: 'workflow'
301
309
  end
302
310
  end
@@ -403,6 +411,14 @@ module Google
403
411
  end
404
412
  end
405
413
 
414
+ class HttpEndpoint
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :forward_dns_requests, as: 'forwardDnsRequests'
418
+ property :uri, as: 'uri'
419
+ end
420
+ end
421
+
406
422
  class ListChannelConnectionsResponse
407
423
  # @private
408
424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -455,7 +455,7 @@ module Google
455
455
  # @param [String] channel_id
456
456
  # Required. The user-provided ID to be assigned to the channel.
457
457
  # @param [Boolean] validate_only
458
- # Required. If set, validate the request and preview the review, but do not post
458
+ # Optional. If set, validate the request and preview the review, but do not post
459
459
  # it.
460
460
  # @param [String] fields
461
461
  # Selector specifying which fields to include in a partial response.
@@ -492,7 +492,7 @@ module Google
492
492
  # @param [String] name
493
493
  # Required. The name of the channel to be deleted.
494
494
  # @param [Boolean] validate_only
495
- # Required. If set, validate the request and preview the review, but do not post
495
+ # Optional. If set, validate the request and preview the review, but do not post
496
496
  # it.
497
497
  # @param [String] fields
498
498
  # Selector specifying which fields to include in a partial response.
@@ -654,7 +654,7 @@ module Google
654
654
  # field mask is provided, all provided fields in the request are updated. To
655
655
  # update all fields, provide a field mask of "*".
656
656
  # @param [Boolean] validate_only
657
- # Required. If set, validate the request and preview the review, but do not post
657
+ # Optional. If set, validate the request and preview the review, but do not post
658
658
  # it.
659
659
  # @param [String] fields
660
660
  # Selector specifying which fields to include in a partial response.
@@ -991,7 +991,7 @@ module Google
991
991
  # @param [String] trigger_id
992
992
  # Required. The user-provided ID to be assigned to the trigger.
993
993
  # @param [Boolean] validate_only
994
- # Required. If set, validate the request and preview the review, but do not post
994
+ # Optional. If set, validate the request and preview the review, but do not post
995
995
  # it.
996
996
  # @param [String] fields
997
997
  # Selector specifying which fields to include in a partial response.
@@ -1034,7 +1034,7 @@ module Google
1034
1034
  # If provided, the trigger will only be deleted if the etag matches the current
1035
1035
  # etag on the resource.
1036
1036
  # @param [Boolean] validate_only
1037
- # Required. If set, validate the request and preview the review, but do not post
1037
+ # Optional. If set, validate the request and preview the review, but do not post
1038
1038
  # it.
1039
1039
  # @param [String] fields
1040
1040
  # Selector specifying which fields to include in a partial response.
@@ -1206,7 +1206,7 @@ module Google
1206
1206
  # field mask is provided, all provided fields in the request are updated. To
1207
1207
  # update all fields, provide a field mask of "*".
1208
1208
  # @param [Boolean] validate_only
1209
- # Required. If set, validate the request and preview the review, but do not post
1209
+ # Optional. If set, validate the request and preview the review, but do not post
1210
1210
  # it.
1211
1211
  # @param [String] fields
1212
1212
  # 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.39.0
4
+ version: 0.41.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: 2023-04-30 00:00:00.000000000 Z
11
+ date: 2023-06-11 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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.41.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: []