Skip to content

Commit 91c7dce

Browse files
1 parent 3c4b586 commit 91c7dce

File tree

8 files changed

+2159
-116
lines changed

8 files changed

+2159
-116
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-rev20251001-2.0.0</version>
25+
<version>v1-rev20251203-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-rev20251001-2.0.0'
38+
implementation 'com.google.apis:google-api-services-networksecurity:v1-rev20251203-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: 1830 additions & 98 deletions
Large diffs are not rendered by default.

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

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

3333
/**
34-
* Required. The target MirroringEndpointGroup. When a mirroring rule with this security profile
35-
* attached matches a packet, a replica will be mirrored to the location-local target in this
36-
* group.
34+
* Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this
35+
* security profile attached matches a packet, a replica will be mirrored to the location-local
36+
* target in this group.
3737
* The value may be {@code null}.
3838
*/
3939
@com.google.api.client.util.Key
4040
private java.lang.String mirroringEndpointGroup;
4141

4242
/**
43-
* Required. The target MirroringEndpointGroup. When a mirroring rule with this security profile
44-
* attached matches a packet, a replica will be mirrored to the location-local target in this
45-
* group.
43+
* Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this
44+
* security profile attached matches a packet, a replica will be mirrored to the location-local
45+
* target in this group.
4646
* @return value or {@code null} for none
4747
*/
4848
public java.lang.String getMirroringEndpointGroup() {
4949
return mirroringEndpointGroup;
5050
}
5151

