google-apis-netapp_v1 0.15.0 → 0.17.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: eff27a672c3115820605c55d8a14b677d40ac313e15d8b5a2da55566234e03ef
4
- data.tar.gz: 3968beedf71d0f7303a3c5bd2761213f6b52dc56ae527f91a547ea1eef36fd8f
3
+ metadata.gz: 84ea8ccfefbdf2eade5e7081a26ee076cc9aded6fe78a9ca85dc8027c324093c
4
+ data.tar.gz: e1ead05b08ed7076af0e9ad608e2bf17559d78aba842b9b509ac239a900852a7
5
5
  SHA512:
6
- metadata.gz: 4cef93f87456192747587e34dc7ee88cb9a4d9671a0a16b6d9f902b587f8f1e0a8a8471d84a7362d159c285d36dea89f38c7b189be3e33878d4bc94454c9ee9d
7
- data.tar.gz: 5541bc98b5076498eec668734a64b0b09af67c1afbcb1430b79ae3ebbb1256f23c2aa0c02b6f0792ff1996f9aeb8878ecdbd96d69a7ebd6e3a52e15f24dec872
6
+ metadata.gz: be148d0be4acdfff602630e20cf8cba53cae669441896bfd544c1a55ea542ac4de49622d8bcbcd5c63a2c3f3e89a34f94d6c4a22dd42138cae8a7e76f42d804e
7
+ data.tar.gz: 77bb9d4dec4bf46af2760b4b8021095559882287c83fda3ee1d81be7c00d0eb55eacdad333078a0cb6b5269bcc27327c519c057818ca5d5cdb1eb137624ea3c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.17.0 (2025-09-21)
4
+
5
+ * Regenerated from discovery document revision 20250917
6
+
7
+ ### v0.16.0 (2025-09-14)
8
+
9
+ * Regenerated from discovery document revision 20250908
10
+
3
11
  ### v0.15.0 (2025-09-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20250901
@@ -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
@@ -1825,6 +1928,39 @@ module Google
1825
1928
  end
1826
1929
  end
1827
1930
 
1931
+ # RestoreBackupFilesRequest restores files from a backup to a volume.
1932
+ class RestoreBackupFilesRequest
1933
+ include Google::Apis::Core::Hashable
1934
+
1935
+ # Required. The backup resource name, in the format `projects/`project_id`/
1936
+ # locations/`location`/backupVaults/`backup_vault_id`/backups/`backup_id``
1937
+ # Corresponds to the JSON property `backup`
1938
+ # @return [String]
1939
+ attr_accessor :backup
1940
+
1941
+ # Required. List of files to be restored in the form of their absolute path as
1942
+ # in source volume.
1943
+ # Corresponds to the JSON property `fileList`
1944
+ # @return [Array<String>]
1945
+ attr_accessor :file_list
1946
+
1947
+ # Optional. Absolute directory path in the destination volume.
1948
+ # Corresponds to the JSON property `restoreDestinationPath`
1949
+ # @return [String]
1950
+ attr_accessor :restore_destination_path
1951
+
1952
+ def initialize(**args)
1953
+ update!(**args)
1954
+ end
1955
+
1956
+ # Update properties of this object
1957
+ def update!(**args)
1958
+ @backup = args[:backup] if args.key?(:backup)
1959
+ @file_list = args[:file_list] if args.key?(:file_list)
1960
+ @restore_destination_path = args[:restore_destination_path] if args.key?(:restore_destination_path)
1961
+ end
1962
+ end
1963
+
1828
1964
  # The RestoreParameters if volume is created from a snapshot or backup.
1829
1965
  class RestoreParameters
1830
1966
  include Google::Apis::Core::Hashable
@@ -1914,6 +2050,12 @@ module Google
1914
2050
  # @return [String]
1915
2051
  attr_accessor :allowed_clients
1916
2052
 
