Skip to content

Commit e8c26cc

Browse files
feat: Update Compute Engine API to revision 20230711 (#836)
1 parent a377059 commit e8c26cc

4 files changed

Lines changed: 49006 additions & 48847 deletions

File tree

google/cloud/compute/v1/compute.proto

Lines changed: 75 additions & 8 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: 20230701
17+
// Source file revision: 20230711
1818
// API name: compute
1919
// API version: v1
2020

@@ -2887,7 +2887,7 @@ message BackendBucket {
28872887
// [Output Only] Creation timestamp in RFC3339 text format.
28882888
optional string creation_timestamp = 30525366;
28892889

2890-
// Headers that the HTTP/S load balancer should add to proxied responses.
2890+
// Headers that the Application Load Balancer should add to proxied responses.
28912891
repeated string custom_response_headers = 387539094;
28922892

28932893
// An optional textual description of the resource; provided by the client when the resource is created.
@@ -6854,6 +6854,9 @@ message DistributionPolicy {
68546854
// The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
68556855
ANY = 64972;
68566856

6857+
// The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication.
6858+
ANY_SINGLE_ZONE = 61100880;
6859+
68576860
// The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
68586861
BALANCED = 468409608;
68596862

@@ -12714,14 +12717,14 @@ message InstanceGroupManagerUpdatePolicy {
1271412717

1271512718
}
1271612719

12717-
// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
12720+
// The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
1271812721
// Additional supported values which may be not listed in the enum directly due to technical reasons:
1271912722
// PROACTIVE
1272012723
enum Type {
1272112724
// A value indicating that the enum field is not set.
1272212725
UNDEFINED_TYPE = 0;
1272312726

12724-
// No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
12727+
// MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated.
1272512728
OPPORTUNISTIC = 429530089;
1272612729

1272712730
}
@@ -12748,7 +12751,7 @@ message InstanceGroupManagerUpdatePolicy {
1274812751
// Check the ReplacementMethod enum for the list of possible values.
1274912752
optional string replacement_method = 505931694;
1275012753

12751-
// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
12754+
// The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
1275212755
// Check the Type enum for the list of possible values.
1275312756
optional string type = 3575610;
1275412757

@@ -20746,6 +20749,34 @@ message PatchRegionUrlMapRequest {
2074620749

2074720750
}
2074820751

20752+
// A request message for ResourcePolicies.Patch. See the method description for details.
20753+
message PatchResourcePolicyRequest {
20754+
// Project ID for this request.
20755+
string project = 227560217 [
20756+
(google.api.field_behavior) = REQUIRED,
20757+
(google.cloud.operation_request_field) = "project"
20758+
];
20759+
20760+
// Name of the region for this request.
20761+
string region = 138946292 [
20762+
(google.api.field_behavior) = REQUIRED,
20763+
(google.cloud.operation_request_field) = "region"
20764+
];
20765+
20766+
// 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).
20767+
optional string request_id = 37109963;
20768+
20769+
// Id of the resource policy to patch.
20770+
string resource_policy = 159240835 [(google.api.field_behavior) = REQUIRED];
20771+
20772+
// The body resource for this request
20773+
ResourcePolicy resource_policy_resource = 76826186 [(google.api.field_behavior) = REQUIRED];
20774+
20775+
// update_mask indicates fields to be updated as part of this request.
20776+
optional string update_mask = 500079778;
20777+
20778+
}
20779+
2074920780
// A request message for Routers.Patch. See the method description for details.
2075020781
message PatchRouterRequest {
2075120782
// Project ID for this request.
@@ -21953,9 +21984,25 @@ message Quota {
2195321984

2195421985
// Additional details for quota exceeded error for resource quota.
2195521986
message QuotaExceededInfo {
21987+
// Rollout status of the future quota limit.
21988+
enum RolloutStatus {
21989+
// A value indicating that the enum field is not set.
21990+
UNDEFINED_ROLLOUT_STATUS = 0;
21991+
21992+
// IN_PROGRESS - A rollout is in process which will change the limit value to future limit.
21993+
IN_PROGRESS = 469193735;
21994+
21995+
// ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.
21996+
ROLLOUT_STATUS_UNSPECIFIED = 26864568;
21997+
21998+
}
21999+
2195622000
// The map holding related quota dimensions.
2195722001
map<string, string> dimensions = 414334925;
2195822002

22003+
// Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
22004+
optional double future_limit = 456564287;
22005+
2195922006
// Current effective quota limit. The limit's unit depends on the quota type or metric.
2196022007
optional double limit = 102976443;
2196122008

@@ -21965,6 +22012,10 @@ message QuotaExceededInfo {
2196522012
// The Compute Engine quota metric name.
2196622013
optional string metric_name = 409881530;
2196722014

22015+
// Rollout status of the future quota limit.
22016+
// Check the RolloutStatus enum for the list of possible values.
22017+
optional string rollout_status = 476426816;
22018+
2196822019
}
2196922020

2197022021
// The parameters of the raw disk image.
@@ -24764,6 +24815,9 @@ message Scheduling {
2476424815
// Check the InstanceTerminationAction enum for the list of possible values.
2476524816
optional string instance_termination_action = 107380667;
2476624817

24818+
// Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
24819+
optional Duration local_ssd_recovery_timeout = 268015590;
24820+
2476724821
// An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.
2476824822
optional string location_hint = 350519505;
2476924823

@@ -25537,6 +25591,9 @@ message ServiceAttachmentConnectedEndpoint {
2553725591

2553825592
}
2553925593

25594+
// The url of the consumer network.
25595+
optional string consumer_network = 254357221;
25596+
2554025597
// The url of a connected endpoint.
2554125598
optional string endpoint = 130489749;
2554225599

@@ -36833,7 +36890,7 @@ service RegionSecurityPolicies {
3683336890
option (google.api.method_signature) = "project,region";
3683436891
}
3683536892

36836-
// Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
36893+
// Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3683736894
rpc Patch(PatchRegionSecurityPolicyRequest) returns (Operation) {
3683836895
option (google.api.http) = {
3683936896
body: "security_policy_resource"
@@ -37396,6 +37453,16 @@ service ResourcePolicies {
3739637453
option (google.api.method_signature) = "project,region";
3739737454
}
3739837455

37456+
// Modify the specified resource policy.
37457+
rpc Patch(PatchResourcePolicyRequest) returns (Operation) {
37458+
option (google.api.http) = {
37459+
body: "resource_policy_resource"
37460+
patch: "/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource_policy}"
37461+
};
37462+
option (google.api.method_signature) = "project,region,resource_policy,resource_policy_resource";
37463+
option (google.cloud.operation_service) = "RegionOperations";
37464+
}
37465+
3739937466
// Sets the access control policy on the specified resource. Replaces any existing policy.
3740037467
rpc SetIamPolicy(SetIamPolicyResourcePolicyRequest) returns (Policy) {
3740137468
option (google.api.http) = {
@@ -37639,7 +37706,7 @@ service SecurityPolicies {
3763937706
option (google.api.method_signature) = "project";
3764037707
}
3764137708

37642-
// Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
37709+
// Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.
3764337710
rpc Patch(PatchSecurityPolicyRequest) returns (Operation) {
3764437711
option (google.api.http) = {
3764537712
body: "security_policy_resource"
@@ -37649,7 +37716,7 @@ service SecurityPolicies {
3764937716
option (google.cloud.operation_service) = "GlobalOperations";
3765037717
}
3765137718

37652-
// Patches a rule at the specified priority.
37719+
// Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask.
3765337720
rpc PatchRule(PatchRuleSecurityPolicyRequest) returns (Operation) {
3765437721
option (google.api.http) = {
3765537722
body: "security_policy_rule_resource"

0 commit comments

Comments
 (0)