google-apis-eventarc_v1 0.45.0 → 0.46.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: f4a6aaa00495eba3b613cb7e80dbe8aa32b35fba87d27adb91b7d19fc978b29c
4
- data.tar.gz: 598e7aa87f7c7fc986130ed6968ef674ef403b9f38c566b457500ba49ee9dbef
3
+ metadata.gz: ba7f897ef6754fabff6d46032a18f870542accba9d7bcad06d13db07318d8939
4
+ data.tar.gz: 2620bf0f594dd91f018655a17562bf0afd6b367af468fe3cf252cf0c6bc9355a
5
5
  SHA512:
6
- metadata.gz: a6b7f19a3f629f2936bd9c6d572473971bfe6a3c680e180e1d2fe7850658a026ba21123dae188ca3b939f89299631edb82602f3687e90466cbaaf323ac9e4d51
7
- data.tar.gz: abc5c122f46368fabfc4fdf577d2eb3808bd05ad1be54de729c8858263be5a2071af51eabe94e92a97d5e1e02b0265b2df10314d43954a8b28150d4607062cc9
6
+ metadata.gz: d0e08fcc7e62d18eab1655cae69a8a655ed4a915fcba60fae1a2c8f148103776c181d01b1e47f17494b4e06afd63c2fc0e2e55bc1bc418a925ac0aa418fd4b3f
7
+ data.tar.gz: 1a048b18c30483a93284988553ace0ecc441db77d72f743f48d39712ce040fcf573a7f0ee08b364c459a94ae6a2117c30359e82a06dda783619fdf54e151913c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.45.0 (2023-08-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20230811
@@ -364,6 +364,17 @@ module Google
364
364
  # @return [Google::Apis::EventarcV1::Gke]
365
365
  attr_accessor :gke
366
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
+
367
378
  # The resource name of the Workflow whose Executions are triggered by the events.
368
379
  # The Workflow resource should be deployed in the same project as the trigger.
369
380
  # Format: `projects/`project`/locations/`location`/workflows/`workflow``
@@ -380,6 +391,8 @@ module Google
380
391
  @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
381
392
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
382
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)
383
396
  @workflow = args[:workflow] if args.key?(:workflow)
384
397
  end
385
398
  end
@@ -801,6 +814,40 @@ module Google
801
814
  end
802
815
  end
803
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
+
804
851
  # The response message for the `ListChannelConnections` method.
805
852
  class ListChannelConnectionsResponse
806
853
  include Google::Apis::Core::Hashable
@@ -1001,6 +1048,28 @@ module Google
1001
1048
  end
1002
1049
  end
1003
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
+
1004
1073
  # Represents the metadata of the long-running operation.
1005
1074
  class OperationMetadata
1006
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.45.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 = "20230811"
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.45.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-20 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.45.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