google-apis-connectors_v1 0.67.0 → 0.69.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: fe42e18ac04f80434c614b952347e97967edaf8a5de2a5c120a082706242c467
4
- data.tar.gz: c05ecf52f7f7966b68922415f2d08415db5f1645c662ba13d528ee00ee6ede66
3
+ metadata.gz: 4841ee63df55b0d18f05358313eb194e0d7596e877e0dcb210a17b1b2803b054
4
+ data.tar.gz: 36d9a9053f64f8cd14be0bc6dc245c55347903ad0b0fee04a36f2bb3dd258035
5
5
  SHA512:
6
- metadata.gz: b6ebb394d62b60e8b1801a3c46cae8bd47ea4386443bcebfdbec6a95811343b4470d98ffba60d762d616b67d336b2a1a9aae2722f830a8fba0c73649e73ed079
7
- data.tar.gz: 1a4baa6890b16820b950180e90cbc0f6e72fccafb3b1c8bd7e40f93a31fb9748e88fe0fcb0717d5d2363d4024620bbefcb524dda9a76f3d8f298dd4f1923b53d
6
+ metadata.gz: 71317e968a0f95a8b2d0160e3740907d60cf5950789097efc02f627f3d47cb8ed0236af2cf21f2da246c4237e3078e09d8dca8ab4b607654be0fab0f75233883
7
+ data.tar.gz: bf80ade48ad787c32b000db394c08b7470868fc1157bc9565f984ef8e8e21bc9f4a263dab3eacb2115744d31ef59c587e9f079a59dee76fad0de23c31997cd7a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.69.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250327
6
+
7
+ ### v0.68.0 (2025-03-16)
8
+
9
+ * Regenerated from discovery document revision 20250304
10
+
3
11
  ### v0.67.0 (2025-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20250218
@@ -781,7 +781,7 @@ module Google
781
781
  # @return [String]
782
782
  attr_accessor :connector_version
783
783
 
784
- # This cofiguration provides infra configs like rate limit threshold which need
784
+ # This configuration provides infra configs like rate limit threshold which need
785
785
  # to be configurable for every connector version
786
786
  # Corresponds to the JSON property `connectorVersionInfraConfig`
787
787
  # @return [Google::Apis::ConnectorsV1::ConnectorVersionInfraConfig]
@@ -918,6 +918,11 @@ module Google
918
918
  # @return [String]
919
919
  attr_accessor :tls_service_directory
920
920
 
921
+ # Optional. Traffic shaping configuration for the connection.
922
+ # Corresponds to the JSON property `trafficShapingConfigs`
923
+ # @return [Array<Google::Apis::ConnectorsV1::TrafficShapingConfig>]
924
+ attr_accessor :traffic_shaping_configs
925
+
921
926
  # Output only. Updated time.
922
927
  # Corresponds to the JSON property `updateTime`
923
928
  # @return [String]
@@ -960,6 +965,7 @@ module Google
960
965
  @subscription_type = args[:subscription_type] if args.key?(:subscription_type)
961
966
  @suspended = args[:suspended] if args.key?(:suspended)
962
967
  @tls_service_directory = args[:tls_service_directory] if args.key?(:tls_service_directory)
968
+ @traffic_shaping_configs = args[:traffic_shaping_configs] if args.key?(:traffic_shaping_configs)
963
969
  @update_time = args[:update_time] if args.key?(:update_time)
964
970
  end
965
971
  end
@@ -1221,6 +1227,12 @@ module Google
1221
1227
  attr_accessor :provision_cloud_spanner
1222
1228
  alias_method :provision_cloud_spanner?, :provision_cloud_spanner
1223
1229
 
1230
+ # Indicate whether memstore is required for connector job.
1231
+ # Corresponds to the JSON property `provisionMemstore`
1232
+ # @return [Boolean]
1233
+ attr_accessor :provision_memstore
1234
+ alias_method :provision_memstore?, :provision_memstore
1235
+
1224
1236
  # Max QPS supported by the connector version before throttling of requests.
1225
1237
  # Corresponds to the JSON property `ratelimitThreshold`
1226
1238
  # @return [Fixnum]
@@ -1257,6 +1269,7 @@ module Google
1257
1269
  @migrate_deployment_model = args[:migrate_deployment_model] if args.key?(:migrate_deployment_model)
1258
1270
  @migrate_tls = args[:migrate_tls] if args.key?(:migrate_tls)
1259
1271
  @provision_cloud_spanner = args[:provision_cloud_spanner] if args.key?(:provision_cloud_spanner)
