Skip to content

Commit 19d639d

Browse files
feat: Automated regeneration of container v1beta1 client (googleapis#22359)
Auto-created at 2025-04-06 09:41:56 +0000 using the toys pull request generator.
1 parent 7cba75a commit 19d639d

File tree

5 files changed

+85
-2
lines changed

5 files changed

+85
-2
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124608,6 +124608,7 @@
124608124608
"/container:v1beta1/EphemeralStorageConfig": ephemeral_storage_config
124609124609
"/container:v1beta1/EphemeralStorageConfig/localSsdCount": local_ssd_count
124610124610
"/container:v1beta1/EphemeralStorageLocalSsdConfig": ephemeral_storage_local_ssd_config
124611+
"/container:v1beta1/EphemeralStorageLocalSsdConfig/dataCacheCount": data_cache_count
124611124612
"/container:v1beta1/EphemeralStorageLocalSsdConfig/localSsdCount": local_ssd_count
124612124613
"/container:v1beta1/FastSocket": fast_socket
124613124614
"/container:v1beta1/FastSocket/enabled": enabled
@@ -124875,6 +124876,7 @@
124875124876
"/container:v1beta1/NodeConfig/ephemeralStorageConfig": ephemeral_storage_config
124876124877
"/container:v1beta1/NodeConfig/ephemeralStorageLocalSsdConfig": ephemeral_storage_local_ssd_config
124877124878
"/container:v1beta1/NodeConfig/fastSocket": fast_socket
124879+
"/container:v1beta1/NodeConfig/flexStart": flex_start
124878124880
"/container:v1beta1/NodeConfig/gcfsConfig": gcfs_config
124879124881
"/container:v1beta1/NodeConfig/gvnic": gvnic
124880124882
"/container:v1beta1/NodeConfig/hostMaintenancePolicy": host_maintenance_policy
@@ -125146,6 +125148,9 @@
125146125148
"/container:v1beta1/RollbackNodePoolUpgradeRequest/projectId": project_id
125147125149
"/container:v1beta1/RollbackNodePoolUpgradeRequest/respectPdb": respect_pdb
125148125150
"/container:v1beta1/RollbackNodePoolUpgradeRequest/zone": zone
125151+
"/container:v1beta1/RotationConfig": rotation_config
125152+
"/container:v1beta1/RotationConfig/enabled": enabled
125153+
"/container:v1beta1/RotationConfig/rotationInterval": rotation_interval
125149125154
"/container:v1beta1/SandboxConfig": sandbox_config
125150125155
"/container:v1beta1/SandboxConfig/sandboxType": sandbox_type
125151125156
"/container:v1beta1/SandboxConfig/type": type
@@ -125155,6 +125160,7 @@
125155125160
"/container:v1beta1/SecondaryBootDiskUpdateStrategy": secondary_boot_disk_update_strategy
125156125161
"/container:v1beta1/SecretManagerConfig": secret_manager_config
125157125162
"/container:v1beta1/SecretManagerConfig/enabled": enabled
125163+
"/container:v1beta1/SecretManagerConfig/rotationConfig": rotation_config
125158125164
"/container:v1beta1/SecurityBulletinEvent": security_bulletin_event
125159125165
"/container:v1beta1/SecurityBulletinEvent/affectedSupportedMinors": affected_supported_minors
125160125166
"/container:v1beta1/SecurityBulletinEvent/affectedSupportedMinors/affected_supported_minor": affected_supported_minor
@@ -125330,6 +125336,7 @@
125330125336
"/container:v1beta1/UpdateNodePoolRequest/diskType": disk_type
125331125337
"/container:v1beta1/UpdateNodePoolRequest/etag": etag
125332125338
"/container:v1beta1/UpdateNodePoolRequest/fastSocket": fast_socket
125339+
"/container:v1beta1/UpdateNodePoolRequest/flexStart": flex_start
125333125340
"/container:v1beta1/UpdateNodePoolRequest/gcfsConfig": gcfs_config
125334125341
"/container:v1beta1/UpdateNodePoolRequest/gvnic": gvnic
125335125342
"/container:v1beta1/UpdateNodePoolRequest/imageType": image_type

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

3+
### v0.81.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250318
6+
37
### v0.80.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250311

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

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3026,6 +3026,11 @@ def update!(**args)
30263026
class EphemeralStorageLocalSsdConfig
30273027
include Google::Apis::Core::Hashable
30283028

3029+
# Number of local SSDs to use for GKE Data Cache.
3030+
# Corresponds to the JSON property `dataCacheCount`
3031+
# @return [Fixnum]
3032+
attr_accessor :data_cache_count
3033+
30293034
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A
30303035
# zero (or unset) value has different meanings depending on machine type being
30313036
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
@@ -3048,6 +3053,7 @@ def initialize(**args)
30483053

30493054
# Update properties of this object
30503055
def update!(**args)
3056+
@data_cache_count = args[:data_cache_count] if args.key?(:data_cache_count)
30513057
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
30523058
end
30533059
end
@@ -5030,6 +5036,12 @@ class NodeConfig
50305036
# @return [Google::Apis::ContainerV1beta1::FastSocket]
50315037
attr_accessor :fast_socket
50325038

5039+
# Flex Start flag for enabling Flex Start VM.
5040+
# Corresponds to the JSON property `flexStart`
5041+
# @return [Boolean]
5042+
attr_accessor :flex_start
5043+
alias_method :flex_start?, :flex_start
5044+
50335045
# GcfsConfig contains configurations of Google Container File System.
50345046
# Corresponds to the JSON property `gcfsConfig`
50355047
# @return [Google::Apis::ContainerV1beta1::GcfsConfig]
@@ -5282,6 +5294,7 @@ def update!(**args)
52825294
@ephemeral_storage_config = args[:ephemeral_storage_config] if args.key?(:ephemeral_storage_config)
52835295
@ephemeral_storage_local_ssd_config = args[:ephemeral_storage_local_ssd_config] if args.key?(:ephemeral_storage_local_ssd_config)
52845296
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
5297+
@flex_start = args[:flex_start] if args.key?(:flex_start)
52855298
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
52865299
@gvnic = args[:gvnic] if args.key?(:gvnic)
52875300
@host_maintenance_policy = args[:host_maintenance_policy] if args.key?(:host_maintenance_policy)
@@ -7168,6 +7181,33 @@ def update!(**args)
71687181
end
71697182
end
71707183

7184+
# RotationConfig is config for secret manager auto rotation.
7185+
class RotationConfig
7186+
include Google::Apis::Core::Hashable
7187+
7188+
# Whether the rotation is enabled.
7189+
# Corresponds to the JSON property `enabled`
7190+
# @return [Boolean]
7191+
attr_accessor :enabled
7192+
alias_method :enabled?, :enabled
7193+
7194+
# The interval between two consecutive rotations. Default rotation interval is 2
7195+
# minutes.
7196+
# Corresponds to the JSON property `rotationInterval`
7197+
# @return [String]
7198+
attr_accessor :rotation_interval
7199+
7200+
def initialize(**args)
7201+
update!(**args)
7202+
end
7203+
7204+
# Update properties of this object
7205+
def update!(**args)
7206+
@enabled = args[:enabled] if args.key?(:enabled)
7207+
@rotation_interval = args[:rotation_interval] if args.key?(:rotation_interval)
7208+
end
7209+
end
7210+
71717211
# SandboxConfig contains configurations of the sandbox to use for the node.
71727212
class SandboxConfig
71737213
include Google::Apis::Core::Hashable
@@ -7243,13 +7283,19 @@ class SecretManagerConfig
72437283
attr_accessor :enabled
72447284
alias_method :enabled?, :enabled
72457285

7286+
# RotationConfig is config for secret manager auto rotation.
7287+
# Corresponds to the JSON property `rotationConfig`
7288+
# @return [Google::Apis::ContainerV1beta1::RotationConfig]
7289+
attr_accessor :rotation_config
7290+
72467291
def initialize(**args)
72477292
update!(**args)
72487293
end
72497294

72507295
# Update properties of this object
72517296
def update!(**args)
72527297
@enabled = args[:enabled] if args.key?(:enabled)
7298+
@rotation_config = args[:rotation_config] if args.key?(:rotation_config)
72537299
end
72547300
end
72557301

@@ -8587,6 +8633,12 @@ class UpdateNodePoolRequest
85878633
# @return [Google::Apis::ContainerV1beta1::FastSocket]
85888634
attr_accessor :fast_socket
85898635

8636+
# Flex Start flag for enabling Flex Start VM.
8637+
# Corresponds to the JSON property `flexStart`
8638+
# @return [Boolean]
8639+
attr_accessor :flex_start
8640+
alias_method :flex_start?, :flex_start
8641+
85908642
# GcfsConfig contains configurations of Google Container File System.
85918643
# Corresponds to the JSON property `gcfsConfig`
85928644
# @return [Google::Apis::ContainerV1beta1::GcfsConfig]
@@ -8790,6 +8842,7 @@ def update!(**args)
87908842
@disk_type = args[:disk_type] if args.key?(:disk_type)
87918843
@etag = args[:etag] if args.key?(:etag)
87928844
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
8845+
@flex_start = args[:flex_start] if args.key?(:flex_start)
87938846
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
87948847
@gvnic = args[:gvnic] if args.key?(:gvnic)
87958848
@image_type = args[:image_type] if args.key?(:image_type)

generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/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 ContainerV1beta1
1818
# Version of the google-apis-container_v1beta1 gem
19-
GEM_VERSION = "0.80.0"
19+
GEM_VERSION = "0.81.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 = "20250311"
25+
REVISION = "20250318"
2626
end
2727
end
2828
end

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10001000
include Google::Apis::Core::JsonObjectSupport
10011001
end
10021002

1003+
class RotationConfig
1004+
class Representation < Google::Apis::Core::JsonRepresentation; end
1005+
1006+
include Google::Apis::Core::JsonObjectSupport
1007+
end
1008+
10031009
class SandboxConfig
10041010
class Representation < Google::Apis::Core::JsonRepresentation; end
10051011

@@ -2122,6 +2128,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
21222128
class EphemeralStorageLocalSsdConfig
21232129
# @private
21242130
class Representation < Google::Apis::Core::JsonRepresentation
2131+
property :data_cache_count, as: 'dataCacheCount'
21252132
property :local_ssd_count, as: 'localSsdCount'
21262133
end
21272134
end
@@ -2684,6 +2691,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
26842691

26852692
property :fast_socket, as: 'fastSocket', class: Google::Apis::ContainerV1beta1::FastSocket, decorator: Google::Apis::ContainerV1beta1::FastSocket::Representation
26862693

2694+
property :flex_start, as: 'flexStart'
26872695
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
26882696

26892697
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1beta1::VirtualNic, decorator: Google::Apis::ContainerV1beta1::VirtualNic::Representation
@@ -3217,6 +3225,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
32173225
end
32183226
end
32193227

3228+
class RotationConfig
3229+
# @private
3230+
class Representation < Google::Apis::Core::JsonRepresentation
3231+
property :enabled, as: 'enabled'
3232+
property :rotation_interval, as: 'rotationInterval'
3233+
end
3234+
end
3235+
32203236
class SandboxConfig
32213237
# @private
32223238
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3243,6 +3259,8 @@ class SecretManagerConfig
32433259
# @private
32443260
class Representation < Google::Apis::Core::JsonRepresentation
32453261
property :enabled, as: 'enabled'
3262+
property :rotation_config, as: 'rotationConfig', class: Google::Apis::ContainerV1beta1::RotationConfig, decorator: Google::Apis::ContainerV1beta1::RotationConfig::Representation
3263+
32463264
end
32473265
end
32483266

@@ -3569,6 +3587,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
35693587
property :etag, as: 'etag'
35703588
property :fast_socket, as: 'fastSocket', class: Google::Apis::ContainerV1beta1::FastSocket, decorator: Google::Apis::ContainerV1beta1::FastSocket::Representation
35713589

3590+
property :flex_start, as: 'flexStart'
35723591
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1beta1::GcfsConfig, decorator: Google::Apis::ContainerV1beta1::GcfsConfig::Representation
35733592

35743593
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1beta1::VirtualNic, decorator: Google::Apis::ContainerV1beta1::VirtualNic::Representation

0 commit comments

Comments
 (0)