google-cloud-parallelstore-v1beta 0.a → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +144 -8
  5. data/lib/google/cloud/parallelstore/v1beta/bindings_override.rb +102 -0
  6. data/lib/google/cloud/parallelstore/v1beta/parallelstore/client.rb +1182 -0
  7. data/lib/google/cloud/parallelstore/v1beta/parallelstore/credentials.rb +47 -0
  8. data/lib/google/cloud/parallelstore/v1beta/parallelstore/operations.rb +809 -0
  9. data/lib/google/cloud/parallelstore/v1beta/parallelstore/paths.rb +105 -0
  10. data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/client.rb +1114 -0
  11. data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/operations.rb +902 -0
  12. data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/service_stub.rb +486 -0
  13. data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest.rb +68 -0
  14. data/lib/google/cloud/parallelstore/v1beta/parallelstore.rb +70 -0
  15. data/lib/google/cloud/parallelstore/v1beta/parallelstore_pb.rb +75 -0
  16. data/lib/google/cloud/parallelstore/v1beta/parallelstore_services_pb.rb +71 -0
  17. data/lib/google/cloud/parallelstore/v1beta/rest.rb +38 -0
  18. data/lib/google/cloud/parallelstore/v1beta/version.rb +7 -2
  19. data/lib/google/cloud/parallelstore/v1beta.rb +45 -0
  20. data/lib/google-cloud-parallelstore-v1beta.rb +21 -0
  21. data/proto_docs/README.md +4 -0
  22. data/proto_docs/google/api/client.rb +399 -0
  23. data/proto_docs/google/api/field_behavior.rb +85 -0
  24. data/proto_docs/google/api/field_info.rb +65 -0
  25. data/proto_docs/google/api/launch_stage.rb +71 -0
  26. data/proto_docs/google/api/resource.rb +222 -0
  27. data/proto_docs/google/cloud/parallelstore/v1beta/parallelstore.rb +552 -0
  28. data/proto_docs/google/longrunning/operations.rb +164 -0
  29. data/proto_docs/google/protobuf/any.rb +145 -0
  30. data/proto_docs/google/protobuf/duration.rb +98 -0
  31. data/proto_docs/google/protobuf/empty.rb +34 -0
  32. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  33. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  34. data/proto_docs/google/rpc/status.rb +48 -0
  35. metadata +95 -11
