google-apis-netapp_v1 0.1.0 → 0.2.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: b9362a1c68b25f6cc7748679d6aaec730d2b0cfb34bdffc4cd4bd4867a634232
4
- data.tar.gz: c5e5b7ff797965e8d0781f3e6001e815b7c6030c75882c9455aac46f3bf0067b
3
+ metadata.gz: '0555197e11e9efc6502bce6de5257652f6acc334ab6b60103cb2773b21c7d5f9'
4
+ data.tar.gz: d282d142b6fe5b741ce83f6728f12a43f06521f09c5d4b3d95e272ce9fc6e6ed
5
5
  SHA512:
6
- metadata.gz: dbdea1807007e79d99b922efc2ecb2c2acad00867b5a97434b634285a1795ed3630f502a521e81897b645ddd076c0104c1cb8141587c5ee8e812757add76211e
7
- data.tar.gz: ba8056e4eedc3a7b1f91257c29da5c08429201430dfd2a9e75aa689a0c23a7eaf13374d004de21a9a5d4c54d42e7e026a436d568cd829cd261c15410df0dfa53
6
+ metadata.gz: 39c8c2cadbc0fa393ba8786cca7a6742508815e7897d355b41837dfcfa73d376bfec759aaf880941b70c8e75efd8cee38334e537a387c88039d4610a7fdec47a
7
+ data.tar.gz: 7d4a6171d9cd894af72af5c94c936149c26897529463dea063b5e140d4e8bdbec575cbd6fc6f27ba5c6b174f2183e79152bf1cebd1377bacdcad3f3a9040719a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.2.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241106
6
+
3
7
  ### v0.1.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241021
@@ -527,6 +527,47 @@ module Google
527
527
  end
528
528
  end
529
529
 
530
+ # EstablishPeeringRequest establishes cluster and svm peerings between the
531
+ # source and the destination replications.
532
+ class EstablishPeeringRequest
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # Required. Name of the user's local source cluster to be peered with the
536
+ # destination cluster.
537
+ # Corresponds to the JSON property `peerClusterName`
538
+ # @return [String]
539
+ attr_accessor :peer_cluster_name
540
+
541
+ # Optional. List of IPv4 ip addresses to be used for peering.
542
+ # Corresponds to the JSON property `peerIpAddresses`
543
+ # @return [Array<String>]
544
+ attr_accessor :peer_ip_addresses
545
+
546
+ # Required. Name of the user's local source vserver svm to be peered with the
547
+ # destination vserver svm.
548
+ # Corresponds to the JSON property `peerSvmName`
549
+ # @return [String]
550
+ attr_accessor :peer_svm_name
551
+
552
+ # Required. Name of the user's local source volume to be peered with the
553
+ # destination volume.
554
+ # Corresponds to the JSON property `peerVolumeName`
555
+ # @return [String]
556
+ attr_accessor :peer_volume_name
557
+
558
+ def initialize(**args)
559
+ update!(**args)
560
+ end
561
+
562
+ # Update properties of this object
563
+ def update!(**args)
564
+ @peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
565
+ @peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
566
+ @peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
567
+ @peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
568
+ end
569
+ end
570
+
530
571
  # Defines the export policy for the volume.
531
572
  class ExportPolicy
532
573
  include Google::Apis::Core::Hashable
@@ -588,6 +629,110 @@ module Google
588
629
  end
589
630
  end
590
631
 
