google-apis-connectors_v1 0.35.0 → 0.37.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: c9f500fd0620573a641131c7a92d4ad376f3ba0f41eb44876af0f48d685ae0ba
4
- data.tar.gz: 9d9a307273735bc30205c853f219683479e21e51e7f854fd9b4cdf943da9ee57
3
+ metadata.gz: ca56eaf0d0e65c67aae8b7d370d0e4f3495f263b71164b78bb4d7d946d8cf1d1
4
+ data.tar.gz: 56b91ef97dc2c863bdf5271c96c02a6f4906bd1524abb4afc1b6438c4d9696b5
5
5
  SHA512:
6
- metadata.gz: cc31b5563571c8631f68c384b2b26df5e34e8c86029dec8c6662d1f467f1e070fe6d877b727d1a274e788f47eee99a964e016f3b905f7d0637940e5338095c36
7
- data.tar.gz: 7e33d0c72d0127d3eb09d9999d0e7fd6cc38303f0073b880b3039a3df5c4b25e072bf66194559ed4db60a9c611d50e75e1822f4be367ac621f8855da8fc27c89
6
+ metadata.gz: 88e9a2a6f9d79563692c134466cc5be710d76dcff60d18957b6b6b2193a256ef248ed2356cc186c37587fae1426dfecbae3c525aeecb955bb7f5e4977093ffcb
7
+ data.tar.gz: 1f76a18106c950673b4336f1229ecd0414e00f24a5124c7a30e0839fed741ac8d8acfabf5b14d6d30e1f757ca691e14fc3dd8a754f9d05e48ca30c5873ce4cea
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-connectors_v1
2
2
 
3
- ### v0.35.0 (2023-08-03)
3
+ ### v0.37.0 (2023-08-27)
4
4
 
5
- * Regenerated from discovery document revision 20230724
5
+ * Regenerated from discovery document revision 20230812
6
+
7
+ ### v0.36.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230806
10
+
11
+ ### v0.35.0 (2023-08-06)
12
+
13
+ * Regenerated from discovery document revision 20230801
6
14
 
7
15
  ### v0.34.0 (2023-07-23)
8
16
 
@@ -836,18 +836,42 @@ 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
+
844
+ # Max QPS supported for internal requests originating from Connd.
845
+ # Corresponds to the JSON property `internalclientRatelimitThreshold`
846
+ # @return [Fixnum]
847
+ attr_accessor :internalclient_ratelimit_threshold
848
+
839
849
  # Max QPS supported by the connector version before throttling of requests.
840
850
  # Corresponds to the JSON property `ratelimitThreshold`
841
851
  # @return [Fixnum]
842
852
  attr_accessor :ratelimit_threshold
843
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
+
844
864
  def initialize(**args)
845
865
  update!(**args)
846
866
  end
847
867
 
848
868
  # Update properties of this object
849
869
  def update!(**args)
870
+ @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
871
+ @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
850
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)
851
875
  end
852
876
  end
853
877
 
@@ -983,19 +1007,43 @@ module Google
983
1007
  class ConnectorVersionInfraConfig
984
1008
  include Google::Apis::Core::Hashable
985
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
+
1015
+ # Output only. Max QPS supported for internal requests originating from Connd.
1016
+ # Corresponds to the JSON property `internalclientRatelimitThreshold`
1017
+ # @return [Fixnum]
1018
+ attr_accessor :internalclient_ratelimit_threshold
1019
+
986
1020
  # Output only. Max QPS supported by the connector version before throttling of
987
1021
  # requests.
988
1022
  # Corresponds to the JSON property `ratelimitThreshold`
989
1023
  # @return [Fixnum]
990
1024
  attr_accessor :ratelimit_threshold
991
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
+
992
1036
  def initialize(**args)
993
1037
  update!(**args)
994
1038
  end
995
1039
 
996
1040
  # Update properties of this object
997
1041
  def update!(**args)
1042
+ @hpa_config = args[:hpa_config] if args.key?(:hpa_config)
1043
+ @internalclient_ratelimit_threshold = args[:internalclient_ratelimit_threshold] if args.key?(:internalclient_ratelimit_threshold)
998
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)
999
1047
  end
1000
1048
  end
