google-apis-eventarc_v1 0.44.0 → 0.46.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: a7a677de177e89b171c55d9143b77237137b5913fd5d9a10f0043b4dad3ea5c3
4
- data.tar.gz: 0524a534b6b17e7a20abaa6f8033c1ef2875c105d1a71aef05fb622b67e04f17
3
+ metadata.gz: ba7f897ef6754fabff6d46032a18f870542accba9d7bcad06d13db07318d8939
4
+ data.tar.gz: 2620bf0f594dd91f018655a17562bf0afd6b367af468fe3cf252cf0c6bc9355a
5
5
  SHA512:
6
- metadata.gz: c5d9f469cb98419fa6a8a144dc98a85f850bcd53084e0acaf19bcb3730b5d2802ba119c8c254eaf541fa48d0615f1a5af23cb80382eaa674300cef2a1bf8a42b
7
- data.tar.gz: 8fe80323869d6ad6d6a00207c760f10307d88a88dcd30c2db800117129a6bb73064c6342401afe744eb9f36f19492e69100b875e01e7a5fb9296ab534acfc681
6
+ metadata.gz: d0e08fcc7e62d18eab1655cae69a8a655ed4a915fcba60fae1a2c8f148103776c181d01b1e47f17494b4e06afd63c2fc0e2e55bc1bc418a925ac0aa418fd4b3f
7
+ data.tar.gz: 1a048b18c30483a93284988553ace0ecc441db77d72f743f48d39712ce040fcf573a7f0ee08b364c459a94ae6a2117c30359e82a06dda783619fdf54e151913c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.46.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230918
6
+
7
+ ### v0.45.0 (2023-08-20)
8
+
9
+ * Regenerated from discovery document revision 20230811
10
+
3
11
  ### v0.44.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230804
@@ -345,10 +345,11 @@ module Google
345
345
  class Destination
346
346
  include Google::Apis::Core::Hashable
347
347
 
348
- # The Cloud Function resource name. Only Cloud Functions V2 is supported. Format:
349
- # `projects/`project`/locations/`location`/functions/`function`` This is a read-
350
- # only field. Creating Cloud Functions V2 triggers is only supported via the
351
- # Cloud Functions product. An error will be returned if the user sets this value.
348
+ # The Cloud Function resource name. Cloud Functions V1 and V2 are supported.
349
+ # Format: `projects/`project`/locations/`location`/functions/`function`` This is
350
+ # a read-only field. Creating Cloud Functions V1/V2 triggers is only supported
351
+ # via the Cloud Functions product. An error will be returned if the user sets
352
+ # this value.
352
353
  # Corresponds to the JSON property `cloudFunction`
353
354
  # @return [String]
354
355
  attr_accessor :cloud_function
@@ -363,6 +364,17 @@ module Google
363
364
  # @return [Google::Apis::EventarcV1::Gke]
364
365
  attr_accessor :gke
365
366
 
367
+ # Represents a HTTP endpoint destination.
368
+ # Corresponds to the JSON property `httpEndpoint`
369
+ # @return [Google::Apis::EventarcV1::HttpEndpoint]
370
+ attr_accessor :http_endpoint
371
+
372
+ # Represents a network config to be used for destination resolution and
373
+ # connectivity.
374
+ # Corresponds to the JSON property `networkConfig`
375
+ # @return [Google::Apis::EventarcV1::NetworkConfig]
376
+ attr_accessor :network_config
377
+
366
378
  # The resource name of the Workflow whose Executions are triggered by the events.
367
379
  # The Workflow resource should be deployed in the same project as the trigger.
368
380
  # Format: `projects/`project`/locations/`location`/workflows/`workflow``
@@ -379,6 +391,8 @@ module Google
379
391
  @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
380
392
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
381
393
  @gke = args[:gke] if args.key?(:gke)
394
+ @http_endpoint = args[:http_endpoint] if args.key?(:http_endpoint)
395
+ @network_config = args[:network_config] if args.key?(:network_config)
382
396
  @workflow = args[:workflow] if args.key?(:workflow)
383
397
  end
384
398
  end
@@ -800,6 +814,40 @@ module Google
800
814
  end
801
815
  end
802
816
 
