Skip to content

Commit 6ce221d

Browse files
1 parent aa73eb0 commit 6ce221d

File tree

6 files changed

+135
-12
lines changed

6 files changed

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

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
@SuppressWarnings("javadoc")
3030
public final class AuthzPolicyAuthzRuleFromRequestSource extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
34+
* ip_blocks.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<AuthzPolicyAuthzRuleIpBlock> ipBlocks;
39+
3240
/**
3341
* Optional. A list of resources to match against the resource of the source VM of a request.
3442
* Limited to 5 resources.
@@ -37,6 +45,25 @@ public final class AuthzPolicyAuthzRuleFromRequestSource extends com.google.api.
3745
@com.google.api.client.util.Key
3846
private java.util.List<AuthzPolicyAuthzRuleRequestResource> resources;
3947

48+
/**
49+
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
50+
* ip_blocks.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.List<AuthzPolicyAuthzRuleIpBlock> getIpBlocks() {
54+
return ipBlocks;
55+
}
56+
57+
/**
58+
* Optional. A list of IPs or CIDRs to match against the source IP of a request. Limited to 5
59+
* ip_blocks.
60+
* @param ipBlocks ipBlocks or {@code null} for none
61+
*/
62+
public AuthzPolicyAuthzRuleFromRequestSource setIpBlocks(java.util.List<AuthzPolicyAuthzRuleIpBlock> ipBlocks) {
63+
this.ipBlocks = ipBlocks;
64+
return this;
65+
}
66+
4067
/**
4168
* Optional. A list of resources to match against the resource of the source VM of a request.
4269
* Limited to 5 resources.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Represents a range of IP Addresses.
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 AuthzPolicyAuthzRuleIpBlock extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The length of the address range.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer length;
38+
39+
/**
40+
* Required. The address prefix.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String prefix;
45+
46+
/**
47+
* Required. The length of the address range.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Integer getLength() {
51+
return length;
52+
}
53+
54+
/**
55+
* Required. The length of the address range.
56+
* @param length length or {@code null} for none
57+
*/
58+
public AuthzPolicyAuthzRuleIpBlock setLength(java.lang.Integer length) {
59+
this.length = length;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The address prefix.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getPrefix() {
68+
return prefix;
69+
}
70+
71+
/**
72+
* Required. The address prefix.
73+
* @param prefix prefix or {@code null} for none
74+
*/
75+
public AuthzPolicyAuthzRuleIpBlock setPrefix(java.lang.String prefix) {
76+
this.prefix = prefix;
77+
return this;
78+
}
79+
80+
@Override
81+
public AuthzPolicyAuthzRuleIpBlock set(String fieldName, Object value) {
82+
return (AuthzPolicyAuthzRuleIpBlock) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public AuthzPolicyAuthzRuleIpBlock clone() {
87+
return (AuthzPolicyAuthzRuleIpBlock) super.clone();
88+
}
89+
90+
}

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ public final class SACRealmSACRealmSymantecOptions extends com.google.api.client
3737
private java.util.List<java.lang.String> availableSymantecSites;
3838

3939
/**
40-
* Optional. A secret ID or secret name can be specified, but it will be parsed and stored as
41-
* secret URI in the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
40+
* Optional. API Key used to call Symantec APIs on the user's behalf. Required if using
41+
* SYMANTEC_CLOUD_SWG. P4SA account needs permissions granted to read this secret. A secret ID,
42+
* secret name, or secret URI can be specified, but it will be parsed and stored as secret URI in
43+
* the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
4244
* The value may be {@code null}.
4345
*/
4446
@com.google.api.client.util.Key
@@ -69,17 +71,21 @@ public SACRealmSACRealmSymantecOptions setAvailableSymantecSites(java.util.List<
6971
}
7072

7173
/**
72-
* Optional. A secret ID or secret name can be specified, but it will be parsed and stored as
73-
* secret URI in the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
74+
* Optional. API Key used to call Symantec APIs on the user's behalf. Required if using
75+
* SYMANTEC_CLOUD_SWG. P4SA account needs permissions granted to read this secret. A secret ID,
76+
* secret name, or secret URI can be specified, but it will be parsed and stored as secret URI in
77+
* the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
7478
* @return value or {@code null} for none
7579
*/
7680
public java.lang.String getSecretPath() {
7781
return secretPath;
7882
}
7983

8084
/**
81-
* Optional. A secret ID or secret name can be specified, but it will be parsed and stored as
82-
* secret URI in the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
85+
* Optional. API Key used to call Symantec APIs on the user's behalf. Required if using
86+
* SYMANTEC_CLOUD_SWG. P4SA account needs permissions granted to read this secret. A secret ID,
87+
* secret name, or secret URI can be specified, but it will be parsed and stored as secret URI in
88+
* the format of "projects/{PROJECT_NUMBER}/secrets/my-secret".
8389
* @param secretPath secretPath or {@code null} for none
8490
*/
8591
public SACRealmSACRealmSymantecOptions setSecretPath(java.lang.String secretPath) {

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-rev20250514-2.0.0</version>
12-
<name>Network Security API v1beta1-rev20250514-2.0.0</name>
11+
<version>v1beta1-rev20250527-2.0.0</version>
12+
<name>Network Security API v1beta1-rev20250527-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-rev20250514-2.0.0</version>
25+
<version>v1beta1-rev20250527-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-rev20250514-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networksecurity:v1beta1-rev20250527-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)