Skip to content

Commit d3ec9cf

Browse files
feat: Update Compute Engine API to revision 20230103 (#769) (#3873)
* 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 <[email protected]>
1 parent d546ce6 commit d3ec9cf

File tree

5 files changed

+907
-10
lines changed

5 files changed

+907
-10
lines changed

packages/google-cloud-compute/.mocharc.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@
44
// you may not use this file except in compliance with the License.
55
// You may obtain a copy of the License at
66
//
7-
// http://www.apache.org/licenses/LICENSE-2.0
7+
// https://www.apache.org/licenses/LICENSE-2.0
88
//
99
// Unless required by applicable law or agreed to in writing, software
1010
// distributed under the License is distributed on an "AS IS" BASIS,
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
1419
const config = {
1520
"enable-source-maps": true,
1621
"throw-deprecation": true,
17-
"timeout": 10000,
18-
"recursive": true
22+
"timeout": 10000
1923
}
2024
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
2125
delete config['throw-deprecation'];

packages/google-cloud-compute/protos/google/cloud/compute/v1/compute.proto

+29-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 Google LLC
1+
// Copyright 2023 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -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: 20221126
17+
// Source file revision: 20230103
1818
// API name: compute
1919
// API version: v1
2020

@@ -1930,6 +1930,18 @@ message AliasIpRange {
19301930

19311931
}
19321932

1933+
//
1934+
message AllocationResourceStatus {
1935+
optional AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;
1936+
1937+
}
1938+
1939+
//
1940+
message AllocationResourceStatusSpecificSKUAllocation {
1941+
optional string source_instance_template_id = 111196154;
1942+
1943+
}
1944+
19331945
//
19341946
message AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk {
19351947
// 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.
@@ -1985,6 +1997,9 @@ message AllocationSpecificSKUReservation {
19851997
// The instance properties for the reservation.
19861998
optional AllocationSpecificSKUAllocationReservedInstanceProperties instance_properties = 215355165;
19871999

2000+
// 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
2001+
optional string source_instance_template = 332423616;
2002+
19882003
}
19892004

19902005
//
@@ -7126,7 +7141,7 @@ message FirewallPolicyRule {
71267141

71277142
}
71287143

7129-
// 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.
7144+
// The Action to perform when the client connection triggers the rule. Valid actions are "allow", "deny" and "goto_next".
71307145
optional string action = 187661878;
71317146

71327147
// An optional description for this resource.
@@ -7422,7 +7437,7 @@ message ForwardingRule {
74227437
// 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.
74237438
optional string subnetwork = 307827694;
74247439

7425-
// 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.
7440+
// 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.
74267441
optional string target = 192835985;
74277442

74287443
}
@@ -9306,6 +9321,8 @@ message GuestOsFeature {
93069321

93079322
SEV_CAPABLE = 87083793;
93089323

9324+
SEV_SNP_CAPABLE = 426919;
9325+
93099326
UEFI_COMPATIBLE = 195865408;
93109327

93119328
VIRTIO_SCSI_MULTIQUEUE = 201597069;
@@ -13181,7 +13198,7 @@ message Interconnect {
1318113198
// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
1318213199
optional string name = 3373707;
1318313200

13184-
// Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.
13201+
// Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.
1318513202
optional string noc_contact_email = 14072832;
1318613203

1318713204
// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.
@@ -17949,6 +17966,9 @@ message NetworkInterface {
1794917966
// URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default
1795017967
optional string network = 232872494;
1795117968

17969+
// The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.
17970+
optional string network_attachment = 224644052;
17971+
1795217972
// An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.
1795317973
optional string network_i_p = 207181961;
1795417974

@@ -22050,9 +22070,11 @@ message Reservation {
2205022070
// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
2205122071
optional string name = 3373707;
2205222072

22053-
// Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
2205422073
map<string, string> resource_policies = 22220385;
2205522074

22075+
// [Output Only] Status information for Reservation resource.
22076+
optional AllocationResourceStatus resource_status = 249429315;
22077+
2205622078
// [Output Only] Reserved for future use.
2205722079
optional bool satisfies_pzs = 480964267;
2205822080

@@ -26485,7 +26507,7 @@ message SourceDiskEncryptionKey {
2648526507

2648626508
// A specification of the parameters to use when creating the instance template from a source instance.
2648726509
message SourceInstanceParams {
26488-
// Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
26510+
// Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
2648926511
repeated DiskInstantiationConfig disk_configs = 235580623;
2649026512

2649126513
}

0 commit comments

Comments
 (0)