google-apis-netapp_v1 0.29.0 → 0.31.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e646c3bb2bcf57354ea614636d0635763ceb250b91ea5bfc89640c4deb93b4ee
4
- data.tar.gz: c274620f19fd12f8bf454fb60c5086efe70dfe512c21c147321ff14692187f32
3
+ metadata.gz: 392ffc9e725356eab8ad78de1bb3489ad170c1046176bb58e00cee21ca973c09
4
+ data.tar.gz: 4863d19f7a2c53c9f8c4800683bdb5454cce994bdc4a68f9b1a037ff8ddcc5d8
5
5
  SHA512:
6
- metadata.gz: a31e9db1ef9c956222b545b9fd15503c27813b2e80b5d8b97d7abcd7c6b3e545a71b6e888d3edca2d82a747cb1644a43aff74675acf4ca7a964e0e4a5a192b44
7
- data.tar.gz: 37ba6ac8335dfdb114bb598ca0513393563360f40a363a0b07bceadfcf4c258e89ac6b324a5a008a5c521de1215bbffff15c9e907cecb96a6ec1f88c924d208e
6
+ metadata.gz: 9516280b5f4a79fbe8455e4dd321def29b436020983411eda231960c696506ab52564b36aba7408e2a355addc0d40afda3635dfae1babbc83640b63a6acc8ab2
7
+ data.tar.gz: 1cb8322f51e5ae394ad98aedbaf133eb1f78244152c2ace4ba7d97b7677f3a3e9b3b2db8b010fb93adfcc91a13f0bf32a12a3db805f375a8c62c6a37ca83cc20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.31.0 (2026-05-24)
4
+
5
+ * Regenerated from discovery document revision 20260518
6
+
7
+ ### v0.30.0 (2026-05-17)
8
+
9
+ * Regenerated from discovery document revision 20260513
10
+
3
11
  ### v0.29.0 (2026-05-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20260426
@@ -228,6 +228,11 @@ module Google
228
228
  # @return [String]
229
229
  attr_accessor :name
230
230
 
231
+ # Represents ONTAP source details.
232
+ # Corresponds to the JSON property `ontapSource`
233
+ # @return [Google::Apis::NetappV1::OntapSource]
234
+ attr_accessor :ontap_source
235
+
231
236
  # Output only. Reserved for future use
232
237
  # Corresponds to the JSON property `satisfiesPzi`
233
238
  # @return [Boolean]
@@ -248,9 +253,9 @@ module Google
248
253
  # @return [String]
249
254
  attr_accessor :source_snapshot
250
255
 
251
- # Volume full name of this backup belongs to. Either source_volume or
252
- # ontap_source should be provided. Format: `projects/`projects_id`/locations/`
253
- # location`/volumes/`volume_id``
256
+ # The resource name of the volume that this backup belongs to. You must provide
257
+ # either `source_volume` or `ontap_source`. Format: `projects/`project_id`/
258
+ # locations/`location`/volumes/`volume_id``
254
259
  # Corresponds to the JSON property `sourceVolume`
255
260
  # @return [String]
256
261
  attr_accessor :source_volume
@@ -287,6 +292,7 @@ module Google
287
292
  @enforced_retention_end_time = args[:enforced_retention_end_time] if args.key?(:enforced_retention_end_time)
288
293
  @labels = args[:labels] if args.key?(:labels)
289
294
  @name = args[:name] if args.key?(:name)
295
+ @ontap_source = args[:ontap_source] if args.key?(:ontap_source)
290
296
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
291
297
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
292
298
  @source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
@@ -473,6 +479,33 @@ module Google
473
479
  end
474
480
  end
475
481
 
