Skip to content

Commit 5c91364

Browse files
1 parent d295175 commit 5c91364

30 files changed

+6024
-58
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-rev20240919-2.0.0</version>
25+
<version>v1-rev20241010-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-rev20240919-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkservices:v1-rev20241010-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: 1536 additions & 5 deletions
Large diffs are not rendered by default.

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

Lines changed: 69 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
3131

3232
/**
3333
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service.
34-
* Required for Callout extensions.
34+
* Required for Callout extensions. This field is not supported for plugin extensions and must not
35+
* be set.
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
@@ -58,6 +59,19 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
5859
@com.google.api.client.util.Key
5960
private java.util.List<java.lang.String> forwardHeaders;
6061

62+
/**
63+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type
64+
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
65+
* metadata is available under the namespace `com.google....`. For example:
66+
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
67+
* 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 and must not
69+
* be set.
70+
* The value may be {@code null}.
71+
*/
72+
@com.google.api.client.util.Key
73+
private java.util.Map<String, java.lang.Object> metadata;
74+
6175
/**
6276
* Required. The name for this extension. The name is logged as part of the HTTP request logs. The
6377
* name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and
@@ -75,7 +89,11 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
7589
* service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the
7690
* format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServi
7791
* ces/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backe
78-
* ndServices/{backendService}`.
92+
* ndServices/{backendService}`. To configure a plugin extension, this must be a reference to a
93+
* [wasm plugin](https://cloud.google.com/service-
94+
* extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format:
95+
* `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis
96+
* .com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.
7997
* The value may be {@code null}.
8098
*/
8199
@com.google.api.client.util.Key
@@ -92,15 +110,17 @@ public final class ExtensionChainExtension extends com.google.api.client.json.Ge
92110

93111
/**
94112
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be
95-
* between 10-1000 milliseconds. Required for Callout extensions.
113+
* between 10-1000 milliseconds. Required for callout extensions. This field is not supported for
114+
* plugin extensions and must not be set.
96115
* The value may be {@code null}.
97116
*/
98117
@com.google.api.client.util.Key
99118
private String timeout;
100119

101120
/**
102121
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service.
103-
* Required for Callout extensions.
122+
* Required for Callout extensions. This field is not supported for plugin extensions and must not
123+
* be set.
104124
* @return value or {@code null} for none
105125
*/
106126
public java.lang.String getAuthority() {
@@ -109,7 +129,8 @@ public java.lang.String getAuthority() {
109129

110130
/**
111131
* Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service.
112-
* Required for Callout extensions.
132+
* Required for Callout extensions. This field is not supported for plugin extensions and must not
133+
* be set.
113134
* @param authority authority or {@code null} for none
114135
*/
115136
public ExtensionChainExtension setAuthority(java.lang.String authority) {
@@ -165,6 +186,35 @@ public ExtensionChainExtension setForwardHeaders(java.util.List<java.lang.String
165186
return this;
166187
}
167188

189+
/**
190+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type
191+
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
192+
* metadata is available under the namespace `com.google....`. For example:
193+
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
194+
* 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 and must not
196+
* be set.
197+
* @return value or {@code null} for none
198+
*/
199+
public java.util.Map<String, java.lang.Object> getMetadata() {
200+
return metadata;
201+
}
202+
203+
/**
204+
* Optional. The metadata provided here is included as part of the `metadata_context` (of type
205+
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
206+
* metadata is available under the namespace `com.google....`. For example:
207+
* `com.google.lb_traffic_extension.lbtrafficextension1.chain1.ext1`. The following variables are
208+
* 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 and must not
210+
* be set.
211+
* @param metadata metadata or {@code null} for none
212+
*/
213+
public ExtensionChainExtension setMetadata(java.util.Map<String, java.lang.Object> metadata) {
214+
this.metadata = metadata;
215+
return this;
216+
}
217+
168218
/**
169219
* Required. The name for this extension. The name is logged as part of the HTTP request logs. The
170220
* name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and
@@ -195,7 +245,11 @@ public ExtensionChainExtension setName(java.lang.String name) {
195245
* service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the
196246
* format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServi
197247
* ces/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backe
198-
* ndServices/{backendService}`.
248+
* ndServices/{backendService}`. To configure a plugin extension, this must be a reference to a
249+
* [wasm plugin](https://cloud.google.com/service-
250+
* extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format:
251+
* `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis
252+
* .com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.
199253
* @return value or {@code null} for none
200254
*/
201255
public java.lang.String getService() {
@@ -209,7 +263,11 @@ public java.lang.String getService() {
209263
* service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the
210264
* format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServi
211265
* ces/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backe
212-
* ndServices/{backendService}`.
266+
* ndServices/{backendService}`. To configure a plugin extension, this must be a reference to a
267+
* [wasm plugin](https://cloud.google.com/service-
268+
* extensions/docs/reference/rest/v1beta1/projects.locations.wasmPlugins) in the format:
269+
* `projects/{project}/locations/{location}/wasmPlugins/{plugin}` or `//networkservices.googleapis
270+
* .com/projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}`.
213271
* @param service service or {@code null} for none
214272
*/
215273
public ExtensionChainExtension setService(java.lang.String service) {
@@ -240,7 +298,8 @@ public ExtensionChainExtension setSupportedEvents(java.util.List<java.lang.Strin
240298

241299
/**
242300
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be
243-
* between 10-1000 milliseconds. Required for Callout extensions.
301+
* between 10-1000 milliseconds. Required for callout extensions. This field is not supported for
302+
* plugin extensions and must not be set.
244303
* @return value or {@code null} for none
245304
*/
246305
public String getTimeout() {
@@ -249,7 +308,8 @@ public String getTimeout() {
249308

250309
/**
251310
* Optional. Specifies the timeout for each individual message on the stream. The timeout must be
252-
* between 10-1000 milliseconds. Required for Callout extensions.
311+
* between 10-1000 milliseconds. Required for callout extensions. This field is not supported for
312+
* plugin extensions and must not be set.
253313
* @param timeout timeout or {@code null} for none
254314
*/
255315
public ExtensionChainExtension setTimeout(String timeout) {

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ public final class LbRouteExtension extends com.google.api.client.json.GenericJs
9393
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
9494
* metadata is available under the namespace `com.google.lb_route_extension.`. The following
9595
* variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the
96-
* forwarding rule's fully qualified resource name.
96+
* forwarding rule's fully qualified resource name. This field is not supported for plugin
97+
* extensions and must not be set.
9798
* The value may be {@code null}.
9899
*/
99100
@com.google.api.client.util.Key
@@ -241,7 +242,8 @@ public LbRouteExtension setLoadBalancingScheme(java.lang.String loadBalancingSch
241242
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
242243
* metadata is available under the namespace `com.google.lb_route_extension.`. The following
243244
* variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the
244-
* forwarding rule's fully qualified resource name.
245+
* forwarding rule's fully qualified resource name. This field is not supported for plugin
246+
* extensions and must not be set.
245247
* @return value or {@code null} for none
246248
*/
247249
public java.util.Map<String, java.lang.Object> getMetadata() {
@@ -253,7 +255,8 @@ public java.util.Map<String, java.lang.Object> getMetadata() {
253255
* `google.protobuf.Struct`) in the `ProcessingRequest` message sent to the extension server. The
254256
* metadata is available under the namespace `com.google.lb_route_extension.`. The following
255257
* variables are supported in the metadata Struct: `{forwarding_rule_id}` - substituted with the
256-
* forwarding rule's fully qualified resource name.
258+
* forwarding rule's fully qualified resource name. This field is not supported for plugin
259+
* extensions and must not be set.
257260
* @param metadata metadata or {@code null} for none
258261
*/
259262
public LbRouteExtension setMetadata(java.util.Map<String, java.lang.Object> metadata) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public final class LbTrafficExtension extends com.google.api.client.json.Generic
9494
* `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under
9595
* the key `com.google.lb_traffic_extension.`. The following variables are supported in the
9696
* metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified
97-
* resource name.
97+
* resource name. This field is not supported for plugin extensions and must not be set.
9898
* The value may be {@code null}.
9999
*/
100100
@com.google.api.client.util.Key
@@ -242,7 +242,7 @@ public LbTrafficExtension setLoadBalancingScheme(java.lang.String loadBalancingS
242242
* `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under
243243
* the key `com.google.lb_traffic_extension.`. The following variables are supported in the
244244
* metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified
245-
* resource name.
245+
* resource name. This field is not supported for plugin extensions and must not be set.
246246
* @return value or {@code null} for none
247247
*/
248248
public java.util.Map<String, java.lang.Object> getMetadata() {
@@ -254,7 +254,7 @@ public java.util.Map<String, java.lang.Object> getMetadata() {
254254
* `ProcessingRequest.metadata_context.filter_metadata` map field. The metadata is available under
255255
* the key `com.google.lb_traffic_extension.`. The following variables are supported in the
256256
* metadata: `{forwarding_rule_id}` - substituted with the forwarding rule's fully qualified
257-
* resource name.
257+
* resource name. This field is not supported for plugin extensions and must not be set.
258258
* @param metadata metadata or {@code null} for none
259259
*/
260260
public LbTrafficExtension setMetadata(java.util.Map<String, java.lang.Object> metadata) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.networkservices.v1.model;
18+
19+
/**
20+
* Response returned by the `ListWasmPluginVersions` method.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ListWasmPluginVersionsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* If there might be more results than those appearing in this response, then `next_page_token` is
34+
* included. To get the next set of results, call this method again using the value of
35+
* `next_page_token` as `page_token`.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String nextPageToken;
40+
41+
/**
42+
* List of `WasmPluginVersion` resources.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<WasmPluginVersion> wasmPluginVersions;
47+
48+
/**
49+
* If there might be more results than those appearing in this response, then `next_page_token` is
50+
* included. To get the next set of results, call this method again using the value of
51+
* `next_page_token` as `page_token`.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.String getNextPageToken() {
55+
return nextPageToken;
56+
}
57+
58+
/**
59+
* If there might be more results than those appearing in this response, then `next_page_token` is
60+
* included. To get the next set of results, call this method again using the value of
61+
* `next_page_token` as `page_token`.
62+
* @param nextPageToken nextPageToken or {@code null} for none
63+
*/
64+
public ListWasmPluginVersionsResponse setNextPageToken(java.lang.String nextPageToken) {
65+
this.nextPageToken = nextPageToken;
66+
return this;
67+
}
68+
69+
/**
70+
* List of `WasmPluginVersion` resources.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.util.List<WasmPluginVersion> getWasmPluginVersions() {
74+
return wasmPluginVersions;
75+
}
76+
77+
/**
78+
* List of `WasmPluginVersion` resources.
79+
* @param wasmPluginVersions wasmPluginVersions or {@code null} for none
80+
*/
81+
public ListWasmPluginVersionsResponse setWasmPluginVersions(java.util.List<WasmPluginVersion> wasmPluginVersions) {
82+
this.wasmPluginVersions = wasmPluginVersions;
83+
return this;
84+
}
85+
86+
@Override
87+
public ListWasmPluginVersionsResponse set(String fieldName, Object value) {
88+
return (ListWasmPluginVersionsResponse) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public ListWasmPluginVersionsResponse clone() {
93+
return (ListWasmPluginVersionsResponse) super.clone();
94+
}
95+
96+
}

0 commit comments

Comments
 (0)