@maxim_mazurok/gapi.client.netapp-v1 0.1.20251102 → 0.1.20251116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +261 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://netapp.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251116
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -170,6 +170,18 @@ declare namespace gapi.client {
|
|
|
170
170
|
/** Output only. The backup vault state. */
|
|
171
171
|
state?: string;
|
|
172
172
|
}
|
|
173
|
+
interface BlockDevice {
|
|
174
|
+
/** Optional. A list of host groups that identify hosts that can mount the block volume. Format: `projects/{project_id}/locations/{location}/hostGroups/{host_group_id}` This field can be updated after the block device is created. */
|
|
175
|
+
hostGroups?: string[];
|
|
176
|
+
/** Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI volumes */
|
|
177
|
+
identifier?: string;
|
|
178
|
+
/** Optional. User-defined name for the block device, unique within the Volume. In case no user input is provided, name will be autogenerated in the backend. The name must meet the following requirements: * Be between 1 and 255 characters long. * Contain only uppercase or lowercase letters (A-Z, a-z), numbers (0-9), and the following special characters: "-", "_", "}", "{", ".". * Spaces are not allowed. */
|
|
179
|
+
name?: string;
|
|
180
|
+
/** Required. Immutable. The OS type of the volume. This field can't be changed after the block device is created. */
|
|
181
|
+
osType?: string;
|
|
182
|
+
/** Optional. The size of the block device in GiB. Any value provided in this field during Volume creation is IGNORED. The block device's size is system-managed and will be set to match the parent Volume's `capacity_gib`. */
|
|
183
|
+
sizeGib?: string;
|
|
184
|
+
}
|
|
173
185
|
interface CacheConfig {
|
|
174
186
|
/** Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume. */
|
|
175
187
|
cifsChangeNotifyEnabled?: boolean;
|
|
@@ -235,6 +247,24 @@ declare namespace gapi.client {
|
|
|
235
247
|
rules?: SimpleExportPolicyRule[];
|
|
236
248
|
}
|
|
237
249
|
interface GoogleProtobufEmpty {}
|
|
250
|
+
interface HostGroup {
|
|
251
|
+
/** Output only. Create time of the host group. */
|
|
252
|
+
createTime?: string;
|
|
253
|
+
/** Optional. Description of the host group. */
|
|
254
|
+
description?: string;
|
|
255
|
+
/** Required. The list of hosts associated with the host group. */
|
|
256
|
+
hosts?: string[];
|
|
257
|
+
/** Optional. Labels of the host group. */
|
|
258
|
+
labels?: {[P in string]: string};
|
|
259
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
260
|
+
name?: string;
|
|
261
|
+
/** Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup. */
|
|
262
|
+
osType?: string;
|
|
263
|
+
/** Output only. State of the host group. */
|
|
264
|
+
state?: string;
|
|
265
|
+
/** Required. Type of the host group. */
|
|
266
|
+
type?: string;
|
|
267
|
+
}
|
|
238
268
|
interface HourlySchedule {
|
|
239
269
|
/** Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). */
|
|
240
270
|
minute?: number;
|
|
@@ -333,6 +363,14 @@ declare namespace gapi.client {
|
|
|
333
363
|
/** Locations that could not be reached. */
|
|
334
364
|
unreachable?: string[];
|
|
335
365
|
}
|
|
366
|
+
interface ListHostGroupsResponse {
|
|
367
|
+
/** The list of host groups. */
|
|
368
|
+
hostGroups?: HostGroup[];
|
|
369
|
+
/** A token identifying a page of results the server should return. */
|
|
370
|
+
nextPageToken?: string;
|
|
371
|
+
/** Locations that could not be reached. */
|
|
372
|
+
unreachable?: string[];
|
|
373
|
+
}
|
|
336
374
|
interface ListKmsConfigsResponse {
|
|
337
375
|
/** The list of KmsConfigs */
|
|
338
376
|
kmsConfigs?: KmsConfig[];
|
|
@@ -352,7 +390,7 @@ declare namespace gapi.client {
|
|
|
352
390
|
nextPageToken?: string;
|
|
353
391
|
/** A list of operations that matches the specified filter in the request. */
|
|
354
392
|
operations?: Operation[];
|
|
355
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
393
|
+
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
|
|
356
394
|
unreachable?: string[];
|
|
357
395
|
}
|
|
358
396
|
interface ListQuotaRulesResponse {
|
|
@@ -668,6 +706,8 @@ declare namespace gapi.client {
|
|
|
668
706
|
totalIops?: string;
|
|
669
707
|
/** Optional. Custom Performance Total Throughput of the pool (in MiBps) */
|
|
670
708
|
totalThroughputMibps?: string;
|
|
709
|
+
/** 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. */
|
|
710
|
+
type?: string;
|
|
671
711
|
/** Output only. Allocated size of all volumes in GIB in the storage pool */
|
|
672
712
|
volumeCapacityGib?: string;
|
|
673
713
|
/** Output only. Volume count of the storage pool */
|
|
@@ -725,6 +765,8 @@ declare namespace gapi.client {
|
|
|
725
765
|
activeDirectory?: string;
|
|
726
766
|
/** BackupConfig of the volume. */
|
|
727
767
|
backupConfig?: BackupConfig;
|
|
768
|
+
/** Optional. Block devices for the volume. Currently, only one block device is permitted per Volume. */
|
|
769
|
+
blockDevices?: BlockDevice[];
|
|
728
770
|
/** Optional. Cache parameters for the volume. */
|
|
729
771
|
cacheParameters?: CacheParameters;
|
|
730
772
|
/** Required. Capacity in GIB of the volume */
|
|
@@ -1675,6 +1717,221 @@ declare namespace gapi.client {
|
|
|
1675
1717
|
): Request<Operation>;
|
|
1676
1718
|
backups: BackupsResource;
|
|
1677
1719
|
}
|
|
1720
|
+
interface HostGroupsResource {
|
|
1721
|
+
/** Creates a new host group. */
|
|
1722
|
+
create(request: {
|
|
1723
|
+
/** V1 error format. */
|
|
1724
|
+
'$.xgafv'?: string;
|
|
1725
|
+
/** OAuth access token. */
|
|
1726
|
+
access_token?: string;
|
|
1727
|
+
/** Data format for response. */
|
|
1728
|
+
alt?: string;
|
|
1729
|
+
/** JSONP */
|
|
1730
|
+
callback?: string;
|
|
1731
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1732
|
+
fields?: string;
|
|
1733
|
+
/** Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum. */
|
|
1734
|
+
hostGroupId?: string;
|
|
1735
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1736
|
+
key?: string;
|
|
1737
|
+
/** OAuth 2.0 token for the current user. */
|
|
1738
|
+
oauth_token?: string;
|
|
1739
|
+
/** Required. Parent value for CreateHostGroupRequest */
|
|
1740
|
+
parent: string;
|
|
1741
|
+
/** Returns response with indentations and line breaks. */
|
|
1742
|
+
prettyPrint?: boolean;
|
|
1743
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1744
|
+
quotaUser?: string;
|
|
1745
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1746
|
+
upload_protocol?: string;
|
|
1747
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1748
|
+
uploadType?: string;
|
|
1749
|
+
/** Request body */
|
|
1750
|
+
resource: HostGroup;
|
|
1751
|
+
}): Request<Operation>;
|
|
1752
|
+
create(
|
|
1753
|
+
request: {
|
|
1754
|
+
/** V1 error format. */
|
|
1755
|
+
'$.xgafv'?: string;
|
|
1756
|
+
/** OAuth access token. */
|
|
1757
|
+
access_token?: string;
|
|
1758
|
+
/** Data format for response. */
|
|
1759
|
+
alt?: string;
|
|
1760
|
+
/** JSONP */
|
|
1761
|
+
callback?: string;
|
|
1762
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1763
|
+
fields?: string;
|
|
1764
|
+
/** Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum. */
|
|
1765
|
+
hostGroupId?: string;
|
|
1766
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1767
|
+
key?: string;
|
|
1768
|
+
/** OAuth 2.0 token for the current user. */
|
|
1769
|
+
oauth_token?: string;
|
|
1770
|
+
/** Required. Parent value for CreateHostGroupRequest */
|
|
1771
|
+
parent: string;
|
|
1772
|
+
/** Returns response with indentations and line breaks. */
|
|
1773
|
+
prettyPrint?: boolean;
|
|
1774
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1775
|
+
quotaUser?: string;
|
|
1776
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1777
|
+
upload_protocol?: string;
|
|
1778
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1779
|
+
uploadType?: string;
|
|
1780
|
+
},
|
|
1781
|
+
body: HostGroup,
|
|
1782
|
+
): Request<Operation>;
|
|
1783
|
+
/** Deletes a host group. */
|
|
1784
|
+
delete(request?: {
|
|
1785
|
+
/** V1 error format. */
|
|
1786
|
+
'$.xgafv'?: string;
|
|
1787
|
+
/** OAuth access token. */
|
|
1788
|
+
access_token?: string;
|
|
1789
|
+
/** Data format for response. */
|
|
1790
|
+
alt?: string;
|
|
1791
|
+
/** JSONP */
|
|
1792
|
+
callback?: string;
|
|
1793
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1794
|
+
fields?: string;
|
|
1795
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1796
|
+
key?: string;
|
|
1797
|
+
/** Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1798
|
+
name: string;
|
|
1799
|
+
/** OAuth 2.0 token for the current user. */
|
|
1800
|
+
oauth_token?: string;
|
|
1801
|
+
/** Returns response with indentations and line breaks. */
|
|
1802
|
+
prettyPrint?: boolean;
|
|
1803
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1804
|
+
quotaUser?: string;
|
|
1805
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1806
|
+
upload_protocol?: string;
|
|
1807
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1808
|
+
uploadType?: string;
|
|
1809
|
+
}): Request<Operation>;
|
|
1810
|
+
/** Returns details of the specified host group. */
|
|
1811
|
+
get(request?: {
|
|
1812
|
+
/** V1 error format. */
|
|
1813
|
+
'$.xgafv'?: string;
|
|
1814
|
+
/** OAuth access token. */
|
|
1815
|
+
access_token?: string;
|
|
1816
|
+
/** Data format for response. */
|
|
1817
|
+
alt?: string;
|
|
1818
|
+
/** JSONP */
|
|
1819
|
+
callback?: string;
|
|
1820
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1821
|
+
fields?: string;
|
|
1822
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1823
|
+
key?: string;
|
|
1824
|
+
/** Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1825
|
+
name: string;
|
|
1826
|
+
/** OAuth 2.0 token for the current user. */
|
|
1827
|
+
oauth_token?: string;
|
|
1828
|
+
/** Returns response with indentations and line breaks. */
|
|
1829
|
+
prettyPrint?: boolean;
|
|
1830
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1831
|
+
quotaUser?: string;
|
|
1832
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1833
|
+
upload_protocol?: string;
|
|
1834
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1835
|
+
uploadType?: string;
|
|
1836
|
+
}): Request<HostGroup>;
|
|
1837
|
+
/** Returns a list of host groups in a location. Use '-' as location to list host groups across all locations. */
|
|
1838
|
+
list(request?: {
|
|
1839
|
+
/** V1 error format. */
|
|
1840
|
+
'$.xgafv'?: string;
|
|
1841
|
+
/** OAuth access token. */
|
|
1842
|
+
access_token?: string;
|
|
1843
|
+
/** Data format for response. */
|
|
1844
|
+
alt?: string;
|
|
1845
|
+
/** JSONP */
|
|
1846
|
+
callback?: string;
|
|
1847
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1848
|
+
fields?: string;
|
|
1849
|
+
/** Optional. Filter to apply to the request. */
|
|
1850
|
+
filter?: string;
|
|
1851
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1852
|
+
key?: string;
|
|
1853
|
+
/** OAuth 2.0 token for the current user. */
|
|
1854
|
+
oauth_token?: string;
|
|
1855
|
+
/** Optional. Hint for how to order the results */
|
|
1856
|
+
orderBy?: string;
|
|
1857
|
+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1858
|
+
pageSize?: number;
|
|
1859
|
+
/** Optional. A token identifying a page of results the server should return. */
|
|
1860
|
+
pageToken?: string;
|
|
1861
|
+
/** Required. Parent value for ListHostGroupsRequest */
|
|
1862
|
+
parent: string;
|
|
1863
|
+
/** Returns response with indentations and line breaks. */
|
|
1864
|
+
prettyPrint?: boolean;
|
|
1865
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1866
|
+
quotaUser?: string;
|
|
1867
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1868
|
+
upload_protocol?: string;
|
|
1869
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1870
|
+
uploadType?: string;
|
|
1871
|
+
}): Request<ListHostGroupsResponse>;
|
|
1872
|
+
/** Updates an existing host group. */
|
|
1873
|
+
patch(request: {
|
|
1874
|
+
/** V1 error format. */
|
|
1875
|
+
'$.xgafv'?: string;
|
|
1876
|
+
/** OAuth access token. */
|
|
1877
|
+
access_token?: string;
|
|
1878
|
+
/** Data format for response. */
|
|
1879
|
+
alt?: string;
|
|
1880
|
+
/** JSONP */
|
|
1881
|
+
callback?: string;
|
|
1882
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1883
|
+
fields?: string;
|
|
1884
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1885
|
+
key?: string;
|
|
1886
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1887
|
+
name: string;
|
|
1888
|
+
/** OAuth 2.0 token for the current user. */
|
|
1889
|
+
oauth_token?: string;
|
|
1890
|
+
/** Returns response with indentations and line breaks. */
|
|
1891
|
+
prettyPrint?: boolean;
|
|
1892
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1893
|
+
quotaUser?: string;
|
|
1894
|
+
/** Optional. The list of fields to update. */
|
|
1895
|
+
updateMask?: string;
|
|
1896
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1897
|
+
upload_protocol?: string;
|
|
1898
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1899
|
+
uploadType?: string;
|
|
1900
|
+
/** Request body */
|
|
1901
|
+
resource: HostGroup;
|
|
1902
|
+
}): Request<Operation>;
|
|
1903
|
+
patch(
|
|
1904
|
+
request: {
|
|
1905
|
+
/** V1 error format. */
|
|
1906
|
+
'$.xgafv'?: string;
|
|
1907
|
+
/** OAuth access token. */
|
|
1908
|
+
access_token?: string;
|
|
1909
|
+
/** Data format for response. */
|
|
1910
|
+
alt?: string;
|
|
1911
|
+
/** JSONP */
|
|
1912
|
+
callback?: string;
|
|
1913
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1914
|
+
fields?: string;
|
|
1915
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1916
|
+
key?: string;
|
|
1917
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1918
|
+
name: string;
|
|
1919
|
+
/** OAuth 2.0 token for the current user. */
|
|
1920
|
+
oauth_token?: string;
|
|
1921
|
+
/** Returns response with indentations and line breaks. */
|
|
1922
|
+
prettyPrint?: boolean;
|
|
1923
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1924
|
+
quotaUser?: string;
|
|
1925
|
+
/** Optional. The list of fields to update. */
|
|
1926
|
+
updateMask?: string;
|
|
1927
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1928
|
+
upload_protocol?: string;
|
|
1929
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1930
|
+
uploadType?: string;
|
|
1931
|
+
},
|
|
1932
|
+
body: HostGroup,
|
|
1933
|
+
): Request<Operation>;
|
|
1934
|
+
}
|
|
1678
1935
|
interface KmsConfigsResource {
|
|
1679
1936
|
/** Creates a new KMS config. */
|
|
1680
1937
|
create(request: {
|
|
@@ -2147,7 +2404,7 @@ declare namespace gapi.client {
|
|
|
2147
2404
|
prettyPrint?: boolean;
|
|
2148
2405
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2149
2406
|
quotaUser?: string;
|
|
2150
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
2407
|
+
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
|
|
2151
2408
|
returnPartialSuccess?: boolean;
|
|
2152
2409
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2153
2410
|
upload_protocol?: string;
|
|
@@ -3823,6 +4080,7 @@ declare namespace gapi.client {
|
|
|
3823
4080
|
activeDirectories: ActiveDirectoriesResource;
|
|
3824
4081
|
backupPolicies: BackupPoliciesResource;
|
|
3825
4082
|
backupVaults: BackupVaultsResource;
|
|
4083
|
+
hostGroups: HostGroupsResource;
|
|
3826
4084
|
kmsConfigs: KmsConfigsResource;
|
|
3827
4085
|
operations: OperationsResource;
|
|
3828
4086
|
storagePools: StoragePoolsResource;
|