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
7 changes: 3 additions & 4 deletions java-compute/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-compute</artifactId>
<version>1.13.0</version>
<version>1.14.0</version>
</dependency>

```

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

```Groovy
implementation 'com.google.cloud:google-cloud-compute:1.13.0'
implementation 'com.google.cloud:google-cloud-compute:1.14.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.13.0"
libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.14.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,10 @@ public final UnaryCallable<ListRegionSecurityPoliciesRequest, SecurityPolicyList

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request.
* 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.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -743,7 +746,10 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request.
* 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.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -779,7 +785,10 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request.
* 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.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -813,7 +822,10 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request.
* 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.
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,8 @@ public final UnaryCallable<ListSecurityPoliciesRequest, SecurityPolicyList> list

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request. This cannot be used to be
* 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.
*
Expand Down Expand Up @@ -1174,7 +1175,8 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request. This cannot be used to be
* 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.
*
Expand Down Expand Up @@ -1210,7 +1212,8 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request. This cannot be used to be
* 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.
*
Expand Down Expand Up @@ -1244,7 +1247,8 @@ public final OperationFuture<Operation, Operation> patchAsync(

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Patches the specified policy with the data included in the request. This cannot be used to be
* 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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ public void getTest() throws Exception {
.setDescription("description-1724546052")
.setId(3355)
.setIpVersion("ipVersion-1161634383")
.setIpv6EndpointType("ipv6EndpointType399011318")
.setKind("kind3292052")
.setName("name3373707")
.setNetwork("network1843485230")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public void getTest() throws Exception {
.setDescription("description-1724546052")
.setId(3355)
.setIpVersion("ipVersion-1161634383")
.setIpv6EndpointType("ipv6EndpointType399011318")
.setKind("kind3292052")
.setName("name3373707")
.setNetwork("network1843485230")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public void getTest() throws Exception {
.setName("name3373707")
.setNetwork("network1843485230")
.setNetworkEndpointType("networkEndpointType1733109693")
.setPscData(NetworkEndpointGroupPscData.newBuilder().build())
.setPscTargetService("pscTargetService-1789055740")
.setRegion("region-934795532")
.setSelfLink("selfLink1191800166")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ public void getTest() throws Exception {
.setInstanceGroup("instanceGroup-1404696854")
.setInstanceTemplate("instanceTemplate1009541167")
.setKind("kind3292052")
.setListManagedInstancesResults("listManagedInstancesResults1836889817")
.setName("name3373707")
.addAllNamedPorts(new ArrayList<NamedPort>())
.setRegion("region-934795532")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ public void getTest() throws Exception {
.setPrivateIpv6GoogleAccess("privateIpv6GoogleAccess-1729571801")
.setReservationAffinity(ReservationAffinity.newBuilder().build())
.addAllResourcePolicies(new ArrayList<String>())
.setResourceStatus(ResourceStatus.newBuilder().build())
.setSatisfiesPzs(true)
.setScheduling(Scheduling.newBuilder().build())
.setSelfLink("selfLink1191800166")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ public void getTest() throws Exception {
.setName("name3373707")
.setNetwork("network1843485230")
.setNetworkEndpointType("networkEndpointType1733109693")
.setPscData(NetworkEndpointGroupPscData.newBuilder().build())
.setPscTargetService("pscTargetService-1789055740")
.setRegion("region-934795532")
.setSelfLink("selfLink1191800166")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ public void getTest() throws Exception {
.setInstanceGroup("instanceGroup-1404696854")
.setInstanceTemplate("instanceTemplate1009541167")
.setKind("kind3292052")
.setListManagedInstancesResults("listManagedInstancesResults1836889817")
.setName("name3373707")
.addAllNamedPorts(new ArrayList<NamedPort>())
.setRegion("region-934795532")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void getTest() throws Exception {
.setName("name3373707")
.setNetwork("network1843485230")
.setNetworkEndpointType("networkEndpointType1733109693")
.setPscData(NetworkEndpointGroupPscData.newBuilder().build())
.setPscTargetService("pscTargetService-1789055740")
.setRegion("region-934795532")
.setSelfLink("selfLink1191800166")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ public void getTest() throws Exception {
.setId(3355)
.addAllInterfaces(new ArrayList<RouterInterface>())
.setKind("kind3292052")
.addAllMd5AuthenticationKeys(new ArrayList<RouterMd5AuthenticationKey>())
.setName("name3373707")
.addAllNats(new ArrayList<RouterNat>())
.setNetwork("network1843485230")
Expand Down
3 changes: 2 additions & 1 deletion java-compute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@
<module>proto-google-cloud-compute-v1</module>
<module>google-cloud-compute-bom</module>
</modules>
</project>

</project>
Loading