632
+ # HybridPeeringDetails contains details about the hybrid peering.
633
+ class HybridPeeringDetails
634
+ include Google::Apis::Core::Hashable
635
+
636
+ # Optional. Copy-paste-able commands to be used on user's ONTAP to accept
637
+ # peering requests.
638
+ # Corresponds to the JSON property `command`
639
+ # @return [String]
640
+ attr_accessor :command
641
+
642
+ # Optional. Expiration time for the peering command to be executed on user's
643
+ # ONTAP.
644
+ # Corresponds to the JSON property `commandExpiryTime`
645
+ # @return [String]
646
+ attr_accessor :command_expiry_time
647
+
648
+ # Optional. Temporary passphrase generated to accept cluster peering command.
649
+ # Corresponds to the JSON property `passphrase`
650
+ # @return [String]
651
+ attr_accessor :passphrase
652
+
653
+ # Optional. IP address of the subnet.
654
+ # Corresponds to the JSON property `subnetIp`
655
+ # @return [String]
656
+ attr_accessor :subnet_ip
657
+
658
+ def initialize(**args)
659
+ update!(**args)
660
+ end
661
+
662
+ # Update properties of this object
663
+ def update!(**args)
664
+ @command = args[:command] if args.key?(:command)
665
+ @command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time)
666
+ @passphrase = args[:passphrase] if args.key?(:passphrase)
667
+ @subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip)
668
+ end
669
+ end
670
+
671
+ # The Hybrid Replication parameters for the volume.
672
+ class HybridReplicationParameters
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # Optional. Name of source cluster location associated with the Hybrid
676
+ # replication. This is a free-form field for the display purpose only.
677
+ # Corresponds to the JSON property `clusterLocation`
678
+ # @return [String]
679
+ attr_accessor :cluster_location
680
+
681
+ # Optional. Description of the replication.
682
+ # Corresponds to the JSON property `description`
683
+ # @return [String]
684
+ attr_accessor :description
685
+
686
+ # Optional. Labels to be added to the replication as the key value pairs.
687
+ # Corresponds to the JSON property `labels`
688
+ # @return [Hash<String,String>]
689
+ attr_accessor :labels
690
+
691
+ # Required. Name of the user's local source cluster to be peered with the
692
+ # destination cluster.
693
+ # Corresponds to the JSON property `peerClusterName`
694
+ # @return [String]
695
+ attr_accessor :peer_cluster_name
696
+
697
+ # Required. List of node ip addresses to be peered with.
698
+ # Corresponds to the JSON property `peerIpAddresses`
699
+ # @return [Array<String>]
700
+ attr_accessor :peer_ip_addresses
701
+
702
+ # Required. Name of the user's local source vserver svm to be peered with the
703
+ # destination vserver svm.
704
+ # Corresponds to the JSON property `peerSvmName`
705
+ # @return [String]
706
+ attr_accessor :peer_svm_name
707
+
708
+ # Required. Name of the user's local source volume to be peered with the
709
+ # destination volume.
710
+ # Corresponds to the JSON property `peerVolumeName`
711
+ # @return [String]
712
+ attr_accessor :peer_volume_name
713
+
714
+ # Required. Desired name for the replication of this volume.
715
+ # Corresponds to the JSON property `replication`
716
+ # @return [String]
717
+ attr_accessor :replication
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ def update!(**args)
725
+ @cluster_location = args[:cluster_location] if args.key?(:cluster_location)
726
+ @description = args[:description] if args.key?(:description)
727
+ @labels = args[:labels] if args.key?(:labels)
728
+ @peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
729
+ @peer_ip_addresses = args[:peer_ip_addresses] if args.key?(:peer_ip_addresses)
730
+ @peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
731
+ @peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
732
+ @replication = args[:replication] if args.key?(:replication)
733
+ end
734
+ end
735
+
591
736
  # KmsConfig is the customer managed encryption key(CMEK) configuration.
592
737
  class KmsConfig
593
738
  include Google::Apis::Core::Hashable
@@ -865,6 +1010,37 @@ module Google
865
1010
  end
866
1011
  end
867
1012
 
1013
+ # ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
1014
+ class ListQuotaRulesResponse
1015
+ include Google::Apis::Core::Hashable
1016
+
1017
+ # A token identifying a page of results the server should return.
1018
+ # Corresponds to the JSON property `nextPageToken`
1019
+ # @return [String]
1020
+ attr_accessor :next_page_token
1021
+
1022
+ # List of quota rules
1023
+ # Corresponds to the JSON property `quotaRules`
1024
+ # @return [Array<Google::Apis::NetappV1::QuotaRule>]
1025
+ attr_accessor :quota_rules
1026
+
1027
+ # Locations that could not be reached.
1028
+ # Corresponds to the JSON property `unreachable`
1029
+ # @return [Array<String>]
1030
+ attr_accessor :unreachable
1031
+
1032
+ def initialize(**args)
1033
+ update!(**args)
1034
+ end
1035
+
1036
+ # Update properties of this object
1037
+ def update!(**args)
1038
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1039
+ @quota_rules = args[:quota_rules] if args.key?(:quota_rules)
1040
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1041
+ end
1042
+ end
1043
+
868
1044
  # ListReplicationsResponse is the result of ListReplicationsRequest.
869
1045
  class ListReplicationsResponse
870
1046
  include Google::Apis::Core::Hashable
@@ -1254,11 +1430,86 @@ module Google
1254
1430
  end
1255
1431
  end
1256
1432
 
1433
+ # QuotaRule specifies the maximum disk space a user or group can use within a
1434
+ # volume. They can be used for creating default and individual quota rules.
1435
+ class QuotaRule
1436
+ include Google::Apis::Core::Hashable
1437
+
1438
+ # Output only. Create time of the quota rule
1439
+ # Corresponds to the JSON property `createTime`
1440
+ # @return [String]
1441
+ attr_accessor :create_time
1442
+
1443
+ # Optional. Description of the quota rule
1444
+ # Corresponds to the JSON property `description`
1445
+ # @return [String]
1446
+ attr_accessor :description
1447
+
1448
+ # Required. The maximum allowed disk space in MiB.
1449
+ # Corresponds to the JSON property `diskLimitMib`
1450
+ # @return [Fixnum]
1451
+ attr_accessor :disk_limit_mib
1452
+
1453
+ # Optional. Labels of the quota rule
1454
+ # Corresponds to the JSON property `labels`
1455
+ # @return [Hash<String,String>]
1456
+ attr_accessor :labels
1457
+
1458
+ # Identifier. The resource name of the active directory. Format: `projects/`
1459
+ # project_number`/locations/`location_id`/quotaRules/`quota_rule_id``.
1460
+ # Corresponds to the JSON property `name`
1461
+ # @return [String]
1462
+ attr_accessor :name
1463
+
1464
+ # Output only. State of the quota rule
1465
+ # Corresponds to the JSON property `state`
1466
+ # @return [String]
1467
+ attr_accessor :state
1468
+
1469
+ # Output only. State details of the quota rule
1470
+ # Corresponds to the JSON property `stateDetails`
1471
+ # @return [String]
1472
+ attr_accessor :state_details
1473
+
1474
+ # Optional. The quota rule applies to the specified user or group, identified by
1475
+ # a Unix UID/GID, Windows SID, or null for default.
1476
+ # Corresponds to the JSON property `target`
1477
+ # @return [String]
1478
+ attr_accessor :target
1479
+
1480
+ # Required. The type of quota rule.
1481
+ # Corresponds to the JSON property `type`
1482
+ # @return [String]
1483
+ attr_accessor :type
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ @create_time = args[:create_time] if args.key?(:create_time)
1492
+ @description = args[:description] if args.key?(:description)
1493
+ @disk_limit_mib = args[:disk_limit_mib] if args.key?(:disk_limit_mib)
1494
+ @labels = args[:labels] if args.key?(:labels)
1495
+ @name = args[:name] if args.key?(:name)
1496
+ @state = args[:state] if args.key?(:state)
1497
+ @state_details = args[:state_details] if args.key?(:state_details)
1498
+ @target = args[:target] if args.key?(:target)
1499
+ @type = args[:type] if args.key?(:type)
1500
+ end
1501
+ end
1502
+
1257
1503
  # Replication is a nested resource under Volume, that describes a cross-region
1258
1504
  # replication relationship between 2 volumes in different regions.
1259
1505
  class Replication
1260
1506
  include Google::Apis::Core::Hashable
1261
1507
 
1508
+ # Optional. Location of the user cluster.
1509
+ # Corresponds to the JSON property `clusterLocation`
1510
+ # @return [String]
1511
+ attr_accessor :cluster_location
1512
+
1262
1513
  # Output only. Replication create time.
1263
1514
  # Corresponds to the JSON property `createTime`
1264
1515
  # @return [String]
@@ -1290,6 +1541,16 @@ module Google
1290
1541
  attr_accessor :healthy
1291
1542
  alias_method :healthy?, :healthy
1292
1543
 
1544
+ # HybridPeeringDetails contains details about the hybrid peering.
1545
+ # Corresponds to the JSON property `hybridPeeringDetails`
1546
+ # @return [Google::Apis::NetappV1::HybridPeeringDetails]
1547
+ attr_accessor :hybrid_peering_details
1548
+
1549
+ # Output only. Type of the hybrid replication.
1550
+ # Corresponds to the JSON property `hybridReplicationType`
1551
+ # @return [String]
1552
+ attr_accessor :hybrid_replication_type
1553
+
1293
1554
  # Resource labels to represent user provided metadata.
