Skip to content

Commit 7e4ae75

Browse files
feat: [compute] Update Compute Engine API to revision 20240220 (#886) (#5100)
* feat: Update Compute Engine API to revision 20240220 (#886) Source-Link: googleapis/googleapis@0df0f51 Source-Link: googleapis/googleapis-gen@b0b8f14 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6ImIwYjhmMTQ3YTc3MTYyYmJjNjAzY2MxZTA0NzUyYTM2MjFlMTJlYjUifQ== * 🦉 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>
1 parent f57c139 commit 7e4ae75

File tree

364 files changed

+36706
-7263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

364 files changed

+36706
-7263
lines changed

packages/google-cloud-compute/README.md

Lines changed: 18 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 1014 additions & 194 deletions
Large diffs are not rendered by default.

packages/google-cloud-compute/protos/protos.d.ts

Lines changed: 4422 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 16193 additions & 4051 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-compute/protos/protos.json

Lines changed: 3080 additions & 920 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-compute/samples/README.md

Lines changed: 324 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,15 @@
253253
* [Instances.update_display_device](#instances.update_display_device)
254254
* [Instances.update_network_interface](#instances.update_network_interface)
255255
* [Instances.update_shielded_instance_config](#instances.update_shielded_instance_config)
256+
* [Instant_snapshots.aggregated_list](#instant_snapshots.aggregated_list)
257+
* [Instant_snapshots.delete](#instant_snapshots.delete)
258+
* [Instant_snapshots.get](#instant_snapshots.get)
259+
* [Instant_snapshots.get_iam_policy](#instant_snapshots.get_iam_policy)
260+
* [Instant_snapshots.insert](#instant_snapshots.insert)
261+
* [Instant_snapshots.list](#instant_snapshots.list)
262+
* [Instant_snapshots.set_iam_policy](#instant_snapshots.set_iam_policy)
263+
* [Instant_snapshots.set_labels](#instant_snapshots.set_labels)
264+
* [Instant_snapshots.test_iam_permissions](#instant_snapshots.test_iam_permissions)
256265
* [Interconnect_attachments.aggregated_list](#interconnect_attachments.aggregated_list)
257266
* [Interconnect_attachments.delete](#interconnect_attachments.delete)
258267
* [Interconnect_attachments.get](#interconnect_attachments.get)
@@ -383,6 +392,7 @@
383392
* [Projects.list_xpn_hosts](#projects.list_xpn_hosts)
384393
* [Projects.move_disk](#projects.move_disk)
385394
* [Projects.move_instance](#projects.move_instance)
395+
* [Projects.set_cloud_armor_tier](#projects.set_cloud_armor_tier)
386396
* [Projects.set_common_instance_metadata](#projects.set_common_instance_metadata)
387397
* [Projects.set_default_network_tier](#projects.set_default_network_tier)
388398
* [Projects.set_usage_export_bucket](#projects.set_usage_export_bucket)
@@ -482,6 +492,14 @@
482492
* [Region_instance_templates.insert](#region_instance_templates.insert)
483493
* [Region_instance_templates.list](#region_instance_templates.list)
484494
* [Region_instances.bulk_insert](#region_instances.bulk_insert)
495+
* [Region_instant_snapshots.delete](#region_instant_snapshots.delete)
496+
* [Region_instant_snapshots.get](#region_instant_snapshots.get)
497+
* [Region_instant_snapshots.get_iam_policy](#region_instant_snapshots.get_iam_policy)
498+
* [Region_instant_snapshots.insert](#region_instant_snapshots.insert)
499+
* [Region_instant_snapshots.list](#region_instant_snapshots.list)
500+
* [Region_instant_snapshots.set_iam_policy](#region_instant_snapshots.set_iam_policy)
501+
* [Region_instant_snapshots.set_labels](#region_instant_snapshots.set_labels)
502+
* [Region_instant_snapshots.test_iam_permissions](#region_instant_snapshots.test_iam_permissions)
485503
* [Region_network_endpoint_groups.attach_network_endpoints](#region_network_endpoint_groups.attach_network_endpoints)
486504
* [Region_network_endpoint_groups.delete](#region_network_endpoint_groups.delete)
487505
* [Region_network_endpoint_groups.detach_network_endpoints](#region_network_endpoint_groups.detach_network_endpoints)
@@ -4860,6 +4878,159 @@ __Usage:__
48604878

48614879

48624880

4881+
### Instant_snapshots.aggregated_list
4882+
4883+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.aggregated_list.js).
4884+
4885+
[![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/instant_snapshots.aggregated_list.js,samples/README.md)
4886+
4887+
__Usage:__
4888+
4889+
4890+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.aggregated_list.js`
4891+
4892+
4893+
-----
4894+
4895+
4896+
4897+
4898+
### Instant_snapshots.delete
4899+
4900+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.delete.js).
4901+
4902+
[![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/instant_snapshots.delete.js,samples/README.md)
4903+
4904+
__Usage:__
4905+
4906+
4907+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.delete.js`
4908+
4909+
4910+
-----
4911+
4912+
4913+
4914+
4915+
### Instant_snapshots.get
4916+
4917+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.get.js).
4918+
4919+
[![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/instant_snapshots.get.js,samples/README.md)
4920+
4921+
__Usage:__
4922+
4923+
4924+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.get.js`
4925+
4926+
4927+
-----
4928+
4929+
4930+
4931+
4932+
### Instant_snapshots.get_iam_policy
4933+
4934+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.get_iam_policy.js).
4935+
4936+
[![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/instant_snapshots.get_iam_policy.js,samples/README.md)
4937+
4938+
__Usage:__
4939+
4940+
4941+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.get_iam_policy.js`
4942+
4943+
4944+
-----
4945+
4946+
4947+
4948+
4949+
### Instant_snapshots.insert
4950+
4951+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.insert.js).
4952+
4953+
[![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/instant_snapshots.insert.js,samples/README.md)
4954+
4955+
__Usage:__
4956+
4957+
4958+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.insert.js`
4959+
4960+
4961+
-----
4962+
4963+
4964+
4965+
4966+
### Instant_snapshots.list
4967+
4968+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.list.js).
4969+
4970+
[![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/instant_snapshots.list.js,samples/README.md)
4971+
4972+
__Usage:__
4973+
4974+
4975+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.list.js`
4976+
4977+
4978+
-----
4979+
4980+
4981+
4982+
4983+
### Instant_snapshots.set_iam_policy
4984+
4985+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.set_iam_policy.js).
4986+
4987+
[![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/instant_snapshots.set_iam_policy.js,samples/README.md)
4988+
4989+
__Usage:__
4990+
4991+
4992+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.set_iam_policy.js`
4993+
4994+
4995+
-----
4996+
4997+
4998+
4999+
5000+
### Instant_snapshots.set_labels
5001+
5002+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.set_labels.js).
5003+
5004+
[![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/instant_snapshots.set_labels.js,samples/README.md)
5005+
5006+
__Usage:__
5007+
5008+
5009+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.set_labels.js`
5010+
5011+
5012+
-----
5013+
5014+
5015+
5016+
5017+
### Instant_snapshots.test_iam_permissions
5018+
5019+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instant_snapshots.test_iam_permissions.js).
5020+
5021+
[![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/instant_snapshots.test_iam_permissions.js,samples/README.md)
5022+
5023+
__Usage:__
5024+
5025+
5026+
`node packages/google-cloud-compute/samples/generated/v1/instant_snapshots.test_iam_permissions.js`
5027+
5028+
5029+
-----
5030+
5031+
5032+
5033+
48635034
### Interconnect_attachments.aggregated_list
48645035

48655036
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js).
@@ -7070,6 +7241,23 @@ __Usage:__
70707241

70717242

70727243

7244+
### Projects.set_cloud_armor_tier
7245+
7246+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_cloud_armor_tier.js).
7247+
7248+
[![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/projects.set_cloud_armor_tier.js,samples/README.md)
7249+
7250+
__Usage:__
7251+
7252+
7253+
`node packages/google-cloud-compute/samples/generated/v1/projects.set_cloud_armor_tier.js`
7254+
7255+
7256+
-----
7257+
7258+
7259+
7260+
70737261
### Projects.set_common_instance_metadata
70747262

70757263
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js).
@@ -8753,6 +8941,142 @@ __Usage:__
87538941

87548942

87558943

8944+
### Region_instant_snapshots.delete
8945+
8946+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.delete.js).
8947+
8948+
[![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/region_instant_snapshots.delete.js,samples/README.md)
8949+
8950+
__Usage:__
8951+
8952+
8953+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.delete.js`
8954+
8955+
8956+
-----
8957+
8958+
8959+
8960+
8961+
### Region_instant_snapshots.get
8962+
8963+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.get.js).
8964+
8965+
[![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/region_instant_snapshots.get.js,samples/README.md)
8966+
8967+
__Usage:__
8968+
8969+
8970+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.get.js`
8971+
8972+
8973+
-----
8974+
8975+
8976+
8977+
8978+
### Region_instant_snapshots.get_iam_policy
8979+
8980+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.get_iam_policy.js).
8981+
8982+
[![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/region_instant_snapshots.get_iam_policy.js,samples/README.md)
8983+
8984+
__Usage:__
8985+
8986+
8987+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.get_iam_policy.js`
8988+
8989+
8990+
-----
8991+
8992+
8993+
8994+
8995+
### Region_instant_snapshots.insert
8996+
8997+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.insert.js).
8998+
8999+
[![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/region_instant_snapshots.insert.js,samples/README.md)
9000+
9001+
__Usage:__
9002+
9003+
9004+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.insert.js`
9005+
9006+
9007+
-----
9008+
9009+
9010+
9011+
9012+
### Region_instant_snapshots.list
9013+
9014+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.list.js).
9015+
9016+
[![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/region_instant_snapshots.list.js,samples/README.md)
9017+
9018+
__Usage:__
9019+
9020+
9021+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.list.js`
9022+
9023+
9024+
-----
9025+
9026+
9027+
9028+
9029+
### Region_instant_snapshots.set_iam_policy
9030+
9031+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.set_iam_policy.js).
9032+
9033+
[![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/region_instant_snapshots.set_iam_policy.js,samples/README.md)
9034+
9035+
__Usage:__
9036+
9037+
9038+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.set_iam_policy.js`
9039+
9040+
9041+
-----
9042+
9043+
9044+
9045+
9046+
### Region_instant_snapshots.set_labels
9047+
9048+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.set_labels.js).
9049+
9050+
[![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/region_instant_snapshots.set_labels.js,samples/README.md)
9051+
9052+
__Usage:__
9053+
9054+
9055+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.set_labels.js`
9056+
9057+
9058+
-----
9059+
9060+
9061+
9062+
9063+
### Region_instant_snapshots.test_iam_permissions
9064+
9065+
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.test_iam_permissions.js).
9066+
9067+
[![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/region_instant_snapshots.test_iam_permissions.js,samples/README.md)
9068+
9069+
__Usage:__
9070+
9071+
9072+
`node packages/google-cloud-compute/samples/generated/v1/region_instant_snapshots.test_iam_permissions.js`
9073+
9074+
9075+
-----
9076+
9077+
9078+
9079+
87569080
### Region_network_endpoint_groups.attach_network_endpoints
87579081

87589082
View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.attach_network_endpoints.js).

packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function main(project) {
5353
*/
5454
// const project = 'my-project'
5555
/**
56-
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
56+
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
5757
*/
5858
// const returnPartialSuccess = true
5959
/**

packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function main(project, zone) {
4949
*/
5050
// const project = 'my-project'
5151
/**
52-
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
52+
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
5353
*/
5454
// const returnPartialSuccess = true
5555
/**

packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function main(project) {
5353
*/
5454
// const project = 'my-project'
5555
/**
56-
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
56+
* Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. For example, when partial success behavior is enabled, aggregatedList for a single zone scope either returns all resources in the zone or no resources, with an error code.
5757
*/
5858
// const returnPartialSuccess = true
5959
/**

0 commit comments

Comments
 (0)