Skip to content

Commit bb1348f

Browse files
1 parent fe20540 commit bb1348f

19 files changed

Lines changed: 6054 additions & 2557 deletions

File tree

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

clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/NetworkSecurity.java

Lines changed: 4588 additions & 2527 deletions
Large diffs are not rendered by default.

clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicy.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
9494
@com.google.api.client.util.Key
9595
private java.lang.String name;
9696

97+
/**
98+
* Optional. A list of authorization network rules to match against the incoming request. A policy
99+
* match occurs when at least one network rule matches the request. At least one network rule is
100+
* required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually
101+
* exclusive with HTTP rules. Limited to 5 rules.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private java.util.List<AuthzPolicyAuthzRule> networkRules;
106+
97107
/**
98108
* Optional. Immutable. Defines the type of authorization being performed. If not specified,
99109
* `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.
@@ -265,6 +275,29 @@ public AuthzPolicy setName(java.lang.String name) {
265275
return this;
266276
}
267277

278+
/**
279+
* Optional. A list of authorization network rules to match against the incoming request. A policy
280+
* match occurs when at least one network rule matches the request. At least one network rule is
281+
* required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually
282+
* exclusive with HTTP rules. Limited to 5 rules.
283+
* @return value or {@code null} for none
284+
*/
285+
public java.util.List<AuthzPolicyAuthzRule> getNetworkRules() {
286+
return networkRules;
287+
}
288+
289+
/**
290+
* Optional. A list of authorization network rules to match against the incoming request. A policy
291+
* match occurs when at least one network rule matches the request. At least one network rule is
292+
* required for Allow or Deny Action if no HTTP rules are provided. Network rules are mutually
293+
* exclusive with HTTP rules. Limited to 5 rules.
294+
* @param networkRules networkRules or {@code null} for none
295+
*/
296+
public AuthzPolicy setNetworkRules(java.util.List<AuthzPolicyAuthzRule> networkRules) {
297+
this.networkRules = networkRules;
298+
return this;
299+
}
300+
268301
/**
269302
* Optional. Immutable. Defines the type of authorization being performed. If not specified,
270303
* `REQUEST_AUTHZ` is applied. This field cannot be changed once AuthzPolicy is created.

clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/AuthzPolicyAuthzRuleToRequestOperation.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,22 @@ public final class AuthzPolicyAuthzRuleToRequestOperation extends com.google.api
8686
com.google.api.client.util.Data.nullOf(AuthzPolicyAuthzRuleStringMatch.class);
8787
}
8888

89+
/**
90+
* Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or
91+
* contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will
92+
* be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs
93+
* per Authorization Policy.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private java.util.List<AuthzPolicyAuthzRuleStringMatch> snis;
98+
99+
static {
100+
// hack to force ProGuard to consider AuthzPolicyAuthzRuleStringMatch used, since otherwise it would be stripped out
101+
// see https://github.com/google/google-api-java-client/issues/543
102+
com.google.api.client.util.Data.nullOf(AuthzPolicyAuthzRuleStringMatch.class);
103+
}
104+
89105
/**
90106
* Optional. A list of headers to match against in http header.
91107
* @return value or {@code null} for none
@@ -191,6 +207,29 @@ public AuthzPolicyAuthzRuleToRequestOperation setPaths(java.util.List<AuthzPolic
191207
return this;
192208
}
193209

210+
/**
211+
* Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or
212+
* contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will
213+
* be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs
214+
* per Authorization Policy.
215+
* @return value or {@code null} for none
216+
*/
217+
public java.util.List<AuthzPolicyAuthzRuleStringMatch> getSnis() {
218+
return snis;
219+
}
220+
221+
/**
222+
* Optional. A list of SNIs to match against. The match can be one of exact, prefix, suffix, or
223+
* contains (substring match). If there is no SNI (i.e. plaintext HTTP traffic), the request will
224+
* be denied. Matches are always case sensitive unless the ignoreCase is set. Limited to 10 SNIs
225+
* per Authorization Policy.
226+
* @param snis snis or {@code null} for none
227+
*/
228+
public AuthzPolicyAuthzRuleToRequestOperation setSnis(java.util.List<AuthzPolicyAuthzRuleStringMatch> snis) {
229+
this.snis = snis;
230+
return this;
231+
}
232+
194233
@Override
195234
public AuthzPolicyAuthzRuleToRequestOperation set(String fieldName, Object value) {
196235
return (AuthzPolicyAuthzRuleToRequestOperation) super.set(fieldName, value);

clients/google-api-services-networksecurity/v1/2.0.0/com/google/api/services/networksecurity/v1/model/FirewallEndpoint.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
public final class FirewallEndpoint extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Output only. List of networks that are associated with this endpoint in the local zone. This is
34-
* a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only
35-
* appear in this list after traffic routing is fully configured. Format:
33+
* Output only. Deprecated: List of networks that are associated with this endpoint in the local
34+
* zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A
35+
* network will only appear in this list after traffic routing is fully configured. Format:
3636
* projects/{project}/global/networks/{name}.
3737
* The value may be {@code null}.
3838
*/
@@ -126,9 +126,9 @@ public final class FirewallEndpoint extends com.google.api.client.json.GenericJs
126126
private String updateTime;
127127

128128
/**
129-
* Output only. List of networks that are associated with this endpoint in the local zone. This is
130-
* a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only
131-
* appear in this list after traffic routing is fully configured. Format:
129+
* Output only. Deprecated: List of networks that are associated with this endpoint in the local
130+
* zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A
131+
* network will only appear in this list after traffic routing is fully configured. Format:
132132
* projects/{project}/global/networks/{name}.
133133
* @return value or {@code null} for none
134134
*/
@@ -137,9 +137,9 @@ public java.util.List<java.lang.String> getAssociatedNetworks() {
137137
}
138138

139139
/**
140-
* Output only. List of networks that are associated with this endpoint in the local zone. This is
141-
* a projection of the FirewallEndpointAssociations pointing at this endpoint. A network will only
142-
* appear in this list after traffic routing is fully configured. Format:
140+
* Output only. Deprecated: List of networks that are associated with this endpoint in the local
141+
* zone. This is a projection of the FirewallEndpointAssociations pointing at this endpoint. A
142+
* network will only appear in this list after traffic routing is fully configured. Format:
143143
* projects/{project}/global/networks/{name}.
144144
* @param associatedNetworks associatedNetworks or {@code null} for none
145145
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.networksecurity.v1.model;
18+
19+
/**
20+
* Response for `ListSACAttachments` method.
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 Security 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 ListSACAttachmentsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token identifying a page of results the server should return.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String nextPageToken;
38+
39+
/**
40+
* The list of SACAttachments.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<SACAttachment> sacAttachments;
45+
46+
/**
47+
* Locations that could not be reached.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<java.lang.String> unreachable;
52+
53+
/**
54+
* A token identifying a page of results the server should return.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getNextPageToken() {
58+
return nextPageToken;
59+
}
60+
61+
/**
62+
* A token identifying a page of results the server should return.
63+
* @param nextPageToken nextPageToken or {@code null} for none
64+
*/
65+
public ListSACAttachmentsResponse setNextPageToken(java.lang.String nextPageToken) {
66+
this.nextPageToken = nextPageToken;
67+
return this;
68+
}
69+
70+
/**
71+
* The list of SACAttachments.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.util.List<SACAttachment> getSacAttachments() {
75+
return sacAttachments;
76+
}
77+
78+
/**
79+
* The list of SACAttachments.
80+
* @param sacAttachments sacAttachments or {@code null} for none
81+
*/
82+
public ListSACAttachmentsResponse setSacAttachments(java.util.List<SACAttachment> sacAttachments) {
83+
this.sacAttachments = sacAttachments;
84+
return this;
85+
}
86+
87+
/**
88+
* Locations that could not be reached.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.util.List<java.lang.String> getUnreachable() {
92+
return unreachable;
93+
}
94+
95+
/**
96+
* Locations that could not be reached.
97+
* @param unreachable unreachable or {@code null} for none
98+
*/
99+
public ListSACAttachmentsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
100+
this.unreachable = unreachable;
101+
return this;
102+
}
103+
104+
@Override
105+
public ListSACAttachmentsResponse set(String fieldName, Object value) {
106+
return (ListSACAttachmentsResponse) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public ListSACAttachmentsResponse clone() {
111+
return (ListSACAttachmentsResponse) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.networksecurity.v1.model;
18+
19+
/**
20+
* Response for `ListSACRealms` method.
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 Security 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 ListSACRealmsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token identifying a page of results the server should return.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String nextPageToken;
38+
39+
/**
40+
* The list of SACRealms.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<SACRealm> sacRealms;
45+
46+
/**
47+
* Locations that could not be reached.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<java.lang.String> unreachable;
52+
53+
/**
54+
* A token identifying a page of results the server should return.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getNextPageToken() {
58+
return nextPageToken;
59+
}
60+
61+
/**
62+
* A token identifying a page of results the server should return.
63+
* @param nextPageToken nextPageToken or {@code null} for none
64+
*/
65+
public ListSACRealmsResponse setNextPageToken(java.lang.String nextPageToken) {
66+
this.nextPageToken = nextPageToken;
67+
return this;
68+
}
69+
70+
/**
71+
* The list of SACRealms.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.util.List<SACRealm> getSacRealms() {
75+
return sacRealms;
76+
}
77+
78+
/**
79+
* The list of SACRealms.
80+
* @param sacRealms sacRealms or {@code null} for none
81+
*/
82+
public ListSACRealmsResponse setSacRealms(java.util.List<SACRealm> sacRealms) {
83+
this.sacRealms = sacRealms;
84+
return this;
85+
}
86+
87+
/**
88+
* Locations that could not be reached.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.util.List<java.lang.String> getUnreachable() {
92+
return unreachable;
93+
}
94+
95+
/**
96+
* Locations that could not be reached.
97+
* @param unreachable unreachable or {@code null} for none
98+
*/
99+
public ListSACRealmsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
100+
this.unreachable = unreachable;
101+
return this;
102+
}
103+
104+
@Override
105+
public ListSACRealmsResponse set(String fieldName, Object value) {
106+
return (ListSACRealmsResponse) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public ListSACRealmsResponse clone() {
111+
return (ListSACRealmsResponse) super.clone();
112+
}
113+
114+
}

0 commit comments

Comments
 (0)