Debian Codegraph @

docs/dyn/ids_v1.projects.locations.endpoints.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="ids_v1.html">Cloud IDS API</a> . <a href="ids_v1.projects.html">projects</a> . <a href="ids_v1.projects.locations.html">locations</a> . <a href="ids_v1.projects.locations.endpoints.html">endpoints</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, endpointId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new Endpoint in a given project and location.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a single Endpoint.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets details of a single Endpoint.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists Endpoints 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, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the parameters of a single Endpoint.</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, endpointId=None, requestId=None, x__xgafv=None)</code>
106 <pre>Creates a new Endpoint in a given project and location.
107
108 Args:
109 parent: string, Required. The endpoint&#x27;s parent. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
115 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the endpoint
116 &quot;endpointForwardingRule&quot;: &quot;A String&quot;, # Output only. The fully qualified URL of the endpoint&#x27;s ILB Forwarding Rule.
117 &quot;endpointIp&quot;: &quot;A String&quot;, # Output only. The IP address of the IDS Endpoint&#x27;s ILB.
118 &quot;labels&quot;: { # The labels of the endpoint.
119 &quot;a_key&quot;: &quot;A String&quot;,
120 },
121 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the endpoint.
122 &quot;network&quot;: &quot;A String&quot;, # Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
123 &quot;satisfiesPzi&quot;: True or False, # Output only. [Output Only] Reserved for future use.
124 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
125 &quot;severity&quot;: &quot;A String&quot;, # Required. Lowest threat severity that this endpoint will alert on.
126 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
127 &quot;threatExceptions&quot;: [ # List of threat IDs to be excepted from generating alerts.
128 &quot;A String&quot;,
129 ],
130 &quot;trafficLogs&quot;: True or False, # Whether the endpoint should report traffic logs in addition to threat logs.
131 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
132 }
133
134 endpointId: string, Required. The endpoint identifier. This will be part of the endpoint&#x27;s resource name. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
135 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # This resource represents a long-running operation that is the result of a network API call.
145 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
146 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
147 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
148 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
149 {
150 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
151 },
152 ],
153 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
154 },
155 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
156 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
157 },
158 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
159 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
160 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
161 },
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
167 <pre>Deletes a single Endpoint.
168
169 Args:
170 name: string, Required. The name of the endpoint to delete. (required)
171 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
172 x__xgafv: string, V1 error format.
173 Allowed values
174 1 - v1 error format
175 2 - v2 error format
176
177 Returns:
178 An object of the form:
179
180 { # This resource represents a long-running operation that is the result of a network API call.
181 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
182 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
183 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
184 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
185 {
186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
187 },
188 ],
189 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
190 },
191 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
192 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
193 },
194 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
195 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
196 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
197 },
198 }</pre>
199 </div>
200
201 <div class="method">
202 <code class="details" id="get">get(name, x__xgafv=None)</code>
203 <pre>Gets details of a single Endpoint.
204
205 Args:
206 name: string, Required. The name of the endpoint to retrieve. Format: projects/{project}/locations/{location}/endpoints/{endpoint} (required)
207 x__xgafv: string, V1 error format.
208 Allowed values
209 1 - v1 error format
210 2 - v2 error format
211
212 Returns:
213 An object of the form:
214
215 { # Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
216 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
217 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the endpoint
218 &quot;endpointForwardingRule&quot;: &quot;A String&quot;, # Output only. The fully qualified URL of the endpoint&#x27;s ILB Forwarding Rule.
219 &quot;endpointIp&quot;: &quot;A String&quot;, # Output only. The IP address of the IDS Endpoint&#x27;s ILB.
220 &quot;labels&quot;: { # The labels of the endpoint.
221 &quot;a_key&quot;: &quot;A String&quot;,
222 },
223 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the endpoint.
224 &quot;network&quot;: &quot;A String&quot;, # Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
225 &quot;satisfiesPzi&quot;: True or False, # Output only. [Output Only] Reserved for future use.
226 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
227 &quot;severity&quot;: &quot;A String&quot;, # Required. Lowest threat severity that this endpoint will alert on.
228 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
229 &quot;threatExceptions&quot;: [ # List of threat IDs to be excepted from generating alerts.
230 &quot;A String&quot;,
231 ],
232 &quot;trafficLogs&quot;: True or False, # Whether the endpoint should report traffic logs in addition to threat logs.
233 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
234 }</pre>
235 </div>
236
237 <div class="method">
238 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
239 <pre>Lists Endpoints in a given project and location.
240
241 Args:
242 parent: string, Required. The parent, which owns this collection of endpoints. (required)
243 filter: string, Optional. The filter expression, following the syntax outlined in https://google.aip.dev/160.
244 orderBy: string, Optional. One or more fields to compare and use to sort the output. See https://google.aip.dev/132#ordering.
245 pageSize: integer, Optional. The maximum number of endpoints to return. The service may return fewer than this value.
246 pageToken: string, Optional. A page token, received from a previous `ListEndpoints` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListEndpoints` must match the call that provided the page token.
247 x__xgafv: string, V1 error format.
248 Allowed values
249 1 - v1 error format
250 2 - v2 error format
251
252 Returns:
253 An object of the form:
254
255 {
256 &quot;endpoints&quot;: [ # The list of endpoints response.
257 { # Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
258 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
259 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the endpoint
260 &quot;endpointForwardingRule&quot;: &quot;A String&quot;, # Output only. The fully qualified URL of the endpoint&#x27;s ILB Forwarding Rule.
261 &quot;endpointIp&quot;: &quot;A String&quot;, # Output only. The IP address of the IDS Endpoint&#x27;s ILB.
262 &quot;labels&quot;: { # The labels of the endpoint.
263 &quot;a_key&quot;: &quot;A String&quot;,
264 },
265 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the endpoint.
266 &quot;network&quot;: &quot;A String&quot;, # Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
267 &quot;satisfiesPzi&quot;: True or False, # Output only. [Output Only] Reserved for future use.
268 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
269 &quot;severity&quot;: &quot;A String&quot;, # Required. Lowest threat severity that this endpoint will alert on.
270 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
271 &quot;threatExceptions&quot;: [ # List of threat IDs to be excepted from generating alerts.
272 &quot;A String&quot;,
273 ],
274 &quot;trafficLogs&quot;: True or False, # Whether the endpoint should report traffic logs in addition to threat logs.
275 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
276 },
277 ],
278 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
279 &quot;unreachable&quot;: [ # Locations that could not be reached.
280 &quot;A String&quot;,
281 ],
282 }</pre>
283 </div>
284
285 <div class="method">
286 <code class="details" id="list_next">list_next()</code>
287 <pre>Retrieves the next page of results.
288
289 Args:
290 previous_request: The request for the previous page. (required)
291 previous_response: The response from the request for the previous page. (required)
292
293 Returns:
294 A request object that you can call &#x27;execute()&#x27; on to request the next
295 page. Returns None if there are no more items in the collection.
296 </pre>
297 </div>
298
299 <div class="method">
300 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
301 <pre>Updates the parameters of a single Endpoint.
302
303 Args:
304 name: string, Output only. The name of the endpoint. (required)
305 body: object, The request body.
306 The object takes the form of:
307
308 { # Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.
309 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The create time timestamp.
310 &quot;description&quot;: &quot;A String&quot;, # User-provided description of the endpoint
311 &quot;endpointForwardingRule&quot;: &quot;A String&quot;, # Output only. The fully qualified URL of the endpoint&#x27;s ILB Forwarding Rule.
312 &quot;endpointIp&quot;: &quot;A String&quot;, # Output only. The IP address of the IDS Endpoint&#x27;s ILB.
313 &quot;labels&quot;: { # The labels of the endpoint.
314 &quot;a_key&quot;: &quot;A String&quot;,
315 },
316 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the endpoint.
317 &quot;network&quot;: &quot;A String&quot;, # Required. The fully qualified URL of the network to which the IDS Endpoint is attached.
318 &quot;satisfiesPzi&quot;: True or False, # Output only. [Output Only] Reserved for future use.
319 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
320 &quot;severity&quot;: &quot;A String&quot;, # Required. Lowest threat severity that this endpoint will alert on.
321 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the endpoint.
322 &quot;threatExceptions&quot;: [ # List of threat IDs to be excepted from generating alerts.
323 &quot;A String&quot;,
324 ],
325 &quot;trafficLogs&quot;: True or False, # Whether the endpoint should report traffic logs in addition to threat logs.
326 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The update time timestamp.
327 }
328
329 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
330 updateMask: string, Field mask is used to specify the fields to be overwritten in the Endpoint 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 user does not provide a mask then all fields will be overwritten.
331 x__xgafv: string, V1 error format.
332 Allowed values
333 1 - v1 error format
334 2 - v2 error format
335
336 Returns:
337 An object of the form:
338
339 { # This resource represents a long-running operation that is the result of a network API call.
340 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
341 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
342 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
343 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
344 {
345 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
346 },
347 ],
348 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
349 },
350 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
351 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
352 },
353 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
354 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
355 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
356 },
357 }</pre>
358 </div>
359
360 </body></html>