Skip to content

Commit e25a34f

Browse files
feat: Automated regeneration of compute alpha client (googleapis#26521)
Auto-created at 2026-05-17 11:43:28 +0000 using the toys pull request generator.
1 parent 2b1b2be commit e25a34f

5 files changed

Lines changed: 29 additions & 21 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100007,6 +100007,7 @@
100007100007
"/compute:alpha/InstanceFlexibilityPolicyInstanceSelection/disks/disk": disk
100008100008
"/compute:alpha/InstanceFlexibilityPolicyInstanceSelection/machineTypes": machine_types
100009100009
"/compute:alpha/InstanceFlexibilityPolicyInstanceSelection/machineTypes/machine_type": machine_type
100010+
"/compute:alpha/InstanceFlexibilityPolicyInstanceSelection/minCpuPlatform": min_cpu_platform
100010100011
"/compute:alpha/InstanceFlexibilityPolicyInstanceSelection/rank": rank
100011100012
"/compute:alpha/InstanceGroup": instance_group
100012100013
"/compute:alpha/InstanceGroup/creationTimestamp": creation_timestamp

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

3+
### v0.138.0 (2026-05-17)
4+
5+
* Regenerated from discovery document revision 20260501
6+
37
### v0.137.0 (2026-05-03)
48

59
* Regenerated from discovery document revision 20260422

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,24 +2083,7 @@ class AttachedDiskInitializeParams
20832083
# @return [Fixnum]
20842084
attr_accessor :disk_size_gb
20852085

2086-
# Specifies the disk type to use to create the instance. If not specified,
2087-
# the default is pd-standard, specified using the full URL.
2088-
# For example:
2089-
# https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-
2090-
# standard
2091-
# For a full list of acceptable values, seePersistent disk
2092-
# types. If you specify this field when creating a VM, you can provide
2093-
# either the full or partial URL. For example, the following values are
2094-
# valid:
2095-
#
20962086
#
2097-
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/
2098-
# diskTypes/diskType
2099-
# - projects/project/zones/zone/diskTypes/diskType
2100-
# - zones/zone/diskTypes/diskType
2101-
# If you specify this field when creating or updating an instance template
2102-
# or all-instances configuration, specify the type of the disk, not the
2103-
# URL. For example: pd-standard.
21042087
# Corresponds to the JSON property `diskType`
21052088
# @return [String]
21062089
attr_accessor :disk_type
@@ -26227,6 +26210,12 @@ class InstanceFlexibilityPolicyInstanceSelection
2622726210
# @return [Array<String>]
2622826211
attr_accessor :machine_types
2622926212

26213+
# Name of the minimum CPU platform to be used by this instance selection.
26214+
# e.g. 'Intel Ice Lake'.
26215+
# Corresponds to the JSON property `minCpuPlatform`
26216+
# @return [String]
26217+
attr_accessor :min_cpu_platform
26218+
2623026219
# Rank when prioritizing the shape flexibilities.
2623126220
# The instance selections with rank are considered
2623226221
# first, in the ascending order of the rank.
@@ -26243,6 +26232,7 @@ def initialize(**args)
2624326232
def update!(**args)
2624426233
@disks = args[:disks] if args.key?(:disks)
2624526234
@machine_types = args[:machine_types] if args.key?(:machine_types)
26235+
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2624626236
@rank = args[:rank] if args.key?(:rank)
2624726237
end
2624826238
end
@@ -43698,7 +43688,13 @@ class NetworkEndpointGroup
4369843688
attr_accessor :name
4369943689

4370043690
# The URL of the network to which all network endpoints in the NEG belong.
43701-
# Uses default project network if unspecified.
43691+
# For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or
43692+
# NON_GCP_PRIVATE_IP_PORT,
43693+
# if this field is not specified, a default network will be used.
43694+
# This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or
43695+
# PRIVATE_SERVICE_CONNECT and for
43696+
# global NEGs.
43697+
# For all other network endpoint types, this field is required.
4370243698
# Corresponds to the JSON property `network`
4370343699
# @return [String]
4370443700
attr_accessor :network
@@ -44097,7 +44093,13 @@ class NetworkEndpointGroupLbNetworkEndpointGroup
4409744093
attr_accessor :default_port
4409844094

4409944095
# The URL of the network to which all network endpoints in the NEG belong.
44100-
# Uses default project network if unspecified.
44096+
# For networkEndpointType GCE_VM_IP_PORT,GCE_VM_IP_PORTMAP or
44097+
# NON_GCP_PRIVATE_IP_PORT,
44098+
# if this field is not specified, a default network will be used.
44099+
# This field cannot be set for NEGs with networkEndpointType set toSERVERLESS or
44100+
# PRIVATE_SERVICE_CONNECT and for
44101+
# global NEGs.
44102+
# For all other network endpoint types, this field is required.
4410144103
# [Deprecated] This field is deprecated.
4410244104
# Corresponds to the JSON property `network`
4410344105
# @return [String]

generated/google-apis-compute_alpha/lib/google/apis/compute_alpha/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 ComputeAlpha
1818
# Version of the google-apis-compute_alpha gem
19-
GEM_VERSION = "0.137.0"
19+
GEM_VERSION = "0.138.0"
2020

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

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16335,6 +16335,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
1633516335
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::AttachedDisk, decorator: Google::Apis::ComputeAlpha::AttachedDisk::Representation
1633616336

1633716337
collection :machine_types, as: 'machineTypes'
16338+
property :min_cpu_platform, as: 'minCpuPlatform'
1633816339
property :rank, :numeric_string => true, as: 'rank'
1633916340
end
1634016341
end

0 commit comments

Comments
 (0)