google-cloud-netapp-v1 2.9.0 → 2.11.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/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +15 -0
- data/lib/google/cloud/netapp/v1/common_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/netapp/client.rb +526 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +491 -0
- data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +308 -0
- data/lib/google/cloud/netapp/v1/ontap_pb.rb +31 -0
- data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +2 -1
- data/lib/google/cloud/netapp/v1/version.rb +1 -1
- data/lib/google/cloud/netapp/v1/volume_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/netapp/v1/backup.rb +1 -0
- data/proto_docs/google/cloud/netapp/v1/common.rb +13 -2
- data/proto_docs/google/cloud/netapp/v1/ontap.rb +140 -0
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +24 -3
- data/proto_docs/google/cloud/netapp/v1/volume.rb +75 -2
- data/proto_docs/google/protobuf/struct.rb +108 -0
- metadata +4 -1
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
# @!attribute [rw] selective_gapic_generation
|
|
32
32
|
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
33
|
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
34
36
|
class CommonLanguageSettings
|
|
35
37
|
include ::Google::Protobuf::MessageExts
|
|
36
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -141,9 +143,10 @@ module Google
|
|
|
141
143
|
#
|
|
142
144
|
# Example of a YAML configuration::
|
|
143
145
|
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
146
|
+
# publishing:
|
|
147
|
+
# library_settings:
|
|
148
|
+
# java_settings:
|
|
149
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
147
150
|
# @!attribute [rw] service_class_names
|
|
148
151
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
149
152
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -155,11 +158,11 @@ module Google
|
|
|
155
158
|
#
|
|
156
159
|
# Example of a YAML configuration::
|
|
157
160
|
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
161
|
+
# publishing:
|
|
162
|
+
# java_settings:
|
|
163
|
+
# service_class_names:
|
|
164
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
165
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
163
166
|
# @!attribute [rw] common
|
|
164
167
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
165
168
|
# Some settings.
|
|
@@ -190,6 +193,20 @@ module Google
|
|
|
190
193
|
# @!attribute [rw] common
|
|
191
194
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
192
195
|
# Some settings.
|
|
196
|
+
# @!attribute [rw] library_package
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
199
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
200
|
+
# who have already set the language_settings.php.package_name" field
|
|
201
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
202
|
+
# where possible.
|
|
203
|
+
#
|
|
204
|
+
# Example of a YAML configuration::
|
|
205
|
+
#
|
|
206
|
+
# publishing:
|
|
207
|
+
# library_settings:
|
|
208
|
+
# php_settings:
|
|
209
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
193
210
|
class PhpSettings
|
|
194
211
|
include ::Google::Protobuf::MessageExts
|
|
195
212
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -318,10 +335,12 @@ module Google
|
|
|
318
335
|
# service names and values are the name to be used for the service client
|
|
319
336
|
# and call options.
|
|
320
337
|
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
338
|
+
# Example:
|
|
339
|
+
#
|
|
340
|
+
# publishing:
|
|
341
|
+
# go_settings:
|
|
342
|
+
# renamed_services:
|
|
343
|
+
# Publisher: TopicAdmin
|
|
325
344
|
class GoSettings
|
|
326
345
|
include ::Google::Protobuf::MessageExts
|
|
327
346
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -344,10 +363,10 @@ module Google
|
|
|
344
363
|
#
|
|
345
364
|
# Example:
|
|
346
365
|
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
366
|
+
# publishing:
|
|
367
|
+
# method_settings:
|
|
368
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
369
|
+
# # method settings for CreateFolder...
|
|
351
370
|
# @!attribute [rw] long_running
|
|
352
371
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
353
372
|
# Describes settings to use for long-running operations when generating
|
|
@@ -356,14 +375,14 @@ module Google
|
|
|
356
375
|
#
|
|
357
376
|
# Example of a YAML configuration::
|
|
358
377
|
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
378
|
+
# publishing:
|
|
379
|
+
# method_settings:
|
|
380
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
381
|
+
# long_running:
|
|
382
|
+
# initial_poll_delay: 60s # 1 minute
|
|
383
|
+
# poll_delay_multiplier: 1.5
|
|
384
|
+
# max_poll_delay: 360s # 6 minutes
|
|
385
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
367
386
|
# @!attribute [rw] auto_populated_fields
|
|
368
387
|
# @return [::Array<::String>]
|
|
369
388
|
# List of top-level fields of the request message, that should be
|
|
@@ -372,11 +391,24 @@ module Google
|
|
|
372
391
|
#
|
|
373
392
|
# Example of a YAML configuration:
|
|
374
393
|
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
394
|
+
# publishing:
|
|
395
|
+
# method_settings:
|
|
396
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
397
|
+
# auto_populated_fields:
|
|
398
|
+
# - request_id
|
|
399
|
+
# @!attribute [rw] batching
|
|
400
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
401
|
+
# Batching configuration for an API method in client libraries.
|
|
402
|
+
#
|
|
403
|
+
# Example of a YAML configuration:
|
|
404
|
+
#
|
|
405
|
+
# publishing:
|
|
406
|
+
# method_settings:
|
|
407
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
408
|
+
# batching:
|
|
409
|
+
# element_count_threshold: 1000
|
|
410
|
+
# request_byte_threshold: 100000000
|
|
411
|
+
# delay_threshold_millis: 10
|
|
380
412
|
class MethodSettings
|
|
381
413
|
include ::Google::Protobuf::MessageExts
|
|
382
414
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -411,6 +443,8 @@ module Google
|
|
|
411
443
|
|
|
412
444
|
# This message is used to configure the generation of a subset of the RPCs in
|
|
413
445
|
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
414
448
|
# @!attribute [rw] methods
|
|
415
449
|
# @return [::Array<::String>]
|
|
416
450
|
# An allowlist of the fully qualified names of RPCs that should be included
|
|
@@ -428,6 +462,77 @@ module Google
|
|
|
428
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
463
|
end
|
|
430
464
|
|
|
465
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
466
|
+
# @!attribute [rw] thresholds
|
|
467
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
468
|
+
# The thresholds which trigger a batched request to be sent.
|
|
469
|
+
# @!attribute [rw] batch_descriptor
|
|
470
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
471
|
+
# The request and response fields used in batching.
|
|
472
|
+
class BatchingConfigProto
|
|
473
|
+
include ::Google::Protobuf::MessageExts
|
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
478
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
479
|
+
# one threshold must be positive nonzero.
|
|
480
|
+
# @!attribute [rw] element_count_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The number of elements of a field collected into a batch which, if
|
|
483
|
+
# exceeded, causes the batch to be sent.
|
|
484
|
+
# @!attribute [rw] request_byte_threshold
|
|
485
|
+
# @return [::Integer]
|
|
486
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
487
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
488
|
+
# request field to be batched, not of the entire request message.
|
|
489
|
+
# @!attribute [rw] delay_threshold
|
|
490
|
+
# @return [::Google::Protobuf::Duration]
|
|
491
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
492
|
+
# of the first message to that batch.
|
|
493
|
+
# @!attribute [rw] element_count_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
496
|
+
# by server.
|
|
497
|
+
# @!attribute [rw] request_byte_limit
|
|
498
|
+
# @return [::Integer]
|
|
499
|
+
# The maximum size of the request that could be accepted by server.
|
|
500
|
+
# @!attribute [rw] flow_control_element_limit
|
|
501
|
+
# @return [::Integer]
|
|
502
|
+
# The maximum number of elements allowed by flow control.
|
|
503
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
504
|
+
# @return [::Integer]
|
|
505
|
+
# The maximum size of data allowed by flow control.
|
|
506
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
507
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
508
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
509
|
+
class BatchingSettingsProto
|
|
510
|
+
include ::Google::Protobuf::MessageExts
|
|
511
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
515
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
516
|
+
# used for demultiplexing.
|
|
517
|
+
# @!attribute [rw] batched_field
|
|
518
|
+
# @return [::String]
|
|
519
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
520
|
+
# @!attribute [rw] discriminator_fields
|
|
521
|
+
# @return [::Array<::String>]
|
|
522
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
523
|
+
# together only if the values of every field specified in
|
|
524
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
525
|
+
# @!attribute [rw] subresponse_field
|
|
526
|
+
# @return [::String]
|
|
527
|
+
# Optional. When present, indicates the field in the response message to be
|
|
528
|
+
# used to demultiplex the response into multiple response messages, in
|
|
529
|
+
# correspondence with the multiple request messages originally batched
|
|
530
|
+
# together.
|
|
531
|
+
class BatchingDescriptorProto
|
|
532
|
+
include ::Google::Protobuf::MessageExts
|
|
533
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
534
|
+
end
|
|
535
|
+
|
|
431
536
|
# The organization for which the client libraries are being published.
|
|
432
537
|
# Affects the url where generated docs are published, etc.
|
|
433
538
|
module ClientLibraryOrganization
|
|
@@ -469,5 +574,20 @@ module Google
|
|
|
469
574
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
470
575
|
PACKAGE_MANAGER = 20
|
|
471
576
|
end
|
|
577
|
+
|
|
578
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
579
|
+
module FlowControlLimitExceededBehaviorProto
|
|
580
|
+
# Default behavior, system-defined.
|
|
581
|
+
UNSET_BEHAVIOR = 0
|
|
582
|
+
|
|
583
|
+
# Stop operation, raise error.
|
|
584
|
+
THROW_EXCEPTION = 1
|
|
585
|
+
|
|
586
|
+
# Pause operation until limit clears.
|
|
587
|
+
BLOCK = 2
|
|
588
|
+
|
|
589
|
+
# Continue operation, disregard limit.
|
|
590
|
+
IGNORE = 3
|
|
591
|
+
end
|
|
472
592
|
end
|
|
473
593
|
end
|
|
@@ -46,6 +46,7 @@ module Google
|
|
|
46
46
|
# @!attribute [rw] source_volume
|
|
47
47
|
# @return [::String]
|
|
48
48
|
# Volume full name of this backup belongs to.
|
|
49
|
+
# Either source_volume or ontap_source should be provided.
|
|
49
50
|
# Format:
|
|
50
51
|
# `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
|
|
51
52
|
# @!attribute [rw] source_snapshot
|
|
@@ -110,9 +110,20 @@ module Google
|
|
|
110
110
|
|
|
111
111
|
# Storage pool type is unified.
|
|
112
112
|
UNIFIED = 2
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Defines the scale-type of a UNIFIED Storage Pool.
|
|
116
|
+
module ScaleType
|
|
117
|
+
# Unspecified scale type.
|
|
118
|
+
SCALE_TYPE_UNSPECIFIED = 0
|
|
119
|
+
|
|
120
|
+
# Represents standard capacity and performance scale-type.
|
|
121
|
+
# Suitable for general purpose workloads.
|
|
122
|
+
SCALE_TYPE_DEFAULT = 1
|
|
113
123
|
|
|
114
|
-
#
|
|
115
|
-
|
|
124
|
+
# Represents higher capacity and performance scale-type.
|
|
125
|
+
# Suitable for more demanding workloads.
|
|
126
|
+
SCALE_TYPE_SCALEOUT = 2
|
|
116
127
|
end
|
|
117
128
|
|
|
118
129
|
# Schedule for Hybrid Replication.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module NetApp
|
|
23
|
+
module V1
|
|
24
|
+
# Request message for `ExecuteOntapPost` API.
|
|
25
|
+
# @!attribute [rw] body
|
|
26
|
+
# @return [::Google::Protobuf::Struct]
|
|
27
|
+
# Required. The raw `JSON` body of the request.
|
|
28
|
+
# The body should be in the format of the ONTAP resource.
|
|
29
|
+
# For example:
|
|
30
|
+
# ```
|
|
31
|
+
# {
|
|
32
|
+
# "body": {
|
|
33
|
+
# "field1": "value1",
|
|
34
|
+
# "field2": "value2",
|
|
35
|
+
# }
|
|
36
|
+
# }
|
|
37
|
+
# ```
|
|
38
|
+
# @!attribute [rw] ontap_path
|
|
39
|
+
# @return [::String]
|
|
40
|
+
# Required. The resource path of the ONTAP resource.
|
|
41
|
+
# Format:
|
|
42
|
+
# `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`.
|
|
43
|
+
# For example:
|
|
44
|
+
# `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.
|
|
45
|
+
class ExecuteOntapPostRequest
|
|
46
|
+
include ::Google::Protobuf::MessageExts
|
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Response message for `ExecuteOntapPost` API.
|
|
51
|
+
# @!attribute [rw] body
|
|
52
|
+
# @return [::Google::Protobuf::Struct]
|
|
53
|
+
# The raw `JSON` body of the response.
|
|
54
|
+
class ExecuteOntapPostResponse
|
|
55
|
+
include ::Google::Protobuf::MessageExts
|
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Request message for `ExecuteOntapGet` API.
|
|
60
|
+
# @!attribute [rw] ontap_path
|
|
61
|
+
# @return [::String]
|
|
62
|
+
# Required. The resource path of the ONTAP resource.
|
|
63
|
+
# Format:
|
|
64
|
+
# `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`.
|
|
65
|
+
# For example:
|
|
66
|
+
# `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.
|
|
67
|
+
class ExecuteOntapGetRequest
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# Response message for `ExecuteOntapGet` API.
|
|
73
|
+
# @!attribute [rw] body
|
|
74
|
+
# @return [::Google::Protobuf::Struct]
|
|
75
|
+
# The raw `JSON` body of the response.
|
|
76
|
+
class ExecuteOntapGetResponse
|
|
77
|
+
include ::Google::Protobuf::MessageExts
|
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Request message for `ExecuteOntapDelete` API.
|
|
82
|
+
# @!attribute [rw] ontap_path
|
|
83
|
+
# @return [::String]
|
|
84
|
+
# Required. The resource path of the ONTAP resource.
|
|
85
|
+
# Format:
|
|
86
|
+
# `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`.
|
|
87
|
+
# For example:
|
|
88
|
+
# `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.
|
|
89
|
+
class ExecuteOntapDeleteRequest
|
|
90
|
+
include ::Google::Protobuf::MessageExts
|
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Response message for `ExecuteOntapDelete` API.
|
|
95
|
+
# @!attribute [rw] body
|
|
96
|
+
# @return [::Google::Protobuf::Struct]
|
|
97
|
+
# The raw `JSON` body of the response.
|
|
98
|
+
class ExecuteOntapDeleteResponse
|
|
99
|
+
include ::Google::Protobuf::MessageExts
|
|
100
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Request message for `ExecuteOntapPatch` API.
|
|
104
|
+
# @!attribute [rw] body
|
|
105
|
+
# @return [::Google::Protobuf::Struct]
|
|
106
|
+
# Required. The raw `JSON` body of the request.
|
|
107
|
+
# The body should be in the format of the ONTAP resource.
|
|
108
|
+
# For example:
|
|
109
|
+
# ```
|
|
110
|
+
# {
|
|
111
|
+
# "body": {
|
|
112
|
+
# "field1": "value1",
|
|
113
|
+
# "field2": "value2",
|
|
114
|
+
# }
|
|
115
|
+
# }
|
|
116
|
+
# ```
|
|
117
|
+
# @!attribute [rw] ontap_path
|
|
118
|
+
# @return [::String]
|
|
119
|
+
# Required. The resource path of the ONTAP resource.
|
|
120
|
+
# Format:
|
|
121
|
+
# `projects/{project_number}/locations/{location_id}/storagePools/{storage_pool_id}/ontap/{ontap_resource_path}`.
|
|
122
|
+
# For example:
|
|
123
|
+
# `projects/123456789/locations/us-central1/storagePools/my-storage-pool/ontap/api/storage/volumes`.
|
|
124
|
+
class ExecuteOntapPatchRequest
|
|
125
|
+
include ::Google::Protobuf::MessageExts
|
|
126
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Response message for `ExecuteOntapPatch` API.
|
|
130
|
+
# @!attribute [rw] body
|
|
131
|
+
# @return [::Google::Protobuf::Struct]
|
|
132
|
+
# The raw `JSON` body of the response.
|
|
133
|
+
class ExecuteOntapPatchResponse
|
|
134
|
+
include ::Google::Protobuf::MessageExts
|
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
136
|
+
end
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
@@ -238,9 +238,17 @@ module Google
|
|
|
238
238
|
# @return [::Google::Cloud::NetApp::V1::StoragePoolType]
|
|
239
239
|
# Optional. Type of the storage pool. This field is used to control whether
|
|
240
240
|
# the pool supports `FILE` based volumes only or `UNIFIED` (both `FILE` and
|
|
241
|
-
# `BLOCK`) volumes
|
|
242
|
-
#
|
|
243
|
-
#
|
|
241
|
+
# `BLOCK`) volumes. If not specified during creation, it defaults to `FILE`.
|
|
242
|
+
# @!attribute [rw] mode
|
|
243
|
+
# @return [::Google::Cloud::NetApp::V1::Mode]
|
|
244
|
+
# Optional. Mode of the storage pool. This field is used to control whether
|
|
245
|
+
# the user can perform the ONTAP operations on the storage pool using the
|
|
246
|
+
# GCNV ONTAP Mode APIs. If not specified during creation, it defaults to
|
|
247
|
+
# `DEFAULT`.
|
|
248
|
+
# @!attribute [rw] scale_type
|
|
249
|
+
# @return [::Google::Cloud::NetApp::V1::ScaleType]
|
|
250
|
+
# Optional. The scale type of the storage pool. Defaults to
|
|
251
|
+
# `SCALE_TYPE_DEFAULT` if not specified.
|
|
244
252
|
class StoragePool
|
|
245
253
|
include ::Google::Protobuf::MessageExts
|
|
246
254
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -294,6 +302,19 @@ module Google
|
|
|
294
302
|
include ::Google::Protobuf::MessageExts
|
|
295
303
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
296
304
|
end
|
|
305
|
+
|
|
306
|
+
# `Mode` of the storage pool or volume. This field is used to control whether
|
|
307
|
+
# the resource is managed by the GCNV APIs or the GCNV ONTAP Mode APIs.
|
|
308
|
+
module Mode
|
|
309
|
+
# The `Mode` is not specified.
|
|
310
|
+
MODE_UNSPECIFIED = 0
|
|
311
|
+
|
|
312
|
+
# The resource is managed by the GCNV APIs.
|
|
313
|
+
DEFAULT = 1
|
|
314
|
+
|
|
315
|
+
# The resource is managed by the GCNV ONTAP Mode APIs.
|
|
316
|
+
ONTAP = 2
|
|
317
|
+
end
|
|
297
318
|
end
|
|
298
319
|
end
|
|
299
320
|
end
|
|
@@ -236,7 +236,9 @@ module Google
|
|
|
236
236
|
# @!attribute [rw] large_capacity
|
|
237
237
|
# @return [::Boolean]
|
|
238
238
|
# Optional. Flag indicating if the volume will be a large capacity volume or
|
|
239
|
-
# a regular volume.
|
|
239
|
+
# a regular volume. This field is used for legacy FILE pools. For Unified
|
|
240
|
+
# pools, use the `large_capacity_config` field instead. This field and
|
|
241
|
+
# `large_capacity_config` are mutually exclusive.
|
|
240
242
|
# @!attribute [rw] multiple_endpoints
|
|
241
243
|
# @return [::Boolean]
|
|
242
244
|
# Optional. Flag indicating if the volume will have an IP address per node
|
|
@@ -272,10 +274,41 @@ module Google
|
|
|
272
274
|
# @return [::Array<::Google::Cloud::NetApp::V1::BlockDevice>]
|
|
273
275
|
# Optional. Block devices for the volume.
|
|
274
276
|
# Currently, only one block device is permitted per Volume.
|
|
277
|
+
# @!attribute [rw] large_capacity_config
|
|
278
|
+
# @return [::Google::Cloud::NetApp::V1::LargeCapacityConfig]
|
|
279
|
+
# Optional. Large capacity config for the volume.
|
|
280
|
+
# Enables and configures large capacity for volumes in Unified pools with
|
|
281
|
+
# File protocols. Not applicable for Block protocols in Unified pools.
|
|
282
|
+
# This field and the legacy `large_capacity` boolean field
|
|
283
|
+
# are mutually exclusive.
|
|
284
|
+
# @!attribute [r] clone_details
|
|
285
|
+
# @return [::Google::Cloud::NetApp::V1::Volume::CloneDetails]
|
|
286
|
+
# Output only. If this volume is a clone, this field contains details about
|
|
287
|
+
# the clone.
|
|
275
288
|
class Volume
|
|
276
289
|
include ::Google::Protobuf::MessageExts
|
|
277
290
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
278
291
|
|
|
292
|
+
# Details about a clone volume.
|
|
293
|
+
# @!attribute [r] source_snapshot
|
|
294
|
+
# @return [::String]
|
|
295
|
+
# Output only. Specifies the full resource name of the source snapshot from
|
|
296
|
+
# which this volume was cloned. Format:
|
|
297
|
+
# projects/\\{project}/locations/\\{location}/volumes/\\{volume}/snapshots/\\{snapshot}
|
|
298
|
+
# @!attribute [r] source_volume
|
|
299
|
+
# @return [::String]
|
|
300
|
+
# Output only. Full name of the source volume resource.
|
|
301
|
+
# Format:
|
|
302
|
+
# projects/\\{project}/locations/\\{location}/volumes/\\{volume}
|
|
303
|
+
# @!attribute [r] shared_space_gib
|
|
304
|
+
# @return [::Integer]
|
|
305
|
+
# Output only. Shared space in GiB. Determined at volume creation time
|
|
306
|
+
# based on size of source snapshot.
|
|
307
|
+
class CloneDetails
|
|
308
|
+
include ::Google::Protobuf::MessageExts
|
|
309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
310
|
+
end
|
|
311
|
+
|
|
279
312
|
# @!attribute [rw] key
|
|
280
313
|
# @return [::String]
|
|
281
314
|
# @!attribute [rw] value
|
|
@@ -321,6 +354,18 @@ module Google
|
|
|
321
354
|
end
|
|
322
355
|
end
|
|
323
356
|
|
|
357
|
+
# Configuration for a Large Capacity Volume. A Large Capacity Volume
|
|
358
|
+
# supports sizes ranging from 4.8 TiB to 20 PiB, it is composed of multiple
|
|
359
|
+
# internal constituents, and must be created in a large capacity pool.
|
|
360
|
+
# @!attribute [rw] constituent_count
|
|
361
|
+
# @return [::Integer]
|
|
362
|
+
# Optional. The number of internal constituents (e.g., FlexVols) for this
|
|
363
|
+
# large volume. The minimum number of constituents is 2.
|
|
364
|
+
class LargeCapacityConfig
|
|
365
|
+
include ::Google::Protobuf::MessageExts
|
|
366
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
367
|
+
end
|
|
368
|
+
|
|
324
369
|
# Defines the export policy for the volume.
|
|
325
370
|
# @!attribute [rw] rules
|
|
326
371
|
# @return [::Array<::Google::Cloud::NetApp::V1::SimpleExportPolicyRule>]
|
|
@@ -536,8 +581,10 @@ module Google
|
|
|
536
581
|
# @!attribute [rw] source_backup
|
|
537
582
|
# @return [::String]
|
|
538
583
|
# Full name of the backup resource.
|
|
539
|
-
# Format:
|
|
584
|
+
# Format for standard backup:
|
|
540
585
|
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault_id}/backups/\\{backup_id}
|
|
586
|
+
# Format for BackupDR backup:
|
|
587
|
+
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault}/dataSources/\\{data_source}/backups/\\{backup}
|
|
541
588
|
#
|
|
542
589
|
# Note: The following fields are mutually exclusive: `source_backup`, `source_snapshot`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
543
590
|
class RestoreParameters
|
|
@@ -858,6 +905,32 @@ module Google
|
|
|
858
905
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
859
906
|
end
|
|
860
907
|
|
|
908
|
+
# EstablishVolumePeeringRequest establishes cluster and svm peerings between
|
|
909
|
+
# the source and destination clusters.
|
|
910
|
+
# @!attribute [rw] name
|
|
911
|
+
# @return [::String]
|
|
912
|
+
# Required. The volume resource name, in the format
|
|
913
|
+
# `projects/{project_id}/locations/{location}/volumes/{volume_id}`
|
|
914
|
+
# @!attribute [rw] peer_cluster_name
|
|
915
|
+
# @return [::String]
|
|
916
|
+
# Required. Name of the user's local source cluster to be peered with the
|
|
917
|
+
# destination cluster.
|
|
918
|
+
# @!attribute [rw] peer_svm_name
|
|
919
|
+
# @return [::String]
|
|
920
|
+
# Required. Name of the user's local source vserver svm to be peered with the
|
|
921
|
+
# destination vserver svm.
|
|
922
|
+
# @!attribute [rw] peer_ip_addresses
|
|
923
|
+
# @return [::Array<::String>]
|
|
924
|
+
# Optional. List of IPv4 ip addresses to be used for peering.
|
|
925
|
+
# @!attribute [rw] peer_volume_name
|
|
926
|
+
# @return [::String]
|
|
927
|
+
# Required. Name of the user's local source volume to be peered with the
|
|
928
|
+
# destination volume.
|
|
929
|
+
class EstablishVolumePeeringRequest
|
|
930
|
+
include ::Google::Protobuf::MessageExts
|
|
931
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
932
|
+
end
|
|
933
|
+
|
|
861
934
|
# Protocols is an enum of all the supported network protocols for a volume.
|
|
862
935
|
module Protocols
|
|
863
936
|
# Unspecified protocol
|