Skip to content

Commit 8ef5ed1

Browse files
1 parent df7ebe0 commit 8ef5ed1

22 files changed

+320
-80
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
* CustomMirroringProfile defines an action for mirroring traffic to a collector's EndpointGroup
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 CustomMirroringProfile extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The MirroringEndpointGroup to which traffic associated with the SP should be
34+
* mirrored.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String mirroringEndpointGroup;
39+
40+
/**
41+
* Required. The MirroringEndpointGroup to which traffic associated with the SP should be
42+
* mirrored.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getMirroringEndpointGroup() {
46+
return mirroringEndpointGroup;
47+
}
48+
49+
/**
50+
* Required. The MirroringEndpointGroup to which traffic associated with the SP should be
51+
* mirrored.
52+
* @param mirroringEndpointGroup mirroringEndpointGroup or {@code null} for none
53+
*/
54+
public CustomMirroringProfile setMirroringEndpointGroup(java.lang.String mirroringEndpointGroup) {
55+
this.mirroringEndpointGroup = mirroringEndpointGroup;
56+
return this;
57+
}
58+
59+
@Override
60+
public CustomMirroringProfile set(String fieldName, Object value) {
61+
return (CustomMirroringProfile) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public CustomMirroringProfile clone() {
66+
return (CustomMirroringProfile) super.clone();
67+
}
68+
69+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public final class SecurityProfile extends com.google.api.client.json.GenericJso
3636
@com.google.api.client.util.Key
3737
private String createTime;
3838

39+
/**
40+
* The custom Packet Mirroring v2 configuration for the SecurityProfile.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private CustomMirroringProfile customMirroringProfile;
45+
3946
/**
4047
* Optional. An optional description of the profile. Max length 512 characters.
4148
* The value may be {@code null}.
@@ -105,6 +112,23 @@ public SecurityProfile setCreateTime(String createTime) {
105112
return this;
106113
}
107114

115+
/**
116+
* The custom Packet Mirroring v2 configuration for the SecurityProfile.
117+
* @return value or {@code null} for none
118+
*/
119+
public CustomMirroringProfile getCustomMirroringProfile() {
120+
return customMirroringProfile;
121+
}
122+
123+
/**
124+
* The custom Packet Mirroring v2 configuration for the SecurityProfile.
125+
* @param customMirroringProfile customMirroringProfile or {@code null} for none
126+
*/
127+
public SecurityProfile setCustomMirroringProfile(CustomMirroringProfile customMirroringProfile) {
128+
this.customMirroringProfile = customMirroringProfile;
129+
return this;
130+
}
131+
108132
/**
109133
* Optional. An optional description of the profile. Max length 512 characters.
110134
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class SecurityProfileGroup extends com.google.api.client.json.Gener
3737
@com.google.api.client.util.Key
3838
private String createTime;
3939

40+
/**
41+
* Optional. Reference to a SecurityProfile with the CustomMirroring configuration.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String customMirroringProfile;
46+
4047
/**
4148
* Optional. An optional description of the profile group. Max length 2048 characters.
4249
* The value may be {@code null}.
@@ -99,6 +106,23 @@ public SecurityProfileGroup setCreateTime(String createTime) {
99106
return this;
100107
}
101108

109+
/**
110+
* Optional. Reference to a SecurityProfile with the CustomMirroring configuration.
111+
* @return value or {@code null} for none
112+
*/
113+
public java.lang.String getCustomMirroringProfile() {
114+
return customMirroringProfile;
115+
}
116+
117+
/**
118+
* Optional. Reference to a SecurityProfile with the CustomMirroring configuration.
119+
* @param customMirroringProfile customMirroringProfile or {@code null} for none
120+
*/
121+
public SecurityProfileGroup setCustomMirroringProfile(java.lang.String customMirroringProfile) {
122+
this.customMirroringProfile = customMirroringProfile;
123+
return this;
124+
}
125+
102126
/**
103127
* Optional. An optional description of the profile group. Max length 2048 characters.
104128
* @return value or {@code null} for none

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

1515
<inceptionYear>2011</inceptionYear>

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

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-rev20240828-2.0.0</version>
25+
<version>v1beta1-rev20240919-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-rev20240828-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networksecurity:v1beta1-rev20240919-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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9958,16 +9958,16 @@ public Patch setRequestId(java.lang.String requestId) {
99589958

99599959
/**
99609960
* Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by
9961-
* the update. The fields specified in the update_mask are relative to the resource, not
9961+
* the update. The fields specified in the `update_mask` are relative to the resource, not
99629962
* the full request. A field is overwritten if it is in the mask. If the user does not
99639963
* specify a mask, then all fields are overwritten.
99649964
*/
99659965
@com.google.api.client.util.Key
99669966
private String updateMask;
99679967

99689968
/** Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by the update.
9969-
The fields specified in the update_mask are relative to the resource, not the full request. A field
9970-
is overwritten if it is in the mask. If the user does not specify a mask, then all fields are
9969+
The fields specified in the `update_mask` are relative to the resource, not the full request. A
9970+
field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are
99719971
overwritten.
99729972
*/
99739973
public String getUpdateMask() {
@@ -9976,7 +9976,7 @@ public String getUpdateMask() {
99769976

99779977
/**
99789978
* Required. Used to specify the fields to be overwritten in the `AuthzPolicy` resource by
9979-
* the update. The fields specified in the update_mask are relative to the resource, not
9979+
* the update. The fields specified in the `update_mask` are relative to the resource, not
99809980
* the full request. A field is overwritten if it is in the mask. If the user does not
99819981
* specify a mask, then all fields are overwritten.
99829982
*/

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

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@
3131
public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Required. Can be one of ALLOW, DENY, CUSTOM. When the action is CUSTOM, customProvider must be
35-
* specified. When the action is ALLOW, only requests matching the policy will be allowed. When
36-
* the action is DENY, only requests matching the policy will be denied. When a request arrives,
37-
* the policies are evaluated in the following order: 1. If there is a CUSTOM policy that matches
38-
* the request, the CUSTOM policy is evaluated using the custom authorization providers and the
39-
* request is denied if the provider rejects the request. 2. If there are any DENY policies that
40-
* match the request, the request is denied. 3. If there are no ALLOW policies for the resource or
41-
* if any of the ALLOW policies match the request, the request is allowed. 4. Else the request is
42-
* denied by default if none of the configured AuthzPolicies with ALLOW action match the request.
34+
* Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`,
35+
* `customProvider` must be specified. When the action is `ALLOW`, only requests matching the
36+
* policy will be allowed. When the action is `DENY`, only requests matching the policy will be
37+
* denied. When a request arrives, the policies are evaluated in the following order: 1. If there
38+
* is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the
39+
* custom authorization providers and the request is denied if the provider rejects the request.
40+
* 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there
41+
* are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request,
42+
* the request is allowed. 4. Else the request is denied by default if none of the configured
43+
* AuthzPolicies with `ALLOW` action match the request.
4344
* The value may be {@code null}.
4445
*/
4546
@com.google.api.client.util.Key
@@ -53,8 +54,8 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
5354
private String createTime;
5455

5556
/**
56-
* Optional. Required if the action is CUSTOM. Allows delegating authorization decisions to Cloud
57-
* IAP or to Service Extensions. One of cloudIap or authzExtension must be specified.
57+
* Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to
58+
* Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified.
5859
* The value may be {@code null}.
5960
*/
6061
@com.google.api.client.util.Key
@@ -70,7 +71,8 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
7071
/**
7172
* Optional. A list of authorization HTTP rules to match against the incoming request. A policy
7273
* match occurs when at least one HTTP rule matches the request or when no HTTP rules are
73-
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action.
74+
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited
75+
* to 5 rules.
7476
* The value may be {@code null}.
7577
*/
7678
@com.google.api.client.util.Key
@@ -107,31 +109,33 @@ public final class AuthzPolicy extends com.google.api.client.json.GenericJson {
107109
private String updateTime;
108110

109111
/**
110-
* Required. Can be one of ALLOW, DENY, CUSTOM. When the action is CUSTOM, customProvider must be
111-
* specified. When the action is ALLOW, only requests matching the policy will be allowed. When
112-
* the action is DENY, only requests matching the policy will be denied. When a request arrives,
113-
* the policies are evaluated in the following order: 1. If there is a CUSTOM policy that matches
114-
* the request, the CUSTOM policy is evaluated using the custom authorization providers and the
115-
* request is denied if the provider rejects the request. 2. If there are any DENY policies that
116-
* match the request, the request is denied. 3. If there are no ALLOW policies for the resource or
117-
* if any of the ALLOW policies match the request, the request is allowed. 4. Else the request is
118-
* denied by default if none of the configured AuthzPolicies with ALLOW action match the request.
112+
* Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`,
113+
* `customProvider` must be specified. When the action is `ALLOW`, only requests matching the
114+
* policy will be allowed. When the action is `DENY`, only requests matching the policy will be
115+
* denied. When a request arrives, the policies are evaluated in the following order: 1. If there
116+
* is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the
117+
* custom authorization providers and the request is denied if the provider rejects the request.
118+
* 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there
119+
* are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request,
120+
* the request is allowed. 4. Else the request is denied by default if none of the configured
121+
* AuthzPolicies with `ALLOW` action match the request.
119122
* @return value or {@code null} for none
120123
*/
121124
public java.lang.String getAction() {
122125
return action;
123126
}
124127

125128
/**
126-
* Required. Can be one of ALLOW, DENY, CUSTOM. When the action is CUSTOM, customProvider must be
127-
* specified. When the action is ALLOW, only requests matching the policy will be allowed. When
128-
* the action is DENY, only requests matching the policy will be denied. When a request arrives,
129-
* the policies are evaluated in the following order: 1. If there is a CUSTOM policy that matches
130-
* the request, the CUSTOM policy is evaluated using the custom authorization providers and the
131-
* request is denied if the provider rejects the request. 2. If there are any DENY policies that
132-
* match the request, the request is denied. 3. If there are no ALLOW policies for the resource or
133-
* if any of the ALLOW policies match the request, the request is allowed. 4. Else the request is
134-
* denied by default if none of the configured AuthzPolicies with ALLOW action match the request.
129+
* Required. Can be one of `ALLOW`, `DENY`, `CUSTOM`. When the action is `CUSTOM`,
130+
* `customProvider` must be specified. When the action is `ALLOW`, only requests matching the
131+
* policy will be allowed. When the action is `DENY`, only requests matching the policy will be
132+
* denied. When a request arrives, the policies are evaluated in the following order: 1. If there
133+
* is a `CUSTOM` policy that matches the request, the `CUSTOM` policy is evaluated using the
134+
* custom authorization providers and the request is denied if the provider rejects the request.
135+
* 2. If there are any `DENY` policies that match the request, the request is denied. 3. If there
136+
* are no `ALLOW` policies for the resource or if any of the `ALLOW` policies match the request,
137+
* the request is allowed. 4. Else the request is denied by default if none of the configured
138+
* AuthzPolicies with `ALLOW` action match the request.
135139
* @param action action or {@code null} for none
136140
*/
137141
public AuthzPolicy setAction(java.lang.String action) {
@@ -157,17 +161,17 @@ public AuthzPolicy setCreateTime(String createTime) {
157161
}
158162

159163
/**
160-
* Optional. Required if the action is CUSTOM. Allows delegating authorization decisions to Cloud
161-
* IAP or to Service Extensions. One of cloudIap or authzExtension must be specified.
164+
* Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to
165+
* Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified.
162166
* @return value or {@code null} for none
163167
*/
164168
public AuthzPolicyCustomProvider getCustomProvider() {
165169
return customProvider;
166170
}
167171

168172
/**
169-
* Optional. Required if the action is CUSTOM. Allows delegating authorization decisions to Cloud
170-
* IAP or to Service Extensions. One of cloudIap or authzExtension must be specified.
173+
* Optional. Required if the action is `CUSTOM`. Allows delegating authorization decisions to
174+
* Cloud IAP or to Service Extensions. One of `cloudIap` or `authzExtension` must be specified.
171175
* @param customProvider customProvider or {@code null} for none
172176
*/
173177
public AuthzPolicy setCustomProvider(AuthzPolicyCustomProvider customProvider) {
@@ -195,7 +199,8 @@ public AuthzPolicy setDescription(java.lang.String description) {
195199
/**
196200
* Optional. A list of authorization HTTP rules to match against the incoming request. A policy
197201
* match occurs when at least one HTTP rule matches the request or when no HTTP rules are
198-
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action.
202+
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited
203+
* to 5 rules.
199204
* @return value or {@code null} for none
200205
*/
201206
public java.util.List<AuthzPolicyAuthzRule> getHttpRules() {
@@ -205,7 +210,8 @@ public java.util.List<AuthzPolicyAuthzRule> getHttpRules() {
205210
/**
206211
* Optional. A list of authorization HTTP rules to match against the incoming request. A policy
207212
* match occurs when at least one HTTP rule matches the request or when no HTTP rules are
208-
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action.
213+
* specified in the policy. At least one HTTP Rule is required for Allow or Deny Action. Limited
214+
* to 5 rules.
209215
* @param httpRules httpRules or {@code null} for none
210216
*/
211217
public AuthzPolicy setHttpRules(java.util.List<AuthzPolicyAuthzRule> httpRules) {

0 commit comments

Comments
 (0)