Skip to content

Commit d1e59aa

Browse files
feat: Update Compute Engine v1 API to revision 20260106 (#1148)
1 parent ac0c56c commit d1e59aa

File tree

4 files changed

+104
-9
lines changed

4 files changed

+104
-9
lines changed

google/cloud/compute/v1/compute.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"converterVersion": "",
3-
"updateTime": "2026-01-14T08:33:38Z",
3+
"updateTime": "2026-01-16T08:33:14Z",
44
"apiVersion": "v1",
5-
"discoveryRevision": "20251230",
5+
"discoveryRevision": "20260106",
66
"inlineSchemas": [
77
{
88
"schema": "a870e510",

google/cloud/compute/v1/compute.proto

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414

1515
// Generated by the disco-to-proto3-converter. DO NOT EDIT!
1616
// Source Discovery file: compute.v1.json
17-
// Source file revision: 20251230
17+
// Source file revision: 20260106
1818
// API name: compute
1919
// API version: v1
2020

@@ -11685,6 +11685,9 @@ message BulkInsertInstanceResource {
1168511685
// The maximum number of instances to create.
1168611686
optional int64 count = 94851343;
1168711687

11688+
// A flexible specification of machine type of instances to create.
11689+
optional InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;
11690+
1168811691
// The instance properties defining the VM instances to be created. Required
1168911692
// if sourceInstanceTemplate is not provided.
1169011693
optional InstanceProperties instance_properties = 215355165;
@@ -27963,6 +27966,46 @@ message InstanceConsumptionInfo {
2796327966

2796427967
}
2796527968

27969+
// A flexible specification of machine types for instances to create.
27970+
message InstanceFlexibilityPolicy {
27971+
// Specification of alternative, flexible instance subsets.
27972+
// One of them will be selected to create the instances
27973+
// based on various criteria, like:
27974+
// - ranks,
27975+
// - location policy,
27976+
// - current capacity,
27977+
// - available reservations (you can specify affinity in
27978+
// InstanceProperties),
27979+
// - SWAN/GOOSE limitations.
27980+
// Key is an arbitrary, unique RFC1035 string that identifies the instance
27981+
// selection.
27982+
map<string, InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;
27983+
27984+
}
27985+
27986+
// Specification of machine type to use. Every position inside this message
27987+
// is an alternative.
27988+
// The count specified in the shape flexibility must not exceed the number
27989+
// of entries in per_instance_properties or the capacity of the
27990+
// name_pattern, if used.
27991+
message InstanceFlexibilityPolicyInstanceSelection {
27992+
// Disks to be attached to the instances created from in this selection.
27993+
// They override the disks specified in the instance properties.
27994+
repeated AttachedDisk disks = 95594102;
27995+
27996+
// Alternative machine types to use for instances that are created from
27997+
// these properties. This field only accepts a machine type names, for
27998+
// example `n2-standard-4` and not URLs or partial URLs.
27999+
repeated string machine_types = 79720065;
28000+
28001+
// Rank when prioritizing the shape flexibilities.
28002+
// The instance selections with rank are considered
28003+
// first, in the ascending order of the rank.
28004+
// If not set, defaults to 0.
28005+
optional int64 rank = 3492908;
28006+
28007+
}
28008+
2796628009
// Represents an Instance Group resource.
2796728010
//
2796828011
// Instance Groups can be used to configure a target forload
@@ -30121,6 +30164,7 @@ message InstancesReportHostAsFaultyRequestFaultReason {
3012130164

3012230165
SILENT_DATA_CORRUPTION = 111360678;
3012330166

30167+
// Unrecoverable GPU error identified by an XID
3012430168
UNRECOVERABLE_GPU_ERROR = 363710747;
3012530169

3012630170
}
@@ -30916,6 +30960,7 @@ message InterconnectAttachment {
3091630960
// - BPS_20G: 20 Gbit/s
3091730961
// - BPS_50G: 50 Gbit/s
3091830962
// - BPS_100G: 100 Gbit/s
30963+
// - BPS_400G: 400 Gbit/s
3091930964
enum Bandwidth {
3092030965
// A value indicating that the enum field is not set.
3092130966
UNDEFINED_BANDWIDTH = 0;
@@ -30944,6 +30989,9 @@ message InterconnectAttachment {
3094430989
// 300 Mbit/s
3094530990
BPS_300M = 49607540;
3094630991

30992+
// 400 Gbit/s
30993+
BPS_400G = 49637325;
30994+
3094730995
// 400 Mbit/s
3094830996
BPS_400M = 49637331;
3094930997

@@ -31165,6 +31213,7 @@ message InterconnectAttachment {
3116531213
// - BPS_20G: 20 Gbit/s
3116631214
// - BPS_50G: 50 Gbit/s
3116731215
// - BPS_100G: 100 Gbit/s
31216+
// - BPS_400G: 400 Gbit/s
3116831217
// Check the Bandwidth enum for the list of possible values.
3116931218
optional string bandwidth = 181715121;
3117031219

google/cloud/compute/v1/compute.v1.json

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42914,7 +42914,7 @@
4291442914
}
4291542915
}
4291642916
},
42917-
"revision": "20251230",
42917+
"revision": "20260106",
4291842918
"rootUrl": "https://compute.googleapis.com/",
4291942919
"schemas": {
4292042920
"AWSV4Signature": {
@@ -48072,6 +48072,10 @@
4807248072
"format": "int64",
4807348073
"type": "string"
4807448074
},
48075+
"instanceFlexibilityPolicy": {
48076+
"$ref": "InstanceFlexibilityPolicy",
48077+
"description": "A flexible specification of machine type of instances to create."
48078+
},
4807548079
"instanceProperties": {
4807648080
"$ref": "InstanceProperties",
4807748081
"description": "The instance properties defining the VM instances to be created. Required\nif sourceInstanceTemplate is not provided."
@@ -57911,6 +57915,46 @@
5791157915
},
5791257916
"type": "object"
5791357917
},
57918+
"InstanceFlexibilityPolicy": {
57919+
"description": "A flexible specification of machine types for instances to create.",
57920+
"id": "InstanceFlexibilityPolicy",
57921+
"properties": {
57922+
"instanceSelections": {
57923+
"additionalProperties": {
57924+
"$ref": "InstanceFlexibilityPolicyInstanceSelection"
57925+
},
57926+
"description": "Specification of alternative, flexible instance subsets.\nOne of them will be selected to create the instances\nbased on various criteria, like:\n- ranks,\n- location policy,\n- current capacity,\n- available reservations (you can specify affinity in\nInstanceProperties),\n- SWAN/GOOSE limitations.\nKey is an arbitrary, unique RFC1035 string that identifies the instance\nselection.",
57927+
"type": "object"
57928+
}
57929+
},
57930+
"type": "object"
57931+
},
57932+
"InstanceFlexibilityPolicyInstanceSelection": {
57933+
"description": "Specification of machine type to use. Every position inside this message\nis an alternative.\nThe count specified in the shape flexibility must not exceed the number\nof entries in per_instance_properties or the capacity of the\nname_pattern, if used.",
57934+
"id": "InstanceFlexibilityPolicyInstanceSelection",
57935+
"properties": {
57936+
"disks": {
57937+
"description": "Disks to be attached to the instances created from in this selection.\nThey override the disks specified in the instance properties.",
57938+
"items": {
57939+
"$ref": "AttachedDisk"
57940+
},
57941+
"type": "array"
57942+
},
57943+
"machineTypes": {
57944+
"description": "Alternative machine types to use for instances that are created from\nthese properties. This field only accepts a machine type names, for\nexample `n2-standard-4` and not URLs or partial URLs.",
57945+
"items": {
57946+
"type": "string"
57947+
},
57948+
"type": "array"
57949+
},
57950+
"rank": {
57951+
"description": "Rank when prioritizing the shape flexibilities.\nThe instance selections with rank are considered\nfirst, in the ascending order of the rank.\nIf not set, defaults to 0.",
57952+
"format": "int64",
57953+
"type": "string"
57954+
}
57955+
},
57956+
"type": "object"
57957+
},
5791457958
"InstanceGroup": {
5791557959
"description": "Represents an Instance Group resource.\n\nInstance Groups can be used to configure a target forload\nbalancing.\n\nInstance groups can either be managed or unmanaged.\n\nTo create \nmanaged instance groups, use the instanceGroupManager orregionInstanceGroupManager resource instead.\n\nUse zonal unmanaged instance groups if you need to applyload\nbalancing to groups of heterogeneous instances or if you need to manage\nthe instances yourself. You cannot create regional unmanaged instance groups.\n\nFor more information, readInstance\ngroups.",
5791657960
"id": "InstanceGroup",
@@ -61874,7 +61918,7 @@
6187461918
"Public reportable behaviors",
6187561919
"",
6187661920
"",
61877-
""
61921+
"Unrecoverable GPU error identified by an XID"
6187861922
],
6187961923
"type": "string"
6188061924
},
@@ -63103,7 +63147,7 @@
6310363147
"type": "string"
6310463148
},
6310563149
"bandwidth": {
63106-
"description": "Provisioned bandwidth capacity for the interconnect attachment. For\nattachments of type DEDICATED, the user can set the bandwidth.\nFor attachments of type PARTNER, the Google Partner that is operating\nthe interconnect must set the bandwidth.\nOutput only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,\nand can take one of the following values:\n \n - BPS_50M: 50 Mbit/s\n - BPS_100M: 100 Mbit/s\n - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s\n - BPS_400M: 400 Mbit/s\n - BPS_500M: 500 Mbit/s\n - BPS_1G: 1 Gbit/s\n - BPS_2G: 2 Gbit/s\n - BPS_5G: 5 Gbit/s\n - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s\n - BPS_50G: 50 Gbit/s\n - BPS_100G: 100 Gbit/s",
63150+
"description": "Provisioned bandwidth capacity for the interconnect attachment. For\nattachments of type DEDICATED, the user can set the bandwidth.\nFor attachments of type PARTNER, the Google Partner that is operating\nthe interconnect must set the bandwidth.\nOutput only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,\nand can take one of the following values:\n \n - BPS_50M: 50 Mbit/s\n - BPS_100M: 100 Mbit/s\n - BPS_200M: 200 Mbit/s\n - BPS_300M: 300 Mbit/s\n - BPS_400M: 400 Mbit/s\n - BPS_500M: 500 Mbit/s\n - BPS_1G: 1 Gbit/s\n - BPS_2G: 2 Gbit/s\n - BPS_5G: 5 Gbit/s\n - BPS_10G: 10 Gbit/s\n - BPS_20G: 20 Gbit/s\n - BPS_50G: 50 Gbit/s\n - BPS_100G: 100 Gbit/s\n - BPS_400G: 400 Gbit/s",
6310763151
"enum": [
6310863152
"BPS_100G",
6310963153
"BPS_100M",
@@ -63113,6 +63157,7 @@
6311363157
"BPS_20G",
6311463158
"BPS_2G",
6311563159
"BPS_300M",
63160+
"BPS_400G",
6311663161
"BPS_400M",
6311763162
"BPS_500M",
6311863163
"BPS_50G",
@@ -63128,6 +63173,7 @@
6312863173
"20 Gbit/s",
6312963174
"2 Gbit/s",
6313063175
"300 Mbit/s",
63176+
"400 Gbit/s",
6313163177
"400 Mbit/s",
6313263178
"500 Mbit/s",
6313363179
"50 Gbit/s",

google/cloud/compute/v1/compute_gapic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Google LLC
1+
# Copyright 2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414

1515
# Generated by the disco-to-proto3-converter. DO NOT EDIT!
1616
# Source Discovery file: compute.v1.json
17-
# Source file revision: 20251230
17+
# Source file revision: 20260106
1818
# API name: compute
1919
# API version: v1
2020

0 commit comments

Comments
 (0)