1294
1555
  # Corresponds to the JSON property `labels`
1295
1556
  # @return [Hash<String,String>]
@@ -1344,11 +1605,14 @@ module Google
1344
1605
 
1345
1606
  # Update properties of this object
1346
1607
  def update!(**args)
1608
+ @cluster_location = args[:cluster_location] if args.key?(:cluster_location)
1347
1609
  @create_time = args[:create_time] if args.key?(:create_time)
1348
1610
  @description = args[:description] if args.key?(:description)
1349
1611
  @destination_volume = args[:destination_volume] if args.key?(:destination_volume)
1350
1612
  @destination_volume_parameters = args[:destination_volume_parameters] if args.key?(:destination_volume_parameters)
1351
1613
  @healthy = args[:healthy] if args.key?(:healthy)
1614
+ @hybrid_peering_details = args[:hybrid_peering_details] if args.key?(:hybrid_peering_details)
1615
+ @hybrid_replication_type = args[:hybrid_replication_type] if args.key?(:hybrid_replication_type)
1352
1616
  @labels = args[:labels] if args.key?(:labels)
1353
1617
  @mirror_state = args[:mirror_state] if args.key?(:mirror_state)
1354
1618
  @name = args[:name] if args.key?(:name)
@@ -1860,6 +2124,19 @@ module Google
1860
2124
  end
1861
2125
  end
1862
2126
 
2127
+ # SyncReplicationRequest syncs the replication from source to destination.
2128
+ class SyncReplicationRequest
2129
+ include Google::Apis::Core::Hashable
2130
+
2131
+ def initialize(**args)
2132
+ update!(**args)
2133
+ end
2134
+
2135
+ # Update properties of this object
2136
+ def update!(**args)
2137
+ end
2138
+ end
2139
+
1863
2140
  # Defines tiering policy for the volume.
1864
2141
  class TieringPolicy
1865
2142
  include Google::Apis::Core::Hashable
@@ -2047,6 +2324,11 @@ module Google
2047
2324
  attr_accessor :has_replication
2048
2325
  alias_method :has_replication?, :has_replication
2049
2326
 
2327
+ # The Hybrid Replication parameters for the volume.
2328
+ # Corresponds to the JSON property `hybridReplicationParameters`
2329
+ # @return [Google::Apis::NetappV1::HybridReplicationParameters]
2330
+ attr_accessor :hybrid_replication_parameters
2331
+
2050
2332
  # Optional. Flag indicating if the volume is a kerberos volume or not, export
2051
2333
  # policy rules control kerberos security modes (krb5, krb5i, krb5p).
2052
2334
  # Corresponds to the JSON property `kerberosEnabled`
@@ -2218,6 +2500,7 @@ module Google
2218
2500
  @encryption_type = args[:encryption_type] if args.key?(:encryption_type)
2219
2501
  @export_policy = args[:export_policy] if args.key?(:export_policy)
2220
2502
  @has_replication = args[:has_replication] if args.key?(:has_replication)
2503
+ @hybrid_replication_parameters = args[:hybrid_replication_parameters] if args.key?(:hybrid_replication_parameters)
2221
2504
  @kerberos_enabled = args[:kerberos_enabled] if args.key?(:kerberos_enabled)
2222
2505
  @kms_config = args[:kms_config] if args.key?(:kms_config)
2223
2506
  @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.1.0"
19
+ GEM_VERSION = "0.2.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 = "20241021"
25
+ REVISION = "20241106"
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
 
@@ -142,6 +160,12 @@ module Google
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
163
+ class ListQuotaRulesResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class ListReplicationsResponse
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -202,6 +226,12 @@ module Google
202
226
  include Google::Apis::Core::JsonObjectSupport
203
227
  end
204
228
 
229
+ class QuotaRule
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
205
235
  class Replication
206
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
237
 
@@ -274,6 +304,12 @@ module Google
274
304
  include Google::Apis::Core::JsonObjectSupport
275
305
  end
276
306
 
