google-apis-connectors_v1 0.47.0 → 0.48.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: ecde54822e10ab93b88257944ab6380dfbed31210eaa7798445755e2ceb2953a
4
- data.tar.gz: 95377bb6fa1b32c33ede708e8841f7562ec43a749476bd68126137931e06b955
3
+ metadata.gz: 0a4068106349e128a6570e513ad7fd82f6ea5e8c00b0e86af21b025ef2836db2
4
+ data.tar.gz: '08a834aabdbb3702a7f0b2ac18a21428f9a687b44ed80f463ef2a99bdbd644c0'
5
5
  SHA512:
6
- metadata.gz: 3f6a0279356604311fb7fbc643fc6d4b194653f834228f1eadcd95377c925f1d3544e3c6dc0dab728ff574dd01930f40d79fcf6622c8d0b3b4b604ed96514e96
7
- data.tar.gz: c277943ae569a46d8538b339490bb2dc6a3be2b86f7cbea285de9d154ca0045d0c3f958f5ee898444ce96f015a8169df3a5a4f8ad57eb9998a8cb67be8c9f4e8
6
+ metadata.gz: a766344833ececeb754a0392b5d9f4d4244aaca1768b11f7a15acbb7069a24c16210dd000f4cfeb92ad1a3a08a082ca6a6268af859d1ba4f31c54e59417d4360
7
+ data.tar.gz: 39a17b3c773e512e69c3c515ee5682595730125d028a9d99e29a067cb06133322eb9219d46b5250d918c2aa65cc5714dfd47cc66501719022164178378c22540
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.48.0 (2024-01-07)
4
+
5
+ * Regenerated from discovery document revision 20240102
6
+
3
7
  ### v0.47.0 (2023-12-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20231213
@@ -1078,6 +1078,11 @@ module Google
1078
1078
  # @return [Fixnum]
1079
1079
  attr_accessor :connection_ratelimit_window_seconds
1080
1080
 
1081
+ # Optional. Indicates whether connector is deployed on GKE/CloudRun
1082
+ # Corresponds to the JSON property `deploymentModel`
1083
+ # @return [String]
1084
+ attr_accessor :deployment_model
1085
+
1081
1086
  # Autoscaling config for connector deployment system metrics.
1082
1087
  # Corresponds to the JSON property `hpaConfig`
1083
1088
  # @return [Google::Apis::ConnectorsV1::HpaConfig]
@@ -1116,6 +1121,7 @@ module Google
1116
1121
  # Update properties of this object
1117
1122
  def update!(**args)
1118
1123
  @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds)
1124
+ @deployment_model = args[:deployment_model] if args.key?(:deployment_model)
1119
1125
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1120
1126
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
1121
1127
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
@@ -1359,6 +1365,31 @@ module Google
1359
1365
  end
1360
1366
  end
1361
1367
 
1368
+ # Dead Letter configuration details provided by the user.
1369
+ class DeadLetterConfig
1370
+ include Google::Apis::Core::Hashable
1371
+
1372
+ # Optional. Project which has the topic given.
1373
+ # Corresponds to the JSON property `projectId`
1374
+ # @return [String]
1375
+ attr_accessor :project_id
1376
+
1377
+ # Optional. Topic to push events which couldn't be processed.
1378
+ # Corresponds to the JSON property `topic`
1379
+ # @return [String]
1380
+ attr_accessor :topic
1381
+
1382
+ def initialize(**args)
1383
+ update!(**args)
1384
+ end
1385
+
1386
+ # Update properties of this object
1387
+ def update!(**args)
1388
+ @project_id = args[:project_id] if args.key?(:project_id)
1389
+ @topic = args[:topic] if args.key?(:topic)
1390
+ end
1391
+ end
1392
+
1362
1393
  # DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
1363
1394
  # period. The start_date must be less than the end_date.
1364
1395
  class DenyMaintenancePeriod
@@ -1945,6 +1976,11 @@ module Google
1945
1976
  # @return [Google::Apis::ConnectorsV1::AuthConfig]
1946
1977
  attr_accessor :auth_config