2053
+ # Optional. An integer representing the anonymous user ID. Range is 0 to
2054
+ # 4294967295. Required when squash_mode is ROOT_SQUASH or ALL_SQUASH.
2055
+ # Corresponds to the JSON property `anonUid`
2056
+ # @return [Fixnum]
2057
+ attr_accessor :anon_uid
2058
+
1917
2059
  # Whether Unix root access will be granted.
1918
2060
  # Corresponds to the JSON property `hasRootAccess`
1919
2061
  # @return [String]
@@ -1982,6 +2124,13 @@ module Google
1982
2124
  attr_accessor :nfsv4
1983
2125
  alias_method :nfsv4?, :nfsv4
1984
2126
 
2127
+ # Optional. Defines how user identity squashing is applied for this export rule.
2128
+ # This field is the preferred way to configure squashing behavior and takes
2129
+ # precedence over `has_root_access` if both are provided.
2130
+ # Corresponds to the JSON property `squashMode`
2131
+ # @return [String]
2132
+ attr_accessor :squash_mode
2133
+
1985
2134
  def initialize(**args)
1986
2135
  update!(**args)
1987
2136
  end
@@ -1990,6 +2139,7 @@ module Google
1990
2139
  def update!(**args)
1991
2140
  @access_type = args[:access_type] if args.key?(:access_type)
1992
2141
  @allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
2142
+ @anon_uid = args[:anon_uid] if args.key?(:anon_uid)
1993
2143
  @has_root_access = args[:has_root_access] if args.key?(:has_root_access)
1994
2144
  @kerberos5_read_only = args[:kerberos5_read_only] if args.key?(:kerberos5_read_only)
1995
2145
  @kerberos5_read_write = args[:kerberos5_read_write] if args.key?(:kerberos5_read_write)
@@ -1999,6 +2149,7 @@ module Google
1999
2149
  @kerberos5p_read_write = args[:kerberos5p_read_write] if args.key?(:kerberos5p_read_write)
2000
2150
  @nfsv3 = args[:nfsv3] if args.key?(:nfsv3)
2001
2151
  @nfsv4 = args[:nfsv4] if args.key?(:nfsv4)
2152
+ @squash_mode = args[:squash_mode] if args.key?(:squash_mode)
2002
2153
  end
2003
2154
  end
2004
2155
 
@@ -2614,6 +2765,11 @@ module Google
2614
2765
  # @return [Google::Apis::NetappV1::BackupConfig]
2615
2766
  attr_accessor :backup_config
2616
2767
 
2768
+ # Cache Parameters for the volume.
2769
+ # Corresponds to the JSON property `cacheParameters`
2770
+ # @return [Google::Apis::NetappV1::CacheParameters]
2771
+ attr_accessor :cache_parameters
2772
+
2617
2773
  # Required. Capacity in GIB of the volume
2618
2774
  # Corresponds to the JSON property `capacityGib`
2619
2775
  # @return [Fixnum]
@@ -2831,6 +2987,7 @@ module Google
2831
2987
  def update!(**args)
2832
2988
  @active_directory = args[:active_directory] if args.key?(:active_directory)
2833
2989
  @backup_config = args[:backup_config] if args.key?(:backup_config)
2990
+ @cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
2834
2991
  @capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
2835
2992
  @cold_tier_size_gib = args[:cold_tier_size_gib] if args.key?(:cold_tier_size_gib)
2836
2993
  @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.15.0"
19
+ GEM_VERSION = "0.17.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 = "20250901"
25
+ REVISION = "20250917"
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
@@ -805,6 +848,15 @@ module Google
805
848
  end
806
849
  end
807
850
 
851
+ class RestoreBackupFilesRequest
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :backup, as: 'backup'
855
+ collection :file_list, as: 'fileList'
856
+ property :restore_destination_path, as: 'restoreDestinationPath'
857
+ end
858
+ end
859
+
808
860
  class RestoreParameters
