Skip to content

Commit 6bf3abe

Browse files
1 parent 81edec0 commit 6bf3abe

7 files changed

Lines changed: 1410 additions & 6 deletions

File tree

‎clients/google-api-services-networkservices/v1beta1/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>v1beta1-rev20260816-2.0.0</version>
25+
<version>v1beta1-rev20260821-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:v1beta1-rev20260816-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkservices:v1beta1-rev20260821-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 972 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
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.v1beta1.model;
18+
19+
/**
20+
* `CdnEdgeExtension` is a resource that lets the extension service modify the headers of both
21+
* requests to the cache and responses from the cache served by an
22+
* [`EdgeCacheService`](https://cloud.google.com/media-
23+
* cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices).
24+
*
25+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
26+
* transmitted over HTTP when working with the Network Services API. For a detailed explanation see:
27+
* <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>
28+
* </p>
29+
*
30+
* @author Google, Inc.
31+
*/
32+
@SuppressWarnings("javadoc")
33+
public final class CdnEdgeExtension extends com.google.api.client.json.GenericJson {
34+
35+
/**
36+
* Output only. The timestamp when the resource was created.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private String createTime;
41+
42+
/**
43+
* Optional. A human-readable description of the resource.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String description;
48+
49+
/**
50+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
51+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
52+
* request. The first extension chain that has a condition that matches the request is executed.
53+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.util.List<ExtensionChain> extensionChains;
58+
59+
/**
60+
* Optional. Set of labels associated with the `CdnEdgeExtension` resource. The format must comply
61+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
62+
* resources#requirements) for Google Cloud resources.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private java.util.Map<String, java.lang.String> labels;
67+
68+
/**
69+
* Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format:
70+
* `projects/{project}/locations/{location}/cdnEdgeExtensions/{cdn_edge_extension}`.
71+
* The value may be {@code null}.
72+
*/
73+
@com.google.api.client.util.Key
74+
private java.lang.String name;
75+
76+
/**
77+
* Required. Specifies the set of resources to which this extension should be applied to.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private CdnEdgeExtensionTarget target;
82+
83+
/**
84+
* Output only. The timestamp when the resource was updated.
85+
* The value may be {@code null}.
86+
*/
87+
@com.google.api.client.util.Key
88+
private String updateTime;
89+
90+
/**
91+
* Output only. The timestamp when the resource was created.
92+
* @return value or {@code null} for none
93+
*/
94+
public String getCreateTime() {
95+
return createTime;
96+
}
97+
98+
/**
99+
* Output only. The timestamp when the resource was created.
100+
* @param createTime createTime or {@code null} for none
101+
*/
102+
public CdnEdgeExtension setCreateTime(String createTime) {
103+
this.createTime = createTime;
104+
return this;
105+
}
106+
107+
/**
108+
* Optional. A human-readable description of the resource.
109+
* @return value or {@code null} for none
110+
*/
111+
public java.lang.String getDescription() {
112+
return description;
113+
}
114+
115+
/**
116+
* Optional. A human-readable description of the resource.
117+
* @param description description or {@code null} for none
118+
*/
119+
public CdnEdgeExtension setDescription(java.lang.String description) {
120+
this.description = description;
121+
return this;
122+
}
123+
124+
/**
125+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
126+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
127+
* request. The first extension chain that has a condition that matches the request is executed.
128+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
129+
* @return value or {@code null} for none
130+
*/
131+
public java.util.List<ExtensionChain> getExtensionChains() {
132+
return extensionChains;
133+
}
134+
135+
/**
136+
* Required. A set of ordered extension chains that contain the match conditions and extensions to
137+
* execute. Match conditions for each extension chain are evaluated in sequence for a given
138+
* request. The first extension chain that has a condition that matches the request is executed.
139+
* Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
140+
* @param extensionChains extensionChains or {@code null} for none
141+
*/
142+
public CdnEdgeExtension setExtensionChains(java.util.List<ExtensionChain> extensionChains) {
143+
this.extensionChains = extensionChains;
144+
return this;
145+
}
146+
147+
/**
148+
* Optional. Set of labels associated with the `CdnEdgeExtension` resource. The format must comply
149+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
150+
* resources#requirements) for Google Cloud resources.
151+
* @return value or {@code null} for none
152+
*/
153+
public java.util.Map<String, java.lang.String> getLabels() {
154+
return labels;
155+
}
156+
157+
/**
158+
* Optional. Set of labels associated with the `CdnEdgeExtension` resource. The format must comply
159+
* with [the requirements for labels](https://cloud.google.com/compute/docs/labeling-
160+
* resources#requirements) for Google Cloud resources.
161+
* @param labels labels or {@code null} for none
162+
*/
163+
public CdnEdgeExtension setLabels(java.util.Map<String, java.lang.String> labels) {
164+
this.labels = labels;
165+
return this;
166+
}
167+
168+
/**
169+
* Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format:
170+
* `projects/{project}/locations/{location}/cdnEdgeExtensions/{cdn_edge_extension}`.
171+
* @return value or {@code null} for none
172+
*/
173+
public java.lang.String getName() {
174+
return name;
175+
}
176+
177+
/**
178+
* Required. Identifier. Name of the `CdnEdgeExtension` resource in the following format:
179+
* `projects/{project}/locations/{location}/cdnEdgeExtensions/{cdn_edge_extension}`.
180+
* @param name name or {@code null} for none
181+
*/
182+
public CdnEdgeExtension setName(java.lang.String name) {
183+
this.name = name;
184+
return this;
185+
}
186+
187+
/**
188+
* Required. Specifies the set of resources to which this extension should be applied to.
189+
* @return value or {@code null} for none
190+
*/
191+
public CdnEdgeExtensionTarget getTarget() {
192+
return target;
193+
}
194+
195+
/**
196+
* Required. Specifies the set of resources to which this extension should be applied to.
197+
* @param target target or {@code null} for none
198+
*/
199+
public CdnEdgeExtension setTarget(CdnEdgeExtensionTarget target) {
200+
this.target = target;
201+
return this;
202+
}
203+
204+
/**
205+
* Output only. The timestamp when the resource was updated.
206+
* @return value or {@code null} for none
207+
*/
208+
public String getUpdateTime() {
209+
return updateTime;
210+
}
211+
212+
/**
213+
* Output only. The timestamp when the resource was updated.
214+
* @param updateTime updateTime or {@code null} for none
215+
*/
216+
public CdnEdgeExtension setUpdateTime(String updateTime) {
217+
this.updateTime = updateTime;
218+
return this;
219+
}
220+
221+
@Override
222+
public CdnEdgeExtension set(String fieldName, Object value) {
223+
return (CdnEdgeExtension) super.set(fieldName, value);
224+
}
225+
226+
@Override
227+
public CdnEdgeExtension clone() {
228+
return (CdnEdgeExtension) super.clone();
229+
}
230+
231+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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.v1beta1.model;
18+
19+
/**
20+
* Specifies the set of targets to which `CdnEdgeExtension` should be applied to.
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 CdnEdgeExtensionTarget extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. A list of references to the resources that are targeted by `CdnEdgeExtension`. Types
34+
* of resources supported: `EdgeCacheService`. The format must be the full resource name of
35+
* [EdgeCacheService](https://cloud.google.com/media-
36+
* cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices) in the following format: `//ne
37+
* tworkservices.googleapis.com/projects/{project}/locations/{location}/edgeCacheServices/{edgeCac
38+
* heService}`.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.util.List<java.lang.String> resources;
43+
44+
/**
45+
* Required. A list of references to the resources that are targeted by `CdnEdgeExtension`. Types
46+
* of resources supported: `EdgeCacheService`. The format must be the full resource name of
47+
* [EdgeCacheService](https://cloud.google.com/media-
48+
* cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices) in the following format: `//ne
49+
* tworkservices.googleapis.com/projects/{project}/locations/{location}/edgeCacheServices/{edgeCac
50+
* heService}`.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.List<java.lang.String> getResources() {
54+
return resources;
55+
}
56+
57+
/**
58+
* Required. A list of references to the resources that are targeted by `CdnEdgeExtension`. Types
59+
* of resources supported: `EdgeCacheService`. The format must be the full resource name of
60+
* [EdgeCacheService](https://cloud.google.com/media-
61+
* cdn/docs/reference/rest/v1/projects.locations.edgeCacheServices) in the following format: `//ne
62+
* tworkservices.googleapis.com/projects/{project}/locations/{location}/edgeCacheServices/{edgeCac
63+
* heService}`.
64+
* @param resources resources or {@code null} for none
65+
*/
66+
public CdnEdgeExtensionTarget setResources(java.util.List<java.lang.String> resources) {
67+
this.resources = resources;
68+
return this;
69+
}
70+
71+
@Override
72+
public CdnEdgeExtensionTarget set(String fieldName, Object value) {
73+
return (CdnEdgeExtensionTarget) super.set(fieldName, value);
74+
}
75+
76+
@Override
77+
public CdnEdgeExtensionTarget clone() {
78+
return (CdnEdgeExtensionTarget) super.clone();
79+
}
80+
81+
}

0 commit comments

Comments
 (0)