google-cloud-parallelstore-v1 0.1.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.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +144 -0
  6. data/lib/google/cloud/parallelstore/v1/bindings_override.rb +102 -0
  7. data/lib/google/cloud/parallelstore/v1/parallelstore/client.rb +1203 -0
  8. data/lib/google/cloud/parallelstore/v1/parallelstore/credentials.rb +47 -0
  9. data/lib/google/cloud/parallelstore/v1/parallelstore/operations.rb +809 -0
  10. data/lib/google/cloud/parallelstore/v1/parallelstore/paths.rb +122 -0
  11. data/lib/google/cloud/parallelstore/v1/parallelstore/rest/client.rb +1135 -0
  12. data/lib/google/cloud/parallelstore/v1/parallelstore/rest/operations.rb +902 -0
  13. data/lib/google/cloud/parallelstore/v1/parallelstore/rest/service_stub.rb +486 -0
  14. data/lib/google/cloud/parallelstore/v1/parallelstore/rest.rb +68 -0
  15. data/lib/google/cloud/parallelstore/v1/parallelstore.rb +70 -0
  16. data/lib/google/cloud/parallelstore/v1/parallelstore_pb.rb +77 -0
  17. data/lib/google/cloud/parallelstore/v1/parallelstore_services_pb.rb +71 -0
  18. data/lib/google/cloud/parallelstore/v1/rest.rb +38 -0
  19. data/lib/google/cloud/parallelstore/v1/version.rb +28 -0
  20. data/lib/google/cloud/parallelstore/v1.rb +45 -0
  21. data/lib/google-cloud-parallelstore-v1.rb +21 -0
  22. data/proto_docs/README.md +4 -0
  23. data/proto_docs/google/api/client.rb +434 -0
  24. data/proto_docs/google/api/field_behavior.rb +85 -0
  25. data/proto_docs/google/api/field_info.rb +88 -0
  26. data/proto_docs/google/api/launch_stage.rb +71 -0
  27. data/proto_docs/google/api/resource.rb +227 -0
  28. data/proto_docs/google/cloud/parallelstore/v1/parallelstore.rb +608 -0
  29. data/proto_docs/google/longrunning/operations.rb +164 -0
  30. data/proto_docs/google/protobuf/any.rb +145 -0
  31. data/proto_docs/google/protobuf/duration.rb +98 -0
  32. data/proto_docs/google/protobuf/empty.rb +34 -0
  33. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  34. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  35. data/proto_docs/google/rpc/status.rb +48 -0
  36. metadata +133 -0
@@ -0,0 +1,608 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 Parallelstore
23
+ module V1
24
+ # A Parallelstore instance.
25
+ # @!attribute [rw] name
26
+ # @return [::String]
27
+ # Identifier. The resource name of the instance, in the format
28
+ # `projects/{project}/locations/{location}/instances/{instance_id}`.
29
+ # @!attribute [rw] description
30
+ # @return [::String]
31
+ # Optional. The description of the instance. 2048 characters or less.
32
+ # @!attribute [r] state
33
+ # @return [::Google::Cloud::Parallelstore::V1::Instance::State]
34
+ # Output only. The instance state.
35
+ # @!attribute [r] create_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The time when the instance was created.
38
+ # @!attribute [r] update_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Output only. The time when the instance was updated.
41
+ # @!attribute [rw] labels
42
+ # @return [::Google::Protobuf::Map{::String => ::String}]
43
+ # Optional. Cloud Labels are a flexible and lightweight mechanism for
44
+ # organizing cloud resources into groups that reflect a customer's
45
+ # organizational needs and deployment strategies. See
46
+ # https://cloud.google.com/resource-manager/docs/labels-overview for details.
47
+ # @!attribute [rw] capacity_gib
48
+ # @return [::Integer]
49
+ # Required. Immutable. The instance's storage capacity in Gibibytes (GiB).
50
+ # Allowed values are between 12000 and 100000, in multiples of 4000; e.g.,
51
+ # 12000, 16000, 20000, ...
52
+ # @!attribute [r] daos_version
53
+ # @return [::String]
54
+ # Output only. The version of DAOS software running in the instance.
55
+ # @!attribute [r] access_points
56
+ # @return [::Array<::String>]
57
+ # Output only. A list of IPv4 addresses used for client side configuration.
58
+ # @!attribute [rw] network
59
+ # @return [::String]
60
+ # Optional. Immutable. The name of the Compute Engine
61
+ # [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
62
+ # instance is connected.
63
+ # @!attribute [rw] reserved_ip_range
64
+ # @return [::String]
65
+ # Optional. Immutable. The ID of the IP address range being used by the
66
+ # instance's VPC network. See [Configure a VPC
67
+ # network](https://cloud.google.com/parallelstore/docs/vpc#create_and_configure_the_vpc).
68
+ # If no ID is provided, all ranges are considered.
69
+ # @!attribute [r] effective_reserved_ip_range
70
+ # @return [::String]
71
+ # Output only. Immutable. The ID of the IP address range being used by the
72
+ # instance's VPC network. This field is populated by the service and contains
73
+ # the value currently used by the service.
74
+ # @!attribute [rw] file_stripe_level
75
+ # @return [::Google::Cloud::Parallelstore::V1::FileStripeLevel]
76
+ # Optional. Stripe level for files. Allowed values are:
77
+ #
78
+ # * `FILE_STRIPE_LEVEL_MIN`: offers the best performance for small size
79
+ # files.
80
+ # * `FILE_STRIPE_LEVEL_BALANCED`: balances performance for workloads
81
+ # involving a mix of small and large files.
82
+ # * `FILE_STRIPE_LEVEL_MAX`: higher throughput performance for larger files.
83
+ # @!attribute [rw] directory_stripe_level
84
+ # @return [::Google::Cloud::Parallelstore::V1::DirectoryStripeLevel]
85
+ # Optional. Stripe level for directories. Allowed values are:
86
+ #
87
+ # * `DIRECTORY_STRIPE_LEVEL_MIN`: recommended when directories contain a
88
+ # small number of files.
89
+ # * `DIRECTORY_STRIPE_LEVEL_BALANCED`: balances performance for workloads
90
+ # involving a mix of small and large directories.
91
+ # * `DIRECTORY_STRIPE_LEVEL_MAX`: recommended for directories with a large
92
+ # number of files.
93
+ class Instance
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+
97
+ # @!attribute [rw] key
98
+ # @return [::String]
99
+ # @!attribute [rw] value
100
+ # @return [::String]
101
+ class LabelsEntry
102
+ include ::Google::Protobuf::MessageExts
103
+ extend ::Google::Protobuf::MessageExts::ClassMethods
104
+ end
105
+
106
+ # The possible states of a Parallelstore instance.
107
+ module State
108
+ # Not set.
109
+ STATE_UNSPECIFIED = 0
110
+
111
+ # The instance is being created.
112
+ CREATING = 1
113
+
114
+ # The instance is available for use.
115
+ ACTIVE = 2
116
+
117
+ # The instance is being deleted.
118
+ DELETING = 3
119
+
120
+ # The instance is not usable.
121
+ FAILED = 4
122
+
123
+ # The instance is being upgraded.
124
+ UPGRADING = 5
125
+ end
126
+ end
127
+
128
+ # List instances request.
129
+ # @!attribute [rw] parent
130
+ # @return [::String]
131
+ # Required. The project and location for which to retrieve instance
132
+ # information, in the format `projects/{project_id}/locations/{location}`.
133
+ #
134
+ # To retrieve instance information for all locations, use "-" as the value of
135
+ # `{location}`.
136
+ # @!attribute [rw] page_size
137
+ # @return [::Integer]
138
+ # Optional. Requested page size. Server may return fewer items than
139
+ # requested. If unspecified, the server will pick an appropriate default.
140
+ # @!attribute [rw] page_token
141
+ # @return [::String]
142
+ # Optional. A token identifying a page of results the server should return.
143
+ # @!attribute [rw] filter
144
+ # @return [::String]
145
+ # Optional. Filtering results.
146
+ # @!attribute [rw] order_by
147
+ # @return [::String]
148
+ # Optional. Hint for how to order the results.
149
+ class ListInstancesRequest
150
+ include ::Google::Protobuf::MessageExts
151
+ extend ::Google::Protobuf::MessageExts::ClassMethods
152
+ end
153
+
154
+ # Response from
155
+ # {::Google::Cloud::Parallelstore::V1::Parallelstore::Client#list_instances ListInstances}.
156
+ # @!attribute [rw] instances
157
+ # @return [::Array<::Google::Cloud::Parallelstore::V1::Instance>]
158
+ # The list of Parallelstore instances.
159
+ # @!attribute [rw] next_page_token
160
+ # @return [::String]
161
+ # A token identifying a page of results the server should return.
162
+ # @!attribute [rw] unreachable
163
+ # @return [::Array<::String>]
164
+ # Locations that could not be reached.
165
+ class ListInstancesResponse
166
+ include ::Google::Protobuf::MessageExts
167
+ extend ::Google::Protobuf::MessageExts::ClassMethods
168
+ end
169
+
170
+ # Get an instance's details.
171
+ # @!attribute [rw] name
172
+ # @return [::String]
173
+ # Required. The instance resource name, in the format
174
+ # `projects/{project_id}/locations/{location}/instances/{instance_id}`.
175
+ class GetInstanceRequest
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
180
+ # Create a new Parallelstore instance.
181
+ # @!attribute [rw] parent
182
+ # @return [::String]
183
+ # Required. The instance's project and location, in the format
184
+ # `projects/{project}/locations/{location}`.
185
+ # Locations map to Google Cloud zones; for example, `us-west1-b`.
186
+ # @!attribute [rw] instance_id
187
+ # @return [::String]
188
+ # Required. The name of the Parallelstore instance.
189
+ #
190
+ # * Must contain only lowercase letters, numbers, and hyphens.
191
+ # * Must start with a letter.
192
+ # * Must be between 1-63 characters.
193
+ # * Must end with a number or a letter.
194
+ # * Must be unique within the customer project / location
195
+ # @!attribute [rw] instance
196
+ # @return [::Google::Cloud::Parallelstore::V1::Instance]
197
+ # Required. The instance to create.
198
+ # @!attribute [rw] request_id
199
+ # @return [::String]
200
+ # Optional. An optional request ID to identify requests. Specify a unique
201
+ # request ID so that if you must retry your request, the server will know to
202
+ # ignore the request if it has already been completed. The server will
203
+ # guarantee that for at least 60 minutes since the first request.
204
+ #
205
+ # For example, consider a situation where you make an initial request and t
206
+ # he request times out. If you make the request again with the same request
207
+ # ID, the server can check if original operation with the same request ID
208
+ # was received, and if so, will ignore the second request. This prevents
209
+ # clients from accidentally creating duplicate commitments.
210
+ #
211
+ # The request ID must be a valid UUID with the exception that zero UUID is
212
+ # not supported (00000000-0000-0000-0000-000000000000).
213
+ class CreateInstanceRequest
214
+ include ::Google::Protobuf::MessageExts
215
+ extend ::Google::Protobuf::MessageExts::ClassMethods
216
+ end
217
+
218
+ # Update an instance.
219
+ # @!attribute [rw] update_mask
220
+ # @return [::Google::Protobuf::FieldMask]
221
+ # Required. Mask of fields to update. Field mask is used to specify the
222
+ # fields to be overwritten in the Instance resource by the update. At least
223
+ # one path must be supplied in this field. The fields specified in the
224
+ # update_mask are relative to the resource, not the full request.
225
+ # @!attribute [rw] instance
226
+ # @return [::Google::Cloud::Parallelstore::V1::Instance]
227
+ # Required. The instance to update.
228
+ # @!attribute [rw] request_id
229
+ # @return [::String]
230
+ # Optional. An optional request ID to identify requests. Specify a unique
231
+ # request ID so that if you must retry your request, the server will know to
232
+ # ignore the request if it has already been completed. The server will
233
+ # guarantee that for at least 60 minutes since the first request.
234
+ #
235
+ # For example, consider a situation where you make an initial request and t
236
+ # he request times out. If you make the request again with the same request
237
+ # ID, the server can check if original operation with the same request ID
238
+ # was received, and if so, will ignore the second request. This prevents
239
+ # clients from accidentally creating duplicate commitments.
240
+ #
241
+ # The request ID must be a valid UUID with the exception that zero UUID is
242
+ # not supported (00000000-0000-0000-0000-000000000000).
243
+ class UpdateInstanceRequest
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+ end
247
+
248
+ # Delete an instance.
249
+ # @!attribute [rw] name
250
+ # @return [::String]
251
+ # Required. Name of the resource
252
+ # @!attribute [rw] request_id
253
+ # @return [::String]
254
+ # Optional. An optional request ID to identify requests. Specify a unique
255
+ # request ID so that if you must retry your request, the server will know to
256
+ # ignore the request if it has already been completed. The server will
257
+ # guarantee that for at least 60 minutes after the first request.
258
+ #
259
+ # For example, consider a situation where you make an initial request and t
260
+ # he request times out. If you make the request again with the same request
261
+ # ID, the server can check if original operation with the same request ID
262
+ # was received, and if so, will ignore the second request. This prevents
263
+ # clients from accidentally creating duplicate commitments.
264
+ #
265
+ # The request ID must be a valid UUID with the exception that zero UUID is
266
+ # not supported (00000000-0000-0000-0000-000000000000).
267
+ class DeleteInstanceRequest
268
+ include ::Google::Protobuf::MessageExts
269
+ extend ::Google::Protobuf::MessageExts::ClassMethods
270
+ end
271
+
272
+ # Long-running operation metadata.
273
+ # @!attribute [r] create_time
274
+ # @return [::Google::Protobuf::Timestamp]
275
+ # Output only. The time the operation was created.
276
+ # @!attribute [r] end_time
277
+ # @return [::Google::Protobuf::Timestamp]
278
+ # Output only. The time the operation finished running.
279
+ # @!attribute [r] target
280
+ # @return [::String]
281
+ # Output only. Server-defined resource path for the target of the operation.
282
+ # @!attribute [r] verb
283
+ # @return [::String]
284
+ # Output only. Name of the verb executed by the operation.
285
+ # @!attribute [r] status_message
286
+ # @return [::String]
287
+ # Output only. Human-readable status of the operation, if any.
288
+ # @!attribute [r] requested_cancellation
289
+ # @return [::Boolean]
290
+ # Output only. Identifies whether the user has requested cancellation
291
+ # of the operation. Operations that have been cancelled successfully
292
+ # have [Operation.error][] value with a
293
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
294
+ # `Code.CANCELLED`.
295
+ # @!attribute [r] api_version
296
+ # @return [::String]
297
+ # Output only. API version used to start the operation.
298
+ class OperationMetadata
299
+ include ::Google::Protobuf::MessageExts
300
+ extend ::Google::Protobuf::MessageExts::ClassMethods
301
+ end
302
+
303
+ # Cloud Storage as the source of a data transfer.
304
+ # @!attribute [rw] uri
305
+ # @return [::String]
306
+ # Required. URI to a Cloud Storage bucket in the format:
307
+ # `gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
308
+ # optional.
309
+ class SourceGcsBucket
310
+ include ::Google::Protobuf::MessageExts
311
+ extend ::Google::Protobuf::MessageExts::ClassMethods
312
+ end
313
+
314
+ # Cloud Storage as the destination of a data transfer.
315
+ # @!attribute [rw] uri
316
+ # @return [::String]
317
+ # Required. URI to a Cloud Storage bucket in the format:
318
+ # `gs://<bucket_name>/<path_inside_bucket>`. The path inside the bucket is
319
+ # optional.
320
+ class DestinationGcsBucket
321
+ include ::Google::Protobuf::MessageExts
322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
323
+ end
324
+
325
+ # Parallelstore as the source of a data transfer.
326
+ # @!attribute [rw] path
327
+ # @return [::String]
328
+ # Optional. Root directory path to the Paralellstore filesystem, starting
329
+ # with `/`. Defaults to `/` if unset.
330
+ class SourceParallelstore
331
+ include ::Google::Protobuf::MessageExts
332
+ extend ::Google::Protobuf::MessageExts::ClassMethods
333
+ end
334
+
335
+ # Parallelstore as the destination of a data transfer.
336
+ # @!attribute [rw] path
337
+ # @return [::String]
338
+ # Optional. Root directory path to the Paralellstore filesystem, starting
339
+ # with `/`. Defaults to `/` if unset.
340
+ class DestinationParallelstore
341
+ include ::Google::Protobuf::MessageExts
342
+ extend ::Google::Protobuf::MessageExts::ClassMethods
343
+ end
344
+
345
+ # Import data from Cloud Storage into a Parallelstore instance.
346
+ # @!attribute [rw] source_gcs_bucket
347
+ # @return [::Google::Cloud::Parallelstore::V1::SourceGcsBucket]
348
+ # The Cloud Storage source bucket and, optionally, path inside the bucket.
349
+ # @!attribute [rw] destination_parallelstore
350
+ # @return [::Google::Cloud::Parallelstore::V1::DestinationParallelstore]
351
+ # Parallelstore destination.
352
+ # @!attribute [rw] name
353
+ # @return [::String]
354
+ # Required. Name of the resource.
355
+ # @!attribute [rw] request_id
356
+ # @return [::String]
357
+ # Optional. An optional request ID to identify requests. Specify a unique
358
+ # request ID so that if you must retry your request, the server will know to
359
+ # ignore the request if it has already been completed. The server will
360
+ # guarantee that for at least 60 minutes since the first request.
361
+ #
362
+ # For example, consider a situation where you make an initial request and t
363
+ # he request times out. If you make the request again with the same request
364
+ # ID, the server can check if original operation with the same request ID
365
+ # was received, and if so, will ignore the second request. This prevents
366
+ # clients from accidentally creating duplicate commitments.
367
+ #
368
+ # The request ID must be a valid UUID with the exception that zero UUID is
369
+ # not supported (00000000-0000-0000-0000-000000000000).
370
+ # @!attribute [rw] service_account
371
+ # @return [::String]
372
+ # Optional. User-specified service account credentials to be used when
373
+ # performing the transfer.
374
+ #
375
+ # Use one of the following formats:
376
+ #
377
+ # * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
378
+ # * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
379
+ # * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
380
+ #
381
+ # If unspecified, the Parallelstore service agent is used:
382
+ # `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
383
+ class ImportDataRequest
384
+ include ::Google::Protobuf::MessageExts
385
+ extend ::Google::Protobuf::MessageExts::ClassMethods
386
+ end
387
+
388
+ # Export data from Parallelstore to Cloud Storage.
389
+ # @!attribute [rw] source_parallelstore
390
+ # @return [::Google::Cloud::Parallelstore::V1::SourceParallelstore]
391
+ # Parallelstore source.
392
+ # @!attribute [rw] destination_gcs_bucket
393
+ # @return [::Google::Cloud::Parallelstore::V1::DestinationGcsBucket]
394
+ # Cloud Storage destination.
395
+ # @!attribute [rw] name
396
+ # @return [::String]
397
+ # Required. Name of the resource.
398
+ # @!attribute [rw] request_id
399
+ # @return [::String]
400
+ # Optional. An optional request ID to identify requests. Specify a unique
401
+ # request ID so that if you must retry your request, the server will know to
402
+ # ignore the request if it has already been completed. The server will
403
+ # guarantee that for at least 60 minutes since the first request.
404
+ #
405
+ # For example, consider a situation where you make an initial request and t
406
+ # he request times out. If you make the request again with the same request
407
+ # ID, the server can check if original operation with the same request ID
408
+ # was received, and if so, will ignore the second request. This prevents
409
+ # clients from accidentally creating duplicate commitments.
410
+ #
411
+ # The request ID must be a valid UUID with the exception that zero UUID is
412
+ # not supported (00000000-0000-0000-0000-000000000000).
413
+ # @!attribute [rw] service_account
414
+ # @return [::String]
415
+ # Optional. User-specified Service Account (SA) credentials to be used when
416
+ # performing the transfer.
417
+ # Use one of the following formats:
418
+ #
419
+ # * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
420
+ # * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
421
+ # * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
422
+ #
423
+ # If unspecified, the Parallelstore service agent is used:
424
+ # `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
425
+ class ExportDataRequest
426
+ include ::Google::Protobuf::MessageExts
427
+ extend ::Google::Protobuf::MessageExts::ClassMethods
428
+ end
429
+
430
+ # The response to a request to import data to Parallelstore.
431
+ class ImportDataResponse
432
+ include ::Google::Protobuf::MessageExts
433
+ extend ::Google::Protobuf::MessageExts::ClassMethods
434
+ end
435
+
436
+ # Metadata related to the data import operation.
437
+ # @!attribute [rw] operation_metadata
438
+ # @return [::Google::Cloud::Parallelstore::V1::TransferOperationMetadata]
439
+ # Data transfer operation metadata.
440
+ # @!attribute [r] create_time
441
+ # @return [::Google::Protobuf::Timestamp]
442
+ # Output only. The time the operation was created.
443
+ # @!attribute [r] end_time
444
+ # @return [::Google::Protobuf::Timestamp]
445
+ # Output only. The time the operation finished running.
446
+ # @!attribute [r] target
447
+ # @return [::String]
448
+ # Output only. Server-defined resource path for the target of the operation.
449
+ # @!attribute [r] verb
450
+ # @return [::String]
451
+ # Output only. Name of the verb executed by the operation.
452
+ # @!attribute [r] status_message
453
+ # @return [::String]
454
+ # Output only. Human-readable status of the operation, if any.
455
+ # @!attribute [r] requested_cancellation
456
+ # @return [::Boolean]
457
+ # Output only. Identifies whether the user has requested cancellation
458
+ # of the operation. Operations that have successfully been cancelled
459
+ # have [Operation.error][] value with a
460
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
461
+ # `Code.CANCELLED`.
462
+ # @!attribute [r] api_version
463
+ # @return [::String]
464
+ # Output only. API version used to start the operation.
465
+ class ImportDataMetadata
466
+ include ::Google::Protobuf::MessageExts
467
+ extend ::Google::Protobuf::MessageExts::ClassMethods
468
+ end
469
+
470
+ # The response to a request to export data from Parallelstore.
471
+ class ExportDataResponse
472
+ include ::Google::Protobuf::MessageExts
473
+ extend ::Google::Protobuf::MessageExts::ClassMethods
474
+ end
475
+
476
+ # Metadata related to the data export operation.
477
+ # @!attribute [rw] operation_metadata
478
+ # @return [::Google::Cloud::Parallelstore::V1::TransferOperationMetadata]
479
+ # Data transfer operation metadata.
480
+ # @!attribute [r] create_time
481
+ # @return [::Google::Protobuf::Timestamp]
482
+ # Output only. The time the operation was created.
483
+ # @!attribute [r] end_time
484
+ # @return [::Google::Protobuf::Timestamp]
485
+ # Output only. The time the operation finished running.
486
+ # @!attribute [r] target
487
+ # @return [::String]
488
+ # Output only. Server-defined resource path for the target of the operation.
489
+ # @!attribute [r] verb
490
+ # @return [::String]
491
+ # Output only. Name of the verb executed by the operation.
492
+ # @!attribute [r] status_message
493
+ # @return [::String]
494
+ # Output only. Human-readable status of the operation, if any.
495
+ # @!attribute [r] requested_cancellation
496
+ # @return [::Boolean]
497
+ # Output only. Identifies whether the user has requested cancellation
498
+ # of the operation. Operations that have successfully been cancelled
499
+ # have [Operation.error][] value with a
500
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
501
+ # `Code.CANCELLED`.
502
+ # @!attribute [r] api_version
503
+ # @return [::String]
504
+ # Output only. API version used to start the operation.
505
+ class ExportDataMetadata
506
+ include ::Google::Protobuf::MessageExts
507
+ extend ::Google::Protobuf::MessageExts::ClassMethods
508
+ end
509
+
510
+ # Long-running operation metadata related to a data transfer.
511
+ # @!attribute [r] source_parallelstore
512
+ # @return [::Google::Cloud::Parallelstore::V1::SourceParallelstore]
513
+ # Output only. Parallelstore source.
514
+ # @!attribute [r] source_gcs_bucket
515
+ # @return [::Google::Cloud::Parallelstore::V1::SourceGcsBucket]
516
+ # Output only. Cloud Storage source.
517
+ # @!attribute [r] destination_gcs_bucket
518
+ # @return [::Google::Cloud::Parallelstore::V1::DestinationGcsBucket]
519
+ # Output only. Cloud Storage destination.
520
+ # @!attribute [r] destination_parallelstore
521
+ # @return [::Google::Cloud::Parallelstore::V1::DestinationParallelstore]
522
+ # Output only. Parallelstore destination.
523
+ # @!attribute [r] counters
524
+ # @return [::Google::Cloud::Parallelstore::V1::TransferCounters]
525
+ # Output only. The progress of the transfer operation.
526
+ # @!attribute [r] transfer_type
527
+ # @return [::Google::Cloud::Parallelstore::V1::TransferType]
528
+ # Output only. The type of transfer occurring.
529
+ class TransferOperationMetadata
530
+ include ::Google::Protobuf::MessageExts
531
+ extend ::Google::Protobuf::MessageExts::ClassMethods
532
+ end
533
+
534
+ # A collection of counters that report the progress of a transfer operation.
535
+ # @!attribute [rw] objects_found
536
+ # @return [::Integer]
537
+ # Objects found in the data source that are scheduled to be transferred,
538
+ # excluding any that are filtered based on object conditions or skipped due
539
+ # to sync.
540
+ # @!attribute [rw] bytes_found
541
+ # @return [::Integer]
542
+ # Bytes found in the data source that are scheduled to be transferred,
543
+ # excluding any that are filtered based on object conditions or skipped due
544
+ # to sync.
545
+ # @!attribute [rw] objects_skipped
546
+ # @return [::Integer]
547
+ # Objects in the data source that are not transferred because they already
548
+ # exist in the data destination.
549
+ # @!attribute [rw] bytes_skipped
550
+ # @return [::Integer]
551
+ # Bytes in the data source that are not transferred because they already
552
+ # exist in the data destination.
553
+ # @!attribute [rw] objects_copied
554
+ # @return [::Integer]
555
+ # Objects that are copied to the data destination.
556
+ # @!attribute [rw] bytes_copied
557
+ # @return [::Integer]
558
+ # Bytes that are copied to the data destination.
559
+ class TransferCounters
560
+ include ::Google::Protobuf::MessageExts
561
+ extend ::Google::Protobuf::MessageExts::ClassMethods
562
+ end
563
+
564
+ # Type of transfer that occurred.
565
+ module TransferType
566
+ # Zero is an illegal value.
567
+ TRANSFER_TYPE_UNSPECIFIED = 0
568
+
569
+ # Imports to Parallelstore.
570
+ IMPORT = 1
571
+
572
+ # Exports from Parallelstore.
573
+ EXPORT = 2
574
+ end
575
+
576
+ # Represents the striping options for files.
577
+ module FileStripeLevel
578
+ # If not set, FileStripeLevel will default to FILE_STRIPE_LEVEL_BALANCED
579
+ FILE_STRIPE_LEVEL_UNSPECIFIED = 0
580
+
581
+ # Minimum file striping
582
+ FILE_STRIPE_LEVEL_MIN = 1
583
+
584
+ # Medium file striping
585
+ FILE_STRIPE_LEVEL_BALANCED = 2
586
+
587
+ # Maximum file striping
588
+ FILE_STRIPE_LEVEL_MAX = 3
589
+ end
590
+
591
+ # Represents the striping options for directories.
592
+ module DirectoryStripeLevel
593
+ # If not set, DirectoryStripeLevel will default to DIRECTORY_STRIPE_LEVEL_MAX
594
+ DIRECTORY_STRIPE_LEVEL_UNSPECIFIED = 0
595
+
596
+ # Minimum directory striping
597
+ DIRECTORY_STRIPE_LEVEL_MIN = 1
598
+
599
+ # Medium directory striping
600
+ DIRECTORY_STRIPE_LEVEL_BALANCED = 2
601
+
602
+ # Maximum directory striping
603
+ DIRECTORY_STRIPE_LEVEL_MAX = 3
604
+ end
605
+ end
606
+ end
607
+ end
608
+ end