Skip to content

Commit

Permalink
feat: Update Compute Engine API to revision 20230103 (#769) (#3873)
Browse files Browse the repository at this point in the history
* feat: Update Compute Engine API to revision 20221224 (#760)

Source-Link: googleapis/googleapis@17d5613

Source-Link: googleapis/googleapis-gen@42cd552
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjQyY2Q1NTJmYTViZTk1YmU1Y2U1MTM2YmE5M2U4MzM4OGI3NTkxZDgifQ==

* feat: Update Compute Engine API to revision 20221224 (#760)

Source-Link: googleapis/googleapis@17d5613

Source-Link: googleapis/googleapis-gen@42cd552
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjQyY2Q1NTJmYTViZTk1YmU1Y2U1MTM2YmE5M2U4MzM4OGI3NTkxZDgifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: Update Compute Engine API to revision 20230103 (#769)

Source-Link: googleapis/googleapis@9fac84a

Source-Link: googleapis/googleapis-gen@12ae1da
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjEyYWUxZGE3YzEzNDcyYTExZTFhNGE2MTg5YWFiMTBmNzgzYzU4NTMifQ==

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 24, 2023
1 parent d546ce6 commit d3ec9cf
Show file tree
Hide file tree
Showing 5 changed files with 907 additions and 10 deletions.
10 changes: 7 additions & 3 deletions packages/google-cloud-compute/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
"timeout": 10000
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -14,7 +14,7 @@

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

Expand Down Expand Up @@ -1930,6 +1930,18 @@ message AliasIpRange {

}

//
message AllocationResourceStatus {
optional AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;

}

//
message AllocationResourceStatusSpecificSKUAllocation {
optional string source_instance_template_id = 111196154;

}

//
message AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk {
// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
Expand Down Expand Up @@ -1985,6 +1997,9 @@ message AllocationSpecificSKUReservation {
// The instance properties for the reservation.
optional AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;

// Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate
optional string source_instance_template = 332423616;

}

//
Expand Down Expand Up @@ -7126,7 +7141,7 @@ message FirewallPolicyRule {

}

// The Action to perform when the client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502.
// The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
optional string action = 187661878;

// An optional description for this resource.
Expand Down Expand Up @@ -7422,7 +7437,7 @@ message ForwardingRule {
// This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.
optional string subnetwork = 307827694;

// The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. For more information, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs.
// The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment.
optional string target = 192835985;

}
Expand Down Expand Up @@ -9306,6 +9321,8 @@ message GuestOsFeature {

SEV_CAPABLE = 87083793;

SEV_SNP_CAPABLE = 426919;

UEFI_COMPATIBLE = 195865408;

VIRTIO_SCSI_MULTIQUEUE = 201597069;
Expand Down