Skip to content

Commit b9dd475

Browse files
1 parent 0c42ef0 commit b9dd475

File tree

17 files changed

+1465
-568
lines changed

17 files changed

+1465
-568
lines changed

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

clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/NetworkManagement.java

Lines changed: 523 additions & 502 deletions
Large diffs are not rendered by default.

clients/google-api-services-networkmanagement/v1/2.0.0/com/google/api/services/networkmanagement/v1/model/Endpoint.java

Lines changed: 39 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ public final class Endpoint extends com.google.api.client.json.GenericJson {
9999
@com.google.api.client.util.Key
100100
private java.lang.String gkeMasterCluster;
101101

102+
/**
103+
* A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
104+
* The value may be {@code null}.
105+
*/
106+
@com.google.api.client.util.Key
107+
private java.lang.String gkePod;
108+
102109
/**
103110
* A Compute Engine instance URI.
104111
* The value may be {@code null}.
@@ -129,15 +136,15 @@ public final class Endpoint extends com.google.api.client.json.GenericJson {
129136
private java.lang.String loadBalancerType;
130137

131138
/**
132-
* A VPC network URI.
139+
* A VPC network URI. Used according to the `network_type`. Relevant only for the source
140+
* endpoints.
133141
* The value may be {@code null}.
134142
*/
135143
@com.google.api.client.util.Key
136144
private java.lang.String network;
137145

138146
/**
139-
* Type of the network where the endpoint is located. Applicable only to source endpoint, as
140-
* destination network type can be inferred from the source.
147+
* Type of the network where the endpoint is located. Relevant only for the source endpoints.
141148
* The value may be {@code null}.
142149
*/
143150
@com.google.api.client.util.Key
@@ -151,12 +158,8 @@ public final class Endpoint extends com.google.api.client.json.GenericJson {
151158
private java.lang.Integer port;
152159

153160
/**
154-
* Project ID where the endpoint is located. The project ID can be derived from the URI if you
155-
* provide a endpoint or network URI. The following are two cases where you may need to provide
156-
* the project ID: 1. Only the IP address is specified, and the IP address is within a Google
157-
* Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the
158-
* service project. In this case, the network that the IP address resides in is defined in the
159-
* host project.
161+
* Endpoint project ID. Used according to the `network_type`. Relevant only for the source
162+
* endpoints.
160163
* The value may be {@code null}.
161164
*/
162165
@com.google.api.client.util.Key
@@ -340,6 +343,23 @@ public Endpoint setGkeMasterCluster(java.lang.String gkeMasterCluster) {
340343
return this;
341344
}
342345

346+
/**
347+
* A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
348+
* @return value or {@code null} for none
349+
*/
350+
public java.lang.String getGkePod() {
351+
return gkePod;
352+
}
353+
354+
/**
355+
* A [GKE Pod](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) URI.
356+
* @param gkePod gkePod or {@code null} for none
357+
*/
358+
public Endpoint setGkePod(java.lang.String gkePod) {
359+
this.gkePod = gkePod;
360+
return this;
361+
}
362+
343363
/**
344364
* A Compute Engine instance URI.
345365
* @return value or {@code null} for none
@@ -411,15 +431,17 @@ public Endpoint setLoadBalancerType(java.lang.String loadBalancerType) {
411431
}
412432

413433
/**
414-
* A VPC network URI.
434+
* A VPC network URI. Used according to the `network_type`. Relevant only for the source
435+
* endpoints.
415436
* @return value or {@code null} for none
416437
*/
417438
public java.lang.String getNetwork() {
418439
return network;
419440
}
420441

421442
/**
422-
* A VPC network URI.
443+
* A VPC network URI. Used according to the `network_type`. Relevant only for the source
444+
* endpoints.
423445
* @param network network or {@code null} for none
424446
*/
425447
public Endpoint setNetwork(java.lang.String network) {
@@ -428,17 +450,15 @@ public Endpoint setNetwork(java.lang.String network) {
428450
}
429451

430452
/**
431-
* Type of the network where the endpoint is located. Applicable only to source endpoint, as
432-
* destination network type can be inferred from the source.
453+
* Type of the network where the endpoint is located. Relevant only for the source endpoints.
433454
* @return value or {@code null} for none
434455
*/
435456
public java.lang.String getNetworkType() {
436457
return networkType;
437458
}
438459

439460
/**
440-
* Type of the network where the endpoint is located. Applicable only to source endpoint, as
441-
* destination network type can be inferred from the source.
461+
* Type of the network where the endpoint is located. Relevant only for the source endpoints.
442462
* @param networkType networkType or {@code null} for none
443463
*/
444464
public Endpoint setNetworkType(java.lang.String networkType) {
@@ -464,25 +484,17 @@ public Endpoint setPort(java.lang.Integer port) {
464484
}
465485

466486
/**
467-
* Project ID where the endpoint is located. The project ID can be derived from the URI if you
468-
* provide a endpoint or network URI. The following are two cases where you may need to provide
469-
* the project ID: 1. Only the IP address is specified, and the IP address is within a Google
470-
* Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the
471-
* service project. In this case, the network that the IP address resides in is defined in the
472-
* host project.
487+
* Endpoint project ID. Used according to the `network_type`. Relevant only for the source
488+
* endpoints.
473489
* @return value or {@code null} for none
474490
*/
475491
public java.lang.String getProjectId() {
476492
return projectId;
477493
}
478494

479495
/**
480-
* Project ID where the endpoint is located. The project ID can be derived from the URI if you
481-
* provide a endpoint or network URI. The following are two cases where you may need to provide
482-
* the project ID: 1. Only the IP address is specified, and the IP address is within a Google
483-
* Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the
484-
* service project. In this case, the network that the IP address resides in is defined in the
485-
* host project.
496+
* Endpoint project ID. Used according to the `network_type`. Relevant only for the source
497+
* endpoints.
486498
* @param projectId projectId or {@code null} for none
487499
*/
488500
public Endpoint setProjectId(java.lang.String projectId) {
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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.networkmanagement.v1.model;
18+
19+
/**
20+
* For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.
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 Management 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 GkePodInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the
35+
* trace.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.lang.String ipAddress;
40+
41+
/**
42+
* URI of the network containing the GKE Pod.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String networkUri;
47+
48+
/**
49+
* URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locatio
50+
* ns/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal
51+
* Clusters, the URI format is:
52+
* `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`
53+
* The value may be {@code null}.
54+
*/
55+
@com.google.api.client.util.Key
56+
private java.lang.String podUri;
57+
58+
/**
59+
* IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the
60+
* trace.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.String getIpAddress() {
64+
return ipAddress;
65+
}
66+
67+
/**
68+
* IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the
69+
* trace.
70+
* @param ipAddress ipAddress or {@code null} for none
71+
*/
72+
public GkePodInfo setIpAddress(java.lang.String ipAddress) {
73+
this.ipAddress = ipAddress;
74+
return this;
75+
}
76+
77+
/**
78+
* URI of the network containing the GKE Pod.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.String getNetworkUri() {
82+
return networkUri;
83+
}
84+
85+
/**
86+
* URI of the network containing the GKE Pod.
87+
* @param networkUri networkUri or {@code null} for none
88+
*/
89+
public GkePodInfo setNetworkUri(java.lang.String networkUri) {
90+
this.networkUri = networkUri;
91+
return this;
92+
}
93+
94+
/**
95+
* URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locatio
96+
* ns/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal
97+
* Clusters, the URI format is:
98+
* `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`
99+
* @return value or {@code null} for none
100+
*/
101+
public java.lang.String getPodUri() {
102+
return podUri;
103+
}
104+
105+
/**
106+
* URI of a GKE Pod. For Pods in regional Clusters, the URI format is: `projects/{project}/locatio
107+
* ns/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}` For Pods in zonal
108+
* Clusters, the URI format is:
109+
* `projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}`
110+
* @param podUri podUri or {@code null} for none
111+
*/
112+
public GkePodInfo setPodUri(java.lang.String podUri) {
113+
this.podUri = podUri;
114+
return this;
115+
}
116+
117+
@Override
118+
public GkePodInfo set(String fieldName, Object value) {
119+
return (GkePodInfo) super.set(fieldName, value);
120+
}
121+
122+
@Override
123+
public GkePodInfo clone() {
124+
return (GkePodInfo) super.clone();
125+
}
126+
127+
}

0 commit comments

Comments
 (0)