google-cloud-netapp-v1 2.9.0 → 2.10.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 +1 -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 +3 -1
- data/proto_docs/google/api/client.rb +145 -29
- data/proto_docs/google/cloud/netapp/v1/backup.rb +1 -0
- data/proto_docs/google/cloud/netapp/v1/common.rb +0 -3
- data/proto_docs/google/cloud/netapp/v1/ontap.rb +140 -0
- data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +20 -3
- data/proto_docs/google/cloud/netapp/v1/volume.rb +53 -1
- data/proto_docs/google/protobuf/struct.rb +108 -0
- metadata +4 -1
|
@@ -141,9 +141,10 @@ module Google
|
|
|
141
141
|
#
|
|
142
142
|
# Example of a YAML configuration::
|
|
143
143
|
#
|
|
144
|
-
#
|
|
145
|
-
#
|
|
146
|
-
#
|
|
144
|
+
# publishing:
|
|
145
|
+
# library_settings:
|
|
146
|
+
# java_settings:
|
|
147
|
+
# library_package: com.google.cloud.pubsub.v1
|
|
147
148
|
# @!attribute [rw] service_class_names
|
|
148
149
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
149
150
|
# Configure the Java class name to use instead of the service's for its
|
|
@@ -155,11 +156,11 @@ module Google
|
|
|
155
156
|
#
|
|
156
157
|
# Example of a YAML configuration::
|
|
157
158
|
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
159
|
+
# publishing:
|
|
160
|
+
# java_settings:
|
|
161
|
+
# service_class_names:
|
|
162
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
|
163
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
|
163
164
|
# @!attribute [rw] common
|
|
164
165
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
165
166
|
# Some settings.
|
|
@@ -190,6 +191,20 @@ module Google
|
|
|
190
191
|
# @!attribute [rw] common
|
|
191
192
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
192
193
|
# Some settings.
|
|
194
|
+
# @!attribute [rw] library_package
|
|
195
|
+
# @return [::String]
|
|
196
|
+
# The package name to use in Php. Clobbers the php_namespace option
|
|
197
|
+
# set in the protobuf. This should be used **only** by APIs
|
|
198
|
+
# who have already set the language_settings.php.package_name" field
|
|
199
|
+
# in gapic.yaml. API teams should use the protobuf php_namespace option
|
|
200
|
+
# where possible.
|
|
201
|
+
#
|
|
202
|
+
# Example of a YAML configuration::
|
|
203
|
+
#
|
|
204
|
+
# publishing:
|
|
205
|
+
# library_settings:
|
|
206
|
+
# php_settings:
|
|
207
|
+
# library_package: Google\Cloud\PubSub\V1
|
|
193
208
|
class PhpSettings
|
|
194
209
|
include ::Google::Protobuf::MessageExts
|
|
195
210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -318,10 +333,12 @@ module Google
|
|
|
318
333
|
# service names and values are the name to be used for the service client
|
|
319
334
|
# and call options.
|
|
320
335
|
#
|
|
321
|
-
#
|
|
322
|
-
#
|
|
323
|
-
#
|
|
324
|
-
#
|
|
336
|
+
# Example:
|
|
337
|
+
#
|
|
338
|
+
# publishing:
|
|
339
|
+
# go_settings:
|
|
340
|
+
# renamed_services:
|
|
341
|
+
# Publisher: TopicAdmin
|
|
325
342
|
class GoSettings
|
|
326
343
|
include ::Google::Protobuf::MessageExts
|
|
327
344
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -344,10 +361,10 @@ module Google
|
|
|
344
361
|
#
|
|
345
362
|
# Example:
|
|
346
363
|
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
#
|
|
350
|
-
#
|
|
364
|
+
# publishing:
|
|
365
|
+
# method_settings:
|
|
366
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
367
|
+
# # method settings for CreateFolder...
|
|
351
368
|
# @!attribute [rw] long_running
|
|
352
369
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
353
370
|
# Describes settings to use for long-running operations when generating
|
|
@@ -356,14 +373,14 @@ module Google
|
|
|
356
373
|
#
|
|
357
374
|
# Example of a YAML configuration::
|
|
358
375
|
#
|
|
359
|
-
#
|
|
360
|
-
#
|
|
361
|
-
#
|
|
362
|
-
#
|
|
363
|
-
#
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
376
|
+
# publishing:
|
|
377
|
+
# method_settings:
|
|
378
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
379
|
+
# long_running:
|
|
380
|
+
# initial_poll_delay: 60s # 1 minute
|
|
381
|
+
# poll_delay_multiplier: 1.5
|
|
382
|
+
# max_poll_delay: 360s # 6 minutes
|
|
383
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
367
384
|
# @!attribute [rw] auto_populated_fields
|
|
368
385
|
# @return [::Array<::String>]
|
|
369
386
|
# List of top-level fields of the request message, that should be
|
|
@@ -372,11 +389,24 @@ module Google
|
|
|
372
389
|
#
|
|
373
390
|
# Example of a YAML configuration:
|
|
374
391
|
#
|
|
375
|
-
#
|
|
376
|
-
#
|
|
377
|
-
#
|
|
378
|
-
#
|
|
379
|
-
#
|
|
392
|
+
# publishing:
|
|
393
|
+
# method_settings:
|
|
394
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
|
395
|
+
# auto_populated_fields:
|
|
396
|
+
# - request_id
|
|
397
|
+
# @!attribute [rw] batching
|
|
398
|
+
# @return [::Google::Api::BatchingConfigProto]
|
|
399
|
+
# Batching configuration for an API method in client libraries.
|
|
400
|
+
#
|
|
401
|
+
# Example of a YAML configuration:
|
|
402
|
+
#
|
|
403
|
+
# publishing:
|
|
404
|
+
# method_settings:
|
|
405
|
+
# - selector: google.example.v1.ExampleService.BatchCreateExample
|
|
406
|
+
# batching:
|
|
407
|
+
# element_count_threshold: 1000
|
|
408
|
+
# request_byte_threshold: 100000000
|
|
409
|
+
# delay_threshold_millis: 10
|
|
380
410
|
class MethodSettings
|
|
381
411
|
include ::Google::Protobuf::MessageExts
|
|
382
412
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -428,6 +458,77 @@ module Google
|
|
|
428
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
429
459
|
end
|
|
430
460
|
|
|
461
|
+
# `BatchingConfigProto` defines the batching configuration for an API method.
|
|
462
|
+
# @!attribute [rw] thresholds
|
|
463
|
+
# @return [::Google::Api::BatchingSettingsProto]
|
|
464
|
+
# The thresholds which trigger a batched request to be sent.
|
|
465
|
+
# @!attribute [rw] batch_descriptor
|
|
466
|
+
# @return [::Google::Api::BatchingDescriptorProto]
|
|
467
|
+
# The request and response fields used in batching.
|
|
468
|
+
class BatchingConfigProto
|
|
469
|
+
include ::Google::Protobuf::MessageExts
|
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
471
|
+
end
|
|
472
|
+
|
|
473
|
+
# `BatchingSettingsProto` specifies a set of batching thresholds, each of
|
|
474
|
+
# which acts as a trigger to send a batch of messages as a request. At least
|
|
475
|
+
# one threshold must be positive nonzero.
|
|
476
|
+
# @!attribute [rw] element_count_threshold
|
|
477
|
+
# @return [::Integer]
|
|
478
|
+
# The number of elements of a field collected into a batch which, if
|
|
479
|
+
# exceeded, causes the batch to be sent.
|
|
480
|
+
# @!attribute [rw] request_byte_threshold
|
|
481
|
+
# @return [::Integer]
|
|
482
|
+
# The aggregated size of the batched field which, if exceeded, causes the
|
|
483
|
+
# batch to be sent. This size is computed by aggregating the sizes of the
|
|
484
|
+
# request field to be batched, not of the entire request message.
|
|
485
|
+
# @!attribute [rw] delay_threshold
|
|
486
|
+
# @return [::Google::Protobuf::Duration]
|
|
487
|
+
# The duration after which a batch should be sent, starting from the addition
|
|
488
|
+
# of the first message to that batch.
|
|
489
|
+
# @!attribute [rw] element_count_limit
|
|
490
|
+
# @return [::Integer]
|
|
491
|
+
# The maximum number of elements collected in a batch that could be accepted
|
|
492
|
+
# by server.
|
|
493
|
+
# @!attribute [rw] request_byte_limit
|
|
494
|
+
# @return [::Integer]
|
|
495
|
+
# The maximum size of the request that could be accepted by server.
|
|
496
|
+
# @!attribute [rw] flow_control_element_limit
|
|
497
|
+
# @return [::Integer]
|
|
498
|
+
# The maximum number of elements allowed by flow control.
|
|
499
|
+
# @!attribute [rw] flow_control_byte_limit
|
|
500
|
+
# @return [::Integer]
|
|
501
|
+
# The maximum size of data allowed by flow control.
|
|
502
|
+
# @!attribute [rw] flow_control_limit_exceeded_behavior
|
|
503
|
+
# @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
|
|
504
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
505
|
+
class BatchingSettingsProto
|
|
506
|
+
include ::Google::Protobuf::MessageExts
|
|
507
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# `BatchingDescriptorProto` specifies the fields of the request message to be
|
|
511
|
+
# used for batching, and, optionally, the fields of the response message to be
|
|
512
|
+
# used for demultiplexing.
|
|
513
|
+
# @!attribute [rw] batched_field
|
|
514
|
+
# @return [::String]
|
|
515
|
+
# The repeated field in the request message to be aggregated by batching.
|
|
516
|
+
# @!attribute [rw] discriminator_fields
|
|
517
|
+
# @return [::Array<::String>]
|
|
518
|
+
# A list of the fields in the request message. Two requests will be batched
|
|
519
|
+
# together only if the values of every field specified in
|
|
520
|
+
# `request_discriminator_fields` is equal between the two requests.
|
|
521
|
+
# @!attribute [rw] subresponse_field
|
|
522
|
+
# @return [::String]
|
|
523
|
+
# Optional. When present, indicates the field in the response message to be
|
|
524
|
+
# used to demultiplex the response into multiple response messages, in
|
|
525
|
+
# correspondence with the multiple request messages originally batched
|
|
526
|
+
# together.
|
|
527
|
+
class BatchingDescriptorProto
|
|
528
|
+
include ::Google::Protobuf::MessageExts
|
|
529
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
530
|
+
end
|
|
531
|
+
|
|
431
532
|
# The organization for which the client libraries are being published.
|
|
432
533
|
# Affects the url where generated docs are published, etc.
|
|
433
534
|
module ClientLibraryOrganization
|
|
@@ -469,5 +570,20 @@ module Google
|
|
|
469
570
|
# Publish the library to package managers like nuget.org and npmjs.com.
|
|
470
571
|
PACKAGE_MANAGER = 20
|
|
471
572
|
end
|
|
573
|
+
|
|
574
|
+
# The behavior to take when the flow control limit is exceeded.
|
|
575
|
+
module FlowControlLimitExceededBehaviorProto
|
|
576
|
+
# Default behavior, system-defined.
|
|
577
|
+
UNSET_BEHAVIOR = 0
|
|
578
|
+
|
|
579
|
+
# Stop operation, raise error.
|
|
580
|
+
THROW_EXCEPTION = 1
|
|
581
|
+
|
|
582
|
+
# Pause operation until limit clears.
|
|
583
|
+
BLOCK = 2
|
|
584
|
+
|
|
585
|
+
# Continue operation, disregard limit.
|
|
586
|
+
IGNORE = 3
|
|
587
|
+
end
|
|
472
588
|
end
|
|
473
589
|
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
|
|
@@ -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,13 @@ 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`.
|
|
244
248
|
class StoragePool
|
|
245
249
|
include ::Google::Protobuf::MessageExts
|
|
246
250
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -294,6 +298,19 @@ module Google
|
|
|
294
298
|
include ::Google::Protobuf::MessageExts
|
|
295
299
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
296
300
|
end
|
|
301
|
+
|
|
302
|
+
# `Mode` of the storage pool or volume. This field is used to control whether
|
|
303
|
+
# the resource is managed by the GCNV APIs or the GCNV ONTAP Mode APIs.
|
|
304
|
+
module Mode
|
|
305
|
+
# The `Mode` is not specified.
|
|
306
|
+
MODE_UNSPECIFIED = 0
|
|
307
|
+
|
|
308
|
+
# The resource is managed by the GCNV APIs.
|
|
309
|
+
DEFAULT = 1
|
|
310
|
+
|
|
311
|
+
# The resource is managed by the GCNV ONTAP Mode APIs.
|
|
312
|
+
ONTAP = 2
|
|
313
|
+
end
|
|
297
314
|
end
|
|
298
315
|
end
|
|
299
316
|
end
|
|
@@ -272,10 +272,34 @@ module Google
|
|
|
272
272
|
# @return [::Array<::Google::Cloud::NetApp::V1::BlockDevice>]
|
|
273
273
|
# Optional. Block devices for the volume.
|
|
274
274
|
# Currently, only one block device is permitted per Volume.
|
|
275
|
+
# @!attribute [r] clone_details
|
|
276
|
+
# @return [::Google::Cloud::NetApp::V1::Volume::CloneDetails]
|
|
277
|
+
# Output only. If this volume is a clone, this field contains details about
|
|
278
|
+
# the clone.
|
|
275
279
|
class Volume
|
|
276
280
|
include ::Google::Protobuf::MessageExts
|
|
277
281
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
278
282
|
|
|
283
|
+
# Details about a clone volume.
|
|
284
|
+
# @!attribute [r] source_snapshot
|
|
285
|
+
# @return [::String]
|
|
286
|
+
# Output only. Specifies the full resource name of the source snapshot from
|
|
287
|
+
# which this volume was cloned. Format:
|
|
288
|
+
# projects/\\{project}/locations/\\{location}/volumes/\\{volume}/snapshots/\\{snapshot}
|
|
289
|
+
# @!attribute [r] source_volume
|
|
290
|
+
# @return [::String]
|
|
291
|
+
# Output only. Full name of the source volume resource.
|
|
292
|
+
# Format:
|
|
293
|
+
# projects/\\{project}/locations/\\{location}/volumes/\\{volume}
|
|
294
|
+
# @!attribute [r] shared_space_gib
|
|
295
|
+
# @return [::Integer]
|
|
296
|
+
# Output only. Shared space in GiB. Determined at volume creation time
|
|
297
|
+
# based on size of source snapshot.
|
|
298
|
+
class CloneDetails
|
|
299
|
+
include ::Google::Protobuf::MessageExts
|
|
300
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
301
|
+
end
|
|
302
|
+
|
|
279
303
|
# @!attribute [rw] key
|
|
280
304
|
# @return [::String]
|
|
281
305
|
# @!attribute [rw] value
|
|
@@ -536,8 +560,10 @@ module Google
|
|
|
536
560
|
# @!attribute [rw] source_backup
|
|
537
561
|
# @return [::String]
|
|
538
562
|
# Full name of the backup resource.
|
|
539
|
-
# Format:
|
|
563
|
+
# Format for standard backup:
|
|
540
564
|
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault_id}/backups/\\{backup_id}
|
|
565
|
+
# Format for BackupDR backup:
|
|
566
|
+
# projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault}/dataSources/\\{data_source}/backups/\\{backup}
|
|
541
567
|
#
|
|
542
568
|
# 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
569
|
class RestoreParameters
|
|
@@ -858,6 +884,32 @@ module Google
|
|
|
858
884
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
859
885
|
end
|
|
860
886
|
|
|
887
|
+
# EstablishVolumePeeringRequest establishes cluster and svm peerings between
|
|
888
|
+
# the source and destination clusters.
|
|
889
|
+
# @!attribute [rw] name
|
|
890
|
+
# @return [::String]
|
|
891
|
+
# Required. The volume resource name, in the format
|
|
892
|
+
# `projects/{project_id}/locations/{location}/volumes/{volume_id}`
|
|
893
|
+
# @!attribute [rw] peer_cluster_name
|
|
894
|
+
# @return [::String]
|
|
895
|
+
# Required. Name of the user's local source cluster to be peered with the
|
|
896
|
+
# destination cluster.
|
|
897
|
+
# @!attribute [rw] peer_svm_name
|
|
898
|
+
# @return [::String]
|
|
899
|
+
# Required. Name of the user's local source vserver svm to be peered with the
|
|
900
|
+
# destination vserver svm.
|
|
901
|
+
# @!attribute [rw] peer_ip_addresses
|
|
902
|
+
# @return [::Array<::String>]
|
|
903
|
+
# Optional. List of IPv4 ip addresses to be used for peering.
|
|
904
|
+
# @!attribute [rw] peer_volume_name
|
|
905
|
+
# @return [::String]
|
|
906
|
+
# Required. Name of the user's local source volume to be peered with the
|
|
907
|
+
# destination volume.
|
|
908
|
+
class EstablishVolumePeeringRequest
|
|
909
|
+
include ::Google::Protobuf::MessageExts
|
|
910
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
911
|
+
end
|
|
912
|
+
|
|
861
913
|
# Protocols is an enum of all the supported network protocols for a volume.
|
|
862
914
|
module Protocols
|
|
863
915
|
# Unspecified protocol
|
|
@@ -0,0 +1,108 @@
|
|
|
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 Protobuf
|
|
22
|
+
# `Struct` represents a structured data value, consisting of fields
|
|
23
|
+
# which map to dynamically typed values. In some languages, `Struct`
|
|
24
|
+
# might be supported by a native representation. For example, in
|
|
25
|
+
# scripting languages like JS a struct is represented as an
|
|
26
|
+
# object. The details of that representation are described together
|
|
27
|
+
# with the proto support for the language.
|
|
28
|
+
#
|
|
29
|
+
# The JSON representation for `Struct` is JSON object.
|
|
30
|
+
# @!attribute [rw] fields
|
|
31
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
|
32
|
+
# Unordered map of dynamically typed values.
|
|
33
|
+
class Struct
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
|
|
37
|
+
# @!attribute [rw] key
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# @!attribute [rw] value
|
|
40
|
+
# @return [::Google::Protobuf::Value]
|
|
41
|
+
class FieldsEntry
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# `Value` represents a dynamically typed value which can be either
|
|
48
|
+
# null, a number, a string, a boolean, a recursive struct value, or a
|
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
|
50
|
+
# variants. Absence of any variant indicates an error.
|
|
51
|
+
#
|
|
52
|
+
# The JSON representation for `Value` is JSON value.
|
|
53
|
+
# @!attribute [rw] null_value
|
|
54
|
+
# @return [::Google::Protobuf::NullValue]
|
|
55
|
+
# Represents a null value.
|
|
56
|
+
#
|
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
58
|
+
# @!attribute [rw] number_value
|
|
59
|
+
# @return [::Float]
|
|
60
|
+
# Represents a double value.
|
|
61
|
+
#
|
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
63
|
+
# @!attribute [rw] string_value
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# Represents a string value.
|
|
66
|
+
#
|
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
68
|
+
# @!attribute [rw] bool_value
|
|
69
|
+
# @return [::Boolean]
|
|
70
|
+
# Represents a boolean value.
|
|
71
|
+
#
|
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
73
|
+
# @!attribute [rw] struct_value
|
|
74
|
+
# @return [::Google::Protobuf::Struct]
|
|
75
|
+
# Represents a structured value.
|
|
76
|
+
#
|
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
78
|
+
# @!attribute [rw] list_value
|
|
79
|
+
# @return [::Google::Protobuf::ListValue]
|
|
80
|
+
# Represents a repeated `Value`.
|
|
81
|
+
#
|
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
83
|
+
class Value
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# `ListValue` is a wrapper around a repeated field of values.
|
|
89
|
+
#
|
|
90
|
+
# The JSON representation for `ListValue` is JSON array.
|
|
91
|
+
# @!attribute [rw] values
|
|
92
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
|
93
|
+
# Repeated field of dynamically typed values.
|
|
94
|
+
class ListValue
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# `NullValue` is a singleton enumeration to represent the null value for the
|
|
100
|
+
# `Value` type union.
|
|
101
|
+
#
|
|
102
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
|
103
|
+
module NullValue
|
|
104
|
+
# Null value.
|
|
105
|
+
NULL_VALUE = 0
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-netapp-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -86,6 +86,7 @@ files:
|
|
|
86
86
|
- lib/google/cloud/netapp/v1/netapp/rest/client.rb
|
|
87
87
|
- lib/google/cloud/netapp/v1/netapp/rest/operations.rb
|
|
88
88
|
- lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb
|
|
89
|
+
- lib/google/cloud/netapp/v1/ontap_pb.rb
|
|
89
90
|
- lib/google/cloud/netapp/v1/quota_rule_pb.rb
|
|
90
91
|
- lib/google/cloud/netapp/v1/replication_pb.rb
|
|
91
92
|
- lib/google/cloud/netapp/v1/rest.rb
|
|
@@ -107,6 +108,7 @@ files:
|
|
|
107
108
|
- proto_docs/google/cloud/netapp/v1/common.rb
|
|
108
109
|
- proto_docs/google/cloud/netapp/v1/host_group.rb
|
|
109
110
|
- proto_docs/google/cloud/netapp/v1/kms.rb
|
|
111
|
+
- proto_docs/google/cloud/netapp/v1/ontap.rb
|
|
110
112
|
- proto_docs/google/cloud/netapp/v1/quota_rule.rb
|
|
111
113
|
- proto_docs/google/cloud/netapp/v1/replication.rb
|
|
112
114
|
- proto_docs/google/cloud/netapp/v1/snapshot.rb
|
|
@@ -117,6 +119,7 @@ files:
|
|
|
117
119
|
- proto_docs/google/protobuf/duration.rb
|
|
118
120
|
- proto_docs/google/protobuf/empty.rb
|
|
119
121
|
- proto_docs/google/protobuf/field_mask.rb
|
|
122
|
+
- proto_docs/google/protobuf/struct.rb
|
|
120
123
|
- proto_docs/google/protobuf/timestamp.rb
|
|
121
124
|
- proto_docs/google/rpc/status.rb
|
|
122
125
|
homepage: https://github.com/googleapis/google-cloud-ruby
|