482
+ # Represents the backup source of the restore operation.
483
+ class BackupSource
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # Required. The backup resource name.
487
+ # Corresponds to the JSON property `backup`
488
+ # @return [String]
489
+ attr_accessor :backup
490
+
491
+ # Optional. List of files to be restored in the form of their absolute path as
492
+ # in source volume. If provided, only these files will be restored. If not
493
+ # provided, the entire backup will be restored (Full Backup Restore)
494
+ # Corresponds to the JSON property `fileList`
495
+ # @return [Array<String>]
496
+ attr_accessor :file_list
497
+
498
+ def initialize(**args)
499
+ update!(**args)
500
+ end
501
+
502
+ # Update properties of this object
503
+ def update!(**args)
504
+ @backup = args[:backup] if args.key?(:backup)
505
+ @file_list = args[:file_list] if args.key?(:file_list)
506
+ end
507
+ end
508
+
476
509
  # A NetApp BackupVault.
477
510
  class BackupVault
478
511
  include Google::Apis::Core::Hashable
@@ -984,7 +1017,7 @@ module Google
984
1017
  # @return [String]
985
1018
  attr_accessor :peer_cluster_name
986
1019
 
987
- # Optional. List of IPv4 ip addresses to be used for peering.
1020
+ # Optional. List of IPv4 IP addresses to be used for peering.
988
1021
  # Corresponds to the JSON property `peerIpAddresses`
989
1022
  # @return [Array<String>]
990
1023
  attr_accessor :peer_ip_addresses
@@ -1432,7 +1465,7 @@ module Google
1432
1465
  # @return [Hash<String,String>]
1433
1466
  attr_accessor :labels
1434
1467
 
1435
- # Identifier. Name of the KmsConfig. Format: `projects/`project`/locations/`
1468
+ # Identifier. Name of the `KmsConfig`. Format: `projects/`project`/locations/`
1436
1469
  # location`/kmsConfigs/`kms_config``
1437
1470
  # Corresponds to the JSON property `name`
1438
1471
  # @return [String]
@@ -1473,7 +1506,7 @@ module Google
1473
1506
  end
1474
1507
 
1475
1508
  # Configuration for a Large Capacity Volume. A Large Capacity Volume supports
1476
- # sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal
1509
+ # sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal
1477
1510
  # constituents, and must be created in a large capacity pool.
1478
1511
  class LargeCapacityConfig
1479
1512
  include Google::Apis::Core::Hashable
@@ -1525,6 +1558,38 @@ module Google
1525
1558
  end
1526
1559
  end
1527
1560
 
1561
+ # Message for response to listing BackupConfigs in an ONTAP StoragePool.
1562
+ class ListBackupConfigsResponse
1563
+ include Google::Apis::Core::Hashable
1564
+
1565
+ # The token you can use to retrieve the next page of results. Not returned if
1566
+ # there are no more results in the list.
1567
+ # Corresponds to the JSON property `nextPageToken`
1568
+ # @return [String]
1569
+ attr_accessor :next_page_token
1570
+
1571
+ # Unordered list. Locations that could not be reached.
1572
+ # Corresponds to the JSON property `unreachable`
1573
+ # @return [Array<String>]
1574
+ attr_accessor :unreachable
1575
+
1576
+ # A list of backup configurations for volumes in the pool.
1577
+ # Corresponds to the JSON property `volumeBackupConfigs`
1578
+ # @return [Array<Google::Apis::NetappV1::VolumeBackupConfig>]
1579
+ attr_accessor :volume_backup_configs
1580
+
1581
+ def initialize(**args)
1582
+ update!(**args)
1583
+ end
1584
+
1585
+ # Update properties of this object
1586
+ def update!(**args)
1587
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1588
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1589
+ @volume_backup_configs = args[:volume_backup_configs] if args.key?(:volume_backup_configs)
1590
+ end
1591
+ end
1592
+
1528
1593
  # ListBackupPoliciesResponse contains all the backup policies requested.
1529
1594
  class ListBackupPoliciesResponse
1530
1595
  include Google::Apis::Core::Hashable
@@ -2066,6 +2131,64 @@ module Google
2066
2131
  end
2067
2132
  end
2068
2133
 
2134
+ # Represents ONTAP source details.
2135
+ class OntapSource
2136
+ include Google::Apis::Core::Hashable
2137
+
2138
+ # Optional. The UUID of the ONTAP source snapshot.
2139
+ # Corresponds to the JSON property `snapshotUuid`
2140
+ # @return [String]
2141
+ attr_accessor :snapshot_uuid
2142
+
2143
+ # Required. Name of the storage pool. This must be specified for creating
2144
+ # backups for ONTAP mode volumes. Format: `projects/`projects_id`/locations/`
2145
+ # location`/storagePools/`storage_pool_id``
2146
+ # Corresponds to the JSON property `storagePool`
2147
+ # @return [String]
2148
+ attr_accessor :storage_pool
2149
+
2150
+ # Required. The UUID of the ONTAP source volume.
2151
+ # Corresponds to the JSON property `volumeUuid`
2152
+ # @return [String]
2153
+ attr_accessor :volume_uuid
2154
+
2155
+ def initialize(**args)
2156
+ update!(**args)
2157
+ end
2158
+
2159
+ # Update properties of this object
2160
+ def update!(**args)
2161
+ @snapshot_uuid = args[:snapshot_uuid] if args.key?(:snapshot_uuid)
2162
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
2163
+ @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
2164
+ end
2165
+ end
2166
+
2167
+ # Represents the ONTAP volume target of the restore operation.
2168
+ class OntapVolumeTarget
2169
+ include Google::Apis::Core::Hashable
2170
+
2171
+ # Optional. Absolute directory path in the destination volume.
2172
+ # Corresponds to the JSON property `restoreDestinationPath`
2173
+ # @return [String]
2174
+ attr_accessor :restore_destination_path
2175
+
2176
+ # Required. The UUID of the ONTAP volume to restore to.
2177
+ # Corresponds to the JSON property `volumeUuid`
2178
+ # @return [String]
2179
+ attr_accessor :volume_uuid
2180
+
2181
+ def initialize(**args)
2182
+ update!(**args)
2183
+ end
2184
+
2185
+ # Update properties of this object
2186
+ def update!(**args)
2187
+ @restore_destination_path = args[:restore_destination_path] if args.key?(:restore_destination_path)
2188
+ @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
2189
+ end
2190
+ end
2191
+
2069
2192
  # This resource represents a long-running operation that is the result of a
2070
2193
  # network API call.
2071
2194
  class Operation
@@ -2429,8 +2552,8 @@ module Google
2429
2552
 
2430
2553
  # Full name of the backup resource. Format for standard backup: projects/`
2431
2554
  # project`/locations/`location`/backupVaults/`backup_vault_id`/backups/`
2432
- # backup_id` Format for BackupDR backup: projects/`project`/locations/`location`/
2433
- # backupVaults/`backup_vault`/dataSources/`data_source`/backups/`backup`
2555
+ # backup_id`. Format for BackupDR backup: projects/`project`/locations/`location`
2556
+ # /backupVaults/`backup_vault`/dataSources/`data_source`/backups/`backup`
2434
2557
  # Corresponds to the JSON property `sourceBackup`
2435
2558
  # @return [String]
2436
2559
  attr_accessor :source_backup
@@ -2452,6 +2575,31 @@ module Google
2452
2575
  end
2453
2576
  end
2454
2577
 
2578
+ # Request message for `RestoreVolume` API.
2579
+ class RestoreVolumeRequest
2580
+ include Google::Apis::Core::Hashable
2581
+
2582
+ # Represents the backup source of the restore operation.
2583
+ # Corresponds to the JSON property `backupSource`
2584
+ # @return [Google::Apis::NetappV1::BackupSource]
2585
+ attr_accessor :backup_source
2586
+
2587
+ # Represents the ONTAP volume target of the restore operation.
2588
+ # Corresponds to the JSON property `ontapVolumeTarget`
2589
+ # @return [Google::Apis::NetappV1::OntapVolumeTarget]
2590
+ attr_accessor :ontap_volume_target
2591
+
2592
+ def initialize(**args)
2593
+ update!(**args)
2594
+ end
2595
+
2596
+ # Update properties of this object
2597
+ def update!(**args)
2598
+ @backup_source = args[:backup_source] if args.key?(:backup_source)
2599
+ @ontap_volume_target = args[:ontap_volume_target] if args.key?(:ontap_volume_target)
2600
+ end
2601
+ end
2602
+
2455
2603
  # ResumeReplicationRequest resumes a stopped replication.