1272
+ @provision_memstore = args[:provision_memstore] if args.key?(:provision_memstore)
1260
1273
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1261
1274
  @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
1262
1275
  @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
@@ -1443,7 +1456,7 @@ module Google
1443
1456
  end
1444
1457
  end
1445
1458
 
1446
- # This cofiguration provides infra configs like rate limit threshold which need
1459
+ # This configuration provides infra configs like rate limit threshold which need
1447
1460
  # to be configurable for every connector version
1448
1461
  class ConnectorVersionInfraConfig
1449
1462
  include Google::Apis::Core::Hashable
@@ -3778,6 +3791,11 @@ module Google
3778
3791
  # @return [String]
3779
3792
  attr_accessor :next_page_token
3780
3793
 
3794
+ # Locations that could not be reached.
3795
+ # Corresponds to the JSON property `unreachable`
3796
+ # @return [Array<String>]
3797
+ attr_accessor :unreachable
3798
+
3781
3799
  def initialize(**args)
3782
3800
  update!(**args)
3783
3801
  end
@@ -3786,6 +3804,7 @@ module Google
3786
3804
  def update!(**args)
3787
3805
  @managed_zones = args[:managed_zones] if args.key?(:managed_zones)
3788
3806
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3807
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3789
3808
  end
3790
3809
  end
3791
3810
 
@@ -6320,6 +6339,49 @@ module Google
6320
6339
  end
6321
6340
  end
6322
6341
 
6342
+ # * TrafficShapingConfig defines the configuration for shaping API traffic by
6343
+ # specifying a quota limit and the duration over which this limit is enforced.
6344
+ # This configuration helps to control and manage the rate at which API calls are
6345
+ # made on the client side, preventing service overload on the backend. For
6346
+ # example: - if the quota limit is 100 calls per 10 seconds, then the message
6347
+ # would be: ` quota_limit: 100 duration: ` seconds: 10 ` ` - if the quota limit
6348
+ # is 100 calls per 5 minutes, then the message would be: ` quota_limit: 100
6349
+ # duration: ` seconds: 300 ` ` - if the quota limit is 10000 calls per day, then
6350
+ # the message would be: ` quota_limit: 10000 duration: ` seconds: 86400 ` and so
6351
+ # on.
6352
+ class TrafficShapingConfig
6353
+ include Google::Apis::Core::Hashable
6354
+
6355
+ # Required. * The duration over which the API call quota limits are calculated.
6356
+ # This duration is used to define the time window for evaluating if the number
6357
+ # of API calls made by a user is within the allowed quota limits. For example: -
6358
+ # To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a
6359
+ # quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a
6360
+ # quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It
6361
+ # is important to note that this duration is not the time the quota is valid for,
6362
+ # but rather the time window over which the quota is evaluated. For example, if
6363
+ # the quota is 100 calls per 10 seconds, then this duration field would be set
6364
+ # to 10 seconds.
6365
+ # Corresponds to the JSON property `duration`
6366
+ # @return [String]
6367
+ attr_accessor :duration
6368
+
6369
+ # Required. Maximum number of api calls allowed.
6370
+ # Corresponds to the JSON property `quotaLimit`
6371
+ # @return [Fixnum]
6372
+ attr_accessor :quota_limit
6373
+
6374
+ def initialize(**args)
6375
+ update!(**args)
6376
+ end
6377
+
6378
+ # Update properties of this object
6379
+ def update!(**args)
6380
+ @duration = args[:duration] if args.key?(:duration)
6381
+ @quota_limit = args[:quota_limit] if args.key?(:quota_limit)
6382
+ end
6383
+ end
6384
+
6323
6385
  # Maintenance policy applicable to instance updates.
6324
6386
  class UpdatePolicy
6325
6387
  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.67.0"
19
+ GEM_VERSION = "0.69.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250218"
25
+ REVISION = "20250327"
26
26
  end
27
27
  end
28
28
  end
@@ -874,6 +874,12 @@ module Google
874
874
  include Google::Apis::Core::JsonObjectSupport
875
875
  end
876
876
 
877
+ class TrafficShapingConfig
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
877
883
  class UpdatePolicy
878
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
885
 
@@ -1140,6 +1146,8 @@ module Google
1140
1146
  property :subscription_type, as: 'subscriptionType'
1141
1147
  property :suspended, as: 'suspended'
1142
1148
  property :tls_service_directory, as: 'tlsServiceDirectory'
