google-apis-netapp_v1 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f4033e3504bd091ac425bf73dee32768f64c15d97bf4049a8604c57f20c71b
|
4
|
+
data.tar.gz: 49051a9051cb604f5dba3bd7edeaf9c2dcc98849549acabbfa52dd60249a2445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4d5f1027f1b6e3de7aa9e9413e07cd68f6ec7a14e12c38402e61df6a3abcc363d3ef2f6c5d44b63a3f38d5ebb551aed5559f5c4f71fccc798e6f29a8381f1e0
|
7
|
+
data.tar.gz: 17a26ff58a5085a3fb4407b83094cad5b5db7c9a5446c3b69c715a9883e17076368ad189f906c130ba245d24b95148f7cbef91230758c50340c242d9677656c1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-netapp_v1
|
2
2
|
|
3
|
+
### v0.3.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241203
|
6
|
+
|
7
|
+
### v0.2.0 (2024-11-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241106
|
10
|
+
|
3
11
|
### v0.1.0 (2024-10-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241021
|
@@ -493,6 +493,11 @@ module Google
|
|
493
493
|
# @return [String]
|
494
494
|
attr_accessor :storage_pool
|
495
495
|
|
496
|
+
# Defines tiering policy for the volume.
|
497
|
+
# Corresponds to the JSON property `tieringPolicy`
|
498
|
+
# @return [Google::Apis::NetappV1::TieringPolicy]
|
499
|
+
attr_accessor :tiering_policy
|
500
|
+
|
496
501
|
# Desired destination volume resource id. If not specified, source volume's
|
497
502
|
# resource id will be used. This value must start with a lowercase letter
|
498
503
|
# followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end
|
@@ -510,6 +515,7 @@ module Google
|
|
510
515
|
@description = args[:description] if args.key?(:description)
|
511
516
|
@share_name = args[:share_name] if args.key?(:share_name)
|
512
517
|
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
|
518
|
+
@tiering_policy = args[:tiering_policy] if args.key?(:tiering_policy)
|
513
519
|
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
514
520
|
end
|
515
521
|
end
|
@@ -527,6 +533,47 @@ module Google
|
|
527
533
|
end
|
528
534
|
end
|
529
535
|
|
536
|
+
# EstablishPeeringRequest establishes cluster and svm peerings between the
|
537
|
+
# source and the destination replications.
|
538
|
+
class EstablishPeeringRequest
|
539
|
+
include Google::Apis::Core::Hashable
|
540
|
+
|
541
|
+
# Required. Name of the user's local source cluster to be peered with the
|
542
|
+
# destination cluster.
|
543
|
+
# Corresponds to the JSON property `peerClusterName`
|
544
|
+
# @return [String]
|
545
|
+
attr_accessor :peer_cluster_name
|
546
|
+
|
547
|
+
# Optional. List of IPv4 ip addresses to be used for peering.
|
548
|
+
# Corresponds to the JSON property `peerIpAddresses`
|
549
|
+
# @return [Array<String>]
|
550
|
+
attr_accessor :peer_ip_addresses
|
551
|
+
|
552
|
+
# Required. Name of the user's local source vserver svm to be peered with the
|
553
|
+
# destination vserver svm.
|
554
|
+
# Corresponds to the JSON property `peerSvmName`
|
555
|
+
# @return [String]
|
556
|
+
attr_accessor :peer_svm_name
|
557
|
+
|
558
|
+
# Required. Name of the user's local source volume to be peered with the
|
559
|
+
# destination volume.
|
560
|
+
# Corresponds to the JSON property `peerVolumeName`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :peer_volume_name
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
|
571
|
+
@peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
|
572
|
+
@peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
|
573
|
+
@peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
530
577
|
# Defines the export policy for the volume.
|
531
578
|
class ExportPolicy
|
532
579
|
include Google::Apis::Core::Hashable
|
@@ -588,6 +635,110 @@ module Google
|
|
588
635
|
end
|
589
636
|
end
|
590
637
|
|
638
|
+
# HybridPeeringDetails contains details about the hybrid peering.
|
639
|
+
class HybridPeeringDetails
|
640
|
+
include Google::Apis::Core::Hashable
|
641
|
+
|
642
|
+
# Optional. Copy-paste-able commands to be used on user's ONTAP to accept
|
643
|
+
# peering requests.
|
644
|
+
# Corresponds to the JSON property `command`
|
645
|
+
# @return [String]
|
646
|
+
attr_accessor :command
|
647
|
+
|
648
|
+
# Optional. Expiration time for the peering command to be executed on user's
|
649
|
+
# ONTAP.
|
650
|
+
# Corresponds to the JSON property `commandExpiryTime`
|
651
|
+
# @return [String]
|
652
|
+
attr_accessor :command_expiry_time
|
653
|
+
|
654
|
+
# Optional. Temporary passphrase generated to accept cluster peering command.
|
655
|
+
# Corresponds to the JSON property `passphrase`
|
656
|
+
# @return [String]
|
657
|
+
attr_accessor :passphrase
|
658
|
+
|
659
|
+
# Optional. IP address of the subnet.
|
660
|
+
# Corresponds to the JSON property `subnetIp`
|
661
|
+
# @return [String]
|
662
|
+
attr_accessor :subnet_ip
|
663
|
+
|
664
|
+
def initialize(**args)
|
665
|
+
update!(**args)
|
666
|
+
end
|
667
|
+
|
668
|
+
# Update properties of this object
|
669
|
+
def update!(**args)
|
670
|
+
@command = args[:command] if args.key?(:command)
|
671
|
+
@command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time)
|
672
|
+
@passphrase = args[:passphrase] if args.key?(:passphrase)
|
673
|
+
@subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip)
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
677
|
+
# The Hybrid Replication parameters for the volume.
|
678
|
+
class HybridReplicationParameters
|
679
|
+
include Google::Apis::Core::Hashable
|
680
|
+
|
681
|
+
# Optional. Name of source cluster location associated with the Hybrid
|
682
|
+
# replication. This is a free-form field for the display purpose only.
|
683
|
+
# Corresponds to the JSON property `clusterLocation`
|
684
|
+
# @return [String]
|
685
|
+
attr_accessor :cluster_location
|
686
|
+
|
687
|
+
# Optional. Description of the replication.
|
688
|
+
# Corresponds to the JSON property `description`
|
689
|
+
# @return [String]
|
690
|
+
attr_accessor :description
|
691
|
+
|
692
|
+
# Optional. Labels to be added to the replication as the key value pairs.
|
693
|
+
# Corresponds to the JSON property `labels`
|
694
|
+
# @return [Hash<String,String>]
|
695
|
+
attr_accessor :labels
|
696
|
+
|
697
|
+
# Required. Name of the user's local source cluster to be peered with the
|
698
|
+
# destination cluster.
|
699
|
+
# Corresponds to the JSON property `peerClusterName`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :peer_cluster_name
|
702
|
+
|
703
|
+
# Required. List of node ip addresses to be peered with.
|
704
|
+
# Corresponds to the JSON property `peerIpAddresses`
|
705
|
+
# @return [Array<String>]
|
706
|
+
attr_accessor :peer_ip_addresses
|
707
|
+
|
708
|
+
# Required. Name of the user's local source vserver svm to be peered with the
|
709
|
+
# destination vserver svm.
|
710
|
+
# Corresponds to the JSON property `peerSvmName`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :peer_svm_name
|
713
|
+
|
714
|
+
# Required. Name of the user's local source volume to be peered with the
|
715
|
+
# destination volume.
|
716
|
+
# Corresponds to the JSON property `peerVolumeName`
|
717
|
+
# @return [String]
|
718
|
+
attr_accessor :peer_volume_name
|
719
|
+
|
720
|
+
# Required. Desired name for the replication of this volume.
|
721
|
+
# Corresponds to the JSON property `replication`
|
722
|
+
# @return [String]
|
723
|
+
attr_accessor :replication
|
724
|
+
|
725
|
+
def initialize(**args)
|
726
|
+
update!(**args)
|
727
|
+
end
|
728
|
+
|
729
|
+
# Update properties of this object
|
730
|
+
def update!(**args)
|
731
|
+
@cluster_location = args[:cluster_location] if args.key?(:cluster_location)
|
732
|
+
@description = args[:description] if args.key?(:description)
|
733
|
+
@labels = args[:labels] if args.key?(:labels)
|
734
|
+
@peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
|
735
|
+
@peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
|
736
|
+
@peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
|
737
|
+
@peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
|
738
|
+
@replication = args[:replication] if args.key?(:replication)
|
739
|
+
end
|
740
|
+
end
|
741
|
+
|
591
742
|
# KmsConfig is the customer managed encryption key(CMEK) configuration.
|
592
743
|
class KmsConfig
|
593
744
|
include Google::Apis::Core::Hashable
|
@@ -1259,6 +1410,11 @@ module Google
|
|
1259
1410
|
class Replication
|
1260
1411
|
include Google::Apis::Core::Hashable
|
1261
1412
|
|
1413
|
+
# Optional. Location of the user cluster.
|
1414
|
+
# Corresponds to the JSON property `clusterLocation`
|
1415
|
+
# @return [String]
|
1416
|
+
attr_accessor :cluster_location
|
1417
|
+
|
1262
1418
|
# Output only. Replication create time.
|
1263
1419
|
# Corresponds to the JSON property `createTime`
|
1264
1420
|
# @return [String]
|
@@ -1290,6 +1446,16 @@ module Google
|
|
1290
1446
|
attr_accessor :healthy
|
1291
1447
|
alias_method :healthy?, :healthy
|
1292
1448
|
|
1449
|
+
# HybridPeeringDetails contains details about the hybrid peering.
|
1450
|
+
# Corresponds to the JSON property `hybridPeeringDetails`
|
1451
|
+
# @return [Google::Apis::NetappV1::HybridPeeringDetails]
|
1452
|
+
attr_accessor :hybrid_peering_details
|
1453
|
+
|
1454
|
+
# Output only. Type of the hybrid replication.
|
1455
|
+
# Corresponds to the JSON property `hybridReplicationType`
|
1456
|
+
# @return [String]
|
1457
|
+
attr_accessor :hybrid_replication_type
|
1458
|
+
|
1293
1459
|
# Resource labels to represent user provided metadata.
|
1294
1460
|
# Corresponds to the JSON property `labels`
|
1295
1461
|
# @return [Hash<String,String>]
|
@@ -1344,11 +1510,14 @@ module Google
|
|
1344
1510
|
|
1345
1511
|
# Update properties of this object
|
1346
1512
|
def update!(**args)
|
1513
|
+
@cluster_location = args[:cluster_location] if args.key?(:cluster_location)
|
1347
1514
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1348
1515
|
@description = args[:description] if args.key?(:description)
|
1349
1516
|
@destination_volume = args[:destination_volume] if args.key?(:destination_volume)
|
1350
1517
|
@destination_volume_parameters = args[:destination_volume_parameters] if args.key?(:destination_volume_parameters)
|
1351
1518
|
@healthy = args[:healthy] if args.key?(:healthy)
|
1519
|
+
@hybrid_peering_details = args[:hybrid_peering_details] if args.key?(:hybrid_peering_details)
|
1520
|
+
@hybrid_replication_type = args[:hybrid_replication_type] if args.key?(:hybrid_replication_type)
|
1352
1521
|
@labels = args[:labels] if args.key?(:labels)
|
1353
1522
|
@mirror_state = args[:mirror_state] if args.key?(:mirror_state)
|
1354
1523
|
@name = args[:name] if args.key?(:name)
|
@@ -1860,6 +2029,19 @@ module Google
|
|
1860
2029
|
end
|
1861
2030
|
end
|
1862
2031
|
|
2032
|
+
# SyncReplicationRequest syncs the replication from source to destination.
|
2033
|
+
class SyncReplicationRequest
|
2034
|
+
include Google::Apis::Core::Hashable
|
2035
|
+
|
2036
|
+
def initialize(**args)
|
2037
|
+
update!(**args)
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
# Update properties of this object
|
2041
|
+
def update!(**args)
|
2042
|
+
end
|
2043
|
+
end
|
2044
|
+
|
1863
2045
|
# Defines tiering policy for the volume.
|
1864
2046
|
class TieringPolicy
|
1865
2047
|
include Google::Apis::Core::Hashable
|
@@ -1949,6 +2131,26 @@ module Google
|
|
1949
2131
|
end
|
1950
2132
|
end
|
1951
2133
|
|
2134
|
+
# ValidateDirectoryServiceRequest validates the directory service policy
|
2135
|
+
# attached to the storage pool.
|
2136
|
+
class ValidateDirectoryServiceRequest
|
2137
|
+
include Google::Apis::Core::Hashable
|
2138
|
+
|
2139
|
+
# Type of directory service policy attached to the storage pool.
|
2140
|
+
# Corresponds to the JSON property `directoryServiceType`
|
2141
|
+
# @return [String]
|
2142
|
+
attr_accessor :directory_service_type
|
2143
|
+
|
2144
|
+
def initialize(**args)
|
2145
|
+
update!(**args)
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# Update properties of this object
|
2149
|
+
def update!(**args)
|
2150
|
+
@directory_service_type = args[:directory_service_type] if args.key?(:directory_service_type)
|
2151
|
+
end
|
2152
|
+
end
|
2153
|
+
|
1952
2154
|
# VerifyKmsConfigRequest specifies the KMS config to be validated.
|
1953
2155
|
class VerifyKmsConfigRequest
|
1954
2156
|
include Google::Apis::Core::Hashable
|
@@ -2047,6 +2249,11 @@ module Google
|
|
2047
2249
|
attr_accessor :has_replication
|
2048
2250
|
alias_method :has_replication?, :has_replication
|
2049
2251
|
|
2252
|
+
# The Hybrid Replication parameters for the volume.
|
2253
|
+
# Corresponds to the JSON property `hybridReplicationParameters`
|
2254
|
+
# @return [Google::Apis::NetappV1::HybridReplicationParameters]
|
2255
|
+
attr_accessor :hybrid_replication_parameters
|
2256
|
+
|
2050
2257
|
# Optional. Flag indicating if the volume is a kerberos volume or not, export
|
2051
2258
|
# policy rules control kerberos security modes (krb5, krb5i, krb5p).
|
2052
2259
|
# Corresponds to the JSON property `kerberosEnabled`
|
@@ -2218,6 +2425,7 @@ module Google
|
|
2218
2425
|
@encryption_type = args[:encryption_type] if args.key?(:encryption_type)
|
2219
2426
|
@export_policy = args[:export_policy] if args.key?(:export_policy)
|
2220
2427
|
@has_replication = args[:has_replication] if args.key?(:has_replication)
|
2428
|
+
@hybrid_replication_parameters = args[:hybrid_replication_parameters] if args.key?(:hybrid_replication_parameters)
|
2221
2429
|
@kerberos_enabled = args[:kerberos_enabled] if args.key?(:kerberos_enabled)
|
2222
2430
|
@kms_config = args[:kms_config] if args.key?(:kms_config)
|
2223
2431
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241203"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class EstablishPeeringRequest
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
79
85
|
class ExportPolicy
|
80
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
87
|
|
@@ -94,6 +100,18 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class HybridPeeringDetails
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class HybridReplicationParameters
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
97
115
|
class KmsConfig
|
98
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
117
|
|
@@ -274,6 +292,12 @@ module Google
|
|
274
292
|
include Google::Apis::Core::JsonObjectSupport
|
275
293
|
end
|
276
294
|
|
295
|
+
class SyncReplicationRequest
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
277
301
|
class TieringPolicy
|
278
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
303
|
|
@@ -286,6 +310,12 @@ module Google
|
|
286
310
|
include Google::Apis::Core::JsonObjectSupport
|
287
311
|
end
|
288
312
|
|
313
|
+
class ValidateDirectoryServiceRequest
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
289
319
|
class VerifyKmsConfigRequest
|
290
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
321
|
|
@@ -412,6 +442,8 @@ module Google
|
|
412
442
|
property :description, as: 'description'
|
413
443
|
property :share_name, as: 'shareName'
|
414
444
|
property :storage_pool, as: 'storagePool'
|
445
|
+
property :tiering_policy, as: 'tieringPolicy', class: Google::Apis::NetappV1::TieringPolicy, decorator: Google::Apis::NetappV1::TieringPolicy::Representation
|
446
|
+
|
415
447
|
property :volume_id, as: 'volumeId'
|
416
448
|
end
|
417
449
|
end
|
@@ -422,6 +454,16 @@ module Google
|
|
422
454
|
end
|
423
455
|
end
|
424
456
|
|
457
|
+
class EstablishPeeringRequest
|
458
|
+
# @private
|
459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
property :peer_cluster_name, as: 'peerClusterName'
|
461
|
+
collection :peer_ip_addresses, as: 'peerIpAddresses'
|
462
|
+
property :peer_svm_name, as: 'peerSvmName'
|
463
|
+
property :peer_volume_name, as: 'peerVolumeName'
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
425
467
|
class ExportPolicy
|
426
468
|
# @private
|
427
469
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -444,6 +486,30 @@ module Google
|
|
444
486
|
end
|
445
487
|
end
|
446
488
|
|
489
|
+
class HybridPeeringDetails
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :command, as: 'command'
|
493
|
+
property :command_expiry_time, as: 'commandExpiryTime'
|
494
|
+
property :passphrase, as: 'passphrase'
|
495
|
+
property :subnet_ip, as: 'subnetIp'
|
496
|
+
end
|
497
|
+
end
|
498
|
+
|
499
|
+
class HybridReplicationParameters
|
500
|
+
# @private
|
501
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
502
|
+
property :cluster_location, as: 'clusterLocation'
|
503
|
+
property :description, as: 'description'
|
504
|
+
hash :labels, as: 'labels'
|
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 :replication, as: 'replication'
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
447
513
|
class KmsConfig
|
448
514
|
# @private
|
449
515
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -633,12 +699,16 @@ module Google
|
|
633
699
|
class Replication
|
634
700
|
# @private
|
635
701
|
class Representation < Google::Apis::Core::JsonRepresentation
|
702
|
+
property :cluster_location, as: 'clusterLocation'
|
636
703
|
property :create_time, as: 'createTime'
|
637
704
|
property :description, as: 'description'
|
638
705
|
property :destination_volume, as: 'destinationVolume'
|
639
706
|
property :destination_volume_parameters, as: 'destinationVolumeParameters', class: Google::Apis::NetappV1::DestinationVolumeParameters, decorator: Google::Apis::NetappV1::DestinationVolumeParameters::Representation
|
640
707
|
|
641
708
|
property :healthy, as: 'healthy'
|
709
|
+
property :hybrid_peering_details, as: 'hybridPeeringDetails', class: Google::Apis::NetappV1::HybridPeeringDetails, decorator: Google::Apis::NetappV1::HybridPeeringDetails::Representation
|
710
|
+
|
711
|
+
property :hybrid_replication_type, as: 'hybridReplicationType'
|
642
712
|
hash :labels, as: 'labels'
|
643
713
|
property :mirror_state, as: 'mirrorState'
|
644
714
|
property :name, as: 'name'
|
@@ -772,6 +842,12 @@ module Google
|
|
772
842
|
end
|
773
843
|
end
|
774
844
|
|
845
|
+
class SyncReplicationRequest
|
846
|
+
# @private
|
847
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
775
851
|
class TieringPolicy
|
776
852
|
# @private
|
777
853
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -794,6 +870,13 @@ module Google
|
|
794
870
|
end
|
795
871
|
end
|
796
872
|
|
873
|
+
class ValidateDirectoryServiceRequest
|
874
|
+
# @private
|
875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
876
|
+
property :directory_service_type, as: 'directoryServiceType'
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
797
880
|
class VerifyKmsConfigRequest
|
798
881
|
# @private
|
799
882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -823,6 +906,8 @@ module Google
|
|
823
906
|
property :export_policy, as: 'exportPolicy', class: Google::Apis::NetappV1::ExportPolicy, decorator: Google::Apis::NetappV1::ExportPolicy::Representation
|
824
907
|
|
825
908
|
property :has_replication, as: 'hasReplication'
|
909
|
+
property :hybrid_replication_parameters, as: 'hybridReplicationParameters', class: Google::Apis::NetappV1::HybridReplicationParameters, decorator: Google::Apis::NetappV1::HybridReplicationParameters::Representation
|
910
|
+
|
826
911
|
property :kerberos_enabled, as: 'kerberosEnabled'
|
827
912
|
property :kms_config, as: 'kmsConfig'
|
828
913
|
hash :labels, as: 'labels'
|
@@ -1133,8 +1133,8 @@ module Google
|
|
1133
1133
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
1134
1134
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
1135
1135
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1136
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
1137
|
-
# corresponding to `Code.CANCELLED`.
|
1136
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1137
|
+
# , corresponding to `Code.CANCELLED`.
|
1138
1138
|
# @param [String] name
|
1139
1139
|
# The name of the operation resource to be cancelled.
|
1140
1140
|
# @param [Google::Apis::NetappV1::CancelOperationRequest] cancel_operation_request_object
|
@@ -1486,6 +1486,40 @@ module Google
|
|
1486
1486
|
execute_or_queue_command(command, &block)
|
1487
1487
|
end
|
1488
1488
|
|
1489
|
+
# ValidateDirectoryService does a connectivity check for a directory service
|
1490
|
+
# policy attached to the storage pool.
|
1491
|
+
# @param [String] name
|
1492
|
+
# Required. Name of the storage pool
|
1493
|
+
# @param [Google::Apis::NetappV1::ValidateDirectoryServiceRequest] validate_directory_service_request_object
|
1494
|
+
# @param [String] fields
|
1495
|
+
# Selector specifying which fields to include in a partial response.
|
1496
|
+
# @param [String] quota_user
|
1497
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1498
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1499
|
+
# @param [Google::Apis::RequestOptions] options
|
1500
|
+
# Request-specific options
|
1501
|
+
#
|
1502
|
+
# @yield [result, err] Result & error if block supplied
|
1503
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
1504
|
+
# @yieldparam err [StandardError] error object if request failed
|
1505
|
+
#
|
1506
|
+
# @return [Google::Apis::NetappV1::Operation]
|
1507
|
+
#
|
1508
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1509
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1510
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1511
|
+
def validate_storage_pool_directory_service(name, validate_directory_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1512
|
+
command = make_simple_command(:post, 'v1/{+name}:validateDirectoryService', options)
|
1513
|
+
command.request_representation = Google::Apis::NetappV1::ValidateDirectoryServiceRequest::Representation
|
1514
|
+
command.request_object = validate_directory_service_request_object
|
1515
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
1516
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
1517
|
+
command.params['name'] = name unless name.nil?
|
1518
|
+
command.query['fields'] = fields unless fields.nil?
|
1519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1520
|
+
execute_or_queue_command(command, &block)
|
1521
|
+
end
|
1522
|
+
|
1489
1523
|
# Creates a new Volume in a given project and location.
|
1490
1524
|
# @param [String] parent
|
1491
1525
|
# Required. Value for parent.
|
@@ -1777,6 +1811,41 @@ module Google
|
|
1777
1811
|
execute_or_queue_command(command, &block)
|
1778
1812
|
end
|
1779
1813
|
|
1814
|
+
# Establish replication peering.
|
1815
|
+
# @param [String] name
|
1816
|
+
# Required. The resource name of the replication, in the format of projects/`
|
1817
|
+
# project_id`/locations/`location`/volumes/`volume_id`/replications/`
|
1818
|
+
# replication_id`.
|
1819
|
+
# @param [Google::Apis::NetappV1::EstablishPeeringRequest] establish_peering_request_object
|
1820
|
+
# @param [String] fields
|
1821
|
+
# Selector specifying which fields to include in a partial response.
|
1822
|
+
# @param [String] quota_user
|
1823
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1824
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1825
|
+
# @param [Google::Apis::RequestOptions] options
|
1826
|
+
# Request-specific options
|
1827
|
+
#
|
1828
|
+
# @yield [result, err] Result & error if block supplied
|
1829
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
1830
|
+
# @yieldparam err [StandardError] error object if request failed
|
1831
|
+
#
|
1832
|
+
# @return [Google::Apis::NetappV1::Operation]
|
1833
|
+
#
|
1834
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1835
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1836
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1837
|
+
def establish_replication_peering(name, establish_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1838
|
+
command = make_simple_command(:post, 'v1/{+name}:establishPeering', options)
|
1839
|
+
command.request_representation = Google::Apis::NetappV1::EstablishPeeringRequest::Representation
|
1840
|
+
command.request_object = establish_peering_request_object
|
1841
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
1842
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
1843
|
+
command.params['name'] = name unless name.nil?
|
1844
|
+
command.query['fields'] = fields unless fields.nil?
|
1845
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1846
|
+
execute_or_queue_command(command, &block)
|
1847
|
+
end
|
1848
|
+
|
1780
1849
|
# Describe a replication for a volume.
|
1781
1850
|
# @param [String] name
|
1782
1851
|
# Required. The replication resource name, in the format `projects/`project_id`/
|
@@ -1997,6 +2066,42 @@ module Google
|
|
1997
2066
|
execute_or_queue_command(command, &block)
|
1998
2067
|
end
|
1999
2068
|
|
2069
|
+
# Syncs the replication. This will invoke one time volume data transfer from
|
2070
|
+
# source to destination.
|
2071
|
+
# @param [String] name
|
2072
|
+
# Required. The resource name of the replication, in the format of projects/`
|
2073
|
+
# project_id`/locations/`location`/volumes/`volume_id`/replications/`
|
2074
|
+
# replication_id`.
|
2075
|
+
# @param [Google::Apis::NetappV1::SyncReplicationRequest] sync_replication_request_object
|
2076
|
+
# @param [String] fields
|
2077
|
+
# Selector specifying which fields to include in a partial response.
|
2078
|
+
# @param [String] quota_user
|
2079
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2080
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2081
|
+
# @param [Google::Apis::RequestOptions] options
|
2082
|
+
# Request-specific options
|
2083
|
+
#
|
2084
|
+
# @yield [result, err] Result & error if block supplied
|
2085
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
2086
|
+
# @yieldparam err [StandardError] error object if request failed
|
2087
|
+
#
|
2088
|
+
# @return [Google::Apis::NetappV1::Operation]
|
2089
|
+
#
|
2090
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2091
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2092
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2093
|
+
def sync_replication(name, sync_replication_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2094
|
+
command = make_simple_command(:post, 'v1/{+name}:sync', options)
|
2095
|
+
command.request_representation = Google::Apis::NetappV1::SyncReplicationRequest::Representation
|
2096
|
+
command.request_object = sync_replication_request_object
|
2097
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
2098
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
2099
|
+
command.params['name'] = name unless name.nil?
|
2100
|
+
command.query['fields'] = fields unless fields.nil?
|
2101
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2102
|
+
execute_or_queue_command(command, &block)
|
2103
|
+
end
|
2104
|
+
|
2000
2105
|
# Create a new snapshot for a volume.
|
2001
2106
|
# @param [String] parent
|
2002
2107
|
# Required. The NetApp volume to create the snapshots of, in the format `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.3.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for NetApp API V1
|