2456
2604
  class ResumeReplicationRequest
2457
2605
  include Google::Apis::Core::Hashable
@@ -2886,7 +3034,7 @@ module Google
2886
3034
  alias_method :ldap_enabled?, :ldap_enabled
2887
3035
 
2888
3036
  # Optional. Mode of the storage pool. This field is used to control whether the
2889
- # user can perform the ONTAP operations on the storage pool using the GCNV ONTAP
3037
+ # user can perform ONTAP operations on the storage pool using the GCNV ONTAP
2890
3038
  # Mode APIs. If not specified during creation, it defaults to `DEFAULT`.
2891
3039
  # Corresponds to the JSON property `mode`
2892
3040
  # @return [String]
@@ -3152,6 +3300,40 @@ module Google
3152
3300
  end
3153
3301
  end
3154
3302
 
3303
+ # Request message for UpdateBackupConfig
3304
+ class UpdateBackupConfigRequest
3305
+ include Google::Apis::Core::Hashable
3306
+
3307
+ # BackupConfig contains backup related config on a volume.
3308
+ # Corresponds to the JSON property `backupConfig`
3309
+ # @return [Google::Apis::NetappV1::BackupConfig]
3310
+ attr_accessor :backup_config
3311
+
3312
+ # Required. Field mask is used to specify the fields to be overwritten in the
3313
+ # BackupConfig for the Volume. The fields specified in the update_mask are
3314
+ # relative to the resource, not the full request. A field will be overwritten if
3315
+ # it is in the mask.
3316
+ # Corresponds to the JSON property `updateMask`
3317
+ # @return [String]
3318
+ attr_accessor :update_mask
3319
+
3320
+ # Required. The UUID of the ONTAP-mode volume.
3321
+ # Corresponds to the JSON property `volumeUuid`
3322
+ # @return [String]
3323
+ attr_accessor :volume_uuid
3324
+
3325
+ def initialize(**args)
3326
+ update!(**args)
3327
+ end
3328
+
3329
+ # Update properties of this object
3330
+ def update!(**args)
3331
+ @backup_config = args[:backup_config] if args.key?(:backup_config)
3332
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
3333
+ @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
3334
+ end
3335
+ end
3336
+
3155
3337
  # UserCommands contains the commands to be executed by the customer.
3156
3338
  class UserCommands
3157
3339
  include Google::Apis::Core::Hashable
@@ -3343,7 +3525,7 @@ module Google
3343
3525
  alias_method :large_capacity?, :large_capacity
3344
3526
 
3345
3527
  # Configuration for a Large Capacity Volume. A Large Capacity Volume supports
3346
- # sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple internal
3528
+ # sizes ranging from 4.8 TiB to 20 PiB; it is composed of multiple internal
3347
3529
  # constituents, and must be created in a large capacity pool.
3348
3530
  # Corresponds to the JSON property `largeCapacityConfig`
3349
3531
  # @return [Google::Apis::NetappV1::LargeCapacityConfig]
@@ -3539,6 +3721,31 @@ module Google
3539
3721
  end
3540
3722
  end
3541
3723
 
3724
+ # Backup configuration for a volume in a pool.
3725
+ class VolumeBackupConfig
3726
+ include Google::Apis::Core::Hashable
3727
+
3728
+ # BackupConfig contains backup related config on a volume.
3729
+ # Corresponds to the JSON property `backupConfig`
3730
+ # @return [Google::Apis::NetappV1::BackupConfig]
3731
+ attr_accessor :backup_config
3732
+
3733
+ # Provides the Ontap UUID of the volume within the pool.
3734
+ # Corresponds to the JSON property `volumeUuid`
3735
+ # @return [String]
3736
+ attr_accessor :volume_uuid
3737
+
3738
+ def initialize(**args)
3739
+ update!(**args)
3740
+ end
3741
+
3742
+ # Update properties of this object
3743
+ def update!(**args)
3744
+ @backup_config = args[:backup_config] if args.key?(:backup_config)
3745
+ @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid)
3746
+ end
3747
+ end
3748
+
3542
3749
  # Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
3543
3750
  class WeeklySchedule
3544
3751
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetappV1
18
18
  # Version of the google-apis-netapp_v1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260426"
25
+ REVISION = "20260518"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BackupSource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BackupVault
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -214,6 +220,12 @@ module Google
214
220
  include Google::Apis::Core::JsonObjectSupport
215
221
  end
216
222
 
223
+ class ListBackupConfigsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class ListBackupPoliciesResponse
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -310,6 +322,18 @@ module Google
310
322
  include Google::Apis::Core::JsonObjectSupport
311
323
  end
312
324
 
325
+ class OntapSource
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class OntapVolumeTarget
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class Operation
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -346,6 +370,12 @@ module Google
346
370
  include Google::Apis::Core::JsonObjectSupport
347
371
  end
348
372
 
373
+ class RestoreVolumeRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
349
379
  class ResumeReplicationRequest
350
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
381
 
@@ -424,6 +454,12 @@ module Google
424
454
  include Google::Apis::Core::JsonObjectSupport
425
455
  end
426
456
 
457
+ class UpdateBackupConfigRequest
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
427
463
  class UserCommands
428
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
465
 
@@ -454,6 +490,12 @@ module Google
454
490
  include Google::Apis::Core::JsonObjectSupport
455
491
  end
456
492
 
493
+ class VolumeBackupConfig
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
457
499
  class WeeklySchedule
458
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
501
 
@@ -499,6 +541,8 @@ module Google
499
541
  property :enforced_retention_end_time, as: 'enforcedRetentionEndTime'
500
542
  hash :labels, as: 'labels'
501
543
  property :name, as: 'name'
544
+ property :ontap_source, as: 'ontapSource', class: Google::Apis::NetappV1::OntapSource, decorator: Google::Apis::NetappV1::OntapSource::Representation
545
+
502
546
  property :satisfies_pzi, as: 'satisfiesPzi'
503
547
  property :satisfies_pzs, as: 'satisfiesPzs'
504
548
  property :source_snapshot, as: 'sourceSnapshot'
@@ -546,6 +590,14 @@ module Google
546
590
  end
547
591
  end
548
592
 
593
+ class BackupSource
594
+ # @private
595
+ class Representation < Google::Apis::Core::JsonRepresentation
596
+ property :backup, as: 'backup'
597
+ collection :file_list, as: 'fileList'
598
+ end
599
+ end
600
+
549
601
  class BackupVault
550
602
  # @private
551
603
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -818,6 +870,16 @@ module Google
818
870
  end
819
871
  end
820
872
 
873
+ class ListBackupConfigsResponse
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :next_page_token, as: 'nextPageToken'
877
+ collection :unreachable, as: 'unreachable'
878
+ collection :volume_backup_configs, as: 'volumeBackupConfigs', class: Google::Apis::NetappV1::VolumeBackupConfig, decorator: Google::Apis::NetappV1::VolumeBackupConfig::Representation
879
+
880
+ end
881
+ end
882
+
821
883
  class ListBackupPoliciesResponse
822
884
  # @private
823
885
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -979,6 +1041,23 @@ module Google
979
1041
  end
980
1042
  end
981
1043
 
1044
+ class OntapSource
1045
+ # @private
1046
+ class Representation < Google::Apis::Core::JsonRepresentation
1047
+ property :snapshot_uuid, as: 'snapshotUuid'
1048
+ property :storage_pool, as: 'storagePool'
1049
+ property :volume_uuid, as: 'volumeUuid'
1050
+ end
1051
+ end
1052
+
1053
+ class OntapVolumeTarget
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ property :restore_destination_path, as: 'restoreDestinationPath'
1057
+ property :volume_uuid, as: 'volumeUuid'
1058
+ end
1059
+ end
1060
+
982
1061
  class Operation
983
1062
  # @private
984
1063
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1064,6 +1143,16 @@ module Google
1064
1143
  end
1065
1144
  end
1066
1145
 
1146
+ class RestoreVolumeRequest
1147
+ # @private
1148
+ class Representation < Google::Apis::Core::JsonRepresentation
1149
+ property :backup_source, as: 'backupSource', class: Google::Apis::NetappV1::BackupSource, decorator: Google::Apis::NetappV1::BackupSource::Representation
1150
+
1151
+ property :ontap_volume_target, as: 'ontapVolumeTarget', class: Google::Apis::NetappV1::OntapVolumeTarget, decorator: Google::Apis::NetappV1::OntapVolumeTarget::Representation
1152
+
1153
+ end
1154
+ end
1155
+
1067
1156
  class ResumeReplicationRequest
1068
1157
  # @private
1069
1158
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1221,6 +1310,16 @@ module Google
1221
1310
  end
1222
1311
  end
1223
1312
 
1313
+ class UpdateBackupConfigRequest
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1317
+
1318
+ property :update_mask, as: 'updateMask'
1319
+ property :volume_uuid, as: 'volumeUuid'
1320
+ end
1321
+ end
1322
+
1224
1323
  class UserCommands
1225
1324
  # @private
1226
1325
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1311,6 +1410,15 @@ module Google
1311
1410
  end
1312
1411
  end
1313
1412
 
1413
+ class VolumeBackupConfig
1414
+ # @private
1415
+ class Representation < Google::Apis::Core::JsonRepresentation
1416
+ property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1417
+
1418
+ property :volume_uuid, as: 'volumeUuid'
1419
+ end
1420
+ end
1421
+
1314
1422
  class WeeklySchedule
1315
1423
  # @private
1316
1424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1251,7 +1251,7 @@ module Google
1251
1251
 
1252
1252
  # Updates the Kms config properties with the full spec
1253
1253
  # @param [String] name
1254
- # Identifier. Name of the KmsConfig. Format: `projects/`project`/locations/`
1254
+ # Identifier. Name of the `KmsConfig`. Format: `projects/`project`/locations/`
1255
1255
  # location`/kmsConfigs/`kms_config``
1256
1256
  # @param [Google::Apis::NetappV1::KmsConfig] kms_config_object
1257
1257
  # @param [String] update_mask
@@ -1658,6 +1658,40 @@ module Google
1658
1658
  execute_or_queue_command(command, &block)
1659
1659
  end
1660
1660
 
1661
+ # Restores a backup to an ONTAP-mode volume.
1662
+ # @param [String] name
1663
+ # Required. The resource name of the ONTAP mode storage pool, in the format of `
1664
+ # projects/`project`/locations/`location`/storagePools/`storage_pool``
1665
+ # @param [Google::Apis::NetappV1::RestoreVolumeRequest] restore_volume_request_object
1666
+ # @param [String] fields
1667
+ # Selector specifying which fields to include in a partial response.
1668
+ # @param [String] quota_user
1669
+ # Available to use for quota purposes for server-side applications. Can be any
1670
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1671
+ # @param [Google::Apis::RequestOptions] options
1672
+ # Request-specific options
1673
+ #
1674
+ # @yield [result, err] Result & error if block supplied
1675
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1676
+ # @yieldparam err [StandardError] error object if request failed
1677
+ #
1678
+ # @return [Google::Apis::NetappV1::Operation]
1679
+ #
1680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1683
+ def restore_storage_pool_volume(name, restore_volume_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1684
+ command = make_simple_command(:post, 'v1/{+name}:restoreVolume', options)
1685
+ command.request_representation = Google::Apis::NetappV1::RestoreVolumeRequest::Representation
1686
+ command.request_object = restore_volume_request_object
1687
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1688
+ command.response_class = Google::Apis::NetappV1::Operation
1689
+ command.params['name'] = name unless name.nil?
1690
+ command.query['fields'] = fields unless fields.nil?
1691
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1692
+ execute_or_queue_command(command, &block)
1693
+ end
1694
+
1661
1695
  # This operation will switch the active/replica zone for a regional storagePool.
1662
1696
  # @param [String] name
1663
1697
  # Required. Name of the storage pool
@@ -1691,6 +1725,40 @@ module Google
1691
1725
  execute_or_queue_command(command, &block)
1692
1726
  end
1693
1727
 
1728
+ # Updates the backup configuration for an ONTAP-mode volume.
1729
+ # @param [String] name
1730
+ # Required. The resource name of the StoragePool, in the format: projects/`
1731
+ # projectNumber`/locations/`locationId`/storagePools/`poolId`
1732
+ # @param [Google::Apis::NetappV1::UpdateBackupConfigRequest] update_backup_config_request_object
1733
+ # @param [String] fields
1734
+ # Selector specifying which fields to include in a partial response.
1735
+ # @param [String] quota_user
1736
+ # Available to use for quota purposes for server-side applications. Can be any
1737
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1738
+ # @param [Google::Apis::RequestOptions] options
1739
+ # Request-specific options
1740
+ #
1741
+ # @yield [result, err] Result & error if block supplied
1742
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1743
+ # @yieldparam err [StandardError] error object if request failed
1744
+ #
1745
+ # @return [Google::Apis::NetappV1::Operation]
1746
+ #
1747
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1748
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1749
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1750
+ def update_storage_pool_backup_config(name, update_backup_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1751
+ command = make_simple_command(:post, 'v1/{+name}:updateBackupConfig', options)
1752
+ command.request_representation = Google::Apis::NetappV1::UpdateBackupConfigRequest::Representation
1753
+ command.request_object = update_backup_config_request_object
1754
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1755
+ command.response_class = Google::Apis::NetappV1::Operation
1756
+ command.params['name'] = name unless name.nil?
1757
+ command.query['fields'] = fields unless fields.nil?
1758
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1759
+ execute_or_queue_command(command, &block)
1760
+ end
1761
+
1694
1762
  # ValidateDirectoryService does a connectivity check for a directory service
1695
1763
  # policy attached to the storage pool.
1696
1764
  # @param [String] name
@@ -1725,7 +1793,54 @@ module Google
1725
1793
  execute_or_queue_command(command, &block)
1726
1794
  end
1727
1795
 
1728
- # `ExecuteOntapDelete` dispatches the ONTAP `DELETE` request to the `StoragePool`
1796
+ # Lists backup configurations for all volumes in an ONTAP-mode Storage Pool.
1797
+ # @param [String] parent
1798
+ # Required. The ONTAP StoragePool for which to retrieve backup configuration
1799
+ # information, in the format `projects/`project`/locations/`location`/
1800
+ # storagePools/`storage_pool``.
1801
+ # @param [String] filter
1802
+ # Optional. The standard list filter.
1803
+ # @param [String] order_by
1804
+ # Optional. Sort results. Supported values are "volume_id" or ""
1805
+ # @param [Fixnum] page_size
1806
+ # Optional. The maximum number of items to return. The service may return fewer
1807
+ # than this value. The maximum value is 1000; values above 1000 will be coerced
1808
+ # to 1000. If unspecified or set to 0, a default of 50 will be used.
1809
+ # @param [String] page_token
1810
+ # Optional. The next_page_token value to use if there are additional results to
1811
+ # retrieve for this list request.
1812
+ # @param [String] fields
1813
+ # Selector specifying which fields to include in a partial response.
1814
+ # @param [String] quota_user
1815
+ # Available to use for quota purposes for server-side applications. Can be any
1816
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1817
+ # @param [Google::Apis::RequestOptions] options
1818
+ # Request-specific options
1819
+ #
1820
+ # @yield [result, err] Result & error if block supplied
1821
+ # @yieldparam result [Google::Apis::NetappV1::ListBackupConfigsResponse] parsed result object
1822
+ # @yieldparam err [StandardError] error object if request failed
1823
+ #
1824
+ # @return [Google::Apis::NetappV1::ListBackupConfigsResponse]
1825
+ #
1826
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1827
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1828
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1829
+ def list_project_location_storage_pool_backup_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1830
+ command = make_simple_command(:get, 'v1/{+parent}/backupConfigs', options)
1831
+ command.response_representation = Google::Apis::NetappV1::ListBackupConfigsResponse::Representation
1832
+ command.response_class = Google::Apis::NetappV1::ListBackupConfigsResponse
1833
+ command.params['parent'] = parent unless parent.nil?
1834
+ command.query['filter'] = filter unless filter.nil?
1835
+ command.query['orderBy'] = order_by unless order_by.nil?
1836
+ command.query['pageSize'] = page_size unless page_size.nil?
1837
+ command.query['pageToken'] = page_token unless page_token.nil?
1838
+ command.query['fields'] = fields unless fields.nil?
1839
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1840
+ execute_or_queue_command(command, &block)
1841
+ end
1842
+
1843
+ # `ExecuteOntapDelete` sends the ONTAP `DELETE` request to the `StoragePool`
1729
1844
  # cluster.
1730
1845
  # @param [String] ontap_path
1731
1846
  # Required. The resource path of the ONTAP resource. Format: `projects/`
@@ -1759,8 +1874,7 @@ module Google
1759
1874
  execute_or_queue_command(command, &block)
1760
1875
  end
1761
1876
 
1762
- # `ExecuteOntapGet` dispatches the ONTAP `GET` request to the `StoragePool`
1763
- # cluster.
1877
+ # `ExecuteOntapGet` sends the ONTAP `GET` request to the `StoragePool` cluster.
1764
1878
  # @param [String] ontap_path
1765
1879
  # Required. The resource path of the ONTAP resource. Format: `projects/`
1766
1880
  # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
@@ -1793,7 +1907,7 @@ module Google
1793
1907
  execute_or_queue_command(command, &block)
1794
1908
  end
1795
1909
 
1796
- # `ExecuteOntapPatch` dispatches the ONTAP `PATCH` request to the `StoragePool`
1910
+ # `ExecuteOntapPatch` sends the ONTAP `PATCH` request to the `StoragePool`
1797
1911
  # cluster.
1798
1912
  # @param [String] ontap_path
1799
1913
  # Required. The resource path of the ONTAP resource. Format: `projects/`
@@ -1830,11 +1944,10 @@ module Google
1830
1944
  execute_or_queue_command(command, &block)
1831
1945
  end
1832
1946
 
1833
- # `ExecuteOntapPost` dispatches the ONTAP `POST` request to the `StoragePool`
1834
- # cluster.
1947
+ # `ExecuteOntapPost` sends the ONTAP `POST` request to the `StoragePool` cluster.
1835
1948
  # @param [String] ontap_path
1836
- # Required. The resource path of the ONTAP resource. Format: `projects/`
1837
- # project_number`/locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1949
+ # Required. The path of the ONTAP resource. Format: `projects/`project_number`/
1950
+ # locations/`location_id`/storagePools/`storage_pool_id`/ontap/`
1838
1951
  # ontap_resource_path``. For example: `projects/123456789/locations/us-central1/
1839
1952
  # storagePools/my-storage-pool/ontap/api/storage/volumes`.
1840
1953
  # @param [Google::Apis::NetappV1::ExecuteOntapPostRequest] execute_ontap_post_request_object
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-netapp_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.29.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.31.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
62
62
  rdoc_options: []
63
63
  require_paths: