google-apis-netapp_v1 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0555197e11e9efc6502bce6de5257652f6acc334ab6b60103cb2773b21c7d5f9'
4
- data.tar.gz: d282d142b6fe5b741ce83f6728f12a43f06521f09c5d4b3d95e272ce9fc6e6ed
3
+ metadata.gz: 91f4033e3504bd091ac425bf73dee32768f64c15d97bf4049a8604c57f20c71b
4
+ data.tar.gz: 49051a9051cb604f5dba3bd7edeaf9c2dcc98849549acabbfa52dd60249a2445
5
5
  SHA512:
6
- metadata.gz: 39c8c2cadbc0fa393ba8786cca7a6742508815e7897d355b41837dfcfa73d376bfec759aaf880941b70c8e75efd8cee38334e537a387c88039d4610a7fdec47a
7
- data.tar.gz: 7d4a6171d9cd894af72af5c94c936149c26897529463dea063b5e140d4e8bdbec575cbd6fc6f27ba5c6b174f2183e79152bf1cebd1377bacdcad3f3a9040719a
6
+ metadata.gz: c4d5f1027f1b6e3de7aa9e9413e07cd68f6ec7a14e12c38402e61df6a3abcc363d3ef2f6c5d44b63a3f38d5ebb551aed5559f5c4f71fccc798e6f29a8381f1e0
7
+ data.tar.gz: 17a26ff58a5085a3fb4407b83094cad5b5db7c9a5446c3b69c715a9883e17076368ad189f906c130ba245d24b95148f7cbef91230758c50340c242d9677656c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-netapp_v1
2
2
 
3
+ ### v0.3.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241203
6
+
3
7
  ### v0.2.0 (2024-11-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20241106
@@ -493,6 +493,11 @@ module Google
493
493
  # @return [String]
494
494
  attr_accessor :storage_pool
495
495
 
496
+ # Defines tiering policy for the volume.
497
+ # Corresponds to the JSON property `tieringPolicy`
498
+ # @return [Google::Apis::NetappV1::TieringPolicy]
499
+ attr_accessor :tiering_policy
500
+
496
501
  # Desired destination volume resource id. If not specified, source volume's
497
502
  # resource id will be used. This value must start with a lowercase letter
498
503
  # followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end
@@ -510,6 +515,7 @@ module Google
510
515
  @description = args[:description] if args.key?(:description)
511
516
  @share_name = args[:share_name] if args.key?(:share_name)
512
517
  @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
518
+ @tiering_policy = args[:tiering_policy] if args.key?(:tiering_policy)
513
519
  @volume_id = args[:volume_id] if args.key?(:volume_id)
514
520
  end
515
521
  end
@@ -1010,37 +1016,6 @@ module Google
1010
1016
  end
1011
1017
  end
1012
1018
 
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
-
1044
1019
  # ListReplicationsResponse is the result of ListReplicationsRequest.
1045
1020
  class ListReplicationsResponse
1046
1021
  include Google::Apis::Core::Hashable
@@ -1430,76 +1405,6 @@ module Google
1430
1405
  end
1431
1406
  end
1432
1407
 
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
-
1503
1408
  # Replication is a nested resource under Volume, that describes a cross-region
1504
1409
  # replication relationship between 2 volumes in different regions.
1505
1410
  class Replication
@@ -2226,6 +2131,26 @@ module Google
2226
2131
  end
2227
2132
  end
2228
2133
 
2134
+ # ValidateDirectoryServiceRequest validates the directory service policy
2135
+ # attached to the storage pool.
2136
+ class ValidateDirectoryServiceRequest
2137
+ include Google::Apis::Core::Hashable
2138
+
2139
+ # Type of directory service policy attached to the storage pool.
2140
+ # Corresponds to the JSON property `directoryServiceType`
2141
+ # @return [String]
2142
+ attr_accessor :directory_service_type
2143
+
2144
+ def initialize(**args)
2145
+ update!(**args)
2146
+ end
2147
+
2148
+ # Update properties of this object
2149
+ def update!(**args)
2150
+ @directory_service_type = args[:directory_service_type] if args.key?(:directory_service_type)
2151
+ end
2152
+ end
2153
+
2229
2154
  # VerifyKmsConfigRequest specifies the KMS config to be validated.
2230
2155
  class VerifyKmsConfigRequest
2231
2156
  include Google::Apis::Core::Hashable
@@ -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.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241106"
25
+ REVISION = "20241203"
26
26
  end
27
27
  end
28
28
  end
@@ -160,12 +160,6 @@ 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
-
169
163
  class ListReplicationsResponse
170
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
165
 
