Skip to content

Commit d27b606

Browse files
1 parent 7a30503 commit d27b606

Some content is hidden

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

46 files changed

+2712
-247
lines changed

clients/google-api-services-networkservices/v1/2.0.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-networkservices</artifactId>
25-
<version>v1-rev20250224-2.0.0</version>
25+
<version>v1-rev20250410-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-networkservices:v1-rev20250224-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkservices:v1-rev20250410-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/NetworkServices.java

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,29 @@ public List setName(java.lang.String name) {
444444
return this;
445445
}
446446

447+
/**
448+
* Optional. A list of extra location types that should be used as conditions for
449+
* controlling the visibility of the locations.
450+
*/
451+
@com.google.api.client.util.Key
452+
private java.util.List<java.lang.String> extraLocationTypes;
453+
454+
/** Optional. A list of extra location types that should be used as conditions for controlling the
455+
visibility of the locations.
456+
*/
457+
public java.util.List<java.lang.String> getExtraLocationTypes() {
458+
return extraLocationTypes;
459+
}
460+
461+
/**
462+
* Optional. A list of extra location types that should be used as conditions for
463+
* controlling the visibility of the locations.
464+
*/
465+
public List setExtraLocationTypes(java.util.List<java.lang.String> extraLocationTypes) {
466+
this.extraLocationTypes = extraLocationTypes;
467+
return this;
468+
}
469+
447470
/**
448471
* A filter to narrow down results to a preferred subset. The filtering language accepts
449472
* strings like `"displayName=tokyo"`, and is documented in more detail in
@@ -3697,6 +3720,31 @@ public List setPageToken(java.lang.String pageToken) {
36973720
return this;
36983721
}
36993722

3723+
/**
3724+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
3725+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
3726+
* will fail.
3727+
*/
3728+
@com.google.api.client.util.Key
3729+
private java.lang.Boolean returnPartialSuccess;
3730+
3731+
/** Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise
3732+
if one of the locations is down or unreachable, the Aggregated List request will fail.
3733+
*/
3734+
public java.lang.Boolean getReturnPartialSuccess() {
3735+
return returnPartialSuccess;
3736+
}
3737+
3738+
/**
3739+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
3740+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
3741+
* will fail.
3742+
*/
3743+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
3744+
this.returnPartialSuccess = returnPartialSuccess;
3745+
return this;
3746+
}
3747+
37003748
@Override
37013749
public List set(String parameterName, Object value) {
37023750
return (List) super.set(parameterName, value);
@@ -5682,6 +5730,31 @@ public List setPageToken(java.lang.String pageToken) {
56825730
return this;
56835731
}
56845732

5733+
/**
5734+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
5735+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
5736+
* will fail.
5737+
*/
5738+
@com.google.api.client.util.Key
5739+
private java.lang.Boolean returnPartialSuccess;
5740+
5741+
/** Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise
5742+
if one of the locations is down or unreachable, the Aggregated List request will fail.
5743+
*/
5744+
public java.lang.Boolean getReturnPartialSuccess() {
5745+
return returnPartialSuccess;
5746+
}
5747+
5748+
/**
5749+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
5750+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
5751+
* will fail.
5752+
*/
5753+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
5754+
this.returnPartialSuccess = returnPartialSuccess;
5755+
return this;
5756+
}
5757+
56855758
@Override
56865759
public List set(String parameterName, Object value) {
56875760
return (List) super.set(parameterName, value);
@@ -6499,6 +6572,31 @@ public List setPageToken(java.lang.String pageToken) {
64996572
return this;
65006573
}
65016574

6575+
/**
6576+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
6577+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
6578+
* will fail.
6579+
*/
6580+
@com.google.api.client.util.Key
6581+
private java.lang.Boolean returnPartialSuccess;
6582+
6583+
/** Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise
6584+
if one of the locations is down or unreachable, the Aggregated List request will fail.
6585+
*/
6586+
public java.lang.Boolean getReturnPartialSuccess() {
6587+
return returnPartialSuccess;
6588+
}
6589+
6590+
/**
6591+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
6592+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
6593+
* will fail.
6594+
*/
6595+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
6596+
this.returnPartialSuccess = returnPartialSuccess;
6597+
return this;
6598+
}
6599+
65026600
@Override
65036601
public List set(String parameterName, Object value) {
65046602
return (List) super.set(parameterName, value);
@@ -12563,6 +12661,31 @@ public List setPageToken(java.lang.String pageToken) {
1256312661
return this;
1256412662
}
1256512663

12664+
/**
12665+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
12666+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
12667+
* will fail.
12668+
*/
12669+
@com.google.api.client.util.Key
12670+
private java.lang.Boolean returnPartialSuccess;
12671+
12672+
/** Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise
12673+
if one of the locations is down or unreachable, the Aggregated List request will fail.
12674+
*/
12675+
public java.lang.Boolean getReturnPartialSuccess() {
12676+
return returnPartialSuccess;
12677+
}
12678+
12679+
/**
12680+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
12681+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
12682+
* will fail.
12683+
*/
12684+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
12685+
this.returnPartialSuccess = returnPartialSuccess;
12686+
return this;
12687+
}
12688+
1256612689
@Override
1256712690
public List set(String parameterName, Object value) {
1256812691
return (List) super.set(parameterName, value);
@@ -13380,6 +13503,31 @@ public List setPageToken(java.lang.String pageToken) {
1338013503
return this;
1338113504
}
1338213505

13506+
/**
13507+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
13508+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
13509+
* will fail.
13510+
*/
13511+
@com.google.api.client.util.Key
13512+
private java.lang.Boolean returnPartialSuccess;
13513+
13514+
/** Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise
13515+
if one of the locations is down or unreachable, the Aggregated List request will fail.
13516+
*/
13517+
public java.lang.Boolean getReturnPartialSuccess() {
13518+
return returnPartialSuccess;
13519+
}
13520+
13521+
/**
13522+
* Optional. If true, allow partial responses for multi-regional Aggregated List requests.
13523+
* Otherwise if one of the locations is down or unreachable, the Aggregated List request
13524+
* will fail.
13525+
*/
13526+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
13527+
this.returnPartialSuccess = returnPartialSuccess;
13528+
return this;
13529+
}
13530+
1338313531
@Override
1338413532
public List set(String parameterName, Object value) {
1338513533
return (List) super.set(parameterName, value);

clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/ExtensionChainExtension.java

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,14 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
6565
* metadata is available under the namespace `com.google....`. For example:
6666
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
6767
* supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's
68-
* fully qualified resource name. This field is not supported for plugin extensions. Setting it
69-
* results in a validation error.
68+
* fully qualified resource name. This field must not be set for plugin extensions. Setting it
69+
* results in a validation error. You can set metadata at either the resource level or the
70+
* extension level. The extension level metadata is recommended because you can pass a different
71+
* set of metadata through each extension to the backend. This field is subject to following
72+
* limitations: * The total size of the metadata must be less than 1KiB. * The total number of
73+
* keys in the metadata must be less than 16. * The length of each key must be less than 64
74+
* characters. * The length of each value must be less than 1024 characters. * All values must be
75+
* strings.
7076
* The value may be {@code null}.
7177
*/
7278
@com.google.api.client.util.Key
@@ -101,8 +107,8 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
101107

102108
/**
103109
* Optional. A set of events during request or response processing for which this extension is
104-
* called. This field is required for the `LbTrafficExtension` resource. It must not be set for
105-
* the `LbRouteExtension` resource, otherwise a validation error is returned.
110+
* called. This field is required for the `LbTrafficExtension` resource. It is optional for the
111+
* `LbRouteExtension` resource. If unspecified `REQUEST_HEADERS` event is assumed as supported.
106112
* The value may be {@code null}.
107113
*/
108114
@com.google.api.client.util.Key
@@ -192,8 +198,14 @@ public ExtensionChainExtension setForwardHeaders(java.util.List<java.lang.String
192198
* metadata is available under the namespace `com.google....`. For example:
193199
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
194200
* supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's
195-
* fully qualified resource name. This field is not supported for plugin extensions. Setting it
196-
* results in a validation error.
201+
* fully qualified resource name. This field must not be set for plugin extensions. Setting it
202+
* results in a validation error. You can set metadata at either the resource level or the
203+
* extension level. The extension level metadata is recommended because you can pass a different
204+
* set of metadata through each extension to the backend. This field is subject to following
205+
* limitations: * The total size of the metadata must be less than 1KiB. * The total number of
206+
* keys in the metadata must be less than 16. * The length of each key must be less than 64
207+
* characters. * The length of each value must be less than 1024 characters. * All values must be
208+
* strings.
197209
* @return value or {@code null} for none
198210
*/
199211
public java.util.Map<String, java.lang.Object> getMetadata() {
@@ -206,8 +218,14 @@ public java.util.Map<String, java.lang.Object> getMetadata() {
206218
* metadata is available under the namespace `com.google....`. For example:
207219
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
208220
* supported in the metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's
209-
* fully qualified resource name. This field is not supported for plugin extensions. Setting it
210-
* results in a validation error.
221+
* fully qualified resource name. This field must not be set for plugin extensions. Setting it
222+
* results in a validation error. You can set metadata at either the resource level or the
223+
* extension level. The extension level metadata is recommended because you can pass a different
224+
* set of metadata through each extension to the backend. This field is subject to following
225+
* limitations: * The total size of the metadata must be less than 1KiB. * The total number of
226+
* keys in the metadata must be less than 16. * The length of each key must be less than 64
227+
* characters. * The length of each value must be less than 1024 characters. * All values must be
228+
* strings.
211229
* @param metadata metadata or {@code null} for none
212230
*/
213231
public ExtensionChainExtension setMetadata(java.util.Map<String, java.lang.Object> metadata) {
@@ -277,8 +295,8 @@ public ExtensionChainExtension setService(java.lang.String service) {
277295

278296
/**
279297
* Optional. A set of events during request or response processing for which this extension is
280-
* called. This field is required for the `LbTrafficExtension` resource. It must not be set for
281-
* the `LbRouteExtension` resource, otherwise a validation error is returned.
298+
* called. This field is required for the `LbTrafficExtension` resource. It is optional for the
299+
* `LbRouteExtension` resource. If unspecified `REQUEST_HEADERS` event is assumed as supported.
282300
* @return value or {@code null} for none
283301
*/
284302
public java.util.List<java.lang.String> getSupportedEvents() {
@@ -287,8 +305,8 @@ public java.util.List<java.lang.String> getSupportedEvents() {
287305

288306
/**
289307
* Optional. A set of events during request or response processing for which this extension is
290-
* called. This field is required for the `LbTrafficExtension` resource. It must not be set for
291-
* the `LbRouteExtension` resource, otherwise a validation error is returned.
308+
* called. This field is required for the `LbTrafficExtension` resource. It is optional for the
309+
* `LbRouteExtension` resource. If unspecified `REQUEST_HEADERS` event is assumed as supported.
292310
* @param supportedEvents supportedEvents or {@code null} for none
293311
*/
294312
public ExtensionChainExtension setSupportedEvents(java.util.List<java.lang.String> supportedEvents) {

clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/GrpcRouteStatefulSessionAffinityPolicy.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,17 @@ public final class GrpcRouteStatefulSessionAffinityPolicy extends com.google.api
3636

3737
/**
3838
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
39-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
39+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
40+
* this to 0s to use a session cookie and disable cookie expiration.
4041
* The value may be {@code null}.
4142
*/
4243
@com.google.api.client.util.Key
4344
private String cookieTtl;
4445

4546
/**
4647
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
47-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
48+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
49+
* this to 0s to use a session cookie and disable cookie expiration.
4850
* @return value or {@code null} for none
4951
*/
5052
public String getCookieTtl() {
@@ -53,7 +55,8 @@ public String getCookieTtl() {
5355

5456
/**
5557
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
56-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
58+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
59+
* this to 0s to use a session cookie and disable cookie expiration.
5760
* @param cookieTtl cookieTtl or {@code null} for none
5861
*/
5962
public GrpcRouteStatefulSessionAffinityPolicy setCookieTtl(String cookieTtl) {

clients/google-api-services-networkservices/v1/2.0.0/com/google/api/services/networkservices/v1/model/HttpRouteStatefulSessionAffinityPolicy.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,17 @@ public final class HttpRouteStatefulSessionAffinityPolicy extends com.google.api
3636

3737
/**
3838
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
39-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
39+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
40+
* this to 0s to use a session cookie and disable cookie expiration.
4041
* The value may be {@code null}.
4142
*/
4243
@com.google.api.client.util.Key
4344
private String cookieTtl;
4445

4546
/**
4647
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
47-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
48+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
49+
* this to 0s to use a session cookie and disable cookie expiration.
4850
* @return value or {@code null} for none
4951
*/
5052
public String getCookieTtl() {
@@ -53,7 +55,8 @@ public String getCookieTtl() {
5355

5456
/**
5557
* Required. The cookie TTL value for the Set-Cookie header generated by the data plane. The
56-
* lifetime of the cookie may be set to a value from 1 to 86400 seconds (24 hours) inclusive.
58+
* lifetime of the cookie may be set to a value from 0 to 86400 seconds (24 hours) inclusive. Set
59+
* this to 0s to use a session cookie and disable cookie expiration.
5760
* @param cookieTtl cookieTtl or {@code null} for none
5861
*/
5962
public HttpRouteStatefulSessionAffinityPolicy setCookieTtl(String cookieTtl) {

0 commit comments

Comments
 (0)