Skip to content

Commit 4f5c3de

Browse files
docs: [batch] updated documentation for message NetworkInterface (#8915)
- [ ] 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
1 parent c432bdd commit 4f5c3de

File tree

17 files changed

+718
-296
lines changed

17 files changed

+718
-296
lines changed

java-batch/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file:
2222
<dependency>
2323
<groupId>com.google.cloud</groupId>
2424
<artifactId>google-cloud-batch</artifactId>
25-
<version>0.6.0</version>
25+
<version>0.7.0</version>
2626
</dependency>
2727
```
2828

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

3131
```Groovy
32-
implementation 'com.google.cloud:google-cloud-batch:0.6.0'
32+
implementation 'com.google.cloud:google-cloud-batch:0.7.0'
3333
```
3434

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

3737
```Scala
38-
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.6.0"
38+
libraryDependencies += "com.google.cloud" % "google-cloud-batch" % "0.7.0"
3939
```
4040

4141
## Authentication

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1/stub/HttpJsonBatchServiceStub.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
380380
serializer.putPathParam(fields, "resource", request.getResource());
381381
return fields;
382382
})
383-
.setAdditionalPaths(
384-
"/v1/{resource=projects/*/locations/*/tasks/*}:setIamPolicy",
385-
"/v1/{resource=projects/*/locations/*/nodes/*}:setIamPolicy")
386383
.setQueryParamsExtractor(
387384
request -> {
388385
Map<String, List<String>> fields = new HashMap<>();
@@ -420,9 +417,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
420417
serializer.putPathParam(fields, "resource", request.getResource());
421418
return fields;
422419
})
423-
.setAdditionalPaths(
424-
"/v1/{resource=projects/*/locations/*/tasks/*}:getIamPolicy",
425-
"/v1/{resource=projects/*/locations/*/nodes/*}:getIamPolicy")
426420
.setQueryParamsExtractor(
427421
request -> {
428422
Map<String, List<String>> fields = new HashMap<>();
@@ -457,9 +451,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
457451
serializer.putPathParam(fields, "resource", request.getResource());
458452
return fields;
459453
})
460-
.setAdditionalPaths(
461-
"/v1/{resource=projects/*/locations/*/tasks/*}:testIamPermissions",
462-
"/v1/{resource=projects/*/locations/*/nodes/*}:testIamPermissions")
463454
.setQueryParamsExtractor(
464455
request -> {
465456
Map<String, List<String>> fields = new HashMap<>();

java-batch/google-cloud-batch/src/main/java/com/google/cloud/batch/v1alpha/stub/HttpJsonBatchServiceStub.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
380380
serializer.putPathParam(fields, "resource", request.getResource());
381381
return fields;
382382
})
383-
.setAdditionalPaths(
384-
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:setIamPolicy",
385-
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:setIamPolicy")
386383
.setQueryParamsExtractor(
387384
request -> {
388385
Map<String, List<String>> fields = new HashMap<>();
@@ -420,9 +417,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
420417
serializer.putPathParam(fields, "resource", request.getResource());
421418
return fields;
422419
})
423-
.setAdditionalPaths(
424-
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:getIamPolicy",
425-
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:getIamPolicy")
426420
.setQueryParamsExtractor(
427421
request -> {
428422
Map<String, List<String>> fields = new HashMap<>();
@@ -457,9 +451,6 @@ public class HttpJsonBatchServiceStub extends BatchServiceStub {
457451
serializer.putPathParam(fields, "resource", request.getResource());
458452
return fields;
459453
})
460-
.setAdditionalPaths(
461-
"/v1alpha/{resource=projects/*/locations/*/tasks/*}:testIamPermissions",
462-
"/v1alpha/{resource=projects/*/locations/*/nodes/*}:testIamPermissions")
463454
.setQueryParamsExtractor(
464455
request -> {
465456
Map<String, List<String>> fields = new HashMap<>();

java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java

Lines changed: 108 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8398,7 +8398,12 @@ public interface NetworkInterfaceOrBuilder
83988398
*
83998399
*
84008400
* <pre>
8401-
* The URL of the network resource.
8401+
* The URL of an existing network resource.
8402+
* You can specify the network as a full or partial URL.
8403+
* For example, the following are all valid URLs:
8404+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
8405+
* projects/{project}/global/networks/{network}
8406+
* global/networks/{network}
84028407
* </pre>
84038408
*
84048409
* <code>string network = 1;</code>
@@ -8410,7 +8415,12 @@ public interface NetworkInterfaceOrBuilder
84108415
*
84118416
*
84128417
* <pre>
8413-
* The URL of the network resource.
8418+
* The URL of an existing network resource.
8419+
* You can specify the network as a full or partial URL.
8420+
* For example, the following are all valid URLs:
8421+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
8422+
* projects/{project}/global/networks/{network}
8423+
* global/networks/{network}
84148424
* </pre>
84158425
*
84168426
* <code>string network = 1;</code>
@@ -8423,7 +8433,12 @@ public interface NetworkInterfaceOrBuilder
84238433
*
84248434
*
84258435
* <pre>
8426-
* The URL of the Subnetwork resource.
8436+
* The URL of an existing subnetwork resource in the network.
8437+
* You can specify the subnetwork as a full or partial URL.
8438+
* For example, the following are all valid URLs:
8439+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
8440+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
8441+
* regions/{region}/subnetworks/{subnetwork}
84278442
* </pre>
84288443
*
84298444
* <code>string subnetwork = 2;</code>
@@ -8435,7 +8450,12 @@ public interface NetworkInterfaceOrBuilder
84358450
*
84368451
*
84378452
* <pre>
8438-
* The URL of the Subnetwork resource.
8453+
* The URL of an existing subnetwork resource in the network.
8454+
* You can specify the subnetwork as a full or partial URL.
8455+
* For example, the following are all valid URLs:
8456+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
8457+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
8458+
* regions/{region}/subnetworks/{subnetwork}
84398459
* </pre>
84408460
*
84418461
* <code>string subnetwork = 2;</code>
@@ -8519,7 +8539,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
85198539
*
85208540
*
85218541
* <pre>
8522-
* The URL of the network resource.
8542+
* The URL of an existing network resource.
8543+
* You can specify the network as a full or partial URL.
8544+
* For example, the following are all valid URLs:
8545+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
8546+
* projects/{project}/global/networks/{network}
8547+
* global/networks/{network}
85238548
* </pre>
85248549
*
85258550
* <code>string network = 1;</code>
@@ -8542,7 +8567,12 @@ public java.lang.String getNetwork() {
85428567
*
85438568
*
85448569
* <pre>
8545-
* The URL of the network resource.
8570+
* The URL of an existing network resource.
8571+
* You can specify the network as a full or partial URL.
8572+
* For example, the following are all valid URLs:
8573+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
8574+
* projects/{project}/global/networks/{network}
8575+
* global/networks/{network}
85468576
* </pre>
85478577
*
85488578
* <code>string network = 1;</code>
@@ -8568,7 +8598,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
85688598
*
85698599
*
85708600
* <pre>
8571-
* The URL of the Subnetwork resource.
8601+
* The URL of an existing subnetwork resource in the network.
8602+
* You can specify the subnetwork as a full or partial URL.
8603+
* For example, the following are all valid URLs:
8604+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
8605+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
8606+
* regions/{region}/subnetworks/{subnetwork}
85728607
* </pre>
85738608
*
85748609
* <code>string subnetwork = 2;</code>
@@ -8591,7 +8626,12 @@ public java.lang.String getSubnetwork() {
85918626
*
85928627
*
85938628
* <pre>
8594-
* The URL of the Subnetwork resource.
8629+
* The URL of an existing subnetwork resource in the network.
8630+
* You can specify the subnetwork as a full or partial URL.
8631+
* For example, the following are all valid URLs:
8632+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
8633+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
8634+
* regions/{region}/subnetworks/{subnetwork}
85958635
* </pre>
85968636
*
85978637
* <code>string subnetwork = 2;</code>
@@ -9020,7 +9060,12 @@ public Builder mergeFrom(
90209060
*
90219061
*
90229062
* <pre>
9023-
* The URL of the network resource.
9063+
* The URL of an existing network resource.
9064+
* You can specify the network as a full or partial URL.
9065+
* For example, the following are all valid URLs:
9066+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
9067+
* projects/{project}/global/networks/{network}
9068+
* global/networks/{network}
90249069
* </pre>
90259070
*
90269071
* <code>string network = 1;</code>
@@ -9042,7 +9087,12 @@ public java.lang.String getNetwork() {
90429087
*
90439088
*
90449089
* <pre>
9045-
* The URL of the network resource.
9090+
* The URL of an existing network resource.
9091+
* You can specify the network as a full or partial URL.
9092+
* For example, the following are all valid URLs:
9093+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
9094+
* projects/{project}/global/networks/{network}
9095+
* global/networks/{network}
90469096
* </pre>
90479097
*
90489098
* <code>string network = 1;</code>
@@ -9064,7 +9114,12 @@ public com.google.protobuf.ByteString getNetworkBytes() {
90649114
*
90659115
*
90669116
* <pre>
9067-
* The URL of the network resource.
9117+
* The URL of an existing network resource.
9118+
* You can specify the network as a full or partial URL.
9119+
* For example, the following are all valid URLs:
9120+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
9121+
* projects/{project}/global/networks/{network}
9122+
* global/networks/{network}
90689123
* </pre>
90699124
*
90709125
* <code>string network = 1;</code>
@@ -9085,7 +9140,12 @@ public Builder setNetwork(java.lang.String value) {
90859140
*
90869141
*
90879142
* <pre>
9088-
* The URL of the network resource.
9143+
* The URL of an existing network resource.
9144+
* You can specify the network as a full or partial URL.
9145+
* For example, the following are all valid URLs:
9146+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
9147+
* projects/{project}/global/networks/{network}
9148+
* global/networks/{network}
90899149
* </pre>
90909150
*
90919151
* <code>string network = 1;</code>
@@ -9102,7 +9162,12 @@ public Builder clearNetwork() {
91029162
*
91039163
*
91049164
* <pre>
9105-
* The URL of the network resource.
9165+
* The URL of an existing network resource.
9166+
* You can specify the network as a full or partial URL.
9167+
* For example, the following are all valid URLs:
9168+
* https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
9169+
* projects/{project}/global/networks/{network}
9170+
* global/networks/{network}
91069171
* </pre>
91079172
*
91089173
* <code>string network = 1;</code>
@@ -9126,7 +9191,12 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
91269191
*
91279192
*
91289193
* <pre>
9129-
* The URL of the Subnetwork resource.
9194+
* The URL of an existing subnetwork resource in the network.
9195+
* You can specify the subnetwork as a full or partial URL.
9196+
* For example, the following are all valid URLs:
9197+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
9198+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
9199+
* regions/{region}/subnetworks/{subnetwork}
91309200
* </pre>
91319201
*
91329202
* <code>string subnetwork = 2;</code>
@@ -9148,7 +9218,12 @@ public java.lang.String getSubnetwork() {
91489218
*
91499219
*
91509220
* <pre>
9151-
* The URL of the Subnetwork resource.
9221+
* The URL of an existing subnetwork resource in the network.
9222+
* You can specify the subnetwork as a full or partial URL.
9223+
* For example, the following are all valid URLs:
9224+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
9225+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
9226+
* regions/{region}/subnetworks/{subnetwork}
91529227
* </pre>
91539228
*
91549229
* <code>string subnetwork = 2;</code>
@@ -9170,7 +9245,12 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
91709245
*
91719246
*
91729247
* <pre>
9173-
* The URL of the Subnetwork resource.
9248+
* The URL of an existing subnetwork resource in the network.
9249+
* You can specify the subnetwork as a full or partial URL.
9250+
* For example, the following are all valid URLs:
9251+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
9252+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
9253+
* regions/{region}/subnetworks/{subnetwork}
91749254
* </pre>
91759255
*
91769256
* <code>string subnetwork = 2;</code>
@@ -9191,7 +9271,12 @@ public Builder setSubnetwork(java.lang.String value) {
91919271
*
91929272
*
91939273
* <pre>
9194-
* The URL of the Subnetwork resource.
9274+
* The URL of an existing subnetwork resource in the network.
9275+
* You can specify the subnetwork as a full or partial URL.
9276+
* For example, the following are all valid URLs:
9277+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
9278+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
9279+
* regions/{region}/subnetworks/{subnetwork}
91959280
* </pre>
91969281
*
91979282
* <code>string subnetwork = 2;</code>
@@ -9208,7 +9293,12 @@ public Builder clearSubnetwork() {
92089293
*
92099294
*
92109295
* <pre>
9211-
* The URL of the Subnetwork resource.
9296+
* The URL of an existing subnetwork resource in the network.
9297+
* You can specify the subnetwork as a full or partial URL.
9298+
* For example, the following are all valid URLs:
9299+
* https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
9300+
* projects/{project}/regions/{region}/subnetworks/{subnetwork}
9301+
* regions/{region}/subnetworks/{subnetwork}
92129302
* </pre>
92139303
*
92149304
* <code>string subnetwork = 2;</code>

0 commit comments

Comments
 (0)