Skip to content

Commit 5a693f2

Browse files
feat: Automated regeneration of gkehub v1beta client (googleapis#22041)
Auto-created at 2025-03-09 10:44:35 +0000 using the toys pull request generator.
1 parent 2e48fb8 commit 5a693f2

File tree

5 files changed

+134
-2
lines changed

5 files changed

+134
-2
lines changed

api_names_out.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241400,6 +241400,8 @@
241400241400
"/gkehub:v1beta/ConfigManagementBinauthzVersion/webhookVersion": webhook_version
241401241401
"/gkehub:v1beta/ConfigManagementConfigSync": config_management_config_sync
241402241402
"/gkehub:v1beta/ConfigManagementConfigSync/allowVerticalScale": allow_vertical_scale
241403+
"/gkehub:v1beta/ConfigManagementConfigSync/deploymentOverrides": deployment_overrides
241404+
"/gkehub:v1beta/ConfigManagementConfigSync/deploymentOverrides/deployment_override": deployment_override
241403241405
"/gkehub:v1beta/ConfigManagementConfigSync/enabled": enabled
241404241406
"/gkehub:v1beta/ConfigManagementConfigSync/git": git
241405241407
"/gkehub:v1beta/ConfigManagementConfigSync/managed": managed
@@ -241443,10 +241445,21 @@
241443241445
"/gkehub:v1beta/ConfigManagementConfigSyncVersion/resourceGroupControllerManager": resource_group_controller_manager
241444241446
"/gkehub:v1beta/ConfigManagementConfigSyncVersion/rootReconciler": root_reconciler
241445241447
"/gkehub:v1beta/ConfigManagementConfigSyncVersion/syncer": syncer
241448+
"/gkehub:v1beta/ConfigManagementContainerOverride": config_management_container_override
241449+
"/gkehub:v1beta/ConfigManagementContainerOverride/containerName": container_name
241450+
"/gkehub:v1beta/ConfigManagementContainerOverride/cpuLimit": cpu_limit
241451+
"/gkehub:v1beta/ConfigManagementContainerOverride/cpuRequest": cpu_request
241452+
"/gkehub:v1beta/ConfigManagementContainerOverride/memoryLimit": memory_limit
241453+
"/gkehub:v1beta/ConfigManagementContainerOverride/memoryRequest": memory_request
241446241454
"/gkehub:v1beta/ConfigManagementContainerResourceRequirements": config_management_container_resource_requirements
241447241455
"/gkehub:v1beta/ConfigManagementContainerResourceRequirements/containerName": container_name
241448241456
"/gkehub:v1beta/ConfigManagementContainerResourceRequirements/cpuLimit": cpu_limit
241449241457
"/gkehub:v1beta/ConfigManagementContainerResourceRequirements/memoryLimit": memory_limit
241458+
"/gkehub:v1beta/ConfigManagementDeploymentOverride": config_management_deployment_override
241459+
"/gkehub:v1beta/ConfigManagementDeploymentOverride/containers": containers
241460+
"/gkehub:v1beta/ConfigManagementDeploymentOverride/containers/container": container
241461+
"/gkehub:v1beta/ConfigManagementDeploymentOverride/deploymentName": deployment_name
241462+
"/gkehub:v1beta/ConfigManagementDeploymentOverride/deploymentNamespace": deployment_namespace
241450241463
"/gkehub:v1beta/ConfigManagementErrorResource": config_management_error_resource
241451241464
"/gkehub:v1beta/ConfigManagementErrorResource/resourceGvk": resource_gvk
241452241465
"/gkehub:v1beta/ConfigManagementErrorResource/resourceName": resource_name

generated/google-apis-gkehub_v1beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-gkehub_v1beta
22

3+
### v0.82.0 (2025-03-09)
4+
5+
* Regenerated from discovery document revision 20250302
6+
37
### v0.81.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250209

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/classes.rb

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,11 @@ def update!(**args)
941941
class ConfigManagementConfigSync
942942
include Google::Apis::Core::Hashable
943943

944+
# Optional. Configuration for deployment overrides.
945+
# Corresponds to the JSON property `deploymentOverrides`
946+
# @return [Array<Google::Apis::GkehubV1beta::ConfigManagementDeploymentOverride>]
947+
attr_accessor :deployment_overrides
948+
944949
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
945950
# resources will be created and the other ConfigSync fields will be applied if
946951
# exist. If set to false, all other ConfigSync fields will be ignored,
@@ -1001,6 +1006,7 @@ def initialize(**args)
10011006

10021007
# Update properties of this object
10031008
def update!(**args)
1009+
@deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
10041010
@enabled = args[:enabled] if args.key?(:enabled)
10051011
@git = args[:git] if args.key?(:git)
10061012
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -1233,6 +1239,80 @@ def update!(**args)
12331239
end
12341240
end
12351241

1242+
# Configuration for a container override.
1243+
class ConfigManagementContainerOverride
1244+
include Google::Apis::Core::Hashable
1245+
1246+
# Required. The name of the container.
1247+
# Corresponds to the JSON property `containerName`
1248+
# @return [String]
1249+
attr_accessor :container_name
1250+
1251+
# Optional. The cpu limit of the container.
1252+
# Corresponds to the JSON property `cpuLimit`
1253+
# @return [String]
1254+
attr_accessor :cpu_limit
1255+
1256+
# Optional. The cpu request of the container.
1257+
# Corresponds to the JSON property `cpuRequest`
1258+
# @return [String]
1259+
attr_accessor :cpu_request
1260+
1261+
# Optional. The memory limit of the container.
1262+
# Corresponds to the JSON property `memoryLimit`
1263+
# @return [String]
1264+
attr_accessor :memory_limit
1265+
1266+
# Optional. The memory request of the container.
1267+
# Corresponds to the JSON property `memoryRequest`
1268+
# @return [String]
1269+
attr_accessor :memory_request
1270+
1271+
def initialize(**args)
1272+
update!(**args)
1273+
end
1274+
1275+
# Update properties of this object
1276+
def update!(**args)
1277+
@container_name = args[:container_name] if args.key?(:container_name)
1278+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
1279+
@cpu_request = args[:cpu_request] if args.key?(:cpu_request)
1280+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
1281+
@memory_request = args[:memory_request] if args.key?(:memory_request)
1282+
end
1283+
end
1284+
1285+
# Configuration for a deployment override.
1286+
class ConfigManagementDeploymentOverride
1287+
include Google::Apis::Core::Hashable
1288+
1289+
# Optional. The containers of the deployment resource to be overridden.
1290+
# Corresponds to the JSON property `containers`
1291+
# @return [Array<Google::Apis::GkehubV1beta::ConfigManagementContainerOverride>]
1292+
attr_accessor :containers
1293+
1294+
# Required. The name of the deployment resource to be overridden.
1295+
# Corresponds to the JSON property `deploymentName`
1296+
# @return [String]
1297+
attr_accessor :deployment_name
1298+
1299+
# Required. The namespace of the deployment resource to be overridden..
1300+
# Corresponds to the JSON property `deploymentNamespace`
1301+
# @return [String]
1302+
attr_accessor :deployment_namespace
1303+
1304+
def initialize(**args)
1305+
update!(**args)
1306+
end
1307+
1308+
# Update properties of this object
1309+
def update!(**args)
1310+
@containers = args[:containers] if args.key?(:containers)
1311+
@deployment_name = args[:deployment_name] if args.key?(:deployment_name)
1312+
@deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
1313+
end
1314+
end
1315+
12361316
# Model for a config file in the git repo with an associated Sync error
12371317
class ConfigManagementErrorResource
12381318
include Google::Apis::Core::Hashable

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkehubV1beta
1818
# Version of the google-apis-gkehub_v1beta gem
19-
GEM_VERSION = "0.81.0"
19+
GEM_VERSION = "0.82.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250209"
25+
REVISION = "20250302"
2626
end
2727
end
2828
end

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/representations.rb

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
226226
include Google::Apis::Core::JsonObjectSupport
227227
end
228228

229+
class ConfigManagementContainerOverride
230+
class Representation < Google::Apis::Core::JsonRepresentation; end
231+
232+
include Google::Apis::Core::JsonObjectSupport
233+
end
234+
235+
class ConfigManagementDeploymentOverride
236+
class Representation < Google::Apis::Core::JsonRepresentation; end
237+
238+
include Google::Apis::Core::JsonObjectSupport
239+
end
240+
229241
class ConfigManagementErrorResource
230242
class Representation < Google::Apis::Core::JsonRepresentation; end
231243

@@ -1276,6 +1288,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
12761288
class ConfigManagementConfigSync
12771289
# @private
12781290
class Representation < Google::Apis::Core::JsonRepresentation
1291+
collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV1beta::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV1beta::ConfigManagementDeploymentOverride::Representation
1292+
12791293
property :enabled, as: 'enabled'
12801294
property :git, as: 'git', class: Google::Apis::GkehubV1beta::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1beta::ConfigManagementGitConfig::Representation
12811295

@@ -1344,6 +1358,27 @@ class Representation < Google::Apis::Core::JsonRepresentation
13441358
end
13451359
end
13461360

1361+
class ConfigManagementContainerOverride
1362+
# @private
1363+
class Representation < Google::Apis::Core::JsonRepresentation
1364+
property :container_name, as: 'containerName'
1365+
property :cpu_limit, as: 'cpuLimit'
1366+
property :cpu_request, as: 'cpuRequest'
1367+
property :memory_limit, as: 'memoryLimit'
1368+
property :memory_request, as: 'memoryRequest'
1369+
end
1370+
end
1371+
1372+
class ConfigManagementDeploymentOverride
1373+
# @private
1374+
class Representation < Google::Apis::Core::JsonRepresentation
1375+
collection :containers, as: 'containers', class: Google::Apis::GkehubV1beta::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV1beta::ConfigManagementContainerOverride::Representation
1376+
1377+
property :deployment_name, as: 'deploymentName'
1378+
property :deployment_namespace, as: 'deploymentNamespace'
1379+
end
1380+
end
1381+
13471382
class ConfigManagementErrorResource
13481383
# @private
13491384
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)