Skip to content

Commit bffa72d

Browse files
1 parent 251acc4 commit bffa72d

File tree

6 files changed

+269
-6
lines changed

6 files changed

+269
-6
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-rev20260211-2.0.0</version>
25+
<version>v1-rev20260225-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-rev20260211-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networkmanagement:v1-rev20260225-2.0.0'
3939
}
4040
```
4141

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
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 GKE Network Policy.
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 GkeNetworkPolicyInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Possible values: ALLOW, DENY
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String action;
39+
40+
/**
41+
* Possible values: INGRESS, EGRESS
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String direction;
46+
47+
/**
48+
* The name of the Network Policy.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String displayName;
53+
54+
/**
55+
* The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
56+
* `projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/` Format for a
57+
* Network Policy in a regional cluster:
58+
* `projects//locations//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String uri;
63+
64+
/**
65+
* Possible values: ALLOW, DENY
66+
* @return value or {@code null} for none
67+
*/
68+
public java.lang.String getAction() {
69+
return action;
70+
}
71+
72+
/**
73+
* Possible values: ALLOW, DENY
74+
* @param action action or {@code null} for none
75+
*/
76+
public GkeNetworkPolicyInfo setAction(java.lang.String action) {
77+
this.action = action;
78+
return this;
79+
}
80+
81+
/**
82+
* Possible values: INGRESS, EGRESS
83+
* @return value or {@code null} for none
84+
*/
85+
public java.lang.String getDirection() {
86+
return direction;
87+
}
88+
89+
/**
90+
* Possible values: INGRESS, EGRESS
91+
* @param direction direction or {@code null} for none
92+
*/
93+
public GkeNetworkPolicyInfo setDirection(java.lang.String direction) {
94+
this.direction = direction;
95+
return this;
96+
}
97+
98+
/**
99+
* The name of the Network Policy.
100+
* @return value or {@code null} for none
101+
*/
102+
public java.lang.String getDisplayName() {
103+
return displayName;
104+
}
105+
106+
/**
107+
* The name of the Network Policy.
108+
* @param displayName displayName or {@code null} for none
109+
*/
110+
public GkeNetworkPolicyInfo setDisplayName(java.lang.String displayName) {
111+
this.displayName = displayName;
112+
return this;
113+
}
114+
115+
/**
116+
* The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
117+
* `projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/` Format for a
118+
* Network Policy in a regional cluster:
119+
* `projects//locations//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
120+
* @return value or {@code null} for none
121+
*/
122+
public java.lang.String getUri() {
123+
return uri;
124+
}
125+
126+
/**
127+
* The URI of the Network Policy. Format for a Network Policy in a zonal cluster:
128+
* `projects//zones//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/` Format for a
129+
* Network Policy in a regional cluster:
130+
* `projects//locations//clusters//k8s/namespaces//networking.k8s.io/networkpolicies/`
131+
* @param uri uri or {@code null} for none
132+
*/
133+
public GkeNetworkPolicyInfo setUri(java.lang.String uri) {
134+
this.uri = uri;
135+
return this;
136+
}
137+
138+
@Override
139+
public GkeNetworkPolicyInfo set(String fieldName, Object value) {
140+
return (GkeNetworkPolicyInfo) super.set(fieldName, value);
141+
}
142+
143+
@Override
144+
public GkeNetworkPolicyInfo clone() {
145+
return (GkeNetworkPolicyInfo) super.clone();
146+
}
147+
148+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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. Contains information about why GKE Network Policy evaluation was skipped.
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 GkeNetworkPolicySkippedInfo extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Reason why Network Policy evaluation was skipped.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String reason;
39+
40+
/**
41+
* Reason why Network Policy evaluation was skipped.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getReason() {
45+
return reason;
46+
}
47+
48+
/**
49+
* Reason why Network Policy evaluation was skipped.
50+
* @param reason reason or {@code null} for none
51+
*/
52+
public GkeNetworkPolicySkippedInfo setReason(java.lang.String reason) {
53+
this.reason = reason;
54+
return this;
55+
}
56+
57+
@Override
58+
public GkeNetworkPolicySkippedInfo set(String fieldName, Object value) {
59+
return (GkeNetworkPolicySkippedInfo) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GkeNetworkPolicySkippedInfo clone() {
64+
return (GkeNetworkPolicySkippedInfo) super.clone();
65+
}
66+
67+
}

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,20 @@ public final class Step extends com.google.api.client.json.GenericJson {
138138
@com.google.api.client.util.Key
139139
private GKEMasterInfo gkeMaster;
140140

141+
/**
142+
* Display information of a GKE Network Policy.
143+
* The value may be {@code null}.
144+
*/
145+
@com.google.api.client.util.Key
146+
private GkeNetworkPolicyInfo gkeNetworkPolicy;
147+
148+
/**
149+
* Display information of the reason why GKE Network Policy evaluation was skipped.
150+
* The value may be {@code null}.
151+
*/
152+
@com.google.api.client.util.Key
153+
private GkeNetworkPolicySkippedInfo gkeNetworkPolicySkipped;
154+
141155
/**
142156
* Display information of a Google Kubernetes Engine Pod.
143157
* The value may be {@code null}.
@@ -560,6 +574,40 @@ public Step setGkeMaster(GKEMasterInfo gkeMaster) {
560574
return this;
561575
}
562576

577+
/**
578+
* Display information of a GKE Network Policy.
579+
* @return value or {@code null} for none
580+
*/
581+
public GkeNetworkPolicyInfo getGkeNetworkPolicy() {
582+
return gkeNetworkPolicy;
583+
}
584+
585+
/**
586+
* Display information of a GKE Network Policy.
587+
* @param gkeNetworkPolicy gkeNetworkPolicy or {@code null} for none
588+
*/
589+
public Step setGkeNetworkPolicy(GkeNetworkPolicyInfo gkeNetworkPolicy) {
590+
this.gkeNetworkPolicy = gkeNetworkPolicy;
591+
return this;
592+
}
593+
594+
/**
595+
* Display information of the reason why GKE Network Policy evaluation was skipped.
596+
* @return value or {@code null} for none
597+
*/
598+
public GkeNetworkPolicySkippedInfo getGkeNetworkPolicySkipped() {
599+
return gkeNetworkPolicySkipped;
600+
}
601+
602+
/**
603+
* Display information of the reason why GKE Network Policy evaluation was skipped.
604+
* @param gkeNetworkPolicySkipped gkeNetworkPolicySkipped or {@code null} for none
605+
*/
606+
public Step setGkeNetworkPolicySkipped(GkeNetworkPolicySkippedInfo gkeNetworkPolicySkipped) {
607+
this.gkeNetworkPolicySkipped = gkeNetworkPolicySkipped;
608+
return this;
609+
}
610+
563611
/**
564612
* Display information of a Google Kubernetes Engine Pod.
565613
* @return value or {@code null} for none

clients/google-api-services-networkmanagement/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-networkmanagement</artifactId>
11-
<version>v1-rev20260211-2.0.0</version>
12-
<name>Network Management API v1-rev20260211-2.0.0</name>
11+
<version>v1-rev20260225-2.0.0</version>
12+
<name>Network Management API v1-rev20260225-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)