307
+ class SyncReplicationRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
277
313
  class TieringPolicy
278
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
315
 
@@ -422,6 +458,16 @@ module Google
422
458
  end
423
459
  end
424
460
 
461
+ class EstablishPeeringRequest
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :peer_cluster_name, as: 'peerClusterName'
465
+ collection :peer_ip_addresses, as: 'peerIpAddresses'
466
+ property :peer_svm_name, as: 'peerSvmName'
467
+ property :peer_volume_name, as: 'peerVolumeName'
468
+ end
469
+ end
470
+
425
471
  class ExportPolicy
426
472
  # @private
427
473
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -444,6 +490,30 @@ module Google
444
490
  end
445
491
  end
446
492
 
493
+ class HybridPeeringDetails
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :command, as: 'command'
497
+ property :command_expiry_time, as: 'commandExpiryTime'
498
+ property :passphrase, as: 'passphrase'
499
+ property :subnet_ip, as: 'subnetIp'
500
+ end
501
+ end
502
+
503
+ class HybridReplicationParameters
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :cluster_location, as: 'clusterLocation'
507
+ property :description, as: 'description'
508
+ hash :labels, as: 'labels'
509
+ property :peer_cluster_name, as: 'peerClusterName'
510
+ collection :peer_ip_addresses, as: 'peerIpAddresses'
511
+ property :peer_svm_name, as: 'peerSvmName'
512
+ property :peer_volume_name, as: 'peerVolumeName'
513
+ property :replication, as: 'replication'
514
+ end
515
+ end
516
+
447
517
  class KmsConfig
448
518
  # @private
449
519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -527,6 +597,16 @@ module Google
527
597
  end
528
598
  end
529
599
 
600
+ class ListQuotaRulesResponse
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :next_page_token, as: 'nextPageToken'
604
+ collection :quota_rules, as: 'quotaRules', class: Google::Apis::NetappV1::QuotaRule, decorator: Google::Apis::NetappV1::QuotaRule::Representation
605
+
606
+ collection :unreachable, as: 'unreachable'
607
+ end
608
+ end
609
+
530
610
  class ListReplicationsResponse
531
611
  # @private
532
612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -630,15 +710,34 @@ module Google
630
710
  end
631
711
  end
632
712
 
713
+ class QuotaRule
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :create_time, as: 'createTime'
717
+ property :description, as: 'description'
718
+ property :disk_limit_mib, as: 'diskLimitMib'
719
+ hash :labels, as: 'labels'
720
+ property :name, as: 'name'
721
+ property :state, as: 'state'
722
+ property :state_details, as: 'stateDetails'
723
+ property :target, as: 'target'
724
+ property :type, as: 'type'
725
+ end
726
+ end
727
+
633
728
  class Replication
634
729
  # @private
635
730
  class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :cluster_location, as: 'clusterLocation'
636
732
  property :create_time, as: 'createTime'
637
733
  property :description, as: 'description'
638
734
  property :destination_volume, as: 'destinationVolume'
639
735
  property :destination_volume_parameters, as: 'destinationVolumeParameters', class: Google::Apis::NetappV1::DestinationVolumeParameters, decorator: Google::Apis::NetappV1::DestinationVolumeParameters::Representation
640
736
 
641
737
  property :healthy, as: 'healthy'
738
+ property :hybrid_peering_details, as: 'hybridPeeringDetails', class: Google::Apis::NetappV1::HybridPeeringDetails, decorator: Google::Apis::NetappV1::HybridPeeringDetails::Representation
739
+
740
+ property :hybrid_replication_type, as: 'hybridReplicationType'
642
741
  hash :labels, as: 'labels'
643
742
  property :mirror_state, as: 'mirrorState'
644
743
  property :name, as: 'name'
@@ -772,6 +871,12 @@ module Google
772
871
  end
773
872
  end
774
873
 
874
+ class SyncReplicationRequest
875
+ # @private
876
+ class Representation < Google::Apis::Core::JsonRepresentation
877
+ end
878
+ end
879
+
775
880
  class TieringPolicy
776
881
  # @private
777
882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -823,6 +928,8 @@ module Google
823
928
  property :export_policy, as: 'exportPolicy', class: Google::Apis::NetappV1::ExportPolicy, decorator: Google::Apis::NetappV1::ExportPolicy::Representation
