google-apis-bigtableadmin_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
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
+ module Google
16
+ module Apis
17
+ module BigtableadminV2
18
+ # Version of the google-apis-bigtableadmin_v2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20200821"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,942 @@
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 BigtableadminV2
24
+
25
+ class AppProfile
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuditLogConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Backup
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BackupInfo
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class Binding
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CheckConsistencyRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CheckConsistencyResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Cluster
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ClusterState
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ColumnFamily
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class CreateBackupMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class CreateClusterMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class CreateClusterRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class CreateInstanceMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class CreateInstanceRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class CreateTableRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DropRowRangeRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Empty
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Expr
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class FailureTrace
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Frame
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GcRule
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GenerateConsistencyTokenRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GenerateConsistencyTokenResponse
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GetIamPolicyRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GetPolicyOptions
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Instance
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Intersection
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListAppProfilesResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListBackupsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListClustersResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ListInstancesResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ListLocationsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ListOperationsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListTablesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Location
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Modification
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ModifyColumnFamiliesRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class MultiClusterRoutingUseAny
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Operation
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class OperationProgress
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class OptimizeRestoredTableMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class PartialUpdateInstanceRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Policy
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class RestoreInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RestoreTableMetadata
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class RestoreTableRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class SetIamPolicyRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class SingleClusterRouting
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class Split
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Status
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Table
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class TableProgress
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class TestIamPermissionsRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TestIamPermissionsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Union
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class UpdateAppProfileMetadata
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class UpdateClusterMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class UpdateInstanceMetadata
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class AppProfile
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :description, as: 'description'
389
+ property :etag, as: 'etag'
390
+ property :multi_cluster_routing_use_any, as: 'multiClusterRoutingUseAny', class: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny, decorator: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny::Representation
391
+
392
+ property :name, as: 'name'
393
+ property :single_cluster_routing, as: 'singleClusterRouting', class: Google::Apis::BigtableadminV2::SingleClusterRouting, decorator: Google::Apis::BigtableadminV2::SingleClusterRouting::Representation
394
+
395
+ end
396
+ end
397
+
398
+ class AuditConfig
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::BigtableadminV2::AuditLogConfig, decorator: Google::Apis::BigtableadminV2::AuditLogConfig::Representation
402
+
403
+ property :service, as: 'service'
404
+ end
405
+ end
406
+
407
+ class AuditLogConfig
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ collection :exempted_members, as: 'exemptedMembers'
411
+ property :log_type, as: 'logType'
412
+ end
413
+ end
414
+
415
+ class Backup
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :end_time, as: 'endTime'
419
+ property :expire_time, as: 'expireTime'
420
+ property :name, as: 'name'
421
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
422
+ property :source_table, as: 'sourceTable'
423
+ property :start_time, as: 'startTime'
424
+ property :state, as: 'state'
425
+ end
426
+ end
427
+
428
+ class BackupInfo
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :backup, as: 'backup'
432
+ property :end_time, as: 'endTime'
433
+ property :source_table, as: 'sourceTable'
434
+ property :start_time, as: 'startTime'
435
+ end
436
+ end
437
+
438
+ class Binding
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :condition, as: 'condition', class: Google::Apis::BigtableadminV2::Expr, decorator: Google::Apis::BigtableadminV2::Expr::Representation
442
+
443
+ collection :members, as: 'members'
444
+ property :role, as: 'role'
445
+ end
446
+ end
447
+
448
+ class CheckConsistencyRequest
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :consistency_token, as: 'consistencyToken'
452
+ end
453
+ end
454
+
455
+ class CheckConsistencyResponse
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ property :consistent, as: 'consistent'
459
+ end
460
+ end
461
+
462
+ class Cluster
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :default_storage_type, as: 'defaultStorageType'
466
+ property :location, as: 'location'
467
+ property :name, as: 'name'
468
+ property :serve_nodes, as: 'serveNodes'
469
+ property :state, as: 'state'
470
+ end
471
+ end
472
+
473
+ class ClusterState
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :replication_state, as: 'replicationState'
477
+ end
478
+ end
479
+
480
+ class ColumnFamily
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :gc_rule, as: 'gcRule', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
484
+
485
+ end
486
+ end
487
+
488
+ class CreateBackupMetadata
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :end_time, as: 'endTime'
492
+ property :name, as: 'name'
493
+ property :source_table, as: 'sourceTable'
494
+ property :start_time, as: 'startTime'
495
+ end
496
+ end
497
+
498
+ class CreateClusterMetadata
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :finish_time, as: 'finishTime'
502
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateClusterRequest, decorator: Google::Apis::BigtableadminV2::CreateClusterRequest::Representation
503
+
504
+ property :request_time, as: 'requestTime'
505
+ hash :tables, as: 'tables', class: Google::Apis::BigtableadminV2::TableProgress, decorator: Google::Apis::BigtableadminV2::TableProgress::Representation
506
+
507
+ end
508
+ end
509
+
510
+ class CreateClusterRequest
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
514
+
515
+ property :cluster_id, as: 'clusterId'
516
+ property :parent, as: 'parent'
517
+ end
518
+ end
519
+
520
+ class CreateInstanceMetadata
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :finish_time, as: 'finishTime'
524
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateInstanceRequest, decorator: Google::Apis::BigtableadminV2::CreateInstanceRequest::Representation
525
+
526
+ property :request_time, as: 'requestTime'
527
+ end
528
+ end
529
+
530
+ class CreateInstanceRequest
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ hash :clusters, as: 'clusters', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
534
+
535
+ property :instance, as: 'instance', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
536
+
537
+ property :instance_id, as: 'instanceId'
538
+ property :parent, as: 'parent'
539
+ end
540
+ end
541
+
542
+ class CreateTableRequest
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ collection :initial_splits, as: 'initialSplits', class: Google::Apis::BigtableadminV2::Split, decorator: Google::Apis::BigtableadminV2::Split::Representation
546
+
547
+ property :table, as: 'table', class: Google::Apis::BigtableadminV2::Table, decorator: Google::Apis::BigtableadminV2::Table::Representation
548
+
549
+ property :table_id, as: 'tableId'
550
+ end
551
+ end
552
+
553
+ class DropRowRangeRequest
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :delete_all_data_from_table, as: 'deleteAllDataFromTable'
557
+ property :row_key_prefix, :base64 => true, as: 'rowKeyPrefix'
558
+ end
559
+ end
560
+
561
+ class Empty
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ end
565
+ end
566
+
567
+ class Expr
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :description, as: 'description'
571
+ property :expression, as: 'expression'
572
+ property :location, as: 'location'
573
+ property :title, as: 'title'
574
+ end
575
+ end
576
+
577
+ class FailureTrace
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ collection :frames, as: 'frames', class: Google::Apis::BigtableadminV2::Frame, decorator: Google::Apis::BigtableadminV2::Frame::Representation
581
+
582
+ end
583
+ end
584
+
585
+ class Frame
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :target_name, as: 'targetName'
589
+ property :workflow_guid, as: 'workflowGuid'
590
+ property :zone_id, as: 'zoneId'
591
+ end
592
+ end
593
+
594
+ class GcRule
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :intersection, as: 'intersection', class: Google::Apis::BigtableadminV2::Intersection, decorator: Google::Apis::BigtableadminV2::Intersection::Representation
598
+
599
+ property :max_age, as: 'maxAge'
600
+ property :max_num_versions, as: 'maxNumVersions'
601
+ property :union, as: 'union', class: Google::Apis::BigtableadminV2::Union, decorator: Google::Apis::BigtableadminV2::Union::Representation
602
+
603
+ end
604
+ end
605
+
606
+ class GenerateConsistencyTokenRequest
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ end
610
+ end
611
+
612
+ class GenerateConsistencyTokenResponse
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ property :consistency_token, as: 'consistencyToken'
616
+ end
617
+ end
618
+
619
+ class GetIamPolicyRequest
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :options, as: 'options', class: Google::Apis::BigtableadminV2::GetPolicyOptions, decorator: Google::Apis::BigtableadminV2::GetPolicyOptions::Representation
623
+
624
+ end
625
+ end
626
+
627
+ class GetPolicyOptions
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :requested_policy_version, as: 'requestedPolicyVersion'
631
+ end
632
+ end
633
+
634
+ class Instance
635
+ # @private
636
+ class Representation < Google::Apis::Core::JsonRepresentation
637
+ property :display_name, as: 'displayName'
638
+ hash :labels, as: 'labels'
639
+ property :name, as: 'name'
640
+ property :state, as: 'state'
641
+ property :type, as: 'type'
642
+ end
643
+ end
644
+
645
+ class Intersection
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ collection :rules, as: 'rules', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
649
+
650
+ end
651
+ end
652
+
653
+ class ListAppProfilesResponse
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ collection :app_profiles, as: 'appProfiles', class: Google::Apis::BigtableadminV2::AppProfile, decorator: Google::Apis::BigtableadminV2::AppProfile::Representation
657
+
658
+ collection :failed_locations, as: 'failedLocations'
659
+ property :next_page_token, as: 'nextPageToken'
660
+ end
661
+ end
662
+
663
+ class ListBackupsResponse
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ collection :backups, as: 'backups', class: Google::Apis::BigtableadminV2::Backup, decorator: Google::Apis::BigtableadminV2::Backup::Representation
667
+
668
+ property :next_page_token, as: 'nextPageToken'
669
+ end
670
+ end
671
+
672
+ class ListClustersResponse
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ collection :clusters, as: 'clusters', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
676
+
677
+ collection :failed_locations, as: 'failedLocations'
678
+ property :next_page_token, as: 'nextPageToken'
679
+ end
680
+ end
681
+
682
+ class ListInstancesResponse
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :failed_locations, as: 'failedLocations'
686
+ collection :instances, as: 'instances', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
687
+
688
+ property :next_page_token, as: 'nextPageToken'
689
+ end
690
+ end
691
+
692
+ class ListLocationsResponse
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ collection :locations, as: 'locations', class: Google::Apis::BigtableadminV2::Location, decorator: Google::Apis::BigtableadminV2::Location::Representation
696
+
697
+ property :next_page_token, as: 'nextPageToken'
698
+ end
699
+ end
700
+
701
+ class ListOperationsResponse
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :next_page_token, as: 'nextPageToken'
705
+ collection :operations, as: 'operations', class: Google::Apis::BigtableadminV2::Operation, decorator: Google::Apis::BigtableadminV2::Operation::Representation
706
+
707
+ end
708
+ end
709
+
710
+ class ListTablesResponse
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :next_page_token, as: 'nextPageToken'
714
+ collection :tables, as: 'tables', class: Google::Apis::BigtableadminV2::Table, decorator: Google::Apis::BigtableadminV2::Table::Representation
715
+
716
+ end
717
+ end
718
+
719
+ class Location
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :display_name, as: 'displayName'
723
+ hash :labels, as: 'labels'
724
+ property :location_id, as: 'locationId'
725
+ hash :metadata, as: 'metadata'
726
+ property :name, as: 'name'
727
+ end
728
+ end
729
+
730
+ class Modification
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :create, as: 'create', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
734
+
735
+ property :drop, as: 'drop'
736
+ property :id, as: 'id'
737
+ property :update, as: 'update', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
738
+
739
+ end
740
+ end
741
+
742
+ class ModifyColumnFamiliesRequest
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ collection :modifications, as: 'modifications', class: Google::Apis::BigtableadminV2::Modification, decorator: Google::Apis::BigtableadminV2::Modification::Representation
746
+
747
+ end
748
+ end
749
+
750
+ class MultiClusterRoutingUseAny
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ end
754
+ end
755
+
756
+ class Operation
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :done, as: 'done'
760
+ property :error, as: 'error', class: Google::Apis::BigtableadminV2::Status, decorator: Google::Apis::BigtableadminV2::Status::Representation
761
+
762
+ hash :metadata, as: 'metadata'
763
+ property :name, as: 'name'
764
+ hash :response, as: 'response'
765
+ end
766
+ end
767
+
768
+ class OperationProgress
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :end_time, as: 'endTime'
772
+ property :progress_percent, as: 'progressPercent'
773
+ property :start_time, as: 'startTime'
774
+ end
775
+ end
776
+
777
+ class OptimizeRestoredTableMetadata
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :name, as: 'name'
781
+ property :progress, as: 'progress', class: Google::Apis::BigtableadminV2::OperationProgress, decorator: Google::Apis::BigtableadminV2::OperationProgress::Representation
782
+
783
+ end
784
+ end
785
+
786
+ class PartialUpdateInstanceRequest
787
+ # @private
788
+ class Representation < Google::Apis::Core::JsonRepresentation
789
+ property :instance, as: 'instance', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
790
+
791
+ property :update_mask, as: 'updateMask'
792
+ end
793
+ end
794
+
795
+ class Policy
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::BigtableadminV2::AuditConfig, decorator: Google::Apis::BigtableadminV2::AuditConfig::Representation
799
+
800
+ collection :bindings, as: 'bindings', class: Google::Apis::BigtableadminV2::Binding, decorator: Google::Apis::BigtableadminV2::Binding::Representation
801
+
802
+ property :etag, :base64 => true, as: 'etag'
803
+ property :version, as: 'version'
804
+ end
805
+ end
806
+
807
+ class RestoreInfo
808
+ # @private
809
+ class Representation < Google::Apis::Core::JsonRepresentation
810
+ property :backup_info, as: 'backupInfo', class: Google::Apis::BigtableadminV2::BackupInfo, decorator: Google::Apis::BigtableadminV2::BackupInfo::Representation
811
+
812
+ property :source_type, as: 'sourceType'
813
+ end
814
+ end
815
+
816
+ class RestoreTableMetadata
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :backup_info, as: 'backupInfo', class: Google::Apis::BigtableadminV2::BackupInfo, decorator: Google::Apis::BigtableadminV2::BackupInfo::Representation
820
+
821
+ property :name, as: 'name'
822
+ property :optimize_table_operation_name, as: 'optimizeTableOperationName'
823
+ property :progress, as: 'progress', class: Google::Apis::BigtableadminV2::OperationProgress, decorator: Google::Apis::BigtableadminV2::OperationProgress::Representation
824
+
825
+ property :source_type, as: 'sourceType'
826
+ end
827
+ end
828
+
829
+ class RestoreTableRequest
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :backup, as: 'backup'
833
+ property :table_id, as: 'tableId'
834
+ end
835
+ end
836
+
837
+ class SetIamPolicyRequest
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :policy, as: 'policy', class: Google::Apis::BigtableadminV2::Policy, decorator: Google::Apis::BigtableadminV2::Policy::Representation
841
+
842
+ property :update_mask, as: 'updateMask'
843
+ end
844
+ end
845
+
846
+ class SingleClusterRouting
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :allow_transactional_writes, as: 'allowTransactionalWrites'
850
+ property :cluster_id, as: 'clusterId'
851
+ end
852
+ end
853
+
854
+ class Split
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :key, :base64 => true, as: 'key'
858
+ end
859
+ end
860
+
861
+ class Status
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :code, as: 'code'
865
+ collection :details, as: 'details'
866
+ property :message, as: 'message'
867
+ end
868
+ end
869
+
870
+ class Table
871
+ # @private
872
+ class Representation < Google::Apis::Core::JsonRepresentation
873
+ hash :cluster_states, as: 'clusterStates', class: Google::Apis::BigtableadminV2::ClusterState, decorator: Google::Apis::BigtableadminV2::ClusterState::Representation
874
+
875
+ hash :column_families, as: 'columnFamilies', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
876
+
877
+ property :granularity, as: 'granularity'
878
+ property :name, as: 'name'
879
+ property :restore_info, as: 'restoreInfo', class: Google::Apis::BigtableadminV2::RestoreInfo, decorator: Google::Apis::BigtableadminV2::RestoreInfo::Representation
880
+
881
+ end
882
+ end
883
+
884
+ class TableProgress
885
+ # @private
886
+ class Representation < Google::Apis::Core::JsonRepresentation
887
+ property :estimated_copied_bytes, :numeric_string => true, as: 'estimatedCopiedBytes'
888
+ property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes'
889
+ property :state, as: 'state'
890
+ end
891
+ end
892
+
893
+ class TestIamPermissionsRequest
894
+ # @private
895
+ class Representation < Google::Apis::Core::JsonRepresentation
896
+ collection :permissions, as: 'permissions'
897
+ end
898
+ end
899
+
900
+ class TestIamPermissionsResponse
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ collection :permissions, as: 'permissions'
904
+ end
905
+ end
906
+
907
+ class Union
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ collection :rules, as: 'rules', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
911
+
912
+ end
913
+ end
914
+
915
+ class UpdateAppProfileMetadata
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ end
919
+ end
920
+
921
+ class UpdateClusterMetadata
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :finish_time, as: 'finishTime'
925
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
926
+
927
+ property :request_time, as: 'requestTime'
928
+ end
929
+ end
930
+
931
+ class UpdateInstanceMetadata
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ property :finish_time, as: 'finishTime'
935
+ property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::PartialUpdateInstanceRequest, decorator: Google::Apis::BigtableadminV2::PartialUpdateInstanceRequest::Representation
936
+
937
+ property :request_time, as: 'requestTime'
938
+ end
939
+ end
940
+ end
941
+ end
942
+ end