google-cloud-metastore-v1beta 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1077 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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 Metastore
23
+ module V1beta
24
+ # A managed metastore service that serves metadata queries.
25
+ # @!attribute [rw] hive_metastore_config
26
+ # @return [::Google::Cloud::Metastore::V1beta::HiveMetastoreConfig]
27
+ # Configuration information specific to running Hive metastore
28
+ # software as the metastore service.
29
+ # @!attribute [rw] name
30
+ # @return [::String]
31
+ # Immutable. The relative resource name of the metastore service, of the
32
+ # form:
33
+ #
34
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
35
+ # @!attribute [r] create_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The time when the metastore service was created.
38
+ # @!attribute [r] update_time
39
+ # @return [::Google::Protobuf::Timestamp]
40
+ # Output only. The time when the metastore service was last updated.
41
+ # @!attribute [rw] labels
42
+ # @return [::Google::Protobuf::Map{::String => ::String}]
43
+ # User-defined labels for the metastore service.
44
+ # @!attribute [rw] network
45
+ # @return [::String]
46
+ # Immutable. The relative resource name of the VPC network on which the
47
+ # instance can be accessed. It is specified in the following form:
48
+ #
49
+ # `projects/{project_number}/global/networks/{network_id}`.
50
+ # @!attribute [r] endpoint_uri
51
+ # @return [::String]
52
+ # Output only. The URI of the endpoint used to access the metastore service.
53
+ # @!attribute [rw] port
54
+ # @return [::Integer]
55
+ # The TCP port at which the metastore service is reached. Default: 9083.
56
+ # @!attribute [r] state
57
+ # @return [::Google::Cloud::Metastore::V1beta::Service::State]
58
+ # Output only. The current state of the metastore service.
59
+ # @!attribute [r] state_message
60
+ # @return [::String]
61
+ # Output only. Additional information about the current state of the
62
+ # metastore service, if available.
63
+ # @!attribute [r] artifact_gcs_uri
64
+ # @return [::String]
65
+ # Output only. A Cloud Storage URI (starting with `gs://`) that specifies
66
+ # where artifacts related to the metastore service are stored.
67
+ # @!attribute [rw] tier
68
+ # @return [::Google::Cloud::Metastore::V1beta::Service::Tier]
69
+ # The tier of the service.
70
+ # @!attribute [rw] metadata_integration
71
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataIntegration]
72
+ # The setting that defines how metastore metadata should be integrated with
73
+ # external services and systems.
74
+ # @!attribute [rw] maintenance_window
75
+ # @return [::Google::Cloud::Metastore::V1beta::MaintenanceWindow]
76
+ # The one hour maintenance window of the metastore service. This specifies
77
+ # when the service can be restarted for maintenance purposes in UTC time.
78
+ # @!attribute [r] uid
79
+ # @return [::String]
80
+ # Output only. The globally unique resource identifier of the metastore
81
+ # service.
82
+ # @!attribute [r] metadata_management_activity
83
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataManagementActivity]
84
+ # Output only. The metadata management activities of the metastore service.
85
+ # @!attribute [rw] release_channel
86
+ # @return [::Google::Cloud::Metastore::V1beta::Service::ReleaseChannel]
87
+ # Immutable. The release channel of the service.
88
+ # If unspecified, defaults to `STABLE`.
89
+ class Service
90
+ include ::Google::Protobuf::MessageExts
91
+ extend ::Google::Protobuf::MessageExts::ClassMethods
92
+
93
+ # @!attribute [rw] key
94
+ # @return [::String]
95
+ # @!attribute [rw] value
96
+ # @return [::String]
97
+ class LabelsEntry
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
101
+
102
+ # The current state of the metastore service.
103
+ module State
104
+ # The state of the metastore service is unknown.
105
+ STATE_UNSPECIFIED = 0
106
+
107
+ # The metastore service is in the process of being created.
108
+ CREATING = 1
109
+
110
+ # The metastore service is running and ready to serve queries.
111
+ ACTIVE = 2
112
+
113
+ # The metastore service is entering suspension. Its query-serving
114
+ # availability may cease unexpectedly.
115
+ SUSPENDING = 3
116
+
117
+ # The metastore service is suspended and unable to serve queries.
118
+ SUSPENDED = 4
119
+
120
+ # The metastore service is being updated. It remains usable but cannot
121
+ # accept additional update requests or be deleted at this time.
122
+ UPDATING = 5
123
+
124
+ # The metastore service is undergoing deletion. It cannot be used.
125
+ DELETING = 6
126
+
127
+ # The metastore service has encountered an error and cannot be used. The
128
+ # metastore service should be deleted.
129
+ ERROR = 7
130
+ end
131
+
132
+ # Available service tiers.
133
+ module Tier
134
+ # The tier is not set.
135
+ TIER_UNSPECIFIED = 0
136
+
137
+ # The developer tier provides limited scalability and no fault tolerance.
138
+ # Good for low-cost proof-of-concept.
139
+ DEVELOPER = 1
140
+
141
+ # The enterprise tier provides multi-zone high availability, and sufficient
142
+ # scalability for enterprise-level Dataproc Metastore workloads.
143
+ ENTERPRISE = 3
144
+ end
145
+
146
+ # Release channels bundle features of varying levels of stability. Newer
147
+ # features may be introduced initially into less stable release channels and
148
+ # can be automatically promoted into more stable release channels.
149
+ module ReleaseChannel
150
+ # Release channel is not specified.
151
+ RELEASE_CHANNEL_UNSPECIFIED = 0
152
+
153
+ # The `CANARY` release channel contains the newest features, which may be
154
+ # unstable and subject to unresolved issues with no known workarounds.
155
+ # Services using the `CANARY` release channel are not subject to any SLAs.
156
+ CANARY = 1
157
+
158
+ # The `STABLE` release channel contains features that are considered stable
159
+ # and have been validated for production use.
160
+ STABLE = 2
161
+ end
162
+ end
163
+
164
+ # Specifies how metastore metadata should be integrated with external services.
165
+ # @!attribute [rw] data_catalog_config
166
+ # @return [::Google::Cloud::Metastore::V1beta::DataCatalogConfig]
167
+ # The integration config for the Data Catalog service.
168
+ class MetadataIntegration
169
+ include ::Google::Protobuf::MessageExts
170
+ extend ::Google::Protobuf::MessageExts::ClassMethods
171
+ end
172
+
173
+ # Specifies how metastore metadata should be integrated with the Data Catalog
174
+ # service.
175
+ # @!attribute [rw] enabled
176
+ # @return [::Boolean]
177
+ # Defines whether the metastore metadata should be synced to Data Catalog.
178
+ # The default value is to disable syncing metastore metadata to Data Catalog.
179
+ class DataCatalogConfig
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # Maintenance window. This specifies when Dataproc Metastore
185
+ # may perform system maintenance operation to the service.
186
+ # @!attribute [rw] hour_of_day
187
+ # @return [::Google::Protobuf::Int32Value]
188
+ # The hour of day (0-23) when the window starts.
189
+ # @!attribute [rw] day_of_week
190
+ # @return [::Google::Type::DayOfWeek]
191
+ # The day of week, when the window starts.
192
+ class MaintenanceWindow
193
+ include ::Google::Protobuf::MessageExts
194
+ extend ::Google::Protobuf::MessageExts::ClassMethods
195
+ end
196
+
197
+ # Specifies configuration information specific to running Hive metastore
198
+ # software as the metastore service.
199
+ # @!attribute [rw] version
200
+ # @return [::String]
201
+ # Immutable. The Hive metastore schema version.
202
+ # @!attribute [rw] config_overrides
203
+ # @return [::Google::Protobuf::Map{::String => ::String}]
204
+ # A mapping of Hive metastore configuration key-value pairs to apply to the
205
+ # Hive metastore (configured in `hive-site.xml`). The mappings
206
+ # override system defaults (some keys cannot be overridden).
207
+ # @!attribute [rw] kerberos_config
208
+ # @return [::Google::Cloud::Metastore::V1beta::KerberosConfig]
209
+ # Information used to configure the Hive metastore service as a service
210
+ # principal in a Kerberos realm. To disable Kerberos, use the `UpdateService`
211
+ # method and specify this field's path
212
+ # (`hive_metastore_config.kerberos_config`) in the request's `update_mask`
213
+ # while omitting this field from the request's `service`.
214
+ class HiveMetastoreConfig
215
+ include ::Google::Protobuf::MessageExts
216
+ extend ::Google::Protobuf::MessageExts::ClassMethods
217
+
218
+ # @!attribute [rw] key
219
+ # @return [::String]
220
+ # @!attribute [rw] value
221
+ # @return [::String]
222
+ class ConfigOverridesEntry
223
+ include ::Google::Protobuf::MessageExts
224
+ extend ::Google::Protobuf::MessageExts::ClassMethods
225
+ end
226
+ end
227
+
228
+ # Configuration information for a Kerberos principal.
229
+ # @!attribute [rw] keytab
230
+ # @return [::Google::Cloud::Metastore::V1beta::Secret]
231
+ # A Kerberos keytab file that can be used to authenticate a service principal
232
+ # with a Kerberos Key Distribution Center (KDC).
233
+ # @!attribute [rw] principal
234
+ # @return [::String]
235
+ # A Kerberos principal that exists in the both the keytab the KDC
236
+ # to authenticate as. A typical principal is of the form
237
+ # `primary/instance@REALM`, but there is no exact format.
238
+ # @!attribute [rw] krb5_config_gcs_uri
239
+ # @return [::String]
240
+ # A Cloud Storage URI that specifies the path to a
241
+ # krb5.conf file. It is of the form gs://\\{bucket_name}/path/to/krb5.conf,
242
+ # although the file does not need to be named krb5.conf explicitly.
243
+ class KerberosConfig
244
+ include ::Google::Protobuf::MessageExts
245
+ extend ::Google::Protobuf::MessageExts::ClassMethods
246
+ end
247
+
248
+ # A securely stored value.
249
+ # @!attribute [rw] cloud_secret
250
+ # @return [::String]
251
+ # The relative resource name of a Secret Manager secret version, in the
252
+ # following form:
253
+ #
254
+ # `projects/{project_number}/secrets/{secret_id}/versions/{version_id}`.
255
+ class Secret
256
+ include ::Google::Protobuf::MessageExts
257
+ extend ::Google::Protobuf::MessageExts::ClassMethods
258
+ end
259
+
260
+ # The metadata management activities of the metastore service.
261
+ # @!attribute [r] metadata_exports
262
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::MetadataExport>]
263
+ # Output only. The latest metadata exports of the metastore service.
264
+ # @!attribute [r] restores
265
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::Restore>]
266
+ # Output only. The latest restores of the metastore service.
267
+ class MetadataManagementActivity
268
+ include ::Google::Protobuf::MessageExts
269
+ extend ::Google::Protobuf::MessageExts::ClassMethods
270
+ end
271
+
272
+ # A metastore resource that imports metadata.
273
+ # @!attribute [rw] database_dump
274
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataImport::DatabaseDump]
275
+ # Immutable. A database dump from a pre-existing metastore's database.
276
+ # @!attribute [rw] name
277
+ # @return [::String]
278
+ # Immutable. The relative resource name of the metadata import, of the form:
279
+ #
280
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}`.
281
+ # @!attribute [rw] description
282
+ # @return [::String]
283
+ # The description of the metadata import.
284
+ # @!attribute [r] create_time
285
+ # @return [::Google::Protobuf::Timestamp]
286
+ # Output only. The time when the metadata import was created.
287
+ # @!attribute [r] update_time
288
+ # @return [::Google::Protobuf::Timestamp]
289
+ # Output only. The time when the metadata import was last updated.
290
+ # @!attribute [r] state
291
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataImport::State]
292
+ # Output only. The current state of the metadata import.
293
+ class MetadataImport
294
+ include ::Google::Protobuf::MessageExts
295
+ extend ::Google::Protobuf::MessageExts::ClassMethods
296
+
297
+ # A specification of the location of and metadata about a database dump from
298
+ # a relational database management system.
299
+ # @!attribute [rw] database_type
300
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataImport::DatabaseDump::DatabaseType]
301
+ # The type of the database.
302
+ # @!attribute [rw] gcs_uri
303
+ # @return [::String]
304
+ # A Cloud Storage object or folder URI that specifies the source from which
305
+ # to import metadata. It must begin with `gs://`.
306
+ # @!attribute [rw] source_database
307
+ # @return [::String]
308
+ # The name of the source database.
309
+ # @!attribute [rw] type
310
+ # @return [::Google::Cloud::Metastore::V1beta::DatabaseDumpSpec::Type]
311
+ # Optional. The type of the database dump. If unspecified, defaults to
312
+ # `MYSQL`.
313
+ class DatabaseDump
314
+ include ::Google::Protobuf::MessageExts
315
+ extend ::Google::Protobuf::MessageExts::ClassMethods
316
+
317
+ # The type of the database.
318
+ module DatabaseType
319
+ # The type of the source database is unknown.
320
+ DATABASE_TYPE_UNSPECIFIED = 0
321
+
322
+ # The type of the source database is MySQL.
323
+ MYSQL = 1
324
+ end
325
+ end
326
+
327
+ # The current state of the metadata import.
328
+ module State
329
+ # The state of the metadata import is unknown.
330
+ STATE_UNSPECIFIED = 0
331
+
332
+ # The metadata import is running.
333
+ RUNNING = 1
334
+
335
+ # The metadata import completed successfully.
336
+ SUCCEEDED = 2
337
+
338
+ # The metadata import is being updated.
339
+ UPDATING = 3
340
+
341
+ # The metadata import failed, and attempted metadata changes were rolled
342
+ # back.
343
+ FAILED = 4
344
+ end
345
+ end
346
+
347
+ # The details of a metadata export operation.
348
+ # @!attribute [r] destination_gcs_uri
349
+ # @return [::String]
350
+ # Output only. A Cloud Storage URI of a folder that metadata are exported
351
+ # to, in the form of
352
+ # `gs://<bucket_name>/<path_inside_bucket>/<export_folder>`, where
353
+ # `<export_folder>` is automatically generated.
354
+ # @!attribute [r] start_time
355
+ # @return [::Google::Protobuf::Timestamp]
356
+ # Output only. The time when the export started.
357
+ # @!attribute [r] end_time
358
+ # @return [::Google::Protobuf::Timestamp]
359
+ # Output only. The time when the export ended.
360
+ # @!attribute [r] state
361
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataExport::State]
362
+ # Output only. The current state of the export.
363
+ # @!attribute [r] database_dump_type
364
+ # @return [::Google::Cloud::Metastore::V1beta::DatabaseDumpSpec::Type]
365
+ # Output only. The type of the database dump.
366
+ class MetadataExport
367
+ include ::Google::Protobuf::MessageExts
368
+ extend ::Google::Protobuf::MessageExts::ClassMethods
369
+
370
+ # The current state of the metadata export.
371
+ module State
372
+ # The state of the metadata export is unknown.
373
+ STATE_UNSPECIFIED = 0
374
+
375
+ # The metadata export is running.
376
+ RUNNING = 1
377
+
378
+ # The metadata export completed successfully.
379
+ SUCCEEDED = 2
380
+
381
+ # The metadata export failed.
382
+ FAILED = 3
383
+
384
+ # The metadata export is cancelled.
385
+ CANCELLED = 4
386
+ end
387
+ end
388
+
389
+ # The details of a backup resource.
390
+ # @!attribute [rw] name
391
+ # @return [::String]
392
+ # Immutable. The relative resource name of the backup, in the following form:
393
+ #
394
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
395
+ # @!attribute [r] create_time
396
+ # @return [::Google::Protobuf::Timestamp]
397
+ # Output only. The time when the backup was started.
398
+ # @!attribute [r] end_time
399
+ # @return [::Google::Protobuf::Timestamp]
400
+ # Output only. The time when the backup finished creating.
401
+ # @!attribute [r] state
402
+ # @return [::Google::Cloud::Metastore::V1beta::Backup::State]
403
+ # Output only. The current state of the backup.
404
+ # @!attribute [r] service_revision
405
+ # @return [::Google::Cloud::Metastore::V1beta::Service]
406
+ # Output only. The revision of the service at the time of backup.
407
+ # @!attribute [rw] description
408
+ # @return [::String]
409
+ # The description of the backup.
410
+ class Backup
411
+ include ::Google::Protobuf::MessageExts
412
+ extend ::Google::Protobuf::MessageExts::ClassMethods
413
+
414
+ # The current state of the backup.
415
+ module State
416
+ # The state of the backup is unknown.
417
+ STATE_UNSPECIFIED = 0
418
+
419
+ # The backup is being created.
420
+ CREATING = 1
421
+
422
+ # The backup is being deleted.
423
+ DELETING = 2
424
+
425
+ # The backup is active and ready to use.
426
+ ACTIVE = 3
427
+
428
+ # The backup failed.
429
+ FAILED = 4
430
+ end
431
+ end
432
+
433
+ # The details of a metadata restore operation.
434
+ # @!attribute [r] start_time
435
+ # @return [::Google::Protobuf::Timestamp]
436
+ # Output only. The time when the restore started.
437
+ # @!attribute [r] end_time
438
+ # @return [::Google::Protobuf::Timestamp]
439
+ # Output only. The time when the restore ended.
440
+ # @!attribute [r] state
441
+ # @return [::Google::Cloud::Metastore::V1beta::Restore::State]
442
+ # Output only. The current state of the restore.
443
+ # @!attribute [r] backup
444
+ # @return [::String]
445
+ # Output only. The relative resource name of the metastore service backup to
446
+ # restore from, in the following form:
447
+ #
448
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
449
+ # @!attribute [r] type
450
+ # @return [::Google::Cloud::Metastore::V1beta::Restore::RestoreType]
451
+ # Output only. The type of restore.
452
+ # @!attribute [r] details
453
+ # @return [::String]
454
+ # Output only. The restore details containing the revision of the service to
455
+ # be restored to, in format of JSON.
456
+ class Restore
457
+ include ::Google::Protobuf::MessageExts
458
+ extend ::Google::Protobuf::MessageExts::ClassMethods
459
+
460
+ # The current state of the restore.
461
+ module State
462
+ # The state of the metadata restore is unknown.
463
+ STATE_UNSPECIFIED = 0
464
+
465
+ # The metadata restore is running.
466
+ RUNNING = 1
467
+
468
+ # The metadata restore completed successfully.
469
+ SUCCEEDED = 2
470
+
471
+ # The metadata restore failed.
472
+ FAILED = 3
473
+
474
+ # The metadata restore is cancelled.
475
+ CANCELLED = 4
476
+ end
477
+
478
+ # The type of restore.
479
+ module RestoreType
480
+ # The restore type is unknown.
481
+ RESTORE_TYPE_UNSPECIFIED = 0
482
+
483
+ # The service's metadata and configuration are restored.
484
+ FULL = 1
485
+
486
+ # Only the service's metadata is restored.
487
+ METADATA_ONLY = 2
488
+ end
489
+ end
490
+
491
+ # Request message for
492
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}.
493
+ # @!attribute [rw] parent
494
+ # @return [::String]
495
+ # Required. The relative resource name of the location of metastore services
496
+ # to list, in the following form:
497
+ #
498
+ # `projects/{project_number}/locations/{location_id}`.
499
+ # @!attribute [rw] page_size
500
+ # @return [::Integer]
501
+ # Optional. The maximum number of services to return. The response may
502
+ # contain less than the maximum number. If unspecified, no more than 500
503
+ # services are returned. The maximum value is 1000; values above 1000 are
504
+ # changed to 1000.
505
+ # @!attribute [rw] page_token
506
+ # @return [::String]
507
+ # Optional. A page token, received from a previous
508
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
509
+ # call. Provide this token to retrieve the subsequent page.
510
+ #
511
+ # To retrieve the first page, supply an empty page token.
512
+ #
513
+ # When paginating, other parameters provided to
514
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
515
+ # must match the call that provided the page token.
516
+ # @!attribute [rw] filter
517
+ # @return [::String]
518
+ # Optional. The filter to apply to list results.
519
+ # @!attribute [rw] order_by
520
+ # @return [::String]
521
+ # Optional. Specify the ordering of results as described in [Sorting
522
+ # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
523
+ # If not specified, the results will be sorted in the default order.
524
+ class ListServicesRequest
525
+ include ::Google::Protobuf::MessageExts
526
+ extend ::Google::Protobuf::MessageExts::ClassMethods
527
+ end
528
+
529
+ # Response message for
530
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}.
531
+ # @!attribute [rw] services
532
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::Service>]
533
+ # The services in the specified location.
534
+ # @!attribute [rw] next_page_token
535
+ # @return [::String]
536
+ # A token that can be sent as `page_token` to retrieve the next page. If this
537
+ # field is omitted, there are no subsequent pages.
538
+ # @!attribute [rw] unreachable
539
+ # @return [::Array<::String>]
540
+ # Locations that could not be reached.
541
+ class ListServicesResponse
542
+ include ::Google::Protobuf::MessageExts
543
+ extend ::Google::Protobuf::MessageExts::ClassMethods
544
+ end
545
+
546
+ # Request message for
547
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#get_service DataprocMetastore.GetService}.
548
+ # @!attribute [rw] name
549
+ # @return [::String]
550
+ # Required. The relative resource name of the metastore service to retrieve,
551
+ # in the following form:
552
+ #
553
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
554
+ class GetServiceRequest
555
+ include ::Google::Protobuf::MessageExts
556
+ extend ::Google::Protobuf::MessageExts::ClassMethods
557
+ end
558
+
559
+ # Request message for
560
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#create_service DataprocMetastore.CreateService}.
561
+ # @!attribute [rw] parent
562
+ # @return [::String]
563
+ # Required. The relative resource name of the location in which to create a
564
+ # metastore service, in the following form:
565
+ #
566
+ # `projects/{project_number}/locations/{location_id}`.
567
+ # @!attribute [rw] service_id
568
+ # @return [::String]
569
+ # Required. The ID of the metastore service, which is used as the final
570
+ # component of the metastore service's name.
571
+ #
572
+ # This value must be between 2 and 63 characters long inclusive, begin with a
573
+ # letter, end with a letter or number, and consist of alpha-numeric
574
+ # ASCII characters or hyphens.
575
+ # @!attribute [rw] service
576
+ # @return [::Google::Cloud::Metastore::V1beta::Service]
577
+ # Required. The Metastore service to create. The `name` field is
578
+ # ignored. The ID of the created metastore service must be provided in
579
+ # the request's `service_id` field.
580
+ # @!attribute [rw] request_id
581
+ # @return [::String]
582
+ # Optional. A request ID. Specify a unique request ID to allow the server to
583
+ # ignore the request if it has completed. The server will ignore subsequent
584
+ # requests that provide a duplicate request ID for at least 60 minutes after
585
+ # the first request.
586
+ #
587
+ # For example, if an initial request times out, followed by another request
588
+ # with the same request ID, the server ignores the second request to prevent
589
+ # the creation of duplicate commitments.
590
+ #
591
+ # The request ID must be a valid
592
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
593
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
594
+ class CreateServiceRequest
595
+ include ::Google::Protobuf::MessageExts
596
+ extend ::Google::Protobuf::MessageExts::ClassMethods
597
+ end
598
+
599
+ # Request message for
600
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#update_service DataprocMetastore.UpdateService}.
601
+ # @!attribute [rw] update_mask
602
+ # @return [::Google::Protobuf::FieldMask]
603
+ # Required. A field mask used to specify the fields to be overwritten in the
604
+ # metastore service resource by the update.
605
+ # Fields specified in the `update_mask` are relative to the resource (not
606
+ # to the full request). A field is overwritten if it is in the mask.
607
+ # @!attribute [rw] service
608
+ # @return [::Google::Cloud::Metastore::V1beta::Service]
609
+ # Required. The metastore service to update. The server only merges fields
610
+ # in the service if they are specified in `update_mask`.
611
+ #
612
+ # The metastore service's `name` field is used to identify the metastore
613
+ # service to be updated.
614
+ # @!attribute [rw] request_id
615
+ # @return [::String]
616
+ # Optional. A request ID. Specify a unique request ID to allow the server to
617
+ # ignore the request if it has completed. The server will ignore subsequent
618
+ # requests that provide a duplicate request ID for at least 60 minutes after
619
+ # the first request.
620
+ #
621
+ # For example, if an initial request times out, followed by another request
622
+ # with the same request ID, the server ignores the second request to prevent
623
+ # the creation of duplicate commitments.
624
+ #
625
+ # The request ID must be a valid
626
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
627
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
628
+ class UpdateServiceRequest
629
+ include ::Google::Protobuf::MessageExts
630
+ extend ::Google::Protobuf::MessageExts::ClassMethods
631
+ end
632
+
633
+ # Request message for
634
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#delete_service DataprocMetastore.DeleteService}.
635
+ # @!attribute [rw] name
636
+ # @return [::String]
637
+ # Required. The relative resource name of the metastore service to delete, in
638
+ # the following form:
639
+ #
640
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}`.
641
+ # @!attribute [rw] request_id
642
+ # @return [::String]
643
+ # Optional. A request ID. Specify a unique request ID to allow the server to
644
+ # ignore the request if it has completed. The server will ignore subsequent
645
+ # requests that provide a duplicate request ID for at least 60 minutes after
646
+ # the first request.
647
+ #
648
+ # For example, if an initial request times out, followed by another request
649
+ # with the same request ID, the server ignores the second request to prevent
650
+ # the creation of duplicate commitments.
651
+ #
652
+ # The request ID must be a valid
653
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
654
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
655
+ class DeleteServiceRequest
656
+ include ::Google::Protobuf::MessageExts
657
+ extend ::Google::Protobuf::MessageExts::ClassMethods
658
+ end
659
+
660
+ # Request message for
661
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_metadata_imports DataprocMetastore.ListMetadataImports}.
662
+ # @!attribute [rw] parent
663
+ # @return [::String]
664
+ # Required. The relative resource name of the service whose metadata imports
665
+ # to list, in the following form:
666
+ #
667
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.
668
+ # @!attribute [rw] page_size
669
+ # @return [::Integer]
670
+ # Optional. The maximum number of imports to return. The response may contain
671
+ # less than the maximum number. If unspecified, no more than 500 imports are
672
+ # returned. The maximum value is 1000; values above 1000 are changed to 1000.
673
+ # @!attribute [rw] page_token
674
+ # @return [::String]
675
+ # Optional. A page token, received from a previous
676
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
677
+ # call. Provide this token to retrieve the subsequent page.
678
+ #
679
+ # To retrieve the first page, supply an empty page token.
680
+ #
681
+ # When paginating, other parameters provided to
682
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_services DataprocMetastore.ListServices}
683
+ # must match the call that provided the page token.
684
+ # @!attribute [rw] filter
685
+ # @return [::String]
686
+ # Optional. The filter to apply to list results.
687
+ # @!attribute [rw] order_by
688
+ # @return [::String]
689
+ # Optional. Specify the ordering of results as described in [Sorting
690
+ # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
691
+ # If not specified, the results will be sorted in the default order.
692
+ class ListMetadataImportsRequest
693
+ include ::Google::Protobuf::MessageExts
694
+ extend ::Google::Protobuf::MessageExts::ClassMethods
695
+ end
696
+
697
+ # Response message for
698
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_metadata_imports DataprocMetastore.ListMetadataImports}.
699
+ # @!attribute [rw] metadata_imports
700
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::MetadataImport>]
701
+ # The imports in the specified service.
702
+ # @!attribute [rw] next_page_token
703
+ # @return [::String]
704
+ # A token that can be sent as `page_token` to retrieve the next page. If this
705
+ # field is omitted, there are no subsequent pages.
706
+ # @!attribute [rw] unreachable
707
+ # @return [::Array<::String>]
708
+ # Locations that could not be reached.
709
+ class ListMetadataImportsResponse
710
+ include ::Google::Protobuf::MessageExts
711
+ extend ::Google::Protobuf::MessageExts::ClassMethods
712
+ end
713
+
714
+ # Request message for
715
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#get_metadata_import DataprocMetastore.GetMetadataImport}.
716
+ # @!attribute [rw] name
717
+ # @return [::String]
718
+ # Required. The relative resource name of the metadata import to retrieve, in
719
+ # the following form:
720
+ #
721
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`.
722
+ class GetMetadataImportRequest
723
+ include ::Google::Protobuf::MessageExts
724
+ extend ::Google::Protobuf::MessageExts::ClassMethods
725
+ end
726
+
727
+ # Request message for
728
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#create_metadata_import DataprocMetastore.CreateMetadataImport}.
729
+ # @!attribute [rw] parent
730
+ # @return [::String]
731
+ # Required. The relative resource name of the service in which to create a
732
+ # metastore import, in the following form:
733
+ #
734
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}`
735
+ # @!attribute [rw] metadata_import_id
736
+ # @return [::String]
737
+ # Required. The ID of the metadata import, which is used as the final
738
+ # component of the metadata import's name.
739
+ #
740
+ # This value must be between 1 and 64 characters long, begin with a letter,
741
+ # end with a letter or number, and consist of alpha-numeric ASCII characters
742
+ # or hyphens.
743
+ # @!attribute [rw] metadata_import
744
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataImport]
745
+ # Required. The metadata import to create. The `name` field is ignored. The
746
+ # ID of the created metadata import must be provided in the request's
747
+ # `metadata_import_id` field.
748
+ # @!attribute [rw] request_id
749
+ # @return [::String]
750
+ # Optional. A request ID. Specify a unique request ID to allow the server to
751
+ # ignore the request if it has completed. The server will ignore subsequent
752
+ # requests that provide a duplicate request ID for at least 60 minutes after
753
+ # the first request.
754
+ #
755
+ # For example, if an initial request times out, followed by another request
756
+ # with the same request ID, the server ignores the second request to prevent
757
+ # the creation of duplicate commitments.
758
+ #
759
+ # The request ID must be a valid
760
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
761
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
762
+ class CreateMetadataImportRequest
763
+ include ::Google::Protobuf::MessageExts
764
+ extend ::Google::Protobuf::MessageExts::ClassMethods
765
+ end
766
+
767
+ # Request message for
768
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#update_metadata_import DataprocMetastore.UpdateMetadataImport}.
769
+ # @!attribute [rw] update_mask
770
+ # @return [::Google::Protobuf::FieldMask]
771
+ # Required. A field mask used to specify the fields to be overwritten in the
772
+ # metadata import resource by the update.
773
+ # Fields specified in the `update_mask` are relative to the resource (not
774
+ # to the full request). A field is overwritten if it is in the mask.
775
+ # @!attribute [rw] metadata_import
776
+ # @return [::Google::Cloud::Metastore::V1beta::MetadataImport]
777
+ # Required. The metadata import to update. The server only merges fields
778
+ # in the import if they are specified in `update_mask`.
779
+ #
780
+ # The metadata import's `name` field is used to identify the metastore
781
+ # import to be updated.
782
+ # @!attribute [rw] request_id
783
+ # @return [::String]
784
+ # Optional. A request ID. Specify a unique request ID to allow the server to
785
+ # ignore the request if it has completed. The server will ignore subsequent
786
+ # requests that provide a duplicate request ID for at least 60 minutes after
787
+ # the first request.
788
+ #
789
+ # For example, if an initial request times out, followed by another request
790
+ # with the same request ID, the server ignores the second request to prevent
791
+ # the creation of duplicate commitments.
792
+ #
793
+ # The request ID must be a valid
794
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
795
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
796
+ class UpdateMetadataImportRequest
797
+ include ::Google::Protobuf::MessageExts
798
+ extend ::Google::Protobuf::MessageExts::ClassMethods
799
+ end
800
+
801
+ # Request message for
802
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}.
803
+ # @!attribute [rw] parent
804
+ # @return [::String]
805
+ # Required. The relative resource name of the service whose backups to
806
+ # list, in the following form:
807
+ #
808
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups`.
809
+ # @!attribute [rw] page_size
810
+ # @return [::Integer]
811
+ # Optional. The maximum number of backups to return. The response may contain
812
+ # less than the maximum number. If unspecified, no more than 500 backups are
813
+ # returned. The maximum value is 1000; values above 1000 are changed to 1000.
814
+ # @!attribute [rw] page_token
815
+ # @return [::String]
816
+ # Optional. A page token, received from a previous
817
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
818
+ # call. Provide this token to retrieve the subsequent page.
819
+ #
820
+ # To retrieve the first page, supply an empty page token.
821
+ #
822
+ # When paginating, other parameters provided to
823
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}
824
+ # must match the call that provided the page token.
825
+ # @!attribute [rw] filter
826
+ # @return [::String]
827
+ # Optional. The filter to apply to list results.
828
+ # @!attribute [rw] order_by
829
+ # @return [::String]
830
+ # Optional. Specify the ordering of results as described in [Sorting
831
+ # Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
832
+ # If not specified, the results will be sorted in the default order.
833
+ class ListBackupsRequest
834
+ include ::Google::Protobuf::MessageExts
835
+ extend ::Google::Protobuf::MessageExts::ClassMethods
836
+ end
837
+
838
+ # Response message for
839
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#list_backups DataprocMetastore.ListBackups}.
840
+ # @!attribute [rw] backups
841
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::Backup>]
842
+ # The backups of the specified service.
843
+ # @!attribute [rw] next_page_token
844
+ # @return [::String]
845
+ # A token that can be sent as `page_token` to retrieve the next page. If this
846
+ # field is omitted, there are no subsequent pages.
847
+ # @!attribute [rw] unreachable
848
+ # @return [::Array<::String>]
849
+ # Locations that could not be reached.
850
+ class ListBackupsResponse
851
+ include ::Google::Protobuf::MessageExts
852
+ extend ::Google::Protobuf::MessageExts::ClassMethods
853
+ end
854
+
855
+ # Request message for
856
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#get_backup DataprocMetastore.GetBackup}.
857
+ # @!attribute [rw] name
858
+ # @return [::String]
859
+ # Required. The relative resource name of the backup to retrieve, in the
860
+ # following form:
861
+ #
862
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
863
+ class GetBackupRequest
864
+ include ::Google::Protobuf::MessageExts
865
+ extend ::Google::Protobuf::MessageExts::ClassMethods
866
+ end
867
+
868
+ # Request message for
869
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#create_backup DataprocMetastore.CreateBackup}.
870
+ # @!attribute [rw] parent
871
+ # @return [::String]
872
+ # Required. The relative resource name of the service in which to create a
873
+ # backup of the following form:
874
+ #
875
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}`
876
+ # @!attribute [rw] backup_id
877
+ # @return [::String]
878
+ # Required. The ID of the backup, which is used as the final component of the
879
+ # backup's name.
880
+ #
881
+ # This value must be between 1 and 64 characters long, begin with a letter,
882
+ # end with a letter or number, and consist of alpha-numeric ASCII characters
883
+ # or hyphens.
884
+ # @!attribute [rw] backup
885
+ # @return [::Google::Cloud::Metastore::V1beta::Backup]
886
+ # Required. The backup to create. The `name` field is ignored. The ID of the
887
+ # created backup must be provided in the request's `backup_id` field.
888
+ # @!attribute [rw] request_id
889
+ # @return [::String]
890
+ # Optional. A request ID. Specify a unique request ID to allow the server to
891
+ # ignore the request if it has completed. The server will ignore subsequent
892
+ # requests that provide a duplicate request ID for at least 60 minutes after
893
+ # the first request.
894
+ #
895
+ # For example, if an initial request times out, followed by another request
896
+ # with the same request ID, the server ignores the second request to prevent
897
+ # the creation of duplicate commitments.
898
+ #
899
+ # The request ID must be a valid
900
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
901
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
902
+ class CreateBackupRequest
903
+ include ::Google::Protobuf::MessageExts
904
+ extend ::Google::Protobuf::MessageExts::ClassMethods
905
+ end
906
+
907
+ # Request message for
908
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#delete_backup DataprocMetastore.DeleteBackup}.
909
+ # @!attribute [rw] name
910
+ # @return [::String]
911
+ # Required. The relative resource name of the backup to delete, in the
912
+ # following form:
913
+ #
914
+ # `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
915
+ # @!attribute [rw] request_id
916
+ # @return [::String]
917
+ # Optional. A request ID. Specify a unique request ID to allow the server to
918
+ # ignore the request if it has completed. The server will ignore subsequent
919
+ # requests that provide a duplicate request ID for at least 60 minutes after
920
+ # the first request.
921
+ #
922
+ # For example, if an initial request times out, followed by another request
923
+ # with the same request ID, the server ignores the second request to prevent
924
+ # the creation of duplicate commitments.
925
+ #
926
+ # The request ID must be a valid
927
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
928
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
929
+ class DeleteBackupRequest
930
+ include ::Google::Protobuf::MessageExts
931
+ extend ::Google::Protobuf::MessageExts::ClassMethods
932
+ end
933
+
934
+ # Request message for
935
+ # {::Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#export_metadata DataprocMetastore.ExportMetadata}.
936
+ # @!attribute [rw] destination_gcs_folder
937
+ # @return [::String]
938
+ # A Cloud Storage URI of a folder, in the format
939
+ # `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder
940
+ # `<export_folder>` containing exported files will be created below it.
941
+ # @!attribute [rw] service
942
+ # @return [::String]
943
+ # Required. The relative resource name of the metastore service to run
944
+ # export, in the following form:
945
+ #
946
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}`
947
+ # @!attribute [rw] request_id
948
+ # @return [::String]
949
+ # Optional. A request ID. Specify a unique request ID to allow the server to
950
+ # ignore the request if it has completed. The server will ignore subsequent
951
+ # requests that provide a duplicate request ID for at least 60 minutes after
952
+ # the first request.
953
+ #
954
+ # For example, if an initial request times out, followed by another request
955
+ # with the same request ID, the server ignores the second request to prevent
956
+ # the creation of duplicate commitments.
957
+ #
958
+ # The request ID must be a valid
959
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
960
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
961
+ # @!attribute [rw] database_dump_type
962
+ # @return [::Google::Cloud::Metastore::V1beta::DatabaseDumpSpec::Type]
963
+ # Optional. The type of the database dump. If unspecified, defaults to
964
+ # `MYSQL`.
965
+ class ExportMetadataRequest
966
+ include ::Google::Protobuf::MessageExts
967
+ extend ::Google::Protobuf::MessageExts::ClassMethods
968
+ end
969
+
970
+ # Request message for [DataprocMetastore.Restore][].
971
+ # @!attribute [rw] service
972
+ # @return [::String]
973
+ # Required. The relative resource name of the metastore service to run
974
+ # restore, in the following form:
975
+ #
976
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}`
977
+ # @!attribute [rw] backup
978
+ # @return [::String]
979
+ # Required. The relative resource name of the metastore service backup to
980
+ # restore from, in the following form:
981
+ #
982
+ # `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`
983
+ # @!attribute [rw] restore_type
984
+ # @return [::Google::Cloud::Metastore::V1beta::Restore::RestoreType]
985
+ # Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
986
+ # @!attribute [rw] request_id
987
+ # @return [::String]
988
+ # Optional. A request ID. Specify a unique request ID to allow the server to
989
+ # ignore the request if it has completed. The server will ignore subsequent
990
+ # requests that provide a duplicate request ID for at least 60 minutes after
991
+ # the first request.
992
+ #
993
+ # For example, if an initial request times out, followed by another request
994
+ # with the same request ID, the server ignores the second request to prevent
995
+ # the creation of duplicate commitments.
996
+ #
997
+ # The request ID must be a valid
998
+ # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
999
+ # A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
1000
+ class RestoreServiceRequest
1001
+ include ::Google::Protobuf::MessageExts
1002
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1003
+ end
1004
+
1005
+ # Represents the metadata of a long-running operation.
1006
+ # @!attribute [r] create_time
1007
+ # @return [::Google::Protobuf::Timestamp]
1008
+ # Output only. The time the operation was created.
1009
+ # @!attribute [r] end_time
1010
+ # @return [::Google::Protobuf::Timestamp]
1011
+ # Output only. The time the operation finished running.
1012
+ # @!attribute [r] target
1013
+ # @return [::String]
1014
+ # Output only. Server-defined resource path for the target of the operation.
1015
+ # @!attribute [r] verb
1016
+ # @return [::String]
1017
+ # Output only. Name of the verb executed by the operation.
1018
+ # @!attribute [r] status_message
1019
+ # @return [::String]
1020
+ # Output only. Human-readable status of the operation, if any.
1021
+ # @!attribute [r] requested_cancellation
1022
+ # @return [::Boolean]
1023
+ # Output only. Identifies whether the caller has requested cancellation
1024
+ # of the operation. Operations that have successfully been cancelled
1025
+ # have [Operation.error][] value with a
1026
+ # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
1027
+ # `Code.CANCELLED`.
1028
+ # @!attribute [r] api_version
1029
+ # @return [::String]
1030
+ # Output only. API version used to start the operation.
1031
+ class OperationMetadata
1032
+ include ::Google::Protobuf::MessageExts
1033
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1034
+ end
1035
+
1036
+ # Metadata about the service in a location.
1037
+ # @!attribute [rw] supported_hive_metastore_versions
1038
+ # @return [::Array<::Google::Cloud::Metastore::V1beta::LocationMetadata::HiveMetastoreVersion>]
1039
+ # The versions of Hive Metastore that can be used when creating a new
1040
+ # metastore service in this location. The server guarantees that exactly one
1041
+ # `HiveMetastoreVersion` in the list will set `is_default`.
1042
+ class LocationMetadata
1043
+ include ::Google::Protobuf::MessageExts
1044
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1045
+
1046
+ # A specification of a supported version of the Hive Metastore software.
1047
+ # @!attribute [rw] version
1048
+ # @return [::String]
1049
+ # The semantic version of the Hive Metastore software.
1050
+ # @!attribute [rw] is_default
1051
+ # @return [::Boolean]
1052
+ # Whether `version` will be chosen by the server if a metastore service is
1053
+ # created with a `HiveMetastoreConfig` that omits the `version`.
1054
+ class HiveMetastoreVersion
1055
+ include ::Google::Protobuf::MessageExts
1056
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1057
+ end
1058
+ end
1059
+
1060
+ # The specification of database dump to import from or export to.
1061
+ class DatabaseDumpSpec
1062
+ include ::Google::Protobuf::MessageExts
1063
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1064
+
1065
+ # The type of the database dump.
1066
+ module Type
1067
+ # The type of the database dump is unknown.
1068
+ TYPE_UNSPECIFIED = 0
1069
+
1070
+ # Database dump is a MySQL dump file.
1071
+ MYSQL = 1
1072
+ end
1073
+ end
1074
+ end
1075
+ end
1076
+ end
1077
+ end