817
+ # Represents a HTTP endpoint destination.
818
+ class HttpEndpoint
819
+ include Google::Apis::Core::Hashable
820
+
821
+ # Optional. Forwards DNS requests to the VPC specified by network config to
822
+ # resolve the HTTP endpoint. Default to false. If set to true, Eventarc will
823
+ # create a peering zone to the consumer VPC and forward DNS requests. See: https:
824
+ # //cloud.google.com/dns/docs/zones/zones-overview#peering_zones Enable this if
825
+ # the URI uses an internal DNS name or a private Cloud DNS zone.
826
+ # Corresponds to the JSON property `forwardDnsRequests`
827
+ # @return [Boolean]
828
+ attr_accessor :forward_dns_requests
829
+ alias_method :forward_dns_requests?, :forward_dns_requests
830
+
831
+ # Required. The URI of the HTTP enpdoint. The value must be a RFC2396 URI string.
832
+ # Examples: `http://10.10.10.8:80/route`, `http://svc.us-central1.p.local:8080/`
833
+ # . Only HTTP and HTTPS protocols are supported. The host can be either a static
834
+ # IP addressable from the VPC specified by the network config, or an internal
835
+ # DNS hostname of the service resolvable via Cloud DNS.
836
+ # Corresponds to the JSON property `uri`
837
+ # @return [String]
838
+ attr_accessor :uri
839
+
840
+ def initialize(**args)
841
+ update!(**args)
842
+ end
843
+
844
+ # Update properties of this object
845
+ def update!(**args)
846
+ @forward_dns_requests = args[:forward_dns_requests] if args.key?(:forward_dns_requests)
847
+ @uri = args[:uri] if args.key?(:uri)
848
+ end
849
+ end
850
+
803
851
  # The response message for the `ListChannelConnections` method.
804
852
  class ListChannelConnectionsResponse
805
853
  include Google::Apis::Core::Hashable
@@ -1000,6 +1048,28 @@ module Google
1000
1048
  end
1001
1049
  end
1002
1050
 
1051
+ # Represents a network config to be used for destination resolution and
1052
+ # connectivity.
1053
+ class NetworkConfig
1054
+ include Google::Apis::Core::Hashable
1055
+
1056
+ # Required. Name of the NetworkAttachment that allows access to the destination
1057
+ # VPC. Format: `projects/`PROJECT_ID`/regions/`REGION`/networkAttachments/`
1058
+ # NETWORK_ATTACHMENT_NAME``
1059
+ # Corresponds to the JSON property `networkAttachment`
1060
+ # @return [String]
1061
+ attr_accessor :network_attachment
1062
+
1063
+ def initialize(**args)
1064
+ update!(**args)
1065
+ end
1066
+
1067
+ # Update properties of this object
1068
+ def update!(**args)
1069
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
1070
+ end
1071
+ end
1072
+
1003
1073
  # Represents the metadata of the long-running operation.
1004
1074
  class OperationMetadata
1005
1075
  include Google::Apis::Core::Hashable
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.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 = "20230804"
25
+ REVISION = "20230918"
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
 
@@ -166,6 +172,12 @@ module Google
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class NetworkConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class OperationMetadata
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -297,6 +309,10 @@ module Google
297
309
 
298
310
  property :gke, as: 'gke', class: Google::Apis::EventarcV1::Gke, decorator: Google::Apis::EventarcV1::Gke::Representation
299
311
 
312
+ property :http_endpoint, as: 'httpEndpoint', class: Google::Apis::EventarcV1::HttpEndpoint, decorator: Google::Apis::EventarcV1::HttpEndpoint::Representation
313
+
314
+ property :network_config, as: 'networkConfig', class: Google::Apis::EventarcV1::NetworkConfig, decorator: Google::Apis::EventarcV1::NetworkConfig::Representation
315
+
300
316
  property :workflow, as: 'workflow'
301
317
  end
302
318
  end
@@ -403,6 +419,14 @@ module Google
403
419
  end
404
420
  end
405
421
 
422
+ class HttpEndpoint
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ property :forward_dns_requests, as: 'forwardDnsRequests'
426
+ property :uri, as: 'uri'
427
+ end
428
+ end
429
+
406
430
  class ListChannelConnectionsResponse
407
431
  # @private
408
432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -463,6 +487,13 @@ module Google
463
487
  end
464
488
  end
465
489
 
490
+ class NetworkConfig
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :network_attachment, as: 'networkAttachment'
494
+ end
495
+ end
496
+
466
497
  class OperationMetadata
467
498
  # @private
468
499
  class Representation < Google::Apis::Core::JsonRepresentation
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.44.0
4
+ version: 0.46.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-09-24 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.46.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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Eventarc API V1