Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2025 Google LLC
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@

// Generated by the disco-to-proto3-converter. DO NOT EDIT!
// Source Discovery file: compute.v1.json
// Source file revision: 20251230
// Source file revision: 20260106
// API name: compute
// API version: v1

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

// A flexible specification of machine type of instances to create.
optional InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;

// The instance properties defining the VM instances to be created. Required
// if sourceInstanceTemplate is not provided.
optional InstanceProperties instance_properties = 215355165;
Expand Down Expand Up @@ -27963,6 +27966,46 @@ message InstanceConsumptionInfo {

}

// A flexible specification of machine types for instances to create.
message InstanceFlexibilityPolicy {
// Specification of alternative, flexible instance subsets.
// One of them will be selected to create the instances
// based on various criteria, like:
// - ranks,
// - location policy,
// - current capacity,
// - available reservations (you can specify affinity in
// InstanceProperties),
// - SWAN/GOOSE limitations.
// Key is an arbitrary, unique RFC1035 string that identifies the instance
// selection.
map<string, InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

}

// Specification of machine type to use. Every position inside this message
// is an alternative.
// The count specified in the shape flexibility must not exceed the number
// of entries in per_instance_properties or the capacity of the
// name_pattern, if used.
message InstanceFlexibilityPolicyInstanceSelection {
// Disks to be attached to the instances created from in this selection.
// They override the disks specified in the instance properties.
repeated AttachedDisk disks = 95594102;

// Alternative machine types to use for instances that are created from
// these properties. This field only accepts a machine type names, for
// example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;

// Rank when prioritizing the shape flexibilities.
// The instance selections with rank are considered
// first, in the ascending order of the rank.
// If not set, defaults to 0.
optional int64 rank = 3492908;

}

// Represents an Instance Group resource.
//
// Instance Groups can be used to configure a target forload
Expand Down Expand Up @@ -30121,6 +30164,7 @@ message InstancesReportHostAsFaultyRequestFaultReason {

SILENT_DATA_CORRUPTION = 111360678;

// Unrecoverable GPU error identified by an XID
UNRECOVERABLE_GPU_ERROR = 363710747;

}
Expand Down Expand Up @@ -30916,6 +30960,7 @@ message InterconnectAttachment {
// - BPS_20G: 20 Gbit/s
// - BPS_50G: 50 Gbit/s
// - BPS_100G: 100 Gbit/s
// - BPS_400G: 400 Gbit/s
enum Bandwidth {
// A value indicating that the enum field is not set.
UNDEFINED_BANDWIDTH = 0;
Expand Down Expand Up @@ -30944,6 +30989,9 @@ message InterconnectAttachment {
// 300 Mbit/s
BPS_300M = 49607540;

// 400 Gbit/s
BPS_400G = 49637325;

// 400 Mbit/s
BPS_400M = 49637331;

Expand Down Expand Up @@ -31165,6 +31213,7 @@ message InterconnectAttachment {
// - BPS_20G: 20 Gbit/s
// - BPS_50G: 50 Gbit/s
// - BPS_100G: 100 Gbit/s
// - BPS_400G: 400 Gbit/s
// Check the Bandwidth enum for the list of possible values.
optional string bandwidth = 181715121;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2025 Google LLC
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@

// Generated by the disco-to-proto3-converter. DO NOT EDIT!
// Source Discovery file: compute.v1beta.json
// Source file revision: 20251230
// Source file revision: 20260106
// API name: compute
// API version: v1beta

Expand Down Expand Up @@ -12907,6 +12907,9 @@ message BulkInsertInstanceResource {
// The maximum number of instances to create.
optional int64 count = 94851343;

// A flexible specification of machine type of instances to create.
optional InstanceFlexibilityPolicy instance_flexibility_policy = 26937090;

// The instance properties defining the VM instances to be created. Required
// if sourceInstanceTemplate is not provided.
optional InstanceProperties instance_properties = 215355165;
Expand Down Expand Up @@ -31627,6 +31630,46 @@ message InstanceConsumptionInfo {

}

// A flexible specification of machine types for instances to create.
message InstanceFlexibilityPolicy {
// Specification of alternative, flexible instance subsets.
// One of them will be selected to create the instances
// based on various criteria, like:
// - ranks,
// - location policy,
// - current capacity,
// - available reservations (you can specify affinity in
// InstanceProperties),
// - SWAN/GOOSE limitations.
// Key is an arbitrary, unique RFC1035 string that identifies the instance
// selection.
map<string, InstanceFlexibilityPolicyInstanceSelection> instance_selections = 22954577;

}

// Specification of machine type to use. Every position inside this message
// is an alternative.
// The count specified in the shape flexibility must not exceed the number
// of entries in per_instance_properties or the capacity of the
// name_pattern, if used.
message InstanceFlexibilityPolicyInstanceSelection {
// Disks to be attached to the instances created from in this selection.
// They override the disks specified in the instance properties.
repeated AttachedDisk disks = 95594102;

// Alternative machine types to use for instances that are created from
// these properties. This field only accepts a machine type names, for
// example `n2-standard-4` and not URLs or partial URLs.
repeated string machine_types = 79720065;

// Rank when prioritizing the shape flexibilities.
// The instance selections with rank are considered
// first, in the ascending order of the rank.
// If not set, defaults to 0.
optional int64 rank = 3492908;

}

// Represents an Instance Group resource.
//
// Instance Groups can be used to configure a target forload
Expand Down Expand Up @@ -34153,6 +34196,7 @@ message InstancesReportHostAsFaultyRequestFaultReason {

SILENT_DATA_CORRUPTION = 111360678;

// Unrecoverable GPU error identified by an XID
UNRECOVERABLE_GPU_ERROR = 363710747;

}
Expand Down Expand Up @@ -34970,6 +35014,7 @@ message InterconnectAttachment {
// - BPS_20G: 20 Gbit/s
// - BPS_50G: 50 Gbit/s
// - BPS_100G: 100 Gbit/s
// - BPS_400G: 400 Gbit/s
enum Bandwidth {
// A value indicating that the enum field is not set.
UNDEFINED_BANDWIDTH = 0;
Expand Down Expand Up @@ -35222,6 +35267,7 @@ message InterconnectAttachment {
// - BPS_20G: 20 Gbit/s
// - BPS_50G: 50 Gbit/s
// - BPS_100G: 100 Gbit/s
// - BPS_400G: 400 Gbit/s
// Check the Bandwidth enum for the list of possible values.
optional string bandwidth = 181715121;

Expand Down
Loading