Skip to content

Commit e70be30

Browse files
Regenerate compute client (googleapis#6906)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-01-22 03:42:48,454 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-compute nothing to commit, working tree clean 2021-01-22 03:42:48,867 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-01-22 03:42:49,274 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-01-22 03:42:49,276 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-01-22 03:42:51,004 synthtool [INFO] > Generating compute beta. INFO:synthtool:Generating compute beta. 2021-01-22 03:42:51,004 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-compute/beta.metadata.json 2021-01-22 03:43:10,343 synthtool [INFO] > Generating compute v1. INFO:synthtool:Generating compute v1. 2021-01-22 03:43:10,343 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-compute/v1.metadata.json 2021-01-22 03:43:27,816 synthtool [INFO] > Generating compute alpha. INFO:synthtool:Generating compute alpha. 2021-01-22 03:43:27,816 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 Writing json metadata to clients/google-api-services-compute/alpha.metadata.json 2021-01-22 03:43:49,803 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-compute/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-compute/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/f6a6c2c8-21e8-4ebc-914e-854dc31b4fb8/targets - [ ] To automatically regenerate this PR, check this box.
1 parent f9c6306 commit e70be30

Some content is hidden

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

53 files changed

+3835
-293
lines changed

clients/google-api-services-compute/beta.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-compute",
5-
"version": "beta-rev20201122-1.31.0"
5+
"version": "beta-rev20201213-1.31.0"
66
}
77
}

clients/google-api-services-compute/beta/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-compute</artifactId>
25-
<version>beta-rev20201122-1.31.0</version>
25+
<version>beta-rev20201213-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-compute:beta-rev20201122-1.31.0'
38+
compile 'com.google.apis:google-api-services-compute:beta-rev20201213-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/Compute.java

Lines changed: 965 additions & 2 deletions
Large diffs are not rendered by default.

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,14 @@ public final class BackendBucketCdnPolicy extends com.google.api.client.json.Gen
120120
@com.google.api.client.util.Key
121121
private java.util.List<BackendBucketCdnPolicyNegativeCachingPolicy> negativeCachingPolicy;
122122

