Skip to content

Commit 057a83e

Browse files
1 parent 6543624 commit 057a83e

File tree

8 files changed

+156
-21
lines changed

8 files changed

+156
-21
lines changed

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

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12080,7 +12080,7 @@ public List set(String parameterName, Object value) {
1208012080
* optional parameters, call the {@link Patch#execute()} method to invoke the remote operation.
1208112081
*
1208212082
* @param name Required. Name of the ClientTlsPolicy resource. It matches the pattern
12083-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
12083+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
1208412084
* @param content the {@link com.google.api.services.networksecurity.v1beta1.model.ClientTlsPolicy}
1208512085
* @return the request
1208612086
*/
@@ -12109,7 +12109,7 @@ public class Patch extends NetworkSecurityRequest<com.google.api.services.networ
1210912109
* be called to initialize this instance immediately after invoking the constructor. </p>
1211012110
*
1211112111
* @param name Required. Name of the ClientTlsPolicy resource. It matches the pattern
12112-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
12112+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
1211312113
* @param content the {@link com.google.api.services.networksecurity.v1beta1.model.ClientTlsPolicy}
1211412114
* @since 1.13
1211512115
*/
@@ -12180,21 +12180,21 @@ public Patch setUploadProtocol(java.lang.String uploadProtocol) {
1218012180

1218112181
/**
1218212182
* Required. Name of the ClientTlsPolicy resource. It matches the pattern
12183-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
12183+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
1218412184
*/
1218512185
@com.google.api.client.util.Key
1218612186
private java.lang.String name;
1218712187

1218812188
/** Required. Name of the ClientTlsPolicy resource. It matches the pattern
12189-
`projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
12189+
`projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
1219012190
*/
1219112191
public java.lang.String getName() {
1219212192
return name;
1219312193
}
1219412194

1219512195
/**
1219612196
* Required. Name of the ClientTlsPolicy resource. It matches the pattern
12197-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
12197+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
1219812198
*/
1219912199
public Patch setName(java.lang.String name) {
1220012200
if (!getSuppressPatternChecks()) {

clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/AuthzPolicyAuthzRuleFromRequestSource.java

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

3232
/**
33-
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
34-
* ip_blocks.
33+
* Optional. A list of IP addresses or IP address ranges to match against the source IP address of
34+
* the request. Limited to 5 ip_blocks.
3535
* The value may be {@code null}.
3636
*/
3737
@com.google.api.client.util.Key
3838
private java.util.List<AuthzPolicyAuthzRuleIpBlock> ipBlocks;
3939

40+
/**
41+
* Optional. A list of identities derived from the client's certificate. This field will not match
42+
* on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the
43+
* client certificate has been successfully validated by mTLS. Each identity is a string whose
44+
* value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's
45+
* certificate. A match happens when any principal matches with the rule. Limited to 5 principals.
46+
* The value may be {@code null}.
47+
*/
48+
@com.google.api.client.util.Key
49+
private java.util.List<AuthzPolicyAuthzRulePrincipal> principals;
50+
4051
/**
4152
* Optional. A list of resources to match against the resource of the source VM of a request.
4253
* Limited to 5 resources.
@@ -46,24 +57,49 @@ public final class AuthzPolicyAuthzRuleFromRequestSource extends com.google.api.
4657
private java.util.List<AuthzPolicyAuthzRuleRequestResource> resources;
4758

4859
/**
49-
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
50-
* ip_blocks.
60+
* Optional. A list of IP addresses or IP address ranges to match against the source IP address of
61+
* the request. Limited to 5 ip_blocks.
5162
* @return value or {@code null} for none
5263
*/
5364
public java.util.List<AuthzPolicyAuthzRuleIpBlock> getIpBlocks() {
5465
return ipBlocks;
5566
}
5667

5768
/**
58-
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
59-
* ip_blocks.
69+
* Optional. A list of IP addresses or IP address ranges to match against the source IP address of
70+
* the request. Limited to 5 ip_blocks.
6071
* @param ipBlocks ipBlocks or {@code null} for none
6172
*/
6273
public AuthzPolicyAuthzRuleFromRequestSource setIpBlocks(java.util.List<AuthzPolicyAuthzRuleIpBlock> ipBlocks) {
6374
this.ipBlocks = ipBlocks;
6475
return this;
6576
}
6677

78+
/**
79+
* Optional. A list of identities derived from the client's certificate. This field will not match
80+
* on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the
81+
* client certificate has been successfully validated by mTLS. Each identity is a string whose
82+
* value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's
83+
* certificate. A match happens when any principal matches with the rule. Limited to 5 principals.
84+
* @return value or {@code null} for none
85+
*/
86+
public java.util.List<AuthzPolicyAuthzRulePrincipal> getPrincipals() {
87+
return principals;
88+
}
89+
90+
/**
91+
* Optional. A list of identities derived from the client's certificate. This field will not match
92+
* on a request unless frontend mutual TLS is enabled for the forwarding rule or Gateway and the
93+
* client certificate has been successfully validated by mTLS. Each identity is a string whose
94+
* value is matched against a list of URI SANs, DNS Name SANs, or the common name in the client's
95+
* certificate. A match happens when any principal matches with the rule. Limited to 5 principals.
96+
* @param principals principals or {@code null} for none
97+
*/
98+
public AuthzPolicyAuthzRuleFromRequestSource setPrincipals(java.util.List<AuthzPolicyAuthzRulePrincipal> principals) {
99+
this.principals = principals;
100+
return this;
101+
}
102+
67103
/**
68104
* Optional. A list of resources to match against the resource of the source VM of a request.
69105
* Limited to 5 resources.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.v1beta1.model;
18+
19+
/**
20+
* Describes the properties of a principal to be matched against.
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 AuthzPolicyAuthzRulePrincipal extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. A non-empty string whose value is matched against the principal value based on the
34+
* principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN,
35+
* CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private AuthzPolicyAuthzRuleStringMatch principal;
40+
41+
/**
42+
* Optional. An enum to decide what principal value the principal rule will match against. If not
43+
* specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String principalSelector;
48+
49+
/**
50+
* Required. A non-empty string whose value is matched against the principal value based on the
51+
* principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN,
52+
* CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors.
53+
* @return value or {@code null} for none
54+
*/
55+
public AuthzPolicyAuthzRuleStringMatch getPrincipal() {
56+
return principal;
57+
}
58+
59+
/**
60+
* Required. A non-empty string whose value is matched against the principal value based on the
61+
* principal_selector. Only exact match can be applied for CLIENT_CERT_URI_SAN,
62+
* CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME selectors.
63+
* @param principal principal or {@code null} for none
64+
*/
65+
public AuthzPolicyAuthzRulePrincipal setPrincipal(AuthzPolicyAuthzRuleStringMatch principal) {
66+
this.principal = principal;
67+
return this;
68+
}
69+
70+
/**
71+
* Optional. An enum to decide what principal value the principal rule will match against. If not
72+
* specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getPrincipalSelector() {
76+
return principalSelector;
77+
}
78+
79+
/**
80+
* Optional. An enum to decide what principal value the principal rule will match against. If not
81+
* specified, the PrincipalSelector is CLIENT_CERT_URI_SAN.
82+
* @param principalSelector principalSelector or {@code null} for none
83+
*/
84+
public AuthzPolicyAuthzRulePrincipal setPrincipalSelector(java.lang.String principalSelector) {
85+
this.principalSelector = principalSelector;
86+
return this;
87+
}
88+
89+
@Override
90+
public AuthzPolicyAuthzRulePrincipal set(String fieldName, Object value) {
91+
return (AuthzPolicyAuthzRulePrincipal) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public AuthzPolicyAuthzRulePrincipal clone() {
96+
return (AuthzPolicyAuthzRulePrincipal) super.clone();
97+
}
98+
99+
}

clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/BackendAuthenticationConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* should trust backend server certificates that are issued by public certificate authorities, in
2424
* addition to certificates trusted by the TrustConfig. * `clientCertificate` is a client
2525
* certificate that the load balancer uses to express its identity to the backend, if the connection
26-
* to the backend uses mTLS. You can attach the BackendAuthenticationConfig to the load balancers
26+
* to the backend uses mTLS. You can attach the BackendAuthenticationConfig to the load balancer's
2727
* BackendService directly determining how that BackendService negotiates TLS.
2828
*
2929
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is

clients/google-api-services-networksecurity/v1beta1/2.0.0/com/google/api/services/networksecurity/v1beta1/model/ClientTlsPolicy.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public final class ClientTlsPolicy extends com.google.api.client.json.GenericJso
6262

6363
/**
6464
* Required. Name of the ClientTlsPolicy resource. It matches the pattern
65-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
65+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
6666
* The value may be {@code null}.
6767
*/
6868
@com.google.api.client.util.Key
@@ -163,7 +163,7 @@ public ClientTlsPolicy setLabels(java.util.Map<String, java.lang.String> labels)
163163

164164
/**
165165
* Required. Name of the ClientTlsPolicy resource. It matches the pattern
166-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
166+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
167167
* @return value or {@code null} for none
168168
*/
169169
public java.lang.String getName() {
@@ -172,7 +172,7 @@ public java.lang.String getName() {
172172

173173
/**
174174
* Required. Name of the ClientTlsPolicy resource. It matches the pattern
175-
* `projects/locations/{location}/clientTlsPolicies/{client_tls_policy}`
175+
* `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}`
176176
* @param name name or {@code null} for none
177177
*/
178178
public ClientTlsPolicy setName(java.lang.String name) {

clients/google-api-services-networksecurity/v1beta1/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-networksecurity</artifactId>
11-
<version>v1beta1-rev20250608-2.0.0</version>
12-
<name>Network Security API v1beta1-rev20250608-2.0.0</name>
11+
<version>v1beta1-rev20250714-2.0.0</version>
12+
<name>Network Security API v1beta1-rev20250714-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)