google-apis-netapp_v1 0.33.0 → 0.34.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: e115efac8e30d2d6e326a3732bb551671498888d2a0446477dde18a5022887fd
|
|
4
|
+
data.tar.gz: 024240656f78a9b39b156b8dfdb015b451c51395555a1e61eef46edc430e4b3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d4966a8c569e7534f87c798ab9161cc78501d857b6554b2a4e0d03adae103bc98fd9a6d998f6c9773ecfd10747f733fa8863c3a163131a572d50866811f79c2
|
|
7
|
+
data.tar.gz: a1b56d560639c1a549fe772387d4279fcb68c47476aff9600f84a2d5ab15b7cf5a338a973833bbc65f6a7a08b9b78867485abedc39dcc9413a25c6866e3add48
|
data/CHANGELOG.md
CHANGED
|
@@ -578,7 +578,7 @@ module Google
|
|
|
578
578
|
# @return [String]
|
|
579
579
|
attr_accessor :source_backup_vault
|
|
580
580
|
|
|
581
|
-
#
|
|
581
|
+
# Optional. Region in which the backup vault is created. Format: `projects/`
|
|
582
582
|
# project_id`/locations/`location``
|
|
583
583
|
# Corresponds to the JSON property `sourceRegion`
|
|
584
584
|
# @return [String]
|
|
@@ -860,6 +860,11 @@ module Google
|
|
|
860
860
|
# @return [String]
|
|
861
861
|
attr_accessor :source_volume
|
|
862
862
|
|
|
863
|
+
# Output only. The current state of the clone split operation.
|
|
864
|
+
# Corresponds to the JSON property `splitState`
|
|
865
|
+
# @return [String]
|
|
866
|
+
attr_accessor :split_state
|
|
867
|
+
|
|
863
868
|
def initialize(**args)
|
|
864
869
|
update!(**args)
|
|
865
870
|
end
|
|
@@ -869,6 +874,7 @@ module Google
|
|
|
869
874
|
@shared_space_gib = args[:shared_space_gib] if args.key?(:shared_space_gib)
|
|
870
875
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
|
871
876
|
@source_volume = args[:source_volume] if args.key?(:source_volume)
|
|
877
|
+
@split_state = args[:split_state] if args.key?(:split_state)
|
|
872
878
|
end
|
|
873
879
|
end
|
|
874
880
|
|
|
@@ -2873,6 +2879,53 @@ module Google
|
|
|
2873
2879
|
end
|
|
2874
2880
|
end
|
|
2875
2881
|
|
|
2882
|
+
# Message for SplitStatus.
|
|
2883
|
+
class SplitStatus
|
|
2884
|
+
include Google::Apis::Core::Hashable
|
|
2885
|
+
|
|
2886
|
+
# Output only. The estimated progress percentage of the split operation (0-100).
|
|
2887
|
+
# This is meaningful primarily when split_state is IN_PROGRESS.
|
|
2888
|
+
# Corresponds to the JSON property `progressPercent`
|
|
2889
|
+
# @return [Fixnum]
|
|
2890
|
+
attr_accessor :progress_percent
|
|
2891
|
+
|
|
2892
|
+
# Output only. The current state of the clone split operation.
|
|
2893
|
+
# Corresponds to the JSON property `splitState`
|
|
2894
|
+
# @return [String]
|
|
2895
|
+
attr_accessor :split_state
|
|
2896
|
+
|
|
2897
|
+
# Output only. Human-readable details about the current state. Mostly used for
|
|
2898
|
+
# displaying error messages during split failure Examples: "Split in progress", "
|
|
2899
|
+
# Error: insufficient capacity".
|
|
2900
|
+
# Corresponds to the JSON property `stateDetails`
|
|
2901
|
+
# @return [String]
|
|
2902
|
+
attr_accessor :state_details
|
|
2903
|
+
|
|
2904
|
+
def initialize(**args)
|
|
2905
|
+
update!(**args)
|
|
2906
|
+
end
|
|
2907
|
+
|
|
2908
|
+
# Update properties of this object
|
|
2909
|
+
def update!(**args)
|
|
2910
|
+
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
2911
|
+
@split_state = args[:split_state] if args.key?(:split_state)
|
|
2912
|
+
@state_details = args[:state_details] if args.key?(:state_details)
|
|
2913
|
+
end
|
|
2914
|
+
end
|
|
2915
|
+
|
|
2916
|
+
# Request message for splitting a volume.
|
|
2917
|
+
class StartSplitRequest
|
|
2918
|
+
include Google::Apis::Core::Hashable
|
|
2919
|
+
|
|
2920
|
+
def initialize(**args)
|
|
2921
|
+
update!(**args)
|
|
2922
|
+
end
|
|
2923
|
+
|
|
2924
|
+
# Update properties of this object
|
|
2925
|
+
def update!(**args)
|
|
2926
|
+
end
|
|
2927
|
+
end
|
|
2928
|
+
|
|
2876
2929
|
# The `Status` type defines a logical error model that is suitable for different
|
|
2877
2930
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2878
2931
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -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.34.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260719"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -412,6 +412,18 @@ module Google
|
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
413
413
|
end
|
|
414
414
|
|
|
415
|
+
class SplitStatus
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class StartSplitRequest
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
415
427
|
class Status
|
|
416
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
429
|
|
|
@@ -680,6 +692,7 @@ module Google
|
|
|
680
692
|
property :shared_space_gib, :numeric_string => true, as: 'sharedSpaceGib'
|
|
681
693
|
property :source_snapshot, as: 'sourceSnapshot'
|
|
682
694
|
property :source_volume, as: 'sourceVolume'
|
|
695
|
+
property :split_state, as: 'splitState'
|
|
683
696
|
end
|
|
684
697
|
end
|
|
685
698
|
|
|
@@ -1220,6 +1233,21 @@ module Google
|
|
|
1220
1233
|
end
|
|
1221
1234
|
end
|
|
1222
1235
|
|
|
1236
|
+
class SplitStatus
|
|
1237
|
+
# @private
|
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1239
|
+
property :progress_percent, as: 'progressPercent'
|
|
1240
|
+
property :split_state, as: 'splitState'
|
|
1241
|
+
property :state_details, as: 'stateDetails'
|
|
1242
|
+
end
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
class StartSplitRequest
|
|
1246
|
+
# @private
|
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1248
|
+
end
|
|
1249
|
+
end
|
|
1250
|
+
|
|
1223
1251
|
class Status
|
|
1224
1252
|
# @private
|
|
1225
1253
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2118,6 +2118,39 @@ module Google
|
|
|
2118
2118
|
execute_or_queue_command(command, &block)
|
|
2119
2119
|
end
|
|
2120
2120
|
|
|
2121
|
+
# Retrieves the current state, progress, and details of a split operation for a
|
|
2122
|
+
# volume. This method is relevant when the volume is a clone. For volumes that
|
|
2123
|
+
# are not clones, this method will return an error.
|
|
2124
|
+
# @param [String] name
|
|
2125
|
+
# Required. The full name of the volume. Format: projects/`project_number`/
|
|
2126
|
+
# locations/`location`/volumes/`volume_id`
|
|
2127
|
+
# @param [String] fields
|
|
2128
|
+
# Selector specifying which fields to include in a partial response.
|
|
2129
|
+
# @param [String] quota_user
|
|
2130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2132
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2133
|
+
# Request-specific options
|
|
2134
|
+
#
|
|
2135
|
+
# @yield [result, err] Result & error if block supplied
|
|
2136
|
+
# @yieldparam result [Google::Apis::NetappV1::SplitStatus] parsed result object
|
|
2137
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2138
|
+
#
|
|
2139
|
+
# @return [Google::Apis::NetappV1::SplitStatus]
|
|
2140
|
+
#
|
|
2141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2144
|
+
def get_project_location_volume_split_status(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2145
|
+
command = make_simple_command(:get, 'v1/{+name}:getSplitStatus', options)
|
|
2146
|
+
command.response_representation = Google::Apis::NetappV1::SplitStatus::Representation
|
|
2147
|
+
command.response_class = Google::Apis::NetappV1::SplitStatus
|
|
2148
|
+
command.params['name'] = name unless name.nil?
|
|
2149
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2150
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2151
|
+
execute_or_queue_command(command, &block)
|
|
2152
|
+
end
|
|
2153
|
+
|
|
2121
2154
|
# Lists Volumes in a given project.
|
|
2122
2155
|
# @param [String] parent
|
|
2123
2156
|
# Required. Parent value for ListVolumesRequest
|
|
@@ -2270,6 +2303,42 @@ module Google
|
|
|
2270
2303
|
execute_or_queue_command(command, &block)
|
|
2271
2304
|
end
|
|
2272
2305
|
|
|
2306
|
+
# Splits a clone volume from its source volume. This operation will only work
|
|
2307
|
+
# for volumes which have clone_details set(clones). For volumes that are not
|
|
2308
|
+
# clones, this operation will return an error.
|
|
2309
|
+
# @param [String] name
|
|
2310
|
+
# Required. The full name of the clone volume to be split from its source.
|
|
2311
|
+
# Format: projects/`project_number`/locations/`location`/volumes/`volume_id`
|
|
2312
|
+
# @param [Google::Apis::NetappV1::StartSplitRequest] start_split_request_object
|
|
2313
|
+
# @param [String] fields
|
|
2314
|
+
# Selector specifying which fields to include in a partial response.
|
|
2315
|
+
# @param [String] quota_user
|
|
2316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2318
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2319
|
+
# Request-specific options
|
|
2320
|
+
#
|
|
2321
|
+
# @yield [result, err] Result & error if block supplied
|
|
2322
|
+
# @yieldparam result [Google::Apis::NetappV1::Operation] parsed result object
|
|
2323
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2324
|
+
#
|
|
2325
|
+
# @return [Google::Apis::NetappV1::Operation]
|
|
2326
|
+
#
|
|
2327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2330
|
+
def start_volume_split(name, start_split_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2331
|
+
command = make_simple_command(:post, 'v1/{+name}:startSplit', options)
|
|
2332
|
+
command.request_representation = Google::Apis::NetappV1::StartSplitRequest::Representation
|
|
2333
|
+
command.request_object = start_split_request_object
|
|
2334
|
+
command.response_representation = Google::Apis::NetappV1::Operation::Representation
|
|
2335
|
+
command.response_class = Google::Apis::NetappV1::Operation
|
|
2336
|
+
command.params['name'] = name unless name.nil?
|
|
2337
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2338
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2339
|
+
execute_or_queue_command(command, &block)
|
|
2340
|
+
end
|
|
2341
|
+
|
|
2273
2342
|
# Creates a new quota rule.
|
|
2274
2343
|
# @param [String] parent
|
|
2275
2344
|
# Required. Parent value for CreateQuotaRuleRequest
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.34.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-netapp_v1/v0.34.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-netapp_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|