google-apis-netapp_v1 0.3.0 → 0.5.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: a9e1d1155e51aa0b33a2e415ffdd1d193e242276a43311bc814451b62842c7d7
|
4
|
+
data.tar.gz: cb9e2e826014a9439662c8b626600fc6d61c792951d85ca0e8f06e255421c419
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b0f4caafc20863511c35fbff318a006803a1b069502d0bb9e57f613c69a027d737f6de1be4e438b207e611f783b55821a584295f68da7745cc5a0b8e2317a85
|
7
|
+
data.tar.gz: 9b0b880522b9f477fc622760014031b9036162eea3f99bc7560bc072fab937311b01e600936c4268fc7352b7f837aae749a998ec30299f436ebc3476cc2ab367
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-netapp_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250129
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.4.0 (2024-12-22)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241209
|
11
|
+
|
3
12
|
### v0.3.0 (2024-12-15)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241203
|
@@ -217,6 +217,18 @@ module Google
|
|
217
217
|
# @return [String]
|
218
218
|
attr_accessor :name
|
219
219
|
|
220
|
+
# Output only. Reserved for future use
|
221
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
222
|
+
# @return [Boolean]
|
223
|
+
attr_accessor :satisfies_pzi
|
224
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
225
|
+
|
226
|
+
# Output only. Reserved for future use
|
227
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
228
|
+
# @return [Boolean]
|
229
|
+
attr_accessor :satisfies_pzs
|
230
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
231
|
+
|
220
232
|
# If specified, backup will be created from the given snapshot. If not specified,
|
221
233
|
# there will be a new snapshot taken to initiate the backup creation. Format: `
|
222
234
|
# projects/`project_id`/locations/`location`/volumes/`volume_id`/snapshots/`
|
@@ -255,6 +267,8 @@ module Google
|
|
255
267
|
@description = args[:description] if args.key?(:description)
|
256
268
|
@labels = args[:labels] if args.key?(:labels)
|
257
269
|
@name = args[:name] if args.key?(:name)
|
270
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
271
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
258
272
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
259
273
|
@source_volume = args[:source_volume] if args.key?(:source_volume)
|
260
274
|
@state = args[:state] if args.key?(:state)
|
@@ -656,6 +670,24 @@ module Google
|
|
656
670
|
# @return [String]
|
657
671
|
attr_accessor :passphrase
|
658
672
|
|
673
|
+
# Optional. Name of the user's local source cluster to be peered with the
|
674
|
+
# destination cluster.
|
675
|
+
# Corresponds to the JSON property `peerClusterName`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :peer_cluster_name
|
678
|
+
|
679
|
+
# Optional. Name of the user's local source vserver svm to be peered with the
|
680
|
+
# destination vserver svm.
|
681
|
+
# Corresponds to the JSON property `peerSvmName`
|
682
|
+
# @return [String]
|
683
|
+
attr_accessor :peer_svm_name
|
684
|
+
|
685
|
+
# Optional. Name of the user's local source volume to be peered with the
|
686
|
+
# destination volume.
|
687
|
+
# Corresponds to the JSON property `peerVolumeName`
|
688
|
+
# @return [String]
|
689
|
+
attr_accessor :peer_volume_name
|
690
|
+
|
659
691
|
# Optional. IP address of the subnet.
|
660
692
|
# Corresponds to the JSON property `subnetIp`
|
661
693
|
# @return [String]
|
@@ -670,6 +702,9 @@ module Google
|
|
670
702
|
@command = args[:command] if args.key?(:command)
|
671
703
|
@command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time)
|
672
704
|
@passphrase = args[:passphrase] if args.key?(:passphrase)
|
705
|
+
@peer_cluster_name = args[:peer_cluster_name] if args.key?(:peer_cluster_name)
|
706
|
+
@peer_svm_name = args[:peer_svm_name] if args.key?(:peer_svm_name)
|
707
|
+
@peer_volume_name = args[:peer_volume_name] if args.key?(:peer_volume_name)
|
673
708
|
@subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip)
|
674
709
|
end
|
675
710
|
end
|
@@ -1016,6 +1051,37 @@ module Google
|
|
1016
1051
|
end
|
1017
1052
|
end
|
1018
1053
|
|
1054
|
+
# ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.
|
1055
|
+
class ListQuotaRulesResponse
|
1056
|
+
include Google::Apis::Core::Hashable
|
1057
|
+
|
1058
|
+
# A token identifying a page of results the server should return.
|
1059
|
+
# Corresponds to the JSON property `nextPageToken`
|
1060
|
+
# @return [String]
|
1061
|
+
attr_accessor :next_page_token
|
1062
|
+
|
1063
|
+
# List of quota rules
|
1064
|
+
# Corresponds to the JSON property `quotaRules`
|
1065
|
+
# @return [Array<Google::Apis::NetappV1::QuotaRule>]
|
1066
|
+
attr_accessor :quota_rules
|
1067
|
+
|
1068
|
+
# Locations that could not be reached.
|
1069
|
+
# Corresponds to the JSON property `unreachable`
|
1070
|
+
# @return [Array<String>]
|
1071
|
+
attr_accessor :unreachable
|
1072
|
+
|
1073
|
+
def initialize(**args)
|
1074
|
+
update!(**args)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Update properties of this object
|
1078
|
+
def update!(**args)
|
1079
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1080
|
+
@quota_rules = args[:quota_rules] if args.key?(:quota_rules)
|
1081
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1082
|
+
end
|
1083
|
+
end
|
1084
|
+
|
1019
1085
|
# ListReplicationsResponse is the result of ListReplicationsRequest.
|
1020
1086
|
class ListReplicationsResponse
|
1021
1087
|
include Google::Apis::Core::Hashable
|
@@ -1193,6 +1259,11 @@ module Google
|
|
1193
1259
|
class LocationMetadata
|
1194
1260
|
include Google::Apis::Core::Hashable
|
1195
1261
|
|
1262
|
+
# Output only. Supported flex performance in a location.
|
1263
|
+
# Corresponds to the JSON property `supportedFlexPerformance`
|
1264
|
+
# @return [Array<String>]
|
1265
|
+
attr_accessor :supported_flex_performance
|
1266
|
+
|
1196
1267
|
# Output only. Supported service levels in a location.
|
1197
1268
|
# Corresponds to the JSON property `supportedServiceLevels`
|
1198
1269
|
# @return [Array<String>]
|
@@ -1204,6 +1275,7 @@ module Google
|
|
1204
1275
|
|
1205
1276
|
# Update properties of this object
|
1206
1277
|
def update!(**args)
|
1278
|
+
@supported_flex_performance = args[:supported_flex_performance] if args.key?(:supported_flex_performance)
|
1207
1279
|
@supported_service_levels = args[:supported_service_levels] if args.key?(:supported_service_levels)
|
1208
1280
|
end
|
1209
1281
|
end
|
@@ -1266,6 +1338,11 @@ module Google
|
|
1266
1338
|
# @return [String]
|
1267
1339
|
attr_accessor :instructions
|
1268
1340
|
|
1341
|
+
# Output only. IP Address.
|
1342
|
+
# Corresponds to the JSON property `ipAddress`
|
1343
|
+
# @return [String]
|
1344
|
+
attr_accessor :ip_address
|
1345
|
+
|
1269
1346
|
# Protocol to mount with.
|
1270
1347
|
# Corresponds to the JSON property `protocol`
|
1271
1348
|
# @return [String]
|
@@ -1280,6 +1357,7 @@ module Google
|
|
1280
1357
|
@export = args[:export] if args.key?(:export)
|
1281
1358
|
@export_full = args[:export_full] if args.key?(:export_full)
|
1282
1359
|
@instructions = args[:instructions] if args.key?(:instructions)
|
1360
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1283
1361
|
@protocol = args[:protocol] if args.key?(:protocol)
|
1284
1362
|
end
|
1285
1363
|
end
|
@@ -1405,6 +1483,77 @@ module Google
|
|
1405
1483
|
end
|
1406
1484
|
end
|
1407
1485
|
|
1486
|
+
# QuotaRule specifies the maximum disk space a user or group can use within a
|
1487
|
+
# volume. They can be used for creating default and individual quota rules.
|
1488
|
+
class QuotaRule
|
1489
|
+
include Google::Apis::Core::Hashable
|
1490
|
+
|
1491
|
+
# Output only. Create time of the quota rule
|
1492
|
+
# Corresponds to the JSON property `createTime`
|
1493
|
+
# @return [String]
|
1494
|
+
attr_accessor :create_time
|
1495
|
+
|
1496
|
+
# Optional. Description of the quota rule
|
1497
|
+
# Corresponds to the JSON property `description`
|
1498
|
+
# @return [String]
|
1499
|
+
attr_accessor :description
|
1500
|
+
|
1501
|
+
# Required. The maximum allowed disk space in MiB.
|
1502
|
+
# Corresponds to the JSON property `diskLimitMib`
|
1503
|
+
# @return [Fixnum]
|
1504
|
+
attr_accessor :disk_limit_mib
|
1505
|
+
|
1506
|
+
# Optional. Labels of the quota rule
|
1507
|
+
# Corresponds to the JSON property `labels`
|
1508
|
+
# @return [Hash<String,String>]
|
1509
|
+
attr_accessor :labels
|
1510
|
+
|
1511
|
+
# Identifier. The resource name of the quota rule. Format: `projects/`
|
1512
|
+
# project_number`/locations/`location_id`/volumes/volumes/`volume_id`/quotaRules/
|
1513
|
+
# `quota_rule_id``.
|
1514
|
+
# Corresponds to the JSON property `name`
|
1515
|
+
# @return [String]
|
1516
|
+
attr_accessor :name
|
1517
|
+
|
1518
|
+
# Output only. State of the quota rule
|
1519
|
+
# Corresponds to the JSON property `state`
|
1520
|
+
# @return [String]
|
1521
|
+
attr_accessor :state
|
1522
|
+
|
1523
|
+
# Output only. State details of the quota rule
|
1524
|
+
# Corresponds to the JSON property `stateDetails`
|
1525
|
+
# @return [String]
|
1526
|
+
attr_accessor :state_details
|
1527
|
+
|
1528
|
+
# Optional. The quota rule applies to the specified user or group, identified by
|
1529
|
+
# a Unix UID/GID, Windows SID, or null for default.
|
1530
|
+
# Corresponds to the JSON property `target`
|
1531
|
+
# @return [String]
|
1532
|
+
attr_accessor :target
|
1533
|
+
|
1534
|
+
# Required. The type of quota rule.
|
1535
|
+
# Corresponds to the JSON property `type`
|
1536
|
+
# @return [String]
|
1537
|
+
attr_accessor :type
|
1538
|
+
|
1539
|
+
def initialize(**args)
|
1540
|
+
update!(**args)
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
# Update properties of this object
|
1544
|
+
def update!(**args)
|
1545
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1546
|
+
@description = args[:description] if args.key?(:description)
|
1547
|
+
@disk_limit_mib = args[:disk_limit_mib] if args.key?(:disk_limit_mib)
|
1548
|
+
@labels = args[:labels] if args.key?(:labels)
|
1549
|
+
@name = args[:name] if args.key?(:name)
|
1550
|
+
@state = args[:state] if args.key?(:state)
|
1551
|
+
@state_details = args[:state_details] if args.key?(:state_details)
|
1552
|
+
@target = args[:target] if args.key?(:target)
|
1553
|
+
@type = args[:type] if args.key?(:type)
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1408
1557
|
# Replication is a nested resource under Volume, that describes a cross-region
|
1409
1558
|
# replication relationship between 2 volumes in different regions.
|
1410
1559
|
class Replication
|
@@ -1956,6 +2105,18 @@ module Google
|
|
1956
2105
|
# @return [String]
|
1957
2106
|
attr_accessor :replica_zone
|
1958
2107
|
|
2108
|
+
# Output only. Reserved for future use
|
2109
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
2110
|
+
# @return [Boolean]
|
2111
|
+
attr_accessor :satisfies_pzi
|
2112
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
2113
|
+
|
2114
|
+
# Output only. Reserved for future use
|
2115
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
2116
|
+
# @return [Boolean]
|
2117
|
+
attr_accessor :satisfies_pzs
|
2118
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
2119
|
+
|
1959
2120
|
# Required. Service level of the storage pool
|
1960
2121
|
# Corresponds to the JSON property `serviceLevel`
|
1961
2122
|
# @return [String]
|
@@ -2006,6 +2167,8 @@ module Google
|
|
2006
2167
|
@network = args[:network] if args.key?(:network)
|
2007
2168
|
@psa_range = args[:psa_range] if args.key?(:psa_range)
|
2008
2169
|
@replica_zone = args[:replica_zone] if args.key?(:replica_zone)
|
2170
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
2171
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2009
2172
|
@service_level = args[:service_level] if args.key?(:service_level)
|
2010
2173
|
@state = args[:state] if args.key?(:state)
|
2011
2174
|
@state_details = args[:state_details] if args.key?(:state_details)
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class ListQuotaRulesResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class ListReplicationsResponse
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -220,6 +226,12 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class QuotaRule
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class Replication
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -377,6 +389,8 @@ module Google
|
|
377
389
|
property :description, as: 'description'
|
378
390
|
hash :labels, as: 'labels'
|
379
391
|
property :name, as: 'name'
|
392
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
393
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
380
394
|
property :source_snapshot, as: 'sourceSnapshot'
|
381
395
|
property :source_volume, as: 'sourceVolume'
|
382
396
|
property :state, as: 'state'
|
@@ -492,6 +506,9 @@ module Google
|
|
492
506
|
property :command, as: 'command'
|
493
507
|
property :command_expiry_time, as: 'commandExpiryTime'
|
494
508
|
property :passphrase, as: 'passphrase'
|
509
|
+
property :peer_cluster_name, as: 'peerClusterName'
|
510
|
+
property :peer_svm_name, as: 'peerSvmName'
|
511
|
+
property :peer_volume_name, as: 'peerVolumeName'
|
495
512
|
property :subnet_ip, as: 'subnetIp'
|
496
513
|
end
|
497
514
|
end
|
@@ -593,6 +610,16 @@ module Google
|
|
593
610
|
end
|
594
611
|
end
|
595
612
|
|
613
|
+
class ListQuotaRulesResponse
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :next_page_token, as: 'nextPageToken'
|
617
|
+
collection :quota_rules, as: 'quotaRules', class: Google::Apis::NetappV1::QuotaRule, decorator: Google::Apis::NetappV1::QuotaRule::Representation
|
618
|
+
|
619
|
+
collection :unreachable, as: 'unreachable'
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
596
623
|
class ListReplicationsResponse
|
597
624
|
# @private
|
598
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -647,6 +674,7 @@ module Google
|
|
647
674
|
class LocationMetadata
|
648
675
|
# @private
|
649
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
collection :supported_flex_performance, as: 'supportedFlexPerformance'
|
650
678
|
collection :supported_service_levels, as: 'supportedServiceLevels'
|
651
679
|
end
|
652
680
|
end
|
@@ -667,6 +695,7 @@ module Google
|
|
667
695
|
property :export, as: 'export'
|
668
696
|
property :export_full, as: 'exportFull'
|
669
697
|
property :instructions, as: 'instructions'
|
698
|
+
property :ip_address, as: 'ipAddress'
|
670
699
|
property :protocol, as: 'protocol'
|
671
700
|
end
|
672
701
|
end
|
@@ -696,6 +725,21 @@ module Google
|
|
696
725
|
end
|
697
726
|
end
|
698
727
|
|
728
|
+
class QuotaRule
|
729
|
+
# @private
|
730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
731
|
+
property :create_time, as: 'createTime'
|
732
|
+
property :description, as: 'description'
|
733
|
+
property :disk_limit_mib, as: 'diskLimitMib'
|
734
|
+
hash :labels, as: 'labels'
|
735
|
+
property :name, as: 'name'
|
736
|
+
property :state, as: 'state'
|
737
|
+
property :state_details, as: 'stateDetails'
|
738
|
+
property :target, as: 'target'
|
739
|
+
property :type, as: 'type'
|
740
|
+
end
|
741
|
+
end
|
742
|
+
|
699
743
|
class Replication
|
700
744
|
# @private
|
701
745
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -827,6 +871,8 @@ module Google
|
|
827
871
|
property :network, as: 'network'
|
828
872
|
property :psa_range, as: 'psaRange'
|
829
873
|
property :replica_zone, as: 'replicaZone'
|
874
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
875
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
830
876
|
property :service_level, as: 'serviceLevel'
|
831
877
|
property :state, as: 'state'
|
832
878
|
property :state_details, as: 'stateDetails'
|
@@ -1741,6 +1741,190 @@ module Google
|
|
1741
1741
|
execute_or_queue_command(command, &block)
|
1742
1742
|
end
|
1743
1743
|
|
1744
|
+
# Creates a new quota rule.
|
1745
|
+
# @param [String] parent
|
1746
|
+
# Required. Parent value for CreateQuotaRuleRequest
|
1747
|
+
# @param [Google::Apis::NetappV1::QuotaRule] quota_rule_object
|
1748
|
+
# @param [String] quota_rule_id
|
1749
|
+
# Required. ID of the quota rule to create. Must be unique within the parent
|
1750
|
+
# resource. Must contain only letters, numbers, underscore and hyphen, with the
|
1751
|
+
# first character a letter or underscore, the last a letter or underscore or a
|
1752
|
+
# number, and a 63 character maximum.
|
1753
|
+
# @param [String] fields
|
1754
|
+
# Selector specifying which fields to include in a partial response.
|
1755
|
+
# @param [String] quota_user
|
1756
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1757
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1758
|
+
# @param [Google::Apis::RequestOptions] options
|
1759
|
+
# Request-specific options
|
1760
|
+
#
|
1761
|
+
# @yield [result, err] Result & error if block supplied
|
1762
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
1763
|
+
# @yieldparam err [StandardError] error object if request failed
|
1764
|
+
#
|
1765
|
+
# @return [Google::Apis::NetappV1::Operation]
|
1766
|
+
#
|
1767
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1768
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1769
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1770
|
+
def create_project_location_volume_quota_rule(parent, quota_rule_object = nil, quota_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1771
|
+
command = make_simple_command(:post, 'v1/{+parent}/quotaRules', options)
|
1772
|
+
command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation
|
1773
|
+
command.request_object = quota_rule_object
|
1774
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
1775
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
1776
|
+
command.params['parent'] = parent unless parent.nil?
|
1777
|
+
command.query['quotaRuleId'] = quota_rule_id unless quota_rule_id.nil?
|
1778
|
+
command.query['fields'] = fields unless fields.nil?
|
1779
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1780
|
+
execute_or_queue_command(command, &block)
|
1781
|
+
end
|
1782
|
+
|
1783
|
+
# Deletes a quota rule.
|
1784
|
+
# @param [String] name
|
1785
|
+
# Required. Name of the quota rule.
|
1786
|
+
# @param [String] fields
|
1787
|
+
# Selector specifying which fields to include in a partial response.
|
1788
|
+
# @param [String] quota_user
|
1789
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1790
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1791
|
+
# @param [Google::Apis::RequestOptions] options
|
1792
|
+
# Request-specific options
|
1793
|
+
#
|
1794
|
+
# @yield [result, err] Result & error if block supplied
|
1795
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
1796
|
+
# @yieldparam err [StandardError] error object if request failed
|
1797
|
+
#
|
1798
|
+
# @return [Google::Apis::NetappV1::Operation]
|
1799
|
+
#
|
1800
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1801
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1802
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1803
|
+
def delete_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
1804
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1805
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
1806
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
1807
|
+
command.params['name'] = name unless name.nil?
|
1808
|
+
command.query['fields'] = fields unless fields.nil?
|
1809
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1810
|
+
execute_or_queue_command(command, &block)
|
1811
|
+
end
|
1812
|
+
|
1813
|
+
# Returns details of the specified quota rule.
|
1814
|
+
# @param [String] name
|
1815
|
+
# Required. Name of the quota rule
|
1816
|
+
# @param [String] fields
|
1817
|
+
# Selector specifying which fields to include in a partial response.
|
1818
|
+
# @param [String] quota_user
|
1819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1821
|
+
# @param [Google::Apis::RequestOptions] options
|
1822
|
+
# Request-specific options
|
1823
|
+
#
|
1824
|
+
# @yield [result, err] Result & error if block supplied
|
1825
|
+
# @yieldparam result [Google::Apis::NetappV1::QuotaRule] parsed result object
|
1826
|
+
# @yieldparam err [StandardError] error object if request failed
|
1827
|
+
#
|
1828
|
+
# @return [Google::Apis::NetappV1::QuotaRule]
|
1829
|
+
#
|
1830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1833
|
+
def get_project_location_volume_quota_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
1834
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1835
|
+
command.response_representation = Google::Apis::NetappV1::QuotaRule::Representation
|
1836
|
+
command.response_class = Google::Apis::NetappV1::QuotaRule
|
1837
|
+
command.params['name'] = name unless name.nil?
|
1838
|
+
command.query['fields'] = fields unless fields.nil?
|
1839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1840
|
+
execute_or_queue_command(command, &block)
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# Returns list of all quota rules in a location.
|
1844
|
+
# @param [String] parent
|
1845
|
+
# Required. Parent value for ListQuotaRulesRequest
|
1846
|
+
# @param [String] filter
|
1847
|
+
# Optional. Filtering results
|
1848
|
+
# @param [String] order_by
|
1849
|
+
# Optional. Hint for how to order the results
|
1850
|
+
# @param [Fixnum] page_size
|
1851
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
1852
|
+
# If unspecified, the server will pick an appropriate default.
|
1853
|
+
# @param [String] page_token
|
1854
|
+
# Optional. A token identifying a page of results the server should return.
|
1855
|
+
# @param [String] fields
|
1856
|
+
# Selector specifying which fields to include in a partial response.
|
1857
|
+
# @param [String] quota_user
|
1858
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1859
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1860
|
+
# @param [Google::Apis::RequestOptions] options
|
1861
|
+
# Request-specific options
|
1862
|
+
#
|
1863
|
+
# @yield [result, err] Result & error if block supplied
|
1864
|
+
# @yieldparam result [Google::Apis::NetappV1::ListQuotaRulesResponse] parsed result object
|
1865
|
+
# @yieldparam err [StandardError] error object if request failed
|
1866
|
+
#
|
1867
|
+
# @return [Google::Apis::NetappV1::ListQuotaRulesResponse]
|
1868
|
+
#
|
1869
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1870
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1871
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1872
|
+
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)
|
1873
|
+
command = make_simple_command(:get, 'v1/{+parent}/quotaRules', options)
|
1874
|
+
command.response_representation = Google::Apis::NetappV1::ListQuotaRulesResponse::Representation
|
1875
|
+
command.response_class = Google::Apis::NetappV1::ListQuotaRulesResponse
|
1876
|
+
command.params['parent'] = parent unless parent.nil?
|
1877
|
+
command.query['filter'] = filter unless filter.nil?
|
1878
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1879
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1880
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1881
|
+
command.query['fields'] = fields unless fields.nil?
|
1882
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1883
|
+
execute_or_queue_command(command, &block)
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# Updates a quota rule.
|
1887
|
+
# @param [String] name
|
1888
|
+
# Identifier. The resource name of the quota rule. Format: `projects/`
|
1889
|
+
# project_number`/locations/`location_id`/volumes/volumes/`volume_id`/quotaRules/
|
1890
|
+
# `quota_rule_id``.
|
1891
|
+
# @param [Google::Apis::NetappV1::QuotaRule] quota_rule_object
|
1892
|
+
# @param [String] update_mask
|
1893
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
1894
|
+
# Quota Rule resource by the update. The fields specified in the update_mask are
|
1895
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
1896
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
1897
|
+
# overwritten.
|
1898
|
+
# @param [String] fields
|
1899
|
+
# Selector specifying which fields to include in a partial response.
|
1900
|
+
# @param [String] quota_user
|
1901
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1902
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1903
|
+
# @param [Google::Apis::RequestOptions] options
|
1904
|
+
# Request-specific options
|
1905
|
+
#
|
1906
|
+
# @yield [result, err] Result & error if block supplied
|
1907
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
1908
|
+
# @yieldparam err [StandardError] error object if request failed
|
1909
|
+
#
|
1910
|
+
# @return [Google::Apis::NetappV1::Operation]
|
1911
|
+
#
|
1912
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1913
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1914
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1915
|
+
def patch_project_location_volume_quota_rule(name, quota_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1916
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1917
|
+
command.request_representation = Google::Apis::NetappV1::QuotaRule::Representation
|
1918
|
+
command.request_object = quota_rule_object
|
1919
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
1920
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
1921
|
+
command.params['name'] = name unless name.nil?
|
1922
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1923
|
+
command.query['fields'] = fields unless fields.nil?
|
1924
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1925
|
+
execute_or_queue_command(command, &block)
|
1926
|
+
end
|
1927
|
+
|
1744
1928
|
# Create a new replication for a volume.
|
1745
1929
|
# @param [String] parent
|
1746
1930
|
# Required. The NetApp volume to create the replications of, in the format `
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.5.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for NetApp API V1
|
82
79
|
test_files: []
|