Skip to content

Commit 0cc9697

Browse files
feat: Automated regeneration of container v1 client (#18980)
Auto-created at 2024-05-12 09:14:18 +0000 using the toys pull request generator.
1 parent 6755632 commit 0cc9697

5 files changed

Lines changed: 60 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110521,6 +110521,8 @@
110521110521
"/container:v1/Cluster/resourceLabels": resource_labels
110522110522
"/container:v1/Cluster/resourceLabels/resource_label": resource_label
110523110523
"/container:v1/Cluster/resourceUsageExportConfig": resource_usage_export_config
110524+
"/container:v1/Cluster/satisfiesPzi": satisfies_pzi
110525+
"/container:v1/Cluster/satisfiesPzs": satisfies_pzs
110524110526
"/container:v1/Cluster/securityPostureConfig": security_posture_config
110525110527
"/container:v1/Cluster/selfLink": self_link
110526110528
"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr
@@ -110579,6 +110581,8 @@
110579110581
"/container:v1/ClusterUpdate/desiredMonitoringConfig": desired_monitoring_config
110580110582
"/container:v1/ClusterUpdate/desiredMonitoringService": desired_monitoring_service
110581110583
"/container:v1/ClusterUpdate/desiredNetworkPerformanceConfig": desired_network_performance_config
110584+
"/container:v1/ClusterUpdate/desiredNodeKubeletConfig": desired_node_kubelet_config
110585+
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigKubeletConfig": desired_node_pool_auto_config_kubelet_config
110582110586
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigNetworkTags": desired_node_pool_auto_config_network_tags
110583110587
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigResourceManagerTags": desired_node_pool_auto_config_resource_manager_tags
110584110588
"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling
@@ -110907,6 +110911,7 @@
110907110911
"/container:v1/NodeConfigDefaults/containerdConfig": containerd_config
110908110912
"/container:v1/NodeConfigDefaults/gcfsConfig": gcfs_config
110909110913
"/container:v1/NodeConfigDefaults/loggingConfig": logging_config
110914+
"/container:v1/NodeConfigDefaults/nodeKubeletConfig": node_kubelet_config
110910110915
"/container:v1/NodeKubeletConfig": node_kubelet_config
110911110916
"/container:v1/NodeKubeletConfig/cpuCfsQuota": cpu_cfs_quota
110912110917
"/container:v1/NodeKubeletConfig/cpuCfsQuotaPeriod": cpu_cfs_quota_period
@@ -110959,6 +110964,7 @@
110959110964
"/container:v1/NodePool/version": version
110960110965
"/container:v1/NodePoolAutoConfig": node_pool_auto_config
110961110966
"/container:v1/NodePoolAutoConfig/networkTags": network_tags
110967+
"/container:v1/NodePoolAutoConfig/nodeKubeletConfig": node_kubelet_config
110962110968
"/container:v1/NodePoolAutoConfig/resourceManagerTags": resource_manager_tags
110963110969
"/container:v1/NodePoolAutoscaling": node_pool_autoscaling
110964110970
"/container:v1/NodePoolAutoscaling/autoprovisioned": autoprovisioned

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

3+
### v0.72.0 (2024-05-12)
4+
5+
* Regenerated from discovery document revision 20240422
6+
37
### v0.71.0 (2024-04-28)
48

59
* Regenerated from discovery document revision 20240409

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,18 @@ class Cluster
12611261
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
12621262
attr_accessor :resource_usage_export_config
12631263

1264+
# Output only. Reserved for future use.
1265+
# Corresponds to the JSON property `satisfiesPzi`
1266+
# @return [Boolean]
1267+
attr_accessor :satisfies_pzi
1268+
alias_method :satisfies_pzi?, :satisfies_pzi
1269+
1270+
# Output only. Reserved for future use.
1271+
# Corresponds to the JSON property `satisfiesPzs`
1272+
# @return [Boolean]
1273+
attr_accessor :satisfies_pzs
1274+
alias_method :satisfies_pzs?, :satisfies_pzs
1275+
12641276
# SecurityPostureConfig defines the flags needed to enable/disable features for
12651277
# the Security Posture API.
12661278
# Corresponds to the JSON property `securityPostureConfig`
@@ -1391,6 +1403,8 @@ def update!(**args)
13911403
@release_channel = args[:release_channel] if args.key?(:release_channel)
13921404
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
13931405
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
1406+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
1407+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13941408
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
13951409
@self_link = args[:self_link] if args.key?(:self_link)
13961410
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@@ -1688,6 +1702,16 @@ class ClusterUpdate
16881702
# @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
16891703
attr_accessor :desired_network_performance_config
16901704

1705+
# Node kubelet configs.
1706+
# Corresponds to the JSON property `desiredNodeKubeletConfig`
1707+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
1708+
attr_accessor :desired_node_kubelet_config
1709+
1710+
# Node kubelet configs.
1711+
# Corresponds to the JSON property `desiredNodePoolAutoConfigKubeletConfig`
1712+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
1713+
attr_accessor :desired_node_pool_auto_config_kubelet_config
1714+
16911715
# Collection of Compute Engine network tags that can be applied to a node's
16921716
# underlying VM instance.
16931717
# Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
@@ -1860,6 +1884,8 @@ def update!(**args)
18601884
@desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
18611885
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
18621886
@desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
1887+
@desired_node_kubelet_config = args[:desired_node_kubelet_config] if args.key?(:desired_node_kubelet_config)
1888+
@desired_node_pool_auto_config_kubelet_config = args[:desired_node_pool_auto_config_kubelet_config] if args.key?(:desired_node_pool_auto_config_kubelet_config)
18631889
@desired_node_pool_auto_config_network_tags = args[:desired_node_pool_auto_config_network_tags] if args.key?(:desired_node_pool_auto_config_network_tags)
18641890
@desired_node_pool_auto_config_resource_manager_tags = args[:desired_node_pool_auto_config_resource_manager_tags] if args.key?(:desired_node_pool_auto_config_resource_manager_tags)
18651891
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
@@ -4325,6 +4351,11 @@ class NodeConfigDefaults
43254351
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
43264352
attr_accessor :logging_config
43274353

4354+
# Node kubelet configs.
4355+
# Corresponds to the JSON property `nodeKubeletConfig`
4356+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
4357+
attr_accessor :node_kubelet_config
4358+
43284359
def initialize(**args)
43294360
update!(**args)
43304361
end
@@ -4334,6 +4365,7 @@ def update!(**args)
43344365
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
43354366
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
43364367
@logging_config = args[:logging_config] if args.key?(:logging_config)
4368+
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
43374369
end
43384370
end
43394371

@@ -4755,6 +4787,11 @@ class NodePoolAutoConfig
47554787
# @return [Google::Apis::ContainerV1::NetworkTags]
47564788
attr_accessor :network_tags
47574789

4790+
# Node kubelet configs.
4791+
# Corresponds to the JSON property `nodeKubeletConfig`
4792+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
4793+
attr_accessor :node_kubelet_config
4794+
47584795
# A map of resource manager tag keys and values to be attached to the nodes for
47594796
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
47604797
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
@@ -4771,6 +4808,7 @@ def initialize(**args)
47714808
# Update properties of this object
47724809
def update!(**args)
47734810
@network_tags = args[:network_tags] if args.key?(:network_tags)
4811+
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
47744812
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
47754813
end
47764814
end

generated/google-apis-container_v1/lib/google/apis/container_v1/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 ContainerV1
1818
# Version of the google-apis-container_v1 gem
19-
GEM_VERSION = "0.71.0"
19+
GEM_VERSION = "0.72.0"
2020

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

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

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,6 +1397,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
13971397
hash :resource_labels, as: 'resourceLabels'
13981398
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation
13991399

1400+
property :satisfies_pzi, as: 'satisfiesPzi'
1401+
property :satisfies_pzs, as: 'satisfiesPzs'
14001402
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation
14011403

14021404
property :self_link, as: 'selfLink'
@@ -1495,6 +1497,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
14951497
property :desired_monitoring_service, as: 'desiredMonitoringService'
14961498
property :desired_network_performance_config, as: 'desiredNetworkPerformanceConfig', class: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig, decorator: Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig::Representation
14971499

1500+
property :desired_node_kubelet_config, as: 'desiredNodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1501+
1502+
property :desired_node_pool_auto_config_kubelet_config, as: 'desiredNodePoolAutoConfigKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1503+
14981504
property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
14991505

15001506
property :desired_node_pool_auto_config_resource_manager_tags, as: 'desiredNodePoolAutoConfigResourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation
@@ -2217,6 +2223,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
22172223

22182224
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::NodePoolLoggingConfig, decorator: Google::Apis::ContainerV1::NodePoolLoggingConfig::Representation
22192225

2226+
property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
2227+
22202228
end
22212229
end
22222230

@@ -2310,6 +2318,8 @@ class NodePoolAutoConfig
23102318
class Representation < Google::Apis::Core::JsonRepresentation
23112319
property :network_tags, as: 'networkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation
23122320

2321+
property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
2322+
23132323
property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation
23142324

23152325
end

0 commit comments

Comments
 (0)