1001
1049
 
@@ -1942,6 +1990,31 @@ module Google
1942
1990
  end
1943
1991
  end
1944
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
+
1945
2018
  # Header details for a given header to be added to Endpoint.
1946
2019
  class Header
1947
2020
  include Google::Apis::Core::Hashable
@@ -2726,13 +2799,13 @@ module Google
2726
2799
  # @return [String]
2727
2800
  attr_accessor :name
2728
2801
 
2729
- # The normal response of the operation in case of success. If the original
2730
- # method returns no data on success, such as `Delete`, the response is `google.
2731
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
2732
- # the response should be the resource. For other methods, the response should
2733
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
2734
- # example, if the original method name is `TakeSnapshot()`, the inferred
2735
- # response type is `TakeSnapshotResponse`.
2802
+ # The normal, successful response of the operation. If the original method
2803
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
2804
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
2805
+ # response should be the resource. For other methods, the response should have
2806
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
2807
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
2808
+ # `TakeSnapshotResponse`.
2736
2809
  # Corresponds to the JSON property `response`
2737
2810
  # @return [Hash<String,Object>]
2738
2811
  attr_accessor :response
@@ -2821,22 +2894,22 @@ module Google
2821
2894
  # evaluates to `true`. A condition can add constraints based on attributes of
2822
2895
  # the request, the resource, or both. To learn which resources support
2823
2896
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2824
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2897
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
2825
2898
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2826
2899
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2827
2900
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2828
2901
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2829
2902
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
2830
2903
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2831
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2832
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
2833
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2834
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2835
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2836
- # access description: Does not grant access after Sep 2020 expression: request.
2837
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2838
- # a description of IAM and its features, see the [IAM documentation](https://
2839
- # cloud.google.com/iam/docs/).
2904
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
2905
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
2906
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
2907
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
2908
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
2909
+ # title: expirable access description: Does not grant access after Sep 2020
2910
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
2911
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
2912
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2840
2913
  class Policy
2841
2914
  include Google::Apis::Core::Hashable
2842
2915
 
@@ -3035,6 +3108,56 @@ module Google
3035
3108
  end
3036
3109
  end
3037
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
+
3038
3161
  # Metadata of result field.
3039
3162
  class ResultMetadata
3040
3163
  include Google::Apis::Core::Hashable
@@ -3291,22 +3414,22 @@ module Google
3291
3414
  # evaluates to `true`. A condition can add constraints based on attributes of
3292
3415
  # the request, the resource, or both. To learn which resources support
3293
3416
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
3294
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
3417
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
3295
3418
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
3296
3419
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
3297
3420
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
3298
3421
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
3299
3422
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
3300
3423
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
3301
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
3302
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
3303
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
3304
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
3305
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
3306
- # access description: Does not grant access after Sep 2020 expression: request.
3307
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
3308
- # a description of IAM and its features, see the [IAM documentation](https://
3309
- # cloud.google.com/iam/docs/).
3424
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
3425
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
3426
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
3427
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
3428
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
3429
+ # title: expirable access description: Does not grant access after Sep 2020
3430
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
3431
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
3432
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
3310
3433
  # Corresponds to the JSON property `policy`
3311
3434
  # @return [Google::Apis::ConnectorsV1::Policy]
3312
3435
  attr_accessor :policy
@@ -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.35.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 = "20230724"
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,7 +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
+
769
+ property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
749
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
+
750
775
  end
751
776
  end
752
777
 
@@ -786,7 +811,14 @@ module Google
786
811
  class ConnectorVersionInfraConfig
787
812
  # @private
788
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
+
816
+ property :internalclient_ratelimit_threshold, :numeric_string => true, as: 'internalclientRatelimitThreshold'
789
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
+
790
822
  end
791
823
  end
792
824
 
@@ -1046,6 +1078,14 @@ module Google
1046
1078
  end
1047
1079
  end
1048
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
+
1049
1089
  class Header
1050
1090
  # @private
1051
1091
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1347,6 +1387,22 @@ module Google
1347
1387
  end
1348
1388
  end
1349
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
+
1350
1406
  class ResultMetadata
1351
1407
  # @private
1352
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.35.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-06 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.35.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