5252
/**
53-
* Required. The target MirroringEndpointGroup. When a mirroring rule with this security profile
54-
* attached matches a packet, a replica will be mirrored to the location-local target in this
55-
* group.
53+
* Required. Immutable. The target MirroringEndpointGroup. When a mirroring rule with this
54+
* security profile attached matches a packet, a replica will be mirrored to the location-local
55+
* target in this group.
5656
* @param mirroringEndpointGroup mirroringEndpointGroup or {@code null} for none
5757
*/
5858
public CustomMirroringProfile setMirroringEndpointGroup(java.lang.String mirroringEndpointGroup) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
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+
* A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to
21+
* identify threat events in the DNS queries. By default, all VPC networks in your projects are
22+
* included. You can exclude specific networks by supplying `excluded_networks`.
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Network Security API. For a detailed explanation see:
26+
* <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>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class DnsThreatDetector extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Output only. Create time stamp.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private String createTime;
40+
41+
/**
42+
* Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
43+
* Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<java.lang.String> excludedNetworks;
48+
49+
/**
50+
* Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.util.Map<String, java.lang.String> labels;
55+
56+
/**
57+
* Immutable. Identifier. Name of the DnsThreatDetector resource.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key
61+
private java.lang.String name;
62+
63+
/**
64+
* Required. The provider used for DNS threat analysis.
65+
* The value may be {@code null}.
66+
*/
67+
@com.google.api.client.util.Key
68+
private java.lang.String provider;
69+
70+
/**
71+
* Output only. Update time stamp.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private String updateTime;
76+
77+
/**
78+
* Output only. Create time stamp.
79+
* @return value or {@code null} for none
80+
*/
81+
public String getCreateTime() {
82+
return createTime;
83+
}
84+
85+
/**
86+
* Output only. Create time stamp.
87+
* @param createTime createTime or {@code null} for none
88+
*/
89+
public DnsThreatDetector setCreateTime(String createTime) {
90+
this.createTime = createTime;
91+
return this;
92+
}
93+
94+
/**
95+
* Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
96+
* Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
97+
* @return value or {@code null} for none
98+
*/
99+
public java.util.List<java.lang.String> getExcludedNetworks() {
100+
return excludedNetworks;
101+
}
102+
103+
/**
104+
* Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
105+
* Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
106+
* @param excludedNetworks excludedNetworks or {@code null} for none
107+
*/
108+
public DnsThreatDetector setExcludedNetworks(java.util.List<java.lang.String> excludedNetworks) {
109+
this.excludedNetworks = excludedNetworks;
110+
return this;
111+
}
112+
113+
/**
114+
* Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
115+
* @return value or {@code null} for none
116+
*/
117+
public java.util.Map<String, java.lang.String> getLabels() {
118+
return labels;
119+
}
120+
121+
/**
122+
* Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
123+
* @param labels labels or {@code null} for none
124+
*/
125+
public DnsThreatDetector setLabels(java.util.Map<String, java.lang.String> labels) {
126+
this.labels = labels;
127+
return this;
128+
}
129+
130+
/**
131+
* Immutable. Identifier. Name of the DnsThreatDetector resource.
132+
* @return value or {@code null} for none
133+
*/
134+
public java.lang.String getName() {
135+
return name;
136+
}
137+
138+
/**
139+
* Immutable. Identifier. Name of the DnsThreatDetector resource.
140+
* @param name name or {@code null} for none
141+
*/
142+
public DnsThreatDetector setName(java.lang.String name) {
143+
this.name = name;
144+
return this;
145+
}
146+
147+
/**
148+
* Required. The provider used for DNS threat analysis.
149+
* @return value or {@code null} for none
150+
*/
151+
public java.lang.String getProvider() {
152+
return provider;
153+
}
154+
155+
/**
156+
* Required. The provider used for DNS threat analysis.
157+
* @param provider provider or {@code null} for none
158+
*/
159+
public DnsThreatDetector setProvider(java.lang.String provider) {
160+
this.provider = provider;
161+
return this;
162+
}
163+
164+
/**
165+
* Output only. Update time stamp.
166+
* @return value or {@code null} for none
167+
*/
168+
public String getUpdateTime() {
169+
return updateTime;
170+
}
171+
172+
/**
173+
* Output only. Update time stamp.
174+
* @param updateTime updateTime or {@code null} for none
175+
*/
176+
public DnsThreatDetector setUpdateTime(String updateTime) {
177+
this.updateTime = updateTime;
178+
return this;
179+
}
180+
181+
@Override
182+
public DnsThreatDetector set(String fieldName, Object value) {
183+
return (DnsThreatDetector) super.set(fieldName, value);
184+
}
185+
186+
@Override
187+
public DnsThreatDetector clone() {
188+
return (DnsThreatDetector) super.clone();
189+
}
190+
191+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
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+
* The response message to requesting a list of DnsThreatDetectors.
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 ListDnsThreatDetectorsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The list of DnsThreatDetector resources.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<DnsThreatDetector> dnsThreatDetectors;
38+
39+
static {
40+
// hack to force ProGuard to consider DnsThreatDetector used, since otherwise it would be stripped out
41+
// see https://github.com/google/google-api-java-client/issues/543
42+
com.google.api.client.util.Data.nullOf(DnsThreatDetector.class);
43+
}
44+
45+
/**
46+
* A token, which can be sent as `page_token`, to retrieve the next page.
47+
* The value may be {@code null}.
48+
*/
49+
@com.google.api.client.util.Key
50+
private java.lang.String nextPageToken;
51+
52+
/**
53+
* Unordered list. Unreachable `DnsThreatDetector` resources.
54+
* The value may be {@code null}.
55+
*/
56+
@com.google.api.client.util.Key
57+
private java.util.List<java.lang.String> unreachable;
58+
59+
/**
60+
* The list of DnsThreatDetector resources.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.util.List<DnsThreatDetector> getDnsThreatDetectors() {
64+
return dnsThreatDetectors;
65+
}
66+
67+
/**
68+
* The list of DnsThreatDetector resources.
69+
* @param dnsThreatDetectors dnsThreatDetectors or {@code null} for none
70+
*/
71+
public ListDnsThreatDetectorsResponse setDnsThreatDetectors(java.util.List<DnsThreatDetector> dnsThreatDetectors) {
72+
this.dnsThreatDetectors = dnsThreatDetectors;
73+
return this;
74+
}
75+
76+
/**
77+
* A token, which can be sent as `page_token`, to retrieve the next page.
78+
* @return value or {@code null} for none
79+
*/
80+
public java.lang.String getNextPageToken() {
81+
return nextPageToken;
82+
}
83+
84+
/**
85+
* A token, which can be sent as `page_token`, to retrieve the next page.
86+
* @param nextPageToken nextPageToken or {@code null} for none
87+
*/
88+
public ListDnsThreatDetectorsResponse setNextPageToken(java.lang.String nextPageToken) {
89+
this.nextPageToken = nextPageToken;
90+
return this;
91+
}
92+
93+
/**
94+
* Unordered list. Unreachable `DnsThreatDetector` resources.
95+
* @return value or {@code null} for none
96+
*/
97+
public java.util.List<java.lang.String> getUnreachable() {
98+
return unreachable;
99+
}
100+
101+
/**
102+
* Unordered list. Unreachable `DnsThreatDetector` resources.
103+
* @param unreachable unreachable or {@code null} for none
104+
*/
105+
public ListDnsThreatDetectorsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
106+
this.unreachable = unreachable;
107+
return this;
108+
}
109+
110+
@Override
111+
public ListDnsThreatDetectorsResponse set(String fieldName, Object value) {
112+
return (ListDnsThreatDetectorsResponse) super.set(fieldName, value);
113+
}
114+
115+
@Override
116+
public ListDnsThreatDetectorsResponse clone() {
117+
return (ListDnsThreatDetectorsResponse) super.clone();
118+
}
119+
120+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
4545

4646
/**
4747
* Unordered list. Unreachable resources. Populated when the request sets
48-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
48+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
4949
* attempting to list all resources across all supported locations.
5050
* The value may be {@code null}.
5151
*/
@@ -88,7 +88,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
8888

8989
/**
9090
* Unordered list. Unreachable resources. Populated when the request sets
91-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
91+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
9292
* attempting to list all resources across all supported locations.
9393
* @return value or {@code null} for none
9494
*/
@@ -98,7 +98,7 @@ public java.util.List<java.lang.String> getUnreachable() {
9898

9999
/**
100100
* Unordered list. Unreachable resources. Populated when the request sets
101-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
101+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
102102
* attempting to list all resources across all supported locations.
103103
* @param unreachable unreachable or {@code null} for none
104104
*/

0 commit comments

Comments
 (0)