google-apis-connectors_v1 0.47.0 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecde54822e10ab93b88257944ab6380dfbed31210eaa7798445755e2ceb2953a
4
- data.tar.gz: 95377bb6fa1b32c33ede708e8841f7562ec43a749476bd68126137931e06b955
3
+ metadata.gz: bc958907920f58b9f93d3a12c728b2e71eb9be47b6f62b92d54685ade8c4e855
4
+ data.tar.gz: 559e5d9859f253b439fe6292e24f41450587c80e7b0405e1056f654fc86cd822
5
5
  SHA512:
6
- metadata.gz: 3f6a0279356604311fb7fbc643fc6d4b194653f834228f1eadcd95377c925f1d3544e3c6dc0dab728ff574dd01930f40d79fcf6622c8d0b3b4b604ed96514e96
7
- data.tar.gz: c277943ae569a46d8538b339490bb2dc6a3be2b86f7cbea285de9d154ca0045d0c3f958f5ee898444ce96f015a8169df3a5a4f8ad57eb9998a8cb67be8c9f4e8
6
+ metadata.gz: 139bb0945efcc645e05a723812dd28fa10c8e5ed67870a5d1ae703409247f4470727c99406beed755901a88224e4772ba85a403d350723f2cff1d04eced924e4
7
+ data.tar.gz: 05c0fbd3987795c65bf70bcfe7507c8461ec20a9e22f1789e6d04a6485b445213382bb144499bbb78a07cd553eac8928ebad2c759bb71370fd9e4547e9a8a25a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.49.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240116
6
+ * Regenerated using generator version 0.13.0
7
+
8
+ ### v0.48.0 (2024-01-07)
9
+
10
+ * Regenerated from discovery document revision 20240102
11
+
3
12
  ### v0.47.0 (2023-12-17)
4
13
 
5
14
  * 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)
@@ -1257,7 +1263,7 @@ module Google
1257
1263
  # @return [String]
1258
1264
  attr_accessor :name
1259
1265
 
1260
- # Required. Service account used by runtime plane to access auth config secrets.
1266
+ # Optional. Service account used by runtime plane to access auth config secrets.
1261
1267
  # Corresponds to the JSON property `serviceAccount`
1262
1268
  # @return [String]
1263
1269
  attr_accessor :service_account
@@ -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]
@@ -1968,6 +2004,11 @@ module Google
1968
2004
  attr_accessor :private_connectivity_enabled
1969
2005
  alias_method :private_connectivity_enabled?, :private_connectivity_enabled
1970
2006
 
2007
+ # Define the Connectors target endpoint.
2008
+ # Corresponds to the JSON property `proxyDestinationConfig`
2009
+ # @return [Google::Apis::ConnectorsV1::DestinationConfig]
2010
+ attr_accessor :proxy_destination_config
2011
+
1971
2012
  # Define the Connectors target endpoint.
1972
2013
  # Corresponds to the JSON property `registrationDestinationConfig`
1973
2014
  # @return [Google::Apis::ConnectorsV1::DestinationConfig]
@@ -1981,10 +2022,12 @@ module Google
1981
2022
  def update!(**args)
1982
2023
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
1983
2024
  @auth_config = args[:auth_config] if args.key?(:auth_config)
2025
+ @dead_letter_config = args[:dead_letter_config] if args.key?(:dead_letter_config)
1984
2026
  @enrichment_enabled = args[:enrichment_enabled] if args.key?(:enrichment_enabled)
1985
2027
  @events_listener_ingress_endpoint = args[:events_listener_ingress_endpoint] if args.key?(:events_listener_ingress_endpoint)
1986
2028
  @listener_auth_config = args[:listener_auth_config] if args.key?(:listener_auth_config)
1987
2029
  @private_connectivity_enabled = args[:private_connectivity_enabled] if args.key?(:private_connectivity_enabled)
2030
+ @proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
1988
2031
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
1989
2032
  end
1990
2033
  end
@@ -2043,6 +2086,12 @@ module Google
2043
2086
  # @return [Array<Google::Apis::ConnectorsV1::AuthConfigTemplate>]
2044
2087
  attr_accessor :listener_auth_config_templates
2045
2088
 
2089
+ # DestinationConfigTemplate defines required destinations supported by the
2090
+ # Connector.
2091
+ # Corresponds to the JSON property `proxyDestinationConfig`
2092
+ # @return [Google::Apis::ConnectorsV1::DestinationConfigTemplate]
2093
+ attr_accessor :proxy_destination_config
2094
+
2046
2095
  # DestinationConfigTemplate defines required destinations supported by the
