Skip to content

Commit 5831024

Browse files
feat: [compute] Update Compute Engine API to revision 20221011 (#736) (#8644)
* feat: Update Compute Engine API to revision 20221011 (#736) Source-Link: googleapis/googleapis@cb8c914 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1174767446c650271f397ec6ef54101be44cdcb4 Copy-Tag: eyJwIjoiamF2YS1jb21wdXRlLy5Pd2xCb3QueWFtbCIsImgiOiIxMTc0NzY3NDQ2YzY1MDI3MWYzOTdlYzZlZjU0MTAxYmU0NGNkY2I0In0= * 🦉 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 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent ca7e864 commit 5831024

File tree

62 files changed

+23772
-15066
lines changed

Some content is hidden

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

62 files changed

+23772
-15066
lines changed

java-compute/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,20 @@ If you are using Maven, add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>google-cloud-compute</artifactId>
22-
<version>1.13.0</version>
22+
<version>1.14.0</version>
2323
</dependency>
24-
2524
```
2625

2726
If you are using Gradle without BOM, add this to your dependencies:
2827

2928
```Groovy
30-
implementation 'com.google.cloud:google-cloud-compute:1.13.0'
29+
implementation 'com.google.cloud:google-cloud-compute:1.14.0'
3130
```
3231

3332
If you are using SBT, add this to your dependencies:
3433

3534
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.13.0"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.14.0"
3736
```
3837

3938
## Authentication

java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClient.java

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,10 @@ public final UnaryCallable<ListRegionSecurityPoliciesRequest, SecurityPolicyList
700700

701701
// AUTO-GENERATED DOCUMENTATION AND METHOD.
702702
/**
703-
* Patches the specified policy with the data included in the request.
703+
* Patches the specified policy with the data included in the request. To clear fields in the
704+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
705+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
706+
* removeRule instead.
704707
*
705708
* <p>Sample code:
706709
*
@@ -743,7 +746,10 @@ public final OperationFuture<Operation, Operation> patchAsync(
743746

744747
// AUTO-GENERATED DOCUMENTATION AND METHOD.
745748
/**
746-
* Patches the specified policy with the data included in the request.
749+
* Patches the specified policy with the data included in the request. To clear fields in the
750+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
751+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
752+
* removeRule instead.
747753
*
748754
* <p>Sample code:
749755
*
@@ -779,7 +785,10 @@ public final OperationFuture<Operation, Operation> patchAsync(
779785

780786
// AUTO-GENERATED DOCUMENTATION AND METHOD.
781787
/**
782-
* Patches the specified policy with the data included in the request.
788+
* Patches the specified policy with the data included in the request. To clear fields in the
789+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
790+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
791+
* removeRule instead.
783792
*
784793
* <p>Sample code:
785794
*
@@ -813,7 +822,10 @@ public final OperationFuture<Operation, Operation> patchAsync(
813822

814823
// AUTO-GENERATED DOCUMENTATION AND METHOD.
815824
/**
816-
* Patches the specified policy with the data included in the request.
825+
* Patches the specified policy with the data included in the request. To clear fields in the
826+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
827+
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
828+
* removeRule instead.
817829
*
818830
* <p>Sample code:
819831
*

java-compute/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesClient.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,8 @@ public final UnaryCallable<ListSecurityPoliciesRequest, SecurityPolicyList> list
11351135

11361136
// AUTO-GENERATED DOCUMENTATION AND METHOD.
11371137
/**
1138-
* Patches the specified policy with the data included in the request. This cannot be used to be
1138+
* Patches the specified policy with the data included in the request. To clear fields in the
1139+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
11391140
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
11401141
* removeRule instead.
11411142
*
@@ -1174,7 +1175,8 @@ public final OperationFuture<Operation, Operation> patchAsync(
11741175

11751176
// AUTO-GENERATED DOCUMENTATION AND METHOD.
11761177
/**
1177-
* Patches the specified policy with the data included in the request. This cannot be used to be
1178+
* Patches the specified policy with the data included in the request. To clear fields in the
1179+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
11781180
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
11791181
* removeRule instead.
11801182
*
@@ -1210,7 +1212,8 @@ public final OperationFuture<Operation, Operation> patchAsync(
12101212

12111213
// AUTO-GENERATED DOCUMENTATION AND METHOD.
12121214
/**
1213-
* Patches the specified policy with the data included in the request. This cannot be used to be
1215+
* Patches the specified policy with the data included in the request. To clear fields in the
1216+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
12141217
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
12151218
* removeRule instead.
12161219
*
@@ -1244,7 +1247,8 @@ public final OperationFuture<Operation, Operation> patchAsync(
12441247

12451248
// AUTO-GENERATED DOCUMENTATION AND METHOD.
12461249
/**
1247-
* Patches the specified policy with the data included in the request. This cannot be used to be
1250+
* Patches the specified policy with the data included in the request. To clear fields in the
1251+
* rule, leave the fields empty and specify them in the updateMask. This cannot be used to be
12481252
* update the rules in the policy. Please use the per rule methods like addRule, patchRule, and
12491253
* removeRule instead.
12501254
*

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/AddressesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ public void getTest() throws Exception {
212212
.setDescription("description-1724546052")
213213
.setId(3355)
214214
.setIpVersion("ipVersion-1161634383")
215+
.setIpv6EndpointType("ipv6EndpointType399011318")
215216
.setKind("kind3292052")
216217
.setName("name3373707")
217218
.setNetwork("network1843485230")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalAddressesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public void getTest() throws Exception {
156156
.setDescription("description-1724546052")
157157
.setId(3355)
158158
.setIpVersion("ipVersion-1161634383")
159+
.setIpv6EndpointType("ipv6EndpointType399011318")
159160
.setKind("kind3292052")
160161
.setName("name3373707")
161162
.setNetwork("network1843485230")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/GlobalNetworkEndpointGroupsClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ public void getTest() throws Exception {
334334
.setName("name3373707")
335335
.setNetwork("network1843485230")
336336
.setNetworkEndpointType("networkEndpointType1733109693")
337+
.setPscData(NetworkEndpointGroupPscData.newBuilder().build())
337338
.setPscTargetService("pscTargetService-1789055740")
338339
.setRegion("region-934795532")
339340
.setSelfLink("selfLink1191800166")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstanceGroupManagersClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,7 @@ public void getTest() throws Exception {
662662
.setInstanceGroup("instanceGroup-1404696854")
663663
.setInstanceTemplate("instanceTemplate1009541167")
664664
.setKind("kind3292052")
665+
.setListManagedInstancesResults("listManagedInstancesResults1836889817")
665666
.setName("name3373707")
666667
.addAllNamedPorts(new ArrayList<NamedPort>())
667668
.setRegion("region-934795532")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ public void getTest() throws Exception {
693693
.setPrivateIpv6GoogleAccess("privateIpv6GoogleAccess-1729571801")
694694
.setReservationAffinity(ReservationAffinity.newBuilder().build())
695695
.addAllResourcePolicies(new ArrayList<String>())
696+
.setResourceStatus(ResourceStatus.newBuilder().build())
696697
.setSatisfiesPzs(true)
697698
.setScheduling(Scheduling.newBuilder().build())
698699
.setSelfLink("selfLink1191800166")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEndpointGroupsClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ public void getTest() throws Exception {
400400
.setName("name3373707")
401401
.setNetwork("network1843485230")
402402
.setNetworkEndpointType("networkEndpointType1733109693")
403+
.setPscData(NetworkEndpointGroupPscData.newBuilder().build())
403404
.setPscTargetService("pscTargetService-1789055740")
404405
.setRegion("region-934795532")
405406
.setSelfLink("selfLink1191800166")

java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersClientTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ public void getTest() throws Exception {
611611
.setInstanceGroup("instanceGroup-1404696854")
612612
.setInstanceTemplate("instanceTemplate1009541167")
613613
.setKind("kind3292052")
614+
.setListManagedInstancesResults("listManagedInstancesResults1836889817")
614615
.setName("name3373707")
615616
.addAllNamedPorts(new ArrayList<NamedPort>())
616617
.setRegion("region-934795532")

0 commit comments

Comments
 (0)