google-apis-connectors_v1 0.40.0 → 0.42.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: a2abdf8eedac03c217f204c8334ab1c752ffb5d93f9f6eb18b7e612b9a7e0c04
|
4
|
+
data.tar.gz: db44be0c0196f083457e4436ca492a35648bcb5fed578fe8d8ed19e5e3c53986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d69bd9414ce8aa0658a6ce299792c3e48147b349cbb99d1ef2013e338b3d50015867ba600baefb85e7114039ea3a268e675ccee84b197973482f54995cf9aab8
|
7
|
+
data.tar.gz: 895202a7c4ff00856e370199a83f01913b5de5eadd7e399732b7f9f7b55e0251fc5678980f74703c7c3a500608781c2f43fdf0176e440ed77f0816a5304bba8c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-connectors_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2023-10-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231024
|
6
|
+
|
7
|
+
### v0.41.0 (2023-10-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231011
|
10
|
+
|
3
11
|
### v0.40.0 (2023-10-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230920
|
@@ -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)
|
@@ -1424,6 +1430,11 @@ module Google
|
|
1424
1430
|
# @return [String]
|
1425
1431
|
attr_accessor :event_type_id
|
1426
1432
|
|
1433
|
+
# JMS message denotes the source of the event
|
1434
|
+
# Corresponds to the JSON property `jms`
|
1435
|
+
# @return [Google::Apis::ConnectorsV1::Jms]
|
1436
|
+
attr_accessor :jms
|
1437
|
+
|
1427
1438
|
# Required. Resource name of the EventSubscription. Format: projects/`project`/
|
1428
1439
|
# locations/`location`/connections/`connection`/eventSubscriptions/`
|
1429
1440
|
# event_subscription`
|
@@ -1460,6 +1471,7 @@ module Google
|
|
1460
1471
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1461
1472
|
@destinations = args[:destinations] if args.key?(:destinations)
|
1462
1473
|
@event_type_id = args[:event_type_id] if args.key?(:event_type_id)
|
1474
|
+
@jms = args[:jms] if args.key?(:jms)
|
1463
1475
|
@name = args[:name] if args.key?(:name)
|
1464
1476
|
@status = args[:status] if args.key?(:status)
|
1465
1477
|
@subscriber = args[:subscriber] if args.key?(:subscriber)
|
@@ -1687,6 +1699,11 @@ module Google
|
|
1687
1699
|
attr_accessor :enrichment_supported
|
1688
1700
|
alias_method :enrichment_supported?, :enrichment_supported
|
1689
1701
|
|
1702
|
+
# The type of the event listener for a specific connector.
|
1703
|
+
# Corresponds to the JSON property `eventListenerType`
|
1704
|
+
# @return [String]
|
1705
|
+
attr_accessor :event_listener_type
|
1706
|
+
|
1690
1707
|
# Is Eventing Supported.
|
1691
1708
|
# Corresponds to the JSON property `isEventingSupported`
|
1692
1709
|
# @return [Boolean]
|
@@ -1711,6 +1728,7 @@ module Google
|
|
1711
1728
|
@auto_registration_supported = args[:auto_registration_supported] if args.key?(:auto_registration_supported)
|
1712
1729
|
@encryption_key_template = args[:encryption_key_template] if args.key?(:encryption_key_template)
|
1713
1730
|
@enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
|
1731
|
+
@event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
|
1714
1732
|
@is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
|
1715
1733
|
@registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
|
1716
1734
|
end
|
@@ -2150,6 +2168,31 @@ module Google
|
|
2150
2168
|
end
|
2151
2169
|
end
|
2152
2170
|
|
2171
|
+
# JMS message denotes the source of the event
|
2172
|
+
class Jms
|
2173
|
+
include Google::Apis::Core::Hashable
|
2174
|
+
|
2175
|
+
# Optional. Name of the JMS source. i.e. queueName or topicName
|
2176
|
+
# Corresponds to the JSON property `name`
|
2177
|
+
# @return [String]
|
2178
|
+
attr_accessor :name
|
2179
|
+
|
2180
|
+
# Optional. Type of the JMS Source. i.e. Queue or Topic
|
2181
|
+
# Corresponds to the JSON property `type`
|
2182
|
+
# @return [String]
|
2183
|
+
attr_accessor :type
|
2184
|
+
|
2185
|
+
def initialize(**args)
|
2186
|
+
update!(**args)
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
# Update properties of this object
|
2190
|
+
def update!(**args)
|
2191
|
+
@name = args[:name] if args.key?(:name)
|
2192
|
+
@type = args[:type] if args.key?(:type)
|
2193
|
+
end
|
2194
|
+
end
|
2195
|
+
|
2153
2196
|
# JsonSchema representation of schema metadata
|
2154
2197
|
class JsonSchema
|
2155
2198
|
include Google::Apis::Core::Hashable
|
@@ -2757,6 +2800,31 @@ module Google
|
|
2757
2800
|
end
|
2758
2801
|
end
|
2759
2802
|
|
2803
|
+
# Regional Network Config.
|
2804
|
+
class NetworkConfig
|
2805
|
+
include Google::Apis::Core::Hashable
|
2806
|
+
|
2807
|
+
# Output only. Egress IPs
|
2808
|
+
# Corresponds to the JSON property `egressIps`
|
2809
|
+
# @return [Array<String>]
|
2810
|
+
attr_accessor :egress_ips
|
2811
|
+
|
2812
|
+
# Optional. Egress mode for the network.
|
2813
|
+
# Corresponds to the JSON property `egressMode`
|
2814
|
+
# @return [String]
|
2815
|
+
attr_accessor :egress_mode
|
2816
|
+
|
2817
|
+
def initialize(**args)
|
2818
|
+
update!(**args)
|
2819
|
+
end
|
2820
|
+
|
2821
|
+
# Update properties of this object
|
2822
|
+
def update!(**args)
|
2823
|
+
@egress_ips = args[:egress_ips] if args.key?(:egress_ips)
|
2824
|
+
@egress_mode = args[:egress_mode] if args.key?(:egress_mode)
|
2825
|
+
end
|
2826
|
+
end
|
2827
|
+
|
2760
2828
|
# Node configuration for the connection.
|
2761
2829
|
class NodeConfig
|
2762
2830
|
include Google::Apis::Core::Hashable
|
@@ -3204,6 +3272,32 @@ module Google
|
|
3204
3272
|
end
|
3205
3273
|
end
|
3206
3274
|
|
3275
|
+
# Regional Settings details.
|
3276
|
+
class RegionalSettings
|
3277
|
+
include Google::Apis::Core::Hashable
|
3278
|
+
|
3279
|
+
# Output only. Resource name of the Connection. Format: projects/`project`/
|
3280
|
+
# locations/`location`/regionalSettings
|
3281
|
+
# Corresponds to the JSON property `name`
|
3282
|
+
# @return [String]
|
3283
|
+
attr_accessor :name
|
3284
|
+
|
3285
|
+
# Regional Network Config.
|
3286
|
+
# Corresponds to the JSON property `networkConfig`
|
3287
|
+
# @return [Google::Apis::ConnectorsV1::NetworkConfig]
|
3288
|
+
attr_accessor :network_config
|
3289
|
+
|
3290
|
+
def initialize(**args)
|
3291
|
+
update!(**args)
|
3292
|
+
end
|
3293
|
+
|
3294
|
+
# Update properties of this object
|
3295
|
+
def update!(**args)
|
3296
|
+
@name = args[:name] if args.key?(:name)
|
3297
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
3298
|
+
end
|
3299
|
+
end
|
3300
|
+
|
3207
3301
|
# Request message for ConnectorsService.RepairEventing
|
3208
3302
|
class RepairEventingRequest
|
3209
3303
|
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.42.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 = "20231024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,12 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class Jms
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
283
289
|
class JsonSchema
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
291
|
|
@@ -388,6 +394,12 @@ module Google
|
|
388
394
|
include Google::Apis::Core::JsonObjectSupport
|
389
395
|
end
|
390
396
|
|
397
|
+
class NetworkConfig
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
391
403
|
class NodeConfig
|
392
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
405
|
|
@@ -442,6 +454,12 @@ module Google
|
|
442
454
|
include Google::Apis::Core::JsonObjectSupport
|
443
455
|
end
|
444
456
|
|
457
|
+
class RegionalSettings
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
445
463
|
class RepairEventingRequest
|
446
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
465
|
|
@@ -772,6 +790,7 @@ module Google
|
|
772
790
|
# @private
|
773
791
|
class Representation < Google::Apis::Core::JsonRepresentation
|
774
792
|
property :connection_ratelimit_window_seconds, :numeric_string => true, as: 'connectionRatelimitWindowSeconds'
|
793
|
+
property :deployment_model, as: 'deploymentModel'
|
775
794
|
property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
|
776
795
|
|
777
796
|
property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
|
@@ -933,6 +952,8 @@ module Google
|
|
933
952
|
property :destinations, as: 'destinations', class: Google::Apis::ConnectorsV1::EventSubscriptionDestination, decorator: Google::Apis::ConnectorsV1::EventSubscriptionDestination::Representation
|
934
953
|
|
935
954
|
property :event_type_id, as: 'eventTypeId'
|
955
|
+
property :jms, as: 'jms', class: Google::Apis::ConnectorsV1::Jms, decorator: Google::Apis::ConnectorsV1::Jms::Representation
|
956
|
+
|
936
957
|
property :name, as: 'name'
|
937
958
|
property :status, as: 'status', class: Google::Apis::ConnectorsV1::EventSubscriptionStatus, decorator: Google::Apis::ConnectorsV1::EventSubscriptionStatus::Representation
|
938
959
|
|
@@ -1003,6 +1024,7 @@ module Google
|
|
1003
1024
|
property :encryption_key_template, as: 'encryptionKeyTemplate', class: Google::Apis::ConnectorsV1::ConfigVariableTemplate, decorator: Google::Apis::ConnectorsV1::ConfigVariableTemplate::Representation
|
1004
1025
|
|
1005
1026
|
property :enrichment_supported, as: 'enrichmentSupported'
|
1027
|
+
property :event_listener_type, as: 'eventListenerType'
|
1006
1028
|
property :is_eventing_supported, as: 'isEventingSupported'
|
1007
1029
|
property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
|
1008
1030
|
|
@@ -1123,6 +1145,14 @@ module Google
|
|
1123
1145
|
end
|
1124
1146
|
end
|
1125
1147
|
|
1148
|
+
class Jms
|
1149
|
+
# @private
|
1150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1151
|
+
property :name, as: 'name'
|
1152
|
+
property :type, as: 'type'
|
1153
|
+
end
|
1154
|
+
end
|
1155
|
+
|
1126
1156
|
class JsonSchema
|
1127
1157
|
# @private
|
1128
1158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1307,6 +1337,14 @@ module Google
|
|
1307
1337
|
end
|
1308
1338
|
end
|
1309
1339
|
|
1340
|
+
class NetworkConfig
|
1341
|
+
# @private
|
1342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1343
|
+
collection :egress_ips, as: 'egressIps'
|
1344
|
+
property :egress_mode, as: 'egressMode'
|
1345
|
+
end
|
1346
|
+
end
|
1347
|
+
|
1310
1348
|
class NodeConfig
|
1311
1349
|
# @private
|
1312
1350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1408,6 +1446,15 @@ module Google
|
|
1408
1446
|
end
|
1409
1447
|
end
|
1410
1448
|
|
1449
|
+
class RegionalSettings
|
1450
|
+
# @private
|
1451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1452
|
+
property :name, as: 'name'
|
1453
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::ConnectorsV1::NetworkConfig, decorator: Google::Apis::ConnectorsV1::NetworkConfig::Representation
|
1454
|
+
|
1455
|
+
end
|
1456
|
+
end
|
1457
|
+
|
1411
1458
|
class RepairEventingRequest
|
1412
1459
|
# @private
|
1413
1460
|
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.42.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-29 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.42.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: []
|