Skip to content

Commit f64a3c8

Browse files
feat: Update Compute Engine API to revision 20230307 (#786)
1 parent 30c0906 commit f64a3c8

4 files changed

Lines changed: 61891 additions & 61769 deletions

File tree

google/cloud/compute/v1/compute.proto

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9421,6 +9421,8 @@ message GuestOsFeature {
94219421

94229422
SEV_CAPABLE = 87083793;
94239423

9424+
SEV_LIVE_MIGRATABLE = 392039820;
9425+
94249426
SEV_SNP_CAPABLE = 426919;
94259427

94269428
UEFI_COMPATIBLE = 195865408;
@@ -9897,12 +9899,16 @@ message HealthStatusForNetworkEndpoint {
98979899
// A value indicating that the enum field is not set.
98989900
UNDEFINED_HEALTH_STATE = 0;
98999901

9902+
// Endpoint is being drained.
99009903
DRAINING = 480455402;
99019904

9905+
// Endpoint is healthy.
99029906
HEALTHY = 439801213;
99039907

9908+
// Endpoint is unhealthy.
99049909
UNHEALTHY = 462118084;
99059910

9911+
// Health status of the endpoint is unknown.
99069912
UNKNOWN = 433141802;
99079913

99089914
}
@@ -18682,6 +18688,13 @@ message NodeGroupsSetNodeTemplateRequest {
1868218688

1868318689
}
1868418690

18691+
//
18692+
message NodeGroupsSimulateMaintenanceEventRequest {
18693+
// Names of the nodes to go under maintenance simulation.
18694+
repeated string nodes = 104993457;
18695+
18696+
}
18697+
1868518698
// Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.
1868618699
message NodeTemplate {
1868718700
// CPU overcommit.
@@ -26603,6 +26616,31 @@ message SimulateMaintenanceEventInstanceRequest {
2660326616

2660426617
}
2660526618

26619+
// A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.
26620+
message SimulateMaintenanceEventNodeGroupRequest {
26621+
// Name of the NodeGroup resource whose nodes will go under maintenance simulation.
26622+
string node_group = 469958146 [(google.api.field_behavior) = REQUIRED];
26623+
26624+
// The body resource for this request
26625+
NodeGroupsSimulateMaintenanceEventRequest node_groups_simulate_maintenance_event_request_resource = 351468764 [(google.api.field_behavior) = REQUIRED];
26626+
26627+
// Project ID for this request.
26628+
string project = 227560217 [
26629+
(google.api.field_behavior) = REQUIRED,
26630+
(google.cloud.operation_request_field) = "project"
26631+
];
26632+
26633+
// 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).
26634+
optional string request_id = 37109963;
26635+
26636+
// The name of the zone for this request.
26637+
string zone = 3744684 [
26638+
(google.api.field_behavior) = REQUIRED,
26639+
(google.cloud.operation_request_field) = "zone"
26640+
];
26641+
26642+
}
26643+
2660626644
// Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.
2660726645
message Snapshot {
2660826646
// [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.
@@ -34205,6 +34243,16 @@ service NodeGroups {
3420534243
option (google.cloud.operation_service) = "ZoneOperations";
3420634244
}
3420734245

34246+
// Simulates maintenance event on specified nodes from the node group.
34247+
rpc SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest) returns (Operation) {
34248+
option (google.api.http) = {
34249+
body: "node_groups_simulate_maintenance_event_request_resource"
34250+
post: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/simulateMaintenanceEvent"
34251+
};
34252+
option (google.api.method_signature) = "project,zone,node_group,node_groups_simulate_maintenance_event_request_resource";
34253+
option (google.cloud.operation_service) = "ZoneOperations";
34254+
}
34255+
3420834256
// Returns permissions that a caller has on the specified resource.
3420934257
rpc TestIamPermissions(TestIamPermissionsNodeGroupRequest) returns (TestPermissionsResponse) {
3421034258
option (google.api.http) = {

0 commit comments

Comments
 (0)