google-apis-connectors_v1 0.39.0 → 0.41.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: 744e6ccf80e515e104977d9c393716a3a8e46f13d37afc9e0720ff39f53df8b1
4
- data.tar.gz: '08a053f656cd9239071e245ae0fb710386d0f3a5a99f0360e6e7972cc2423a85'
3
+ metadata.gz: 4a2ab5f27fb83f5fd8eec98da82f1c0b7584c1029ce020a3d742831e28a1cfd5
4
+ data.tar.gz: 4810a3fc55e8ca836c1967e5bb753f0b74818506384fb0bface8f681ed8d558b
5
5
  SHA512:
6
- metadata.gz: ef8243ecaba18a2eb876ef81077a9790e378d34eaca44cb297e5d61206aa742905865e8cee9d3c4ec0a84237ad0de0c03fc36d95b2462b7d4fdd2402ab59141b
7
- data.tar.gz: 0b567d5a10bed8f9e17d2dc6fa23537cc9d40fe17b94f2da9f76b001cc4e58f365d0598d9cc3af4dbaeff04b355124f6edc5b13d34682f2416e0496d731a7eb8
6
+ metadata.gz: 5b6c1e462b9920ac490f8bfd1133c492b409009acaa6b68889cbdc8c853ddfb92813e535e94104dce49e8530f66015d33c6dee3f62a5c5f032eacdadf900c9ca
7
+ data.tar.gz: 572540edc744dc8fd3723052f3593434ec8b9a309c8feb15b30b14c44376bba891928280f3cf85af7d4761a04a570d5d15376ce90ccd0c8c3d591d08b0535c0b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.41.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231011
6
+
7
+ ### v0.40.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230920
10
+
3
11
  ### v0.39.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230913
@@ -843,6 +843,16 @@ module Google
843
843
  class ConnectorInfraConfig
844
844
  include Google::Apis::Core::Hashable
845
845
 
846
+ # The window used for ratelimiting runtime requests to connections.
847
+ # Corresponds to the JSON property `connectionRatelimitWindowSeconds`
848
+ # @return [Fixnum]
849
+ attr_accessor :connection_ratelimit_window_seconds
850
+
851
+ # Indicate whether connector is deployed on GKE/CloudRun
852
+ # Corresponds to the JSON property `deploymentModel`
853
+ # @return [String]
854
+ attr_accessor :deployment_model
855
+
846
856
  # Autoscaling config for connector deployment system metrics.
847
857
  # Corresponds to the JSON property `hpaConfig`
848
858
  # @return [Google::Apis::ConnectorsV1::HpaConfig]
@@ -879,6 +889,8 @@ module Google
879
889
 
880
890
  # Update properties of this object
881
891
  def update!(**args)
892
+ @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds)
893
+ @deployment_model = args[:deployment_model] if args.key?(:deployment_model)
882
894
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
883
895
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
884
896
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
@@ -1020,6 +1032,11 @@ module Google
1020
1032
  class ConnectorVersionInfraConfig
1021
1033
  include Google::Apis::Core::Hashable
1022
1034
 
1035
+ # Output only. The window used for ratelimiting runtime requests to connections.
1036
+ # Corresponds to the JSON property `connectionRatelimitWindowSeconds`
1037
+ # @return [Fixnum]
1038
+ attr_accessor :connection_ratelimit_window_seconds
1039
+
1023
1040
  # Autoscaling config for connector deployment system metrics.
1024
1041
  # Corresponds to the JSON property `hpaConfig`
1025
1042
  # @return [Google::Apis::ConnectorsV1::HpaConfig]
@@ -1057,6 +1074,7 @@ module Google
1057
1074
 
1058
1075
  # Update properties of this object
1059
1076
  def update!(**args)
1077
+ @connection_ratelimit_window_seconds = args[:connection_ratelimit_window_seconds] if args.key?(:connection_ratelimit_window_seconds)
1060
1078
  @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1061
1079
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
1062
1080
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
@@ -2745,6 +2763,31 @@ module Google
2745
2763
  end
2746
2764
  end
2747
2765
 
