Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/google-cloud-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
| Resource_policies.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.get_iam_policy.js,packages/google-cloud-compute/samples/README.md) |
| Resource_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js,packages/google-cloud-compute/samples/README.md) |
| Resource_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js,packages/google-cloud-compute/samples/README.md) |
| Resource_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.patch.js,packages/google-cloud-compute/samples/README.md) |
| Resource_policies.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.set_iam_policy.js,packages/google-cloud-compute/samples/README.md) |
| Resource_policies.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js,packages/google-cloud-compute/samples/README.md) |
| Routers.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js,packages/google-cloud-compute/samples/README.md) |
Expand Down
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
Loading