1947
1978
 
1979
+ # Dead Letter configuration details provided by the user.
1980
+ # Corresponds to the JSON property `deadLetterConfig`
1981
+ # @return [Google::Apis::ConnectorsV1::DeadLetterConfig]
1982
+ attr_accessor :dead_letter_config
1983
+
1948
1984
  # Enrichment Enabled.
1949
1985
  # Corresponds to the JSON property `enrichmentEnabled`
1950
1986
  # @return [Boolean]
@@ -1981,6 +2017,7 @@ module Google
1981
2017
  def update!(**args)
1982
2018
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1983
2019
  @auth_config = args[:auth_config] if args.key?(:auth_config)
2020
+ @dead_letter_config = args[:dead_letter_config] if args.key?(:dead_letter_config)
1984
2021
  @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
1985
2022
  @events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
1986
2023
  @listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ConnectorsV1
18
18
  # Version of the google-apis-connectors_v1 gem
19
- GEM_VERSION = "0.47.0"
19
+ GEM_VERSION = "0.48.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 = "20231213"
25
+ REVISION = "20240102"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class DeadLetterConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class DenyMaintenancePeriod
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -1005,6 +1011,7 @@ module Google
1005
1011
  # @private
1006
1012
  class Representation < Google::Apis::Core::JsonRepresentation
1007
1013
  property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds'
1014
+ property :deployment_model, as: 'deploymentModel'
1008
1015
  property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
1009
1016
 
1010
1017
  property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
@@ -1075,6 +1082,14 @@ module Google
1075
1082
  end
1076
1083
  end
1077
1084
 
1085
+ class DeadLetterConfig
1086
+ # @private
1087
+ class Representation < Google::Apis::Core::JsonRepresentation
1088
+ property :project_id, as: 'projectId'
1089
+ property :topic, as: 'topic'
1090
+ end
1091
+ end
1092
+
1078
1093
  class DenyMaintenancePeriod
1079
1094
  # @private
1080
1095
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1238,6 +1253,8 @@ module Google
1238
1253
 
1239
1254
  property :auth_config, as: 'authConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
1240
1255
 
1256
+ property :dead_letter_config, as: 'deadLetterConfig', class: Google::Apis::ConnectorsV1::DeadLetterConfig, decorator: Google::Apis::ConnectorsV1::DeadLetterConfig::Representation
1257
+
1241
1258
  property :enrichment_enabled, as: 'enrichmentEnabled'
1242
1259
  property :events_listener_ingress_endpoint, as: 'eventsListenerIngressEndpoint'
1243
1260
  property :listener_auth_config, as: 'listenerAuthConfig', class: Google::Apis::ConnectorsV1::AuthConfig, decorator: Google::Apis::ConnectorsV1::AuthConfig::Representation
@@ -1414,6 +1414,9 @@ module Google
1414
1414
  # @param [String] name
1415
1415
  # Required. Resource name of the form: `projects/`project`/locations/`location`/
1416
1416
  # customConnectors/`connector``
1417
+ # @param [Boolean] force
1418
+ # Optional. If set to true, any customConnectorVersion which is a child resource
1419
+ # will also be deleted. https://aip.dev/135#cascading-delete
1417
1420
  # @param [String] fields
1418
1421
  # Selector specifying which fields to include in a partial response.
1419
1422
  # @param [String] quota_user
@@ -1431,11 +1434,12 @@ module Google
1431
1434
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1432
1435
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1433
1436
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1434
- def delete_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
1437
+ def delete_project_location_global_custom_connector(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
1435
1438
  command = make_simple_command(:delete, 'v1/{+name}', options)
1436
1439
  command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1437
1440
  command.response_class = Google::Apis::ConnectorsV1::Operation
1438
1441
  command.params['name'] = name unless name.nil?
1442
+ command.query['force'] = force unless force.nil?
1439
1443
  command.query['fields'] = fields unless fields.nil?
1440
1444
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1441
1445
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.48.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-12-17 00:00:00.000000000 Z
11
+ date: 2024-01-07 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-connectors_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.48.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_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.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Connectors API V1