google-apis-netapp_v1 0.16.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84ea8ccfefbdf2eade5e7081a26ee076cc9aded6fe78a9ca85dc8027c324093c
|
4
|
+
data.tar.gz: e1ead05b08ed7076af0e9ad608e2bf17559d78aba842b9b509ac239a900852a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be148d0be4acdfff602630e20cf8cba53cae669441896bfd544c1a55ea542ac4de49622d8bcbcd5c63a2c3f3e89a34f94d6c4a22dd42138cae8a7e76f42d804e
|
7
|
+
data.tar.gz: 77bb9d4dec4bf46af2760b4b8021095559882287c83fda3ee1d81be7c00d0eb55eacdad333078a0cb6b5269bcc27327c519c057818ca5d5cdb1eb137624ea3c1
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -2629,6 +2765,11 @@ module Google
|
|
2629
2765
|
# @return [Google::Apis::NetappV1::BackupConfig]
|
2630
2766
|
attr_accessor :backup_config
|
2631
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
|
+
|
2632
2773
|
# Required. Capacity in GIB of the volume
|
2633
2774
|
# Corresponds to the JSON property `capacityGib`
|
2634
2775
|
# @return [Fixnum]
|
@@ -2846,6 +2987,7 @@ module Google
|
|
2846
2987
|
def update!(**args)
|
2847
2988
|
@active_directory = args[:active_directory] if args.key?(:active_directory)
|
2848
2989
|
@backup_config = args[:backup_config] if args.key?(:backup_config)
|
2990
|
+
@cache_parameters = args[:cache_parameters] if args.key?(:cache_parameters)
|
2849
2991
|
@capacity_gib = args[:capacity_gib] if args.key?(:capacity_gib)
|
2850
2992
|
@cold_tier_size_gib = args[:cold_tier_size_gib] if args.key?(:cold_tier_size_gib)
|
2851
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.
|
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 = "
|
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
|
@@ -1002,6 +1054,8 @@ module Google
|
|
1002
1054
|
property :active_directory, as: 'activeDirectory'
|
1003
1055
|
property :backup_config, as: 'backupConfig', class: Google::Apis::NetappV1::BackupConfig, decorator: Google::Apis::NetappV1::BackupConfig::Representation
|
1004
1056
|
|
1057
|
+
property :cache_parameters, as: 'cacheParameters', class: Google::Apis::NetappV1::CacheParameters, decorator: Google::Apis::NetappV1::CacheParameters::Representation
|
1058
|
+
|
1005
1059
|
property :capacity_gib, :numeric_string => true, as: 'capacityGib'
|
1006
1060
|
property :cold_tier_size_gib, :numeric_string => true, as: 'coldTierSizeGib'
|
1007
1061
|
property :create_time, as: 'createTime'
|
@@ -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.
|
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.
|
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:
|