809
861
  # @private
810
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -837,6 +889,7 @@ module Google
837
889
  class Representation < Google::Apis::Core::JsonRepresentation
838
890
  property :access_type, as: 'accessType'
839
891
  property :allowed_clients, as: 'allowedClients'
892
+ property :anon_uid, :numeric_string => true, as: 'anonUid'
840
893
  property :has_root_access, as: 'hasRootAccess'
841
894
  property :kerberos5_read_only, as: 'kerberos5ReadOnly'
842
895
  property :kerberos5_read_write, as: 'kerberos5ReadWrite'
@@ -846,6 +899,7 @@ module Google
846
899
  property :kerberos5p_read_write, as: 'kerberos5pReadWrite'
847
900
  property :nfsv3, as: 'nfsv3'
848
901
  property :nfsv4, as: 'nfsv4'
902
+ property :squash_mode, as: 'squashMode'
849
903
  end
850
904
  end
851
905
 
@@ -1000,6 +1054,8 @@ module Google
1000
1054
  property :active_directory, as: 'activeDirectory'
1001
1055
  property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
1002
1056
 
1057
+ property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
1058
+
1003
1059
  property :capacity_gib, :numeric_string => true, as: 'capacityGib'
1004
1060
  property :cold_tier_size_gib, :numeric_string => true, as: 'coldTierSizeGib'
1005
1061
  property :create_time, as: 'createTime'
@@ -87,8 +87,8 @@ module Google
87
87
  # @param [String] name
88
88
  # The resource that owns the locations collection, if applicable.
89
89
  # @param [Array<String>, String] extra_location_types
90
- # Optional. Do not use this field. It is unsupported and is ignored unless
91
- # explicitly documented otherwise. This is primarily for internal usage.
90
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
91
+ # field which is primarily intended for internal usage.
92
92
  # @param [String] filter
93
93
  # A filter to narrow down results to a preferred subset. The filtering language
94
94
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -1710,6 +1710,40 @@ module Google
1710
1710
  execute_or_queue_command(command, &block)
1711
1711
  end
1712
1712
 
1713
+ # Restore files from a backup to a volume.
1714
+ # @param [String] name
1715
+ # Required. The volume resource name, in the format `projects/`project_id`/
1716
+ # locations/`location`/volumes/`volume_id``
1717
+ # @param [Google::Apis::NetappV1::RestoreBackupFilesRequest] restore_backup_files_request_object
1718
+ # @param [String] fields
1719
+ # Selector specifying which fields to include in a partial response.
1720
+ # @param [String] quota_user
1721
+ # Available to use for quota purposes for server-side applications. Can be any
1722
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1723
+ # @param [Google::Apis::RequestOptions] options
1724
+ # Request-specific options
1725
+ #
1726
+ # @yield [result, err] Result & error if block supplied
1727
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1728
+ # @yieldparam err [StandardError] error object if request failed
1729
+ #
1730
+ # @return [Google::Apis::NetappV1::Operation]
1731
+ #
1732
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1733
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1734
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1735
+ def restore_volume_backup_files(name, restore_backup_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1736
+ command = make_simple_command(:post, 'v1/{+name}:restore', options)
1737
+ command.request_representation = Google::Apis::NetappV1::RestoreBackupFilesRequest::Representation
1738
+ command.request_object = restore_backup_files_request_object
1739
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1740
+ command.response_class = Google::Apis::NetappV1::Operation
1741
+ command.params['name'] = name unless name.nil?
1742
+ command.query['fields'] = fields unless fields.nil?
1743
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1744
+ execute_or_queue_command(command, &block)
1745
+ end
1746
+
1713
1747
  # Revert an existing volume to a specified snapshot. Warning! This operation
1714
1748
  # will permanently revert all changes made after the snapshot was created.
1715
1749
  # @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.15.0
4
+ version: 0.17.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.15.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.17.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: