google-apis-metastore_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,834 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module MetastoreV2
24
+
25
+ class GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudMetastoreV1CustomRegionMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudMetastoreV1ErrorDetails
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudMetastoreV1HiveMetastoreVersion
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudMetastoreV1LocationMetadata
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudMetastoreV1MoveTableToDatabaseResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudMetastoreV1MultiRegionMetadata
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudMetastoreV1OperationMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudMetastoreV1QueryMetadataResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudMetastoreV1alphaCancelMigrationResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudMetastoreV1alphaCompleteMigrationResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudMetastoreV1alphaCustomRegionMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudMetastoreV1alphaErrorDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudMetastoreV1alphaHiveMetastoreVersion
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudMetastoreV1alphaLocationMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudMetastoreV1alphaMultiRegionMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudMetastoreV1alphaOperationMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudMetastoreV1alphaQueryMetadataResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudMetastoreV1betaCancelMigrationResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudMetastoreV1betaCompleteMigrationResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudMetastoreV1betaCustomRegionMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudMetastoreV1betaErrorDetails
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudMetastoreV1betaHiveMetastoreVersion
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudMetastoreV1betaLocationMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudMetastoreV1betaMultiRegionMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudMetastoreV1betaOperationMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudMetastoreV1betaQueryMetadataResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudMetastoreV2AlterTablePropertiesRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudMetastoreV2AuxiliaryVersionConfig
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudMetastoreV2Backup
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudMetastoreV2DataCatalogConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudMetastoreV2DatabaseDump
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudMetastoreV2EncryptionConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudMetastoreV2Endpoint
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudMetastoreV2ExportMetadataRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudMetastoreV2HiveMetastoreConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudMetastoreV2ImportMetadataRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudMetastoreV2LatestBackup
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudMetastoreV2ListBackupsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudMetastoreV2ListServicesResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudMetastoreV2MetadataIntegration
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudMetastoreV2MoveTableToDatabaseRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudMetastoreV2QueryMetadataRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudMetastoreV2RestoreServiceRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudMetastoreV2ScalingConfig
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudMetastoreV2ScheduledBackup
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudMetastoreV2Service
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleLongrunningOperation
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleRpcStatus
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse
350
+ # @private
351
+ class Representation < Google::Apis::Core::JsonRepresentation
352
+ end
353
+ end
354
+
355
+ class GoogleCloudMetastoreV1CustomRegionMetadata
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
359
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
360
+ property :witness_region, as: 'witnessRegion'
361
+ end
362
+ end
363
+
364
+ class GoogleCloudMetastoreV1ErrorDetails
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ hash :details, as: 'details'
368
+ end
369
+ end
370
+
371
+ class GoogleCloudMetastoreV1HiveMetastoreVersion
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :is_default, as: 'isDefault'
375
+ property :version, as: 'version'
376
+ end
377
+ end
378
+
379
+ class GoogleCloudMetastoreV1LocationMetadata
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1CustomRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1CustomRegionMetadata::Representation
383
+
384
+ property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1MultiRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1MultiRegionMetadata::Representation
385
+
386
+ collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1HiveMetastoreVersion, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1HiveMetastoreVersion::Representation
387
+
388
+ end
389
+ end
390
+
391
+ class GoogleCloudMetastoreV1MoveTableToDatabaseResponse
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ end
395
+ end
396
+
397
+ class GoogleCloudMetastoreV1MultiRegionMetadata
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ collection :constituent_regions, as: 'constituentRegions'
401
+ end
402
+ end
403
+
404
+ class GoogleCloudMetastoreV1OperationMetadata
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :api_version, as: 'apiVersion'
408
+ property :create_time, as: 'createTime'
409
+ property :end_time, as: 'endTime'
410
+ property :requested_cancellation, as: 'requestedCancellation'
411
+ property :status_message, as: 'statusMessage'
412
+ property :target, as: 'target'
413
+ property :verb, as: 'verb'
414
+ end
415
+ end
416
+
417
+ class GoogleCloudMetastoreV1QueryMetadataResponse
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ property :result_manifest_uri, as: 'resultManifestUri'
421
+ end
422
+ end
423
+
424
+ class GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ end
428
+ end
429
+
430
+ class GoogleCloudMetastoreV1alphaCancelMigrationResponse
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :migration_execution, as: 'migrationExecution'
434
+ end
435
+ end
436
+
437
+ class GoogleCloudMetastoreV1alphaCompleteMigrationResponse
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :migration_execution, as: 'migrationExecution'
441
+ end
442
+ end
443
+
444
+ class GoogleCloudMetastoreV1alphaCustomRegionMetadata
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
448
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
449
+ property :witness_region, as: 'witnessRegion'
450
+ end
451
+ end
452
+
453
+ class GoogleCloudMetastoreV1alphaErrorDetails
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ hash :details, as: 'details'
457
+ end
458
+ end
459
+
460
+ class GoogleCloudMetastoreV1alphaHiveMetastoreVersion
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :is_default, as: 'isDefault'
464
+ property :version, as: 'version'
465
+ end
466
+ end
467
+
468
+ class GoogleCloudMetastoreV1alphaLocationMetadata
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaCustomRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaCustomRegionMetadata::Representation
472
+
473
+ property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaMultiRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaMultiRegionMetadata::Representation
474
+
475
+ collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaHiveMetastoreVersion, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1alphaHiveMetastoreVersion::Representation
476
+
477
+ end
478
+ end
479
+
480
+ class GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ end
484
+ end
485
+
486
+ class GoogleCloudMetastoreV1alphaMultiRegionMetadata
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ collection :constituent_regions, as: 'constituentRegions'
490
+ end
491
+ end
492
+
493
+ class GoogleCloudMetastoreV1alphaOperationMetadata
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :api_version, as: 'apiVersion'
497
+ property :create_time, as: 'createTime'
498
+ property :end_time, as: 'endTime'
499
+ property :requested_cancellation, as: 'requestedCancellation'
500
+ property :status_message, as: 'statusMessage'
501
+ property :target, as: 'target'
502
+ property :verb, as: 'verb'
503
+ end
504
+ end
505
+
506
+ class GoogleCloudMetastoreV1alphaQueryMetadataResponse
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ property :result_manifest_uri, as: 'resultManifestUri'
510
+ end
511
+ end
512
+
513
+ class GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ end
517
+ end
518
+
519
+ class GoogleCloudMetastoreV1betaCancelMigrationResponse
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :migration_execution, as: 'migrationExecution'
523
+ end
524
+ end
525
+
526
+ class GoogleCloudMetastoreV1betaCompleteMigrationResponse
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :migration_execution, as: 'migrationExecution'
530
+ end
531
+ end
532
+
533
+ class GoogleCloudMetastoreV1betaCustomRegionMetadata
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ collection :optional_read_only_regions, as: 'optionalReadOnlyRegions'
537
+ collection :required_read_write_regions, as: 'requiredReadWriteRegions'
538
+ property :witness_region, as: 'witnessRegion'
539
+ end
540
+ end
541
+
542
+ class GoogleCloudMetastoreV1betaErrorDetails
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ hash :details, as: 'details'
546
+ end
547
+ end
548
+
549
+ class GoogleCloudMetastoreV1betaHiveMetastoreVersion
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :is_default, as: 'isDefault'
553
+ property :version, as: 'version'
554
+ end
555
+ end
556
+
557
+ class GoogleCloudMetastoreV1betaLocationMetadata
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ collection :custom_region_metadata, as: 'customRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaCustomRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaCustomRegionMetadata::Representation
561
+
562
+ property :multi_region_metadata, as: 'multiRegionMetadata', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaMultiRegionMetadata, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaMultiRegionMetadata::Representation
563
+
564
+ collection :supported_hive_metastore_versions, as: 'supportedHiveMetastoreVersions', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaHiveMetastoreVersion, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV1betaHiveMetastoreVersion::Representation
565
+
566
+ end
567
+ end
568
+
569
+ class GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ end
573
+ end
574
+
575
+ class GoogleCloudMetastoreV1betaMultiRegionMetadata
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ collection :constituent_regions, as: 'constituentRegions'
579
+ end
580
+ end
581
+
582
+ class GoogleCloudMetastoreV1betaOperationMetadata
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :api_version, as: 'apiVersion'
586
+ property :create_time, as: 'createTime'
587
+ property :end_time, as: 'endTime'
588
+ property :requested_cancellation, as: 'requestedCancellation'
589
+ property :status_message, as: 'statusMessage'
590
+ property :target, as: 'target'
591
+ property :verb, as: 'verb'
592
+ end
593
+ end
594
+
595
+ class GoogleCloudMetastoreV1betaQueryMetadataResponse
596
+ # @private
597
+ class Representation < Google::Apis::Core::JsonRepresentation
598
+ property :result_manifest_uri, as: 'resultManifestUri'
599
+ end
600
+ end
601
+
602
+ class GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ property :location_uri, as: 'locationUri'
606
+ property :resource_name, as: 'resourceName'
607
+ end
608
+ end
609
+
610
+ class GoogleCloudMetastoreV2AlterTablePropertiesRequest
611
+ # @private
612
+ class Representation < Google::Apis::Core::JsonRepresentation
613
+ hash :properties, as: 'properties'
614
+ property :table_name, as: 'tableName'
615
+ property :update_mask, as: 'updateMask'
616
+ end
617
+ end
618
+
619
+ class GoogleCloudMetastoreV2AuxiliaryVersionConfig
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ hash :config_overrides, as: 'configOverrides'
623
+ collection :endpoints, as: 'endpoints', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Endpoint, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Endpoint::Representation
624
+
625
+ property :version, as: 'version'
626
+ end
627
+ end
628
+
629
+ class GoogleCloudMetastoreV2Backup
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :create_time, as: 'createTime'
633
+ property :description, as: 'description'
634
+ property :end_time, as: 'endTime'
635
+ property :name, as: 'name'
636
+ collection :restoring_services, as: 'restoringServices'
637
+ property :service_revision, as: 'serviceRevision', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Service, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Service::Representation
638
+
639
+ property :state, as: 'state'
640
+ end
641
+ end
642
+
643
+ class GoogleCloudMetastoreV2DataCatalogConfig
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :enabled, as: 'enabled'
647
+ end
648
+ end
649
+
650
+ class GoogleCloudMetastoreV2DatabaseDump
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :gcs_uri, as: 'gcsUri'
654
+ property :type, as: 'type'
655
+ end
656
+ end
657
+
658
+ class GoogleCloudMetastoreV2EncryptionConfig
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ end
662
+ end
663
+
664
+ class GoogleCloudMetastoreV2Endpoint
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :endpoint_uri, as: 'endpointUri'
668
+ property :region, as: 'region'
669
+ end
670
+ end
671
+
672
+ class GoogleCloudMetastoreV2ExportMetadataRequest
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :database_dump_type, as: 'databaseDumpType'
676
+ property :destination_gcs_folder, as: 'destinationGcsFolder'
677
+ property :request_id, as: 'requestId'
678
+ end
679
+ end
680
+
681
+ class GoogleCloudMetastoreV2HiveMetastoreConfig
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ hash :auxiliary_versions, as: 'auxiliaryVersions', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2AuxiliaryVersionConfig, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2AuxiliaryVersionConfig::Representation
685
+
686
+ hash :config_overrides, as: 'configOverrides'
687
+ property :endpoint_protocol, as: 'endpointProtocol'
688
+ property :version, as: 'version'
689
+ end
690
+ end
691
+
692
+ class GoogleCloudMetastoreV2ImportMetadataRequest
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :database_dump, as: 'databaseDump', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2DatabaseDump, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2DatabaseDump::Representation
696
+
697
+ property :description, as: 'description'
698
+ property :request_id, as: 'requestId'
699
+ end
700
+ end
701
+
702
+ class GoogleCloudMetastoreV2LatestBackup
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ property :backup_id, as: 'backupId'
706
+ property :duration, as: 'duration'
707
+ property :start_time, as: 'startTime'
708
+ property :state, as: 'state'
709
+ end
710
+ end
711
+
712
+ class GoogleCloudMetastoreV2ListBackupsResponse
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ collection :backups, as: 'backups', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Backup, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Backup::Representation
716
+
717
+ property :next_page_token, as: 'nextPageToken'
718
+ collection :unreachable, as: 'unreachable'
719
+ end
720
+ end
721
+
722
+ class GoogleCloudMetastoreV2ListServicesResponse
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :next_page_token, as: 'nextPageToken'
726
+ collection :services, as: 'services', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Service, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Service::Representation
727
+
728
+ collection :unreachable, as: 'unreachable'
729
+ end
730
+ end
731
+
732
+ class GoogleCloudMetastoreV2MetadataIntegration
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :data_catalog_config, as: 'dataCatalogConfig', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2DataCatalogConfig, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2DataCatalogConfig::Representation
736
+
737
+ end
738
+ end
739
+
740
+ class GoogleCloudMetastoreV2MoveTableToDatabaseRequest
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :db_name, as: 'dbName'
744
+ property :destination_db_name, as: 'destinationDbName'
745
+ property :table_name, as: 'tableName'
746
+ end
747
+ end
748
+
749
+ class GoogleCloudMetastoreV2QueryMetadataRequest
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :query, as: 'query'
753
+ end
754
+ end
755
+
756
+ class GoogleCloudMetastoreV2RestoreServiceRequest
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :backup, as: 'backup'
760
+ property :backup_location, as: 'backupLocation'
761
+ property :request_id, as: 'requestId'
762
+ property :restore_type, as: 'restoreType'
763
+ end
764
+ end
765
+
766
+ class GoogleCloudMetastoreV2ScalingConfig
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :scaling_factor, as: 'scalingFactor'
770
+ end
771
+ end
772
+
773
+ class GoogleCloudMetastoreV2ScheduledBackup
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :backup_location, as: 'backupLocation'
777
+ property :cron_schedule, as: 'cronSchedule'
778
+ property :enabled, as: 'enabled'
779
+ property :latest_backup, as: 'latestBackup', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2LatestBackup, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2LatestBackup::Representation
780
+
781
+ property :next_scheduled_time, as: 'nextScheduledTime'
782
+ property :time_zone, as: 'timeZone'
783
+ end
784
+ end
785
+
786
+ class GoogleCloudMetastoreV2Service
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ property :create_time, as: 'createTime'
790
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2EncryptionConfig, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2EncryptionConfig::Representation
791
+
792
+ collection :endpoints, as: 'endpoints', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Endpoint, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2Endpoint::Representation
793
+
794
+ property :hive_metastore_config, as: 'hiveMetastoreConfig', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2HiveMetastoreConfig, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2HiveMetastoreConfig::Representation
795
+
796
+ hash :labels, as: 'labels'
797
+ property :metadata_integration, as: 'metadataIntegration', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2MetadataIntegration, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2MetadataIntegration::Representation
798
+
799
+ property :name, as: 'name'
800
+ property :scaling_config, as: 'scalingConfig', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2ScalingConfig, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2ScalingConfig::Representation
801
+
802
+ property :scheduled_backup, as: 'scheduledBackup', class: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2ScheduledBackup, decorator: Google::Apis::MetastoreV2::GoogleCloudMetastoreV2ScheduledBackup::Representation
803
+
804
+ property :state, as: 'state'
805
+ property :state_message, as: 'stateMessage'
806
+ property :uid, as: 'uid'
807
+ property :update_time, as: 'updateTime'
808
+ property :warehouse_gcs_uri, as: 'warehouseGcsUri'
809
+ end
810
+ end
811
+
812
+ class GoogleLongrunningOperation
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :done, as: 'done'
816
+ property :error, as: 'error', class: Google::Apis::MetastoreV2::GoogleRpcStatus, decorator: Google::Apis::MetastoreV2::GoogleRpcStatus::Representation
817
+
818
+ hash :metadata, as: 'metadata'
819
+ property :name, as: 'name'
820
+ hash :response, as: 'response'
821
+ end
822
+ end
823
+
824
+ class GoogleRpcStatus
825
+ # @private
826
+ class Representation < Google::Apis::Core::JsonRepresentation
827
+ property :code, as: 'code'
828
+ collection :details, as: 'details'
829
+ property :message, as: 'message'
830
+ end
831
+ end
832
+ end
833
+ end
834
+ end