google-apis-connectors_v1 0.67.0 → 0.68.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: 0c78bef88b0115f1e8f96da24167b0b1b86240386b32fbd021f0406b039bd833
4
+ data.tar.gz: f39b406d05d316b7874996bf5d5161025ef58daf3526736d6ef1fc7876fbb73d
5
5
  SHA512:
6
- metadata.gz: b6ebb394d62b60e8b1801a3c46cae8bd47ea4386443bcebfdbec6a95811343b4470d98ffba60d762d616b67d336b2a1a9aae2722f830a8fba0c73649e73ed079
7
- data.tar.gz: 1a4baa6890b16820b950180e90cbc0f6e72fccafb3b1c8bd7e40f93a31fb9748e88fe0fcb0717d5d2363d4024620bbefcb524dda9a76f3d8f298dd4f1923b53d
6
+ metadata.gz: 922f1ceacfd8df1a6a0fc65cabce67d981dfac3c2b479507cd86fa20723b1b322e9a44538136145bca40d14fb1ac856c7bf265dcbc10a06eb413d87c31c93e3e
7
+ data.tar.gz: 7ecba5c4681c9f1787d3942bab584225b1a1242a77ee7f4bdcf117dca6bd0cc8b4003aea6d385ba5c2b3a15d1aab68622bd701b71a6d71a0e5e43fcbcc083a2e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.68.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250304
6
+
3
7
  ### v0.67.0 (2025-02-26)
4
8
 
5
9
  * 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
@@ -1443,7 +1449,7 @@ module Google
1443
1449
  end
1444
1450
  end
1445
1451
 
1446
- # This cofiguration provides infra configs like rate limit threshold which need
1452
+ # This configuration provides infra configs like rate limit threshold which need
1447
1453
  # to be configurable for every connector version
1448
1454
  class ConnectorVersionInfraConfig
1449
1455
  include Google::Apis::Core::Hashable
@@ -6320,6 +6326,49 @@ module Google
6320
6326
  end
6321
6327
  end
6322
6328
 
6329
+ # * TrafficShapingConfig defines the configuration for shaping API traffic by
6330
+ # specifying a quota limit and the duration over which this limit is enforced.
6331
+ # This configuration helps to control and manage the rate at which API calls are
6332
+ # made on the client side, preventing service overload on the backend. For
6333
+ # example: - if the quota limit is 100 calls per 10 seconds, then the message
6334
+ # would be: ` quota_limit: 100 duration: ` seconds: 10 ` ` - if the quota limit
6335
+ # is 100 calls per 5 minutes, then the message would be: ` quota_limit: 100
6336
+ # duration: ` seconds: 300 ` ` - if the quota limit is 10000 calls per day, then
6337
+ # the message would be: ` quota_limit: 10000 duration: ` seconds: 86400 ` and so
6338
+ # on.
6339
+ class TrafficShapingConfig
6340
+ include Google::Apis::Core::Hashable
6341
+
6342
+ # Required. * The duration over which the API call quota limits are calculated.
6343
+ # This duration is used to define the time window for evaluating if the number
6344
+ # of API calls made by a user is within the allowed quota limits. For example: -
6345
+ # To define a quota sampled over 16 seconds, set `seconds` to 16 - To define a
6346
+ # quota sampled over 5 minutes, set `seconds` to 300 (5 * 60) - To define a
6347
+ # quota sampled over 1 day, set `seconds` to 86400 (24 * 60 * 60) and so on. It
6348
+ # is important to note that this duration is not the time the quota is valid for,
6349
+ # but rather the time window over which the quota is evaluated. For example, if
6350
+ # the quota is 100 calls per 10 seconds, then this duration field would be set
6351
+ # to 10 seconds.
6352
+ # Corresponds to the JSON property `duration`
6353
+ # @return [String]
6354
+ attr_accessor :duration
6355
+
6356
+ # Required. Maximum number of api calls allowed.
6357
+ # Corresponds to the JSON property `quotaLimit`
6358
+ # @return [Fixnum]
6359
+ attr_accessor :quota_limit
6360
+
6361
+ def initialize(**args)
6362
+ update!(**args)
6363
+ end
6364
+
6365
+ # Update properties of this object
6366
+ def update!(**args)
6367
+ @duration = args[:duration] if args.key?(:duration)
6368
+ @quota_limit = args[:quota_limit] if args.key?(:quota_limit)
6369
+ end
6370
+ end
6371
+
6323
6372
  # Maintenance policy applicable to instance updates.
6324
6373
  class UpdatePolicy
6325
6374
  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.68.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 = "20250304"
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
@@ -2578,6 +2586,14 @@ module Google
2578
2586
  end
2579
2587
  end
2580
2588
 
2589
+ class TrafficShapingConfig
2590
+ # @private
2591
+ class Representation < Google::Apis::Core::JsonRepresentation
2592
+ property :duration, as: 'duration'
2593
+ property :quota_limit, :numeric_string => true, as: 'quotaLimit'
2594
+ end
2595
+ end
2596
+
2581
2597
  class UpdatePolicy
2582
2598
  # @private
2583
2599
  class Representation < Google::Apis::Core::JsonRepresentation
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.68.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-03-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.68.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: