google-apis-connectors_v1 0.36.0 → 0.37.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: daeaefc2ec97828eaf9a9289165b37ec8c27bfbcafa1b9403d47813996aecc41
4
- data.tar.gz: 429c1f83e8cf3f45ce5dbb7419ed0fdea315269b2486991a09f40c6163c52241
3
+ metadata.gz: ca56eaf0d0e65c67aae8b7d370d0e4f3495f263b71164b78bb4d7d946d8cf1d1
4
+ data.tar.gz: 56b91ef97dc2c863bdf5271c96c02a6f4906bd1524abb4afc1b6438c4d9696b5
5
5
  SHA512:
6
- metadata.gz: c23effa09a7d083f24b2d8085b886c77049fe7a9f16bf3c0993b262136d47bc6fe0526c60b4faa4e2e09bb0cd09072077c6cc0128bad10c3cfc5b79320928f32
7
- data.tar.gz: 5255cb57d77d7144912e0d34c9ff83ce575d9e8ea0626098baa86b3d796e62ffefa2a79ecb7db25e68c77440a78d6d92e7f2221d25ccdecb982845a4642716f2
6
+ metadata.gz: 88e9a2a6f9d79563692c134466cc5be710d76dcff60d18957b6b6b2193a256ef248ed2356cc186c37587fae1426dfecbae3c525aeecb955bb7f5e4977093ffcb
7
+ data.tar.gz: 1f76a18106c950673b4336f1229ecd0414e00f24a5124c7a30e0839fed741ac8d8acfabf5b14d6d30e1f757ca691e14fc3dd8a754f9d05e48ca30c5873ce4cea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
+ ### v0.37.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230812
6
+
3
7
  ### v0.36.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230806
@@ -836,6 +836,11 @@ module Google
836
836
  class ConnectorInfraConfig
837
837
  include Google::Apis::Core::Hashable
838
838
 
839
+ # Autoscaling config for connector deployment system metrics.
840
+ # Corresponds to the JSON property `hpaConfig`
841
+ # @return [Google::Apis::ConnectorsV1::HpaConfig]
842
+ attr_accessor :hpa_config
843
+
839
844
  # Max QPS supported for internal requests originating from Connd.
840
845
  # Corresponds to the JSON property `internalclientRatelimitThreshold`
841
846
  # @return [Fixnum]
@@ -846,14 +851,27 @@ module Google
846
851
  # @return [Fixnum]
847
852
  attr_accessor :ratelimit_threshold
848
853
 
854
+ # Resource limits defined for connection pods of a given connector type.
855
+ # Corresponds to the JSON property `resourceLimits`
856
+ # @return [Google::Apis::ConnectorsV1::ResourceLimits]
857
+ attr_accessor :resource_limits
858
+
859
+ # Resource requests defined for connection pods of a given connector type.
860
+ # Corresponds to the JSON property `resourceRequests`
861
+ # @return [Google::Apis::ConnectorsV1::ResourceRequests]
862
+ attr_accessor :resource_requests
863
+
849
864
  def initialize(**args)
850
865
  update!(**args)
851
866
  end
852
867
 
853
868
  # Update properties of this object
854
869
  def update!(**args)
870
+ @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
855
871
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
856
872
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
873
+ @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
874
+ @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
857
875
  end
858
876
  end
859
877
 
@@ -989,6 +1007,11 @@ module Google
989
1007
  class ConnectorVersionInfraConfig
990
1008
  include Google::Apis::Core::Hashable
991
1009
 
1010
+ # Autoscaling config for connector deployment system metrics.
1011
+ # Corresponds to the JSON property `hpaConfig`
1012
+ # @return [Google::Apis::ConnectorsV1::HpaConfig]
1013
+ attr_accessor :hpa_config
1014
+
992
1015
  # Output only. Max QPS supported for internal requests originating from Connd.
993
1016
  # Corresponds to the JSON property `internalclientRatelimitThreshold`
994
1017
  # @return [Fixnum]
@@ -1000,14 +1023,27 @@ module Google
1000
1023
  # @return [Fixnum]
1001
1024
  attr_accessor :ratelimit_threshold
1002
1025
 
1026
+ # Resource limits defined for connection pods of a given connector type.
1027
+ # Corresponds to the JSON property `resourceLimits`
1028
+ # @return [Google::Apis::ConnectorsV1::ResourceLimits]
1029
+ attr_accessor :resource_limits
1030
+
1031
+ # Resource requests defined for connection pods of a given connector type.
1032
+ # Corresponds to the JSON property `resourceRequests`
1033
+ # @return [Google::Apis::ConnectorsV1::ResourceRequests]
1034
+ attr_accessor :resource_requests
1035
+
1003
1036
  def initialize(**args)
1004
1037
  update!(**args)
1005
1038
  end
1006
1039
 
1007
1040
  # Update properties of this object
1008
1041
  def update!(**args)
1042
+ @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1009
1043
  @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
1010
1044
  @ratelimit_threshold = args[:ratelimit_threshold] if args.key?(:ratelimit_threshold)
1045
+ @resource_limits = args[:resource_limits] if args.key?(:resource_limits)
1046
+ @resource_requests = args[:resource_requests] if args.key?(:resource_requests)
1011
1047
  end
1012
1048
  end
1013
1049
 
@@ -1954,6 +1990,31 @@ module Google
1954
1990
  end
1955
1991
  end
1956
1992
 
1993
+ # Autoscaling config for connector deployment system metrics.
1994
+ class HpaConfig
1995
+ include Google::Apis::Core::Hashable
1996
+
1997
+ # Output only. Percent CPU utilization where HPA triggers autoscaling.
1998
+ # Corresponds to the JSON property `cpuUtilizationThreshold`
1999
+ # @return [Fixnum]
2000
+ attr_accessor :cpu_utilization_threshold
2001
+
2002
+ # Output only. Percent Memory utilization where HPA triggers autoscaling.
2003
+ # Corresponds to the JSON property `memoryUtilizationThreshold`
2004
+ # @return [Fixnum]
2005
+ attr_accessor :memory_utilization_threshold
2006
+
2007
+ def initialize(**args)
2008
+ update!(**args)
2009
+ end
2010
+
2011
+ # Update properties of this object
2012
+ def update!(**args)
2013
+ @cpu_utilization_threshold = args[:cpu_utilization_threshold] if args.key?(:cpu_utilization_threshold)
2014
+ @memory_utilization_threshold = args[:memory_utilization_threshold] if args.key?(:memory_utilization_threshold)
2015
+ end
2016
+ end
2017
+
1957
2018
  # Header details for a given header to be added to Endpoint.
1958
2019
  class Header
1959
2020
  include Google::Apis::Core::Hashable
@@ -3047,6 +3108,56 @@ module Google
3047
3108
  end
3048
3109
  end
3049
3110
 
3111
+ # Resource limits defined for connection pods of a given connector type.
3112
+ class ResourceLimits
3113
+ include Google::Apis::Core::Hashable
3114
+
3115
+ # Output only. CPU limit.
3116
+ # Corresponds to the JSON property `cpu`
3117
+ # @return [String]
3118
+ attr_accessor :cpu
3119
+
3120
+ # Output only. Memory limit.
3121
+ # Corresponds to the JSON property `memory`
3122
+ # @return [String]
3123
+ attr_accessor :memory
3124
+
3125
+ def initialize(**args)
3126
+ update!(**args)
3127
+ end
3128
+
3129
+ # Update properties of this object
3130
+ def update!(**args)
3131
+ @cpu = args[:cpu] if args.key?(:cpu)
3132
+ @memory = args[:memory] if args.key?(:memory)
3133
+ end
3134
+ end
3135
+
3136
+ # Resource requests defined for connection pods of a given connector type.
3137
+ class ResourceRequests
3138
+ include Google::Apis::Core::Hashable
3139
+
3140
+ # Output only. CPU request.
3141
+ # Corresponds to the JSON property `cpu`
3142
+ # @return [String]
3143
+ attr_accessor :cpu
3144
+
3145
+ # Output only. Memory request.
3146
+ # Corresponds to the JSON property `memory`
3147
+ # @return [String]
3148
+ attr_accessor :memory
3149
+
3150
+ def initialize(**args)
3151
+ update!(**args)
3152
+ end
3153
+
3154
+ # Update properties of this object
3155
+ def update!(**args)
3156
+ @cpu = args[:cpu] if args.key?(:cpu)
3157
+ @memory = args[:memory] if args.key?(:memory)
3158
+ end
3159
+ end
3160
+
3050
3161
  # Metadata of result field.
3051
3162
  class ResultMetadata
3052
3163
  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.36.0"
19
+ GEM_VERSION = "0.37.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 = "20230806"
25
+ REVISION = "20230812"
26
26
  end
27
27
  end
28
28
  end
@@ -262,6 +262,12 @@ module Google
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
+ class HpaConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
265
271
  class Header
266
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
273
 
@@ -442,6 +448,18 @@ module Google
442
448
  include Google::Apis::Core::JsonObjectSupport
443
449
  end
444
450
 
451
+ class ResourceLimits
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class ResourceRequests
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class ResultMetadata
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -746,8 +764,14 @@ module Google
746
764
  class ConnectorInfraConfig
747
765
  # @private
748
766
  class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
768
+
749
769
  property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
750
770
  property :ratelimit_threshold, :numeric_string => true, as: 'ratelimitThreshold'
771
+ property :resource_limits, as: 'resourceLimits', class: Google::Apis::ConnectorsV1::ResourceLimits, decorator: Google::Apis::ConnectorsV1::ResourceLimits::Representation
772
+
773
+ property :resource_requests, as: 'resourceRequests', class: Google::Apis::ConnectorsV1::ResourceRequests, decorator: Google::Apis::ConnectorsV1::ResourceRequests::Representation
774
+
751
775
  end
752
776
  end
753
777
 
@@ -787,8 +811,14 @@ module Google
787
811
  class ConnectorVersionInfraConfig
788
812
  # @private
789
813
  class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :hpa_config, as: 'hpaConfig', class: Google::Apis::ConnectorsV1::HpaConfig, decorator: Google::Apis::ConnectorsV1::HpaConfig::Representation
815
+
790
816
  property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
791
817
  property :ratelimit_threshold, :numeric_string => true, as: 'ratelimitThreshold'
818
+ property :resource_limits, as: 'resourceLimits', class: Google::Apis::ConnectorsV1::ResourceLimits, decorator: Google::Apis::ConnectorsV1::ResourceLimits::Representation
819
+
820
+ property :resource_requests, as: 'resourceRequests', class: Google::Apis::ConnectorsV1::ResourceRequests, decorator: Google::Apis::ConnectorsV1::ResourceRequests::Representation
821
+
792
822
  end
793
823
  end
794
824
 
@@ -1048,6 +1078,14 @@ module Google
1048
1078
  end
1049
1079
  end
1050
1080
 
1081
+ class HpaConfig
1082
+ # @private
1083
+ class Representation < Google::Apis::Core::JsonRepresentation
1084
+ property :cpu_utilization_threshold, :numeric_string => true, as: 'cpuUtilizationThreshold'
1085
+ property :memory_utilization_threshold, :numeric_string => true, as: 'memoryUtilizationThreshold'
1086
+ end
1087
+ end
1088
+
1051
1089
  class Header
1052
1090
  # @private
1053
1091
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1349,6 +1387,22 @@ module Google
1349
1387
  end
1350
1388
  end
1351
1389
 
1390
+ class ResourceLimits
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :cpu, as: 'cpu'
1394
+ property :memory, as: 'memory'
1395
+ end
1396
+ end
1397
+
1398
+ class ResourceRequests
1399
+ # @private
1400
+ class Representation < Google::Apis::Core::JsonRepresentation
1401
+ property :cpu, as: 'cpu'
1402
+ property :memory, as: 'memory'
1403
+ end
1404
+ end
1405
+
1352
1406
  class ResultMetadata
1353
1407
  # @private
1354
1408
  class Representation < Google::Apis::Core::JsonRepresentation
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.36.0
4
+ version: 0.37.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-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.36.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.37.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.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Connectors API V1