google-apis-netapp_v1 0.2.0 → 0.4.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/netapp_v1/classes.rb +54 -101
- data/lib/google/apis/netapp_v1/gem_version.rb +2 -2
- data/lib/google/apis/netapp_v1/representations.rb +19 -37
- data/lib/google/apis/netapp_v1/service.rb +36 -185
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cac59b22c4fd5a3cc0efb9120e2bc12868fd966fefa243aba4f9cdfa3062d2a
|
4
|
+
data.tar.gz: abf869706be34ff0eebb2e3dde69b596ccad42fc64e0d3d87e8cfd4b063ec2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1266a90a93e124a6845877b8bd89689a12f17de8d9ffe03f01a9f5af40134ab89a86635a95ef6d40efa58bcce5eea1bd63d4e16a7e16e6c78e11a7af0a648a5d
|
7
|
+
data.tar.gz: 2e58e9e2a2076ec4d277e2847832574257793e50eeba586cbacfd05a8605b985a6ab9c6e2ff3db2a48d31cc722a9dbd343ff13547d8c9525855bfd039efd8e60
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-netapp_v1
|
2
2
|
|
3
|
+
### v0.4.0 (2024-12-22)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241209
|
6
|
+
|
7
|
+
### v0.3.0 (2024-12-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241203
|
10
|
+
|
3
11
|
### v0.2.0 (2024-11-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241106
|
@@ -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)
|
@@ -493,6 +507,11 @@ module Google
|
|
493
507
|
# @return [String]
|
494
508
|
attr_accessor :storage_pool
|
495
509
|
|
510
|
+
# Defines tiering policy for the volume.
|
511
|
+
# Corresponds to the JSON property `tieringPolicy`
|
512
|
+
# @return [Google::Apis::NetappV1::TieringPolicy]
|
513
|
+
attr_accessor :tiering_policy
|
514
|
+
|
496
515
|
# Desired destination volume resource id. If not specified, source volume's
|
497
516
|
# resource id will be used. This value must start with a lowercase letter
|
498
517
|
# followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end
|
@@ -510,6 +529,7 @@ module Google
|
|
510
529
|
@description = args[:description] if args.key?(:description)
|
511
530
|
@share_name = args[:share_name] if args.key?(:share_name)
|
512
531
|
@storage_pool = args[:storage_pool] if args.key?(:storage_pool)
|
532
|
+
@tiering_policy = args[:tiering_policy] if args.key?(:tiering_policy)
|
513
533
|
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
514
534
|
end
|
515
535
|
end
|
@@ -1010,37 +1030,6 @@ module Google
|
|
1010
1030
|
end
|
1011
1031
|
end
|
1012
1032
|
|
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
1033
|
# ListReplicationsResponse is the result of ListReplicationsRequest.
|
1045
1034
|
class ListReplicationsResponse
|
1046
1035
|
include Google::Apis::Core::Hashable
|
@@ -1430,76 +1419,6 @@ module Google
|
|
1430
1419
|
end
|
1431
1420
|
end
|
1432
1421
|
|
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
1422
|
# Replication is a nested resource under Volume, that describes a cross-region
|
1504
1423
|
# replication relationship between 2 volumes in different regions.
|
1505
1424
|
class Replication
|
@@ -2051,6 +1970,18 @@ module Google
|
|
2051
1970
|
# @return [String]
|
2052
1971
|
attr_accessor :replica_zone
|
2053
1972
|
|
1973
|
+
# Output only. Reserved for future use
|
1974
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
1975
|
+
# @return [Boolean]
|
1976
|
+
attr_accessor :satisfies_pzi
|
1977
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
1978
|
+
|
1979
|
+
# Output only. Reserved for future use
|
1980
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
1981
|
+
# @return [Boolean]
|
1982
|
+
attr_accessor :satisfies_pzs
|
1983
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
1984
|
+
|
2054
1985
|
# Required. Service level of the storage pool
|
2055
1986
|
# Corresponds to the JSON property `serviceLevel`
|
2056
1987
|
# @return [String]
|
@@ -2101,6 +2032,8 @@ module Google
|
|
2101
2032
|
@network = args[:network] if args.key?(:network)
|
2102
2033
|
@psa_range = args[:psa_range] if args.key?(:psa_range)
|
2103
2034
|
@replica_zone = args[:replica_zone] if args.key?(:replica_zone)
|
2035
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
2036
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
2104
2037
|
@service_level = args[:service_level] if args.key?(:service_level)
|
2105
2038
|
@state = args[:state] if args.key?(:state)
|
2106
2039
|
@state_details = args[:state_details] if args.key?(:state_details)
|
@@ -2226,6 +2159,26 @@ module Google
|
|
2226
2159
|
end
|
2227
2160
|
end
|
2228
2161
|
|
2162
|
+
# ValidateDirectoryServiceRequest validates the directory service policy
|
2163
|
+
# attached to the storage pool.
|
2164
|
+
class ValidateDirectoryServiceRequest
|
2165
|
+
include Google::Apis::Core::Hashable
|
2166
|
+
|
2167
|
+
# Type of directory service policy attached to the storage pool.
|
2168
|
+
# Corresponds to the JSON property `directoryServiceType`
|
2169
|
+
# @return [String]
|
2170
|
+
attr_accessor :directory_service_type
|
2171
|
+
|
2172
|
+
def initialize(**args)
|
2173
|
+
update!(**args)
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
# Update properties of this object
|
2177
|
+
def update!(**args)
|
2178
|
+
@directory_service_type = args[:directory_service_type] if args.key?(:directory_service_type)
|
2179
|
+
end
|
2180
|
+
end
|
2181
|
+
|
2229
2182
|
# VerifyKmsConfigRequest specifies the KMS config to be validated.
|
2230
2183
|
class VerifyKmsConfigRequest
|
2231
2184
|
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.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241209"
|
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
|
|
@@ -383,6 +377,8 @@ module Google
|
|
383
377
|
property :description, as: 'description'
|
384
378
|
hash :labels, as: 'labels'
|
385
379
|
property :name, as: 'name'
|
380
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
381
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
386
382
|
property :source_snapshot, as: 'sourceSnapshot'
|
387
383
|
property :source_volume, as: 'sourceVolume'
|
388
384
|
property :state, as: 'state'
|
@@ -448,6 +444,8 @@ module Google
|
|
448
444
|
property :description, as: 'description'
|
449
445
|
property :share_name, as: 'shareName'
|
450
446
|
property :storage_pool, as: 'storagePool'
|
447
|
+
property :tiering_policy, as: 'tieringPolicy', class: Google::Apis::NetappV1::TieringPolicy, decorator: Google::Apis::NetappV1::TieringPolicy::Representation
|
448
|
+
|
451
449
|
property :volume_id, as: 'volumeId'
|
452
450
|
end
|
453
451
|
end
|
@@ -597,16 +595,6 @@ module Google
|
|
597
595
|
end
|
598
596
|
end
|
599
597
|
|
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
598
|
class ListReplicationsResponse
|
611
599
|
# @private
|
612
600
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -710,21 +698,6 @@ module Google
|
|
710
698
|
end
|
711
699
|
end
|
712
700
|
|
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
701
|
class Replication
|
729
702
|
# @private
|
730
703
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -856,6 +829,8 @@ module Google
|
|
856
829
|
property :network, as: 'network'
|
857
830
|
property :psa_range, as: 'psaRange'
|
858
831
|
property :replica_zone, as: 'replicaZone'
|
832
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
833
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
859
834
|
property :service_level, as: 'serviceLevel'
|
860
835
|
property :state, as: 'state'
|
861
836
|
property :state_details, as: 'stateDetails'
|
@@ -899,6 +874,13 @@ module Google
|
|
899
874
|
end
|
900
875
|
end
|
901
876
|
|
877
|
+
class ValidateDirectoryServiceRequest
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :directory_service_type, as: 'directoryServiceType'
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
902
884
|
class VerifyKmsConfigRequest
|
903
885
|
# @private
|
904
886
|
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.
|
4
|
+
version: 0.4.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:
|
11
|
+
date: 2025-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for NetApp API V1
|