google-apis-gkehub_v1 0.82.0 → 0.83.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: 54f2c5e872fafb605db943e6afa9258d61f90ae425dac9f3fd6d801388531200
4
- data.tar.gz: 8b3d1c455dcb6337f249ecb192b75dfd50db7a8d166701fb15deb39b38067fdf
3
+ metadata.gz: 9e8f8cb759f6f6dd787a1902c8983b860c945f4354abd4f63ad65490232e3771
4
+ data.tar.gz: e57fd68c2728de6cbc9b4a34460f52e1db0e61dae3614f994eed69658320c5b1
5
5
  SHA512:
6
- metadata.gz: f90b3e1ce988c54f18ffa0ed9366e0e9a68abddb3afa11a50c8bd32488cd683b1ca1b2bf8b93f154c20a75fd63d395e638ffb78229deefb6d3a02b45fe85fbeb
7
- data.tar.gz: 6b0f3a6809f459588aab53d74914fcc364b70dbd973f7ef4712b31704f5ae7590c485629dc8521a00f3bc5558109083ab0fe41d0b60fd41e2453e9d7c3f66569
6
+ metadata.gz: 9aac0e30d1e195b0118d1742d26ac7528ed991a4a6f7b8b05f5c6dc40cf65931e08277ed9236e47dfd7dd83249e2b4dd5167adc7b3e7720a25bee3cf61226741
7
+ data.tar.gz: f553ddcda0474576ff01191fb1743bcdf65f1c3fbd955997ca720444d72f882a3cb89cbfe2157f8a48bbcec6ac314cdd39c2fe0f2a985f3949c8204f960d1017
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.83.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250302
6
+
3
7
  ### v0.82.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250209
@@ -877,6 +877,11 @@ module Google
877
877
  class ConfigManagementConfigSync
878
878
  include Google::Apis::Core::Hashable
879
879
 
880
+ # Optional. Configuration for deployment overrides.
881
+ # Corresponds to the JSON property `deploymentOverrides`
882
+ # @return [Array<Google::Apis::GkehubV1::ConfigManagementDeploymentOverride>]
883
+ attr_accessor :deployment_overrides
884
+
880
885
  # Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
881
886
  # resources will be created and the other ConfigSync fields will be applied if
882
887
  # exist. If set to false, all other ConfigSync fields will be ignored,
@@ -937,6 +942,7 @@ module Google
937
942
 
938
943
  # Update properties of this object
939
944
  def update!(**args)
945
+ @deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
940
946
  @enabled = args[:enabled] if args.key?(:enabled)
941
947
  @git = args[:git] if args.key?(:git)
942
948
  @metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -1169,6 +1175,80 @@ module Google
1169
1175
  end
1170
1176
  end
1171
1177
 
1178
+ # Configuration for a container override.
1179
+ class ConfigManagementContainerOverride
1180
+ include Google::Apis::Core::Hashable
1181
+
1182
+ # Required. The name of the container.
1183
+ # Corresponds to the JSON property `containerName`
1184
+ # @return [String]
1185
+ attr_accessor :container_name
1186
+
1187
+ # Optional. The cpu limit of the container.
1188
+ # Corresponds to the JSON property `cpuLimit`
1189
+ # @return [String]
1190
+ attr_accessor :cpu_limit
1191
+
1192
+ # Optional. The cpu request of the container.
1193
+ # Corresponds to the JSON property `cpuRequest`
1194
+ # @return [String]
1195
+ attr_accessor :cpu_request
1196
+
1197
+ # Optional. The memory limit of the container.
1198
+ # Corresponds to the JSON property `memoryLimit`
1199
+ # @return [String]
1200
+ attr_accessor :memory_limit
1201
+
1202
+ # Optional. The memory request of the container.
1203
+ # Corresponds to the JSON property `memoryRequest`
1204
+ # @return [String]
1205
+ attr_accessor :memory_request
1206
+
1207
+ def initialize(**args)
1208
+ update!(**args)
1209
+ end
1210
+
1211
+ # Update properties of this object
1212
+ def update!(**args)
1213
+ @container_name = args[:container_name] if args.key?(:container_name)
1214
+ @cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
1215
+ @cpu_request = args[:cpu_request] if args.key?(:cpu_request)
1216
+ @memory_limit = args[:memory_limit] if args.key?(:memory_limit)
1217
+ @memory_request = args[:memory_request] if args.key?(:memory_request)
1218
+ end
1219
+ end
1220
+
1221
+ # Configuration for a deployment override.
1222
+ class ConfigManagementDeploymentOverride
1223
+ include Google::Apis::Core::Hashable
1224
+
1225
+ # Optional. The containers of the deployment resource to be overridden.
1226
+ # Corresponds to the JSON property `containers`
1227
+ # @return [Array<Google::Apis::GkehubV1::ConfigManagementContainerOverride>]
1228
+ attr_accessor :containers
1229
+
1230
+ # Required. The name of the deployment resource to be overridden.
1231
+ # Corresponds to the JSON property `deploymentName`
1232
+ # @return [String]
1233
+ attr_accessor :deployment_name
1234
+
1235
+ # Required. The namespace of the deployment resource to be overridden..
1236
+ # Corresponds to the JSON property `deploymentNamespace`
1237
+ # @return [String]
1238
+ attr_accessor :deployment_namespace
1239
+
1240
+ def initialize(**args)
1241
+ update!(**args)
1242
+ end
1243
+
1244
+ # Update properties of this object
1245
+ def update!(**args)
1246
+ @containers = args[:containers] if args.key?(:containers)
1247
+ @deployment_name = args[:deployment_name] if args.key?(:deployment_name)
1248
+ @deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
1249
+ end
1250
+ end
1251
+
1172
1252
  # Model for a config file in the git repo with an associated Sync error
1173
1253
  class ConfigManagementErrorResource
1174
1254
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.83.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 = "20250209"
25
+ REVISION = "20250302"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,18 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class ConfigManagementContainerOverride
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ConfigManagementDeploymentOverride
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class ConfigManagementErrorResource
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -1223,6 +1235,8 @@ module Google
1223
1235
  class ConfigManagementConfigSync
1224
1236
  # @private
1225
1237
  class Representation < Google::Apis::Core::JsonRepresentation
1238
+ collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV1::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV1::ConfigManagementDeploymentOverride::Representation
1239
+
1226
1240
  property :enabled, as: 'enabled'
1227
1241
  property :git, as: 'git', class: Google::Apis::GkehubV1::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1::ConfigManagementGitConfig::Representation
1228
1242
 
@@ -1291,6 +1305,27 @@ module Google
1291
1305
  end
1292
1306
  end
1293
1307
 
1308
+ class ConfigManagementContainerOverride
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ property :container_name, as: 'containerName'
1312
+ property :cpu_limit, as: 'cpuLimit'
1313
+ property :cpu_request, as: 'cpuRequest'
1314
+ property :memory_limit, as: 'memoryLimit'
1315
+ property :memory_request, as: 'memoryRequest'
1316
+ end
1317
+ end
1318
+
1319
+ class ConfigManagementDeploymentOverride
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ collection :containers, as: 'containers', class: Google::Apis::GkehubV1::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV1::ConfigManagementContainerOverride::Representation
1323
+
1324
+ property :deployment_name, as: 'deploymentName'
1325
+ property :deployment_namespace, as: 'deploymentNamespace'
1326
+ end
1327
+ end
1328
+
1294
1329
  class ConfigManagementErrorResource
1295
1330
  # @private
1296
1331
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.83.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-09 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-gkehub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.83.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
62
62
  rdoc_options: []
63
63
  require_paths: