google-cloud-netapp-v1 0.a → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +149 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/netapp/v1/active_directory_pb.rb +56 -0
  6. data/lib/google/cloud/netapp/v1/bindings_override.rb +102 -0
  7. data/lib/google/cloud/netapp/v1/cloud_netapp_service_pb.rb +57 -0
  8. data/lib/google/cloud/netapp/v1/cloud_netapp_service_services_pb.rb +120 -0
  9. data/lib/google/cloud/netapp/v1/common_pb.rb +43 -0
  10. data/lib/google/cloud/netapp/v1/kms_pb.rb +59 -0
  11. data/lib/google/cloud/netapp/v1/netapp/client.rb +4119 -0
  12. data/lib/google/cloud/netapp/v1/netapp/credentials.rb +47 -0
  13. data/lib/google/cloud/netapp/v1/netapp/operations.rb +779 -0
  14. data/lib/google/cloud/netapp/v1/netapp/paths.rb +185 -0
  15. data/lib/google/cloud/netapp/v1/netapp/rest/client.rb +3840 -0
  16. data/lib/google/cloud/netapp/v1/netapp/rest/operations.rb +870 -0
  17. data/lib/google/cloud/netapp/v1/netapp/rest/service_stub.rb +2190 -0
  18. data/lib/google/cloud/netapp/v1/netapp/rest.rb +54 -0
  19. data/lib/google/cloud/netapp/v1/netapp.rb +56 -0
  20. data/lib/google/cloud/netapp/v1/replication_pb.rb +66 -0
  21. data/lib/google/cloud/netapp/v1/rest.rb +38 -0
  22. data/lib/google/cloud/netapp/v1/snapshot_pb.rb +56 -0
  23. data/lib/google/cloud/netapp/v1/storage_pool_pb.rb +57 -0
  24. data/lib/google/cloud/netapp/v1/version.rb +8 -3
  25. data/lib/google/cloud/netapp/v1/volume_pb.rb +72 -0
  26. data/lib/google/cloud/netapp/v1.rb +45 -0
  27. data/lib/google-cloud-netapp-v1.rb +21 -0
  28. data/proto_docs/README.md +4 -0
  29. data/proto_docs/google/api/client.rb +381 -0
  30. data/proto_docs/google/api/field_behavior.rb +85 -0
  31. data/proto_docs/google/api/launch_stage.rb +71 -0
  32. data/proto_docs/google/api/resource.rb +222 -0
  33. data/proto_docs/google/cloud/netapp/v1/active_directory.rb +222 -0
  34. data/proto_docs/google/cloud/netapp/v1/cloud_netapp_service.rb +57 -0
  35. data/proto_docs/google/cloud/netapp/v1/common.rb +50 -0
  36. data/proto_docs/google/cloud/netapp/v1/kms.rb +236 -0
  37. data/proto_docs/google/cloud/netapp/v1/replication.rb +349 -0
  38. data/proto_docs/google/cloud/netapp/v1/snapshot.rb +180 -0
  39. data/proto_docs/google/cloud/netapp/v1/storage_pool.rb +211 -0
  40. data/proto_docs/google/cloud/netapp/v1/volume.rb +542 -0
  41. data/proto_docs/google/longrunning/operations.rb +164 -0
  42. data/proto_docs/google/protobuf/any.rb +144 -0
  43. data/proto_docs/google/protobuf/duration.rb +98 -0
  44. data/proto_docs/google/protobuf/empty.rb +34 -0
  45. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  46. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  47. data/proto_docs/google/rpc/status.rb +48 -0
  48. metadata +225 -13
@@ -0,0 +1,542 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ # Message for requesting list of Volumes
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. Parent value for ListVolumesRequest
28
+ # @!attribute [rw] page_size
29
+ # @return [::Integer]
30
+ # Requested page size. Server may return fewer items than requested.
31
+ # If unspecified, the server will pick an appropriate default.
32
+ # @!attribute [rw] page_token
33
+ # @return [::String]
34
+ # A token identifying a page of results the server should return.
35
+ # @!attribute [rw] filter
36
+ # @return [::String]
37
+ # Filtering results
38
+ # @!attribute [rw] order_by
39
+ # @return [::String]
40
+ # Hint for how to order the results
41
+ class ListVolumesRequest
42
+ include ::Google::Protobuf::MessageExts
43
+ extend ::Google::Protobuf::MessageExts::ClassMethods
44
+ end
45
+
46
+ # Message for response to listing Volumes
47
+ # @!attribute [rw] volumes
48
+ # @return [::Array<::Google::Cloud::NetApp::V1::Volume>]
49
+ # The list of Volume
50
+ # @!attribute [rw] next_page_token
51
+ # @return [::String]
52
+ # A token identifying a page of results the server should return.
53
+ # @!attribute [rw] unreachable
54
+ # @return [::Array<::String>]
55
+ # Locations that could not be reached.
56
+ class ListVolumesResponse
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+ end
60
+
61
+ # Message for getting a Volume
62
+ # @!attribute [rw] name
63
+ # @return [::String]
64
+ # Required. Name of the volume
65
+ class GetVolumeRequest
66
+ include ::Google::Protobuf::MessageExts
67
+ extend ::Google::Protobuf::MessageExts::ClassMethods
68
+ end
69
+
70
+ # Message for creating a Volume
71
+ # @!attribute [rw] parent
72
+ # @return [::String]
73
+ # Required. Value for parent.
74
+ # @!attribute [rw] volume_id
75
+ # @return [::String]
76
+ # Required. Id of the requesting volume
77
+ # If auto-generating Id server-side, remove this field and
78
+ # Id from the method_signature of Create RPC
79
+ # @!attribute [rw] volume
80
+ # @return [::Google::Cloud::NetApp::V1::Volume]
81
+ # Required. The volume being created.
82
+ class CreateVolumeRequest
83
+ include ::Google::Protobuf::MessageExts
84
+ extend ::Google::Protobuf::MessageExts::ClassMethods
85
+ end
86
+
87
+ # Message for updating a Volume
88
+ # @!attribute [rw] update_mask
89
+ # @return [::Google::Protobuf::FieldMask]
90
+ # Required. Field mask is used to specify the fields to be overwritten in the
91
+ # Volume resource by the update.
92
+ # The fields specified in the update_mask are relative to the resource, not
93
+ # the full request. A field will be overwritten if it is in the mask. If the
94
+ # user does not provide a mask then all fields will be overwritten.
95
+ # @!attribute [rw] volume
96
+ # @return [::Google::Cloud::NetApp::V1::Volume]
97
+ # Required. The volume being updated
98
+ class UpdateVolumeRequest
99
+ include ::Google::Protobuf::MessageExts
100
+ extend ::Google::Protobuf::MessageExts::ClassMethods
101
+ end
102
+
103
+ # Message for deleting a Volume
104
+ # @!attribute [rw] name
105
+ # @return [::String]
106
+ # Required. Name of the volume
107
+ # @!attribute [rw] force
108
+ # @return [::Boolean]
109
+ # If this field is set as true, CCFE will not block the volume resource
110
+ # deletion even if it has any snapshots resource. (Otherwise, the request
111
+ # will only work if the volume has no snapshots.)
112
+ class DeleteVolumeRequest
113
+ include ::Google::Protobuf::MessageExts
114
+ extend ::Google::Protobuf::MessageExts::ClassMethods
115
+ end
116
+
117
+ # RevertVolumeRequest reverts the given volume to the specified snapshot.
118
+ # @!attribute [rw] name
119
+ # @return [::String]
120
+ # Required. The resource name of the volume, in the format of
121
+ # projects/\\{project_id}/locations/\\{location}/volumes/\\{volume_id}.
122
+ # @!attribute [rw] snapshot_id
123
+ # @return [::String]
124
+ # Required. The snapshot resource ID, in the format 'my-snapshot', where the
125
+ # specified ID is the \\{snapshot_id} of the fully qualified name like
126
+ # projects/\\{project_id}/locations/\\{location_id}/volumes/\\{volume_id}/snapshots/\\{snapshot_id}
127
+ class RevertVolumeRequest
128
+ include ::Google::Protobuf::MessageExts
129
+ extend ::Google::Protobuf::MessageExts::ClassMethods
130
+ end
131
+
132
+ # Volume provides a filesystem that you can mount.
133
+ # @!attribute [r] name
134
+ # @return [::String]
135
+ # Output only. Name of the volume
136
+ # @!attribute [r] state
137
+ # @return [::Google::Cloud::NetApp::V1::Volume::State]
138
+ # Output only. State of the volume
139
+ # @!attribute [r] state_details
140
+ # @return [::String]
141
+ # Output only. State details of the volume
142
+ # @!attribute [r] create_time
143
+ # @return [::Google::Protobuf::Timestamp]
144
+ # Output only. Create time of the volume
145
+ # @!attribute [rw] share_name
146
+ # @return [::String]
147
+ # Required. Share name of the volume
148
+ # @!attribute [r] psa_range
149
+ # @return [::String]
150
+ # Output only. Name of the Private Service Access allocated range. This is
151
+ # optional. If not provided, any available range will be chosen.
152
+ # @!attribute [rw] storage_pool
153
+ # @return [::String]
154
+ # Required. StoragePool name of the volume
155
+ # @!attribute [r] network
156
+ # @return [::String]
157
+ # Output only. VPC Network name.
158
+ # Format: projects/\\{project}/global/networks/\\{network}
159
+ # @!attribute [r] service_level
160
+ # @return [::Google::Cloud::NetApp::V1::ServiceLevel]
161
+ # Output only. Service level of the volume
162
+ # @!attribute [rw] capacity_gib
163
+ # @return [::Integer]
164
+ # Required. Capacity in GIB of the volume
165
+ # @!attribute [rw] export_policy
166
+ # @return [::Google::Cloud::NetApp::V1::ExportPolicy]
167
+ # Optional. Export policy of the volume
168
+ # @!attribute [rw] protocols
169
+ # @return [::Array<::Google::Cloud::NetApp::V1::Protocols>]
170
+ # Required. Protocols required for the volume
171
+ # @!attribute [rw] smb_settings
172
+ # @return [::Array<::Google::Cloud::NetApp::V1::SMBSettings>]
173
+ # Optional. SMB share settings for the volume.
174
+ # @!attribute [r] mount_options
175
+ # @return [::Array<::Google::Cloud::NetApp::V1::MountOption>]
176
+ # Output only. Mount options of this volume
177
+ # @!attribute [rw] unix_permissions
178
+ # @return [::String]
179
+ # Optional. Default unix style permission (e.g. 777) the mount point will be
180
+ # created with. Applicable for NFS protocol types only.
181
+ # @!attribute [rw] labels
182
+ # @return [::Google::Protobuf::Map{::String => ::String}]
183
+ # Optional. Labels as key value pairs
184
+ # @!attribute [rw] description
185
+ # @return [::String]
186
+ # Optional. Description of the volume
187
+ # @!attribute [rw] snapshot_policy
188
+ # @return [::Google::Cloud::NetApp::V1::SnapshotPolicy]
189
+ # Optional. SnapshotPolicy for a volume.
190
+ # @!attribute [rw] snap_reserve
191
+ # @return [::Float]
192
+ # Optional. Snap_reserve specifies percentage of volume storage reserved for
193
+ # snapshot storage. Default is 0 percent.
194
+ # @!attribute [rw] snapshot_directory
195
+ # @return [::Boolean]
196
+ # Optional. Snapshot_directory if enabled (true) the volume will contain a
197
+ # read-only .snapshot directory which provides access to each of the volume's
198
+ # snapshots.
199
+ # @!attribute [r] used_gib
200
+ # @return [::Integer]
201
+ # Output only. Used capacity in GIB of the volume. This is computed
202
+ # periodically and it does not represent the realtime usage.
203
+ # @!attribute [rw] security_style
204
+ # @return [::Google::Cloud::NetApp::V1::SecurityStyle]
205
+ # Optional. Security Style of the Volume
206
+ # @!attribute [rw] kerberos_enabled
207
+ # @return [::Boolean]
208
+ # Optional. Flag indicating if the volume is a kerberos volume or not, export
209
+ # policy rules control kerberos security modes (krb5, krb5i, krb5p).
210
+ # @!attribute [r] ldap_enabled
211
+ # @return [::Boolean]
212
+ # Output only. Flag indicating if the volume is NFS LDAP enabled or not.
213
+ # @!attribute [r] active_directory
214
+ # @return [::String]
215
+ # Output only. Specifies the ActiveDirectory name of a SMB volume.
216
+ # @!attribute [rw] restore_parameters
217
+ # @return [::Google::Cloud::NetApp::V1::RestoreParameters]
218
+ # Optional. Specifies the source of the volume to be created from.
219
+ # @!attribute [r] kms_config
220
+ # @return [::String]
221
+ # Output only. Specifies the KMS config to be used for volume encryption.
222
+ # @!attribute [r] encryption_type
223
+ # @return [::Google::Cloud::NetApp::V1::EncryptionType]
224
+ # Output only. Specified the current volume encryption key source.
225
+ # @!attribute [r] has_replication
226
+ # @return [::Boolean]
227
+ # Output only. Indicates whether the volume is part of a replication
228
+ # relationship.
229
+ # @!attribute [rw] restricted_actions
230
+ # @return [::Array<::Google::Cloud::NetApp::V1::RestrictedAction>]
231
+ # Optional. List of actions that are restricted on this volume.
232
+ class Volume
233
+ include ::Google::Protobuf::MessageExts
234
+ extend ::Google::Protobuf::MessageExts::ClassMethods
235
+
236
+ # @!attribute [rw] key
237
+ # @return [::String]
238
+ # @!attribute [rw] value
239
+ # @return [::String]
240
+ class LabelsEntry
241
+ include ::Google::Protobuf::MessageExts
242
+ extend ::Google::Protobuf::MessageExts::ClassMethods
243
+ end
244
+
245
+ # The volume states
246
+ module State
247
+ # Unspecified Volume State
248
+ STATE_UNSPECIFIED = 0
249
+
250
+ # Volume State is Ready
251
+ READY = 1
252
+
253
+ # Volume State is Creating
254
+ CREATING = 2
255
+
256
+ # Volume State is Deleting
257
+ DELETING = 3
258
+
259
+ # Volume State is Updating
260
+ UPDATING = 4
261
+
262
+ # Volume State is Restoring
263
+ RESTORING = 5
264
+
265
+ # Volume State is Disabled
266
+ DISABLED = 6
267
+
268
+ # Volume State is Error
269
+ ERROR = 7
270
+ end
271
+ end
272
+
273
+ # Defines the export policy for the volume.
274
+ # @!attribute [rw] rules
275
+ # @return [::Array<::Google::Cloud::NetApp::V1::SimpleExportPolicyRule>]
276
+ # Required. List of export policy rules
277
+ class ExportPolicy
278
+ include ::Google::Protobuf::MessageExts
279
+ extend ::Google::Protobuf::MessageExts::ClassMethods
280
+ end
281
+
282
+ # An export policy rule describing various export options.
283
+ # @!attribute [rw] allowed_clients
284
+ # @return [::String]
285
+ # Comma separated list of allowed clients IP addresses
286
+ # @!attribute [rw] has_root_access
287
+ # @return [::String]
288
+ # Whether Unix root access will be granted.
289
+ # @!attribute [rw] access_type
290
+ # @return [::Google::Cloud::NetApp::V1::AccessType]
291
+ # Access type (ReadWrite, ReadOnly, None)
292
+ # @!attribute [rw] nfsv3
293
+ # @return [::Boolean]
294
+ # NFS V3 protocol.
295
+ # @!attribute [rw] nfsv4
296
+ # @return [::Boolean]
297
+ # NFS V4 protocol.
298
+ # @!attribute [rw] kerberos_5_read_only
299
+ # @return [::Boolean]
300
+ # If enabled (true) the rule defines a read only access for clients matching
301
+ # the 'allowedClients' specification. It enables nfs clients to mount using
302
+ # 'authentication' kerberos security mode.
303
+ # @!attribute [rw] kerberos_5_read_write
304
+ # @return [::Boolean]
305
+ # If enabled (true) the rule defines read and write access for clients
306
+ # matching the 'allowedClients' specification. It enables nfs clients to
307
+ # mount using 'authentication' kerberos security mode. The
308
+ # 'kerberos5ReadOnly' value be ignored if this is enabled.
309
+ # @!attribute [rw] kerberos_5i_read_only
310
+ # @return [::Boolean]
311
+ # If enabled (true) the rule defines a read only access for clients matching
312
+ # the 'allowedClients' specification. It enables nfs clients to mount using
313
+ # 'integrity' kerberos security mode.
314
+ # @!attribute [rw] kerberos_5i_read_write
315
+ # @return [::Boolean]
316
+ # If enabled (true) the rule defines read and write access for clients
317
+ # matching the 'allowedClients' specification. It enables nfs clients to
318
+ # mount using 'integrity' kerberos security mode. The 'kerberos5iReadOnly'
319
+ # value be ignored if this is enabled.
320
+ # @!attribute [rw] kerberos_5p_read_only
321
+ # @return [::Boolean]
322
+ # If enabled (true) the rule defines a read only access for clients matching
323
+ # the 'allowedClients' specification. It enables nfs clients to mount using
324
+ # 'privacy' kerberos security mode.
325
+ # @!attribute [rw] kerberos_5p_read_write
326
+ # @return [::Boolean]
327
+ # If enabled (true) the rule defines read and write access for clients
328
+ # matching the 'allowedClients' specification. It enables nfs clients to
329
+ # mount using 'privacy' kerberos security mode. The 'kerberos5pReadOnly'
330
+ # value be ignored if this is enabled.
331
+ class SimpleExportPolicyRule
332
+ include ::Google::Protobuf::MessageExts
333
+ extend ::Google::Protobuf::MessageExts::ClassMethods
334
+ end
335
+
336
+ # Snapshot Policy for a volume.
337
+ # @!attribute [rw] enabled
338
+ # @return [::Boolean]
339
+ # If enabled, make snapshots automatically according to the schedules.
340
+ # Default is false.
341
+ # @!attribute [rw] hourly_schedule
342
+ # @return [::Google::Cloud::NetApp::V1::HourlySchedule]
343
+ # Hourly schedule policy.
344
+ # @!attribute [rw] daily_schedule
345
+ # @return [::Google::Cloud::NetApp::V1::DailySchedule]
346
+ # Daily schedule policy.
347
+ # @!attribute [rw] weekly_schedule
348
+ # @return [::Google::Cloud::NetApp::V1::WeeklySchedule]
349
+ # Weekly schedule policy.
350
+ # @!attribute [rw] monthly_schedule
351
+ # @return [::Google::Cloud::NetApp::V1::MonthlySchedule]
352
+ # Monthly schedule policy.
353
+ class SnapshotPolicy
354
+ include ::Google::Protobuf::MessageExts
355
+ extend ::Google::Protobuf::MessageExts::ClassMethods
356
+ end
357
+
358
+ # Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.
359
+ # @!attribute [rw] snapshots_to_keep
360
+ # @return [::Float]
361
+ # The maximum number of Snapshots to keep for the hourly schedule
362
+ # @!attribute [rw] minute
363
+ # @return [::Float]
364
+ # Set the minute of the hour to start the snapshot (0-59), defaults to the
365
+ # top of the hour (0).
366
+ class HourlySchedule
367
+ include ::Google::Protobuf::MessageExts
368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
369
+ end
370
+
371
+ # Make a snapshot every day e.g. at 04:00, 05:20, 23:50
372
+ # @!attribute [rw] snapshots_to_keep
373
+ # @return [::Float]
374
+ # The maximum number of Snapshots to keep for the hourly schedule
375
+ # @!attribute [rw] minute
376
+ # @return [::Float]
377
+ # Set the minute of the hour to start the snapshot (0-59), defaults to the
378
+ # top of the hour (0).
379
+ # @!attribute [rw] hour
380
+ # @return [::Float]
381
+ # Set the hour to start the snapshot (0-23), defaults to midnight (0).
382
+ class DailySchedule
383
+ include ::Google::Protobuf::MessageExts
384
+ extend ::Google::Protobuf::MessageExts::ClassMethods
385
+ end
386
+
387
+ # Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday
388
+ # 23:50
389
+ # @!attribute [rw] snapshots_to_keep
390
+ # @return [::Float]
391
+ # The maximum number of Snapshots to keep for the hourly schedule
392
+ # @!attribute [rw] minute
393
+ # @return [::Float]
394
+ # Set the minute of the hour to start the snapshot (0-59), defaults to the
395
+ # top of the hour (0).
396
+ # @!attribute [rw] hour
397
+ # @return [::Float]
398
+ # Set the hour to start the snapshot (0-23), defaults to midnight (0).
399
+ # @!attribute [rw] day
400
+ # @return [::String]
401
+ # Set the day or days of the week to make a snapshot. Accepts a comma
402
+ # separated days of the week. Defaults to 'Sunday'.
403
+ class WeeklySchedule
404
+ include ::Google::Protobuf::MessageExts
405
+ extend ::Google::Protobuf::MessageExts::ClassMethods
406
+ end
407
+
408
+ # Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50
409
+ # @!attribute [rw] snapshots_to_keep
410
+ # @return [::Float]
411
+ # The maximum number of Snapshots to keep for the hourly schedule
412
+ # @!attribute [rw] minute
413
+ # @return [::Float]
414
+ # Set the minute of the hour to start the snapshot (0-59), defaults to the
415
+ # top of the hour (0).
416
+ # @!attribute [rw] hour
417
+ # @return [::Float]
418
+ # Set the hour to start the snapshot (0-23), defaults to midnight (0).
419
+ # @!attribute [rw] days_of_month
420
+ # @return [::String]
421
+ # Set the day or days of the month to make a snapshot (1-31). Accepts a
422
+ # comma separated number of days. Defaults to '1'.
423
+ class MonthlySchedule
424
+ include ::Google::Protobuf::MessageExts
425
+ extend ::Google::Protobuf::MessageExts::ClassMethods
426
+ end
427
+
428
+ # View only mount options for a volume.
429
+ # @!attribute [rw] export
430
+ # @return [::String]
431
+ # Export string
432
+ # @!attribute [rw] export_full
433
+ # @return [::String]
434
+ # Full export string
435
+ # @!attribute [rw] protocol
436
+ # @return [::Google::Cloud::NetApp::V1::Protocols]
437
+ # Protocol to mount with.
438
+ # @!attribute [rw] instructions
439
+ # @return [::String]
440
+ # Instructions for mounting
441
+ class MountOption
442
+ include ::Google::Protobuf::MessageExts
443
+ extend ::Google::Protobuf::MessageExts::ClassMethods
444
+ end
445
+
446
+ # The RestoreParameters if volume is created from a snapshot or backup.
447
+ # @!attribute [rw] source_snapshot
448
+ # @return [::String]
449
+ # Full name of the snapshot resource.
450
+ # Format:
451
+ # projects/\\{project}/locations/\\{location}/volumes/\\{volume}/snapshots/\\{snapshot}
452
+ class RestoreParameters
453
+ include ::Google::Protobuf::MessageExts
454
+ extend ::Google::Protobuf::MessageExts::ClassMethods
455
+ end
456
+
457
+ module Protocols
458
+ # Unspecified protocol
459
+ PROTOCOLS_UNSPECIFIED = 0
460
+
461
+ # NFS V3 protocol
462
+ NFSV3 = 1
463
+
464
+ # NFS V4 protocol
465
+ NFSV4 = 2
466
+
467
+ # SMB protocol
468
+ SMB = 3
469
+ end
470
+
471
+ module AccessType
472
+ # Unspecified Access Type
473
+ ACCESS_TYPE_UNSPECIFIED = 0
474
+
475
+ # Read Only
476
+ READ_ONLY = 1
477
+
478
+ # Read Write
479
+ READ_WRITE = 2
480
+
481
+ # None
482
+ READ_NONE = 3
483
+ end
484
+
485
+ # SMBSettings
486
+ # Modifies the behaviour of a SMB volume.
487
+ module SMBSettings
488
+ # Unspecified default option
489
+ SMB_SETTINGS_UNSPECIFIED = 0
490
+
491
+ # SMB setting encrypt data
492
+ ENCRYPT_DATA = 1
493
+
494
+ # SMB setting browsable
495
+ BROWSABLE = 2
496
+
497
+ # SMB setting notify change
498
+ CHANGE_NOTIFY = 3
499
+
500
+ # SMB setting not to notify change
501
+ NON_BROWSABLE = 4
502
+
503
+ # SMB setting oplocks
504
+ OPLOCKS = 5
505
+
506
+ # SMB setting to show snapshots
507
+ SHOW_SNAPSHOT = 6
508
+
509
+ # SMB setting to show previous versions
510
+ SHOW_PREVIOUS_VERSIONS = 7
511
+
512
+ # SMB setting to access volume based on enumerartion
513
+ ACCESS_BASED_ENUMERATION = 8
514
+
515
+ # Continuously available enumeration
516
+ CONTINUOUSLY_AVAILABLE = 9
517
+ end
518
+
519
+ # The security style of the volume, can be either UNIX or NTFS.
520
+ module SecurityStyle
521
+ # SecurityStyle is unspecified
522
+ SECURITY_STYLE_UNSPECIFIED = 0
523
+
524
+ # SecurityStyle uses NTFS
525
+ NTFS = 1
526
+
527
+ # SecurityStyle uses NTFS
528
+ UNIX = 2
529
+ end
530
+
531
+ # Actions to be restricted for a volume.
532
+ module RestrictedAction
533
+ # Unspecified restricted action
534
+ RESTRICTED_ACTION_UNSPECIFIED = 0
535
+
536
+ # Prevent volume from being deleted when mounted.
537
+ DELETE = 1
538
+ end
539
+ end
540
+ end
541
+ end
542
+ end