@@ -0,0 +1,552 @@
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 V1beta
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::V1beta::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. Cloud Labels can be used to
46
+ # filter collections of resources. They can be used to control how resource
47
+ # metrics are aggregated. And they can be used as arguments to policy
48
+ # management rules (e.g. route, firewall, load balancing, etc.).
49
+ #
50
+ # * Label keys must be between 1 and 63 characters long and must conform to
51
+ # the following regular expression: `[a-z][a-z0-9_-]{0,62}`.
52
+ # * Label values must be between 0 and 63 characters long and must conform
53
+ # to the regular expression `[a-z0-9_-]{0,63}`.
54
+ # * No more than 64 labels can be associated with a given resource.
55
+ #
56
+ # See https://goo.gl/xmQnxf for more information on and examples of labels.
57
+ #
58
+ # If you plan to use labels in your own code, please note that additional
59
+ # characters may be allowed in the future. Therefore, you are advised to use
60
+ # an internal label representation, such as JSON, which doesn't rely upon
61
+ # specific characters being disallowed. For example, representing labels
62
+ # as the string: name + "_" + value would prove problematic if we were to
63
+ # allow "_" in a future release.
64
+ # @!attribute [rw] capacity_gib
65
+ # @return [::Integer]
66
+ # Required. Immutable. Storage capacity of Parallelstore instance in
67
+ # Gibibytes (GiB).
68
+ # @!attribute [r] daos_version
69
+ # @return [::String]
70
+ # Output only. The version of DAOS software running in the instance
71
+ # @!attribute [r] access_points
72
+ # @return [::Array<::String>]
73
+ # Output only. List of access_points.
74
+ # Contains a list of IPv4 addresses used for client side configuration.
75
+ # @!attribute [rw] network
76
+ # @return [::String]
77
+ # Optional. Immutable. The name of the Google Compute Engine
78
+ # [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the
79
+ # instance is connected.
80
+ # @!attribute [rw] reserved_ip_range
81
+ # @return [::String]
82
+ # Optional. Immutable. Contains the id of the allocated IP address range
83
+ # associated with the private service access connection for example,
84
+ # "test-default" associated with IP range 10.0.0.0/29. If no range id is
85
+ # provided all ranges will be considered.
86
+ # @!attribute [r] effective_reserved_ip_range
87
+ # @return [::String]
88
+ # Output only. Immutable. Contains the id of the allocated IP address range
89
+ # associated with the private service access connection for example,
90
+ # "test-default" associated with IP range 10.0.0.0/29. This field is
91
+ # populated by the service and and contains the value currently used by the
92
+ # service.
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
+ # Represents the different 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
+ end
123
+ end
124
+
125
+ # Message for requesting list of Instances
126
+ # @!attribute [rw] parent
127
+ # @return [::String]
128
+ # Required. The project and location for which to retrieve instance
129
+ # information, in the format `projects/{project_id}/locations/{location}`.
130
+ # For Parallelstore locations map to Google Cloud zones, for example
131
+ # **us-central1-a**.
132
+ # To retrieve instance information for all locations, use "-" for the
133
+ # `{location}` value.
134
+ # @!attribute [rw] page_size
135
+ # @return [::Integer]
136
+ # Optional. Requested page size. Server may return fewer items than
137
+ # requested. If unspecified, server will pick an appropriate default.
138
+ # @!attribute [rw] page_token
139
+ # @return [::String]
140
+ # Optional. A token identifying a page of results the server should return.
141
+ # @!attribute [rw] filter
142
+ # @return [::String]
143
+ # Optional. Filtering results
144
+ # @!attribute [rw] order_by
145
+ # @return [::String]
146
+ # Optional. Hint for how to order the results
147
+ class ListInstancesRequest
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
+ end
151
+
152
+ # Message for response to listing Instances
153
+ # @!attribute [rw] instances
154
+ # @return [::Array<::Google::Cloud::Parallelstore::V1beta::Instance>]
155
+ # The list of Parallelstore Instances
156
+ # @!attribute [rw] next_page_token
157
+ # @return [::String]
158
+ # A token identifying a page of results the server should return.
159
+ # @!attribute [rw] unreachable
160
+ # @return [::Array<::String>]
161
+ # Locations that could not be reached.
162
+ class ListInstancesResponse
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Request to get an instance's details.
168
+ # @!attribute [rw] name
169
+ # @return [::String]
170
+ # Required. The instance resource name, in the format
171
+ # `projects/{project_id}/locations/{location}/instances/{instance_id}`.
172
+ class GetInstanceRequest
173
+ include ::Google::Protobuf::MessageExts
174
+ extend ::Google::Protobuf::MessageExts::ClassMethods
175
+ end
176
+
177
+ # Request for
178
+ # {::Google::Cloud::Parallelstore::V1beta::Parallelstore::Client#create_instance CreateInstance}
179
+ # @!attribute [rw] parent
180
+ # @return [::String]
181
+ # Required. The instance's project and location, in the format
182
+ # `projects/{project}/locations/{location}`.
183
+ # Locations map to Google Cloud zones, for example **us-west1-b**.
184
+ # @!attribute [rw] instance_id
185
+ # @return [::String]
186
+ # Required. The logical name of the Parallelstore instance in the user
187
+ # project with the following restrictions:
188
+ #
189
+ # * Must contain only lowercase letters, numbers, and hyphens.
190
+ # * Must start with a letter.
191
+ # * Must be between 1-63 characters.
192
+ # * Must end with a number or a letter.
193
+ # * Must be unique within the customer project / location
194
+ # @!attribute [rw] instance
195
+ # @return [::Google::Cloud::Parallelstore::V1beta::Instance]
196
+ # Required. The instance to create.
197
+ # @!attribute [rw] request_id
198
+ # @return [::String]
199
+ # Optional. An optional request ID to identify requests. Specify a unique
200
+ # request ID so that if you must retry your request, the server will know to
201
+ # ignore the request if it has already been completed. The server will
202
+ # guarantee that for at least 60 minutes since the first request.
203
+ #
204
+ # For example, consider a situation where you make an initial request and t
205
+ # he request times out. If you make the request again with the same request
206
+ # ID, the server can check if original operation with the same request ID
207
+ # was received, and if so, will ignore the second request. This prevents
208
+ # clients from accidentally creating duplicate commitments.
209
+ #
210
+ # The request ID must be a valid UUID with the exception that zero UUID is
211
+ # not supported (00000000-0000-0000-0000-000000000000).
212
+ class CreateInstanceRequest
213
+ include ::Google::Protobuf::MessageExts
214
+ extend ::Google::Protobuf::MessageExts::ClassMethods
215
+ end
216
+
217
+ # Message for updating a Instance
218
+ # @!attribute [rw] update_mask
219
+ # @return [::Google::Protobuf::FieldMask]
220
+ # Required. Mask of fields to update .Field mask is used to specify the
221
+ # fields to be overwritten in the Instance resource by the update. At least
222
+ # one path must be supplied in this field. The fields specified in the
223
+ # update_mask are relative to the resource, not the full request.
224
+ # @!attribute [rw] instance
225
+ # @return [::Google::Cloud::Parallelstore::V1beta::Instance]
226
+ # Required. The instance to update
227
+ # @!attribute [rw] request_id
228
+ # @return [::String]
229
+ # Optional. An optional request ID to identify requests. Specify a unique
230
+ # request ID so that if you must retry your request, the server will know to
231
+ # ignore the request if it has already been completed. The server will
232
+ # guarantee that for at least 60 minutes since the first request.
233
+ #
234
+ # For example, consider a situation where you make an initial request and t
235
+ # he request times out. If you make the request again with the same request
236
+ # ID, the server can check if original operation with the same request ID
237
+ # was received, and if so, will ignore the second request. This prevents
238
+ # clients from accidentally creating duplicate commitments.
239
+ #
240
+ # The request ID must be a valid UUID with the exception that zero UUID is
241
+ # not supported (00000000-0000-0000-0000-000000000000).
242
+ class UpdateInstanceRequest
243
+ include ::Google::Protobuf::MessageExts
244
+ extend ::Google::Protobuf::MessageExts::ClassMethods
245
+ end
246
+
247
+ # Message for deleting a Instance
248
+ # @!attribute [rw] name
249
+ # @return [::String]
250
+ # Required. Name of the resource
251
+ # @!attribute [rw] request_id
252
+ # @return [::String]
253
+ # Optional. An optional request ID to identify requests. Specify a unique
254
+ # request ID so that if you must retry your request, the server will know to
255
+ # ignore the request if it has already been completed. The server will
256
+ # guarantee that for at least 60 minutes after the first request.
257
+ #
258
+ # For example, consider a situation where you make an initial request and t
259
+ # he request times out. If you make the request again with the same request
260
+ # ID, the server can check if original operation with the same request ID
261
+ # was received, and if so, will ignore the second request. This prevents
262
+ # clients from accidentally creating duplicate commitments.
263
+ #
264
+ # The request ID must be a valid UUID with the exception that zero UUID is
265
+ # not supported (00000000-0000-0000-0000-000000000000).
266
+ class DeleteInstanceRequest
267
+ include ::Google::Protobuf::MessageExts
268
+ extend ::Google::Protobuf::MessageExts::ClassMethods
269
+ end
270
+
271
+ # Represents the metadata of the long-running operation.
272
+ # @!attribute [r] create_time
273
+ # @return [::Google::Protobuf::Timestamp]
274
+ # Output only. The time the operation was created.
275
+ # @!attribute [r] end_time
276
+ # @return [::Google::Protobuf::Timestamp]
277
+ # Output only. The time the operation finished running.
278
+ # @!attribute [r] target
279
+ # @return [::String]
280
+ # Output only. Server-defined resource path for the target of the operation.
281
+ # @!attribute [r] verb
282
+ # @return [::String]
283
+ # Output only. Name of the verb executed by the operation.
284
+ # @!attribute [r] status_message
285
+ # @return [::String]
286
+ # Output only. Human-readable status of the operation, if any.
287
+ # @!attribute [r] requested_cancellation
288
+ # @return [::Boolean]
289
+ # Output only. Identifies whether the user has requested cancellation
290
+ # of the operation. Operations that have been cancelled successfully
291
+ # have [Operation.error][] value with a
292
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
293
+ # `Code.CANCELLED`.
294
+ # @!attribute [r] api_version
295
+ # @return [::String]
296
+ # Output only. API version used to start the operation.
297
+ class OperationMetadata
298
+ include ::Google::Protobuf::MessageExts
299
+ extend ::Google::Protobuf::MessageExts::ClassMethods
300
+ end
301
+
302
+ # Google Cloud Storage as a source.
303
+ # @!attribute [rw] uri
304
+ # @return [::String]
305
+ # Required. URI to a Cloud Storage object in format:
306
+ # 'gs://<bucket_name>/<path_inside_bucket>'.
307
+ class SourceGcsBucket
308
+ include ::Google::Protobuf::MessageExts
309
+ extend ::Google::Protobuf::MessageExts::ClassMethods
310
+ end
311
+
312
+ # Google Cloud Storage as a destination.
313
+ # @!attribute [rw] uri
314
+ # @return [::String]
315
+ # Required. URI to a Cloud Storage object in format:
316
+ # 'gs://<bucket_name>/<path_inside_bucket>'.
317
+ class DestinationGcsBucket
318
+ include ::Google::Protobuf::MessageExts
319
+ extend ::Google::Protobuf::MessageExts::ClassMethods
320
+ end
321
+
322
+ # Pa as a source.
323
+ # @!attribute [rw] path
324
+ # @return [::String]
325
+ # Optional. Root directory path to the Paralellstore filesystem, starting
326
+ # with '/'. Defaults to '/' if unset.
327
+ class SourceParallelstore
328
+ include ::Google::Protobuf::MessageExts
329
+ extend ::Google::Protobuf::MessageExts::ClassMethods
330
+ end
331
+
332
+ # Parallelstore as a destination.
333
+ # @!attribute [rw] path
334
+ # @return [::String]
335
+ # Optional. Root directory path to the Paralellstore filesystem, starting
336
+ # with '/'. Defaults to '/' if unset.
337
+ class DestinationParallelstore
338
+ include ::Google::Protobuf::MessageExts
339
+ extend ::Google::Protobuf::MessageExts::ClassMethods
340
+ end
341
+
342
+ # Message representing the request importing data from parallelstore to Cloud
343
+ # Storage.
344
+ # @!attribute [rw] source_gcs_bucket
345
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket]
346
+ # Cloud Storage source.
347
+ # @!attribute [rw] destination_parallelstore
348
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore]
349
+ # Parallelstore destination.
350
+ # @!attribute [rw] name
351
+ # @return [::String]
352
+ # Required. Name of the resource.
353
+ # @!attribute [rw] request_id
354
+ # @return [::String]
355
+ # Optional. An optional request ID to identify requests. Specify a unique
356
+ # request ID so that if you must retry your request, the server will know to
357
+ # ignore the request if it has already been completed. The server will
358
+ # guarantee that for at least 60 minutes since the first request.
359
+ #
360
+ # For example, consider a situation where you make an initial request and t
361
+ # he request times out. If you make the request again with the same request
362
+ # ID, the server can check if original operation with the same request ID
363
+ # was received, and if so, will ignore the second request. This prevents
364
+ # clients from accidentally creating duplicate commitments.
365
+ #
366
+ # The request ID must be a valid UUID with the exception that zero UUID is
367
+ # not supported (00000000-0000-0000-0000-000000000000).
368
+ class ImportDataRequest
369
+ include ::Google::Protobuf::MessageExts
370
+ extend ::Google::Protobuf::MessageExts::ClassMethods
371
+ end
372
+
373
+ # Message representing the request exporting data from Cloud Storage to
374
+ # parallelstore.
375
+ # @!attribute [rw] source_parallelstore
376
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
377
+ # Parallelstore source.
378
+ # @!attribute [rw] destination_gcs_bucket
379
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationGcsBucket]
380
+ # Cloud Storage destination.
381
+ # @!attribute [rw] name
382
+ # @return [::String]
383
+ # Required. Name of the resource.
384
+ # @!attribute [rw] request_id
385
+ # @return [::String]
386
+ # Optional. An optional request ID to identify requests. Specify a unique
387
+ # request ID so that if you must retry your request, the server will know to
388
+ # ignore the request if it has already been completed. The server will
389
+ # guarantee that for at least 60 minutes since the first request.
390
+ #
391
+ # For example, consider a situation where you make an initial request and t
392
+ # he request times out. If you make the request again with the same request
393
+ # ID, the server can check if original operation with the same request ID
394
+ # was received, and if so, will ignore the second request. This prevents
395
+ # clients from accidentally creating duplicate commitments.
396
+ #
397
+ # The request ID must be a valid UUID with the exception that zero UUID is
398
+ # not supported (00000000-0000-0000-0000-000000000000).
399
+ class ExportDataRequest
400
+ include ::Google::Protobuf::MessageExts
401
+ extend ::Google::Protobuf::MessageExts::ClassMethods
402
+ end
403
+
404
+ # ImportDataResponse is the response returned from ImportData rpc.
405
+ class ImportDataResponse
406
+ include ::Google::Protobuf::MessageExts
407
+ extend ::Google::Protobuf::MessageExts::ClassMethods
408
+ end
409
+
410
+ # ImportDataMetadata contains import data operation metadata
411
+ # @!attribute [rw] operation_metadata
412
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
413
+ # Contains the data transfer operation metadata.
414
+ # @!attribute [r] create_time
415
+ # @return [::Google::Protobuf::Timestamp]
416
+ # Output only. The time the operation was created.
417
+ # @!attribute [r] end_time
418
+ # @return [::Google::Protobuf::Timestamp]
419
+ # Output only. The time the operation finished running.
420
+ # @!attribute [r] target
421
+ # @return [::String]
422
+ # Output only. Server-defined resource path for the target of the operation.
423
+ # @!attribute [r] verb
424
+ # @return [::String]
425
+ # Output only. Name of the verb executed by the operation.
426
+ # @!attribute [r] status_message
427
+ # @return [::String]
428
+ # Output only. Human-readable status of the operation, if any.
429
+ # @!attribute [r] requested_cancellation
430
+ # @return [::Boolean]
431
+ # Output only. Identifies whether the user has requested cancellation
432
+ # of the operation. Operations that have successfully been cancelled
433
+ # have [Operation.error][] value with a
434
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
435
+ # `Code.CANCELLED`.
436
+ # @!attribute [r] api_version
437
+ # @return [::String]
438
+ # Output only. API version used to start the operation.
439
+ class ImportDataMetadata
440
+ include ::Google::Protobuf::MessageExts
441
+ extend ::Google::Protobuf::MessageExts::ClassMethods
442
+ end
443
+
444
+ # ExportDataResponse is the response returned from ExportData rpc
445
+ class ExportDataResponse
446
+ include ::Google::Protobuf::MessageExts
447
+ extend ::Google::Protobuf::MessageExts::ClassMethods
448
+ end
449
+
450
+ # ExportDataMetadata contains export data operation metadata
451
+ # @!attribute [rw] operation_metadata
452
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
453
+ # Contains the data transfer operation metadata.
454
+ # @!attribute [r] create_time
455
+ # @return [::Google::Protobuf::Timestamp]
456
+ # Output only. The time the operation was created.
457
+ # @!attribute [r] end_time
458
+ # @return [::Google::Protobuf::Timestamp]
459
+ # Output only. The time the operation finished running.
460
+ # @!attribute [r] target
461
+ # @return [::String]
462
+ # Output only. Server-defined resource path for the target of the operation.
463
+ # @!attribute [r] verb
464
+ # @return [::String]
465
+ # Output only. Name of the verb executed by the operation.
466
+ # @!attribute [r] status_message
467
+ # @return [::String]
468
+ # Output only. Human-readable status of the operation, if any.
469
+ # @!attribute [r] requested_cancellation
470
+ # @return [::Boolean]
471
+ # Output only. Identifies whether the user has requested cancellation
472
+ # of the operation. Operations that have successfully been cancelled
473
+ # have [Operation.error][] value with a
474
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
475
+ # `Code.CANCELLED`.
476
+ # @!attribute [r] api_version
477
+ # @return [::String]
478
+ # Output only. API version used to start the operation.
479
+ class ExportDataMetadata
480
+ include ::Google::Protobuf::MessageExts
481
+ extend ::Google::Protobuf::MessageExts::ClassMethods
482
+ end
483
+
484
+ # Represents the metadata of the long-running operation.
485
+ # @!attribute [r] source_parallelstore
486
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
487
+ # Output only. Parallelstore source.
488
+ # @!attribute [r] source_gcs_bucket
489
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket]
490
+ # Output only. Cloud Storage source.
491
+ # @!attribute [r] destination_gcs_bucket
492
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationGcsBucket]
493
+ # Output only. Cloud Storage destination.
494
+ # @!attribute [r] destination_parallelstore
495
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore]
496
+ # Output only. Parallelstore destination.
497
+ # @!attribute [r] counters
498
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferCounters]
499
+ # Output only. Information about the progress of the transfer operation.
500
+ # @!attribute [r] transfer_type
501
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferType]
502
+ # Output only. The type of transfer occurring.
503
+ class TransferOperationMetadata
504
+ include ::Google::Protobuf::MessageExts
505
+ extend ::Google::Protobuf::MessageExts::ClassMethods
506
+ end
507
+
508
+ # A collection of counters that report the progress of a transfer operation.
509
+ # @!attribute [rw] objects_found
510
+ # @return [::Integer]
511
+ # Objects found in the data source that are scheduled to be transferred,
512
+ # excluding any that are filtered based on object conditions or skipped due
513
+ # to sync.
514
+ # @!attribute [rw] bytes_found
515
+ # @return [::Integer]
516
+ # Bytes found in the data source that are scheduled to be transferred,
517
+ # excluding any that are filtered based on object conditions or skipped due
518
+ # to sync.
519
+ # @!attribute [rw] objects_skipped
520
+ # @return [::Integer]
521
+ # Objects in the data source that are not transferred because they already
522
+ # exist in the data destination.
523
+ # @!attribute [rw] bytes_skipped
524
+ # @return [::Integer]
525
+ # Bytes in the data source that are not transferred because they already
526
+ # exist in the data destination.
527
+ # @!attribute [rw] objects_copied
528
+ # @return [::Integer]
529
+ # Objects that are copied to the data destination.
530
+ # @!attribute [rw] bytes_copied
531
+ # @return [::Integer]
532
+ # Bytes that are copied to the data destination.
533
+ class TransferCounters
534
+ include ::Google::Protobuf::MessageExts
535
+ extend ::Google::Protobuf::MessageExts::ClassMethods
536
+ end
537
+
538
+ # Type of transfer that occurred.
539
+ module TransferType
540
+ # Zero is an illegal value.
541
+ TRANSFER_TYPE_UNSPECIFIED = 0
542
+
543
+ # Imports to Parallelstore.
544
+ IMPORT = 1
545
+
546
+ # Exports from Parallelstore.
547
+ EXPORT = 2
548
+ end
549
+ end
550
+ end
551
+ end
552
+ end