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

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

```Groovy
implementation 'com.google.cloud:google-cloud-batch:0.6.0'
implementation 'com.google.cloud:google-cloud-batch:0.7.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.6.0"
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.7.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1/{resource=projects/*/locations/*/tasks/*}:setIamPolicy",
"/v1/{resource=projects/*/locations/*/nodes/*}:setIamPolicy")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down Expand Up @@ -420,9 +417,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1/{resource=projects/*/locations/*/tasks/*}:getIamPolicy",
"/v1/{resource=projects/*/locations/*/nodes/*}:getIamPolicy")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down Expand Up @@ -457,9 +451,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1/{resource=projects/*/locations/*/tasks/*}:testIamPermissions",
"/v1/{resource=projects/*/locations/*/nodes/*}:testIamPermissions")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:setIamPolicy",
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:setIamPolicy")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down Expand Up @@ -420,9 +417,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:getIamPolicy",
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:getIamPolicy")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down Expand Up @@ -457,9 +451,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
serializer.putPathParam(fields, "resource", request.getResource());
return fields;
})
.setAdditionalPaths(
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:testIamPermissions",
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:testIamPermissions")
.setQueryParamsExtractor(
request -> {
Map<String, List<String>> fields = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8398,7 +8398,12 @@ public interface NetworkInterfaceOrBuilder
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -8410,7 +8415,12 @@ public interface NetworkInterfaceOrBuilder
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -8423,7 +8433,12 @@ public interface NetworkInterfaceOrBuilder
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -8435,7 +8450,12 @@ public interface NetworkInterfaceOrBuilder
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand Down Expand Up @@ -8519,7 +8539,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -8542,7 +8567,12 @@ public java.lang.String getNetwork() {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -8568,7 +8598,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -8591,7 +8626,12 @@ public java.lang.String getSubnetwork() {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand Down Expand Up @@ -9020,7 +9060,12 @@ public Builder mergeFrom(
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -9042,7 +9087,12 @@ public java.lang.String getNetwork() {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -9064,7 +9114,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -9085,7 +9140,12 @@ public Builder setNetwork(java.lang.String value) {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -9102,7 +9162,12 @@ public Builder clearNetwork() {
*
*
* <pre>
* The URL of the network resource.
* The URL of an existing network resource.
* 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/{network}
* </pre>
*
* <code>string network = 1;</code>
Expand All @@ -9126,7 +9191,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -9148,7 +9218,12 @@ public java.lang.String getSubnetwork() {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -9170,7 +9245,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -9191,7 +9271,12 @@ public Builder setSubnetwork(java.lang.String value) {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand All @@ -9208,7 +9293,12 @@ public Builder clearSubnetwork() {
*
*
* <pre>
* The URL of the Subnetwork resource.
* The URL of an existing subnetwork resource in the network.
* You can specify the subnetwork as a full or partial URL.
* For example, the following are all valid URLs:
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
* regions/{region}/subnetworks/{subnetwork}
* </pre>
*
* <code>string subnetwork = 2;</code>
Expand Down
Loading