Skip to content

Commit 35ab631

Browse files
yoshi-automationquirogas
authored andcommitted
feat(netapp): update the API
#### netapp:v1beta1 The following keys were added: - schemas.BackupVault.properties.backupsCryptoKeyVersion.description - schemas.BackupVault.properties.backupsCryptoKeyVersion.readOnly - schemas.BackupVault.properties.backupsCryptoKeyVersion.type - schemas.BackupVault.properties.encryptionState.description - schemas.BackupVault.properties.encryptionState.enum - schemas.BackupVault.properties.encryptionState.enumDescriptions - schemas.BackupVault.properties.encryptionState.readOnly - schemas.BackupVault.properties.encryptionState.type - schemas.BackupVault.properties.kmsConfig.description - schemas.BackupVault.properties.kmsConfig.type - schemas.CacheConfig.properties.cachePrePopulate.$ref - schemas.CacheConfig.properties.cachePrePopulate.description - schemas.CacheConfig.properties.cachePrePopulateState.description - schemas.CacheConfig.properties.cachePrePopulateState.enum - schemas.CacheConfig.properties.cachePrePopulateState.enumDescriptions - schemas.CacheConfig.properties.cachePrePopulateState.readOnly - schemas.CacheConfig.properties.cachePrePopulateState.type - schemas.CacheConfig.properties.writebackEnabled.description - schemas.CacheConfig.properties.writebackEnabled.type - schemas.CachePrePopulate.description - schemas.CachePrePopulate.id - schemas.CachePrePopulate.properties.excludePathList.description - schemas.CachePrePopulate.properties.excludePathList.items.type - schemas.CachePrePopulate.properties.excludePathList.type - schemas.CachePrePopulate.properties.pathList.description - schemas.CachePrePopulate.properties.pathList.items.type - schemas.CachePrePopulate.properties.pathList.type - schemas.CachePrePopulate.properties.recursion.description - schemas.CachePrePopulate.properties.recursion.type - schemas.CachePrePopulate.type The following keys were changed: - endpoints - resources.projects.resources.locations.resources.hostGroups.methods.list.description - schemas.BlockDevice.properties.identifier.description - schemas.BlockDevice.properties.name.description - schemas.BlockDevice.properties.sizeGib.description - schemas.CacheParameters.properties.enableGlobalFileLock.description - schemas.KmsConfig.properties.cryptoKeyName.description - schemas.RestoreBackupFilesRequest.properties.fileList.description - schemas.RestoreBackupFilesRequest.properties.restoreDestinationPath.description - schemas.SimpleExportPolicyRule.properties.anonUid.description - schemas.SimpleExportPolicyRule.properties.squashMode.enumDescriptions - schemas.StoragePool.properties.type.description - schemas.StoragePool.properties.type.enum - schemas.StoragePool.properties.type.enumDescriptions #### netapp:v1 The following keys were added: - schemas.BackupVault.properties.backupsCryptoKeyVersion.description - schemas.BackupVault.properties.backupsCryptoKeyVersion.readOnly - schemas.BackupVault.properties.backupsCryptoKeyVersion.type - schemas.BackupVault.properties.encryptionState.description - schemas.BackupVault.properties.encryptionState.enum - schemas.BackupVault.properties.encryptionState.enumDescriptions - schemas.BackupVault.properties.encryptionState.readOnly - schemas.BackupVault.properties.encryptionState.type - schemas.BackupVault.properties.kmsConfig.description - schemas.BackupVault.properties.kmsConfig.type - schemas.CacheConfig.properties.cachePrePopulate.$ref - schemas.CacheConfig.properties.cachePrePopulate.description - schemas.CacheConfig.properties.cachePrePopulateState.description - schemas.CacheConfig.properties.cachePrePopulateState.enum - schemas.CacheConfig.properties.cachePrePopulateState.enumDescriptions - schemas.CacheConfig.properties.cachePrePopulateState.readOnly - schemas.CacheConfig.properties.cachePrePopulateState.type - schemas.CacheConfig.properties.writebackEnabled.description - schemas.CacheConfig.properties.writebackEnabled.type - schemas.CachePrePopulate.description - schemas.CachePrePopulate.id - schemas.CachePrePopulate.properties.excludePathList.description - schemas.CachePrePopulate.properties.excludePathList.items.type - schemas.CachePrePopulate.properties.excludePathList.type - schemas.CachePrePopulate.properties.pathList.description - schemas.CachePrePopulate.properties.pathList.items.type - schemas.CachePrePopulate.properties.pathList.type - schemas.CachePrePopulate.properties.recursion.description - schemas.CachePrePopulate.properties.recursion.type - schemas.CachePrePopulate.type The following keys were changed: - endpoints - resources.projects.resources.locations.resources.hostGroups.methods.list.description - schemas.BlockDevice.properties.identifier.description - schemas.BlockDevice.properties.name.description - schemas.BlockDevice.properties.sizeGib.description - schemas.CacheParameters.properties.enableGlobalFileLock.description - schemas.KmsConfig.properties.cryptoKeyName.description - schemas.RestoreBackupFilesRequest.properties.fileList.description - schemas.RestoreBackupFilesRequest.properties.restoreDestinationPath.description - schemas.SimpleExportPolicyRule.properties.anonUid.description - schemas.SimpleExportPolicyRule.properties.squashMode.enumDescriptions - schemas.StoragePool.properties.type.description - schemas.StoragePool.properties.type.enum - schemas.StoragePool.properties.type.enumDescriptions
1 parent 0d1fa41 commit 35ab631

File tree

4 files changed

+322
-48
lines changed

4 files changed

+322
-48
lines changed

discovery/netapp-v1.json

Lines changed: 101 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
"endpointUrl": "https://netapp.europe-north1.rep.googleapis.com/",
8787
"location": "europe-north1"
8888
},
89+
{
90+
"description": "Regional Endpoint",
91+
"endpointUrl": "https://netapp.europe-north2.rep.googleapis.com/",
92+
"location": "europe-north2"
93+
},
8994
{
9095
"description": "Regional Endpoint",
9196
"endpointUrl": "https://netapp.europe-southwest1.rep.googleapis.com/",
@@ -1151,7 +1156,7 @@
11511156
]
11521157
},
11531158
"list": {
1154-
"description": "Returns a list of host groups in a location. Use '-' as location to list host groups across all locations.",
1159+
"description": "Returns a list of host groups in a `location`. Use `-` as location to list host groups across all locations.",
11551160
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/hostGroups",
11561161
"httpMethod": "GET",
11571162
"id": "netapp.projects.locations.hostGroups.list",
@@ -2682,7 +2687,7 @@
26822687
}
26832688
}
26842689
},
2685-
"revision": "20251116",
2690+
"revision": "20251209",
26862691
"rootUrl": "https://netapp.googleapis.com/",
26872692
"schemas": {
26882693
"ActiveDirectory": {
@@ -3084,6 +3089,11 @@
30843089
],
30853090
"type": "string"
30863091
},
3092+
"backupsCryptoKeyVersion": {
3093+
"description": "Output only. The crypto key version used to encrypt the backup vault. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}",
3094+
"readOnly": true,
3095+
"type": "string"
3096+
},
30873097
"createTime": {
30883098
"description": "Output only. Create time of the backup vault.",
30893099
"format": "google-datetime",
@@ -3099,6 +3109,29 @@
30993109
"readOnly": true,
31003110
"type": "string"
31013111
},
3112+
"encryptionState": {
3113+
"description": "Output only. Field indicating encryption state of CMEK backups.",
3114+
"enum": [
3115+
"ENCRYPTION_STATE_UNSPECIFIED",
3116+
"ENCRYPTION_STATE_PENDING",
3117+
"ENCRYPTION_STATE_COMPLETED",
3118+
"ENCRYPTION_STATE_IN_PROGRESS",
3119+
"ENCRYPTION_STATE_FAILED"
3120+
],
3121+
"enumDescriptions": [
3122+
"Encryption state not set.",
3123+
"Encryption state is pending.",
3124+
"Encryption is complete.",
3125+
"Encryption is in progress.",
3126+
"Encryption has failed."
3127+
],
3128+
"readOnly": true,
3129+
"type": "string"
3130+
},
3131+
"kmsConfig": {
3132+
"description": "Optional. Specifies the KMS config to be used for backup encryption. Format: projects/{project}/locations/{location}/kmsConfigs/{kms_config}",
3133+
"type": "string"
3134+
},
31023135
"labels": {
31033136
"additionalProperties": {
31043137
"type": "string"
@@ -3156,12 +3189,12 @@
31563189
"type": "array"
31573190
},
31583191
"identifier": {
3159-
"description": "Output only. Device identifier of the Block volume. This represents lun_serial_number for iSCSI volumes",
3192+
"description": "Output only. Device identifier of the block volume. This represents `lun_serial_number` for iSCSI volumes.",
31603193
"readOnly": true,
31613194
"type": "string"
31623195
},
31633196
"name": {
3164-
"description": "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.",
3197+
"description": "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.",
31653198
"type": "string"
31663199
},
31673200
"osType": {
@@ -3181,7 +3214,7 @@
31813214
"type": "string"
31823215
},
31833216
"sizeGib": {
3184-
"description": "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`.",
3217+
"description": "Optional. The size of the block device in GiB. Any value provided for the `size_gib` 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`.",
31853218
"format": "int64",
31863219
"type": "string"
31873220
}
@@ -3192,9 +3225,36 @@
31923225
"description": "Configuration of the cache volume.",
31933226
"id": "CacheConfig",
31943227
"properties": {
3228+
"cachePrePopulate": {
3229+
"$ref": "CachePrePopulate",
3230+
"description": "Optional. Pre-populate cache volume with data from the origin volume."
3231+
},
3232+
"cachePrePopulateState": {
3233+
"description": "Output only. State of the prepopulation job indicating how the prepopulation is progressing.",
3234+
"enum": [
3235+
"CACHE_PRE_POPULATE_STATE_UNSPECIFIED",
3236+
"NOT_NEEDED",
3237+
"IN_PROGRESS",
3238+
"COMPLETE",
3239+
"ERROR"
3240+
],
3241+
"enumDescriptions": [
3242+
"Default unspecified state.",
3243+
"State representing when the most recent create or update request did not require a prepopulation job.",
3244+
"State representing when the most recent update request requested a prepopulation job but it has not yet completed.",
3245+
"State representing when the most recent update request requested a prepopulation job and it has completed successfully.",
3246+
"State representing when the most recent update request requested a prepopulation job but the prepopulate job failed."
3247+
],
3248+
"readOnly": true,
3249+
"type": "string"
3250+
},
31953251
"cifsChangeNotifyEnabled": {
31963252
"description": "Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.",
31973253
"type": "boolean"
3254+
},
3255+
"writebackEnabled": {
3256+
"description": "Optional. Flag indicating whether writeback is enabled for the FlexCache volume.",
3257+
"type": "boolean"
31983258
}
31993259
},
32003260
"type": "object"
@@ -3232,7 +3292,7 @@
32323292
"type": "string"
32333293
},
32343294
"enableGlobalFileLock": {
3235-
"description": "Optional. Field indicating whether cache volume as global file lock enabled.",
3295+
"description": "Optional. Indicates whether the cache volume has global file lock enabled.",
32363296
"type": "boolean"
32373297
},
32383298
"passphrase": {
@@ -3272,6 +3332,31 @@
32723332
},
32733333
"type": "object"
32743334
},
3335+
"CachePrePopulate": {
3336+
"description": "Pre-populate cache volume with data from the origin volume.",
3337+
"id": "CachePrePopulate",
3338+
"properties": {
3339+
"excludePathList": {
3340+
"description": "Optional. List of directory-paths to be excluded for pre-population for the FlexCache volume.",
3341+
"items": {
3342+
"type": "string"
3343+
},
3344+
"type": "array"
3345+
},
3346+
"pathList": {
3347+
"description": "Optional. List of directory-paths to be pre-populated for the FlexCache volume.",
3348+
"items": {
3349+
"type": "string"
3350+
},
3351+
"type": "array"
3352+
},
3353+
"recursion": {
3354+
"description": "Optional. Flag indicating whether the directories listed with the pathList need to be recursively pre-populated.",
3355+
"type": "boolean"
3356+
}
3357+
},
3358+
"type": "object"
3359+
},
32753360
"CancelOperationRequest": {
32763361
"description": "The request message for Operations.CancelOperation.",
32773362
"id": "CancelOperationRequest",
@@ -3618,7 +3703,7 @@
36183703
"type": "string"
36193704
},
36203705
"cryptoKeyName": {
3621-
"description": "Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.",
3706+
"description": "Required. Customer managed crypto key resource full name. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.",
36223707
"type": "string"
36233708
},
36243709
"description": {
@@ -4505,14 +4590,14 @@
45054590
"type": "string"
45064591
},
45074592
"fileList": {
4508-
"description": "Required. List of files to be restored in the form of their absolute path as in source volume.",
4593+
"description": "Required. List of files to be restored, specified by their absolute path in the source volume.",
45094594
"items": {
45104595
"type": "string"
45114596
},
45124597
"type": "array"
45134598
},
45144599
"restoreDestinationPath": {
4515-
"description": "Optional. Absolute directory path in the destination volume.",
4600+
"description": "Optional. Absolute directory path in the destination volume. This is required if the `file_list` is provided.",
45164601
"type": "string"
45174602
}
45184603
},
@@ -4581,7 +4666,7 @@
45814666
"type": "string"
45824667
},
45834668
"anonUid": {
4584-
"description": "Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.",
4669+
"description": "Optional. An integer representing the anonymous user ID. Range is 0 to 4294967295. Required when `squash_mode` is `ROOT_SQUASH` or `ALL_SQUASH`.",
45854670
"format": "int64",
45864671
"type": "string"
45874672
},
@@ -4630,7 +4715,7 @@
46304715
"ALL_SQUASH"
46314716
],
46324717
"enumDescriptions": [
4633-
"Defaults to NO_ROOT_SQUASH.",
4718+
"Defaults to `NO_ROOT_SQUASH`.",
46344719
"The root user (UID 0) retains full access. Other users are unaffected.",
46354720
"The root user (UID 0) is squashed to anonymous user ID. Other users are unaffected.",
46364721
"All users are squashed to anonymous user ID."
@@ -4959,16 +5044,18 @@
49595044
"type": "string"
49605045
},
49615046
"type": {
4962-
"description": "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.",
5047+
"description": "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 or `UNIFIED_LARGE_CAPACITY` (both `FILE` and `BLOCK`) volumes with large capacity. If not specified during creation, it defaults to `FILE`.",
49635048
"enum": [
49645049
"STORAGE_POOL_TYPE_UNSPECIFIED",
49655050
"FILE",
4966-
"UNIFIED"
5051+
"UNIFIED",
5052+
"UNIFIED_LARGE_CAPACITY"
49675053
],
49685054
"enumDescriptions": [
49695055
"Storage pool type is not specified.",
49705056
"Storage pool type is file.",
4971-
"Storage pool type is unified."
5057+
"Storage pool type is unified.",
5058+
"Storage pool type is unified large capacity."
49725059
],
49735060
"type": "string"
49745061
},

0 commit comments

Comments
 (0)