google-apis-connectors_v1 0.40.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a2ab5f27fb83f5fd8eec98da82f1c0b7584c1029ce020a3d742831e28a1cfd5
|
4
|
+
data.tar.gz: 4810a3fc55e8ca836c1967e5bb753f0b74818506384fb0bface8f681ed8d558b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b6c1e462b9920ac490f8bfd1133c492b409009acaa6b68889cbdc8c853ddfb92813e535e94104dce49e8530f66015d33c6dee3f62a5c5f032eacdadf900c9ca
|
7
|
+
data.tar.gz: 572540edc744dc8fd3723052f3593434ec8b9a309c8feb15b30b14c44376bba891928280f3cf85af7d4761a04a570d5d15376ce90ccd0c8c3d591d08b0535c0b
|
data/CHANGELOG.md
CHANGED
@@ -848,6 +848,11 @@ module Google
|
|
848
848
|
# @return [Fixnum]
|
849
849
|
attr_accessor :connection_ratelimit_window_seconds
|
850
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
|
+
|
851
856
|
# Autoscaling config for connector deployment system metrics.
|
852
857
|
# Corresponds to the JSON property `hpaConfig`
|
853
858
|
# @return [Google::Apis::ConnectorsV1::HpaConfig]
|
@@ -885,6 +890,7 @@ module Google
|
|
885
890
|
# Update properties of this object
|
886
891
|
def update!(**args)
|
887
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)
|
888
894
|
@hpa_config = args[:hpa_config] if args.key?(:hpa_config)
|
889
895
|
@internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
|
890
896
|
@ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
|
@@ -2757,6 +2763,31 @@ module Google
|
|
2757
2763
|
end
|
2758
2764
|
end
|
2759
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
|
+
|
2760
2791
|
# Node configuration for the connection.
|
2761
2792
|
class NodeConfig
|
2762
2793
|
include Google::Apis::Core::Hashable
|
@@ -3204,6 +3235,32 @@ module Google
|
|
3204
3235
|
end
|
3205
3236
|
end
|
3206
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
|
+
|
3207
3264
|
# Request message for ConnectorsService.RepairEventing
|
3208
3265
|
class RepairEventingRequest
|
3209
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.
|
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 = "
|
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
|
|
@@ -772,6 +784,7 @@ module Google
|
|
772
784
|
# @private
|
773
785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
774
786
|
property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds'
|
787
|
+
property :deployment_model, as: 'deploymentModel'
|
775
788
|
property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
|
776
789
|
|
777
790
|
property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
|
@@ -1307,6 +1320,14 @@ module Google
|
|
1307
1320
|
end
|
1308
1321
|
end
|
1309
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
|
+
|
1310
1331
|
class NodeConfig
|
1311
1332
|
# @private
|
1312
1333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1408,6 +1429,15 @@ module Google
|
|
1408
1429
|
end
|
1409
1430
|
end
|
1410
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
|
+
|
1411
1441
|
class RepairEventingRequest
|
1412
1442
|
# @private
|
1413
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.
|
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-10-
|
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.
|
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: []
|