Skip to content

Commit 8ad7706

Browse files
chore: regenerate networkconnectivity client (#28680)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 9a6348b commit 8ad7706

File tree

20 files changed

+3836
-42
lines changed

20 files changed

+3836
-42
lines changed

clients/google-api-services-networkconnectivity/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-networkconnectivity</artifactId>
25-
<version>v1-rev20250703-2.0.0</version>
25+
<version>v1-rev20250815-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-networkconnectivity:v1-rev20250703-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkconnectivity:v1-rev20250815-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java

Lines changed: 2332 additions & 6 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,316 @@
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.networkconnectivity.v1.model;
18+
19+
/**
20+
* The Destination resource.
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 Connectivity API. For a detailed explanation
24+
* 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 Destination extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Time when the Destination 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. An optional field to provide a description of this 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. Unordered list. The list of Endpoints configured for the IP Prefix.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<DestinationEndpoint> endpoints;
53+
54+
/**
55+
* The etag is computed by the server, and may be sent on update and delete requests to ensure the
56+
* client has an up-to-date value before proceeding.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private java.lang.String etag;
61+
62+
/**
63+
* Required. Immutable. Remote IP Prefix in the remote CSP, where the customer's workload is
64+
* located
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.String ipPrefix;
69+
70+
/**
71+
* Optional. User-defined labels.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private java.util.Map<String, java.lang.String> labels;
76+
77+
/**
78+
* Identifier. The name of the Destination resource. Format: `projects/{project}/locations/{locati
79+
* on}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`
80+
* .
81+
* The value may be {@code null}.
82+
*/
83+
@com.google.api.client.util.Key
84+
private java.lang.String name;
85+
86+
/**
87+
* Output only. The timeline of the expected Destination states or the current rest state. If a
88+
* state change is expected, the value will be the list of ADDING, DELETING or SUSPENDING
89+
* statesdepending on the actions taken. Example: "state_timeline": { "states": [ { "state":
90+
* "ADDING", // The time when the Destination will be activated. "effective_time":
91+
* "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the Destination will be
92+
* suspended. "effective_time": "2024-12-01T20:00:00Z" } ] }
93+
* The value may be {@code null}.
94+
*/
95+
@com.google.api.client.util.Key
96+
private StateTimeline stateTimeline;
97+
98+
/**
99+
* Output only. The Google-generated UUID for the destination. This value is unique across all
100+
* destination resources. If a destination is deleted and another with the same name is created,
101+
* the new destination is assigned a different uid.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private java.lang.String uid;
106+
107+
/**
108+
* Output only. Time when the Destination was updated.
109+
* The value may be {@code null}.
110+
*/
111+
@com.google.api.client.util.Key
112+
private String updateTime;
113+
114+
/**
115+
* Output only. Time when the Destination was created.
116+
* @return value or {@code null} for none
117+
*/
118+
public String getCreateTime() {
119+
return createTime;
120+
}
121+
122+
/**
123+
* Output only. Time when the Destination was created.
124+
* @param createTime createTime or {@code null} for none
125+
*/
126+
public Destination setCreateTime(String createTime) {
127+
this.createTime = createTime;
128+
return this;
129+
}
130+
131+
/**
132+
* Optional. An optional field to provide a description of this resource.
133+
* @return value or {@code null} for none
134+
*/
135+
public java.lang.String getDescription() {
136+
return description;
137+
}
138+
139+
/**
140+
* Optional. An optional field to provide a description of this resource.
141+
* @param description description or {@code null} for none
142+
*/
143+
public Destination setDescription(java.lang.String description) {
144+
this.description = description;
145+
return this;
146+
}
147+
148+
/**
149+
* Required. Unordered list. The list of Endpoints configured for the IP Prefix.
150+
* @return value or {@code null} for none
151+
*/
152+
public java.util.List<DestinationEndpoint> getEndpoints() {
153+
return endpoints;
154+
}
155+
156+
/**
157+
* Required. Unordered list. The list of Endpoints configured for the IP Prefix.
158+
* @param endpoints endpoints or {@code null} for none
159+
*/
160+
public Destination setEndpoints(java.util.List<DestinationEndpoint> endpoints) {
161+
this.endpoints = endpoints;
162+
return this;
163+
}
164+
165+
/**
166+
* The etag is computed by the server, and may be sent on update and delete requests to ensure the
167+
* client has an up-to-date value before proceeding.
168+
* @return value or {@code null} for none
169+
*/
170+
public java.lang.String getEtag() {
171+
return etag;
172+
}
173+
174+
/**
175+
* The etag is computed by the server, and may be sent on update and delete requests to ensure the
176+
* client has an up-to-date value before proceeding.
177+
* @param etag etag or {@code null} for none
178+
*/
179+
public Destination setEtag(java.lang.String etag) {
180+
this.etag = etag;
181+
return this;
182+
}
183+
184+
/**
185+
* Required. Immutable. Remote IP Prefix in the remote CSP, where the customer's workload is
186+
* located
187+
* @return value or {@code null} for none
188+
*/
189+
public java.lang.String getIpPrefix() {
190+
return ipPrefix;
191+
}
192+
193+
/**
194+
* Required. Immutable. Remote IP Prefix in the remote CSP, where the customer's workload is
195+
* located
196+
* @param ipPrefix ipPrefix or {@code null} for none
197+
*/
198+
public Destination setIpPrefix(java.lang.String ipPrefix) {
199+
this.ipPrefix = ipPrefix;
200+
return this;
201+
}
202+
203+
/**
204+
* Optional. User-defined labels.
205+
* @return value or {@code null} for none
206+
*/
207+
public java.util.Map<String, java.lang.String> getLabels() {
208+
return labels;
209+
}
210+
211+
/**
212+
* Optional. User-defined labels.
213+
* @param labels labels or {@code null} for none
214+
*/
215+
public Destination setLabels(java.util.Map<String, java.lang.String> labels) {
216+
this.labels = labels;
217+
return this;
218+
}
219+
220+
/**
221+
* Identifier. The name of the Destination resource. Format: `projects/{project}/locations/{locati
222+
* on}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`
223+
* .
224+
* @return value or {@code null} for none
225+
*/
226+
public java.lang.String getName() {
227+
return name;
228+
}
229+
230+
/**
231+
* Identifier. The name of the Destination resource. Format: `projects/{project}/locations/{locati
232+
* on}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`
233+
* .
234+
* @param name name or {@code null} for none
235+
*/
236+
public Destination setName(java.lang.String name) {
237+
this.name = name;
238+
return this;
239+
}
240+
241+
/**
242+
* Output only. The timeline of the expected Destination states or the current rest state. If a
243+
* state change is expected, the value will be the list of ADDING, DELETING or SUSPENDING
244+
* statesdepending on the actions taken. Example: "state_timeline": { "states": [ { "state":
245+
* "ADDING", // The time when the Destination will be activated. "effective_time":
246+
* "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the Destination will be
247+
* suspended. "effective_time": "2024-12-01T20:00:00Z" } ] }
248+
* @return value or {@code null} for none
249+
*/
250+
public StateTimeline getStateTimeline() {
251+
return stateTimeline;
252+
}
253+
254+
/**
255+
* Output only. The timeline of the expected Destination states or the current rest state. If a
256+
* state change is expected, the value will be the list of ADDING, DELETING or SUSPENDING
257+
* statesdepending on the actions taken. Example: "state_timeline": { "states": [ { "state":
258+
* "ADDING", // The time when the Destination will be activated. "effective_time":
259+
* "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the Destination will be
260+
* suspended. "effective_time": "2024-12-01T20:00:00Z" } ] }
261+
* @param stateTimeline stateTimeline or {@code null} for none
262+
*/
263+
public Destination setStateTimeline(StateTimeline stateTimeline) {
264+
this.stateTimeline = stateTimeline;
265+
return this;
266+
}
267+
268+
/**
269+
* Output only. The Google-generated UUID for the destination. This value is unique across all
270+
* destination resources. If a destination is deleted and another with the same name is created,
271+
* the new destination is assigned a different uid.
272+
* @return value or {@code null} for none
273+
*/
274+
public java.lang.String getUid() {
275+
return uid;
276+
}
277+
278+
/**
279+
* Output only. The Google-generated UUID for the destination. This value is unique across all
280+
* destination resources. If a destination is deleted and another with the same name is created,
281+
* the new destination is assigned a different uid.
282+
* @param uid uid or {@code null} for none
283+
*/
284+
public Destination setUid(java.lang.String uid) {
285+
this.uid = uid;
286+
return this;
287+
}
288+
289+
/**
290+
* Output only. Time when the Destination was updated.
291+
* @return value or {@code null} for none
292+
*/
293+
public String getUpdateTime() {
294+
return updateTime;
295+
}
296+
297+
/**
298+
* Output only. Time when the Destination was updated.
299+
* @param updateTime updateTime or {@code null} for none
300+
*/
301+
public Destination setUpdateTime(String updateTime) {
302+
this.updateTime = updateTime;
303+
return this;
304+
}
305+
306+
@Override
307+
public Destination set(String fieldName, Object value) {
308+
return (Destination) super.set(fieldName, value);
309+
}
310+
311+
@Override
312+
public Destination clone() {
313+
return (Destination) super.clone();
314+
}
315+
316+
}

0 commit comments

Comments
 (0)