Debian Codegraph @

docs/dyn/netapp_v1.projects.locations.kmsConfigs.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="netapp_v1.html">NetApp API</a> . <a href="netapp_v1.projects.html">projects</a> . <a href="netapp_v1.projects.locations.html">locations</a> . <a href="netapp_v1.projects.locations.kmsConfigs.html">kmsConfigs</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, kmsConfigId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new KMS config.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Warning! This operation will permanently delete the Kms config.</p>
86 <p class="toc_element">
87 <code><a href="#encrypt">encrypt(name, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns the description of the specified KMS config by kms_config_id.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns descriptions of all KMS configs owned by the caller.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates the Kms config properties with the full spec</p>
101 <p class="toc_element">
102 <code><a href="#verify">verify(name, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Verifies KMS config reachability.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="create">create(parent, body=None, kmsConfigId=None, x__xgafv=None)</code>
112 <pre>Creates a new KMS config.
113
114 Args:
115 parent: string, Required. Value for parent. (required)
116 body: object, The request body.
117 The object takes the form of:
118
119 { # KmsConfig is the customer-managed encryption key(CMEK) configuration.
120 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the KmsConfig.
121 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
122 &quot;description&quot;: &quot;A String&quot;, # Description of the KmsConfig.
123 &quot;instructions&quot;: &quot;A String&quot;, # Output only. Instructions to provide the access to the customer provided encryption key.
124 &quot;labels&quot;: { # Labels as key value pairs
125 &quot;a_key&quot;: &quot;A String&quot;,
126 },
127 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
128 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The Service account which will have access to the customer provided encryption key.
129 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the KmsConfig.
130 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the KmsConfig.
131 }
132
133 kmsConfigId: string, Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
134 x__xgafv: string, V1 error format.
135 Allowed values
136 1 - v1 error format
137 2 - v2 error format
138
139 Returns:
140 An object of the form:
141
142 { # This resource represents a long-running operation that is the result of a network API call.
143 &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.
144 &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.
145 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
146 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
147 {
148 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
149 },
150 ],
151 &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.
152 },
153 &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.
154 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155 },
156 &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}`.
157 &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`.
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 }</pre>
161 </div>
162
163 <div class="method">
164 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
165 <pre>Warning! This operation will permanently delete the Kms config.
166
167 Args:
168 name: string, Required. Name of the KmsConfig. (required)
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 { # This resource represents a long-running operation that is the result of a network API call.
178 &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.
179 &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.
180 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
181 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
182 {
183 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
184 },
185 ],
186 &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.
187 },
188 &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.
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 &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}`.
192 &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`.
193 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
194 },
195 }</pre>
196 </div>
197
198 <div class="method">
199 <code class="details" id="encrypt">encrypt(name, body=None, x__xgafv=None)</code>
200 <pre>Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
201
202 Args:
203 name: string, Required. Name of the KmsConfig. (required)
204 body: object, The request body.
205 The object takes the form of:
206
207 { # EncryptVolumesRequest specifies the KMS config to encrypt existing volumes.
208 }
209
210 x__xgafv: string, V1 error format.
211 Allowed values
212 1 - v1 error format
213 2 - v2 error format
214
215 Returns:
216 An object of the form:
217
218 { # This resource represents a long-running operation that is the result of a network API call.
219 &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.
220 &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.
221 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
222 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
223 {
224 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
225 },
226 ],
227 &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.
228 },
229 &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.
230 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
231 },
232 &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}`.
233 &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`.
234 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
235 },
236 }</pre>
237 </div>
238
239 <div class="method">
240 <code class="details" id="get">get(name, x__xgafv=None)</code>
241 <pre>Returns the description of the specified KMS config by kms_config_id.
242
243 Args:
244 name: string, Required. Name of the KmsConfig (required)
245 x__xgafv: string, V1 error format.
246 Allowed values
247 1 - v1 error format
248 2 - v2 error format
249
250 Returns:
251 An object of the form:
252
253 { # KmsConfig is the customer-managed encryption key(CMEK) configuration.
254 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the KmsConfig.
255 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
256 &quot;description&quot;: &quot;A String&quot;, # Description of the KmsConfig.
257 &quot;instructions&quot;: &quot;A String&quot;, # Output only. Instructions to provide the access to the customer provided encryption key.
258 &quot;labels&quot;: { # Labels as key value pairs
259 &quot;a_key&quot;: &quot;A String&quot;,
260 },
261 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
262 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The Service account which will have access to the customer provided encryption key.
263 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the KmsConfig.
264 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the KmsConfig.
265 }</pre>
266 </div>
267
268 <div class="method">
269 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
270 <pre>Returns descriptions of all KMS configs owned by the caller.
271
272 Args:
273 parent: string, Required. Parent value (required)
274 filter: string, List filter.
275 orderBy: string, Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
276 pageSize: integer, The maximum number of items to return.
277 pageToken: string, The next_page_token value to use if there are additional results to retrieve for this list request.
278 x__xgafv: string, V1 error format.
279 Allowed values
280 1 - v1 error format
281 2 - v2 error format
282
283 Returns:
284 An object of the form:
285
286 { # ListKmsConfigsResponse is the response to a ListKmsConfigsRequest.
287 &quot;kmsConfigs&quot;: [ # The list of KmsConfigs
288 { # KmsConfig is the customer-managed encryption key(CMEK) configuration.
289 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the KmsConfig.
290 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
291 &quot;description&quot;: &quot;A String&quot;, # Description of the KmsConfig.
292 &quot;instructions&quot;: &quot;A String&quot;, # Output only. Instructions to provide the access to the customer provided encryption key.
293 &quot;labels&quot;: { # Labels as key value pairs
294 &quot;a_key&quot;: &quot;A String&quot;,
295 },
296 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
297 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The Service account which will have access to the customer provided encryption key.
298 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the KmsConfig.
299 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the KmsConfig.
300 },
301 ],
302 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
303 &quot;unreachable&quot;: [ # Locations that could not be reached.
304 &quot;A String&quot;,
305 ],
306 }</pre>
307 </div>
308
309 <div class="method">
310 <code class="details" id="list_next">list_next()</code>
311 <pre>Retrieves the next page of results.
312
313 Args:
314 previous_request: The request for the previous page. (required)
315 previous_response: The response from the request for the previous page. (required)
316
317 Returns:
318 A request object that you can call &#x27;execute()&#x27; on to request the next
319 page. Returns None if there are no more items in the collection.
320 </pre>
321 </div>
322
323 <div class="method">
324 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
325 <pre>Updates the Kms config properties with the full spec
326
327 Args:
328 name: string, Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` (required)
329 body: object, The request body.
330 The object takes the form of:
331
332 { # KmsConfig is the customer-managed encryption key(CMEK) configuration.
333 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the KmsConfig.
334 &quot;cryptoKeyName&quot;: &quot;A String&quot;, # Required. Customer-managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
335 &quot;description&quot;: &quot;A String&quot;, # Description of the KmsConfig.
336 &quot;instructions&quot;: &quot;A String&quot;, # Output only. Instructions to provide the access to the customer provided encryption key.
337 &quot;labels&quot;: { # Labels as key value pairs
338 &quot;a_key&quot;: &quot;A String&quot;,
339 },
340 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the `KmsConfig`. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}`
341 &quot;serviceAccount&quot;: &quot;A String&quot;, # Output only. The Service account which will have access to the customer provided encryption key.
342 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the KmsConfig.
343 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the KmsConfig.
344 }
345
346 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the KmsConfig 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.
347 x__xgafv: string, V1 error format.
348 Allowed values
349 1 - v1 error format
350 2 - v2 error format
351
352 Returns:
353 An object of the form:
354
355 { # This resource represents a long-running operation that is the result of a network API call.
356 &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.
357 &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.
358 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
359 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
360 {
361 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
362 },
363 ],
364 &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.
365 },
366 &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.
367 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
368 },
369 &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}`.
370 &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`.
371 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
372 },
373 }</pre>
374 </div>
375
376 <div class="method">
377 <code class="details" id="verify">verify(name, body=None, x__xgafv=None)</code>
378 <pre>Verifies KMS config reachability.
379
380 Args:
381 name: string, Required. Name of the KMS Config to be verified. (required)
382 body: object, The request body.
383 The object takes the form of:
384
385 { # VerifyKmsConfigRequest specifies the KMS config to be validated.
386 }
387
388 x__xgafv: string, V1 error format.
389 Allowed values
390 1 - v1 error format
391 2 - v2 error format
392
393 Returns:
394 An object of the form:
395
396 { # VerifyKmsConfigResponse contains the information if the config is correctly and error message.
397 &quot;healthError&quot;: &quot;A String&quot;, # Output only. Error message if config is not healthy.
398 &quot;healthy&quot;: True or False, # Output only. If the customer key configured correctly to the encrypt volume.
399 &quot;instructions&quot;: &quot;A String&quot;, # Output only. Instructions for the customers to provide the access to the encryption key.
400 }</pre>
401 </div>
402
403 </body></html>