Skip to content

Commit 19c2920

Browse files
feat: Update Compute Engine v1 API to revision 20250626
1 parent 45dcfd9 commit 19c2920

File tree

5 files changed

+214
-6
lines changed

5 files changed

+214
-6
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"converterVersion": "",
3-
"updateTime": "2025-06-03T17:05:58Z",
3+
"updateTime": "2025-07-07T16:32:20Z",
44
"apiVersion": "v1",
5-
"discoveryRevision": "20250601",
5+
"discoveryRevision": "20250626",
66
"inlineSchemas": [
77
{
88
"schema": "7db34f55",
@@ -5376,6 +5376,14 @@
53765376
]
53775377
}
53785378
},
5379+
{
5380+
"schema": "deb5edbe",
5381+
"locations": {
5382+
"PerformMaintenanceReservationSubBlockRequest": [
5383+
"resources.reservationSubBlocks.performMaintenance._request"
5384+
]
5385+
}
5386+
},
53795387
{
53805388
"schema": "910766fc",
53815389
"locations": {

google/cloud/compute/v1/compute.proto

Lines changed: 76 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: 20250601
17+
// Source file revision: 20250626
1818
// API name: compute
1919
// API version: v1
2020

@@ -3871,6 +3871,9 @@ message BackendService {
38713871
// The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration.
38723872
optional int32 timeout_sec = 79994995;
38733873

3874+
// Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2.
3875+
optional BackendServiceTlsSettings tls_settings = 81794791;
3876+
38743877
// [Output Only] List of resources referencing given backend service.
38753878
repeated BackendServiceUsedBy used_by = 389320729;
38763879

@@ -4267,6 +4270,29 @@ message BackendServiceReference {
42674270

42684271
}
42694272

4273+
//
4274+
message BackendServiceTlsSettings {
4275+
// Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com namespace. Can be used in authenticating TLS connections to the backend, as specified by the authenticationMode field. Can only be specified if authenticationMode is not NONE.
4276+
optional string authentication_config = 408053481;
4277+
4278+
// Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string as the SNI hostname in the TLS connection to the backend, and requires that this string match a Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the Regional Internet NEG is specified with FQDN or IP address and port. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[].
4279+
optional string sni = 114030;
4280+
4281+
// A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS handshake with the backend. When the server presents its X.509 certificate to the Load Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[].
4282+
repeated BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
4283+
4284+
}
4285+
4286+
// A Subject Alternative Name that the load balancer matches against the SAN field in the TLS certificate provided by the backend, specified as either a DNS name or a URI, in accordance with RFC 5280 4.2.1.6
4287+
message BackendServiceTlsSettingsSubjectAltName {
4288+
// The SAN specified as a DNS Name.
4289+
optional string dns_name = 411992033;
4290+
4291+
// The SAN specified as a URI.
4292+
optional string uniform_resource_identifier = 491409007;
4293+
4294+
}
4295+
42704296
//
42714297
message BackendServiceUsedBy {
42724298
// [Output Only] Server-defined URL for resources referencing given BackendService like UrlMaps, TargetTcpProxies, TargetSslProxies and ForwardingRule.
@@ -11129,6 +11155,12 @@ message GroupMaintenanceInfo {
1112911155

1113011156
}
1113111157

11158+
// Describes number of instances that have ongoing maintenance.
11159+
optional int32 instance_maintenance_ongoing_count = 137611253;
11160+
11161+
// Describes number of instances that have pending maintenance.
11162+
optional int32 instance_maintenance_pending_count = 76612881;
11163+
1113211164
// Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.
1113311165
optional int32 maintenance_ongoing_count = 219781919;
1113411166

@@ -11139,6 +11171,12 @@ message GroupMaintenanceInfo {
1113911171
// Check the SchedulingType enum for the list of possible values.
1114011172
optional string scheduling_type = 199835397;
1114111173

11174+
// Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.
11175+
optional int32 subblock_infra_maintenance_ongoing_count = 366161790;
11176+
11177+
// Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.
11178+
optional int32 subblock_infra_maintenance_pending_count = 305163418;
11179+
1114211180
// Maintenance information on this group of VMs.
1114311181
optional UpcomingMaintenance upcoming_group_maintenance = 393438448;
1114411182

@@ -25820,6 +25858,31 @@ message PerformMaintenanceReservationRequest {
2582025858

2582125859
}
2582225860

25861+
// A request message for ReservationSubBlocks.PerformMaintenance. See the method description for details.
25862+
message PerformMaintenanceReservationSubBlockRequest {
25863+
// The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}
25864+
string parent_name = 478151936 [(google.api.field_behavior) = REQUIRED];
25865+
25866+
// Project ID for this request.
25867+
string project = 227560217 [
25868+
(google.api.field_behavior) = REQUIRED,
25869+
(google.cloud.operation_request_field) = "project"
25870+
];
25871+
25872+
// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
25873+
optional string request_id = 37109963;
25874+
25875+
// The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.
25876+
string reservation_sub_block = 22750491 [(google.api.field_behavior) = REQUIRED];
25877+
25878+
// Name of the zone for this request. Zone name should conform to RFC1035.
25879+
string zone = 3744684 [
25880+
(google.api.field_behavior) = REQUIRED,
25881+
(google.cloud.operation_request_field) = "zone"
25882+
];
25883+
25884+
}
25885+
2582325886
// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
2582425887
message Policy {
2582525888
// Specifies cloud audit logging configuration for this policy.
@@ -28350,6 +28413,9 @@ message ReservationSubBlock {
2835028413
// [Output Only] The physical topology of the reservation subBlock.
2835128414
optional ReservationSubBlockPhysicalTopology physical_topology = 279778519;
2835228415

28416+
// Maintenance information for this reservation subBlock.
28417+
optional GroupMaintenanceInfo reservation_sub_block_maintenance = 377005551;
28418+
2835328419
// [Output Only] Server-defined fully-qualified URL for this resource.
2835428420
optional string self_link = 456214797;
2835528421

@@ -45597,7 +45663,6 @@ service ReservationSubBlocks {
4559745663
"compute.googleapis.com";
4559845664

4559945665
option (google.api.oauth_scopes) =
45600-
"https://www.googleapis.com/auth/compute.readonly,"
4560145666
"https://www.googleapis.com/auth/compute,"
4560245667
"https://www.googleapis.com/auth/cloud-platform";
4560345668

@@ -45617,6 +45682,15 @@ service ReservationSubBlocks {
4561745682
option (google.api.method_signature) = "project,zone,parent_name";
4561845683
}
4561945684

45685+
// Allows customers to perform maintenance on a reservation subBlock
45686+
rpc PerformMaintenance(PerformMaintenanceReservationSubBlockRequest) returns (Operation) {
45687+
option (google.api.http) = {
45688+
post: "/compute/v1/projects/{project}/zones/{zone}/{parent_name}/reservationSubBlocks/{reservation_sub_block}/performMaintenance"
45689+
};
45690+
option (google.api.method_signature) = "project,zone,parent_name,reservation_sub_block";
45691+
option (google.cloud.operation_service) = "ZoneOperations";
45692+
}
45693+
4562045694
}
4562145695

4562245696
// The Reservations API.

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

Lines changed: 116 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30094,6 +30094,57 @@
3009430094
"https://www.googleapis.com/auth/compute",
3009530095
"https://www.googleapis.com/auth/compute.readonly"
3009630096
]
30097+
},
30098+
"performMaintenance": {
30099+
"description": "Allows customers to perform maintenance on a reservation subBlock",
30100+
"flatPath": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance",
30101+
"httpMethod": "POST",
30102+
"id": "compute.reservationSubBlocks.performMaintenance",
30103+
"parameterOrder": [
30104+
"project",
30105+
"zone",
30106+
"parentName",
30107+
"reservationSubBlock"
30108+
],
30109+
"parameters": {
30110+
"parentName": {
30111+
"description": "The name of the parent reservation and parent block. In the format of reservations/{reservation_name}/reservationBlocks/{reservation_block_name}",
30112+
"location": "path",
30113+
"required": true,
30114+
"type": "string"
30115+
},
30116+
"project": {
30117+
"description": "Project ID for this request.",
30118+
"location": "path",
30119+
"required": true,
30120+
"type": "string"
30121+
},
30122+
"requestId": {
30123+
"description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).",
30124+
"location": "query",
30125+
"type": "string"
30126+
},
30127+
"reservationSubBlock": {
30128+
"description": "The name of the reservation subBlock. Name should conform to RFC1035 or be a resource ID.",
30129+
"location": "path",
30130+
"required": true,
30131+
"type": "string"
30132+
},
30133+
"zone": {
30134+
"description": "Name of the zone for this request. Zone name should conform to RFC1035.",
30135+
"location": "path",
30136+
"required": true,
30137+
"type": "string"
30138+
}
30139+
},
30140+
"path": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks/{reservationSubBlock}/performMaintenance",
30141+
"response": {
30142+
"$ref": "Operation"
30143+
},
30144+
"scopes": [
30145+
"https://www.googleapis.com/auth/cloud-platform",
30146+
"https://www.googleapis.com/auth/compute"
30147+
]
3009730148
}
3009830149
}
3009930150
},
@@ -39884,7 +39935,7 @@
3988439935
}
3988539936
}
3988639937
},
39887-
"revision": "20250601",
39938+
"revision": "20250626",
3988839939
"rootUrl": "https://compute.googleapis.com/",
3988939940
"schemas": {
3989039941
"AWSV4Signature": {
@@ -43331,6 +43382,10 @@
4333143382
"format": "int32",
4333243383
"type": "integer"
4333343384
},
43385+
"tlsSettings": {
43386+
"$ref": "BackendServiceTlsSettings",
43387+
"description": "Configuration for Backend Authenticated TLS and mTLS. May only be specified when the backend protocol is SSL, HTTPS or HTTP2."
43388+
},
4333443389
"usedBy": {
4333543390
"description": "[Output Only] List of resources referencing given backend service.",
4333643391
"items": {
@@ -44222,6 +44277,42 @@
4422244277
},
4422344278
"type": "object"
4422444279
},
44280+
"BackendServiceTlsSettings": {
44281+
"id": "BackendServiceTlsSettings",
44282+
"properties": {
44283+
"authenticationConfig": {
44284+
"description": "Reference to the BackendAuthenticationConfig resource from the networksecurity.googleapis.com namespace. Can be used in authenticating TLS connections to the backend, as specified by the authenticationMode field. Can only be specified if authenticationMode is not NONE.",
44285+
"type": "string"
44286+
},
44287+
"sni": {
44288+
"description": "Server Name Indication - see RFC3546 section 3.1. If set, the load balancer sends this string as the SNI hostname in the TLS connection to the backend, and requires that this string match a Subject Alternative Name (SAN) in the backend's server certificate. With a Regional Internet NEG backend, if the SNI is specified here, the load balancer uses it regardless of whether the Regional Internet NEG is specified with FQDN or IP address and port. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[].",
44289+
"type": "string"
44290+
},
44291+
"subjectAltNames": {
44292+
"description": "A list of Subject Alternative Names (SANs) that the Load Balancer verifies during a TLS handshake with the backend. When the server presents its X.509 certificate to the Load Balancer, the Load Balancer inspects the certificate's SAN field, and requires that at least one SAN match one of the subjectAltNames in the list. This field is limited to 5 entries. When both sni and subjectAltNames[] are specified, the load balancer matches the backend certificate's SAN only to subjectAltNames[].",
44293+
"items": {
44294+
"$ref": "BackendServiceTlsSettingsSubjectAltName"
44295+
},
44296+
"type": "array"
44297+
}
44298+
},
44299+
"type": "object"
44300+
},
44301+
"BackendServiceTlsSettingsSubjectAltName": {
44302+
"description": "A Subject Alternative Name that the load balancer matches against the SAN field in the TLS certificate provided by the backend, specified as either a DNS name or a URI, in accordance with RFC 5280 4.2.1.6",
44303+
"id": "BackendServiceTlsSettingsSubjectAltName",
44304+
"properties": {
44305+
"dnsName": {
44306+
"description": "The SAN specified as a DNS Name.",
44307+
"type": "string"
44308+
},
44309+
"uniformResourceIdentifier": {
44310+
"description": "The SAN specified as a URI.",
44311+
"type": "string"
44312+
}
44313+
},
44314+
"type": "object"
44315+
},
4422544316
"BackendServiceUsedBy": {
4422644317
"id": "BackendServiceUsedBy",
4422744318
"properties": {
@@ -49845,6 +49936,16 @@
4984549936
"description": "Maintenance Info for ReservationBlocks.",
4984649937
"id": "GroupMaintenanceInfo",
4984749938
"properties": {
49939+
"instanceMaintenanceOngoingCount": {
49940+
"description": "Describes number of instances that have ongoing maintenance.",
49941+
"format": "int32",
49942+
"type": "integer"
49943+
},
49944+
"instanceMaintenancePendingCount": {
49945+
"description": "Describes number of instances that have pending maintenance.",
49946+
"format": "int32",
49947+
"type": "integer"
49948+
},
4984849949
"maintenanceOngoingCount": {
4984949950
"description": "Progress for ongoing maintenance for this group of VMs/hosts. Describes number of hosts in the block that have ongoing maintenance.",
4985049951
"format": "int32",
@@ -49869,6 +49970,16 @@
4986949970
],
4987049971
"type": "string"
4987149972
},
49973+
"subblockInfraMaintenanceOngoingCount": {
49974+
"description": "Describes number of subblock Infrastructure that has ongoing maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family(e.g. NVLink Domains). Not all VM Families will support this field.",
49975+
"format": "int32",
49976+
"type": "integer"
49977+
},
49978+
"subblockInfraMaintenancePendingCount": {
49979+
"description": "Describes number of subblock Infrastructure that has pending maintenance. Here, Subblock Infrastructure Maintenance pertains to upstream hardware contained in the Subblock that is necessary for a VM Family (e.g. NVLink Domains). Not all VM Families will support this field.",
49980+
"format": "int32",
49981+
"type": "integer"
49982+
},
4987249983
"upcomingGroupMaintenance": {
4987349984
"$ref": "UpcomingMaintenance",
4987449985
"description": "Maintenance information on this group of VMs."
@@ -74105,6 +74216,10 @@
7410574216
"$ref": "ReservationSubBlockPhysicalTopology",
7410674217
"description": "[Output Only] The physical topology of the reservation subBlock."
7410774218
},
74219+
"reservationSubBlockMaintenance": {
74220+
"$ref": "GroupMaintenanceInfo",
74221+
"description": "Maintenance information for this reservation subBlock."
74222+
},
7410874223
"selfLink": {
7410974224
"description": "[Output Only] Server-defined fully-qualified URL for this resource.",
7411074225
"type": "string"

google/cloud/compute/v1/compute_gapic.yaml

Lines changed: 9 additions & 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: 20250601
17+
# Source file revision: 20250626
1818
# API name: compute
1919
# API version: v1
2020

@@ -2132,6 +2132,14 @@ interfaces:
21322132
poll_delay_multiplier: 1.5
21332133
max_poll_delay_millis: 20000
21342134
total_poll_timeout_millis: 600000
2135+
- name: google.cloud.compute.v1.ReservationSubBlocks
2136+
methods:
2137+
- name: PerformMaintenance
2138+
long_running:
2139+
initial_poll_delay_millis: 500
2140+
poll_delay_multiplier: 1.5
2141+
max_poll_delay_millis: 20000
2142+
total_poll_timeout_millis: 600000
21352143
- name: google.cloud.compute.v1.Reservations
21362144
methods:
21372145
- name: Delete

0 commit comments

Comments
 (0)