1149
+ collection :traffic_shaping_configs, as: 'trafficShapingConfigs', class: Google::Apis::ConnectorsV1::TrafficShapingConfig, decorator: Google::Apis::ConnectorsV1::TrafficShapingConfig::Representation
1150
+
1143
1151
  property :update_time, as: 'updateTime'
1144
1152
  end
1145
1153
  end
@@ -1203,6 +1211,7 @@ module Google
1203
1211
  property :migrate_deployment_model, as: 'migrateDeploymentModel'
1204
1212
  property :migrate_tls, as: 'migrateTls'
1205
1213
  property :provision_cloud_spanner, as: 'provisionCloudSpanner'
1214
+ property :provision_memstore, as: 'provisionMemstore'
1206
1215
  property :ratelimit_threshold, :numeric_string => true, as: 'ratelimitThreshold'
1207
1216
  property :resource_limits, as: 'resourceLimits', class: Google::Apis::ConnectorsV1::ResourceLimits, decorator: Google::Apis::ConnectorsV1::ResourceLimits::Representation
1208
1217
 
@@ -1890,6 +1899,7 @@ module Google
1890
1899
  collection :managed_zones, as: 'managedZones', class: Google::Apis::ConnectorsV1::ManagedZone, decorator: Google::Apis::ConnectorsV1::ManagedZone::Representation
1891
1900
 
1892
1901
  property :next_page_token, as: 'nextPageToken'
1902
+ collection :unreachable, as: 'unreachable'
1893
1903
  end
1894
1904
  end
1895
1905
 
@@ -2578,6 +2588,14 @@ module Google
2578
2588
  end
2579
2589
  end
2580
2590
 
2591
+ class TrafficShapingConfig
2592
+ # @private
2593
+ class Representation < Google::Apis::Core::JsonRepresentation
2594
+ property :duration, as: 'duration'
2595
+ property :quota_limit, :numeric_string => true, as: 'quotaLimit'
2596
+ end
2597
+ end
2598
+
2581
2599
  class UpdatePolicy
2582
2600
  # @private
2583
2601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -147,6 +147,9 @@ module Google
147
147
  # Lists information about the supported locations for this service.
148
148
  # @param [String] name
149
149
  # The resource that owns the locations collection, if applicable.
150
+ # @param [Array<String>, String] extra_location_types
151
+ # Optional. A list of extra location types that should be used as conditions for
152
+ # controlling the visibility of the locations.
150
153
  # @param [String] filter
151
154
  # A filter to narrow down results to a preferred subset. The filtering language
152
155
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -174,11 +177,12 @@ module Google
174
177
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
178
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
179
  # @raise [Google::Apis::AuthorizationError] Authorization is required
177
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
180
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
178
181
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
179
182
  command.response_representation = Google::Apis::ConnectorsV1::ListLocationsResponse::Representation
180
183
  command.response_class = Google::Apis::ConnectorsV1::ListLocationsResponse
181
184
  command.params['name'] = name unless name.nil?
185
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
182
186
  command.query['filter'] = filter unless filter.nil?
183
187
  command.query['pageSize'] = page_size unless page_size.nil?
184
188
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -2001,6 +2005,9 @@ module Google
2001
2005
  # Page size.
2002
2006
  # @param [String] page_token
2003
2007
  # Page token.
2008
+ # @param [Boolean] return_partial_success
2009
+ # Optional. If true, allow partial responses for multi-regional Aggregated List
2010
+ # requests.
2004
2011
  # @param [String] fields
2005
2012
  # Selector specifying which fields to include in a partial response.
2006
2013
  # @param [String] quota_user
@@ -2018,7 +2025,7 @@ module Google
2018
2025
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2019
2026
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2020
2027
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2021
- def list_project_location_global_managed_zones(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2028
+ def list_project_location_global_managed_zones(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2022
2029
  command = make_simple_command(:get, 'v1/{+parent}/managedZones', options)
2023
2030
  command.response_representation = Google::Apis::ConnectorsV1::ListManagedZonesResponse::Representation
2024
2031
  command.response_class = Google::Apis::ConnectorsV1::ListManagedZonesResponse
@@ -2027,6 +2034,7 @@ module Google
2027
2034
  command.query['orderBy'] = order_by unless order_by.nil?
2028
2035
  command.query['pageSize'] = page_size unless page_size.nil?
2029
2036
  command.query['pageToken'] = page_token unless page_token.nil?
2037
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2030
2038
  command.query['fields'] = fields unless fields.nil?
2031
2039
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2032
2040
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-connectors_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.67.0
4
+ version: 0.69.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.67.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.69.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
62
62
  rdoc_options: []
63
63
  require_paths: