google-apis-netapp_v1 0.16.0 → 0.18.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: 65ad862c2395a5ccce8c624cc96134b907fefb4ba825c21ce52eacc322437473
4
- data.tar.gz: 5c69a7e3b2c15af04d410ad3c87a0959afe2219f92c7f8e3641e5e7e5d6a8b69
3
+ metadata.gz: 49e390d4897922bc6f6823a7044498777b1c299dd5c9aed90b43002e9fffbe0d
4
+ data.tar.gz: 99e3cfe3aecdb91fab80de84f5892d1ce7c099a6fa5cf441dde329d52c686b12
5
5
  SHA512:
6
- metadata.gz: 951980371709d59fa5be909682e0e7caca67bcb2577b39cf282d70444798446899926944c21f2966106288d73147776e99fe31d6206bbc8876efa7dabcb58a6f
7
- data.tar.gz: 915abbdbd6f9ad542063d9d1288f8c00aeac979fea29888cb0b5f6e8bcb9fac30d3c8421481f7bdedd3200cd8cd0bdc0b4bfb60c9b7eefdbbf8656ee89834a89
6
+ metadata.gz: 70057a166d97b5e1a723ee71da94118e60bdd1288d3585fc55937ca700ef78f8f3e87e828c0e96bc6f8137f424042c57058c71755b66acb2e337a9177255ba76
7
+ data.tar.gz: 402c84eb2a0824ef2f81dab584f6018cfc222910272502cf21a4974683900df8d930cff4c3fc1561f8ea6f6834af8ef2cbcf456de09b47d606b02957952a1ccb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.18.0 (2025-10-12)
4
+
5
+ * Regenerated from discovery document revision 20251009
6
+
7
+ ### v0.17.0 (2025-09-21)
8
+
9
+ * Regenerated from discovery document revision 20250917
10
+
3
11
  ### v0.16.0 (2025-09-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20250908
@@ -556,6 +556,109 @@ module Google
556
556
  end
557
557
  end
558
558
 
559
+ # Configuration of the cache volume.
560
+ class CacheConfig
561
+ include Google::Apis::Core::Hashable
562
+
563
+ # Optional. Flag indicating whether a CIFS change notification is enabled for
564
+ # the FlexCache volume.
565
+ # Corresponds to the JSON property `cifsChangeNotifyEnabled`
566
+ # @return [Boolean]
567
+ attr_accessor :cifs_change_notify_enabled
568
+ alias_method :cifs_change_notify_enabled?, :cifs_change_notify_enabled
569
+
570
+ def initialize(**args)
571
+ update!(**args)
572
+ end
573
+
574
+ # Update properties of this object
575
+ def update!(**args)
576
+ @cifs_change_notify_enabled = args[:cifs_change_notify_enabled] if args.key?(:cifs_change_notify_enabled)
577
+ end
578
+ end
579
+
580
+ # Cache Parameters for the volume.
581
+ class CacheParameters
582
+ include Google::Apis::Core::Hashable
583
+
584
+ # Configuration of the cache volume.
585
+ # Corresponds to the JSON property `cacheConfig`
586
+ # @return [Google::Apis::NetappV1::CacheConfig]
587
+ attr_accessor :cache_config
588
+
589
+ # Output only. State of the cache volume indicating the peering status.
590
+ # Corresponds to the JSON property `cacheState`
591
+ # @return [String]
592
+ attr_accessor :cache_state
593
+
594
+ # Output only. Copy-paste-able commands to be used on user's ONTAP to accept
595
+ # peering requests.
596
+ # Corresponds to the JSON property `command`
597
+ # @return [String]
598
+ attr_accessor :command
599
+
600
+ # Optional. Field indicating whether cache volume as global file lock enabled.
601
+ # Corresponds to the JSON property `enableGlobalFileLock`
602
+ # @return [Boolean]
603
+ attr_accessor :enable_global_file_lock
604
+ alias_method :enable_global_file_lock?, :enable_global_file_lock
605
+
606
+ # Output only. Temporary passphrase generated to accept cluster peering command.
607
+ # Corresponds to the JSON property `passphrase`
608
+ # @return [String]
609
+ attr_accessor :passphrase
610
+
611
+ # Required. Name of the origin volume's ONTAP cluster.
612
+ # Corresponds to the JSON property `peerClusterName`
613
+ # @return [String]
614
+ attr_accessor :peer_cluster_name
615
+
616
+ # Required. List of IC LIF addresses of the origin volume's ONTAP cluster.
617
+ # Corresponds to the JSON property `peerIpAddresses`
618
+ # @return [Array<String>]
619
+ attr_accessor :peer_ip_addresses
620
+
621
+ # Required. Name of the origin volume's SVM.
622
+ # Corresponds to the JSON property `peerSvmName`
623
+ # @return [String]
624
+ attr_accessor :peer_svm_name
625
+
626
+ # Required. Name of the origin volume for the cache volume.
627
+ # Corresponds to the JSON property `peerVolumeName`
628
+ # @return [String]
629
+ attr_accessor :peer_volume_name
630
+
631
+ # Optional. Expiration time for the peering command to be executed on user's
632
+ # ONTAP.
633
+ # Corresponds to the JSON property `peeringCommandExpiryTime`
634
+ # @return [String]
635
+ attr_accessor :peering_command_expiry_time
636
+
637
+ # Output only. Detailed description of the current cache state.
638
+ # Corresponds to the JSON property `stateDetails`
639
+ # @return [String]
640
+ attr_accessor :state_details
641
+
642
+ def initialize(**args)
643
+ update!(**args)
644
+ end
645
+
646
+ # Update properties of this object
647
+ def update!(**args)
648
+ @cache_config = args[:cache_config] if args.key?(:cache_config)
649
+ @cache_state = args[:cache_state] if args.key?(:cache_state)
650
+ @command = args[:command] if args.key?(:command)
651
+ @enable_global_file_lock = args[:enable_global_file_lock] if args.key?(:enable_global_file_lock)
652
+ @passphrase = args[:passphrase] if args.key?(:passphrase)
653
+ @peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
654
+ @peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
655
+ @peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
656
+ @peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
657
+ @peering_command_expiry_time = args[:peering_command_expiry_time] if args.key?(:peering_command_expiry_time)
658
+ @state_details = args[:state_details] if args.key?(:state_details)
659
+ end
660
+ end
661
+
559
662
  # The request message for Operations.CancelOperation.
560
663
  class CancelOperationRequest
561
664
  include Google::Apis::Core::Hashable
@@ -1173,6 +1276,13 @@ module Google
1173
1276
  # @return [Array<Google::Apis::NetappV1::Operation>]
1174
1277
  attr_accessor :operations
1175
1278
 
1279
+ # Unordered list. Unreachable resources. Populated when the request sets `
1280
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1281
+ # when attempting to list all resources across all supported locations.
1282
+ # Corresponds to the JSON property `unreachable`
1283
+ # @return [Array<String>]
1284
+ attr_accessor :unreachable
1285
+
1176
1286
  def initialize(**args)
1177
1287
  update!(**args)
1178
1288
  end
@@ -1181,6 +1291,7 @@ module Google
1181
1291
  def update!(**args)
1182
1292
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1183
1293
  @operations = args[:operations] if args.key?(:operations)
1294
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1184
1295
  end
1185
1296
  end
1186
1297
 
@@ -1825,6 +1936,39 @@ module Google
1825
1936
  end
1826
1937
  end
1827
1938
 
1939
+ # RestoreBackupFilesRequest restores files from a backup to a volume.
1940
+ class RestoreBackupFilesRequest
1941
+ include Google::Apis::Core::Hashable
1942
+
1943
+ # Required. The backup resource name, in the format `projects/`project_id`/
1944
+ # locations/`location`/backupVaults/`backup_vault_id`/backups/`backup_id``
1945
+ # Corresponds to the JSON property `backup`
1946
+ # @return [String]
1947
+ attr_accessor :backup
1948
+
1949
+ # Required. List of files to be restored in the form of their absolute path as
1950
+ # in source volume.
1951
+ # Corresponds to the JSON property `fileList`
1952
+ # @return [Array<String>]
1953
+ attr_accessor :file_list
1954
+
1955
+ # Optional. Absolute directory path in the destination volume.
1956
+ # Corresponds to the JSON property `restoreDestinationPath`
1957
+ # @return [String]
1958
+ attr_accessor :restore_destination_path
1959
+
1960
+ def initialize(**args)
1961
+ update!(**args)
1962
+ end
1963
+
1964
+ # Update properties of this object
1965
+ def update!(**args)
1966
+ @backup = args[:backup] if args.key?(:backup)
1967
+ @file_list = args[:file_list] if args.key?(:file_list)
1968
+ @restore_destination_path = args[:restore_destination_path] if args.key?(:restore_destination_path)
1969
+ end
1970
+ end
1971
+
1828
1972
  # The RestoreParameters if volume is created from a snapshot or backup.
1829
1973
  class RestoreParameters
1830
1974
  include Google::Apis::Core::Hashable
@@ -2629,6 +2773,11 @@ module Google
2629
2773
  # @return [Google::Apis::NetappV1::BackupConfig]
2630
2774
  attr_accessor :backup_config
2631
2775
 
2776
+ # Cache Parameters for the volume.
2777
+ # Corresponds to the JSON property `cacheParameters`
2778
+ # @return [Google::Apis::NetappV1::CacheParameters]
2779
+ attr_accessor :cache_parameters
2780
+
2632
2781
  # Required. Capacity in GIB of the volume
2633
2782
  # Corresponds to the JSON property `capacityGib`
2634
2783
  # @return [Fixnum]
@@ -2846,6 +2995,7 @@ module Google
2846
2995
  def update!(**args)
2847
2996
  @active_directory = args[:active_directory] if args.key?(:active_directory)
2848
2997
  @backup_config = args[:backup_config] if args.key?(:backup_config)
2998
+ @cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
2849
2999
  @capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
2850
3000
  @cold_tier_size_gib = args[:cold_tier_size_gib] if args.key?(:cold_tier_size_gib)
2851
3001
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -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.16.0"
19
+ GEM_VERSION = "0.18.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 = "20250908"
25
+ REVISION = "20251009"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,18 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CacheConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CacheParameters
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
61
73
  class CancelOperationRequest
62
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
75
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class RestoreBackupFilesRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class RestoreParameters
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -468,6 +486,31 @@ module Google
468
486
  end
469
487
  end
470
488
 
489
+ class CacheConfig
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :cifs_change_notify_enabled, as: 'cifsChangeNotifyEnabled'
493
+ end
494
+ end
495
+
496
+ class CacheParameters
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :cache_config, as: 'cacheConfig', class: Google::Apis::NetappV1::CacheConfig, decorator: Google::Apis::NetappV1::CacheConfig::Representation
500
+
501
+ property :cache_state, as: 'cacheState'
502
+ property :command, as: 'command'
503
+ property :enable_global_file_lock, as: 'enableGlobalFileLock'
504
+ property :passphrase, as: 'passphrase'
505
+ property :peer_cluster_name, as: 'peerClusterName'
506
+ collection :peer_ip_addresses, as: 'peerIpAddresses'
507
+ property :peer_svm_name, as: 'peerSvmName'
508
+ property :peer_volume_name, as: 'peerVolumeName'
509
+ property :peering_command_expiry_time, as: 'peeringCommandExpiryTime'
510
+ property :state_details, as: 'stateDetails'
511
+ end
512
+ end
513
+
471
514
  class CancelOperationRequest
472
515
  # @private
473
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -643,6 +686,7 @@ module Google
643
686
  property :next_page_token, as: 'nextPageToken'
644
687
  collection :operations, as: 'operations', class: Google::Apis::NetappV1::Operation, decorator: Google::Apis::NetappV1::Operation::Representation
645
688
 
689
+ collection :unreachable, as: 'unreachable'
646
690
  end
647
691
  end
648
692
 
@@ -805,6 +849,15 @@ module Google
805
849
  end
806
850
  end
807
851
 
852
+ class RestoreBackupFilesRequest
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :backup, as: 'backup'
856
+ collection :file_list, as: 'fileList'
857
+ property :restore_destination_path, as: 'restoreDestinationPath'
858
+ end
859
+ end
860
+
808
861
  class RestoreParameters
809
862
  # @private
810
863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1002,6 +1055,8 @@ module Google
1002
1055
  property :active_directory, as: 'activeDirectory'
1003
1056
  property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1004
1057
 
1058
+ property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
1059
+
1005
1060
  property :capacity_gib, :numeric_string => true, as: 'capacityGib'
1006
1061
  property :cold_tier_size_gib, :numeric_string => true, as: 'coldTierSizeGib'
1007
1062
  property :create_time, as: 'createTime'
@@ -1245,6 +1245,13 @@ module Google
1245
1245
  # The standard list page size.
1246
1246
  # @param [String] page_token
1247
1247
  # The standard list page token.
1248
+ # @param [Boolean] return_partial_success
1249
+ # When set to `true`, operations that are reachable are returned as normal, and
1250
+ # those that are unreachable are returned in the [ListOperationsResponse.
1251
+ # unreachable] field. This can only be `true` when reading across collections e.
1252
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1253
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1254
+ # explicitly documented otherwise in service or product specific documentation.
1248
1255
  # @param [String] fields
1249
1256
  # Selector specifying which fields to include in a partial response.
1250
1257
  # @param [String] quota_user
@@ -1262,7 +1269,7 @@ module Google
1262
1269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1263
1270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1264
1271
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1265
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1272
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1266
1273
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
1267
1274
  command.response_representation = Google::Apis::NetappV1::ListOperationsResponse::Representation
1268
1275
  command.response_class = Google::Apis::NetappV1::ListOperationsResponse
@@ -1270,6 +1277,7 @@ module Google
1270
1277
  command.query['filter'] = filter unless filter.nil?
1271
1278
  command.query['pageSize'] = page_size unless page_size.nil?
1272
1279
  command.query['pageToken'] = page_token unless page_token.nil?
1280
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1273
1281
  command.query['fields'] = fields unless fields.nil?
1274
1282
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1275
1283
  execute_or_queue_command(command, &block)
@@ -1710,6 +1718,40 @@ module Google
1710
1718
  execute_or_queue_command(command, &block)
1711
1719
  end
1712
1720
 
1721
+ # Restore files from a backup to a volume.
1722
+ # @param [String] name
1723
+ # Required. The volume resource name, in the format `projects/`project_id`/
1724
+ # locations/`location`/volumes/`volume_id``
1725
+ # @param [Google::Apis::NetappV1::RestoreBackupFilesRequest] restore_backup_files_request_object
1726
+ # @param [String] fields
1727
+ # Selector specifying which fields to include in a partial response.
1728
+ # @param [String] quota_user
1729
+ # Available to use for quota purposes for server-side applications. Can be any
1730
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1731
+ # @param [Google::Apis::RequestOptions] options
1732
+ # Request-specific options
1733
+ #
1734
+ # @yield [result, err] Result & error if block supplied
1735
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1736
+ # @yieldparam err [StandardError] error object if request failed
1737
+ #
1738
+ # @return [Google::Apis::NetappV1::Operation]
1739
+ #
1740
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1741
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1742
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1743
+ def restore_volume_backup_files(name, restore_backup_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1744
+ command = make_simple_command(:post, 'v1/{+name}:restore', options)
1745
+ command.request_representation = Google::Apis::NetappV1::RestoreBackupFilesRequest::Representation
1746
+ command.request_object = restore_backup_files_request_object
1747
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1748
+ command.response_class = Google::Apis::NetappV1::Operation
1749
+ command.params['name'] = name unless name.nil?
1750
+ command.query['fields'] = fields unless fields.nil?
1751
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1752
+ execute_or_queue_command(command, &block)
1753
+ end
1754
+
1713
1755
  # Revert an existing volume to a specified snapshot. Warning! This operation
1714
1756
  # will permanently revert all changes made after the snapshot was created.
1715
1757
  # @param [String] name
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.16.0
4
+ version: 0.18.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.16.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.18.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: