Debian Codegraph @

docs/dyn/networksecurity_v1beta1.projects.locations.interceptDeployments.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.interceptDeployments.html">interceptDeployments</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, interceptDeploymentId=None, requestId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a deployment in a given project and location. See https://google.aip.dev/133.</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 deployment. See https://google.aip.dev/135.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a specific deployment. See https://google.aip.dev/131.</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 deployments in a given project and location. See https://google.aip.dev/132.</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 a deployment. See https://google.aip.dev/134.</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, interceptDeploymentId=None, requestId=None, x__xgafv=None)</code>
106 <pre>Creates a deployment in a given project and location. See https://google.aip.dev/133.
107
108 Args:
109 parent: string, Required. The parent resource where this deployment will be created. Format: projects/{project}/locations/{location} (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A deployment represents a zonal intercept backend ready to accept GENEVE-encapsulated traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global intercept service.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
115 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description of the deployment. Used as additional context for the deployment.
116 &quot;forwardingRule&quot;: &quot;A String&quot;, # Required. Immutable. The regional forwarding rule that fronts the interceptors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.
117 &quot;interceptDeploymentGroup&quot;: &quot;A String&quot;, # Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.
118 &quot;labels&quot;: { # Optional. Labels are key/value pairs that help to organize and filter resources.
119 &quot;a_key&quot;: &quot;A String&quot;,
120 },
121 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.
122 &quot;reconciling&quot;: True or False, # Output only. The current state of the resource does not match the user&#x27;s intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.
123 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the deployment. See https://google.aip.dev/216.
124 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.
125 }
126
127 interceptDeploymentId: string, Required. The ID to use for the new deployment, which will become the final component of the deployment&#x27;s resource name.
128 requestId: string, Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.
129 x__xgafv: string, V1 error format.
130 Allowed values
131 1 - v1 error format
132 2 - v2 error format
133
134 Returns:
135 An object of the form:
136
137 { # This resource represents a long-running operation that is the result of a network API call.
138 &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.
139 &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.
140 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
141 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
142 {
143 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
144 },
145 ],
146 &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.
147 },
148 &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.
149 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
150 },
151 &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}`.
152 &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`.
153 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
154 },
155 }</pre>
156 </div>
157
158 <div class="method">
159 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
160 <pre>Deletes a deployment. See https://google.aip.dev/135.
161
162 Args:
163 name: string, Required. Name of the resource (required)
164 requestId: string, Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.
165 x__xgafv: string, V1 error format.
166 Allowed values
167 1 - v1 error format
168 2 - v2 error format
169
170 Returns:
171 An object of the form:
172
173 { # This resource represents a long-running operation that is the result of a network API call.
174 &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.
175 &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.
176 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
177 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
178 {
179 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
180 },
181 ],
182 &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.
183 },
184 &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.
185 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
186 },
187 &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}`.
188 &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`.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 }</pre>
192 </div>
193
194 <div class="method">
195 <code class="details" id="get">get(name, x__xgafv=None)</code>
196 <pre>Gets a specific deployment. See https://google.aip.dev/131.
197
198 Args:
199 name: string, Required. The name of the deployment to retrieve. Format: projects/{project}/locations/{location}/interceptDeployments/{intercept_deployment} (required)
200 x__xgafv: string, V1 error format.
201 Allowed values
202 1 - v1 error format
203 2 - v2 error format
204
205 Returns:
206 An object of the form:
207
208 { # A deployment represents a zonal intercept backend ready to accept GENEVE-encapsulated traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global intercept service.
209 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
210 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description of the deployment. Used as additional context for the deployment.
211 &quot;forwardingRule&quot;: &quot;A String&quot;, # Required. Immutable. The regional forwarding rule that fronts the interceptors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.
212 &quot;interceptDeploymentGroup&quot;: &quot;A String&quot;, # Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.
213 &quot;labels&quot;: { # Optional. Labels are key/value pairs that help to organize and filter resources.
214 &quot;a_key&quot;: &quot;A String&quot;,
215 },
216 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.
217 &quot;reconciling&quot;: True or False, # Output only. The current state of the resource does not match the user&#x27;s intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.
218 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the deployment. See https://google.aip.dev/216.
219 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
225 <pre>Lists deployments in a given project and location. See https://google.aip.dev/132.
226
227 Args:
228 parent: string, Required. The parent, which owns this collection of deployments. Example: `projects/123456789/locations/us-central1-a`. See https://google.aip.dev/132 for more details. (required)
229 filter: string, Optional. Filter expression. See https://google.aip.dev/160#filtering for more details.
230 orderBy: string, Optional. Sort expression. See https://google.aip.dev/132#ordering for more details.
231 pageSize: integer, Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. See https://google.aip.dev/158 for more details.
232 pageToken: string, Optional. A page token, received from a previous `ListInterceptDeployments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListInterceptDeployments` must match the call that provided the page token. See https://google.aip.dev/158 for more details.
233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
237
238 Returns:
239 An object of the form:
240
241 { # Response message for ListInterceptDeployments.
242 &quot;interceptDeployments&quot;: [ # The deployments from the specified parent.
243 { # A deployment represents a zonal intercept backend ready to accept GENEVE-encapsulated traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global intercept service.
244 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
245 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description of the deployment. Used as additional context for the deployment.
246 &quot;forwardingRule&quot;: &quot;A String&quot;, # Required. Immutable. The regional forwarding rule that fronts the interceptors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.
247 &quot;interceptDeploymentGroup&quot;: &quot;A String&quot;, # Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.
248 &quot;labels&quot;: { # Optional. Labels are key/value pairs that help to organize and filter resources.
249 &quot;a_key&quot;: &quot;A String&quot;,
250 },
251 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.
252 &quot;reconciling&quot;: True or False, # Output only. The current state of the resource does not match the user&#x27;s intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.
253 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the deployment. See https://google.aip.dev/216.
254 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.
255 },
256 ],
257 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. See https://google.aip.dev/158 for more details.
258 &quot;unreachable&quot;: [ # Locations that could not be reached.
259 &quot;A String&quot;,
260 ],
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="list_next">list_next()</code>
266 <pre>Retrieves the next page of results.
267
268 Args:
269 previous_request: The request for the previous page. (required)
270 previous_response: The response from the request for the previous page. (required)
271
272 Returns:
273 A request object that you can call &#x27;execute()&#x27; on to request the next
274 page. Returns None if there are no more items in the collection.
275 </pre>
276 </div>
277
278 <div class="method">
279 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
280 <pre>Updates a deployment. See https://google.aip.dev/134.
281
282 Args:
283 name: string, Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details. (required)
284 body: object, The request body.
285 The object takes the form of:
286
287 { # A deployment represents a zonal intercept backend ready to accept GENEVE-encapsulated traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global intercept service.
288 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was created. See https://google.aip.dev/148#timestamps.
289 &quot;description&quot;: &quot;A String&quot;, # Optional. User-provided description of the deployment. Used as additional context for the deployment.
290 &quot;forwardingRule&quot;: &quot;A String&quot;, # Required. Immutable. The regional forwarding rule that fronts the interceptors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See https://google.aip.dev/124.
291 &quot;interceptDeploymentGroup&quot;: &quot;A String&quot;, # Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/interceptDeploymentGroups/my-dg`. See https://google.aip.dev/124.
292 &quot;labels&quot;: { # Optional. Labels are key/value pairs that help to organize and filter resources.
293 &quot;a_key&quot;: &quot;A String&quot;,
294 },
295 &quot;name&quot;: &quot;A String&quot;, # Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/interceptDeployments/my-dep`. See https://google.aip.dev/122 for more details.
296 &quot;reconciling&quot;: True or False, # Output only. The current state of the resource does not match the user&#x27;s intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See https://google.aip.dev/128.
297 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the deployment. See https://google.aip.dev/216.
298 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the resource was most recently updated. See https://google.aip.dev/148#timestamps.
299 }
300
301 requestId: string, Optional. A unique identifier for this request. Must be a UUID4. This request is only idempotent if a `request_id` is provided. See https://google.aip.dev/155 for more details.
302 updateMask: string, Optional. The list of fields to update. Fields are specified relative to the deployment (e.g. `description`; *not* `intercept_deployment.description`). See https://google.aip.dev/161 for more details.
303 x__xgafv: string, V1 error format.
304 Allowed values
305 1 - v1 error format
306 2 - v2 error format
307
308 Returns:
309 An object of the form:
310
311 { # This resource represents a long-running operation that is the result of a network API call.
312 &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.
313 &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.
314 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
315 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
316 {
317 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
318 },
319 ],
320 &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.
321 },
322 &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.
323 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
324 },
325 &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}`.
326 &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`.
327 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
328 },
329 }</pre>
330 </div>
331
332 </body></html>