@@ -226,12 +220,6 @@ module Google
226
220
  include Google::Apis::Core::JsonObjectSupport
227
221
  end
228
222
 
229
- class QuotaRule
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
231
-
232
- include Google::Apis::Core::JsonObjectSupport
233
- end
234
-
235
223
  class Replication
236
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
225
 
@@ -322,6 +310,12 @@ module Google
322
310
  include Google::Apis::Core::JsonObjectSupport
323
311
  end
324
312
 
313
+ class ValidateDirectoryServiceRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
325
319
  class VerifyKmsConfigRequest
326
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
321
 
@@ -448,6 +442,8 @@ module Google
448
442
  property :description, as: 'description'
449
443
  property :share_name, as: 'shareName'
450
444
  property :storage_pool, as: 'storagePool'
445
+ property :tiering_policy, as: 'tieringPolicy', class: Google::Apis::NetappV1::TieringPolicy, decorator: Google::Apis::NetappV1::TieringPolicy::Representation
446
+
451
447
  property :volume_id, as: 'volumeId'
452
448
  end
453
449
  end
@@ -597,16 +593,6 @@ module Google
597
593
  end
598
594
  end
599
595
 
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
-
610
596
  class ListReplicationsResponse
611
597
  # @private
612
598
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -710,21 +696,6 @@ module Google
710
696
  end
711
697
  end
712
698
 
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
-
728
699
  class Replication
729
700
  # @private
730
701
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -899,6 +870,13 @@ module Google
899
870
  end
900
871
  end
901
872
 
873
+ class ValidateDirectoryServiceRequest
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :directory_service_type, as: 'directoryServiceType'
877
+ end
878
+ end
879
+
902
880
  class VerifyKmsConfigRequest
903
881
  # @private
904
882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1133,8 +1133,8 @@ module Google
1133
1133
  # Clients can use Operations.GetOperation or other methods to check whether the
1134
1134
  # cancellation succeeded or whether the operation completed despite cancellation.
1135
1135
  # On successful cancellation, the operation is not deleted; instead, it becomes
1136
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1137
- # corresponding to `Code.CANCELLED`.
1136
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1137
+ # , corresponding to `Code.CANCELLED`.
1138
1138
  # @param [String] name
1139
1139
  # The name of the operation resource to be cancelled.
1140
1140
  # @param [Google::Apis::NetappV1::CancelOperationRequest] cancel_operation_request_object
@@ -1486,6 +1486,40 @@ module Google
1486
1486
  execute_or_queue_command(command, &block)
1487
1487
  end
1488
1488
 
1489
+ # ValidateDirectoryService does a connectivity check for a directory service
1490
+ # policy attached to the storage pool.
1491
+ # @param [String] name
1492
+ # Required. Name of the storage pool
1493
+ # @param [Google::Apis::NetappV1::ValidateDirectoryServiceRequest] validate_directory_service_request_object
1494
+ # @param [String] fields
1495
+ # Selector specifying which fields to include in a partial response.
1496
+ # @param [String] quota_user
1497
+ # Available to use for quota purposes for server-side applications. Can be any
1498
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1499
+ # @param [Google::Apis::RequestOptions] options
1500
+ # Request-specific options
1501
+ #
1502
+ # @yield [result, err] Result & error if block supplied
1503
+ # @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
1504
+ # @yieldparam err [StandardError] error object if request failed
1505
+ #
1506
+ # @return [Google::Apis::NetappV1::Operation]
1507
+ #
1508
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1509
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1510
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1511
+ def validate_storage_pool_directory_service(name, validate_directory_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1512
+ command = make_simple_command(:post, 'v1/{+name}:validateDirectoryService', options)
1513
+ command.request_representation = Google::Apis::NetappV1::ValidateDirectoryServiceRequest::Representation
1514
+ command.request_object = validate_directory_service_request_object
1515
+ command.response_representation = Google::Apis::NetappV1::Operation::Representation
1516
+ command.response_class = Google::Apis::NetappV1::Operation
1517
+ command.params['name'] = name unless name.nil?
1518
+ command.query['fields'] = fields unless fields.nil?
1519
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1520
+ execute_or_queue_command(command, &block)
1521
+ end
1522
+
1489
1523
  # Creates a new Volume in a given project and location.
1490
1524
  # @param [String] parent
1491
1525
  # Required. Value for parent.
@@ -1707,189 +1741,6 @@ module Google
1707
1741
  execute_or_queue_command(command, &block)
1708
1742
  end
1709
1743
 
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
-
1893
1744
  # Create a new replication for a volume.
1894
1745
  # @param [String] parent
1895
1746
  # Required. The NetApp volume to create the replications 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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
11
+ date: 2024-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for NetApp API V1