google-apis-bigquery_v2 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 BigqueryV2
18
+ # Version of the google-apis-bigquery_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 = "20201030"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,2544 @@
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 BigqueryV2
24
+
25
+ class AggregateClassificationMetrics
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Argument
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ArimaCoefficients
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ArimaFittingMetrics
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ArimaForecastingMetrics
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ArimaModelInfo
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ArimaOrder
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ArimaResult
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ArimaSingleModelForecastingMetrics
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AuditConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class AuditLogConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BigQueryModelTraining
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class BigtableColumn
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BigtableColumnFamily
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class BigtableOptions
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class BinaryClassificationMetrics
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class BinaryConfusionMatrix
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Binding
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class BqmlIterationResult
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class BqmlTrainingRun
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ class TrainingOptions
143
+ class Representation < Google::Apis::Core::JsonRepresentation; end
144
+
145
+ include Google::Apis::Core::JsonObjectSupport
146
+ end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class CategoricalValue
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class CategoryCount
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Cluster
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ClusterInfo
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Clustering
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ClusteringMetrics
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ConfusionMatrix
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ConnectionProperty
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class CsvOptions
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class DataSplitResult
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Dataset
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ class Access
215
+ class Representation < Google::Apis::Core::JsonRepresentation; end
216
+
217
+ include Google::Apis::Core::JsonObjectSupport
218
+ end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class DatasetList
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ class Dataset
227
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
230
+ end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class DatasetReference
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class DestinationTableProperties
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class EncryptionConfiguration
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Entry
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ErrorProto
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class EvaluationMetrics
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ExplainQueryStage
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ExplainQueryStep
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Explanation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Expr
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ExternalDataConfiguration
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class FeatureValue
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GetIamPolicyRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GetPolicyOptions
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GetQueryResultsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GetServiceAccountResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GlobalExplanation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleSheetsOptions
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class HivePartitioningOptions
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class IterationResult
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class Job
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class CancelJobResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class JobConfiguration
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class JobConfigurationExtract
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class JobConfigurationLoad
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class JobConfigurationQuery
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class JobConfigurationTableCopy
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class JobList
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ class Job
401
+ class Representation < Google::Apis::Core::JsonRepresentation; end
402
+
403
+ include Google::Apis::Core::JsonObjectSupport
404
+ end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class JobReference
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class JobStatistics
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ class ReservationUsage
419
+ class Representation < Google::Apis::Core::JsonRepresentation; end
420
+
421
+ include Google::Apis::Core::JsonObjectSupport
422
+ end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class JobStatistics2
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ class ReservationUsage
431
+ class Representation < Google::Apis::Core::JsonRepresentation; end
432
+
433
+ include Google::Apis::Core::JsonObjectSupport
434
+ end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class JobStatistics3
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class JobStatistics4
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class JobStatus
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class ListModelsResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class ListRoutinesResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class ListRowAccessPoliciesResponse
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class LocationMetadata
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class MaterializedViewDefinition
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class Model
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class ModelDefinition
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ class ModelOptions
497
+ class Representation < Google::Apis::Core::JsonRepresentation; end
498
+
499
+ include Google::Apis::Core::JsonObjectSupport
500
+ end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class ModelReference
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class MultiClassClassificationMetrics
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class Policy
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class ProjectList
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ class Project
527
+ class Representation < Google::Apis::Core::JsonRepresentation; end
528
+
529
+ include Google::Apis::Core::JsonObjectSupport
530
+ end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class ProjectReference
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class QueryParameter
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class QueryParameterType
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ class StructType
551
+ class Representation < Google::Apis::Core::JsonRepresentation; end
552
+
553
+ include Google::Apis::Core::JsonObjectSupport
554
+ end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class QueryParameterValue
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
565
+ class QueryRequest
566
+ class Representation < Google::Apis::Core::JsonRepresentation; end
567
+
568
+ include Google::Apis::Core::JsonObjectSupport
569
+ end
570
+
571
+ class QueryResponse
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class QueryTimelineSample
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
583
+ class RangePartitioning
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ class Range
587
+ class Representation < Google::Apis::Core::JsonRepresentation; end
588
+
589
+ include Google::Apis::Core::JsonObjectSupport
590
+ end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class RankingMetrics
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class RegressionMetrics
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class Routine
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
613
+ class RoutineReference
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class Row
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class RowAccessPolicy
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class RowAccessPolicyReference
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class RowLevelSecurityStatistics
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class ScriptStackFrame
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class ScriptStatistics
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class SetIamPolicyRequest
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class SnapshotDefinition
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class StandardSqlDataType
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class StandardSqlField
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class StandardSqlStructType
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class Streamingbuffer
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class Table
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class TableCell
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class InsertAllTableDataRequest
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ class Row
707
+ class Representation < Google::Apis::Core::JsonRepresentation; end
708
+
709
+ include Google::Apis::Core::JsonObjectSupport
710
+ end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
715
+ class InsertAllTableDataResponse
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ class InsertError
719
+ class Representation < Google::Apis::Core::JsonRepresentation; end
720
+
721
+ include Google::Apis::Core::JsonObjectSupport
722
+ end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class TableDataList
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
733
+ class TableFieldSchema
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ class Categories
737
+ class Representation < Google::Apis::Core::JsonRepresentation; end
738
+
739
+ include Google::Apis::Core::JsonObjectSupport
740
+ end
741
+
742
+ class PolicyTags
743
+ class Representation < Google::Apis::Core::JsonRepresentation; end
744
+
745
+ include Google::Apis::Core::JsonObjectSupport
746
+ end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class TableList
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ class Table
755
+ class Representation < Google::Apis::Core::JsonRepresentation; end
756
+
757
+ class View
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ include Google::Apis::Core::JsonObjectSupport
764
+ end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
769
+ class TableReference
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class TableRow
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class TableSchema
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class TestIamPermissionsRequest
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
793
+ class TestIamPermissionsResponse
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
799
+ class TimePartitioning
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
805
+ class TrainingOptions
806
+ class Representation < Google::Apis::Core::JsonRepresentation; end
807
+
808
+ include Google::Apis::Core::JsonObjectSupport
809
+ end
810
+
811
+ class TrainingRun
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
817
+ class TransactionInfo
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
823
+ class UserDefinedFunctionResource
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
829
+ class ViewDefinition
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
835
+ class AggregateClassificationMetrics
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :accuracy, as: 'accuracy'
839
+ property :f1_score, as: 'f1Score'
840
+ property :log_loss, as: 'logLoss'
841
+ property :precision, as: 'precision'
842
+ property :recall, as: 'recall'
843
+ property :roc_auc, as: 'rocAuc'
844
+ property :threshold, as: 'threshold'
845
+ end
846
+ end
847
+
848
+ class Argument
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :argument_kind, as: 'argumentKind'
852
+ property :data_type, as: 'dataType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
853
+
854
+ property :mode, as: 'mode'
855
+ property :name, as: 'name'
856
+ end
857
+ end
858
+
859
+ class ArimaCoefficients
860
+ # @private
861
+ class Representation < Google::Apis::Core::JsonRepresentation
862
+ collection :auto_regressive_coefficients, as: 'autoRegressiveCoefficients'
863
+ property :intercept_coefficient, as: 'interceptCoefficient'
864
+ collection :moving_average_coefficients, as: 'movingAverageCoefficients'
865
+ end
866
+ end
867
+
868
+ class ArimaFittingMetrics
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :aic, as: 'aic'
872
+ property :log_likelihood, as: 'logLikelihood'
873
+ property :variance, as: 'variance'
874
+ end
875
+ end
876
+
877
+ class ArimaForecastingMetrics
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ collection :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
881
+
882
+ collection :arima_single_model_forecasting_metrics, as: 'arimaSingleModelForecastingMetrics', class: Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics, decorator: Google::Apis::BigqueryV2::ArimaSingleModelForecastingMetrics::Representation
883
+
884
+ collection :has_drift, as: 'hasDrift'
885
+ collection :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
886
+
887
+ collection :seasonal_periods, as: 'seasonalPeriods'
888
+ collection :time_series_id, as: 'timeSeriesId'
889
+ end
890
+ end
891
+
892
+ class ArimaModelInfo
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :arima_coefficients, as: 'arimaCoefficients', class: Google::Apis::BigqueryV2::ArimaCoefficients, decorator: Google::Apis::BigqueryV2::ArimaCoefficients::Representation
896
+
897
+ property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
898
+
899
+ property :has_drift, as: 'hasDrift'
900
+ property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
901
+
902
+ collection :seasonal_periods, as: 'seasonalPeriods'
903
+ property :time_series_id, as: 'timeSeriesId'
904
+ end
905
+ end
906
+
907
+ class ArimaOrder
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :d, :numeric_string => true, as: 'd'
911
+ property :p, :numeric_string => true, as: 'p'
912
+ property :q, :numeric_string => true, as: 'q'
913
+ end
914
+ end
915
+
916
+ class ArimaResult
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ collection :arima_model_info, as: 'arimaModelInfo', class: Google::Apis::BigqueryV2::ArimaModelInfo, decorator: Google::Apis::BigqueryV2::ArimaModelInfo::Representation
920
+
921
+ collection :seasonal_periods, as: 'seasonalPeriods'
922
+ end
923
+ end
924
+
925
+ class ArimaSingleModelForecastingMetrics
926
+ # @private
927
+ class Representation < Google::Apis::Core::JsonRepresentation
928
+ property :arima_fitting_metrics, as: 'arimaFittingMetrics', class: Google::Apis::BigqueryV2::ArimaFittingMetrics, decorator: Google::Apis::BigqueryV2::ArimaFittingMetrics::Representation
929
+
930
+ property :has_drift, as: 'hasDrift'
931
+ property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
932
+
933
+ collection :seasonal_periods, as: 'seasonalPeriods'
934
+ property :time_series_id, as: 'timeSeriesId'
935
+ end
936
+ end
937
+
938
+ class AuditConfig
939
+ # @private
940
+ class Representation < Google::Apis::Core::JsonRepresentation
941
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::BigqueryV2::AuditLogConfig, decorator: Google::Apis::BigqueryV2::AuditLogConfig::Representation
942
+
943
+ property :service, as: 'service'
944
+ end
945
+ end
946
+
947
+ class AuditLogConfig
948
+ # @private
949
+ class Representation < Google::Apis::Core::JsonRepresentation
950
+ collection :exempted_members, as: 'exemptedMembers'
951
+ property :log_type, as: 'logType'
952
+ end
953
+ end
954
+
955
+ class BigQueryModelTraining
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :current_iteration, as: 'currentIteration'
959
+ property :expected_total_iterations, :numeric_string => true, as: 'expectedTotalIterations'
960
+ end
961
+ end
962
+
963
+ class BigtableColumn
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :encoding, as: 'encoding'
967
+ property :field_name, as: 'fieldName'
968
+ property :only_read_latest, as: 'onlyReadLatest'
969
+ property :qualifier_encoded, :base64 => true, as: 'qualifierEncoded'
970
+ property :qualifier_string, as: 'qualifierString'
971
+ property :type, as: 'type'
972
+ end
973
+ end
974
+
975
+ class BigtableColumnFamily
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ collection :columns, as: 'columns', class: Google::Apis::BigqueryV2::BigtableColumn, decorator: Google::Apis::BigqueryV2::BigtableColumn::Representation
979
+
980
+ property :encoding, as: 'encoding'
981
+ property :family_id, as: 'familyId'
982
+ property :only_read_latest, as: 'onlyReadLatest'
983
+ property :type, as: 'type'
984
+ end
985
+ end
986
+
987
+ class BigtableOptions
988
+ # @private
989
+ class Representation < Google::Apis::Core::JsonRepresentation
990
+ collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
991
+
992
+ property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
993
+ property :read_rowkey_as_string, as: 'readRowkeyAsString'
994
+ end
995
+ end
996
+
997
+ class BinaryClassificationMetrics
998
+ # @private
999
+ class Representation < Google::Apis::Core::JsonRepresentation
1000
+ property :aggregate_classification_metrics, as: 'aggregateClassificationMetrics', class: Google::Apis::BigqueryV2::AggregateClassificationMetrics, decorator: Google::Apis::BigqueryV2::AggregateClassificationMetrics::Representation
1001
+
1002
+ collection :binary_confusion_matrix_list, as: 'binaryConfusionMatrixList', class: Google::Apis::BigqueryV2::BinaryConfusionMatrix, decorator: Google::Apis::BigqueryV2::BinaryConfusionMatrix::Representation
1003
+
1004
+ property :negative_label, as: 'negativeLabel'
1005
+ property :positive_label, as: 'positiveLabel'
1006
+ end
1007
+ end
1008
+
1009
+ class BinaryConfusionMatrix
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ property :accuracy, as: 'accuracy'
1013
+ property :f1_score, as: 'f1Score'
1014
+ property :false_negatives, :numeric_string => true, as: 'falseNegatives'
1015
+ property :false_positives, :numeric_string => true, as: 'falsePositives'
1016
+ property :positive_class_threshold, as: 'positiveClassThreshold'
1017
+ property :precision, as: 'precision'
1018
+ property :recall, as: 'recall'
1019
+ property :true_negatives, :numeric_string => true, as: 'trueNegatives'
1020
+ property :true_positives, :numeric_string => true, as: 'truePositives'
1021
+ end
1022
+ end
1023
+
1024
+ class Binding
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ property :binding_id, as: 'bindingId'
1028
+ property :condition, as: 'condition', class: Google::Apis::BigqueryV2::Expr, decorator: Google::Apis::BigqueryV2::Expr::Representation
1029
+
1030
+ collection :members, as: 'members'
1031
+ property :role, as: 'role'
1032
+ end
1033
+ end
1034
+
1035
+ class BqmlIterationResult
1036
+ # @private
1037
+ class Representation < Google::Apis::Core::JsonRepresentation
1038
+ property :duration_ms, :numeric_string => true, as: 'durationMs'
1039
+ property :eval_loss, as: 'evalLoss'
1040
+ property :index, as: 'index'
1041
+ property :learn_rate, as: 'learnRate'
1042
+ property :training_loss, as: 'trainingLoss'
1043
+ end
1044
+ end
1045
+
1046
+ class BqmlTrainingRun
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::BqmlIterationResult, decorator: Google::Apis::BigqueryV2::BqmlIterationResult::Representation
1050
+
1051
+ property :start_time, as: 'startTime', type: DateTime
1052
+
1053
+ property :state, as: 'state'
1054
+ property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions, decorator: Google::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions::Representation
1055
+
1056
+ end
1057
+
1058
+ class TrainingOptions
1059
+ # @private
1060
+ class Representation < Google::Apis::Core::JsonRepresentation
1061
+ property :early_stop, as: 'earlyStop'
1062
+ property :l1_reg, as: 'l1Reg'
1063
+ property :l2_reg, as: 'l2Reg'
1064
+ property :learn_rate, as: 'learnRate'
1065
+ property :learn_rate_strategy, as: 'learnRateStrategy'
1066
+ property :line_search_init_learn_rate, as: 'lineSearchInitLearnRate'
1067
+ property :max_iteration, :numeric_string => true, as: 'maxIteration'
1068
+ property :min_rel_progress, as: 'minRelProgress'
1069
+ property :warm_start, as: 'warmStart'
1070
+ end
1071
+ end
1072
+ end
1073
+
1074
+ class CategoricalValue
1075
+ # @private
1076
+ class Representation < Google::Apis::Core::JsonRepresentation
1077
+ collection :category_counts, as: 'categoryCounts', class: Google::Apis::BigqueryV2::CategoryCount, decorator: Google::Apis::BigqueryV2::CategoryCount::Representation
1078
+
1079
+ end
1080
+ end
1081
+
1082
+ class CategoryCount
1083
+ # @private
1084
+ class Representation < Google::Apis::Core::JsonRepresentation
1085
+ property :category, as: 'category'
1086
+ property :count, :numeric_string => true, as: 'count'
1087
+ end
1088
+ end
1089
+
1090
+ class Cluster
1091
+ # @private
1092
+ class Representation < Google::Apis::Core::JsonRepresentation
1093
+ property :centroid_id, :numeric_string => true, as: 'centroidId'
1094
+ property :count, :numeric_string => true, as: 'count'
1095
+ collection :feature_values, as: 'featureValues', class: Google::Apis::BigqueryV2::FeatureValue, decorator: Google::Apis::BigqueryV2::FeatureValue::Representation
1096
+
1097
+ end
1098
+ end
1099
+
1100
+ class ClusterInfo
1101
+ # @private
1102
+ class Representation < Google::Apis::Core::JsonRepresentation
1103
+ property :centroid_id, :numeric_string => true, as: 'centroidId'
1104
+ property :cluster_radius, as: 'clusterRadius'
1105
+ property :cluster_size, :numeric_string => true, as: 'clusterSize'
1106
+ end
1107
+ end
1108
+
1109
+ class Clustering
1110
+ # @private
1111
+ class Representation < Google::Apis::Core::JsonRepresentation
1112
+ collection :fields, as: 'fields'
1113
+ end
1114
+ end
1115
+
1116
+ class ClusteringMetrics
1117
+ # @private
1118
+ class Representation < Google::Apis::Core::JsonRepresentation
1119
+ collection :clusters, as: 'clusters', class: Google::Apis::BigqueryV2::Cluster, decorator: Google::Apis::BigqueryV2::Cluster::Representation
1120
+
1121
+ property :davies_bouldin_index, as: 'daviesBouldinIndex'
1122
+ property :mean_squared_distance, as: 'meanSquaredDistance'
1123
+ end
1124
+ end
1125
+
1126
+ class ConfusionMatrix
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :confidence_threshold, as: 'confidenceThreshold'
1130
+ collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::Row, decorator: Google::Apis::BigqueryV2::Row::Representation
1131
+
1132
+ end
1133
+ end
1134
+
1135
+ class ConnectionProperty
1136
+ # @private
1137
+ class Representation < Google::Apis::Core::JsonRepresentation
1138
+ property :key, as: 'key'
1139
+ property :value, as: 'value'
1140
+ end
1141
+ end
1142
+
1143
+ class CsvOptions
1144
+ # @private
1145
+ class Representation < Google::Apis::Core::JsonRepresentation
1146
+ property :allow_jagged_rows, as: 'allowJaggedRows'
1147
+ property :allow_quoted_newlines, as: 'allowQuotedNewlines'
1148
+ property :encoding, as: 'encoding'
1149
+ property :field_delimiter, as: 'fieldDelimiter'
1150
+ property :quote, as: 'quote'
1151
+ property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
1152
+ end
1153
+ end
1154
+
1155
+ class DataSplitResult
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ property :evaluation_table, as: 'evaluationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1159
+
1160
+ property :training_table, as: 'trainingTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1161
+
1162
+ end
1163
+ end
1164
+
1165
+ class Dataset
1166
+ # @private
1167
+ class Representation < Google::Apis::Core::JsonRepresentation
1168
+ collection :access, as: 'access', class: Google::Apis::BigqueryV2::Dataset::Access, decorator: Google::Apis::BigqueryV2::Dataset::Access::Representation
1169
+
1170
+ property :creation_time, :numeric_string => true, as: 'creationTime'
1171
+ property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1172
+
1173
+ property :default_encryption_configuration, as: 'defaultEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1174
+
1175
+ property :default_partition_expiration_ms, :numeric_string => true, as: 'defaultPartitionExpirationMs'
1176
+ property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
1177
+ property :description, as: 'description'
1178
+ property :etag, as: 'etag'
1179
+ property :friendly_name, as: 'friendlyName'
1180
+ property :id, as: 'id'
1181
+ property :kind, as: 'kind'
1182
+ hash :labels, as: 'labels'
1183
+ property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1184
+ property :location, as: 'location'
1185
+ property :satisfies_pzs, as: 'satisfiesPZS'
1186
+ property :self_link, as: 'selfLink'
1187
+ end
1188
+
1189
+ class Access
1190
+ # @private
1191
+ class Representation < Google::Apis::Core::JsonRepresentation
1192
+ property :domain, as: 'domain'
1193
+ property :group_by_email, as: 'groupByEmail'
1194
+ property :iam_member, as: 'iamMember'
1195
+ property :role, as: 'role'
1196
+ property :routine, as: 'routine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
1197
+
1198
+ property :special_group, as: 'specialGroup'
1199
+ property :user_by_email, as: 'userByEmail'
1200
+ property :view, as: 'view', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1201
+
1202
+ end
1203
+ end
1204
+ end
1205
+
1206
+ class DatasetList
1207
+ # @private
1208
+ class Representation < Google::Apis::Core::JsonRepresentation
1209
+ collection :datasets, as: 'datasets', class: Google::Apis::BigqueryV2::DatasetList::Dataset, decorator: Google::Apis::BigqueryV2::DatasetList::Dataset::Representation
1210
+
1211
+ property :etag, as: 'etag'
1212
+ property :kind, as: 'kind'
1213
+ property :next_page_token, as: 'nextPageToken'
1214
+ end
1215
+
1216
+ class Dataset
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1220
+
1221
+ property :friendly_name, as: 'friendlyName'
1222
+ property :id, as: 'id'
1223
+ property :kind, as: 'kind'
1224
+ hash :labels, as: 'labels'
1225
+ property :location, as: 'location'
1226
+ end
1227
+ end
1228
+ end
1229
+
1230
+ class DatasetReference
1231
+ # @private
1232
+ class Representation < Google::Apis::Core::JsonRepresentation
1233
+ property :dataset_id, as: 'datasetId'
1234
+ property :project_id, as: 'projectId'
1235
+ end
1236
+ end
1237
+
1238
+ class DestinationTableProperties
1239
+ # @private
1240
+ class Representation < Google::Apis::Core::JsonRepresentation
1241
+ property :description, as: 'description'
1242
+ property :friendly_name, as: 'friendlyName'
1243
+ hash :labels, as: 'labels'
1244
+ end
1245
+ end
1246
+
1247
+ class EncryptionConfiguration
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :kms_key_name, as: 'kmsKeyName'
1251
+ end
1252
+ end
1253
+
1254
+ class Entry
1255
+ # @private
1256
+ class Representation < Google::Apis::Core::JsonRepresentation
1257
+ property :item_count, :numeric_string => true, as: 'itemCount'
1258
+ property :predicted_label, as: 'predictedLabel'
1259
+ end
1260
+ end
1261
+
1262
+ class ErrorProto
1263
+ # @private
1264
+ class Representation < Google::Apis::Core::JsonRepresentation
1265
+ property :debug_info, as: 'debugInfo'
1266
+ property :location, as: 'location'
1267
+ property :message, as: 'message'
1268
+ property :reason, as: 'reason'
1269
+ end
1270
+ end
1271
+
1272
+ class EvaluationMetrics
1273
+ # @private
1274
+ class Representation < Google::Apis::Core::JsonRepresentation
1275
+ property :arima_forecasting_metrics, as: 'arimaForecastingMetrics', class: Google::Apis::BigqueryV2::ArimaForecastingMetrics, decorator: Google::Apis::BigqueryV2::ArimaForecastingMetrics::Representation
1276
+
1277
+ property :binary_classification_metrics, as: 'binaryClassificationMetrics', class: Google::Apis::BigqueryV2::BinaryClassificationMetrics, decorator: Google::Apis::BigqueryV2::BinaryClassificationMetrics::Representation
1278
+
1279
+ property :clustering_metrics, as: 'clusteringMetrics', class: Google::Apis::BigqueryV2::ClusteringMetrics, decorator: Google::Apis::BigqueryV2::ClusteringMetrics::Representation
1280
+
1281
+ property :multi_class_classification_metrics, as: 'multiClassClassificationMetrics', class: Google::Apis::BigqueryV2::MultiClassClassificationMetrics, decorator: Google::Apis::BigqueryV2::MultiClassClassificationMetrics::Representation
1282
+
1283
+ property :ranking_metrics, as: 'rankingMetrics', class: Google::Apis::BigqueryV2::RankingMetrics, decorator: Google::Apis::BigqueryV2::RankingMetrics::Representation
1284
+
1285
+ property :regression_metrics, as: 'regressionMetrics', class: Google::Apis::BigqueryV2::RegressionMetrics, decorator: Google::Apis::BigqueryV2::RegressionMetrics::Representation
1286
+
1287
+ end
1288
+ end
1289
+
1290
+ class ExplainQueryStage
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ property :completed_parallel_inputs, :numeric_string => true, as: 'completedParallelInputs'
1294
+ property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg'
1295
+ property :compute_ms_max, :numeric_string => true, as: 'computeMsMax'
1296
+ property :compute_ratio_avg, as: 'computeRatioAvg'
1297
+ property :compute_ratio_max, as: 'computeRatioMax'
1298
+ property :end_ms, :numeric_string => true, as: 'endMs'
1299
+ property :id, :numeric_string => true, as: 'id'
1300
+ collection :input_stages, as: 'inputStages'
1301
+ property :name, as: 'name'
1302
+ property :parallel_inputs, :numeric_string => true, as: 'parallelInputs'
1303
+ property :read_ms_avg, :numeric_string => true, as: 'readMsAvg'
1304
+ property :read_ms_max, :numeric_string => true, as: 'readMsMax'
1305
+ property :read_ratio_avg, as: 'readRatioAvg'
1306
+ property :read_ratio_max, as: 'readRatioMax'
1307
+ property :records_read, :numeric_string => true, as: 'recordsRead'
1308
+ property :records_written, :numeric_string => true, as: 'recordsWritten'
1309
+ property :shuffle_output_bytes, :numeric_string => true, as: 'shuffleOutputBytes'
1310
+ property :shuffle_output_bytes_spilled, :numeric_string => true, as: 'shuffleOutputBytesSpilled'
1311
+ property :slot_ms, :numeric_string => true, as: 'slotMs'
1312
+ property :start_ms, :numeric_string => true, as: 'startMs'
1313
+ property :status, as: 'status'
1314
+ collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation
1315
+
1316
+ property :wait_ms_avg, :numeric_string => true, as: 'waitMsAvg'
1317
+ property :wait_ms_max, :numeric_string => true, as: 'waitMsMax'
1318
+ property :wait_ratio_avg, as: 'waitRatioAvg'
1319
+ property :wait_ratio_max, as: 'waitRatioMax'
1320
+ property :write_ms_avg, :numeric_string => true, as: 'writeMsAvg'
1321
+ property :write_ms_max, :numeric_string => true, as: 'writeMsMax'
1322
+ property :write_ratio_avg, as: 'writeRatioAvg'
1323
+ property :write_ratio_max, as: 'writeRatioMax'
1324
+ end
1325
+ end
1326
+
1327
+ class ExplainQueryStep
1328
+ # @private
1329
+ class Representation < Google::Apis::Core::JsonRepresentation
1330
+ property :kind, as: 'kind'
1331
+ collection :substeps, as: 'substeps'
1332
+ end
1333
+ end
1334
+
1335
+ class Explanation
1336
+ # @private
1337
+ class Representation < Google::Apis::Core::JsonRepresentation
1338
+ property :attribution, as: 'attribution'
1339
+ property :feature_name, as: 'featureName'
1340
+ end
1341
+ end
1342
+
1343
+ class Expr
1344
+ # @private
1345
+ class Representation < Google::Apis::Core::JsonRepresentation
1346
+ property :description, as: 'description'
1347
+ property :expression, as: 'expression'
1348
+ property :location, as: 'location'
1349
+ property :title, as: 'title'
1350
+ end
1351
+ end
1352
+
1353
+ class ExternalDataConfiguration
1354
+ # @private
1355
+ class Representation < Google::Apis::Core::JsonRepresentation
1356
+ property :autodetect, as: 'autodetect'
1357
+ property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
1358
+
1359
+ property :compression, as: 'compression'
1360
+ property :connection_id, as: 'connectionId'
1361
+ property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
1362
+
1363
+ property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
1364
+
1365
+ property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
1366
+
1367
+ property :ignore_unknown_values, as: 'ignoreUnknownValues'
1368
+ property :max_bad_records, as: 'maxBadRecords'
1369
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1370
+
1371
+ property :source_format, as: 'sourceFormat'
1372
+ collection :source_uris, as: 'sourceUris'
1373
+ end
1374
+ end
1375
+
1376
+ class FeatureValue
1377
+ # @private
1378
+ class Representation < Google::Apis::Core::JsonRepresentation
1379
+ property :categorical_value, as: 'categoricalValue', class: Google::Apis::BigqueryV2::CategoricalValue, decorator: Google::Apis::BigqueryV2::CategoricalValue::Representation
1380
+
1381
+ property :feature_column, as: 'featureColumn'
1382
+ property :numerical_value, as: 'numericalValue'
1383
+ end
1384
+ end
1385
+
1386
+ class GetIamPolicyRequest
1387
+ # @private
1388
+ class Representation < Google::Apis::Core::JsonRepresentation
1389
+ property :options, as: 'options', class: Google::Apis::BigqueryV2::GetPolicyOptions, decorator: Google::Apis::BigqueryV2::GetPolicyOptions::Representation
1390
+
1391
+ end
1392
+ end
1393
+
1394
+ class GetPolicyOptions
1395
+ # @private
1396
+ class Representation < Google::Apis::Core::JsonRepresentation
1397
+ property :requested_policy_version, as: 'requestedPolicyVersion'
1398
+ end
1399
+ end
1400
+
1401
+ class GetQueryResultsResponse
1402
+ # @private
1403
+ class Representation < Google::Apis::Core::JsonRepresentation
1404
+ property :cache_hit, as: 'cacheHit'
1405
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
1406
+
1407
+ property :etag, as: 'etag'
1408
+ property :job_complete, as: 'jobComplete'
1409
+ property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
1410
+
1411
+ property :kind, as: 'kind'
1412
+ property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
1413
+ property :page_token, as: 'pageToken'
1414
+ collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
1415
+
1416
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1417
+
1418
+ property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
1419
+ property :total_rows, :numeric_string => true, as: 'totalRows'
1420
+ end
1421
+ end
1422
+
1423
+ class GetServiceAccountResponse
1424
+ # @private
1425
+ class Representation < Google::Apis::Core::JsonRepresentation
1426
+ property :email, as: 'email'
1427
+ property :kind, as: 'kind'
1428
+ end
1429
+ end
1430
+
1431
+ class GlobalExplanation
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :class_label, as: 'classLabel'
1435
+ collection :explanations, as: 'explanations', class: Google::Apis::BigqueryV2::Explanation, decorator: Google::Apis::BigqueryV2::Explanation::Representation
1436
+
1437
+ end
1438
+ end
1439
+
1440
+ class GoogleSheetsOptions
1441
+ # @private
1442
+ class Representation < Google::Apis::Core::JsonRepresentation
1443
+ property :range, as: 'range'
1444
+ property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
1445
+ end
1446
+ end
1447
+
1448
+ class HivePartitioningOptions
1449
+ # @private
1450
+ class Representation < Google::Apis::Core::JsonRepresentation
1451
+ property :mode, as: 'mode'
1452
+ property :require_partition_filter, as: 'requirePartitionFilter'
1453
+ property :source_uri_prefix, as: 'sourceUriPrefix'
1454
+ end
1455
+ end
1456
+
1457
+ class IterationResult
1458
+ # @private
1459
+ class Representation < Google::Apis::Core::JsonRepresentation
1460
+ property :arima_result, as: 'arimaResult', class: Google::Apis::BigqueryV2::ArimaResult, decorator: Google::Apis::BigqueryV2::ArimaResult::Representation
1461
+
1462
+ collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation
1463
+
1464
+ property :duration_ms, :numeric_string => true, as: 'durationMs'
1465
+ property :eval_loss, as: 'evalLoss'
1466
+ property :index, as: 'index'
1467
+ property :learn_rate, as: 'learnRate'
1468
+ property :training_loss, as: 'trainingLoss'
1469
+ end
1470
+ end
1471
+
1472
+ class Job
1473
+ # @private
1474
+ class Representation < Google::Apis::Core::JsonRepresentation
1475
+ property :configuration, as: 'configuration', class: Google::Apis::BigqueryV2::JobConfiguration, decorator: Google::Apis::BigqueryV2::JobConfiguration::Representation
1476
+
1477
+ property :etag, as: 'etag'
1478
+ property :id, as: 'id'
1479
+ property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
1480
+
1481
+ property :kind, as: 'kind'
1482
+ property :self_link, as: 'selfLink'
1483
+ property :statistics, as: 'statistics', class: Google::Apis::BigqueryV2::JobStatistics, decorator: Google::Apis::BigqueryV2::JobStatistics::Representation
1484
+
1485
+ property :status, as: 'status', class: Google::Apis::BigqueryV2::JobStatus, decorator: Google::Apis::BigqueryV2::JobStatus::Representation
1486
+
1487
+ property :user_email, as: 'user_email'
1488
+ end
1489
+ end
1490
+
1491
+ class CancelJobResponse
1492
+ # @private
1493
+ class Representation < Google::Apis::Core::JsonRepresentation
1494
+ property :job, as: 'job', class: Google::Apis::BigqueryV2::Job, decorator: Google::Apis::BigqueryV2::Job::Representation
1495
+
1496
+ property :kind, as: 'kind'
1497
+ end
1498
+ end
1499
+
1500
+ class JobConfiguration
1501
+ # @private
1502
+ class Representation < Google::Apis::Core::JsonRepresentation
1503
+ property :copy, as: 'copy', class: Google::Apis::BigqueryV2::JobConfigurationTableCopy, decorator: Google::Apis::BigqueryV2::JobConfigurationTableCopy::Representation
1504
+
1505
+ property :dry_run, as: 'dryRun'
1506
+ property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation
1507
+
1508
+ property :job_timeout_ms, :numeric_string => true, as: 'jobTimeoutMs'
1509
+ property :job_type, as: 'jobType'
1510
+ hash :labels, as: 'labels'
1511
+ property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation
1512
+
1513
+ property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation
1514
+
1515
+ end
1516
+ end
1517
+
1518
+ class JobConfigurationExtract
1519
+ # @private
1520
+ class Representation < Google::Apis::Core::JsonRepresentation
1521
+ property :compression, as: 'compression'
1522
+ property :destination_format, as: 'destinationFormat'
1523
+ property :destination_uri, as: 'destinationUri'
1524
+ collection :destination_uris, as: 'destinationUris'
1525
+ property :field_delimiter, as: 'fieldDelimiter'
1526
+ property :print_header, as: 'printHeader'
1527
+ property :source_model, as: 'sourceModel', class: Google::Apis::BigqueryV2::ModelReference, decorator: Google::Apis::BigqueryV2::ModelReference::Representation
1528
+
1529
+ property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1530
+
1531
+ property :use_avro_logical_types, as: 'useAvroLogicalTypes'
1532
+ end
1533
+ end
1534
+
1535
+ class JobConfigurationLoad
1536
+ # @private
1537
+ class Representation < Google::Apis::Core::JsonRepresentation
1538
+ property :allow_jagged_rows, as: 'allowJaggedRows'
1539
+ property :allow_quoted_newlines, as: 'allowQuotedNewlines'
1540
+ property :autodetect, as: 'autodetect'
1541
+ property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1542
+
1543
+ property :create_disposition, as: 'createDisposition'
1544
+ collection :decimal_target_types, as: 'decimalTargetTypes'
1545
+ property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1546
+
1547
+ property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1548
+
1549
+ property :destination_table_properties, as: 'destinationTableProperties', class: Google::Apis::BigqueryV2::DestinationTableProperties, decorator: Google::Apis::BigqueryV2::DestinationTableProperties::Representation
1550
+
1551
+ property :encoding, as: 'encoding'
1552
+ property :field_delimiter, as: 'fieldDelimiter'
1553
+ property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
1554
+
1555
+ property :ignore_unknown_values, as: 'ignoreUnknownValues'
1556
+ property :max_bad_records, as: 'maxBadRecords'
1557
+ property :null_marker, as: 'nullMarker'
1558
+ collection :projection_fields, as: 'projectionFields'
1559
+ property :quote, as: 'quote'
1560
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
1561
+
1562
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1563
+
1564
+ property :schema_inline, as: 'schemaInline'
1565
+ property :schema_inline_format, as: 'schemaInlineFormat'
1566
+ collection :schema_update_options, as: 'schemaUpdateOptions'
1567
+ property :skip_leading_rows, as: 'skipLeadingRows'
1568
+ property :source_format, as: 'sourceFormat'
1569
+ collection :source_uris, as: 'sourceUris'
1570
+ property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
1571
+
1572
+ property :use_avro_logical_types, as: 'useAvroLogicalTypes'
1573
+ property :write_disposition, as: 'writeDisposition'
1574
+ end
1575
+ end
1576
+
1577
+ class JobConfigurationQuery
1578
+ # @private
1579
+ class Representation < Google::Apis::Core::JsonRepresentation
1580
+ property :allow_large_results, as: 'allowLargeResults'
1581
+ property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1582
+
1583
+ collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1584
+
1585
+ property :create_disposition, as: 'createDisposition'
1586
+ property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1587
+
1588
+ property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1589
+
1590
+ property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1591
+
1592
+ property :flatten_results, as: 'flattenResults'
1593
+ property :maximum_billing_tier, as: 'maximumBillingTier'
1594
+ property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
1595
+ property :parameter_mode, as: 'parameterMode'
1596
+ property :preserve_nulls, as: 'preserveNulls'
1597
+ property :priority, as: 'priority'
1598
+ property :query, as: 'query'
1599
+ collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
1600
+
1601
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
1602
+
1603
+ collection :schema_update_options, as: 'schemaUpdateOptions'
1604
+ hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
1605
+
1606
+ property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
1607
+
1608
+ property :use_legacy_sql, as: 'useLegacySql'
1609
+ property :use_query_cache, as: 'useQueryCache'
1610
+ collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
1611
+
1612
+ property :write_disposition, as: 'writeDisposition'
1613
+ end
1614
+ end
1615
+
1616
+ class JobConfigurationTableCopy
1617
+ # @private
1618
+ class Representation < Google::Apis::Core::JsonRepresentation
1619
+ property :create_disposition, as: 'createDisposition'
1620
+ property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1621
+
1622
+ property :destination_expiration_time, as: 'destinationExpirationTime'
1623
+ property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1624
+
1625
+ property :operation_type, as: 'operationType'
1626
+ property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1627
+
1628
+ collection :source_tables, as: 'sourceTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1629
+
1630
+ property :write_disposition, as: 'writeDisposition'
1631
+ end
1632
+ end
1633
+
1634
+ class JobList
1635
+ # @private
1636
+ class Representation < Google::Apis::Core::JsonRepresentation
1637
+ property :etag, as: 'etag'
1638
+ collection :jobs, as: 'jobs', class: Google::Apis::BigqueryV2::JobList::Job, decorator: Google::Apis::BigqueryV2::JobList::Job::Representation
1639
+
1640
+ property :kind, as: 'kind'
1641
+ property :next_page_token, as: 'nextPageToken'
1642
+ end
1643
+
1644
+ class Job
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ property :configuration, as: 'configuration', class: Google::Apis::BigqueryV2::JobConfiguration, decorator: Google::Apis::BigqueryV2::JobConfiguration::Representation
1648
+
1649
+ property :error_result, as: 'errorResult', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
1650
+
1651
+ property :id, as: 'id'
1652
+ property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
1653
+
1654
+ property :kind, as: 'kind'
1655
+ property :state, as: 'state'
1656
+ property :statistics, as: 'statistics', class: Google::Apis::BigqueryV2::JobStatistics, decorator: Google::Apis::BigqueryV2::JobStatistics::Representation
1657
+
1658
+ property :status, as: 'status', class: Google::Apis::BigqueryV2::JobStatus, decorator: Google::Apis::BigqueryV2::JobStatus::Representation
1659
+
1660
+ property :user_email, as: 'user_email'
1661
+ end
1662
+ end
1663
+ end
1664
+
1665
+ class JobReference
1666
+ # @private
1667
+ class Representation < Google::Apis::Core::JsonRepresentation
1668
+ property :job_id, as: 'jobId'
1669
+ property :location, as: 'location'
1670
+ property :project_id, as: 'projectId'
1671
+ end
1672
+ end
1673
+
1674
+ class JobStatistics
1675
+ # @private
1676
+ class Representation < Google::Apis::Core::JsonRepresentation
1677
+ property :completion_ratio, as: 'completionRatio'
1678
+ property :creation_time, :numeric_string => true, as: 'creationTime'
1679
+ property :end_time, :numeric_string => true, as: 'endTime'
1680
+ property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
1681
+
1682
+ property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation
1683
+
1684
+ property :num_child_jobs, :numeric_string => true, as: 'numChildJobs'
1685
+ property :parent_job_id, as: 'parentJobId'
1686
+ property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
1687
+
1688
+ collection :quota_deferments, as: 'quotaDeferments'
1689
+ collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation
1690
+
1691
+ property :reservation_id, as: 'reservation_id'
1692
+ property :row_level_security_statistics, as: 'rowLevelSecurityStatistics', class: Google::Apis::BigqueryV2::RowLevelSecurityStatistics, decorator: Google::Apis::BigqueryV2::RowLevelSecurityStatistics::Representation
1693
+
1694
+ property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
1695
+
1696
+ property :start_time, :numeric_string => true, as: 'startTime'
1697
+ property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
1698
+ property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
1699
+ property :transaction_info_template, as: 'transactionInfoTemplate', class: Google::Apis::BigqueryV2::TransactionInfo, decorator: Google::Apis::BigqueryV2::TransactionInfo::Representation
1700
+
1701
+ end
1702
+
1703
+ class ReservationUsage
1704
+ # @private
1705
+ class Representation < Google::Apis::Core::JsonRepresentation
1706
+ property :name, as: 'name'
1707
+ property :slot_ms, :numeric_string => true, as: 'slotMs'
1708
+ end
1709
+ end
1710
+ end
1711
+
1712
+ class JobStatistics2
1713
+ # @private
1714
+ class Representation < Google::Apis::Core::JsonRepresentation
1715
+ property :billing_tier, as: 'billingTier'
1716
+ property :cache_hit, as: 'cacheHit'
1717
+ property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
1718
+ property :ddl_operation_performed, as: 'ddlOperationPerformed'
1719
+ property :ddl_target_routine, as: 'ddlTargetRoutine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
1720
+
1721
+ property :ddl_target_row_access_policy, as: 'ddlTargetRowAccessPolicy', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
1722
+
1723
+ property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1724
+
1725
+ property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
1726
+ property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
1727
+
1728
+ property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
1729
+ property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
1730
+ property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
1731
+ collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
1732
+
1733
+ collection :referenced_routines, as: 'referencedRoutines', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
1734
+
1735
+ collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1736
+
1737
+ collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage::Representation
1738
+
1739
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1740
+
1741
+ property :statement_type, as: 'statementType'
1742
+ collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
1743
+
1744
+ property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
1745
+ property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
1746
+ property :total_bytes_processed_accuracy, as: 'totalBytesProcessedAccuracy'
1747
+ property :total_partitions_processed, :numeric_string => true, as: 'totalPartitionsProcessed'
1748
+ property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
1749
+ collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
1750
+
1751
+ end
1752
+
1753
+ class ReservationUsage
1754
+ # @private
1755
+ class Representation < Google::Apis::Core::JsonRepresentation
1756
+ property :name, as: 'name'
1757
+ property :slot_ms, :numeric_string => true, as: 'slotMs'
1758
+ end
1759
+ end
1760
+ end
1761
+
1762
+ class JobStatistics3
1763
+ # @private
1764
+ class Representation < Google::Apis::Core::JsonRepresentation
1765
+ property :bad_records, :numeric_string => true, as: 'badRecords'
1766
+ property :input_file_bytes, :numeric_string => true, as: 'inputFileBytes'
1767
+ property :input_files, :numeric_string => true, as: 'inputFiles'
1768
+ property :output_bytes, :numeric_string => true, as: 'outputBytes'
1769
+ property :output_rows, :numeric_string => true, as: 'outputRows'
1770
+ end
1771
+ end
1772
+
1773
+ class JobStatistics4
1774
+ # @private
1775
+ class Representation < Google::Apis::Core::JsonRepresentation
1776
+ collection :destination_uri_file_counts, as: 'destinationUriFileCounts'
1777
+ property :input_bytes, :numeric_string => true, as: 'inputBytes'
1778
+ end
1779
+ end
1780
+
1781
+ class JobStatus
1782
+ # @private
1783
+ class Representation < Google::Apis::Core::JsonRepresentation
1784
+ property :error_result, as: 'errorResult', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
1785
+
1786
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
1787
+
1788
+ property :state, as: 'state'
1789
+ end
1790
+ end
1791
+
1792
+ class ListModelsResponse
1793
+ # @private
1794
+ class Representation < Google::Apis::Core::JsonRepresentation
1795
+ collection :models, as: 'models', class: Google::Apis::BigqueryV2::Model, decorator: Google::Apis::BigqueryV2::Model::Representation
1796
+
1797
+ property :next_page_token, as: 'nextPageToken'
1798
+ end
1799
+ end
1800
+
1801
+ class ListRoutinesResponse
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ property :next_page_token, as: 'nextPageToken'
1805
+ collection :routines, as: 'routines', class: Google::Apis::BigqueryV2::Routine, decorator: Google::Apis::BigqueryV2::Routine::Representation
1806
+
1807
+ end
1808
+ end
1809
+
1810
+ class ListRowAccessPoliciesResponse
1811
+ # @private
1812
+ class Representation < Google::Apis::Core::JsonRepresentation
1813
+ property :next_page_token, as: 'nextPageToken'
1814
+ collection :row_access_policies, as: 'rowAccessPolicies', class: Google::Apis::BigqueryV2::RowAccessPolicy, decorator: Google::Apis::BigqueryV2::RowAccessPolicy::Representation
1815
+
1816
+ end
1817
+ end
1818
+
1819
+ class LocationMetadata
1820
+ # @private
1821
+ class Representation < Google::Apis::Core::JsonRepresentation
1822
+ property :legacy_location_id, as: 'legacyLocationId'
1823
+ end
1824
+ end
1825
+
1826
+ class MaterializedViewDefinition
1827
+ # @private
1828
+ class Representation < Google::Apis::Core::JsonRepresentation
1829
+ property :enable_refresh, as: 'enableRefresh'
1830
+ property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime'
1831
+ property :query, as: 'query'
1832
+ property :refresh_interval_ms, :numeric_string => true, as: 'refreshIntervalMs'
1833
+ end
1834
+ end
1835
+
1836
+ class Model
1837
+ # @private
1838
+ class Representation < Google::Apis::Core::JsonRepresentation
1839
+ property :creation_time, :numeric_string => true, as: 'creationTime'
1840
+ property :description, as: 'description'
1841
+ property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
1842
+
1843
+ property :etag, as: 'etag'
1844
+ property :expiration_time, :numeric_string => true, as: 'expirationTime'
1845
+ collection :feature_columns, as: 'featureColumns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation
1846
+
1847
+ property :friendly_name, as: 'friendlyName'
1848
+ collection :label_columns, as: 'labelColumns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation
1849
+
1850
+ hash :labels, as: 'labels'
1851
+ property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1852
+ property :location, as: 'location'
1853
+ property :model_reference, as: 'modelReference', class: Google::Apis::BigqueryV2::ModelReference, decorator: Google::Apis::BigqueryV2::ModelReference::Representation
1854
+
1855
+ property :model_type, as: 'modelType'
1856
+ collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
1857
+
1858
+ end
1859
+ end
1860
+
1861
+ class ModelDefinition
1862
+ # @private
1863
+ class Representation < Google::Apis::Core::JsonRepresentation
1864
+ property :model_options, as: 'modelOptions', class: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions, decorator: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions::Representation
1865
+
1866
+ collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::BqmlTrainingRun, decorator: Google::Apis::BigqueryV2::BqmlTrainingRun::Representation
1867
+
1868
+ end
1869
+
1870
+ class ModelOptions
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ collection :labels, as: 'labels'
1874
+ property :loss_type, as: 'lossType'
1875
+ property :model_type, as: 'modelType'
1876
+ end
1877
+ end
1878
+ end
1879
+
1880
+ class ModelReference
1881
+ # @private
1882
+ class Representation < Google::Apis::Core::JsonRepresentation
1883
+ property :dataset_id, as: 'datasetId'
1884
+ property :model_id, as: 'modelId'
1885
+ property :project_id, as: 'projectId'
1886
+ end
1887
+ end
1888
+
1889
+ class MultiClassClassificationMetrics
1890
+ # @private
1891
+ class Representation < Google::Apis::Core::JsonRepresentation
1892
+ property :aggregate_classification_metrics, as: 'aggregateClassificationMetrics', class: Google::Apis::BigqueryV2::AggregateClassificationMetrics, decorator: Google::Apis::BigqueryV2::AggregateClassificationMetrics::Representation
1893
+
1894
+ collection :confusion_matrix_list, as: 'confusionMatrixList', class: Google::Apis::BigqueryV2::ConfusionMatrix, decorator: Google::Apis::BigqueryV2::ConfusionMatrix::Representation
1895
+
1896
+ end
1897
+ end
1898
+
1899
+ class Policy
1900
+ # @private
1901
+ class Representation < Google::Apis::Core::JsonRepresentation
1902
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::BigqueryV2::AuditConfig, decorator: Google::Apis::BigqueryV2::AuditConfig::Representation
1903
+
1904
+ collection :bindings, as: 'bindings', class: Google::Apis::BigqueryV2::Binding, decorator: Google::Apis::BigqueryV2::Binding::Representation
1905
+
1906
+ property :etag, :base64 => true, as: 'etag'
1907
+ property :version, as: 'version'
1908
+ end
1909
+ end
1910
+
1911
+ class ProjectList
1912
+ # @private
1913
+ class Representation < Google::Apis::Core::JsonRepresentation
1914
+ property :etag, as: 'etag'
1915
+ property :kind, as: 'kind'
1916
+ property :next_page_token, as: 'nextPageToken'
1917
+ collection :projects, as: 'projects', class: Google::Apis::BigqueryV2::ProjectList::Project, decorator: Google::Apis::BigqueryV2::ProjectList::Project::Representation
1918
+
1919
+ property :total_items, as: 'totalItems'
1920
+ end
1921
+
1922
+ class Project
1923
+ # @private
1924
+ class Representation < Google::Apis::Core::JsonRepresentation
1925
+ property :friendly_name, as: 'friendlyName'
1926
+ property :id, as: 'id'
1927
+ property :kind, as: 'kind'
1928
+ property :numeric_id, :numeric_string => true, as: 'numericId'
1929
+ property :project_reference, as: 'projectReference', class: Google::Apis::BigqueryV2::ProjectReference, decorator: Google::Apis::BigqueryV2::ProjectReference::Representation
1930
+
1931
+ end
1932
+ end
1933
+ end
1934
+
1935
+ class ProjectReference
1936
+ # @private
1937
+ class Representation < Google::Apis::Core::JsonRepresentation
1938
+ property :project_id, as: 'projectId'
1939
+ end
1940
+ end
1941
+
1942
+ class QueryParameter
1943
+ # @private
1944
+ class Representation < Google::Apis::Core::JsonRepresentation
1945
+ property :name, as: 'name'
1946
+ property :parameter_type, as: 'parameterType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
1947
+
1948
+ property :parameter_value, as: 'parameterValue', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
1949
+
1950
+ end
1951
+ end
1952
+
1953
+ class QueryParameterType
1954
+ # @private
1955
+ class Representation < Google::Apis::Core::JsonRepresentation
1956
+ property :array_type, as: 'arrayType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
1957
+
1958
+ collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation
1959
+
1960
+ property :type, as: 'type'
1961
+ end
1962
+
1963
+ class StructType
1964
+ # @private
1965
+ class Representation < Google::Apis::Core::JsonRepresentation
1966
+ property :description, as: 'description'
1967
+ property :name, as: 'name'
1968
+ property :type, as: 'type', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation
1969
+
1970
+ end
1971
+ end
1972
+ end
1973
+
1974
+ class QueryParameterValue
1975
+ # @private
1976
+ class Representation < Google::Apis::Core::JsonRepresentation
1977
+ collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
1978
+
1979
+ hash :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
1980
+
1981
+ property :value, as: 'value'
1982
+ end
1983
+ end
1984
+
1985
+ class QueryRequest
1986
+ # @private
1987
+ class Representation < Google::Apis::Core::JsonRepresentation
1988
+ collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1989
+
1990
+ property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1991
+
1992
+ property :dry_run, as: 'dryRun'
1993
+ property :kind, as: 'kind'
1994
+ hash :labels, as: 'labels'
1995
+ property :location, as: 'location'
1996
+ property :max_results, as: 'maxResults'
1997
+ property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
1998
+ property :parameter_mode, as: 'parameterMode'
1999
+ property :preserve_nulls, as: 'preserveNulls'
2000
+ property :query, as: 'query'
2001
+ collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
2002
+
2003
+ property :request_id, as: 'requestId'
2004
+ property :timeout_ms, as: 'timeoutMs'
2005
+ property :use_legacy_sql, as: 'useLegacySql'
2006
+ property :use_query_cache, as: 'useQueryCache'
2007
+ end
2008
+ end
2009
+
2010
+ class QueryResponse
2011
+ # @private
2012
+ class Representation < Google::Apis::Core::JsonRepresentation
2013
+ property :cache_hit, as: 'cacheHit'
2014
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2015
+
2016
+ property :job_complete, as: 'jobComplete'
2017
+ property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2018
+
2019
+ property :kind, as: 'kind'
2020
+ property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
2021
+ property :page_token, as: 'pageToken'
2022
+ collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
2023
+
2024
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2025
+
2026
+ property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
2027
+ property :total_rows, :numeric_string => true, as: 'totalRows'
2028
+ end
2029
+ end
2030
+
2031
+ class QueryTimelineSample
2032
+ # @private
2033
+ class Representation < Google::Apis::Core::JsonRepresentation
2034
+ property :active_units, :numeric_string => true, as: 'activeUnits'
2035
+ property :completed_units, :numeric_string => true, as: 'completedUnits'
2036
+ property :elapsed_ms, :numeric_string => true, as: 'elapsedMs'
2037
+ property :pending_units, :numeric_string => true, as: 'pendingUnits'
2038
+ property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
2039
+ end
2040
+ end
2041
+
2042
+ class RangePartitioning
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :field, as: 'field'
2046
+ property :range, as: 'range', class: Google::Apis::BigqueryV2::RangePartitioning::Range, decorator: Google::Apis::BigqueryV2::RangePartitioning::Range::Representation
2047
+
2048
+ end
2049
+
2050
+ class Range
2051
+ # @private
2052
+ class Representation < Google::Apis::Core::JsonRepresentation
2053
+ property :end, :numeric_string => true, as: 'end'
2054
+ property :interval, :numeric_string => true, as: 'interval'
2055
+ property :start, :numeric_string => true, as: 'start'
2056
+ end
2057
+ end
2058
+ end
2059
+
2060
+ class RankingMetrics
2061
+ # @private
2062
+ class Representation < Google::Apis::Core::JsonRepresentation
2063
+ property :average_rank, as: 'averageRank'
2064
+ property :mean_average_precision, as: 'meanAveragePrecision'
2065
+ property :mean_squared_error, as: 'meanSquaredError'
2066
+ property :normalized_discounted_cumulative_gain, as: 'normalizedDiscountedCumulativeGain'
2067
+ end
2068
+ end
2069
+
2070
+ class RegressionMetrics
2071
+ # @private
2072
+ class Representation < Google::Apis::Core::JsonRepresentation
2073
+ property :mean_absolute_error, as: 'meanAbsoluteError'
2074
+ property :mean_squared_error, as: 'meanSquaredError'
2075
+ property :mean_squared_log_error, as: 'meanSquaredLogError'
2076
+ property :median_absolute_error, as: 'medianAbsoluteError'
2077
+ property :r_squared, as: 'rSquared'
2078
+ end
2079
+ end
2080
+
2081
+ class Routine
2082
+ # @private
2083
+ class Representation < Google::Apis::Core::JsonRepresentation
2084
+ collection :arguments, as: 'arguments', class: Google::Apis::BigqueryV2::Argument, decorator: Google::Apis::BigqueryV2::Argument::Representation
2085
+
2086
+ property :creation_time, :numeric_string => true, as: 'creationTime'
2087
+ property :definition_body, as: 'definitionBody'
2088
+ property :description, as: 'description'
2089
+ property :determinism_level, as: 'determinismLevel'
2090
+ property :etag, as: 'etag'
2091
+ collection :imported_libraries, as: 'importedLibraries'
2092
+ property :language, as: 'language'
2093
+ property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
2094
+ property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2095
+
2096
+ property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
2097
+
2098
+ property :routine_type, as: 'routineType'
2099
+ end
2100
+ end
2101
+
2102
+ class RoutineReference
2103
+ # @private
2104
+ class Representation < Google::Apis::Core::JsonRepresentation
2105
+ property :dataset_id, as: 'datasetId'
2106
+ property :project_id, as: 'projectId'
2107
+ property :routine_id, as: 'routineId'
2108
+ end
2109
+ end
2110
+
2111
+ class Row
2112
+ # @private
2113
+ class Representation < Google::Apis::Core::JsonRepresentation
2114
+ property :actual_label, as: 'actualLabel'
2115
+ collection :entries, as: 'entries', class: Google::Apis::BigqueryV2::Entry, decorator: Google::Apis::BigqueryV2::Entry::Representation
2116
+
2117
+ end
2118
+ end
2119
+
2120
+ class RowAccessPolicy
2121
+ # @private
2122
+ class Representation < Google::Apis::Core::JsonRepresentation
2123
+ property :creation_time, as: 'creationTime'
2124
+ property :etag, as: 'etag'
2125
+ property :filter_predicate, as: 'filterPredicate'
2126
+ property :last_modified_time, as: 'lastModifiedTime'
2127
+ property :row_access_policy_reference, as: 'rowAccessPolicyReference', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
2128
+
2129
+ end
2130
+ end
2131
+
2132
+ class RowAccessPolicyReference
2133
+ # @private
2134
+ class Representation < Google::Apis::Core::JsonRepresentation
2135
+ property :dataset_id, as: 'datasetId'
2136
+ property :policy_id, as: 'policyId'
2137
+ property :project_id, as: 'projectId'
2138
+ property :table_id, as: 'tableId'
2139
+ end
2140
+ end
2141
+
2142
+ class RowLevelSecurityStatistics
2143
+ # @private
2144
+ class Representation < Google::Apis::Core::JsonRepresentation
2145
+ property :row_level_security_applied, as: 'rowLevelSecurityApplied'
2146
+ end
2147
+ end
2148
+
2149
+ class ScriptStackFrame
2150
+ # @private
2151
+ class Representation < Google::Apis::Core::JsonRepresentation
2152
+ property :end_column, as: 'endColumn'
2153
+ property :end_line, as: 'endLine'
2154
+ property :procedure_id, as: 'procedureId'
2155
+ property :start_column, as: 'startColumn'
2156
+ property :start_line, as: 'startLine'
2157
+ property :text, as: 'text'
2158
+ end
2159
+ end
2160
+
2161
+ class ScriptStatistics
2162
+ # @private
2163
+ class Representation < Google::Apis::Core::JsonRepresentation
2164
+ property :evaluation_kind, as: 'evaluationKind'
2165
+ collection :stack_frames, as: 'stackFrames', class: Google::Apis::BigqueryV2::ScriptStackFrame, decorator: Google::Apis::BigqueryV2::ScriptStackFrame::Representation
2166
+
2167
+ end
2168
+ end
2169
+
2170
+ class SetIamPolicyRequest
2171
+ # @private
2172
+ class Representation < Google::Apis::Core::JsonRepresentation
2173
+ property :policy, as: 'policy', class: Google::Apis::BigqueryV2::Policy, decorator: Google::Apis::BigqueryV2::Policy::Representation
2174
+
2175
+ property :update_mask, as: 'updateMask'
2176
+ end
2177
+ end
2178
+
2179
+ class SnapshotDefinition
2180
+ # @private
2181
+ class Representation < Google::Apis::Core::JsonRepresentation
2182
+ property :base_table_reference, as: 'baseTableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2183
+
2184
+ property :snapshot_time, as: 'snapshotTime', type: DateTime
2185
+
2186
+ end
2187
+ end
2188
+
2189
+ class StandardSqlDataType
2190
+ # @private
2191
+ class Representation < Google::Apis::Core::JsonRepresentation
2192
+ property :array_element_type, as: 'arrayElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2193
+
2194
+ property :struct_type, as: 'structType', class: Google::Apis::BigqueryV2::StandardSqlStructType, decorator: Google::Apis::BigqueryV2::StandardSqlStructType::Representation
2195
+
2196
+ property :type_kind, as: 'typeKind'
2197
+ end
2198
+ end
2199
+
2200
+ class StandardSqlField
2201
+ # @private
2202
+ class Representation < Google::Apis::Core::JsonRepresentation
2203
+ property :name, as: 'name'
2204
+ property :type, as: 'type', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2205
+
2206
+ end
2207
+ end
2208
+
2209
+ class StandardSqlStructType
2210
+ # @private
2211
+ class Representation < Google::Apis::Core::JsonRepresentation
2212
+ collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation
2213
+
2214
+ end
2215
+ end
2216
+
2217
+ class Streamingbuffer
2218
+ # @private
2219
+ class Representation < Google::Apis::Core::JsonRepresentation
2220
+ property :estimated_bytes, :numeric_string => true, as: 'estimatedBytes'
2221
+ property :estimated_rows, :numeric_string => true, as: 'estimatedRows'
2222
+ property :oldest_entry_time, :numeric_string => true, as: 'oldestEntryTime'
2223
+ end
2224
+ end
2225
+
2226
+ class Table
2227
+ # @private
2228
+ class Representation < Google::Apis::Core::JsonRepresentation
2229
+ property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2230
+
2231
+ property :creation_time, :numeric_string => true, as: 'creationTime'
2232
+ property :description, as: 'description'
2233
+ property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
2234
+
2235
+ property :etag, as: 'etag'
2236
+ property :expiration_time, :numeric_string => true, as: 'expirationTime'
2237
+ property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
2238
+
2239
+ property :friendly_name, as: 'friendlyName'
2240
+ property :id, as: 'id'
2241
+ property :kind, as: 'kind'
2242
+ hash :labels, as: 'labels'
2243
+ property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
2244
+ property :location, as: 'location'
2245
+ property :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedViewDefinition, decorator: Google::Apis::BigqueryV2::MaterializedViewDefinition::Representation
2246
+
2247
+ property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
2248
+
2249
+ property :num_bytes, :numeric_string => true, as: 'numBytes'
2250
+ property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
2251
+ property :num_physical_bytes, :numeric_string => true, as: 'numPhysicalBytes'
2252
+ property :num_rows, :numeric_string => true, as: 'numRows'
2253
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
2254
+
2255
+ property :require_partition_filter, as: 'requirePartitionFilter'
2256
+ property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
2257
+
2258
+ property :self_link, as: 'selfLink'
2259
+ property :snapshot_definition, as: 'snapshotDefinition', class: Google::Apis::BigqueryV2::SnapshotDefinition, decorator: Google::Apis::BigqueryV2::SnapshotDefinition::Representation
2260
+
2261
+ property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation
2262
+
2263
+ property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2264
+
2265
+ property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
2266
+
2267
+ property :type, as: 'type'
2268
+ property :view, as: 'view', class: Google::Apis::BigqueryV2::ViewDefinition, decorator: Google::Apis::BigqueryV2::ViewDefinition::Representation
2269
+
2270
+ end
2271
+ end
2272
+
2273
+ class TableCell
2274
+ # @private
2275
+ class Representation < Google::Apis::Core::JsonRepresentation
2276
+ property :v, as: 'v'
2277
+ end
2278
+ end
2279
+
2280
+ class InsertAllTableDataRequest
2281
+ # @private
2282
+ class Representation < Google::Apis::Core::JsonRepresentation
2283
+ property :ignore_unknown_values, as: 'ignoreUnknownValues'
2284
+ property :kind, as: 'kind'
2285
+ collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row, decorator: Google::Apis::BigqueryV2::InsertAllTableDataRequest::Row::Representation
2286
+
2287
+ property :skip_invalid_rows, as: 'skipInvalidRows'
2288
+ property :template_suffix, as: 'templateSuffix'
2289
+ end
2290
+
2291
+ class Row
2292
+ # @private
2293
+ class Representation < Google::Apis::Core::JsonRepresentation
2294
+ property :insert_id, as: 'insertId'
2295
+ hash :json, as: 'json'
2296
+ end
2297
+ end
2298
+ end
2299
+
2300
+ class InsertAllTableDataResponse
2301
+ # @private
2302
+ class Representation < Google::Apis::Core::JsonRepresentation
2303
+ collection :insert_errors, as: 'insertErrors', class: Google::Apis::BigqueryV2::InsertAllTableDataResponse::InsertError, decorator: Google::Apis::BigqueryV2::InsertAllTableDataResponse::InsertError::Representation
2304
+
2305
+ property :kind, as: 'kind'
2306
+ end
2307
+
2308
+ class InsertError
2309
+ # @private
2310
+ class Representation < Google::Apis::Core::JsonRepresentation
2311
+ collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2312
+
2313
+ property :index, as: 'index'
2314
+ end
2315
+ end
2316
+ end
2317
+
2318
+ class TableDataList
2319
+ # @private
2320
+ class Representation < Google::Apis::Core::JsonRepresentation
2321
+ property :etag, as: 'etag'
2322
+ property :kind, as: 'kind'
2323
+ property :page_token, as: 'pageToken'
2324
+ collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
2325
+
2326
+ property :total_rows, :numeric_string => true, as: 'totalRows'
2327
+ end
2328
+ end
2329
+
2330
+ class TableFieldSchema
2331
+ # @private
2332
+ class Representation < Google::Apis::Core::JsonRepresentation
2333
+ property :categories, as: 'categories', class: Google::Apis::BigqueryV2::TableFieldSchema::Categories, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Categories::Representation
2334
+
2335
+ property :description, as: 'description'
2336
+ collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2337
+
2338
+ property :mode, as: 'mode'
2339
+ property :name, as: 'name'
2340
+ property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
2341
+
2342
+ property :type, as: 'type'
2343
+ end
2344
+
2345
+ class Categories
2346
+ # @private
2347
+ class Representation < Google::Apis::Core::JsonRepresentation
2348
+ collection :names, as: 'names'
2349
+ end
2350
+ end
2351
+
2352
+ class PolicyTags
2353
+ # @private
2354
+ class Representation < Google::Apis::Core::JsonRepresentation
2355
+ collection :names, as: 'names'
2356
+ end
2357
+ end
2358
+ end
2359
+
2360
+ class TableList
2361
+ # @private
2362
+ class Representation < Google::Apis::Core::JsonRepresentation
2363
+ property :etag, as: 'etag'
2364
+ property :kind, as: 'kind'
2365
+ property :next_page_token, as: 'nextPageToken'
2366
+ collection :tables, as: 'tables', class: Google::Apis::BigqueryV2::TableList::Table, decorator: Google::Apis::BigqueryV2::TableList::Table::Representation
2367
+
2368
+ property :total_items, as: 'totalItems'
2369
+ end
2370
+
2371
+ class Table
2372
+ # @private
2373
+ class Representation < Google::Apis::Core::JsonRepresentation
2374
+ property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
2375
+
2376
+ property :creation_time, :numeric_string => true, as: 'creationTime'
2377
+ property :expiration_time, :numeric_string => true, as: 'expirationTime'
2378
+ property :friendly_name, as: 'friendlyName'
2379
+ property :id, as: 'id'
2380
+ property :kind, as: 'kind'
2381
+ hash :labels, as: 'labels'
2382
+ property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
2383
+
2384
+ property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2385
+
2386
+ property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
2387
+
2388
+ property :type, as: 'type'
2389
+ property :view, as: 'view', class: Google::Apis::BigqueryV2::TableList::Table::View, decorator: Google::Apis::BigqueryV2::TableList::Table::View::Representation
2390
+
2391
+ end
2392
+
2393
+ class View
2394
+ # @private
2395
+ class Representation < Google::Apis::Core::JsonRepresentation
2396
+ property :use_legacy_sql, as: 'useLegacySql'
2397
+ end
2398
+ end
2399
+ end
2400
+ end
2401
+
2402
+ class TableReference
2403
+ # @private
2404
+ class Representation < Google::Apis::Core::JsonRepresentation
2405
+ property :dataset_id, as: 'datasetId'
2406
+ property :project_id, as: 'projectId'
2407
+ property :table_id, as: 'tableId'
2408
+ end
2409
+ end
2410
+
2411
+ class TableRow
2412
+ # @private
2413
+ class Representation < Google::Apis::Core::JsonRepresentation
2414
+ collection :f, as: 'f', class: Google::Apis::BigqueryV2::TableCell, decorator: Google::Apis::BigqueryV2::TableCell::Representation
2415
+
2416
+ end
2417
+ end
2418
+
2419
+ class TableSchema
2420
+ # @private
2421
+ class Representation < Google::Apis::Core::JsonRepresentation
2422
+ collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
2423
+
2424
+ end
2425
+ end
2426
+
2427
+ class TestIamPermissionsRequest
2428
+ # @private
2429
+ class Representation < Google::Apis::Core::JsonRepresentation
2430
+ collection :permissions, as: 'permissions'
2431
+ end
2432
+ end
2433
+
2434
+ class TestIamPermissionsResponse
2435
+ # @private
2436
+ class Representation < Google::Apis::Core::JsonRepresentation
2437
+ collection :permissions, as: 'permissions'
2438
+ end
2439
+ end
2440
+
2441
+ class TimePartitioning
2442
+ # @private
2443
+ class Representation < Google::Apis::Core::JsonRepresentation
2444
+ property :expiration_ms, :numeric_string => true, as: 'expirationMs'
2445
+ property :field, as: 'field'
2446
+ property :require_partition_filter, as: 'requirePartitionFilter'
2447
+ property :type, as: 'type'
2448
+ end
2449
+ end
2450
+
2451
+ class TrainingOptions
2452
+ # @private
2453
+ class Representation < Google::Apis::Core::JsonRepresentation
2454
+ property :auto_arima, as: 'autoArima'
2455
+ property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
2456
+ property :batch_size, :numeric_string => true, as: 'batchSize'
2457
+ property :data_frequency, as: 'dataFrequency'
2458
+ property :data_split_column, as: 'dataSplitColumn'
2459
+ property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
2460
+ property :data_split_method, as: 'dataSplitMethod'
2461
+ property :distance_type, as: 'distanceType'
2462
+ property :dropout, as: 'dropout'
2463
+ property :early_stop, as: 'earlyStop'
2464
+ property :feedback_type, as: 'feedbackType'
2465
+ collection :hidden_units, as: 'hiddenUnits'
2466
+ property :holiday_region, as: 'holidayRegion'
2467
+ property :horizon, :numeric_string => true, as: 'horizon'
2468
+ property :include_drift, as: 'includeDrift'
2469
+ property :initial_learn_rate, as: 'initialLearnRate'
2470
+ collection :input_label_columns, as: 'inputLabelColumns'
2471
+ property :item_column, as: 'itemColumn'
2472
+ property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
2473
+ property :kmeans_initialization_method, as: 'kmeansInitializationMethod'
2474
+ property :l1_regularization, as: 'l1Regularization'
2475
+ property :l2_regularization, as: 'l2Regularization'
2476
+ hash :label_class_weights, as: 'labelClassWeights'
2477
+ property :learn_rate, as: 'learnRate'
2478
+ property :learn_rate_strategy, as: 'learnRateStrategy'
2479
+ property :loss_type, as: 'lossType'
2480
+ property :max_iterations, :numeric_string => true, as: 'maxIterations'
2481
+ property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2482
+ property :min_relative_progress, as: 'minRelativeProgress'
2483
+ property :min_split_loss, as: 'minSplitLoss'
2484
+ property :model_uri, as: 'modelUri'
2485
+ property :non_seasonal_order, as: 'nonSeasonalOrder', class: Google::Apis::BigqueryV2::ArimaOrder, decorator: Google::Apis::BigqueryV2::ArimaOrder::Representation
2486
+
2487
+ property :num_clusters, :numeric_string => true, as: 'numClusters'
2488
+ property :num_factors, :numeric_string => true, as: 'numFactors'
2489
+ property :optimization_strategy, as: 'optimizationStrategy'
2490
+ property :preserve_input_structs, as: 'preserveInputStructs'
2491
+ property :subsample, as: 'subsample'
2492
+ property :time_series_data_column, as: 'timeSeriesDataColumn'
2493
+ property :time_series_id_column, as: 'timeSeriesIdColumn'
2494
+ property :time_series_timestamp_column, as: 'timeSeriesTimestampColumn'
2495
+ property :user_column, as: 'userColumn'
2496
+ property :wals_alpha, as: 'walsAlpha'
2497
+ property :warm_start, as: 'warmStart'
2498
+ end
2499
+ end
2500
+
2501
+ class TrainingRun
2502
+ # @private
2503
+ class Representation < Google::Apis::Core::JsonRepresentation
2504
+ property :data_split_result, as: 'dataSplitResult', class: Google::Apis::BigqueryV2::DataSplitResult, decorator: Google::Apis::BigqueryV2::DataSplitResult::Representation
2505
+
2506
+ property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
2507
+
2508
+ collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
2509
+
2510
+ collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
2511
+
2512
+ property :start_time, as: 'startTime'
2513
+ property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingOptions::Representation
2514
+
2515
+ end
2516
+ end
2517
+
2518
+ class TransactionInfo
2519
+ # @private
2520
+ class Representation < Google::Apis::Core::JsonRepresentation
2521
+ property :transaction_id, as: 'transactionId'
2522
+ end
2523
+ end
2524
+
2525
+ class UserDefinedFunctionResource
2526
+ # @private
2527
+ class Representation < Google::Apis::Core::JsonRepresentation
2528
+ property :inline_code, as: 'inlineCode'
2529
+ property :resource_uri, as: 'resourceUri'
2530
+ end
2531
+ end
2532
+
2533
+ class ViewDefinition
2534
+ # @private
2535
+ class Representation < Google::Apis::Core::JsonRepresentation
2536
+ property :query, as: 'query'
2537
+ property :use_legacy_sql, as: 'useLegacySql'
2538
+ collection :user_defined_function_resources, as: 'userDefinedFunctionResources', class: Google::Apis::BigqueryV2::UserDefinedFunctionResource, decorator: Google::Apis::BigqueryV2::UserDefinedFunctionResource::Representation
2539
+
2540
+ end
2541
+ end
2542
+ end
2543
+ end
2544
+ end