Skip to content

Commit 7400b64

Browse files
feat: Automated regeneration of gkehub v1alpha client (googleapis#22022)
Auto-created at 2025-03-09 10:26:31 +0000 using the toys pull request generator.
1 parent 3d1cf8a commit 7400b64

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
@@ -239935,6 +239935,8 @@
239935239935
"/gkehub:v1alpha/ConfigManagementBinauthzVersion/webhookVersion": webhook_version
239936239936
"/gkehub:v1alpha/ConfigManagementConfigSync": config_management_config_sync
239937239937
"/gkehub:v1alpha/ConfigManagementConfigSync/allowVerticalScale": allow_vertical_scale
239938+
"/gkehub:v1alpha/ConfigManagementConfigSync/deploymentOverrides": deployment_overrides
239939+
"/gkehub:v1alpha/ConfigManagementConfigSync/deploymentOverrides/deployment_override": deployment_override
239938239940
"/gkehub:v1alpha/ConfigManagementConfigSync/enabled": enabled
239939239941
"/gkehub:v1alpha/ConfigManagementConfigSync/git": git
239940239942
"/gkehub:v1alpha/ConfigManagementConfigSync/managed": managed
@@ -239978,10 +239980,21 @@
239978239980
"/gkehub:v1alpha/ConfigManagementConfigSyncVersion/resourceGroupControllerManager": resource_group_controller_manager
239979239981
"/gkehub:v1alpha/ConfigManagementConfigSyncVersion/rootReconciler": root_reconciler
239980239982
"/gkehub:v1alpha/ConfigManagementConfigSyncVersion/syncer": syncer
239983+
"/gkehub:v1alpha/ConfigManagementContainerOverride": config_management_container_override
239984+
"/gkehub:v1alpha/ConfigManagementContainerOverride/containerName": container_name
239985+
"/gkehub:v1alpha/ConfigManagementContainerOverride/cpuLimit": cpu_limit
239986+
"/gkehub:v1alpha/ConfigManagementContainerOverride/cpuRequest": cpu_request
239987+
"/gkehub:v1alpha/ConfigManagementContainerOverride/memoryLimit": memory_limit
239988+
"/gkehub:v1alpha/ConfigManagementContainerOverride/memoryRequest": memory_request
239981239989
"/gkehub:v1alpha/ConfigManagementContainerResourceRequirements": config_management_container_resource_requirements
239982239990
"/gkehub:v1alpha/ConfigManagementContainerResourceRequirements/containerName": container_name
239983239991
"/gkehub:v1alpha/ConfigManagementContainerResourceRequirements/cpuLimit": cpu_limit
239984239992
"/gkehub:v1alpha/ConfigManagementContainerResourceRequirements/memoryLimit": memory_limit
239993+
"/gkehub:v1alpha/ConfigManagementDeploymentOverride": config_management_deployment_override
239994+
"/gkehub:v1alpha/ConfigManagementDeploymentOverride/containers": containers
239995+
"/gkehub:v1alpha/ConfigManagementDeploymentOverride/containers/container": container
239996+
"/gkehub:v1alpha/ConfigManagementDeploymentOverride/deploymentName": deployment_name
239997+
"/gkehub:v1alpha/ConfigManagementDeploymentOverride/deploymentNamespace": deployment_namespace
239985239998
"/gkehub:v1alpha/ConfigManagementErrorResource": config_management_error_resource
239986239999
"/gkehub:v1alpha/ConfigManagementErrorResource/resourceGvk": resource_gvk
239987240000
"/gkehub:v1alpha/ConfigManagementErrorResource/resourceName": resource_name

generated/google-apis-gkehub_v1alpha/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_v1alpha
22

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

59
* Regenerated from discovery document revision 20250209

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

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

1107+
# Optional. Configuration for deployment overrides.
1108+
# Corresponds to the JSON property `deploymentOverrides`
1109+
# @return [Array<Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride>]
1110+
attr_accessor :deployment_overrides
1111+
11071112
# Optional. Enables the installation of ConfigSync. If set to true, ConfigSync
11081113
# resources will be created and the other ConfigSync fields will be applied if
11091114
# exist. If set to false, all other ConfigSync fields will be ignored,
@@ -1164,6 +1169,7 @@ def initialize(**args)
11641169

11651170
# Update properties of this object
11661171
def update!(**args)
1172+
@deployment_overrides = args[:deployment_overrides] if args.key?(:deployment_overrides)
11671173
@enabled = args[:enabled] if args.key?(:enabled)
11681174
@git = args[:git] if args.key?(:git)
11691175
@metrics_gcp_service_account_email = args[:metrics_gcp_service_account_email] if args.key?(:metrics_gcp_service_account_email)
@@ -1396,6 +1402,80 @@ def update!(**args)
13961402
end
13971403
end
13981404

1405+
# Configuration for a container override.
1406+
class ConfigManagementContainerOverride
1407+
include Google::Apis::Core::Hashable
1408+
1409+
# Required. The name of the container.
1410+
# Corresponds to the JSON property `containerName`
1411+
# @return [String]
1412+
attr_accessor :container_name
1413+
1414+
# Optional. The cpu limit of the container.
1415+
# Corresponds to the JSON property `cpuLimit`
1416+
# @return [String]
1417+
attr_accessor :cpu_limit
1418+
1419+
# Optional. The cpu request of the container.
1420+
# Corresponds to the JSON property `cpuRequest`
1421+
# @return [String]
1422+
attr_accessor :cpu_request
1423+
1424+
# Optional. The memory limit of the container.
1425+
# Corresponds to the JSON property `memoryLimit`
1426+
# @return [String]
1427+
attr_accessor :memory_limit
1428+
1429+
# Optional. The memory request of the container.
1430+
# Corresponds to the JSON property `memoryRequest`
1431+
# @return [String]
1432+
attr_accessor :memory_request
1433+
1434+
def initialize(**args)
1435+
update!(**args)
1436+
end
1437+
1438+
# Update properties of this object
1439+
def update!(**args)
1440+
@container_name = args[:container_name] if args.key?(:container_name)
1441+
@cpu_limit = args[:cpu_limit] if args.key?(:cpu_limit)
1442+
@cpu_request = args[:cpu_request] if args.key?(:cpu_request)
1443+
@memory_limit = args[:memory_limit] if args.key?(:memory_limit)
1444+
@memory_request = args[:memory_request] if args.key?(:memory_request)
1445+
end
1446+
end
1447+
1448+
# Configuration for a deployment override.
1449+
class ConfigManagementDeploymentOverride
1450+
include Google::Apis::Core::Hashable
1451+
1452+
# Optional. The containers of the deployment resource to be overridden.
1453+
# Corresponds to the JSON property `containers`
1454+
# @return [Array<Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride>]
1455+
attr_accessor :containers
1456+
1457+
# Required. The name of the deployment resource to be overridden.
1458+
# Corresponds to the JSON property `deploymentName`
1459+
# @return [String]
1460+
attr_accessor :deployment_name
1461+
1462+
# Required. The namespace of the deployment resource to be overridden..
1463+
# Corresponds to the JSON property `deploymentNamespace`
1464+
# @return [String]
1465+
attr_accessor :deployment_namespace
1466+
1467+
def initialize(**args)
1468+
update!(**args)
1469+
end
1470+
1471+
# Update properties of this object
1472+
def update!(**args)
1473+
@containers = args[:containers] if args.key?(:containers)
1474+
@deployment_name = args[:deployment_name] if args.key?(:deployment_name)
1475+
@deployment_namespace = args[:deployment_namespace] if args.key?(:deployment_namespace)
1476+
end
1477+
end
1478+
13991479
# Model for a config file in the git repo with an associated Sync error
14001480
class ConfigManagementErrorResource
14011481
include Google::Apis::Core::Hashable

generated/google-apis-gkehub_v1alpha/lib/google/apis/gkehub_v1alpha/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 GkehubV1alpha
1818
# Version of the google-apis-gkehub_v1alpha gem
19-
GEM_VERSION = "0.87.0"
19+
GEM_VERSION = "0.88.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_v1alpha/lib/google/apis/gkehub_v1alpha/representations.rb

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
250250
include Google::Apis::Core::JsonObjectSupport
251251
end
252252

253+
class ConfigManagementContainerOverride
254+
class Representation < Google::Apis::Core::JsonRepresentation; end
255+
256+
include Google::Apis::Core::JsonObjectSupport
257+
end
258+
259+
class ConfigManagementDeploymentOverride
260+
class Representation < Google::Apis::Core::JsonRepresentation; end
261+
262+
include Google::Apis::Core::JsonObjectSupport
263+
end
264+
253265
class ConfigManagementErrorResource
254266
class Representation < Google::Apis::Core::JsonRepresentation; end
255267

@@ -1444,6 +1456,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
14441456
class ConfigManagementConfigSync
14451457
# @private
14461458
class Representation < Google::Apis::Core::JsonRepresentation
1459+
collection :deployment_overrides, as: 'deploymentOverrides', class: Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride, decorator: Google::Apis::GkehubV1alpha::ConfigManagementDeploymentOverride::Representation
1460+
14471461
property :enabled, as: 'enabled'
14481462
property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
14491463

@@ -1512,6 +1526,27 @@ class Representation < Google::Apis::Core::JsonRepresentation
15121526
end
15131527
end
15141528

1529+
class ConfigManagementContainerOverride
1530+
# @private
1531+
class Representation < Google::Apis::Core::JsonRepresentation
1532+
property :container_name, as: 'containerName'
1533+
property :cpu_limit, as: 'cpuLimit'
1534+
property :cpu_request, as: 'cpuRequest'
1535+
property :memory_limit, as: 'memoryLimit'
1536+
property :memory_request, as: 'memoryRequest'
1537+
end
1538+
end
1539+
1540+
class ConfigManagementDeploymentOverride
1541+
# @private
1542+
class Representation < Google::Apis::Core::JsonRepresentation
1543+
collection :containers, as: 'containers', class: Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride, decorator: Google::Apis::GkehubV1alpha::ConfigManagementContainerOverride::Representation
1544+
1545+
property :deployment_name, as: 'deploymentName'
1546+
property :deployment_namespace, as: 'deploymentNamespace'
1547+
end
1548+
end
1549+
15151550
class ConfigManagementErrorResource
15161551
# @private
15171552
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)