Debian Codegraph @

docs/dyn/networksecurity_v1beta1.projects.locations.dnsThreatDetectors.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="networksecurity_v1beta1.html">Network Security API</a> . <a href="networksecurity_v1beta1.projects.html">projects</a> . <a href="networksecurity_v1beta1.projects.locations.html">locations</a> . <a href="networksecurity_v1beta1.projects.locations.dnsThreatDetectors.html">dnsThreatDetectors</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, dnsThreatDetectorId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new DnsThreatDetector in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single DnsThreatDetector.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets the details of a single DnsThreatDetector.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists DnsThreatDetectors in a given project and location.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a single DnsThreatDetector.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, dnsThreatDetectorId=None, x__xgafv=None)</code>
106 <pre>Creates a new DnsThreatDetector in a given project and location.
107
108 Args:
109 parent: string, Required. The value for the parent of the DnsThreatDetector resource. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
115 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
116 &quot;A String&quot;,
117 ],
118 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
119 &quot;a_key&quot;: &quot;A String&quot;,
120 },
121 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
122 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
123 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
124 }
125
126 dnsThreatDetectorId: string, Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.
127 x__xgafv: string, V1 error format.
128 Allowed values
129 1 - v1 error format
130 2 - v2 error format
131
132 Returns:
133 An object of the form:
134
135 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
136 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
137 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
138 &quot;A String&quot;,
139 ],
140 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
141 &quot;a_key&quot;: &quot;A String&quot;,
142 },
143 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
144 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
145 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
151 <pre>Deletes a single DnsThreatDetector.
152
153 Args:
154 name: string, Required. Name of the DnsThreatDetector resource. (required)
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="get">get(name, x__xgafv=None)</code>
169 <pre>Gets the details of a single DnsThreatDetector.
170
171 Args:
172 name: string, Required. Name of the DnsThreatDetector resource. (required)
173 x__xgafv: string, V1 error format.
174 Allowed values
175 1 - v1 error format
176 2 - v2 error format
177
178 Returns:
179 An object of the form:
180
181 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
182 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
183 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
184 &quot;A String&quot;,
185 ],
186 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
187 &quot;a_key&quot;: &quot;A String&quot;,
188 },
189 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
190 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
191 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
192 }</pre>
193 </div>
194
195 <div class="method">
196 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
197 <pre>Lists DnsThreatDetectors in a given project and location.
198
199 Args:
200 parent: string, Required. The parent value for `ListDnsThreatDetectorsRequest`. (required)
201 pageSize: integer, Optional. The requested page size. The server may return fewer items than requested. If unspecified, the server picks an appropriate default.
202 pageToken: string, Optional. A page token received from a previous `ListDnsThreatDetectorsRequest` call. Provide this to retrieve the subsequent page.
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # The response message to requesting a list of DnsThreatDetectors.
212 &quot;dnsThreatDetectors&quot;: [ # The list of DnsThreatDetector resources.
213 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
214 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
215 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
216 &quot;A String&quot;,
217 ],
218 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
219 &quot;a_key&quot;: &quot;A String&quot;,
220 },
221 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
222 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
223 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
224 },
225 ],
226 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token`, to retrieve the next page.
227 &quot;unreachable&quot;: [ # Unordered list. Unreachable `DnsThreatDetector` resources.
228 &quot;A String&quot;,
229 ],
230 }</pre>
231 </div>
232
233 <div class="method">
234 <code class="details" id="list_next">list_next()</code>
235 <pre>Retrieves the next page of results.
236
237 Args:
238 previous_request: The request for the previous page. (required)
239 previous_response: The response from the request for the previous page. (required)
240
241 Returns:
242 A request object that you can call &#x27;execute()&#x27; on to request the next
243 page. Returns None if there are no more items in the collection.
244 </pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
249 <pre>Updates a single DnsThreatDetector.
250
251 Args:
252 name: string, Immutable. Identifier. Name of the DnsThreatDetector resource. (required)
253 body: object, The request body.
254 The object takes the form of:
255
256 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
257 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
258 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
259 &quot;A String&quot;,
260 ],
261 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
262 &quot;a_key&quot;: &quot;A String&quot;,
263 },
264 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
265 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
266 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
267 }
268
269 updateMask: string, Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the mask is not provided then all fields present in the request will be overwritten.
270 x__xgafv: string, V1 error format.
271 Allowed values
272 1 - v1 error format
273 2 - v2 error format
274
275 Returns:
276 An object of the form:
277
278 { # A DNS threat detector sends DNS query logs to a _provider_ that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying `excluded_networks`.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time stamp.
280 &quot;excludedNetworks&quot;: [ # Optional. A list of network resource names which aren&#x27;t monitored by this DnsThreatDetector. Example: `projects/PROJECT_ID/global/networks/NETWORK_NAME`.
281 &quot;A String&quot;,
282 ],
283 &quot;labels&quot;: { # Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
284 &quot;a_key&quot;: &quot;A String&quot;,
285 },
286 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. Name of the DnsThreatDetector resource.
287 &quot;provider&quot;: &quot;A String&quot;, # Required. The provider used for DNS threat analysis.
288 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update time stamp.
289 }</pre>
290 </div>
291
292 </body></html>