Skip to content

Commit a6c3eb7

Browse files
feat: Automated regeneration of container v1beta1 client (#13210)
Auto-created at 2023-01-08 10:01:46 +0000 using the toys pull request generator.
1 parent 9987079 commit a6c3eb7

File tree

5 files changed

+204
-3
lines changed

5 files changed

+204
-3
lines changed

api_names_out.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81578,6 +81578,7 @@
8157881578
"/container:v1beta1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha
8157981579
"/container:v1beta1/Cluster/enableTpu": enable_tpu
8158081580
"/container:v1beta1/Cluster/endpoint": endpoint
81581+
"/container:v1beta1/Cluster/etag": etag
8158181582
"/container:v1beta1/Cluster/expireTime": expire_time
8158281583
"/container:v1beta1/Cluster/id": id
8158381584
"/container:v1beta1/Cluster/identityServiceConfig": identity_service_config
@@ -81692,6 +81693,7 @@
8169281693
"/container:v1beta1/ClusterUpdate/desiredWorkloadAltsConfig": desired_workload_alts_config
8169381694
"/container:v1beta1/ClusterUpdate/desiredWorkloadCertificates": desired_workload_certificates
8169481695
"/container:v1beta1/ClusterUpdate/desiredWorkloadIdentityConfig": desired_workload_identity_config
81696+
"/container:v1beta1/ClusterUpdate/etag": etag
8169581697
"/container:v1beta1/CompleteIPRotationRequest": complete_ip_rotation_request
8169681698
"/container:v1beta1/CompleteIPRotationRequest/clusterId": cluster_id
8169781699
"/container:v1beta1/CompleteIPRotationRequest/name": name
@@ -81738,6 +81740,8 @@
8173881740
"/container:v1beta1/Empty": empty
8173981741
"/container:v1beta1/EphemeralStorageConfig": ephemeral_storage_config
8174081742
"/container:v1beta1/EphemeralStorageConfig/localSsdCount": local_ssd_count
81743+
"/container:v1beta1/EphemeralStorageLocalSsdConfig": ephemeral_storage_local_ssd_config
81744+
"/container:v1beta1/EphemeralStorageLocalSsdConfig/localSsdCount": local_ssd_count
8174181745
"/container:v1beta1/FastSocket": fast_socket
8174281746
"/container:v1beta1/FastSocket/enabled": enabled
8174381747
"/container:v1beta1/Filter": filter
@@ -81869,6 +81873,8 @@
8186981873
"/container:v1beta1/ListUsableSubnetworksResponse/nextPageToken": next_page_token
8187081874
"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks": subnetworks
8187181875
"/container:v1beta1/ListUsableSubnetworksResponse/subnetworks/subnetwork": subnetwork
81876+
"/container:v1beta1/LocalNvmeSsdBlockConfig": local_nvme_ssd_block_config
81877+
"/container:v1beta1/LocalNvmeSsdBlockConfig/localSsdCount": local_ssd_count
8187281878
"/container:v1beta1/Location": location
8187381879
"/container:v1beta1/Location/name": name
8187481880
"/container:v1beta1/Location/recommended": recommended
@@ -81951,6 +81957,7 @@
8195181957
"/container:v1beta1/NodeConfig/diskSizeGb": disk_size_gb
8195281958
"/container:v1beta1/NodeConfig/diskType": disk_type
8195381959
"/container:v1beta1/NodeConfig/ephemeralStorageConfig": ephemeral_storage_config
81960+
"/container:v1beta1/NodeConfig/ephemeralStorageLocalSsdConfig": ephemeral_storage_local_ssd_config
8195481961
"/container:v1beta1/NodeConfig/fastSocket": fast_socket
8195581962
"/container:v1beta1/NodeConfig/gcfsConfig": gcfs_config
8195681963
"/container:v1beta1/NodeConfig/gvnic": gvnic
@@ -81959,6 +81966,7 @@
8195981966
"/container:v1beta1/NodeConfig/labels": labels
8196081967
"/container:v1beta1/NodeConfig/labels/label": label
8196181968
"/container:v1beta1/NodeConfig/linuxNodeConfig": linux_node_config
81969+
"/container:v1beta1/NodeConfig/localNvmeSsdBlockConfig": local_nvme_ssd_block_config
8196281970
"/container:v1beta1/NodeConfig/localSsdCount": local_ssd_count
8196381971
"/container:v1beta1/NodeConfig/loggingConfig": logging_config
8196481972
"/container:v1beta1/NodeConfig/machineType": machine_type
@@ -81980,6 +81988,7 @@
8198081988
"/container:v1beta1/NodeConfig/tags/tag": tag
8198181989
"/container:v1beta1/NodeConfig/taints": taints
8198281990
"/container:v1beta1/NodeConfig/taints/taint": taint_prop
81991+
"/container:v1beta1/NodeConfig/windowsNodeConfig": windows_node_config
8198381992
"/container:v1beta1/NodeConfig/workloadMetadataConfig": workload_metadata_config
8198481993
"/container:v1beta1/NodeConfigDefaults": node_config_defaults
8198581994
"/container:v1beta1/NodeConfigDefaults/gcfsConfig": gcfs_config
@@ -82007,6 +82016,7 @@
8200782016
"/container:v1beta1/NodePool/conditions": conditions
8200882017
"/container:v1beta1/NodePool/conditions/condition": condition
8200982018
"/container:v1beta1/NodePool/config": config
82019+
"/container:v1beta1/NodePool/etag": etag
8201082020
"/container:v1beta1/NodePool/initialNodeCount": initial_node_count
8201182021
"/container:v1beta1/NodePool/instanceGroupUrls": instance_group_urls
8201282022
"/container:v1beta1/NodePool/instanceGroupUrls/instance_group_url": instance_group_url
@@ -82290,6 +82300,7 @@
8229082300
"/container:v1beta1/UpdateNodePoolRequest": update_node_pool_request
8229182301
"/container:v1beta1/UpdateNodePoolRequest/clusterId": cluster_id
8229282302
"/container:v1beta1/UpdateNodePoolRequest/confidentialNodes": confidential_nodes
82303+
"/container:v1beta1/UpdateNodePoolRequest/etag": etag
8229382304
"/container:v1beta1/UpdateNodePoolRequest/fastSocket": fast_socket
8229482305
"/container:v1beta1/UpdateNodePoolRequest/gcfsConfig": gcfs_config
8229582306
"/container:v1beta1/UpdateNodePoolRequest/gvnic": gvnic
@@ -82309,6 +82320,7 @@
8230982320
"/container:v1beta1/UpdateNodePoolRequest/tags": tags
8231082321
"/container:v1beta1/UpdateNodePoolRequest/taints": taints
8231182322
"/container:v1beta1/UpdateNodePoolRequest/upgradeSettings": upgrade_settings
82323+
"/container:v1beta1/UpdateNodePoolRequest/windowsNodeConfig": windows_node_config
8231282324
"/container:v1beta1/UpdateNodePoolRequest/workloadMetadataConfig": workload_metadata_config
8231382325
"/container:v1beta1/UpdateNodePoolRequest/zone": zone
8231482326
"/container:v1beta1/UpgradeAvailableEvent": upgrade_available_event
@@ -82344,6 +82356,8 @@
8234482356
"/container:v1beta1/VerticalPodAutoscaling/enabled": enabled
8234582357
"/container:v1beta1/VirtualNIC": virtual_nic
8234682358
"/container:v1beta1/VirtualNIC/enabled": enabled
82359+
"/container:v1beta1/WindowsNodeConfig": windows_node_config
82360+
"/container:v1beta1/WindowsNodeConfig/osVersion": os_version
8234782361
"/container:v1beta1/WindowsVersion": windows_version
8234882362
"/container:v1beta1/WindowsVersion/imageType": image_type
8234982363
"/container:v1beta1/WindowsVersion/osVersion": os_version

generated/google-apis-container_v1beta1/CHANGELOG.md

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

3+
### v0.43.0 (2023-01-08)
4+
5+
* Regenerated from discovery document revision 20230104
6+
* Regenerated using generator version 0.11.1
7+
38
### v0.42.0 (2022-12-12)
49

510
* Regenerated from discovery document revision 20221110

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

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,13 @@ class Cluster
759759
# @return [String]
760760
attr_accessor :endpoint
761761

762+
# This checksum is computed by the server based on the value of cluster fields,
763+
# and may be sent on update requests to ensure the client has an up-to-date
764+
# value before proceeding.
765+
# Corresponds to the JSON property `etag`
766+
# @return [String]
767+
attr_accessor :etag
768+
762769
# [Output only] The time the cluster will be automatically deleted in [RFC3339](
763770
# https://www.ietf.org/rfc/rfc3339.txt) text format.
764771
# Corresponds to the JSON property `expireTime`
@@ -1121,6 +1128,7 @@ def update!(**args)
11211128
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
11221129
@enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
11231130
@endpoint = args[:endpoint] if args.key?(:endpoint)
1131+
@etag = args[:etag] if args.key?(:etag)
11241132
@expire_time = args[:expire_time] if args.key?(:expire_time)
11251133
@id = args[:id] if args.key?(:id)
11261134
@identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
@@ -1532,6 +1540,13 @@ class ClusterUpdate
15321540
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
15331541
attr_accessor :desired_workload_identity_config
15341542

1543+
# The current etag of the cluster. If an etag is provided and does not match the
1544+
# current etag of the cluster, update will be blocked and an ABORTED error will
1545+
# be returned.
1546+
# Corresponds to the JSON property `etag`
1547+
# @return [String]
1548+
attr_accessor :etag
1549+
15351550
def initialize(**args)
15361551
update!(**args)
15371552
end
@@ -1584,6 +1599,7 @@ def update!(**args)
15841599
@desired_workload_alts_config = args[:desired_workload_alts_config] if args.key?(:desired_workload_alts_config)
15851600
@desired_workload_certificates = args[:desired_workload_certificates] if args.key?(:desired_workload_certificates)
15861601
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
1602+
@etag = args[:etag] if args.key?(:etag)
15871603
end
15881604
end
15891605

@@ -2039,6 +2055,30 @@ def update!(**args)
20392055
end
20402056
end
20412057

2058+
# EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
2059+
# storage using Local SSDs.
2060+
class EphemeralStorageLocalSsdConfig
2061+
include Google::Apis::Core::Hashable
2062+
2063+
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.
2064+
# Each local SSD is 375 GB in size. If zero, it means to disable using local
2065+
# SSDs as ephemeral storage. The limit for this value is dependent upon the
2066+
# maximum number of disks available on a machine per zone. See: https://cloud.
2067+
# google.com/compute/docs/disks/local-ssd for more information.
2068+
# Corresponds to the JSON property `localSsdCount`
2069+
# @return [Fixnum]
2070+
attr_accessor :local_ssd_count
2071+
2072+
def initialize(**args)
2073+
update!(**args)
2074+
end
2075+
2076+
# Update properties of this object
2077+
def update!(**args)
2078+
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
2079+
end
2080+
end
2081+
20422082
# Configuration of Fast Socket feature.
20432083
class FastSocket
20442084
include Google::Apis::Core::Hashable
@@ -2920,6 +2960,30 @@ def update!(**args)
29202960
end
29212961
end
29222962

2963+
# LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe
2964+
# SSDs
2965+
class LocalNvmeSsdBlockConfig
2966+
include Google::Apis::Core::Hashable
2967+
2968+
# The number of raw-block local NVMe SSD disks to be attached to the node. Each
2969+
# local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD
2970+
# disks to be attached to the node. The limit for this value is dependent upon
2971+
# the maximum number of disks available on a machine per zone. See: https://
2972+
# cloud.google.com/compute/docs/disks/local-ssd for more information.
2973+
# Corresponds to the JSON property `localSsdCount`
2974+
# @return [Fixnum]
2975+
attr_accessor :local_ssd_count
2976+
2977+
def initialize(**args)
2978+
update!(**args)
2979+
end
2980+
2981+
# Update properties of this object
2982+
def update!(**args)
2983+
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
2984+
end
2985+
end
2986+
29232987
# Location returns the location name, and if the location is recommended for GKE
29242988
# cluster scheduling.
29252989
class Location
@@ -3581,6 +3645,12 @@ class NodeConfig
35813645
# @return [Google::Apis::ContainerV1beta1::EphemeralStorageConfig]
35823646
attr_accessor :ephemeral_storage_config
35833647

3648+
# EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
3649+
# storage using Local SSDs.
3650+
# Corresponds to the JSON property `ephemeralStorageLocalSsdConfig`
3651+
# @return [Google::Apis::ContainerV1beta1::EphemeralStorageLocalSsdConfig]
3652+
attr_accessor :ephemeral_storage_local_ssd_config
3653+
35843654
# Configuration of Fast Socket feature.
35853655
# Corresponds to the JSON property `fastSocket`
35863656
# @return [Google::Apis::ContainerV1beta1::FastSocket]
@@ -3623,6 +3693,12 @@ class NodeConfig
36233693
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
36243694
attr_accessor :linux_node_config
36253695

3696+
# LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe
3697+
# SSDs
3698+
# Corresponds to the JSON property `localNvmeSsdBlockConfig`
3699+
# @return [Google::Apis::ContainerV1beta1::LocalNvmeSsdBlockConfig]
3700+
attr_accessor :local_nvme_ssd_block_config
3701+
36263702
# The number of local SSD disks to be attached to the node. The limit for this
36273703
# value is dependent upon the maximum number of disks available on a machine per
36283704
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
@@ -3751,6 +3827,13 @@ class NodeConfig
37513827
# @return [Array<Google::Apis::ContainerV1beta1::NodeTaint>]
37523828
attr_accessor :taints
37533829

3830+
# Parameters that can be configured on Windows nodes. Windows Node Config that
3831+
# define the parameters that will be used to configure the Windows node pool
3832+
# settings
3833+
# Corresponds to the JSON property `windowsNodeConfig`
3834+
# @return [Google::Apis::ContainerV1beta1::WindowsNodeConfig]
3835+
attr_accessor :windows_node_config
3836+
37543837
# WorkloadMetadataConfig defines the metadata configuration to expose to
37553838
# workloads on the node pool.
37563839
# Corresponds to the JSON property `workloadMetadataConfig`
@@ -3770,13 +3853,15 @@ def update!(**args)
37703853
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
37713854
@disk_type = args[:disk_type] if args.key?(:disk_type)
37723855
@ephemeral_storage_config = args[:ephemeral_storage_config] if args.key?(:ephemeral_storage_config)
3856+
@ephemeral_storage_local_ssd_config = args[:ephemeral_storage_local_ssd_config] if args.key?(:ephemeral_storage_local_ssd_config)
37733857
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
37743858
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
37753859
@gvnic = args[:gvnic] if args.key?(:gvnic)
37763860
@image_type = args[:image_type] if args.key?(:image_type)
37773861
@kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
37783862
@labels = args[:labels] if args.key?(:labels)
37793863
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
3864+
@local_nvme_ssd_block_config = args[:local_nvme_ssd_block_config] if args.key?(:local_nvme_ssd_block_config)
37803865
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
37813866
@logging_config = args[:logging_config] if args.key?(:logging_config)
37823867
@machine_type = args[:machine_type] if args.key?(:machine_type)
@@ -3793,6 +3878,7 @@ def update!(**args)
37933878
@spot = args[:spot] if args.key?(:spot)
37943879
@tags = args[:tags] if args.key?(:tags)
37953880
@taints = args[:taints] if args.key?(:taints)
3881+
@windows_node_config = args[:windows_node_config] if args.key?(:windows_node_config)
37963882
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
37973883
end
37983884
end
@@ -4034,6 +4120,13 @@ class NodePool
40344120
# @return [Google::Apis::ContainerV1beta1::NodeConfig]
40354121
attr_accessor :config
40364122

4123+
# This checksum is computed by the server based on the value of node pool fields,
4124+
# and may be sent on update requests to ensure the client has an up-to-date
4125+
# value before proceeding.
4126+
# Corresponds to the JSON property `etag`
4127+
# @return [String]
4128+
attr_accessor :etag
4129+
40374130
# The initial node count for the pool. You must ensure that your Compute Engine [
40384131
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
40394132
# this number of instances. You must also have available firewall and routes
@@ -4148,6 +4241,7 @@ def update!(**args)
41484241
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
41494242
@conditions = args[:conditions] if args.key?(:conditions)
41504243
@config = args[:config] if args.key?(:config)
4244+
@etag = args[:etag] if args.key?(:etag)
41514245
@initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
41524246
@instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
41534247
@locations = args[:locations] if args.key?(:locations)
@@ -6243,6 +6337,13 @@ class UpdateNodePoolRequest
62436337
# @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
62446338
attr_accessor :confidential_nodes
62456339

6340+
# The current etag of the node pool. If an etag is provided and does not match
6341+
# the current etag of the node pool, update will be blocked and an ABORTED error
6342+
# will be returned.
6343+
# Corresponds to the JSON property `etag`
6344+
# @return [String]
6345+
attr_accessor :etag
6346+
62466347
# Configuration of Fast Socket feature.
62476348
# Corresponds to the JSON property `fastSocket`
62486349
# @return [Google::Apis::ContainerV1beta1::FastSocket]
@@ -6368,6 +6469,13 @@ class UpdateNodePoolRequest
63686469
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
63696470
attr_accessor :upgrade_settings
63706471

6472+
# Parameters that can be configured on Windows nodes. Windows Node Config that
6473+
# define the parameters that will be used to configure the Windows node pool
6474+
# settings
6475+
# Corresponds to the JSON property `windowsNodeConfig`
6476+
# @return [Google::Apis::ContainerV1beta1::WindowsNodeConfig]
6477+
attr_accessor :windows_node_config
6478+
63716479
# WorkloadMetadataConfig defines the metadata configuration to expose to
63726480
# workloads on the node pool.
63736481
# Corresponds to the JSON property `workloadMetadataConfig`
@@ -6389,6 +6497,7 @@ def initialize(**args)
63896497
def update!(**args)
63906498
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
63916499
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
6500+
@etag = args[:etag] if args.key?(:etag)
63926501
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
63936502
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
63946503
@gvnic = args[:gvnic] if args.key?(:gvnic)
@@ -6407,6 +6516,7 @@ def update!(**args)
64076516
@tags = args[:tags] if args.key?(:tags)
64086517
@taints = args[:taints] if args.key?(:taints)
64096518
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
6519+
@windows_node_config = args[:windows_node_config] if args.key?(:windows_node_config)
64106520
@workload_metadata_config = args[:workload_metadata_config] if args.key?(:workload_metadata_config)
64116521
@zone = args[:zone] if args.key?(:zone)
64126522
end
@@ -6688,6 +6798,27 @@ def update!(**args)
66886798
end
66896799
end
66906800

6801+
# Parameters that can be configured on Windows nodes. Windows Node Config that
6802+
# define the parameters that will be used to configure the Windows node pool
6803+
# settings
6804+
class WindowsNodeConfig
6805+
include Google::Apis::Core::Hashable
6806+
6807+
# OSVersion specifies the Windows node config to be used on the node
6808+
# Corresponds to the JSON property `osVersion`
6809+
# @return [String]
6810+
attr_accessor :os_version
6811+
6812+
def initialize(**args)
6813+
update!(**args)
6814+
end
6815+
6816+
# Update properties of this object
6817+
def update!(**args)
6818+
@os_version = args[:os_version] if args.key?(:os_version)
6819+
end
6820+
end
6821+
66916822
# Windows server version.
66926823
class WindowsVersion
66936824
include Google::Apis::Core::Hashable

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContainerV1beta1
1818
# Version of the google-apis-container_v1beta1 gem
19-
GEM_VERSION = "0.42.0"
19+
GEM_VERSION = "0.43.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.11.0"
22+
GENERATOR_VERSION = "0.11.1"
2323

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

0 commit comments

Comments
 (0)