@maxim_mazurok/gapi.client.netapp-v1beta1 0.1.20251109 → 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=v1beta1
|
|
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;
|
|
@@ -245,6 +257,24 @@ declare namespace gapi.client {
|
|
|
245
257
|
rules?: SimpleExportPolicyRule[];
|
|
246
258
|
}
|
|
247
259
|
interface GoogleProtobufEmpty {}
|
|
260
|
+
interface HostGroup {
|
|
261
|
+
/** Output only. Create time of the host group. */
|
|
262
|
+
createTime?: string;
|
|
263
|
+
/** Optional. Description of the host group. */
|
|
264
|
+
description?: string;
|
|
265
|
+
/** Required. The list of hosts associated with the host group. */
|
|
266
|
+
hosts?: string[];
|
|
267
|
+
/** Optional. Labels of the host group. */
|
|
268
|
+
labels?: {[P in string]: string};
|
|
269
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
270
|
+
name?: string;
|
|
271
|
+
/** 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. */
|
|
272
|
+
osType?: string;
|
|
273
|
+
/** Output only. State of the host group. */
|
|
274
|
+
state?: string;
|
|
275
|
+
/** Required. Type of the host group. */
|
|
276
|
+
type?: string;
|
|
277
|
+
}
|
|
248
278
|
interface HourlySchedule {
|
|
249
279
|
/** Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0). */
|
|
250
280
|
minute?: number;
|
|
@@ -343,6 +373,14 @@ declare namespace gapi.client {
|
|
|
343
373
|
/** Locations that could not be reached. */
|
|
344
374
|
unreachable?: string[];
|
|
345
375
|
}
|
|
376
|
+
interface ListHostGroupsResponse {
|
|
377
|
+
/** The list of host groups. */
|
|
378
|
+
hostGroups?: HostGroup[];
|
|
379
|
+
/** A token identifying a page of results the server should return. */
|
|
380
|
+
nextPageToken?: string;
|
|
381
|
+
/** Locations that could not be reached. */
|
|
382
|
+
unreachable?: string[];
|
|
383
|
+
}
|
|
346
384
|
interface ListKmsConfigsResponse {
|
|
347
385
|
/** The list of KmsConfigs */
|
|
348
386
|
kmsConfigs?: KmsConfig[];
|
|
@@ -362,7 +400,7 @@ declare namespace gapi.client {
|
|
|
362
400
|
nextPageToken?: string;
|
|
363
401
|
/** A list of operations that matches the specified filter in the request. */
|
|
364
402
|
operations?: Operation[];
|
|
365
|
-
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections
|
|
403
|
+
/** 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. */
|
|
366
404
|
unreachable?: string[];
|
|
367
405
|
}
|
|
368
406
|
interface ListQuotaRulesResponse {
|
|
@@ -678,6 +716,8 @@ declare namespace gapi.client {
|
|
|
678
716
|
totalIops?: string;
|
|
679
717
|
/** Optional. Custom Performance Total Throughput of the pool (in MiBps) */
|
|
680
718
|
totalThroughputMibps?: string;
|
|
719
|
+
/** 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. */
|
|
720
|
+
type?: string;
|
|
681
721
|
/** Output only. Allocated size of all volumes in GIB in the storage pool */
|
|
682
722
|
volumeCapacityGib?: string;
|
|
683
723
|
/** Output only. Volume count of the storage pool */
|
|
@@ -735,6 +775,8 @@ declare namespace gapi.client {
|
|
|
735
775
|
activeDirectory?: string;
|
|
736
776
|
/** BackupConfig of the volume. */
|
|
737
777
|
backupConfig?: BackupConfig;
|
|
778
|
+
/** Optional. Block devices for the volume. Currently, only one block device is permitted per Volume. */
|
|
779
|
+
blockDevices?: BlockDevice[];
|
|
738
780
|
/** Optional. Cache parameters for the volume. */
|
|
739
781
|
cacheParameters?: CacheParameters;
|
|
740
782
|
/** Required. Capacity in GIB of the volume */
|
|
@@ -1685,6 +1727,221 @@ declare namespace gapi.client {
|
|
|
1685
1727
|
): Request<Operation>;
|
|
1686
1728
|
backups: BackupsResource;
|
|
1687
1729
|
}
|
|
1730
|
+
interface HostGroupsResource {
|
|
1731
|
+
/** Creates a new host group. */
|
|
1732
|
+
create(request: {
|
|
1733
|
+
/** V1 error format. */
|
|
1734
|
+
'$.xgafv'?: string;
|
|
1735
|
+
/** OAuth access token. */
|
|
1736
|
+
access_token?: string;
|
|
1737
|
+
/** Data format for response. */
|
|
1738
|
+
alt?: string;
|
|
1739
|
+
/** JSONP */
|
|
1740
|
+
callback?: string;
|
|
1741
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1742
|
+
fields?: string;
|
|
1743
|
+
/** 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. */
|
|
1744
|
+
hostGroupId?: string;
|
|
1745
|
+
/** 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. */
|
|
1746
|
+
key?: string;
|
|
1747
|
+
/** OAuth 2.0 token for the current user. */
|
|
1748
|
+
oauth_token?: string;
|
|
1749
|
+
/** Required. Parent value for CreateHostGroupRequest */
|
|
1750
|
+
parent: string;
|
|
1751
|
+
/** Returns response with indentations and line breaks. */
|
|
1752
|
+
prettyPrint?: boolean;
|
|
1753
|
+
/** 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. */
|
|
1754
|
+
quotaUser?: string;
|
|
1755
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1756
|
+
upload_protocol?: string;
|
|
1757
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1758
|
+
uploadType?: string;
|
|
1759
|
+
/** Request body */
|
|
1760
|
+
resource: HostGroup;
|
|
1761
|
+
}): Request<Operation>;
|
|
1762
|
+
create(
|
|
1763
|
+
request: {
|
|
1764
|
+
/** V1 error format. */
|
|
1765
|
+
'$.xgafv'?: string;
|
|
1766
|
+
/** OAuth access token. */
|
|
1767
|
+
access_token?: string;
|
|
1768
|
+
/** Data format for response. */
|
|
1769
|
+
alt?: string;
|
|
1770
|
+
/** JSONP */
|
|
1771
|
+
callback?: string;
|
|
1772
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1773
|
+
fields?: string;
|
|
1774
|
+
/** 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. */
|
|
1775
|
+
hostGroupId?: string;
|
|
1776
|
+
/** 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. */
|
|
1777
|
+
key?: string;
|
|
1778
|
+
/** OAuth 2.0 token for the current user. */
|
|
1779
|
+
oauth_token?: string;
|
|
1780
|
+
/** Required. Parent value for CreateHostGroupRequest */
|
|
1781
|
+
parent: string;
|
|
1782
|
+
/** Returns response with indentations and line breaks. */
|
|
1783
|
+
prettyPrint?: boolean;
|
|
1784
|
+
/** 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. */
|
|
1785
|
+
quotaUser?: string;
|
|
1786
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1787
|
+
upload_protocol?: string;
|
|
1788
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1789
|
+
uploadType?: string;
|
|
1790
|
+
},
|
|
1791
|
+
body: HostGroup,
|
|
1792
|
+
): Request<Operation>;
|
|
1793
|
+
/** Deletes a host group. */
|
|
1794
|
+
delete(request?: {
|
|
1795
|
+
/** V1 error format. */
|
|
1796
|
+
'$.xgafv'?: string;
|
|
1797
|
+
/** OAuth access token. */
|
|
1798
|
+
access_token?: string;
|
|
1799
|
+
/** Data format for response. */
|
|
1800
|
+
alt?: string;
|
|
1801
|
+
/** JSONP */
|
|
1802
|
+
callback?: string;
|
|
1803
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1804
|
+
fields?: string;
|
|
1805
|
+
/** 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. */
|
|
1806
|
+
key?: string;
|
|
1807
|
+
/** Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1808
|
+
name: string;
|
|
1809
|
+
/** OAuth 2.0 token for the current user. */
|
|
1810
|
+
oauth_token?: string;
|
|
1811
|
+
/** Returns response with indentations and line breaks. */
|
|
1812
|
+
prettyPrint?: boolean;
|
|
1813
|
+
/** 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. */
|
|
1814
|
+
quotaUser?: string;
|
|
1815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1816
|
+
upload_protocol?: string;
|
|
1817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1818
|
+
uploadType?: string;
|
|
1819
|
+
}): Request<Operation>;
|
|
1820
|
+
/** Returns details of the specified host group. */
|
|
1821
|
+
get(request?: {
|
|
1822
|
+
/** V1 error format. */
|
|
1823
|
+
'$.xgafv'?: string;
|
|
1824
|
+
/** OAuth access token. */
|
|
1825
|
+
access_token?: string;
|
|
1826
|
+
/** Data format for response. */
|
|
1827
|
+
alt?: string;
|
|
1828
|
+
/** JSONP */
|
|
1829
|
+
callback?: string;
|
|
1830
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1831
|
+
fields?: string;
|
|
1832
|
+
/** 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. */
|
|
1833
|
+
key?: string;
|
|
1834
|
+
/** Required. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1835
|
+
name: string;
|
|
1836
|
+
/** OAuth 2.0 token for the current user. */
|
|
1837
|
+
oauth_token?: string;
|
|
1838
|
+
/** Returns response with indentations and line breaks. */
|
|
1839
|
+
prettyPrint?: boolean;
|
|
1840
|
+
/** 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. */
|
|
1841
|
+
quotaUser?: string;
|
|
1842
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1843
|
+
upload_protocol?: string;
|
|
1844
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1845
|
+
uploadType?: string;
|
|
1846
|
+
}): Request<HostGroup>;
|
|
1847
|
+
/** Returns a list of host groups in a location. Use '-' as location to list host groups across all locations. */
|
|
1848
|
+
list(request?: {
|
|
1849
|
+
/** V1 error format. */
|
|
1850
|
+
'$.xgafv'?: string;
|
|
1851
|
+
/** OAuth access token. */
|
|
1852
|
+
access_token?: string;
|
|
1853
|
+
/** Data format for response. */
|
|
1854
|
+
alt?: string;
|
|
1855
|
+
/** JSONP */
|
|
1856
|
+
callback?: string;
|
|
1857
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1858
|
+
fields?: string;
|
|
1859
|
+
/** Optional. Filter to apply to the request. */
|
|
1860
|
+
filter?: string;
|
|
1861
|
+
/** 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. */
|
|
1862
|
+
key?: string;
|
|
1863
|
+
/** OAuth 2.0 token for the current user. */
|
|
1864
|
+
oauth_token?: string;
|
|
1865
|
+
/** Optional. Hint for how to order the results */
|
|
1866
|
+
orderBy?: string;
|
|
1867
|
+
/** Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default. */
|
|
1868
|
+
pageSize?: number;
|
|
1869
|
+
/** Optional. A token identifying a page of results the server should return. */
|
|
1870
|
+
pageToken?: string;
|
|
1871
|
+
/** Required. Parent value for ListHostGroupsRequest */
|
|
1872
|
+
parent: string;
|
|
1873
|
+
/** Returns response with indentations and line breaks. */
|
|
1874
|
+
prettyPrint?: boolean;
|
|
1875
|
+
/** 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. */
|
|
1876
|
+
quotaUser?: string;
|
|
1877
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1878
|
+
upload_protocol?: string;
|
|
1879
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1880
|
+
uploadType?: string;
|
|
1881
|
+
}): Request<ListHostGroupsResponse>;
|
|
1882
|
+
/** Updates an existing host group. */
|
|
1883
|
+
patch(request: {
|
|
1884
|
+
/** V1 error format. */
|
|
1885
|
+
'$.xgafv'?: string;
|
|
1886
|
+
/** OAuth access token. */
|
|
1887
|
+
access_token?: string;
|
|
1888
|
+
/** Data format for response. */
|
|
1889
|
+
alt?: string;
|
|
1890
|
+
/** JSONP */
|
|
1891
|
+
callback?: string;
|
|
1892
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1893
|
+
fields?: string;
|
|
1894
|
+
/** 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. */
|
|
1895
|
+
key?: string;
|
|
1896
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1897
|
+
name: string;
|
|
1898
|
+
/** OAuth 2.0 token for the current user. */
|
|
1899
|
+
oauth_token?: string;
|
|
1900
|
+
/** Returns response with indentations and line breaks. */
|
|
1901
|
+
prettyPrint?: boolean;
|
|
1902
|
+
/** 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. */
|
|
1903
|
+
quotaUser?: string;
|
|
1904
|
+
/** Optional. The list of fields to update. */
|
|
1905
|
+
updateMask?: string;
|
|
1906
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1907
|
+
upload_protocol?: string;
|
|
1908
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1909
|
+
uploadType?: string;
|
|
1910
|
+
/** Request body */
|
|
1911
|
+
resource: HostGroup;
|
|
1912
|
+
}): Request<Operation>;
|
|
1913
|
+
patch(
|
|
1914
|
+
request: {
|
|
1915
|
+
/** V1 error format. */
|
|
1916
|
+
'$.xgafv'?: string;
|
|
1917
|
+
/** OAuth access token. */
|
|
1918
|
+
access_token?: string;
|
|
1919
|
+
/** Data format for response. */
|
|
1920
|
+
alt?: string;
|
|
1921
|
+
/** JSONP */
|
|
1922
|
+
callback?: string;
|
|
1923
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1924
|
+
fields?: string;
|
|
1925
|
+
/** 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. */
|
|
1926
|
+
key?: string;
|
|
1927
|
+
/** Identifier. The resource name of the host group. Format: `projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}`. */
|
|
1928
|
+
name: string;
|
|
1929
|
+
/** OAuth 2.0 token for the current user. */
|
|
1930
|
+
oauth_token?: string;
|
|
1931
|
+
/** Returns response with indentations and line breaks. */
|
|
1932
|
+
prettyPrint?: boolean;
|
|
1933
|
+
/** 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. */
|
|
1934
|
+
quotaUser?: string;
|
|
1935
|
+
/** Optional. The list of fields to update. */
|
|
1936
|
+
updateMask?: string;
|
|
1937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1938
|
+
upload_protocol?: string;
|
|
1939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1940
|
+
uploadType?: string;
|
|
1941
|
+
},
|
|
1942
|
+
body: HostGroup,
|
|
1943
|
+
): Request<Operation>;
|
|
1944
|
+
}
|
|
1688
1945
|
interface KmsConfigsResource {
|
|
1689
1946
|
/** Creates a new KMS config. */
|
|
1690
1947
|
create(request: {
|
|
@@ -2157,7 +2414,7 @@ declare namespace gapi.client {
|
|
|
2157
2414
|
prettyPrint?: boolean;
|
|
2158
2415
|
/** 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. */
|
|
2159
2416
|
quotaUser?: string;
|
|
2160
|
-
/** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the
|
|
2417
|
+
/** 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. */
|
|
2161
2418
|
returnPartialSuccess?: boolean;
|
|
2162
2419
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2163
2420
|
upload_protocol?: string;
|
|
@@ -3891,6 +4148,7 @@ declare namespace gapi.client {
|
|
|
3891
4148
|
activeDirectories: ActiveDirectoriesResource;
|
|
3892
4149
|
backupPolicies: BackupPoliciesResource;
|
|
3893
4150
|
backupVaults: BackupVaultsResource;
|
|
4151
|
+
hostGroups: HostGroupsResource;
|
|
3894
4152
|
kmsConfigs: KmsConfigsResource;
|
|
3895
4153
|
operations: OperationsResource;
|
|
3896
4154
|
storagePools: StoragePoolsResource;
|