123+
/**
124+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
125+
* of requests to the origin.
126+
* The value may be {@code null}.
127+
*/
128+
@com.google.api.client.util.Key
129+
private java.lang.Boolean requestCoalescing;
130+
123131
/**
124132
* Serve existing content from the cache (if available) when revalidating content with the origin,
125133
* or when an error is encountered when refreshing the cache. This setting defines the default
@@ -355,6 +363,25 @@ public BackendBucketCdnPolicy setNegativeCachingPolicy(java.util.List<BackendBuc
355363
return this;
356364
}
357365

366+
/**
367+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
368+
* of requests to the origin.
369+
* @return value or {@code null} for none
370+
*/
371+
public java.lang.Boolean getRequestCoalescing() {
372+
return requestCoalescing;
373+
}
374+
375+
/**
376+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
377+
* of requests to the origin.
378+
* @param requestCoalescing requestCoalescing or {@code null} for none
379+
*/
380+
public BackendBucketCdnPolicy setRequestCoalescing(java.lang.Boolean requestCoalescing) {
381+
this.requestCoalescing = requestCoalescing;
382+
return this;
383+
}
384+
358385
/**
359386
* Serve existing content from the cache (if available) when revalidating content with the origin,
360387
* or when an error is encountered when refreshing the cache. This setting defines the default

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,14 @@ public final class BackendServiceCdnPolicy extends com.google.api.client.json.Ge
127127
@com.google.api.client.util.Key
128128
private java.util.List<BackendServiceCdnPolicyNegativeCachingPolicy> negativeCachingPolicy;
129129

130+
/**
131+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
132+
* of requests to the origin.
133+
* The value may be {@code null}.
134+
*/
135+
@com.google.api.client.util.Key
136+
private java.lang.Boolean requestCoalescing;
137+
130138
/**
131139
* Serve existing content from the cache (if available) when revalidating content with the origin,
132140
* or when an error is encountered when refreshing the cache. This setting defines the default
@@ -379,6 +387,25 @@ public BackendServiceCdnPolicy setNegativeCachingPolicy(java.util.List<BackendSe
379387
return this;
380388
}
381389

390+
/**
391+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
392+
* of requests to the origin.
393+
* @return value or {@code null} for none
394+
*/
395+
public java.lang.Boolean getRequestCoalescing() {
396+
return requestCoalescing;
397+
}
398+
399+
/**
400+
* If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number
401+
* of requests to the origin.
402+
* @param requestCoalescing requestCoalescing or {@code null} for none
403+
*/
404+
public BackendServiceCdnPolicy setRequestCoalescing(java.lang.Boolean requestCoalescing) {
405+
this.requestCoalescing = requestCoalescing;
406+
return this;
407+
}
408+
382409
/**
383410
* Serve existing content from the cache (if available) when revalidating content with the origin,
384411
* or when an error is encountered when refreshing the cache. This setting defines the default

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/BackendServiceConnectionTrackingPolicy.java

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,33 @@ public final class BackendServiceConnectionTrackingPolicy extends com.google.api
5050
@com.google.api.client.util.Key
5151
private java.lang.String connectionPersistenceOnUnhealthyBackends;
5252

53+
/**
54+
* Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in
55+
* seconds).
56+
*
57+
* For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
58+
*
59+
* For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
60+
*
61+
* This field will be supported only if the Connection Tracking key is less than 5-tuple.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private java.lang.Integer idleTimeoutSec;
66+
67+
/**
68+
* Specifies the key used for connection tracking. There are two options:
69+
*
70+
* PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the
71+
* Connection Key (default Hash Method) for the specific protocol.
72+
*
73+
* PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It
74+
* matches the configured Session Affinity.
75+
* The value may be {@code null}.
76+
*/
77+
@com.google.api.client.util.Key
78+
private java.lang.String trackingMode;
79+
5380
/**
5481
* Specifies connection persistence when backends are unhealthy. The default value is
5582
* DEFAULT_FOR_PROTOCOL.
@@ -95,6 +122,66 @@ public BackendServiceConnectionTrackingPolicy setConnectionPersistenceOnUnhealth
95122
return this;
96123
}
97124

125+
/**
126+
* Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in
127+
* seconds).
128+
*
129+
* For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
130+
*
131+
* For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
132+
*
133+
* This field will be supported only if the Connection Tracking key is less than 5-tuple.
134+
* @return value or {@code null} for none
135+
*/
136+
public java.lang.Integer getIdleTimeoutSec() {
137+
return idleTimeoutSec;
138+
}
139+
140+
/**
141+
* Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in
142+
* seconds).
143+
*
144+
* For L4 ILB the minimum(default) is 10 minutes and maximum is 16 hours.
145+
*
146+
* For NLB the minimum(default) is 60 seconds and the maximum is 16 hours.
147+
*
148+
* This field will be supported only if the Connection Tracking key is less than 5-tuple.
149+
* @param idleTimeoutSec idleTimeoutSec or {@code null} for none
150+
*/
151+
public BackendServiceConnectionTrackingPolicy setIdleTimeoutSec(java.lang.Integer idleTimeoutSec) {
152+
this.idleTimeoutSec = idleTimeoutSec;
153+
return this;
154+
}
155+
156+
/**
157+
* Specifies the key used for connection tracking. There are two options:
158+
*
159+
* PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the
160+
* Connection Key (default Hash Method) for the specific protocol.
161+
*
162+
* PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It
163+
* matches the configured Session Affinity.
164+
* @return value or {@code null} for none
165+
*/
166+
public java.lang.String getTrackingMode() {
167+
return trackingMode;
168+
}
169+
170+
/**
171+
* Specifies the key used for connection tracking. There are two options:
172+
*
173+
* PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the
174+
* Connection Key (default Hash Method) for the specific protocol.
175+
*
176+
* PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It
177+
* matches the configured Session Affinity.
178+
* @param trackingMode trackingMode or {@code null} for none
179+
*/
180+
public BackendServiceConnectionTrackingPolicy setTrackingMode(java.lang.String trackingMode) {
181+
this.trackingMode = trackingMode;
182+
return this;
183+
}
184+
98185
@Override
99186
public BackendServiceConnectionTrackingPolicy set(String fieldName, Object value) {
100187
return (BackendServiceConnectionTrackingPolicy) super.set(fieldName, value);

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/CorsPolicy.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ public final class CorsPolicy extends com.google.api.client.json.GenericJson {
5555

5656
/**
5757
* Specifies the regualar expression patterns that match allowed origins. For regular expression
58-
* grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it
59-
* matches either an item in allowOrigins or an item in allowOriginRegexes.
58+
* grammar please see github.com/google/re2/wiki/Syntax An origin is allowed if it matches either
59+
* an item in allowOrigins or an item in allowOriginRegexes.
6060
* The value may be {@code null}.
6161
*/
6262
@com.google.api.client.util.Key
@@ -150,8 +150,8 @@ public CorsPolicy setAllowMethods(java.util.List<java.lang.String> allowMethods)
150150

151151
/**
152152
* Specifies the regualar expression patterns that match allowed origins. For regular expression
153-
* grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it
154-
* matches either an item in allowOrigins or an item in allowOriginRegexes.
153+
* grammar please see github.com/google/re2/wiki/Syntax An origin is allowed if it matches either
154+
* an item in allowOrigins or an item in allowOriginRegexes.
155155
* @return value or {@code null} for none
156156
*/
157157
public java.util.List<java.lang.String> getAllowOriginRegexes() {
@@ -160,8 +160,8 @@ public java.util.List<java.lang.String> getAllowOriginRegexes() {
160160

161161
/**
162162
* Specifies the regualar expression patterns that match allowed origins. For regular expression
163-
* grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it
164-
* matches either an item in allowOrigins or an item in allowOriginRegexes.
163+
* grammar please see github.com/google/re2/wiki/Syntax An origin is allowed if it matches either
164+
* an item in allowOrigins or an item in allowOriginRegexes.
165165
* @param allowOriginRegexes allowOriginRegexes or {@code null} for none
166166
*/
167167
public CorsPolicy setAllowOriginRegexes(java.util.List<java.lang.String> allowOriginRegexes) {

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/Disk.java

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,13 @@ public final class Disk extends com.google.api.client.json.GenericJson {
221221
@com.google.api.client.util.Key
222222
private java.util.List<java.lang.String> resourcePolicies;
223223

224+
/**
225+
* [Output Only] Reserved for future use.
226+
* The value may be {@code null}.
227+
*/
228+
@com.google.api.client.util.Key
229+
private java.lang.Boolean satisfiesPzs;
230+
224231
/**
225232
* [Output Only] Server-defined fully-qualified URL for this resource.
226233
* The value may be {@code null}.
@@ -331,7 +338,9 @@ public final class Disk extends com.google.api.client.json.GenericJson {
331338
/**
332339
* The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-
333340
* compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk.
334-
* Valid URIs may start with gs:// or https://storage.googleapis.com/.
341+
* Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized
342+
* for creating multiple disks from a source storage object. To create many disks from a source
343+
* storage object, use gcloud compute images import instead.
335344
* The value may be {@code null}.
336345
*/
337346
@com.google.api.client.util.Key
@@ -833,6 +842,23 @@ public Disk setResourcePolicies(java.util.List<java.lang.String> resourcePolicie
833842
return this;
834843
}
835844

845+
/**
846+
* [Output Only] Reserved for future use.
847+
* @return value or {@code null} for none
848+
*/
849+
public java.lang.Boolean getSatisfiesPzs() {
850+
return satisfiesPzs;
851+
}
852+
853+
/**
854+
* [Output Only] Reserved for future use.
855+
* @param satisfiesPzs satisfiesPzs or {@code null} for none
856+
*/
857+
public Disk setSatisfiesPzs(java.lang.Boolean satisfiesPzs) {
858+
this.satisfiesPzs = satisfiesPzs;
859+
return this;
860+
}
861+
836862
/**
837863
* [Output Only] Server-defined fully-qualified URL for this resource.
838864
* @return value or {@code null} for none
@@ -1080,7 +1106,9 @@ public Disk setSourceSnapshotId(java.lang.String sourceSnapshotId) {
10801106
/**
10811107
* The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-
10821108
* compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk.
1083-
* Valid URIs may start with gs:// or https://storage.googleapis.com/.
1109+
* Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized
1110+
* for creating multiple disks from a source storage object. To create many disks from a source
1111+
* storage object, use gcloud compute images import instead.
10841112
* @return value or {@code null} for none
10851113
*/
10861114
public java.lang.String getSourceStorageObject() {
@@ -1090,7 +1118,9 @@ public java.lang.String getSourceStorageObject() {
10901118
/**
10911119
* The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-
10921120
* compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk.
1093-
* Valid URIs may start with gs:// or https://storage.googleapis.com/.
1121+
* Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized
1122+
* for creating multiple disks from a source storage object. To create many disks from a source
1123+
* storage object, use gcloud compute images import instead.
10941124
* @param sourceStorageObject sourceStorageObject or {@code null} for none
10951125
*/
10961126
public Disk setSourceStorageObject(java.lang.String sourceStorageObject) {

clients/google-api-services-compute/beta/1.31.0/com/google/api/services/compute/model/FirewallPolicyRule.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public final class FirewallPolicyRule extends com.google.api.client.json.Generic
7979

8080
/**
8181
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the
82-
* corresponding ?action? is enforced.
82+
* corresponding 'action' is enforced.
8383
* The value may be {@code null}.
8484
*/
8585
@com.google.api.client.util.Key
@@ -103,7 +103,7 @@ public final class FirewallPolicyRule extends com.google.api.client.json.Generic
103103

104104
/**
105105
* A list of network resource URLs to which this rule applies. This field allows you to control
106-
* which network?s VMs get this rule. If this field is left blank, all VMs within the organization
106+
* which network's VMs get this rule. If this field is left blank, all VMs within the organization
107107
* will receive the rule.
108108
* The value may be {@code null}.
109109
*/
@@ -243,7 +243,7 @@ public FirewallPolicyRule setKind(java.lang.String kind) {
243243

244244
/**
245245
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the
246-
* corresponding ?action? is enforced.
246+
* corresponding 'action' is enforced.
247247
* @return value or {@code null} for none
248248
*/
249249
public FirewallPolicyRuleMatcher getMatch() {
@@ -252,7 +252,7 @@ public FirewallPolicyRuleMatcher getMatch() {
252252

253253
/**
254254
* A match condition that incoming traffic is evaluated against. If it evaluates to true, the
255-
* corresponding ?action? is enforced.
255+
* corresponding 'action' is enforced.
256256
* @param match match or {@code null} for none
257257
*/
258258
public FirewallPolicyRule setMatch(FirewallPolicyRuleMatcher match) {
@@ -300,7 +300,7 @@ public FirewallPolicyRule setRuleTupleCount(java.lang.Integer ruleTupleCount) {
300300

301301
/**
302302
* A list of network resource URLs to which this rule applies. This field allows you to control
303-
* which network?s VMs get this rule. If this field is left blank, all VMs within the organization
303+
* which network's VMs get this rule. If this field is left blank, all VMs within the organization
304304
* will receive the rule.
305305
* @return value or {@code null} for none
306306
*/
@@ -310,7 +310,7 @@ public java.util.List<java.lang.String> getTargetResources() {
310310

311311
/**
312312
* A list of network resource URLs to which this rule applies. This field allows you to control
313-
* which network?s VMs get this rule. If this field is left blank, all VMs within the organization
313+
* which network's VMs get this rule. If this field is left blank, all VMs within the organization
314314
* will receive the rule.
315315
* @param targetResources targetResources or {@code null} for none
316316
*/

0 commit comments

Comments
 (0)