Debian Codegraph @

docs/dyn/netapp_v1.projects.locations.storagePools.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.storagePools.html">storagePools</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="netapp_v1.projects.locations.storagePools.backupConfigs.html">backupConfigs()</a></code>
79 </p>
80 <p class="firstline">Returns the backupConfigs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="netapp_v1.projects.locations.storagePools.ontap.html">ontap()</a></code>
84 </p>
85 <p class="firstline">Returns the ontap Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="#close">close()</a></code></p>
89 <p class="firstline">Close httplib2 connections.</p>
90 <p class="toc_element">
91 <code><a href="#create">create(parent, body=None, storagePoolId=None, x__xgafv=None)</a></code></p>
92 <p class="firstline">Creates a new storage pool.</p>
93 <p class="toc_element">
94 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
95 <p class="firstline">Warning! This operation will permanently delete the storage pool.</p>
96 <p class="toc_element">
97 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
98 <p class="firstline">Returns the description of the specified storage pool by poolId.</p>
99 <p class="toc_element">
100 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
101 <p class="firstline">Returns descriptions of all storage pools owned by the caller.</p>
102 <p class="toc_element">
103 <code><a href="#list_next">list_next()</a></code></p>
104 <p class="firstline">Retrieves the next page of results.</p>
105 <p class="toc_element">
106 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
107 <p class="firstline">Updates the storage pool properties with the full spec</p>
108 <p class="toc_element">
109 <code><a href="#restoreVolume">restoreVolume(name, body=None, x__xgafv=None)</a></code></p>
110 <p class="firstline">Restores a backup to an ONTAP-mode volume.</p>
111 <p class="toc_element">
112 <code><a href="#switch">switch(name, body=None, x__xgafv=None)</a></code></p>
113 <p class="firstline">This operation will switch the active/replica zone for a regional storagePool.</p>
114 <p class="toc_element">
115 <code><a href="#updateBackupConfig">updateBackupConfig(name, body=None, x__xgafv=None)</a></code></p>
116 <p class="firstline">Updates the backup configuration for an ONTAP-mode volume.</p>
117 <p class="toc_element">
118 <code><a href="#validateDirectoryService">validateDirectoryService(name, body=None, x__xgafv=None)</a></code></p>
119 <p class="firstline">ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.</p>
120 <h3>Method Details</h3>
121 <div class="method">
122 <code class="details" id="close">close()</code>
123 <pre>Close httplib2 connections.</pre>
124 </div>
125
126 <div class="method">
127 <code class="details" id="create">create(parent, body=None, storagePoolId=None, x__xgafv=None)</code>
128 <pre>Creates a new storage pool.
129
130 Args:
131 parent: string, Required. Value for parent. (required)
132 body: object, The request body.
133 The object takes the form of:
134
135 { # StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
136 &quot;activeDirectory&quot;: &quot;A String&quot;, # Optional. Specifies the Active Directory to be used for creating a SMB volume.
137 &quot;allowAutoTiering&quot;: True or False, # Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can&#x27;t be disabled once enabled.
138 &quot;availableThroughputMibps&quot;: 3.14, # Output only. Available throughput of the storage pool (in MiB/s).
139 &quot;capacityGib&quot;: &quot;A String&quot;, # Required. Capacity in GIB of the pool
140 &quot;coldTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
141 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the storage pool
142 &quot;customPerformanceEnabled&quot;: True or False, # Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
143 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the storage pool
144 &quot;enableHotTierAutoResize&quot;: True or False, # Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
145 &quot;encryptionType&quot;: &quot;A String&quot;, # Output only. Specifies the current pool encryption key source.
146 &quot;globalAccessAllowed&quot;: True or False, # Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
147 &quot;hotTierSizeGib&quot;: &quot;A String&quot;, # Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
148 &quot;hotTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
149 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the KMS config to be used for volume encryption.
150 &quot;labels&quot;: { # Optional. Labels as key value pairs
151 &quot;a_key&quot;: &quot;A String&quot;,
152 },
153 &quot;ldapEnabled&quot;: True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not.
154 &quot;mode&quot;: &quot;A String&quot;, # Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
155 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the storage pool
156 &quot;network&quot;: &quot;A String&quot;, # Required. VPC Network name. Format: projects/{project}/global/networks/{network}
157 &quot;psaRange&quot;: &quot;A String&quot;, # Optional. This field is not implemented. The values provided in this field are ignored.
158 &quot;qosType&quot;: &quot;A String&quot;, # Optional. QoS (Quality of Service) Type of the storage pool
159 &quot;replicaZone&quot;: &quot;A String&quot;, # Optional. Specifies the replica zone for regional storagePool.
160 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
161 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
162 &quot;scaleType&quot;: &quot;A String&quot;, # Optional. The scale type of the storage pool. Defaults to `SCALE_TYPE_DEFAULT` if not specified.
163 &quot;serviceLevel&quot;: &quot;A String&quot;, # Required. Service level of the storage pool
164 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the storage pool
165 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the storage pool
166 &quot;totalIops&quot;: &quot;A String&quot;, # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
167 &quot;totalThroughputMibps&quot;: &quot;A String&quot;, # Optional. Custom Performance Total Throughput of the pool (in MiBps)
168 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.
169 &quot;volumeCapacityGib&quot;: &quot;A String&quot;, # Output only. Allocated size of all volumes in GIB in the storage pool
170 &quot;volumeCount&quot;: 42, # Output only. Volume count of the storage pool
171 &quot;zone&quot;: &quot;A String&quot;, # Optional. Specifies the active zone for regional storagePool.
172 }
173
174 storagePoolId: string, Required. Id of the requesting storage pool. 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.
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # This resource represents a long-running operation that is the result of a network API call.
184 &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.
185 &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.
186 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
187 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
188 {
189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
190 },
191 ],
192 &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.
193 },
194 &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.
195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
196 },
197 &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}`.
198 &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`.
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
201 }</pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
206 <pre>Warning! This operation will permanently delete the storage pool.
207
208 Args:
209 name: string, Required. Name of the storage pool (required)
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 storage pool by poolId.
242
243 Args:
244 name: string, Required. Name of the storage pool (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 { # StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
254 &quot;activeDirectory&quot;: &quot;A String&quot;, # Optional. Specifies the Active Directory to be used for creating a SMB volume.
255 &quot;allowAutoTiering&quot;: True or False, # Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can&#x27;t be disabled once enabled.
256 &quot;availableThroughputMibps&quot;: 3.14, # Output only. Available throughput of the storage pool (in MiB/s).
257 &quot;capacityGib&quot;: &quot;A String&quot;, # Required. Capacity in GIB of the pool
258 &quot;coldTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
259 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the storage pool
260 &quot;customPerformanceEnabled&quot;: True or False, # Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
261 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the storage pool
262 &quot;enableHotTierAutoResize&quot;: True or False, # Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
263 &quot;encryptionType&quot;: &quot;A String&quot;, # Output only. Specifies the current pool encryption key source.
264 &quot;globalAccessAllowed&quot;: True or False, # Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
265 &quot;hotTierSizeGib&quot;: &quot;A String&quot;, # Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
266 &quot;hotTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
267 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the KMS config to be used for volume encryption.
268 &quot;labels&quot;: { # Optional. Labels as key value pairs
269 &quot;a_key&quot;: &quot;A String&quot;,
270 },
271 &quot;ldapEnabled&quot;: True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not.
272 &quot;mode&quot;: &quot;A String&quot;, # Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
273 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the storage pool
274 &quot;network&quot;: &quot;A String&quot;, # Required. VPC Network name. Format: projects/{project}/global/networks/{network}
275 &quot;psaRange&quot;: &quot;A String&quot;, # Optional. This field is not implemented. The values provided in this field are ignored.
276 &quot;qosType&quot;: &quot;A String&quot;, # Optional. QoS (Quality of Service) Type of the storage pool
277 &quot;replicaZone&quot;: &quot;A String&quot;, # Optional. Specifies the replica zone for regional storagePool.
278 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
279 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
280 &quot;scaleType&quot;: &quot;A String&quot;, # Optional. The scale type of the storage pool. Defaults to `SCALE_TYPE_DEFAULT` if not specified.
281 &quot;serviceLevel&quot;: &quot;A String&quot;, # Required. Service level of the storage pool
282 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the storage pool
283 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the storage pool
284 &quot;totalIops&quot;: &quot;A String&quot;, # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
285 &quot;totalThroughputMibps&quot;: &quot;A String&quot;, # Optional. Custom Performance Total Throughput of the pool (in MiBps)
286 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.
287 &quot;volumeCapacityGib&quot;: &quot;A String&quot;, # Output only. Allocated size of all volumes in GIB in the storage pool
288 &quot;volumeCount&quot;: 42, # Output only. Volume count of the storage pool
289 &quot;zone&quot;: &quot;A String&quot;, # Optional. Specifies the active zone for regional storagePool.
290 }</pre>
291 </div>
292
293 <div class="method">
294 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
295 <pre>Returns descriptions of all storage pools owned by the caller.
296
297 Args:
298 parent: string, Required. Parent value (required)
299 filter: string, Optional. List filter.
300 orderBy: string, Optional. Sort results. Supported values are &quot;name&quot;, &quot;name desc&quot; or &quot;&quot; (unsorted).
301 pageSize: integer, Optional. The maximum number of items to return.
302 pageToken: string, Optional. The next_page_token value to use if there are additional results to retrieve for this list request.
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 { # ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.
312 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
313 &quot;storagePools&quot;: [ # The list of StoragePools
314 { # StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
315 &quot;activeDirectory&quot;: &quot;A String&quot;, # Optional. Specifies the Active Directory to be used for creating a SMB volume.
316 &quot;allowAutoTiering&quot;: True or False, # Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can&#x27;t be disabled once enabled.
317 &quot;availableThroughputMibps&quot;: 3.14, # Output only. Available throughput of the storage pool (in MiB/s).
318 &quot;capacityGib&quot;: &quot;A String&quot;, # Required. Capacity in GIB of the pool
319 &quot;coldTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
320 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the storage pool
321 &quot;customPerformanceEnabled&quot;: True or False, # Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
322 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the storage pool
323 &quot;enableHotTierAutoResize&quot;: True or False, # Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
324 &quot;encryptionType&quot;: &quot;A String&quot;, # Output only. Specifies the current pool encryption key source.
325 &quot;globalAccessAllowed&quot;: True or False, # Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
326 &quot;hotTierSizeGib&quot;: &quot;A String&quot;, # Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
327 &quot;hotTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
328 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the KMS config to be used for volume encryption.
329 &quot;labels&quot;: { # Optional. Labels as key value pairs
330 &quot;a_key&quot;: &quot;A String&quot;,
331 },
332 &quot;ldapEnabled&quot;: True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not.
333 &quot;mode&quot;: &quot;A String&quot;, # Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
334 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the storage pool
335 &quot;network&quot;: &quot;A String&quot;, # Required. VPC Network name. Format: projects/{project}/global/networks/{network}
336 &quot;psaRange&quot;: &quot;A String&quot;, # Optional. This field is not implemented. The values provided in this field are ignored.
337 &quot;qosType&quot;: &quot;A String&quot;, # Optional. QoS (Quality of Service) Type of the storage pool
338 &quot;replicaZone&quot;: &quot;A String&quot;, # Optional. Specifies the replica zone for regional storagePool.
339 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
340 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
341 &quot;scaleType&quot;: &quot;A String&quot;, # Optional. The scale type of the storage pool. Defaults to `SCALE_TYPE_DEFAULT` if not specified.
342 &quot;serviceLevel&quot;: &quot;A String&quot;, # Required. Service level of the storage pool
343 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the storage pool
344 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the storage pool
345 &quot;totalIops&quot;: &quot;A String&quot;, # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
346 &quot;totalThroughputMibps&quot;: &quot;A String&quot;, # Optional. Custom Performance Total Throughput of the pool (in MiBps)
347 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.
348 &quot;volumeCapacityGib&quot;: &quot;A String&quot;, # Output only. Allocated size of all volumes in GIB in the storage pool
349 &quot;volumeCount&quot;: 42, # Output only. Volume count of the storage pool
350 &quot;zone&quot;: &quot;A String&quot;, # Optional. Specifies the active zone for regional storagePool.
351 },
352 ],
353 &quot;unreachable&quot;: [ # Locations that could not be reached.
354 &quot;A String&quot;,
355 ],
356 }</pre>
357 </div>
358
359 <div class="method">
360 <code class="details" id="list_next">list_next()</code>
361 <pre>Retrieves the next page of results.
362
363 Args:
364 previous_request: The request for the previous page. (required)
365 previous_response: The response from the request for the previous page. (required)
366
367 Returns:
368 A request object that you can call &#x27;execute()&#x27; on to request the next
369 page. Returns None if there are no more items in the collection.
370 </pre>
371 </div>
372
373 <div class="method">
374 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
375 <pre>Updates the storage pool properties with the full spec
376
377 Args:
378 name: string, Identifier. Name of the storage pool (required)
379 body: object, The request body.
380 The object takes the form of:
381
382 { # StoragePool is a container for volumes with a service level and capacity. Volumes can be created in a pool of sufficient available capacity. StoragePool capacity is what you are billed for.
383 &quot;activeDirectory&quot;: &quot;A String&quot;, # Optional. Specifies the Active Directory to be used for creating a SMB volume.
384 &quot;allowAutoTiering&quot;: True or False, # Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. Auto-tiering can be enabled after storage pool creation but it can&#x27;t be disabled once enabled.
385 &quot;availableThroughputMibps&quot;: 3.14, # Output only. Available throughput of the storage pool (in MiB/s).
386 &quot;capacityGib&quot;: &quot;A String&quot;, # Required. Capacity in GIB of the pool
387 &quot;coldTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total cold tier data rounded down to the nearest GiB used by the storage pool.
388 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time of the storage pool
389 &quot;customPerformanceEnabled&quot;: True or False, # Optional. True if using Independent Scaling of capacity and performance (Hyperdisk) By default set to false
390 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the storage pool
391 &quot;enableHotTierAutoResize&quot;: True or False, # Optional. Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
392 &quot;encryptionType&quot;: &quot;A String&quot;, # Output only. Specifies the current pool encryption key source.
393 &quot;globalAccessAllowed&quot;: True or False, # Deprecated. Used to allow SO pool to access AD or DNS server from other regions.
394 &quot;hotTierSizeGib&quot;: &quot;A String&quot;, # Optional. Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
395 &quot;hotTierSizeUsedGib&quot;: &quot;A String&quot;, # Output only. Total hot tier data rounded down to the nearest GiB used by the storage pool.
396 &quot;kmsConfig&quot;: &quot;A String&quot;, # Optional. Specifies the KMS config to be used for volume encryption.
397 &quot;labels&quot;: { # Optional. Labels as key value pairs
398 &quot;a_key&quot;: &quot;A String&quot;,
399 },
400 &quot;ldapEnabled&quot;: True or False, # Optional. Flag indicating if the pool is NFS LDAP enabled or not.
401 &quot;mode&quot;: &quot;A String&quot;, # Optional. Mode of the storage pool. This field is used to control whether the user can perform ONTAP operations on the storage pool using the GCNV ONTAP Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
402 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the storage pool
403 &quot;network&quot;: &quot;A String&quot;, # Required. VPC Network name. Format: projects/{project}/global/networks/{network}
404 &quot;psaRange&quot;: &quot;A String&quot;, # Optional. This field is not implemented. The values provided in this field are ignored.
405 &quot;qosType&quot;: &quot;A String&quot;, # Optional. QoS (Quality of Service) Type of the storage pool
406 &quot;replicaZone&quot;: &quot;A String&quot;, # Optional. Specifies the replica zone for regional storagePool.
407 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use
408 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use
409 &quot;scaleType&quot;: &quot;A String&quot;, # Optional. The scale type of the storage pool. Defaults to `SCALE_TYPE_DEFAULT` if not specified.
410 &quot;serviceLevel&quot;: &quot;A String&quot;, # Required. Service level of the storage pool
411 &quot;state&quot;: &quot;A String&quot;, # Output only. State of the storage pool
412 &quot;stateDetails&quot;: &quot;A String&quot;, # Output only. State details of the storage pool
413 &quot;totalIops&quot;: &quot;A String&quot;, # Optional. Custom Performance Total IOPS of the pool if not provided, it will be calculated based on the total_throughput_mibps
414 &quot;totalThroughputMibps&quot;: &quot;A String&quot;, # Optional. Custom Performance Total Throughput of the pool (in MiBps)
415 &quot;type&quot;: &quot;A String&quot;, # Optional. Type of the storage pool. This field is used to control whether the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.
416 &quot;volumeCapacityGib&quot;: &quot;A String&quot;, # Output only. Allocated size of all volumes in GIB in the storage pool
417 &quot;volumeCount&quot;: 42, # Output only. Volume count of the storage pool
418 &quot;zone&quot;: &quot;A String&quot;, # Optional. Specifies the active zone for regional storagePool.
419 }
420
421 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the StoragePool 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.
422 x__xgafv: string, V1 error format.
423 Allowed values
424 1 - v1 error format
425 2 - v2 error format
426
427 Returns:
428 An object of the form:
429
430 { # This resource represents a long-running operation that is the result of a network API call.
431 &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.
432 &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.
433 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
434 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
435 {
436 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
437 },
438 ],
439 &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.
440 },
441 &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.
442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
443 },
444 &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}`.
445 &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`.
446 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
447 },
448 }</pre>
449 </div>
450
451 <div class="method">
452 <code class="details" id="restoreVolume">restoreVolume(name, body=None, x__xgafv=None)</code>
453 <pre>Restores a backup to an ONTAP-mode volume.
454
455 Args:
456 name: string, Required. The resource name of the ONTAP mode storage pool, in the format of `projects/{project}/locations/{location}/storagePools/{storage_pool}` (required)
457 body: object, The request body.
458 The object takes the form of:
459
460 { # Request message for `RestoreVolume` API.
461 &quot;backupSource&quot;: { # Represents the backup source of the restore operation. # The backup source of the restore operation.
462 &quot;backup&quot;: &quot;A String&quot;, # Required. The backup resource name.
463 &quot;fileList&quot;: [ # Optional. List of files to be restored in the form of their absolute path as in source volume. If provided, only these files will be restored. If not provided, the entire backup will be restored (Full Backup Restore)
464 &quot;A String&quot;,
465 ],
466 },
467 &quot;ontapVolumeTarget&quot;: { # Represents the ONTAP volume target of the restore operation. # The ONTAP volume target of the restore operation.
468 &quot;restoreDestinationPath&quot;: &quot;A String&quot;, # Optional. Absolute directory path in the destination volume.
469 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP volume to restore to.
470 },
471 }
472
473 x__xgafv: string, V1 error format.
474 Allowed values
475 1 - v1 error format
476 2 - v2 error format
477
478 Returns:
479 An object of the form:
480
481 { # This resource represents a long-running operation that is the result of a network API call.
482 &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.
483 &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.
484 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
485 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
486 {
487 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
488 },
489 ],
490 &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.
491 },
492 &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.
493 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
494 },
495 &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}`.
496 &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`.
497 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
498 },
499 }</pre>
500 </div>
501
502 <div class="method">
503 <code class="details" id="switch">switch(name, body=None, x__xgafv=None)</code>
504 <pre>This operation will switch the active/replica zone for a regional storagePool.
505
506 Args:
507 name: string, Required. Name of the storage pool (required)
508 body: object, The request body.
509 The object takes the form of:
510
511 { # SwitchActiveReplicaZoneRequest switch the active/replica zone for a regional storagePool.
512 }
513
514 x__xgafv: string, V1 error format.
515 Allowed values
516 1 - v1 error format
517 2 - v2 error format
518
519 Returns:
520 An object of the form:
521
522 { # This resource represents a long-running operation that is the result of a network API call.
523 &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.
524 &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.
525 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
526 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
527 {
528 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
529 },
530 ],
531 &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.
532 },
533 &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.
534 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
535 },
536 &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}`.
537 &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`.
538 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
539 },
540 }</pre>
541 </div>
542
543 <div class="method">
544 <code class="details" id="updateBackupConfig">updateBackupConfig(name, body=None, x__xgafv=None)</code>
545 <pre>Updates the backup configuration for an ONTAP-mode volume.
546
547 Args:
548 name: string, Required. The resource name of the StoragePool, in the format: projects/{projectNumber}/locations/{locationId}/storagePools/{poolId} (required)
549 body: object, The request body.
550 The object takes the form of:
551
552 { # Request message for UpdateBackupConfig
553 &quot;backupConfig&quot;: { # BackupConfig contains backup related config on a volume. # Required. Backup configuration to apply.
554 &quot;backupChainBytes&quot;: &quot;A String&quot;, # Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).
555 &quot;backupPolicies&quot;: [ # Optional. When specified, schedule backups will be created based on the policy configuration.
556 &quot;A String&quot;,
557 ],
558 &quot;backupVault&quot;: &quot;A String&quot;, # Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
559 &quot;scheduledBackupEnabled&quot;: True or False, # Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there&#x27;s no backup policy attached.
560 },
561 &quot;updateMask&quot;: &quot;A String&quot;, # Required. Field mask is used to specify the fields to be overwritten in the BackupConfig for the Volume. 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.
562 &quot;volumeUuid&quot;: &quot;A String&quot;, # Required. The UUID of the ONTAP-mode volume.
563 }
564
565 x__xgafv: string, V1 error format.
566 Allowed values
567 1 - v1 error format
568 2 - v2 error format
569
570 Returns:
571 An object of the form:
572
573 { # This resource represents a long-running operation that is the result of a network API call.
574 &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.
575 &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.
576 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
577 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
578 {
579 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
580 },
581 ],
582 &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.
583 },
584 &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.
585 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
586 },
587 &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}`.
588 &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`.
589 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
590 },
591 }</pre>
592 </div>
593
594 <div class="method">
595 <code class="details" id="validateDirectoryService">validateDirectoryService(name, body=None, x__xgafv=None)</code>
596 <pre>ValidateDirectoryService does a connectivity check for a directory service policy attached to the storage pool.
597
598 Args:
599 name: string, Required. Name of the storage pool (required)
600 body: object, The request body.
601 The object takes the form of:
602
603 { # ValidateDirectoryServiceRequest validates the directory service policy attached to the storage pool.
604 &quot;directoryServiceType&quot;: &quot;A String&quot;, # Type of directory service policy attached to the storage pool.
605 }
606
607 x__xgafv: string, V1 error format.
608 Allowed values
609 1 - v1 error format
610 2 - v2 error format
611
612 Returns:
613 An object of the form:
614
615 { # This resource represents a long-running operation that is the result of a network API call.
616 &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.
617 &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.
618 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
619 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
620 {
621 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
622 },
623 ],
624 &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.
625 },
626 &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.
627 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
628 },
629 &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}`.
630 &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`.
631 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
632 },
633 }</pre>
634 </div>
635
636 </body></html>