google-apis-netapp_v1 0.4.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,10 @@
|
|
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
|
+
|
3
8
|
### v0.4.0 (2024-12-22)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20241209
|
@@ -670,6 +670,24 @@ module Google
|
|
670
670
|
# @return [String]
|
671
671
|
attr_accessor :passphrase
|
672
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
|
+
|
673
691
|
# Optional. IP address of the subnet.
|
674
692
|
# Corresponds to the JSON property `subnetIp`
|
675
693
|
# @return [String]
|
@@ -684,6 +702,9 @@ module Google
|
|
684
702
|
@command = args[:command] if args.key?(:command)
|
685
703
|
@command_expiry_time = args[:command_expiry_time] if args.key?(:command_expiry_time)
|
686
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)
|
687
708
|
@subnet_ip = args[:subnet_ip] if args.key?(:subnet_ip)
|
688
709
|
end
|
689
710
|
end
|
@@ -1030,6 +1051,37 @@ module Google
|
|
1030
1051
|
end
|
1031
1052
|
end
|
1032
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
|
+
|
1033
1085
|
# ListReplicationsResponse is the result of ListReplicationsRequest.
|
1034
1086
|
class ListReplicationsResponse
|
1035
1087
|
include Google::Apis::Core::Hashable
|
@@ -1207,6 +1259,11 @@ module Google
|
|
1207
1259
|
class LocationMetadata
|
1208
1260
|
include Google::Apis::Core::Hashable
|
1209
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
|
+
|
1210
1267
|
# Output only. Supported service levels in a location.
|
1211
1268
|
# Corresponds to the JSON property `supportedServiceLevels`
|
1212
1269
|
# @return [Array<String>]
|
@@ -1218,6 +1275,7 @@ module Google
|
|
1218
1275
|
|
1219
1276
|
# Update properties of this object
|
1220
1277
|
def update!(**args)
|
1278
|
+
@supported_flex_performance = args[:supported_flex_performance] if args.key?(:supported_flex_performance)
|
1221
1279
|
@supported_service_levels = args[:supported_service_levels] if args.key?(:supported_service_levels)
|
1222
1280
|
end
|
1223
1281
|
end
|
@@ -1280,6 +1338,11 @@ module Google
|
|
1280
1338
|
# @return [String]
|
1281
1339
|
attr_accessor :instructions
|
1282
1340
|
|
1341
|
+
# Output only. IP Address.
|
1342
|
+
# Corresponds to the JSON property `ipAddress`
|
1343
|
+
# @return [String]
|
1344
|
+
attr_accessor :ip_address
|
1345
|
+
|
1283
1346
|
# Protocol to mount with.
|
1284
1347
|
# Corresponds to the JSON property `protocol`
|
1285
1348
|
# @return [String]
|
@@ -1294,6 +1357,7 @@ module Google
|
|
1294
1357
|
@export = args[:export] if args.key?(:export)
|
1295
1358
|
@export_full = args[:export_full] if args.key?(:export_full)
|
1296
1359
|
@instructions = args[:instructions] if args.key?(:instructions)
|
1360
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1297
1361
|
@protocol = args[:protocol] if args.key?(:protocol)
|
1298
1362
|
end
|
1299
1363
|
end
|
@@ -1419,6 +1483,77 @@ module Google
|
|
1419
1483
|
end
|
1420
1484
|
end
|
1421
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
|
+
|
1422
1557
|
# Replication is a nested resource under Volume, that describes a cross-region
|
1423
1558
|
# replication relationship between 2 volumes in different regions.
|
1424
1559
|
class Replication
|
@@ -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
|
|
@@ -494,6 +506,9 @@ module Google
|
|
494
506
|
property :command, as: 'command'
|
495
507
|
property :command_expiry_time, as: 'commandExpiryTime'
|
496
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'
|
497
512
|
property :subnet_ip, as: 'subnetIp'
|
498
513
|
end
|
499
514
|
end
|
@@ -595,6 +610,16 @@ module Google
|
|
595
610
|
end
|
596
611
|
end
|
597
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
|
+
|
598
623
|
class ListReplicationsResponse
|
599
624
|
# @private
|
600
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -649,6 +674,7 @@ module Google
|
|
649
674
|
class LocationMetadata
|
650
675
|
# @private
|
651
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
collection :supported_flex_performance, as: 'supportedFlexPerformance'
|
652
678
|
collection :supported_service_levels, as: 'supportedServiceLevels'
|
653
679
|
end
|
654
680
|
end
|
@@ -669,6 +695,7 @@ module Google
|
|
669
695
|
property :export, as: 'export'
|
670
696
|
property :export_full, as: 'exportFull'
|
671
697
|
property :instructions, as: 'instructions'
|
698
|
+
property :ip_address, as: 'ipAddress'
|
672
699
|
property :protocol, as: 'protocol'
|
673
700
|
end
|
674
701
|
end
|
@@ -698,6 +725,21 @@ module Google
|
|
698
725
|
end
|
699
726
|
end
|
700
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
|
+
|
701
743
|
class Replication
|
702
744
|
# @private
|
703
745
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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: 2025-
|
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: []
|