Skip to content

Commit 31b413b

Browse files
yoshi-code-botamanda-tarafa
authored andcommitted
feat: Update Compute Engine v1 API to revision 20250909
1 parent 69a5677 commit 31b413b

File tree

4 files changed

+195
-7
lines changed

4 files changed

+195
-7
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": "2025-09-13T08:30:25Z",
3+
"updateTime": "2025-09-26T16:32:07Z",
44
"apiVersion": "v1",
5-
"discoveryRevision": "20250902",
5+
"discoveryRevision": "20250909",
66
"inlineSchemas": [
77
{
88
"schema": "7db34f55",

google/cloud/compute/v1/compute.proto

Lines changed: 81 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 20250902
17+
// Source file revision: 20250909
1818
// API name: compute
1919
// API version: v1
2020

@@ -11018,6 +11018,18 @@ message GetStoragePoolTypeRequest {
1101811018

1101911019
// A request message for Subnetworks.Get. See the method description for details.
1102011020
message GetSubnetworkRequest {
11021+
// Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
11022+
enum Views {
11023+
// A value indicating that the enum field is not set.
11024+
UNDEFINED_VIEWS = 0;
11025+
11026+
DEFAULT = 115302945;
11027+
11028+
// Utilization data is included in the response.
11029+
WITH_UTILIZATION = 504090633;
11030+
11031+
}
11032+
1102111033
// Project ID for this request.
1102211034
string project = 227560217 [(google.api.field_behavior) = REQUIRED];
1102311035

@@ -11027,6 +11039,10 @@ message GetSubnetworkRequest {
1102711039
// Name of the Subnetwork resource to return.
1102811040
string subnetwork = 307827694 [(google.api.field_behavior) = REQUIRED];
1102911041

11042+
// Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
11043+
// Check the Views enum for the list of possible values.
11044+
optional string views = 112204398;
11045+
1103011046
}
1103111047

1103211048
// A request message for TargetGrpcProxies.Get. See the method description for details.
@@ -17629,6 +17645,9 @@ message InterconnectLocation {
1762917645
// [Output Only] Server-defined URL for the resource.
1763017646
optional string self_link = 456214797;
1763117647

17648+
// [Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.
17649+
repeated string single_region_production_critical_peer_locations = 439537103;
17650+
1763217651
// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.
1763317652
// Check the Status enum for the list of possible values.
1763417653
optional string status = 181260274;
@@ -17910,6 +17929,9 @@ message InterconnectRemoteLocation {
1791017929
// [Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps.
1791117930
optional int32 max_lag_size10_gbps = 294007573;
1791217931

17932+
// [Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.
17933+
optional int32 max_lag_size400_gbps = 104941138;
17934+
1791317935
// [Output Only] Name of the resource.
1791417936
optional string name = 3373707;
1791517937

@@ -20814,6 +20836,18 @@ message ListStoragePoolsRequest {
2081420836

2081520837
// A request message for Subnetworks.List. See the method description for details.
2081620838
message ListSubnetworksRequest {
20839+
// Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
20840+
enum Views {
20841+
// A value indicating that the enum field is not set.
20842+
UNDEFINED_VIEWS = 0;
20843+
20844+
DEFAULT = 115302945;
20845+
20846+
// Utilization data is included in the response.
20847+
WITH_UTILIZATION = 504090633;
20848+
20849+
}
20850+
2081720851
// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.
2081820852
optional string filter = 336120696;
2081920853

@@ -20835,6 +20869,10 @@ message ListSubnetworksRequest {
2083520869
// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
2083620870
optional bool return_partial_success = 517198390;
2083720871

20872+
// Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response.
20873+
// Check the Views enum for the list of possible values.
20874+
optional string views = 112204398;
20875+
2083820876
}
2083920877

2084020878
// A request message for TargetGrpcProxies.List. See the method description for details.
@@ -28519,6 +28557,9 @@ message RequestMirrorPolicy {
2851928557
// The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
2852028558
optional string backend_service = 306946058;
2852128559

28560+
// The percentage of requests to be mirrored to `backend_service`.
28561+
optional double mirror_percent = 277432261;
28562+
2852228563
}
2852328564

2852428565
// A request message for Networks.RequestRemovePeering. See the method description for details.
@@ -36034,6 +36075,9 @@ message Subnetwork {
3603436075
// Output only. [Output Only] The array of internal IPv6 network ranges reserved from the subnetwork's internal IPv6 range for system use.
3603536076
repeated string system_reserved_internal_ipv6_ranges = 432294995;
3603636077

36078+
// Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
36079+
optional SubnetworkUtilizationDetails utilization_details = 125404453;
36080+
3603736081
}
3603836082

3603936083
//
@@ -36159,6 +36203,41 @@ message SubnetworkSecondaryRange {
3615936203

3616036204
}
3616136205

36206+
// The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.
36207+
message SubnetworkUtilizationDetails {
36208+
// Utilizations of external IPV6 IP range.
36209+
optional SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_instance_utilization = 419750236;
36210+
36211+
// Utilizations of external IPV6 IP range for NetLB.
36212+
optional SubnetworkUtilizationDetailsIPV6Utilization external_ipv6_lb_utilization = 136563645;
36213+
36214+
// Utilizations of internal IPV6 IP range.
36215+
optional SubnetworkUtilizationDetailsIPV6Utilization internal_ipv6_utilization = 69707020;
36216+
36217+
// Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.
36218+
repeated SubnetworkUtilizationDetailsIPV4Utilization ipv4_utilizations = 206180011;
36219+
36220+
}
36221+
36222+
// The IPV4 utilization of a single IP range.
36223+
message SubnetworkUtilizationDetailsIPV4Utilization {
36224+
// Will be set for secondary range. Empty for primary IPv4 range.
36225+
optional string range_name = 332216397;
36226+
36227+
optional int64 total_allocated_ip = 279055546;
36228+
36229+
optional int64 total_free_ip = 105624031;
36230+
36231+
}
36232+
36233+
// The IPV6 utilization of a single IP range.
36234+
message SubnetworkUtilizationDetailsIPV6Utilization {
36235+
optional Uint128 total_allocated_ip = 279055546;
36236+
36237+
optional Uint128 total_free_ip = 105624031;
36238+
36239+
}
36240+
3616236241
//
3616336242
message SubnetworksExpandIpCidrRangeRequest {
3616436243
// The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.
@@ -44477,7 +44556,7 @@ service Projects {
4447744556
option (google.api.method_signature) = "project,projects_list_xpn_hosts_request_resource";
4447844557
}
4447944558

44480-
// Moves a persistent disk from one zone to another.
44559+
// Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption.
4448144560
rpc MoveDisk(MoveDiskProjectRequest) returns (Operation) {
4448244561
option (google.api.http) = {
4448344562
body: "disk_move_request_resource"

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

Lines changed: 111 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20558,7 +20558,8 @@
2055820558
]
2055920559
},
2056020560
"moveDisk": {
20561-
"description": "Moves a persistent disk from one zone to another.",
20561+
"deprecated": true,
20562+
"description": "Starting September 29, 2025, you can't use the moveDisk API on new projects. To move a disk to a different region or zone, follow the steps in [Change the location of a disk](https://{$universe.dns_names.final_documentation_domain}/compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already use the moveDisk API can continue usage until September 29, 2026. Starting November 1, 2025, API responses will include a warning message in the response body about the upcoming deprecation. You can skip the message to continue using the service without interruption.",
2056220563
"flatPath": "projects/{project}/moveDisk",
2056320564
"httpMethod": "POST",
2056420565
"id": "compute.projects.moveDisk",
@@ -35508,6 +35509,20 @@
3550835509
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}",
3550935510
"required": true,
3551035511
"type": "string"
35512+
},
35513+
"views": {
35514+
"description": "Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. ",
35515+
"enum": [
35516+
"DEFAULT",
35517+
"WITH_UTILIZATION"
35518+
],
35519+
"enumDescriptions": [
35520+
"",
35521+
"Utilization data is included in the response."
35522+
],
35523+
"location": "query",
35524+
"repeated": true,
35525+
"type": "string"
3551135526
}
3551235527
},
3551335528
"path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}",
@@ -35662,6 +35677,20 @@
3566235677
"description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.",
3566335678
"location": "query",
3566435679
"type": "boolean"
35680+
},
35681+
"views": {
35682+
"description": "Defines the extra views returned back in the subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data is included in the response. ",
35683+
"enum": [
35684+
"DEFAULT",
35685+
"WITH_UTILIZATION"
35686+
],
35687+
"enumDescriptions": [
35688+
"",
35689+
"Utilization data is included in the response."
35690+
],
35691+
"location": "query",
35692+
"repeated": true,
35693+
"type": "string"
3566535694
}
3566635695
},
3566735696
"path": "projects/{project}/regions/{region}/subnetworks",
@@ -40372,7 +40401,7 @@
4037240401
}
4037340402
}
4037440403
},
40375-
"revision": "20250902",
40404+
"revision": "20250909",
4037640405
"rootUrl": "https://compute.googleapis.com/",
4037740406
"schemas": {
4037840407
"AWSV4Signature": {
@@ -60915,6 +60944,13 @@
6091560944
"description": "[Output Only] Server-defined URL for the resource.",
6091660945
"type": "string"
6091760946
},
60947+
"singleRegionProductionCriticalPeerLocations": {
60948+
"description": "[Output Only] URLs of the other locations that can pair up with this location to support Single-Region 99.99% SLA. E.g. iad-zone1-1 and iad-zone2-5467 are Single-Region 99.99% peer locations of each other.",
60949+
"items": {
60950+
"type": "string"
60951+
},
60952+
"type": "array"
60953+
},
6091860954
"status": {
6091960955
"description": "[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. ",
6092060956
"enum": [
@@ -61355,6 +61391,11 @@
6135561391
"format": "int32",
6135661392
"type": "integer"
6135761393
},
61394+
"maxLagSize400Gbps": {
61395+
"description": "[Output Only] The maximum number of 400 Gbps ports supported in a link aggregation group (LAG). When linkType is 400 Gbps, requestedLinkCount cannot exceed max_lag_size_400_gbps.",
61396+
"format": "int32",
61397+
"type": "integer"
61398+
},
6135861399
"name": {
6135961400
"description": "[Output Only] Name of the resource.",
6136061401
"type": "string"
@@ -74233,6 +74274,11 @@
7423374274
"backendService": {
7423474275
"description": "The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. ",
7423574276
"type": "string"
74277+
},
74278+
"mirrorPercent": {
74279+
"description": "The percentage of requests to be mirrored to `backend_service`.",
74280+
"format": "double",
74281+
"type": "number"
7423674282
}
7423774283
},
7423874284
"type": "object"
@@ -85168,6 +85214,11 @@
8516885214
},
8516985215
"readOnly": true,
8517085216
"type": "array"
85217+
},
85218+
"utilizationDetails": {
85219+
"$ref": "SubnetworkUtilizationDetails",
85220+
"description": "Output only. [Output Only] The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.",
85221+
"readOnly": true
8517185222
}
8517285223
},
8517385224
"type": "object"
@@ -85583,6 +85634,64 @@
8558385634
},
8558485635
"type": "object"
8558585636
},
85637+
"SubnetworkUtilizationDetails": {
85638+
"description": "The current IP utilization of all subnetwork ranges. Contains the total number of allocated and free IPs in each range.",
85639+
"id": "SubnetworkUtilizationDetails",
85640+
"properties": {
85641+
"externalIpv6InstanceUtilization": {
85642+
"$ref": "SubnetworkUtilizationDetailsIPV6Utilization",
85643+
"description": "Utilizations of external IPV6 IP range."
85644+
},
85645+
"externalIpv6LbUtilization": {
85646+
"$ref": "SubnetworkUtilizationDetailsIPV6Utilization",
85647+
"description": "Utilizations of external IPV6 IP range for NetLB."
85648+
},
85649+
"internalIpv6Utilization": {
85650+
"$ref": "SubnetworkUtilizationDetailsIPV6Utilization",
85651+
"description": "Utilizations of internal IPV6 IP range."
85652+
},
85653+
"ipv4Utilizations": {
85654+
"description": "Utilizations of all IPV4 IP ranges. For primary ranges, the range name will be empty.",
85655+
"items": {
85656+
"$ref": "SubnetworkUtilizationDetailsIPV4Utilization"
85657+
},
85658+
"type": "array"
85659+
}
85660+
},
85661+
"type": "object"
85662+
},
85663+
"SubnetworkUtilizationDetailsIPV4Utilization": {
85664+
"description": "The IPV4 utilization of a single IP range.",
85665+
"id": "SubnetworkUtilizationDetailsIPV4Utilization",
85666+
"properties": {
85667+
"rangeName": {
85668+
"description": "Will be set for secondary range. Empty for primary IPv4 range.",
85669+
"type": "string"
85670+
},
85671+
"totalAllocatedIp": {
85672+
"format": "int64",
85673+
"type": "string"
85674+
},
85675+
"totalFreeIp": {
85676+
"format": "int64",
85677+
"type": "string"
85678+
}
85679+
},
85680+
"type": "object"
85681+
},
85682+
"SubnetworkUtilizationDetailsIPV6Utilization": {
85683+
"description": "The IPV6 utilization of a single IP range.",
85684+
"id": "SubnetworkUtilizationDetailsIPV6Utilization",
85685+
"properties": {
85686+
"totalAllocatedIp": {
85687+
"$ref": "Uint128"
85688+
},
85689+
"totalFreeIp": {
85690+
"$ref": "Uint128"
85691+
}
85692+
},
85693+
"type": "object"
85694+
},
8558685695
"SubnetworksExpandIpCidrRangeRequest": {
8558785696
"id": "SubnetworksExpandIpCidrRangeRequest",
8558885697
"properties": {

google/cloud/compute/v1/compute_gapic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 20250902
17+
# Source file revision: 20250909
1818
# API name: compute
1919
# API version: v1
2020

0 commit comments

Comments
 (0)