Skip to content

Commit

Permalink
feat: Update Compute Engine API to revision 20230711 (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot committed Jul 25, 2023
1 parent a377059 commit e8c26cc
Show file tree
Hide file tree
Showing 4 changed files with 49,006 additions and 48,847 deletions.
83 changes: 75 additions & 8 deletions google/cloud/compute/v1/compute.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

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

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

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

// An optional textual description of the resource; provided by the client when the resource is created.
Expand Down Expand Up @@ -6854,6 +6854,9 @@ message DistributionPolicy {
// 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.
ANY = 64972;

// 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.
ANY_SINGLE_ZONE = 61100880;

// 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.
BALANCED = 468409608;

Expand Down Expand Up @@ -12714,14 +12717,14 @@ message InstanceGroupManagerUpdatePolicy {

}

// 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).
// 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.
// Additional supported values which may be not listed in the enum directly due to technical reasons:
// PROACTIVE
enum Type {
// A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;

// 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).
// MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated.
OPPORTUNISTIC = 429530089;

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

// 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).
// 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.
// Check the Type enum for the list of possible values.
optional string type = 3575610;

Expand Down Expand Up @@ -20746,6 +20749,34 @@ message PatchRegionUrlMapRequest {

}

// A request message for ResourcePolicies.Patch. See the method description for details.
message PatchResourcePolicyRequest {
// Project ID for this request.
string project = 227560217 [
(google.api.field_behavior) = REQUIRED,
(google.cloud.operation_request_field) = "project"
];

// Name of the region for this request.
string region = 138946292 [
(google.api.field_behavior) = REQUIRED,
(google.cloud.operation_request_field) = "region"
];

// 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).
optional string request_id = 37109963;

// Id of the resource policy to patch.
string resource_policy = 159240835 [(google.api.field_behavior) = REQUIRED];

// The body resource for this request
ResourcePolicy resource_policy_resource = 76826186 [(google.api.field_behavior) = REQUIRED];

// update_mask indicates fields to be updated as part of this request.
optional string update_mask = 500079778;

}

// A request message for Routers.Patch. See the method description for details.
message PatchRouterRequest {
// Project ID for this request.
Expand Down Expand Up @@ -21953,9 +21984,25 @@ message Quota {

// Additional details for quota exceeded error for resource quota.
message QuotaExceededInfo {
// Rollout status of the future quota limit.
enum RolloutStatus {
// A value indicating that the enum field is not set.
UNDEFINED_ROLLOUT_STATUS = 0;

// IN_PROGRESS - A rollout is in process which will change the limit value to future limit.
IN_PROGRESS = 469193735;

// ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value.
ROLLOUT_STATUS_UNSPECIFIED = 26864568;

}

// The map holding related quota dimensions.
map<string, string> dimensions = 414334925;

// Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
optional double future_limit = 456564287;

// Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;

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

// Rollout status of the future quota limit.
// Check the RolloutStatus enum for the list of possible values.
optional string rollout_status = 476426816;

}

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

// 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.
optional Duration local_ssd_recovery_timeout = 268015590;

// 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.
optional string location_hint = 350519505;

Expand Down Expand Up @@ -25537,6 +25591,9 @@ message ServiceAttachmentConnectedEndpoint {

}

// The url of the consumer network.
optional string consumer_network = 254357221;

// The url of a connected endpoint.
optional string endpoint = 130489749;

Expand Down Expand Up @@ -36833,7 +36890,7 @@ service RegionSecurityPolicies {
option (google.api.method_signature) = "project,region";
}

// 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.
// 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.
rpc Patch(PatchRegionSecurityPolicyRequest) returns (Operation) {
option (google.api.http) = {
body: "security_policy_resource"
Expand Down Expand Up @@ -37396,6 +37453,16 @@ service ResourcePolicies {
option (google.api.method_signature) = "project,region";
}

// Modify the specified resource policy.
rpc Patch(PatchResourcePolicyRequest) returns (Operation) {
option (google.api.http) = {
body: "resource_policy_resource"
patch: "/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource_policy}"
};
option (google.api.method_signature) = "project,region,resource_policy,resource_policy_resource";
option (google.cloud.operation_service) = "RegionOperations";
}

// Sets the access control policy on the specified resource. Replaces any existing policy.
rpc SetIamPolicy(SetIamPolicyResourcePolicyRequest) returns (Policy) {
option (google.api.http) = {
Expand Down Expand Up @@ -37639,7 +37706,7 @@ service SecurityPolicies {
option (google.api.method_signature) = "project";
}

// 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.
// 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.
rpc Patch(PatchSecurityPolicyRequest) returns (Operation) {
option (google.api.http) = {
body: "security_policy_resource"
Expand All @@ -37649,7 +37716,7 @@ service SecurityPolicies {
option (google.cloud.operation_service) = "GlobalOperations";
}

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

0 comments on commit e8c26cc

Please sign in to comment.