2766
+ # Regional Network Config.
2767
+ class NetworkConfig
2768
+ include Google::Apis::Core::Hashable
2769
+
2770
+ # Output only. Egress IPs
2771
+ # Corresponds to the JSON property `egressIps`
2772
+ # @return [Array<String>]
2773
+ attr_accessor :egress_ips
2774
+
2775
+ # Optional. Egress mode for the network.
2776
+ # Corresponds to the JSON property `egressMode`
2777
+ # @return [String]
2778
+ attr_accessor :egress_mode
2779
+
2780
+ def initialize(**args)
2781
+ update!(**args)
2782
+ end
2783
+
2784
+ # Update properties of this object
2785
+ def update!(**args)
2786
+ @egress_ips = args[:egress_ips] if args.key?(:egress_ips)
2787
+ @egress_mode = args[:egress_mode] if args.key?(:egress_mode)
2788
+ end
2789
+ end
2790
+
2748
2791
  # Node configuration for the connection.
2749
2792
  class NodeConfig
2750
2793
  include Google::Apis::Core::Hashable
@@ -3192,6 +3235,32 @@ module Google
3192
3235
  end
3193
3236
  end
3194
3237
 
3238
+ # Regional Settings details.
3239
+ class RegionalSettings
3240
+ include Google::Apis::Core::Hashable
3241
+
3242
+ # Output only. Resource name of the Connection. Format: projects/`project`/
3243
+ # locations/`location`/regionalSettings
3244
+ # Corresponds to the JSON property `name`
3245
+ # @return [String]
3246
+ attr_accessor :name
3247
+
3248
+ # Regional Network Config.
3249
+ # Corresponds to the JSON property `networkConfig`
3250
+ # @return [Google::Apis::ConnectorsV1::NetworkConfig]
3251
+ attr_accessor :network_config
3252
+
3253
+ def initialize(**args)
3254
+ update!(**args)
3255
+ end
3256
+
3257
+ # Update properties of this object
3258
+ def update!(**args)
3259
+ @name = args[:name] if args.key?(:name)
3260
+ @network_config = args[:network_config] if args.key?(:network_config)
3261
+ end
3262
+ end
3263
+
3195
3264
  # Request message for ConnectorsService.RepairEventing
3196
3265
  class RepairEventingRequest
3197
3266
  include Google::Apis::Core::Hashable
@@ -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.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 = "20230913"
25
+ REVISION = "20231011"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class NetworkConfig
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class NodeConfig
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -442,6 +448,12 @@ module Google
442
448
  include Google::Apis::Core::JsonObjectSupport
443
449
  end
444
450
 
451
+ class RegionalSettings
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
445
457
  class RepairEventingRequest
446
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
459
 
@@ -771,6 +783,8 @@ module Google
771
783
  class ConnectorInfraConfig
772
784
  # @private
773
785
  class Representation < Google::Apis::Core::JsonRepresentation
786
+ property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds'
787
+ property :deployment_model, as: 'deploymentModel'
774
788
  property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
775
789
 
776
790
  property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
@@ -819,6 +833,7 @@ module Google
819
833
  class ConnectorVersionInfraConfig
820
834
  # @private
821
835
  class Representation < Google::Apis::Core::JsonRepresentation
836
+ property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds'
822
837
  property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
823
838
 
824
839
  property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
@@ -1305,6 +1320,14 @@ module Google
1305
1320
  end
1306
1321
  end
1307
1322
 
1323
+ class NetworkConfig
1324
+ # @private
1325
+ class Representation < Google::Apis::Core::JsonRepresentation
1326
+ collection :egress_ips, as: 'egressIps'
1327
+ property :egress_mode, as: 'egressMode'
1328
+ end
1329
+ end
1330
+
1308
1331
  class NodeConfig
1309
1332
  # @private
1310
1333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1406,6 +1429,15 @@ module Google
1406
1429
  end
1407
1430
  end
1408
1431
 
