google-cloud-parallelstore-v1beta 0.a → 0.2.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 +1194 -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 +122 -0
  10. data/lib/google/cloud/parallelstore/v1beta/parallelstore/rest/client.rb +1126 -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 +566 -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,566 @@
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
+ # @!attribute [rw] service_account
369
+ # @return [::String]
370
+ # Optional. User-specified Service Account (SA) credentials to be used when
371
+ # performing the transfer.
372
+ # Format: `projects/{project_id}/serviceAccounts/{service_account}`
373
+ # If unspecified, the Parallelstore service agent is used:
374
+ # service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
375
+ class ImportDataRequest
376
+ include ::Google::Protobuf::MessageExts
377
+ extend ::Google::Protobuf::MessageExts::ClassMethods
378
+ end
379
+
380
+ # Message representing the request exporting data from Cloud Storage to
381
+ # parallelstore.
382
+ # @!attribute [rw] source_parallelstore
383
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
384
+ # Parallelstore source.
385
+ # @!attribute [rw] destination_gcs_bucket
386
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationGcsBucket]
387
+ # Cloud Storage destination.
388
+ # @!attribute [rw] name
389
+ # @return [::String]
390
+ # Required. Name of the resource.
391
+ # @!attribute [rw] request_id
392
+ # @return [::String]
393
+ # Optional. An optional request ID to identify requests. Specify a unique
394
+ # request ID so that if you must retry your request, the server will know to
395
+ # ignore the request if it has already been completed. The server will
396
+ # guarantee that for at least 60 minutes since the first request.
397
+ #
398
+ # For example, consider a situation where you make an initial request and t
399
+ # he request times out. If you make the request again with the same request
400
+ # ID, the server can check if original operation with the same request ID
401
+ # was received, and if so, will ignore the second request. This prevents
402
+ # clients from accidentally creating duplicate commitments.
403
+ #
404
+ # The request ID must be a valid UUID with the exception that zero UUID is
405
+ # not supported (00000000-0000-0000-0000-000000000000).
406
+ # @!attribute [rw] service_account
407
+ # @return [::String]
408
+ # Optional. User-specified Service Account (SA) credentials to be used when
409
+ # performing the transfer.
410
+ # Format: `projects/{project_id}/serviceAccounts/{service_account}`
411
+ # If unspecified, the Parallelstore service agent is used:
412
+ # service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com)
413
+ class ExportDataRequest
414
+ include ::Google::Protobuf::MessageExts
415
+ extend ::Google::Protobuf::MessageExts::ClassMethods
416
+ end
417
+
418
+ # ImportDataResponse is the response returned from ImportData rpc.
419
+ class ImportDataResponse
420
+ include ::Google::Protobuf::MessageExts
421
+ extend ::Google::Protobuf::MessageExts::ClassMethods
422
+ end
423
+
424
+ # ImportDataMetadata contains import data operation metadata
425
+ # @!attribute [rw] operation_metadata
426
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
427
+ # Contains the data transfer operation metadata.
428
+ # @!attribute [r] create_time
429
+ # @return [::Google::Protobuf::Timestamp]
430
+ # Output only. The time the operation was created.
431
+ # @!attribute [r] end_time
432
+ # @return [::Google::Protobuf::Timestamp]
433
+ # Output only. The time the operation finished running.
434
+ # @!attribute [r] target
435
+ # @return [::String]
436
+ # Output only. Server-defined resource path for the target of the operation.
437
+ # @!attribute [r] verb
438
+ # @return [::String]
439
+ # Output only. Name of the verb executed by the operation.
440
+ # @!attribute [r] status_message
441
+ # @return [::String]
442
+ # Output only. Human-readable status of the operation, if any.
443
+ # @!attribute [r] requested_cancellation
444
+ # @return [::Boolean]
445
+ # Output only. Identifies whether the user has requested cancellation
446
+ # of the operation. Operations that have successfully been cancelled
447
+ # have [Operation.error][] value with a
448
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
449
+ # `Code.CANCELLED`.
450
+ # @!attribute [r] api_version
451
+ # @return [::String]
452
+ # Output only. API version used to start the operation.
453
+ class ImportDataMetadata
454
+ include ::Google::Protobuf::MessageExts
455
+ extend ::Google::Protobuf::MessageExts::ClassMethods
456
+ end
457
+
458
+ # ExportDataResponse is the response returned from ExportData rpc
459
+ class ExportDataResponse
460
+ include ::Google::Protobuf::MessageExts
461
+ extend ::Google::Protobuf::MessageExts::ClassMethods
462
+ end
463
+
464
+ # ExportDataMetadata contains export data operation metadata
465
+ # @!attribute [rw] operation_metadata
466
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferOperationMetadata]
467
+ # Contains the data transfer operation metadata.
468
+ # @!attribute [r] create_time
469
+ # @return [::Google::Protobuf::Timestamp]
470
+ # Output only. The time the operation was created.
471
+ # @!attribute [r] end_time
472
+ # @return [::Google::Protobuf::Timestamp]
473
+ # Output only. The time the operation finished running.
474
+ # @!attribute [r] target
475
+ # @return [::String]
476
+ # Output only. Server-defined resource path for the target of the operation.
477
+ # @!attribute [r] verb
478
+ # @return [::String]
479
+ # Output only. Name of the verb executed by the operation.
480
+ # @!attribute [r] status_message
481
+ # @return [::String]
482
+ # Output only. Human-readable status of the operation, if any.
483
+ # @!attribute [r] requested_cancellation
484
+ # @return [::Boolean]
485
+ # Output only. Identifies whether the user has requested cancellation
486
+ # of the operation. Operations that have successfully been cancelled
487
+ # have [Operation.error][] value with a
488
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
489
+ # `Code.CANCELLED`.
490
+ # @!attribute [r] api_version
491
+ # @return [::String]
492
+ # Output only. API version used to start the operation.
493
+ class ExportDataMetadata
494
+ include ::Google::Protobuf::MessageExts
495
+ extend ::Google::Protobuf::MessageExts::ClassMethods
496
+ end
497
+
498
+ # Represents the metadata of the long-running operation.
499
+ # @!attribute [r] source_parallelstore
500
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceParallelstore]
501
+ # Output only. Parallelstore source.
502
+ # @!attribute [r] source_gcs_bucket
503
+ # @return [::Google::Cloud::Parallelstore::V1beta::SourceGcsBucket]
504
+ # Output only. Cloud Storage source.
505
+ # @!attribute [r] destination_gcs_bucket
506
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationGcsBucket]
507
+ # Output only. Cloud Storage destination.
508
+ # @!attribute [r] destination_parallelstore
509
+ # @return [::Google::Cloud::Parallelstore::V1beta::DestinationParallelstore]
510
+ # Output only. Parallelstore destination.
511
+ # @!attribute [r] counters
512
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferCounters]
513
+ # Output only. Information about the progress of the transfer operation.
514
+ # @!attribute [r] transfer_type
515
+ # @return [::Google::Cloud::Parallelstore::V1beta::TransferType]
516
+ # Output only. The type of transfer occurring.
517
+ class TransferOperationMetadata
518
+ include ::Google::Protobuf::MessageExts
519
+ extend ::Google::Protobuf::MessageExts::ClassMethods
520
+ end
521
+
522
+ # A collection of counters that report the progress of a transfer operation.
523
+ # @!attribute [rw] objects_found
524
+ # @return [::Integer]
525
+ # Objects found in the data source that are scheduled to be transferred,
526
+ # excluding any that are filtered based on object conditions or skipped due
527
+ # to sync.
528
+ # @!attribute [rw] bytes_found
529
+ # @return [::Integer]
530
+ # Bytes found in the data source that are scheduled to be transferred,
531
+ # excluding any that are filtered based on object conditions or skipped due
532
+ # to sync.
533
+ # @!attribute [rw] objects_skipped
534
+ # @return [::Integer]
535
+ # Objects in the data source that are not transferred because they already
536
+ # exist in the data destination.
537
+ # @!attribute [rw] bytes_skipped
538
+ # @return [::Integer]
539
+ # Bytes in the data source that are not transferred because they already
540
+ # exist in the data destination.
541
+ # @!attribute [rw] objects_copied
542
+ # @return [::Integer]
543
+ # Objects that are copied to the data destination.
544
+ # @!attribute [rw] bytes_copied
545
+ # @return [::Integer]
546
+ # Bytes that are copied to the data destination.
547
+ class TransferCounters
548
+ include ::Google::Protobuf::MessageExts
549
+ extend ::Google::Protobuf::MessageExts::ClassMethods
550
+ end
551
+
552
+ # Type of transfer that occurred.
553
+ module TransferType
554
+ # Zero is an illegal value.
555
+ TRANSFER_TYPE_UNSPECIFIED = 0
556
+
557
+ # Imports to Parallelstore.
558
+ IMPORT = 1
559
+
560
+ # Exports from Parallelstore.
561
+ EXPORT = 2
562
+ end
563
+ end
564
+ end
565
+ end
566
+ end