2047
2096
  # Connector.
2048
2097
  # Corresponds to the JSON property `registrationDestinationConfig`
@@ -2064,6 +2113,7 @@ module Google
2064
2113
  @event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
2065
2114
  @is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
2066
2115
  @listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
2116
+ @proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
2067
2117
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
2068
2118
  end
2069
2119
  end
@@ -4231,6 +4281,12 @@ module Google
4231
4281
  # @return [Google::Apis::ConnectorsV1::NetworkConfig]
4232
4282
  attr_accessor :network_config
4233
4283
 
4284
+ # Output only. Specifies whether the region is provisioned.
4285
+ # Corresponds to the JSON property `provisioned`
4286
+ # @return [Boolean]
4287
+ attr_accessor :provisioned
4288
+ alias_method :provisioned?, :provisioned
4289
+
4234
4290
  def initialize(**args)
4235
4291
  update!(**args)
4236
4292
  end
@@ -4240,6 +4296,7 @@ module Google
4240
4296
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
4241
4297
  @name = args[:name] if args.key?(:name)
4242
4298
  @network_config = args[:network_config] if args.key?(:network_config)
4299
+ @provisioned = args[:provisioned] if args.key?(:provisioned)
4243
4300
  end
4244
4301
  end
4245
4302
 
@@ -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.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231213"
25
+ REVISION = "20240116"
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,11 +1253,15 @@ 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
1244
1261
 
1245
1262
  property :private_connectivity_enabled, as: 'privateConnectivityEnabled'
1263
+ property :proxy_destination_config, as: 'proxyDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
1264
+
1246
1265
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfig, decorator: Google::Apis::ConnectorsV1::DestinationConfig::Representation
1247
1266
 
1248
1267
  end
@@ -1264,6 +1283,8 @@ module Google
1264
1283
  property :is_eventing_supported, as: 'isEventingSupported'
1265
1284
  collection :listener_auth_config_templates, as: 'listenerAuthConfigTemplates', class: Google::Apis::ConnectorsV1::AuthConfigTemplate, decorator: Google::Apis::ConnectorsV1::AuthConfigTemplate::Representation
1266
1285
 
1286
+ property :proxy_destination_config, as: 'proxyDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
1287
+
1267
1288
  property :registration_destination_config, as: 'registrationDestinationConfig', class: Google::Apis::ConnectorsV1::DestinationConfigTemplate, decorator: Google::Apis::ConnectorsV1::DestinationConfigTemplate::Representation
1268
1289
 
1269
1290
  end
@@ -1850,6 +1871,7 @@ module Google
1850
1871
  property :name, as: 'name'
1851
1872
  property :network_config, as: 'networkConfig', class: Google::Apis::ConnectorsV1::NetworkConfig, decorator: Google::Apis::ConnectorsV1::NetworkConfig::Representation
1852
1873
 
1874
+ property :provisioned, as: 'provisioned'
1853
1875
  end
1854
1876
  end
1855
1877
 
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors
35
35
  class ConnectorsService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://connectors.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://connectors.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-connectors_v1',
49
51
  client_version: Google::Apis::ConnectorsV1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -1414,6 +1416,9 @@ module Google
1414
1416
  # @param [String] name
1415
1417
  # Required. Resource name of the form: `projects/`project`/locations/`location`/
1416
1418
  # customConnectors/`connector``
1419
+ # @param [Boolean] force
1420
+ # Optional. If set to true, any customConnectorVersion which is a child resource
1421
+ # will also be deleted. https://aip.dev/135#cascading-delete
1417
1422
  # @param [String] fields
1418
1423
  # Selector specifying which fields to include in a partial response.
1419
1424
  # @param [String] quota_user
@@ -1431,11 +1436,12 @@ module Google
1431
1436
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1432
1437
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1433
1438
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1434
- def delete_project_location_global_custom_connector(name, fields: nil, quota_user: nil, options: nil, &block)
1439
+ def delete_project_location_global_custom_connector(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
1435
1440
  command = make_simple_command(:delete, 'v1/{+name}', options)
1436
1441
  command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
1437
1442
  command.response_class = Google::Apis::ConnectorsV1::Operation
1438
1443
  command.params['name'] = name unless name.nil?
1444
+ command.query['force'] = force unless force.nil?
1439
1445
  command.query['fields'] = fields unless fields.nil?
1440
1446
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1441
1447
  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.49.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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.49.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