Skip to content

Commit

Permalink
feat: Automated regeneration of container v1 client (#18980)
Browse files Browse the repository at this point in the history
Auto-created at 2024-05-12 09:14:18 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed May 12, 2024
1 parent 6755632 commit 0cc9697
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 2 deletions.
6 changes: 6 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110521,6 +110521,8 @@
"/container:v1/Cluster/resourceLabels": resource_labels
"/container:v1/Cluster/resourceLabels/resource_label": resource_label
"/container:v1/Cluster/resourceUsageExportConfig": resource_usage_export_config
"/container:v1/Cluster/satisfiesPzi": satisfies_pzi
"/container:v1/Cluster/satisfiesPzs": satisfies_pzs
"/container:v1/Cluster/securityPostureConfig": security_posture_config
"/container:v1/Cluster/selfLink": self_link
"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr
Expand Down Expand Up @@ -110579,6 +110581,8 @@
"/container:v1/ClusterUpdate/desiredMonitoringConfig": desired_monitoring_config
"/container:v1/ClusterUpdate/desiredMonitoringService": desired_monitoring_service
"/container:v1/ClusterUpdate/desiredNetworkPerformanceConfig": desired_network_performance_config
"/container:v1/ClusterUpdate/desiredNodeKubeletConfig": desired_node_kubelet_config
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigKubeletConfig": desired_node_pool_auto_config_kubelet_config
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigNetworkTags": desired_node_pool_auto_config_network_tags
"/container:v1/ClusterUpdate/desiredNodePoolAutoConfigResourceManagerTags": desired_node_pool_auto_config_resource_manager_tags
"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling
Expand Down Expand Up @@ -110907,6 +110911,7 @@
"/container:v1/NodeConfigDefaults/containerdConfig": containerd_config
"/container:v1/NodeConfigDefaults/gcfsConfig": gcfs_config
"/container:v1/NodeConfigDefaults/loggingConfig": logging_config
"/container:v1/NodeConfigDefaults/nodeKubeletConfig": node_kubelet_config
"/container:v1/NodeKubeletConfig": node_kubelet_config
"/container:v1/NodeKubeletConfig/cpuCfsQuota": cpu_cfs_quota
"/container:v1/NodeKubeletConfig/cpuCfsQuotaPeriod": cpu_cfs_quota_period
Expand Down Expand Up @@ -110959,6 +110964,7 @@
"/container:v1/NodePool/version": version
"/container:v1/NodePoolAutoConfig": node_pool_auto_config
"/container:v1/NodePoolAutoConfig/networkTags": network_tags
"/container:v1/NodePoolAutoConfig/nodeKubeletConfig": node_kubelet_config
"/container:v1/NodePoolAutoConfig/resourceManagerTags": resource_manager_tags
"/container:v1/NodePoolAutoscaling": node_pool_autoscaling
"/container:v1/NodePoolAutoscaling/autoprovisioned": autoprovisioned
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-container_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-container_v1

### v0.72.0 (2024-05-12)

* Regenerated from discovery document revision 20240422

### v0.71.0 (2024-04-28)

* Regenerated from discovery document revision 20240409
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,18 @@ class Cluster
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
attr_accessor :resource_usage_export_config

# Output only. Reserved for future use.
# Corresponds to the JSON property `satisfiesPzi`
# @return [Boolean]
attr_accessor :satisfies_pzi
alias_method :satisfies_pzi?, :satisfies_pzi

# Output only. Reserved for future use.
# Corresponds to the JSON property `satisfiesPzs`
# @return [Boolean]
attr_accessor :satisfies_pzs
alias_method :satisfies_pzs?, :satisfies_pzs

# SecurityPostureConfig defines the flags needed to enable/disable features for
# the Security Posture API.
# Corresponds to the JSON property `securityPostureConfig`
Expand Down Expand Up @@ -1391,6 +1403,8 @@ def update!(**args)
@release_channel = args[:release_channel] if args.key?(:release_channel)
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
@self_link = args[:self_link] if args.key?(:self_link)
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
Expand Down Expand Up @@ -1688,6 +1702,16 @@ class ClusterUpdate
# @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
attr_accessor :desired_network_performance_config

# Node kubelet configs.
# Corresponds to the JSON property `desiredNodeKubeletConfig`
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
attr_accessor :desired_node_kubelet_config

# Node kubelet configs.
# Corresponds to the JSON property `desiredNodePoolAutoConfigKubeletConfig`
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
attr_accessor :desired_node_pool_auto_config_kubelet_config

# Collection of Compute Engine network tags that can be applied to a node's
# underlying VM instance.
# Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
Expand Down Expand Up @@ -1860,6 +1884,8 @@ def update!(**args)
@desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
@desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
@desired_node_kubelet_config = args[:desired_node_kubelet_config] if args.key?(:desired_node_kubelet_config)
@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)
@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)
@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)
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
Expand Down Expand Up @@ -4325,6 +4351,11 @@ class NodeConfigDefaults
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
attr_accessor :logging_config

# Node kubelet configs.
# Corresponds to the JSON property `nodeKubeletConfig`
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
attr_accessor :node_kubelet_config

def initialize(**args)
update!(**args)
end
Expand All @@ -4334,6 +4365,7 @@ def update!(**args)
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
@logging_config = args[:logging_config] if args.key?(:logging_config)
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
end
end

Expand Down Expand Up @@ -4755,6 +4787,11 @@ class NodePoolAutoConfig
# @return [Google::Apis::ContainerV1::NetworkTags]
attr_accessor :network_tags

# Node kubelet configs.
# Corresponds to the JSON property `nodeKubeletConfig`
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
attr_accessor :node_kubelet_config

# A map of resource manager tag keys and values to be attached to the nodes for
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
Expand All @@ -4771,6 +4808,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@network_tags = args[:network_tags] if args.key?(:network_tags)
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ContainerV1
# Version of the google-apis-container_v1 gem
GEM_VERSION = "0.71.0"
GEM_VERSION = "0.72.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240409"
REVISION = "20240422"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
hash :resource_labels, as: 'resourceLabels'
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1::ResourceUsageExportConfig::Representation

property :satisfies_pzi, as: 'satisfiesPzi'
property :satisfies_pzs, as: 'satisfiesPzs'
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1::SecurityPostureConfig::Representation

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

property :desired_node_kubelet_config, as: 'desiredNodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation

property :desired_node_pool_auto_config_kubelet_config, as: 'desiredNodePoolAutoConfigKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation

property :desired_node_pool_auto_config_network_tags, as: 'desiredNodePoolAutoConfigNetworkTags', class: Google::Apis::ContainerV1::NetworkTags, decorator: Google::Apis::ContainerV1::NetworkTags::Representation

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

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

property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation

end
end

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

property :node_kubelet_config, as: 'nodeKubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation

property :resource_manager_tags, as: 'resourceManagerTags', class: Google::Apis::ContainerV1::ResourceManagerTags, decorator: Google::Apis::ContainerV1::ResourceManagerTags::Representation

end
Expand Down

0 comments on commit 0cc9697

Please sign in to comment.