1432
+ class RegionalSettings
1433
+ # @private
1434
+ class Representation < Google::Apis::Core::JsonRepresentation
1435
+ property :name, as: 'name'
1436
+ property :network_config, as: 'networkConfig', class: Google::Apis::ConnectorsV1::NetworkConfig, decorator: Google::Apis::ConnectorsV1::NetworkConfig::Representation
1437
+
1438
+ end
1439
+ end
1440
+
1409
1441
  class RepairEventingRequest
1410
1442
  # @private
1411
1443
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -80,6 +80,37 @@ module Google
80
80
  execute_or_queue_command(command, &block)
81
81
  end
82
82
 
83
+ # GetRegionalSettings gets settings of a region. RegionalSettings is a singleton
84
+ # resource.
85
+ # @param [String] name
86
+ # Required. The resource name of the Regional Settings.
87
+ # @param [String] fields
88
+ # Selector specifying which fields to include in a partial response.
89
+ # @param [String] quota_user
90
+ # Available to use for quota purposes for server-side applications. Can be any
91
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
92
+ # @param [Google::Apis::RequestOptions] options
93
+ # Request-specific options
94
+ #
95
+ # @yield [result, err] Result & error if block supplied
96
+ # @yieldparam result [Google::Apis::ConnectorsV1::RegionalSettings] parsed result object
97
+ # @yieldparam err [StandardError] error object if request failed
98
+ #
99
+ # @return [Google::Apis::ConnectorsV1::RegionalSettings]
100
+ #
101
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
102
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
103
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
104
+ def get_project_location_regional_settings(name, fields: nil, quota_user: nil, options: nil, &block)
105
+ command = make_simple_command(:get, 'v1/{+name}', options)
106
+ command.response_representation = Google::Apis::ConnectorsV1::RegionalSettings::Representation
107
+ command.response_class = Google::Apis::ConnectorsV1::RegionalSettings
108
+ command.params['name'] = name unless name.nil?
109
+ command.query['fields'] = fields unless fields.nil?
110
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
111
+ execute_or_queue_command(command, &block)
112
+ end
113
+
83
114
  # Gets the runtimeConfig of a location. RuntimeConfig is a singleton resource
84
115
  # for each location.
85
116
  # @param [String] name
@@ -154,6 +185,43 @@ module Google
154
185
  execute_or_queue_command(command, &block)
155
186
  end
156
187
 
188
+ # Update the settings of a region.
189
+ # @param [String] name
190
+ # Output only. Resource name of the Connection. Format: projects/`project`/
191
+ # locations/`location`/regionalSettings
192
+ # @param [Google::Apis::ConnectorsV1::RegionalSettings] regional_settings_object
193
+ # @param [String] update_mask
194
+ # Required. The list of fields to update.
195
+ # @param [String] fields
196
+ # Selector specifying which fields to include in a partial response.
197
+ # @param [String] quota_user
198
+ # Available to use for quota purposes for server-side applications. Can be any
199
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
200
+ # @param [Google::Apis::RequestOptions] options
201
+ # Request-specific options
202
+ #
203
+ # @yield [result, err] Result & error if block supplied
204
+ # @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
205
+ # @yieldparam err [StandardError] error object if request failed
206
+ #
207
+ # @return [Google::Apis::ConnectorsV1::Operation]
208
+ #
209
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
210
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
211
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
212
+ def update_project_location_regional_settings(name, regional_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
213
+ command = make_simple_command(:patch, 'v1/{+name}', options)
214
+ command.request_representation = Google::Apis::ConnectorsV1::RegionalSettings::Representation
215
+ command.request_object = regional_settings_object
216
+ command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
217
+ command.response_class = Google::Apis::ConnectorsV1::Operation
218
+ command.params['name'] = name unless name.nil?
219
+ command.query['updateMask'] = update_mask unless update_mask.nil?
220
+ command.query['fields'] = fields unless fields.nil?
221
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
222
+ execute_or_queue_command(command, &block)
223
+ end
224
+
157
225
  # Creates a new Connection in a given project and location.
158
226
  # @param [String] parent
159
227
  # Required. Parent resource of the Connection, of the form: `projects/*/
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.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-15 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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.41.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: []