824
929
 
825
930
  property :has_replication, as: 'hasReplication'
931
+ property :hybrid_replication_parameters, as: 'hybridReplicationParameters', class: Google::Apis::NetappV1::HybridReplicationParameters, decorator: Google::Apis::NetappV1::HybridReplicationParameters::Representation
932
+
826
933
  property :kerberos_enabled, as: 'kerberosEnabled'
827
934
  property :kms_config, as: 'kmsConfig'
828
935
  hash :labels, as: 'labels'
@@ -1707,6 +1707,189 @@ module Google
1707
1707
  execute_or_queue_command(command, &block)
1708
1708
  end
1709
1709
 
1710
+ # Creates a new quota rule.
1711
+ # @param [String] parent
1712
+ # Required. Parent value for CreateQuotaRuleRequest
1713
+ # @param [Google::Apis::NetappV1::QuotaRule] quota_rule_object
1714
+ # @param [String] quota_rule_id
1715
+ # Required. ID of the quota rule to create. Must be unique within the parent
1716
+ # resource. Must contain only letters, numbers, underscore and hyphen, with the
1717
+ # first character a letter or underscore, the last a letter or underscore or a
1718
+ # number, and a 63 character maximum.
1719
+ # @param [String] fields
1720
+ # Selector specifying which fields to include in a partial response.
1721
+ # @param [String] quota_user
1722
+ # Available to use for quota purposes for server-side applications. Can be any
1723
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1724
+ # @param [Google::Apis::RequestOptions] options
1725
+ # Request-specific options
1726
+ #
1727
+ # @yield [result, err] Result & error if block supplied
1728
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1729
+ # @yieldparam err [StandardError] error object if request failed
1730
+ #
1731
+ # @return [Google::Apis::NetappV1::Operation]
1732
+ #
1733
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1734
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1735
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1736
+ def create_project_location_volume_quota_rule(parent, quota_rule_object = nil, quota_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1737
+ command = make_simple_command(:post, 'v1/{+parent}/quotaRules', options)
1738
+ command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation
1739
+ command.request_object = quota_rule_object
1740
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1741
+ command.response_class = Google::Apis::NetappV1::Operation
1742
+ command.params['parent'] = parent unless parent.nil?
1743
+ command.query['quotaRuleId'] = quota_rule_id unless quota_rule_id.nil?
1744
+ command.query['fields'] = fields unless fields.nil?
1745
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1746
+ execute_or_queue_command(command, &block)
1747
+ end
1748
+
1749
+ # Deletes a quota rule.
1750
+ # @param [String] name
1751
+ # Required. Name of the quota rule.
1752
+ # @param [String] fields
1753
+ # Selector specifying which fields to include in a partial response.
1754
+ # @param [String] quota_user
1755
+ # Available to use for quota purposes for server-side applications. Can be any
1756
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1757
+ # @param [Google::Apis::RequestOptions] options
1758
+ # Request-specific options
1759
+ #
1760
+ # @yield [result, err] Result & error if block supplied
1761
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1762
+ # @yieldparam err [StandardError] error object if request failed
1763
+ #
1764
+ # @return [Google::Apis::NetappV1::Operation]
1765
+ #
1766
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1767
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1768
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1769
+ def delete_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block)
1770
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1771
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1772
+ command.response_class = Google::Apis::NetappV1::Operation
1773
+ command.params['name'] = name unless name.nil?
1774
+ command.query['fields'] = fields unless fields.nil?
1775
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1776
+ execute_or_queue_command(command, &block)
1777
+ end
1778
+
1779
+ # Returns details of the specified quota rule.
1780
+ # @param [String] name
1781
+ # Required. Name of the quota rule
1782
+ # @param [String] fields
1783
+ # Selector specifying which fields to include in a partial response.
1784
+ # @param [String] quota_user
1785
+ # Available to use for quota purposes for server-side applications. Can be any
1786
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1787
+ # @param [Google::Apis::RequestOptions] options
1788
+ # Request-specific options
1789
+ #
1790
+ # @yield [result, err] Result & error if block supplied
1791
+ # @yieldparam result [Google::Apis::NetappV1::QuotaRule] parsed result object
1792
+ # @yieldparam err [StandardError] error object if request failed
1793
+ #
1794
+ # @return [Google::Apis::NetappV1::QuotaRule]
1795
+ #
1796
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1797
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1798
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1799
+ def get_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block)
1800
+ command = make_simple_command(:get, 'v1/{+name}', options)
1801
+ command.response_representation = Google::Apis::NetappV1::QuotaRule::Representation
1802
+ command.response_class = Google::Apis::NetappV1::QuotaRule
1803
+ command.params['name'] = name unless name.nil?
1804
+ command.query['fields'] = fields unless fields.nil?
1805
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1806
+ execute_or_queue_command(command, &block)
1807
+ end
1808
+
1809
+ # Returns list of all quota rules in a location.
1810
+ # @param [String] parent
1811
+ # Required. Parent value for ListQuotaRulesRequest
1812
+ # @param [String] filter
1813
+ # Optional. Filtering results
1814
+ # @param [String] order_by
1815
+ # Optional. Hint for how to order the results
1816
+ # @param [Fixnum] page_size
1817
+ # Optional. Requested page size. Server may return fewer items than requested.
1818
+ # If unspecified, the server will pick an appropriate default.
1819
+ # @param [String] page_token
1820
+ # Optional. A token identifying a page of results the server should return.
1821
+ # @param [String] fields
1822
+ # Selector specifying which fields to include in a partial response.
1823
+ # @param [String] quota_user
1824
+ # Available to use for quota purposes for server-side applications. Can be any
1825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1826
+ # @param [Google::Apis::RequestOptions] options
1827
+ # Request-specific options
1828
+ #
1829
+ # @yield [result, err] Result & error if block supplied
1830
+ # @yieldparam result [Google::Apis::NetappV1::ListQuotaRulesResponse] parsed result object
1831
+ # @yieldparam err [StandardError] error object if request failed
1832
+ #
1833
+ # @return [Google::Apis::NetappV1::ListQuotaRulesResponse]
1834
+ #
1835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1838
+ def list_project_location_volume_quota_rules(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1839
+ command = make_simple_command(:get, 'v1/{+parent}/quotaRules', options)
1840
+ command.response_representation = Google::Apis::NetappV1::ListQuotaRulesResponse::Representation
1841
+ command.response_class = Google::Apis::NetappV1::ListQuotaRulesResponse
1842
+ command.params['parent'] = parent unless parent.nil?
1843
+ command.query['filter'] = filter unless filter.nil?
1844
+ command.query['orderBy'] = order_by unless order_by.nil?
1845
+ command.query['pageSize'] = page_size unless page_size.nil?
1846
+ command.query['pageToken'] = page_token unless page_token.nil?
1847
+ command.query['fields'] = fields unless fields.nil?
1848
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1849
+ execute_or_queue_command(command, &block)
1850
+ end
1851
+
1852
+ # Updates a quota rule.
1853
+ # @param [String] name
1854
+ # Identifier. The resource name of the active directory. Format: `projects/`
1855
+ # project_number`/locations/`location_id`/quotaRules/`quota_rule_id``.
1856
+ # @param [Google::Apis::NetappV1::QuotaRule] quota_rule_object
1857
+ # @param [String] update_mask
1858
+ # Optional. Field mask is used to specify the fields to be overwritten in the
1859
+ # Quota Rule resource by the update. The fields specified in the update_mask are
1860
+ # relative to the resource, not the full request. A field will be overwritten if
1861
+ # it is in the mask. If the user does not provide a mask then all fields will be
1862
+ # overwritten.
1863
+ # @param [String] fields
1864
+ # Selector specifying which fields to include in a partial response.
1865
+ # @param [String] quota_user
1866
+ # Available to use for quota purposes for server-side applications. Can be any
1867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1868
+ # @param [Google::Apis::RequestOptions] options
1869
+ # Request-specific options
1870
+ #
1871
+ # @yield [result, err] Result & error if block supplied
1872
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1873
+ # @yieldparam err [StandardError] error object if request failed
1874
+ #
1875
+ # @return [Google::Apis::NetappV1::Operation]
1876
+ #
1877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1880
+ def patch_project_location_volume_quota_rule(name, quota_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1881
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1882
+ command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation
1883
+ command.request_object = quota_rule_object
1884
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1885
+ command.response_class = Google::Apis::NetappV1::Operation
1886
+ command.params['name'] = name unless name.nil?
1887
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1888
+ command.query['fields'] = fields unless fields.nil?
1889
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1890
+ execute_or_queue_command(command, &block)
1891
+ end
1892
+
1710
1893
  # Create a new replication for a volume.
1711
1894
  # @param [String] parent
1712
1895
  # Required. The NetApp volume to create the replications of, in the format `
@@ -1777,6 +1960,41 @@ module Google
1777
1960
  execute_or_queue_command(command, &block)
1778
1961
  end
1779
1962
 
1963
+ # Establish replication peering.
1964
+ # @param [String] name
1965
+ # Required. The resource name of the replication, in the format of projects/`
1966
+ # project_id`/locations/`location`/volumes/`volume_id`/replications/`
1967
+ # replication_id`.
1968
+ # @param [Google::Apis::NetappV1::EstablishPeeringRequest] establish_peering_request_object
1969
+ # @param [String] fields
1970
+ # Selector specifying which fields to include in a partial response.
1971
+ # @param [String] quota_user
1972
+ # Available to use for quota purposes for server-side applications. Can be any
1973
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1974
+ # @param [Google::Apis::RequestOptions] options
1975
+ # Request-specific options
1976
+ #
1977
+ # @yield [result, err] Result & error if block supplied
1978
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1979
+ # @yieldparam err [StandardError] error object if request failed
1980
+ #
1981
+ # @return [Google::Apis::NetappV1::Operation]
1982
+ #
1983
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1984
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1985
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1986
+ def establish_replication_peering(name, establish_peering_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1987
+ command = make_simple_command(:post, 'v1/{+name}:establishPeering', options)
1988
+ command.request_representation = Google::Apis::NetappV1::EstablishPeeringRequest::Representation
1989
+ command.request_object = establish_peering_request_object
1990
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1991
+ command.response_class = Google::Apis::NetappV1::Operation
1992
+ command.params['name'] = name unless name.nil?
1993
+ command.query['fields'] = fields unless fields.nil?
1994
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1995
+ execute_or_queue_command(command, &block)
1996
+ end
1997
+
1780
1998
  # Describe a replication for a volume.
1781
1999
  # @param [String] name
1782
2000
  # Required. The replication resource name, in the format `projects/`project_id`/
@@ -1997,6 +2215,42 @@ module Google
1997
2215
  execute_or_queue_command(command, &block)
1998
2216
  end
1999
2217
 
2218
+ # Syncs the replication. This will invoke one time volume data transfer from
2219
+ # source to destination.
2220
+ # @param [String] name
2221
+ # Required. The resource name of the replication, in the format of projects/`
2222
+ # project_id`/locations/`location`/volumes/`volume_id`/replications/`
2223
+ # replication_id`.
2224
+ # @param [Google::Apis::NetappV1::SyncReplicationRequest] sync_replication_request_object
2225
+ # @param [String] fields
2226
+ # Selector specifying which fields to include in a partial response.
2227
+ # @param [String] quota_user
2228
+ # Available to use for quota purposes for server-side applications. Can be any
2229
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2230
+ # @param [Google::Apis::RequestOptions] options
2231
+ # Request-specific options
2232
+ #
2233
+ # @yield [result, err] Result & error if block supplied
2234
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
2235
+ # @yieldparam err [StandardError] error object if request failed
2236
+ #
2237
+ # @return [Google::Apis::NetappV1::Operation]
2238
+ #
2239
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2240
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2241
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2242
+ def sync_replication(name, sync_replication_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2243
+ command = make_simple_command(:post, 'v1/{+name}:sync', options)
2244
+ command.request_representation = Google::Apis::NetappV1::SyncReplicationRequest::Representation
2245
+ command.request_object = sync_replication_request_object
2246
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
2247
+ command.response_class = Google::Apis::NetappV1::Operation
2248
+ command.params['name'] = name unless name.nil?
2249
+ command.query['fields'] = fields unless fields.nil?
2250
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2251
+ execute_or_queue_command(command, &block)
2252
+ end
2253
+
2000
2254
  # Create a new snapshot for a volume.
2001
2255
  # @param [String] parent
2002
2256
  # 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.1.0
4
+ version: 0.2.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-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.2.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.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for NetApp API V1