Skip to content

Commit f047a35

Browse files
1 parent 01612fc commit f047a35

File tree

12 files changed

+1512
-24
lines changed

12 files changed

+1512
-24
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-rev20251015-2.0.0</version>
25+
<version>v1-rev20251017-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-rev20251015-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkservices:v1-rev20251017-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: 1012 additions & 6 deletions
Large diffs are not rendered by default.
Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
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+
* `LbEdgeExtension` is a resource that lets the extension service influence the selection of
21+
* backend services and Cloud CDN cache keys by modifying request headers.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class LbEdgeExtension extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The timestamp when the resource was created.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private String createTime;
39+
40+
/**
41+
* Optional. A human-readable description of the resource.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String description;
46+
47+
/**
48+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
49+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
50+
* request. The first extension chain that has a condition that matches the request is executed.
51+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private java.util.List<ExtensionChain> extensionChains;
56+
57+
static {
58+
// hack to force ProGuard to consider ExtensionChain used, since otherwise it would be stripped out
59+
// see https://github.com/google/google-api-java-client/issues/543
60+
com.google.api.client.util.Data.nullOf(ExtensionChain.class);
61+
}
62+
63+
/**
64+
* Required. A list of references to the forwarding rules to which this service extension is
65+
* attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be
66+
* associated with a forwarding rule.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.util.List<java.lang.String> forwardingRules;
71+
72+
/**
73+
* Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply
74+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
75+
* resources#requirements) for Google Cloud resources.
76+
* The value may be {@code null}.
77+
*/
78+
@com.google.api.client.util.Key
79+
private java.util.Map<String, java.lang.String> labels;
80+
81+
/**
82+
* Required. All forwarding rules referenced by this extension must share the same load balancing
83+
* scheme. Supported values: `EXTERNAL_MANAGED`.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.lang.String loadBalancingScheme;
88+
89+
/**
90+
* Required. Identifier. Name of the `LbEdgeExtension` resource in the following format:
91+
* `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
92+
* The value may be {@code null}.
93+
*/
94+
@com.google.api.client.util.Key
95+
private java.lang.String name;
96+
97+
/**
98+
* Output only. The timestamp when the resource was updated.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private String updateTime;
103+
104+
/**
105+
* Output only. The timestamp when the resource was created.
106+
* @return value or {@code null} for none
107+
*/
108+
public String getCreateTime() {
109+
return createTime;
110+
}
111+
112+
/**
113+
* Output only. The timestamp when the resource was created.
114+
* @param createTime createTime or {@code null} for none
115+
*/
116+
public LbEdgeExtension setCreateTime(String createTime) {
117+
this.createTime = createTime;
118+
return this;
119+
}
120+
121+
/**
122+
* Optional. A human-readable description of the resource.
123+
* @return value or {@code null} for none
124+
*/
125+
public java.lang.String getDescription() {
126+
return description;
127+
}
128+
129+
/**
130+
* Optional. A human-readable description of the resource.
131+
* @param description description or {@code null} for none
132+
*/
133+
public LbEdgeExtension setDescription(java.lang.String description) {
134+
this.description = description;
135+
return this;
136+
}
137+
138+
/**
139+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
140+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
141+
* request. The first extension chain that has a condition that matches the request is executed.
142+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
143+
* @return value or {@code null} for none
144+
*/
145+
public java.util.List<ExtensionChain> getExtensionChains() {
146+
return extensionChains;
147+
}
148+
149+
/**
150+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
151+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
152+
* request. The first extension chain that has a condition that matches the request is executed.
153+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
154+
* @param extensionChains extensionChains or {@code null} for none
155+
*/
156+
public LbEdgeExtension setExtensionChains(java.util.List<ExtensionChain> extensionChains) {
157+
this.extensionChains = extensionChains;
158+
return this;
159+
}
160+
161+
/**
162+
* Required. A list of references to the forwarding rules to which this service extension is
163+
* attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be
164+
* associated with a forwarding rule.
165+
* @return value or {@code null} for none
166+
*/
167+
public java.util.List<java.lang.String> getForwardingRules() {
168+
return forwardingRules;
169+
}
170+
171+
/**
172+
* Required. A list of references to the forwarding rules to which this service extension is
173+
* attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be
174+
* associated with a forwarding rule.
175+
* @param forwardingRules forwardingRules or {@code null} for none
176+
*/
177+
public LbEdgeExtension setForwardingRules(java.util.List<java.lang.String> forwardingRules) {
178+
this.forwardingRules = forwardingRules;
179+
return this;
180+
}
181+
182+
/**
183+
* Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply
184+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
185+
* resources#requirements) for Google Cloud resources.
186+
* @return value or {@code null} for none
187+
*/
188+
public java.util.Map<String, java.lang.String> getLabels() {
189+
return labels;
190+
}
191+
192+
/**
193+
* Optional. Set of labels associated with the `LbEdgeExtension` resource. The format must comply
194+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
195+
* resources#requirements) for Google Cloud resources.
196+
* @param labels labels or {@code null} for none
197+
*/
198+
public LbEdgeExtension setLabels(java.util.Map<String, java.lang.String> labels) {
199+
this.labels = labels;
200+
return this;
201+
}
202+
203+
/**
204+
* Required. All forwarding rules referenced by this extension must share the same load balancing
205+
* scheme. Supported values: `EXTERNAL_MANAGED`.
206+
* @return value or {@code null} for none
207+
*/
208+
public java.lang.String getLoadBalancingScheme() {
209+
return loadBalancingScheme;
210+
}
211+
212+
/**
213+
* Required. All forwarding rules referenced by this extension must share the same load balancing
214+
* scheme. Supported values: `EXTERNAL_MANAGED`.
215+
* @param loadBalancingScheme loadBalancingScheme or {@code null} for none
216+
*/
217+
public LbEdgeExtension setLoadBalancingScheme(java.lang.String loadBalancingScheme) {
218+
this.loadBalancingScheme = loadBalancingScheme;
219+
return this;
220+
}
221+
222+
/**
223+
* Required. Identifier. Name of the `LbEdgeExtension` resource in the following format:
224+
* `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
225+
* @return value or {@code null} for none
226+
*/
227+
public java.lang.String getName() {
228+
return name;
229+
}
230+
231+
/**
232+
* Required. Identifier. Name of the `LbEdgeExtension` resource in the following format:
233+
* `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
234+
* @param name name or {@code null} for none
235+
*/
236+
public LbEdgeExtension setName(java.lang.String name) {
237+
this.name = name;
238+
return this;
239+
}
240+
241+
/**
242+
* Output only. The timestamp when the resource was updated.
243+
* @return value or {@code null} for none
244+
*/
245+
public String getUpdateTime() {
246+
return updateTime;
247+
}
248+
249+
/**
250+
* Output only. The timestamp when the resource was updated.
251+
* @param updateTime updateTime or {@code null} for none
252+
*/
253+
public LbEdgeExtension setUpdateTime(String updateTime) {
254+
this.updateTime = updateTime;
255+
return this;
256+
}
257+
258+
@Override
259+
public LbEdgeExtension set(String fieldName, Object value) {
260+
return (LbEdgeExtension) super.set(fieldName, value);
261+
}
262+
263+
@Override
264+
public LbEdgeExtension clone() {
265+
return (LbEdgeExtension) super.clone();
266+
}
267+
268+
}

0 commit comments

Comments
 (0)