Skip to content

Commit

Permalink
docs: [batch] updated documentation for message NetworkInterface (#8915)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

chore: published new fields in service YAML

PiperOrigin-RevId: 496547521

Source-Link: https://togithub.com/googleapis/googleapis/commit/cffce7313aadd3856058ef9c7b174165a387337e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b35f4a31b293eace07aeed2a3fcf1d29db77e948
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiYjM1ZjRhMzFiMjkzZWFjZTA3YWVlZDJhM2ZjZjFkMjlkYjc3ZTk0OCJ9

BEGIN_NESTED_COMMIT
docs: [batch] updated documentation for message NetworkInterface
chore: published new fields in service YAML

PiperOrigin-RevId: 496547510

Source-Link: https://togithub.com/googleapis/googleapis/commit/de57a4d09ece64bc03d12cdefc8d03278021b5be

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b0b063a41cdd4748befc970f5b6405fdaf1d0470
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiYjBiMDYzYTQxY2RkNDc0OGJlZmM5NzBmNWI2NDA1ZmRhZjFkMDQ3MCJ9
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
chore(docs): [batch] update environment field deprecated comment
fix: remove unsupported HTTP bindings for IAMPolicy RPCs

PiperOrigin-RevId: 495371163

Source-Link: https://togithub.com/googleapis/googleapis/commit/88f1497c767747816652323799380fdd802aa79d

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/0f1443aeac4081fb5d8ef2d1c0d58a08fc3dec69
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiMGYxNDQzYWVhYzQwODFmYjVkOGVmMmQxYzBkNThhMDhmYzNkZWM2OSJ9
END_NESTED_COMMITBEGIN_NESTED_COMMITfeat: [batch] add InstancePolicy.boot_disk
fix: ServiceAccount.scopes is no longer deprecated
fix: removed unused endpoints for IAM methods

PiperOrigin-RevId: 495370831

Source-Link: https://togithub.com/googleapis/googleapis/commit/8f5577498f77061130d24425c3fb076a099c112b

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/44ea51b0580dd8cfa2a28c8c44093c1b73db3099
Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiNDRlYTUxYjA1ODBkZDhjZmEyYTI4YzhjNDQwOTNjMWI3M2RiMzA5OSJ9
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] committed Dec 20, 2022
1 parent c432bdd commit 4f5c3de
Show file tree
Hide file tree
Showing 17 changed files with 718 additions and 296 deletions.
6 changes: 3 additions & 3 deletions java-batch/README.md
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
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
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
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

0 comments on commit 4f5c3de

Please sign in to comment.