google-apis-bigquery_v2 0.62.0 → 0.63.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.
@@ -238,6 +238,12 @@ module Google
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
+ class DataFormatOptions
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
241
247
  class DataMaskingStatistics
242
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
249
 
@@ -370,6 +376,12 @@ module Google
370
376
  include Google::Apis::Core::JsonObjectSupport
371
377
  end
372
378
 
379
+ class ExportDataStatistics
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
373
385
  class Expr
374
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
387
 
@@ -388,6 +400,12 @@ module Google
388
400
  include Google::Apis::Core::JsonObjectSupport
389
401
  end
390
402
 
403
+ class ExternalServiceCost
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
391
409
  class FeatureValue
392
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
411
 
@@ -430,6 +448,12 @@ module Google
430
448
  include Google::Apis::Core::JsonObjectSupport
431
449
  end
432
450
 
451
+ class HighCardinalityJoin
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
433
457
  class HivePartitioningOptions
434
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
459
 
@@ -454,6 +478,12 @@ module Google
454
478
  include Google::Apis::Core::JsonObjectSupport
455
479
  end
456
480
 
481
+ class InputDataChange
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
457
487
  class IntArray
458
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
489
 
@@ -610,6 +640,12 @@ module Google
610
640
  include Google::Apis::Core::JsonObjectSupport
611
641
  end
612
642
 
643
+ class LinkedDatasetSource
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
613
649
  class ListModelsResponse
614
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
651
 
@@ -628,18 +664,48 @@ module Google
628
664
  include Google::Apis::Core::JsonObjectSupport
629
665
  end
630
666
 
667
+ class LoadQueryStatistics
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
631
673
  class LocationMetadata
632
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
675
 
634
676
  include Google::Apis::Core::JsonObjectSupport
635
677
  end
636
678
 
679
+ class MaterializedView
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
637
685
  class MaterializedViewDefinition
638
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
687
 
640
688
  include Google::Apis::Core::JsonObjectSupport
641
689
  end
642
690
 
691
+ class MaterializedViewStatistics
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
697
+ class MaterializedViewStatus
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class MetadataCacheStatistics
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
643
709
  class MlStatistics
644
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
711
 
@@ -664,6 +730,12 @@ module Google
664
730
  include Google::Apis::Core::JsonObjectSupport
665
731
  end
666
732
 
733
+ class ModelExtractOptions
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
667
739
  class ModelReference
668
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
741
 
@@ -682,6 +754,12 @@ module Google
682
754
  include Google::Apis::Core::JsonObjectSupport
683
755
  end
684
756
 
757
+ class PerformanceInsights
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
685
763
  class Policy
686
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
765
 
@@ -718,6 +796,12 @@ module Google
718
796
  include Google::Apis::Core::JsonObjectSupport
719
797
  end
720
798
 
799
+ class QueryInfo
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
721
805
  class QueryParameter
722
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
807
 
@@ -738,12 +822,6 @@ module Google
738
822
 
739
823
  class QueryParameterValue
740
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
-
742
- class RangeValue
743
- class Representation < Google::Apis::Core::JsonRepresentation; end
744
-
745
- include Google::Apis::Core::JsonObjectSupport
746
- end
747
825
 
748
826
  include Google::Apis::Core::JsonObjectSupport
749
827
  end
@@ -844,6 +922,12 @@ module Google
844
922
  include Google::Apis::Core::JsonObjectSupport
845
923
  end
846
924
 
925
+ class ScriptOptions
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
847
931
  class ScriptStackFrame
848
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
933
 
@@ -898,6 +982,18 @@ module Google
898
982
  include Google::Apis::Core::JsonObjectSupport
899
983
  end
900
984
 
985
+ class StagePerformanceChangeInsight
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
991
+ class StagePerformanceStandaloneInsight
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
901
997
  class StandardSqlDataType
902
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
999
 
@@ -934,6 +1030,12 @@ module Google
934
1030
  include Google::Apis::Core::JsonObjectSupport
935
1031
  end
936
1032
 
1033
+ class SystemVariables
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
937
1039
  class Table
938
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
1041
 
@@ -1048,12 +1150,24 @@ module Google
1048
1150
  include Google::Apis::Core::JsonObjectSupport
1049
1151
  end
1050
1152
 
1153
+ class TableMetadataCacheUsage
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1051
1159
  class TableReference
1052
1160
  class Representation < Google::Apis::Core::JsonRepresentation; end
1053
1161
 
1054
1162
  include Google::Apis::Core::JsonObjectSupport
1055
1163
  end
1056
1164
 
1165
+ class TableReplicationInfo
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1057
1171
  class TableRow
1058
1172
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1173
 
@@ -1108,6 +1222,12 @@ module Google
1108
1222
  include Google::Apis::Core::JsonObjectSupport
1109
1223
  end
1110
1224
 
1225
+ class UndeleteDatasetRequest
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1111
1231
  class UserDefinedFunctionResource
1112
1232
  class Representation < Google::Apis::Core::JsonRepresentation; end
1113
1233
 
@@ -1336,6 +1456,7 @@ module Google
1336
1456
  collection :column_families, as: 'columnFamilies', class: Google::Apis::BigqueryV2::BigtableColumnFamily, decorator: Google::Apis::BigqueryV2::BigtableColumnFamily::Representation
1337
1457
 
1338
1458
  property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies'
1459
+ property :output_column_families_as_json, as: 'outputColumnFamiliesAsJson'
1339
1460
  property :read_rowkey_as_string, as: 'readRowkeyAsString'
1340
1461
  end
1341
1462
  end
@@ -1509,6 +1630,13 @@ module Google
1509
1630
  end
1510
1631
  end
1511
1632
 
1633
+ class DataFormatOptions
1634
+ # @private
1635
+ class Representation < Google::Apis::Core::JsonRepresentation
1636
+ property :use_int64_timestamp, as: 'useInt64Timestamp'
1637
+ end
1638
+ end
1639
+
1512
1640
  class DataMaskingStatistics
1513
1641
  # @private
1514
1642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1552,6 +1680,8 @@ module Google
1552
1680
  property :kind, as: 'kind'
1553
1681
  hash :labels, as: 'labels'
1554
1682
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
1683
+ property :linked_dataset_source, as: 'linkedDatasetSource', class: Google::Apis::BigqueryV2::LinkedDatasetSource, decorator: Google::Apis::BigqueryV2::LinkedDatasetSource::Representation
1684
+
1555
1685
  property :location, as: 'location'
1556
1686
  property :max_time_travel_hours, :numeric_string => true, as: 'maxTimeTravelHours'
1557
1687
  property :satisfies_pzs, as: 'satisfiesPzs'
@@ -1559,6 +1689,7 @@ module Google
1559
1689
  property :storage_billing_model, as: 'storageBillingModel'
1560
1690
  collection :tags, as: 'tags', class: Google::Apis::BigqueryV2::Dataset::Tag, decorator: Google::Apis::BigqueryV2::Dataset::Tag::Representation
1561
1691
 
1692
+ property :type, as: 'type'
1562
1693
  end
1563
1694
 
1564
1695
  class Access
@@ -1605,6 +1736,7 @@ module Google
1605
1736
  property :etag, as: 'etag'
1606
1737
  property :kind, as: 'kind'
1607
1738
  property :next_page_token, as: 'nextPageToken'
1739
+ collection :unreachable, as: 'unreachable'
1608
1740
  end
1609
1741
 
1610
1742
  class Dataset
@@ -1730,6 +1862,7 @@ module Google
1730
1862
  # @private
1731
1863
  class Representation < Google::Apis::Core::JsonRepresentation
1732
1864
  property :completed_parallel_inputs, :numeric_string => true, as: 'completedParallelInputs'
1865
+ property :compute_mode, as: 'computeMode'
1733
1866
  property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg'
1734
1867
  property :compute_ms_max, :numeric_string => true, as: 'computeMsMax'
1735
1868
  property :compute_ratio_avg, as: 'computeRatioAvg'
@@ -1779,6 +1912,14 @@ module Google
1779
1912
  end
1780
1913
  end
1781
1914
 
1915
+ class ExportDataStatistics
1916
+ # @private
1917
+ class Representation < Google::Apis::Core::JsonRepresentation
1918
+ property :file_count, :numeric_string => true, as: 'fileCount'
1919
+ property :row_count, :numeric_string => true, as: 'rowCount'
1920
+ end
1921
+ end
1922
+
1782
1923
  class Expr
1783
1924
  # @private
1784
1925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1808,6 +1949,7 @@ module Google
1808
1949
  property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
1809
1950
 
1810
1951
  property :ignore_unknown_values, as: 'ignoreUnknownValues'
1952
+ property :json_extension, as: 'jsonExtension'
1811
1953
  property :json_options, as: 'jsonOptions', class: Google::Apis::BigqueryV2::JsonOptions, decorator: Google::Apis::BigqueryV2::JsonOptions::Representation
1812
1954
 
1813
1955
  property :max_bad_records, as: 'maxBadRecords'
@@ -1831,6 +1973,17 @@ module Google
1831
1973
  end
1832
1974
  end
1833
1975
 
1976
+ class ExternalServiceCost
1977
+ # @private
1978
+ class Representation < Google::Apis::Core::JsonRepresentation
1979
+ property :bytes_billed, :numeric_string => true, as: 'bytesBilled'
1980
+ property :bytes_processed, :numeric_string => true, as: 'bytesProcessed'
1981
+ property :external_service, as: 'externalService'
1982
+ property :reserved_slot_count, :numeric_string => true, as: 'reservedSlotCount'
1983
+ property :slot_ms, :numeric_string => true, as: 'slotMs'
1984
+ end
1985
+ end
1986
+
1834
1987
  class FeatureValue
1835
1988
  # @private
1836
1989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1903,6 +2056,16 @@ module Google
1903
2056
  end
1904
2057
  end
1905
2058
 
2059
+ class HighCardinalityJoin
2060
+ # @private
2061
+ class Representation < Google::Apis::Core::JsonRepresentation
2062
+ property :left_rows, :numeric_string => true, as: 'leftRows'
2063
+ property :output_rows, :numeric_string => true, as: 'outputRows'
2064
+ property :right_rows, :numeric_string => true, as: 'rightRows'
2065
+ property :step_index, as: 'stepIndex'
2066
+ end
2067
+ end
2068
+
1906
2069
  class HivePartitioningOptions
1907
2070
  # @private
1908
2071
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1993,6 +2156,13 @@ module Google
1993
2156
  end
1994
2157
  end
1995
2158
 
2159
+ class InputDataChange
2160
+ # @private
2161
+ class Representation < Google::Apis::Core::JsonRepresentation
2162
+ property :records_read_diff_percentage, as: 'recordsReadDiffPercentage'
2163
+ end
2164
+ end
2165
+
1996
2166
  class IntArray
1997
2167
  # @private
1998
2168
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2036,10 +2206,16 @@ module Google
2036
2206
  class IterationResult
2037
2207
  # @private
2038
2208
  class Representation < Google::Apis::Core::JsonRepresentation
2209
+ property :arima_result, as: 'arimaResult', class: Google::Apis::BigqueryV2::ArimaResult, decorator: Google::Apis::BigqueryV2::ArimaResult::Representation
2210
+
2211
+ collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation
2212
+
2039
2213
  property :duration_ms, :numeric_string => true, as: 'durationMs'
2040
2214
  property :eval_loss, as: 'evalLoss'
2041
2215
  property :index, as: 'index'
2042
2216
  property :learn_rate, as: 'learnRate'
2217
+ collection :principal_component_infos, as: 'principalComponentInfos', class: Google::Apis::BigqueryV2::PrincipalComponentInfo, decorator: Google::Apis::BigqueryV2::PrincipalComponentInfo::Representation
2218
+
2043
2219
  property :training_loss, as: 'trainingLoss'
2044
2220
  end
2045
2221
  end
@@ -2051,10 +2227,12 @@ module Google
2051
2227
 
2052
2228
  property :etag, as: 'etag'
2053
2229
  property :id, as: 'id'
2054
- property :job_creation_reason, as: 'jobCreationReason'
2230
+ property :job_creation_reason, as: 'jobCreationReason', class: Google::Apis::BigqueryV2::JobCreationReason, decorator: Google::Apis::BigqueryV2::JobCreationReason::Representation
2231
+
2055
2232
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2056
2233
 
2057
2234
  property :kind, as: 'kind'
2235
+ property :principal_subject, as: 'principal_subject'
2058
2236
  property :self_link, as: 'selfLink'
2059
2237
  property :statistics, as: 'statistics', class: Google::Apis::BigqueryV2::JobStatistics, decorator: Google::Apis::BigqueryV2::JobStatistics::Representation
2060
2238
 
@@ -2099,6 +2277,8 @@ module Google
2099
2277
  property :destination_uri, as: 'destinationUri'
2100
2278
  collection :destination_uris, as: 'destinationUris'
2101
2279
  property :field_delimiter, as: 'fieldDelimiter'
2280
+ property :model_extract_options, as: 'modelExtractOptions', class: Google::Apis::BigqueryV2::ModelExtractOptions, decorator: Google::Apis::BigqueryV2::ModelExtractOptions::Representation
2281
+
2102
2282
  property :print_header, as: 'printHeader'
2103
2283
  property :source_model, as: 'sourceModel', class: Google::Apis::BigqueryV2::ModelReference, decorator: Google::Apis::BigqueryV2::ModelReference::Representation
2104
2284
 
@@ -2188,6 +2368,10 @@ module Google
2188
2368
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
2189
2369
 
2190
2370
  collection :schema_update_options, as: 'schemaUpdateOptions'
2371
+ property :script_options, as: 'scriptOptions', class: Google::Apis::BigqueryV2::ScriptOptions, decorator: Google::Apis::BigqueryV2::ScriptOptions::Representation
2372
+
2373
+ property :system_variables, as: 'systemVariables', class: Google::Apis::BigqueryV2::SystemVariables, decorator: Google::Apis::BigqueryV2::SystemVariables::Representation
2374
+
2191
2375
  hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
2192
2376
 
2193
2377
  property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
@@ -2233,6 +2417,7 @@ module Google
2233
2417
 
2234
2418
  property :kind, as: 'kind'
2235
2419
  property :next_page_token, as: 'nextPageToken'
2420
+ collection :unreachable, as: 'unreachable'
2236
2421
  end
2237
2422
 
2238
2423
  class Job
@@ -2246,6 +2431,7 @@ module Google
2246
2431
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2247
2432
 
2248
2433
  property :kind, as: 'kind'
2434
+ property :principal_subject, as: 'principal_subject'
2249
2435
  property :state, as: 'state'
2250
2436
  property :statistics, as: 'statistics', class: Google::Apis::BigqueryV2::JobStatistics, decorator: Google::Apis::BigqueryV2::JobStatistics::Representation
2251
2437
 
@@ -2277,6 +2463,7 @@ module Google
2277
2463
  property :end_time, :numeric_string => true, as: 'endTime'
2278
2464
  property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
2279
2465
 
2466
+ property :final_execution_duration_ms, :numeric_string => true, as: 'finalExecutionDurationMs'
2280
2467
  property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation
2281
2468
 
2282
2469
  property :num_child_jobs, :numeric_string => true, as: 'numChildJobs'
@@ -2316,6 +2503,12 @@ module Google
2316
2503
 
2317
2504
  property :billing_tier, as: 'billingTier'
2318
2505
  property :cache_hit, as: 'cacheHit'
2506
+ property :dcl_target_dataset, as: 'dclTargetDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2507
+
2508
+ property :dcl_target_table, as: 'dclTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2509
+
2510
+ property :dcl_target_view, as: 'dclTargetView', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2511
+
2319
2512
  property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
2320
2513
  property :ddl_destination_table, as: 'ddlDestinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2321
2514
 
@@ -2331,6 +2524,16 @@ module Google
2331
2524
  property :dml_stats, as: 'dmlStats', class: Google::Apis::BigqueryV2::DmlStatistics, decorator: Google::Apis::BigqueryV2::DmlStatistics::Representation
2332
2525
 
2333
2526
  property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
2527
+ property :export_data_statistics, as: 'exportDataStatistics', class: Google::Apis::BigqueryV2::ExportDataStatistics, decorator: Google::Apis::BigqueryV2::ExportDataStatistics::Representation
2528
+
2529
+ collection :external_service_costs, as: 'externalServiceCosts', class: Google::Apis::BigqueryV2::ExternalServiceCost, decorator: Google::Apis::BigqueryV2::ExternalServiceCost::Representation
2530
+
2531
+ property :load_query_statistics, as: 'loadQueryStatistics', class: Google::Apis::BigqueryV2::LoadQueryStatistics, decorator: Google::Apis::BigqueryV2::LoadQueryStatistics::Representation
2532
+
2533
+ property :materialized_view_statistics, as: 'materializedViewStatistics', class: Google::Apis::BigqueryV2::MaterializedViewStatistics, decorator: Google::Apis::BigqueryV2::MaterializedViewStatistics::Representation
2534
+
2535
+ property :metadata_cache_statistics, as: 'metadataCacheStatistics', class: Google::Apis::BigqueryV2::MetadataCacheStatistics, decorator: Google::Apis::BigqueryV2::MetadataCacheStatistics::Representation
2536
+
2334
2537
  property :ml_statistics, as: 'mlStatistics', class: Google::Apis::BigqueryV2::MlStatistics, decorator: Google::Apis::BigqueryV2::MlStatistics::Representation
2335
2538
 
2336
2539
  property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation
@@ -2338,6 +2541,10 @@ module Google
2338
2541
  property :model_training_current_iteration, as: 'modelTrainingCurrentIteration'
2339
2542
  property :model_training_expected_total_iteration, :numeric_string => true, as: 'modelTrainingExpectedTotalIteration'
2340
2543
  property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
2544
+ property :performance_insights, as: 'performanceInsights', class: Google::Apis::BigqueryV2::PerformanceInsights, decorator: Google::Apis::BigqueryV2::PerformanceInsights::Representation
2545
+
2546
+ property :query_info, as: 'queryInfo', class: Google::Apis::BigqueryV2::QueryInfo, decorator: Google::Apis::BigqueryV2::QueryInfo::Representation
2547
+
2341
2548
  collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
2342
2549
 
2343
2550
  collection :referenced_routines, as: 'referencedRoutines', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
@@ -2363,6 +2570,8 @@ module Google
2363
2570
  property :transferred_bytes, :numeric_string => true, as: 'transferredBytes'
2364
2571
  collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
2365
2572
 
2573
+ property :vector_search_statistics, as: 'vectorSearchStatistics', class: Google::Apis::BigqueryV2::VectorSearchStatistics, decorator: Google::Apis::BigqueryV2::VectorSearchStatistics::Representation
2574
+
2366
2575
  end
2367
2576
 
2368
2577
  class ReservationUsage
@@ -2382,6 +2591,8 @@ module Google
2382
2591
  property :input_files, :numeric_string => true, as: 'inputFiles'
2383
2592
  property :output_bytes, :numeric_string => true, as: 'outputBytes'
2384
2593
  property :output_rows, :numeric_string => true, as: 'outputRows'
2594
+ collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2595
+
2385
2596
  end
2386
2597
  end
2387
2598
 
@@ -2390,6 +2601,8 @@ module Google
2390
2601
  class Representation < Google::Apis::Core::JsonRepresentation
2391
2602
  collection :destination_uri_file_counts, as: 'destinationUriFileCounts'
2392
2603
  property :input_bytes, :numeric_string => true, as: 'inputBytes'
2604
+ collection :timeline, as: 'timeline', class: Google::Apis::BigqueryV2::QueryTimelineSample, decorator: Google::Apis::BigqueryV2::QueryTimelineSample::Representation
2605
+
2393
2606
  end
2394
2607
  end
2395
2608
 
@@ -2419,6 +2632,14 @@ module Google
2419
2632
  end
2420
2633
  end
2421
2634
 
2635
+ class LinkedDatasetSource
2636
+ # @private
2637
+ class Representation < Google::Apis::Core::JsonRepresentation
2638
+ property :source_dataset, as: 'sourceDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2639
+
2640
+ end
2641
+ end
2642
+
2422
2643
  class ListModelsResponse
2423
2644
  # @private
2424
2645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2446,6 +2667,18 @@ module Google
2446
2667
  end
2447
2668
  end
2448
2669
 
2670
+ class LoadQueryStatistics
2671
+ # @private
2672
+ class Representation < Google::Apis::Core::JsonRepresentation
2673
+ property :bad_records, :numeric_string => true, as: 'badRecords'
2674
+ property :bytes_transferred, :numeric_string => true, as: 'bytesTransferred'
2675
+ property :input_file_bytes, :numeric_string => true, as: 'inputFileBytes'
2676
+ property :input_files, :numeric_string => true, as: 'inputFiles'
2677
+ property :output_bytes, :numeric_string => true, as: 'outputBytes'
2678
+ property :output_rows, :numeric_string => true, as: 'outputRows'
2679
+ end
2680
+ end
2681
+
2449
2682
  class LocationMetadata
2450
2683
  # @private
2451
2684
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2453,6 +2686,17 @@ module Google
2453
2686
  end
2454
2687
  end
2455
2688
 
2689
+ class MaterializedView
2690
+ # @private
2691
+ class Representation < Google::Apis::Core::JsonRepresentation
2692
+ property :chosen, as: 'chosen'
2693
+ property :estimated_bytes_saved, :numeric_string => true, as: 'estimatedBytesSaved'
2694
+ property :rejected_reason, as: 'rejectedReason'
2695
+ property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
2696
+
2697
+ end
2698
+ end
2699
+
2456
2700
  class MaterializedViewDefinition
2457
2701
  # @private
2458
2702
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2465,12 +2709,41 @@ module Google
2465
2709
  end
2466
2710
  end
2467
2711
 
2712
+ class MaterializedViewStatistics
2713
+ # @private
2714
+ class Representation < Google::Apis::Core::JsonRepresentation
2715
+ collection :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedView, decorator: Google::Apis::BigqueryV2::MaterializedView::Representation
2716
+
2717
+ end
2718
+ end
2719
+
2720
+ class MaterializedViewStatus
2721
+ # @private
2722
+ class Representation < Google::Apis::Core::JsonRepresentation
2723
+ property :last_refresh_status, as: 'lastRefreshStatus', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2724
+
2725
+ property :refresh_watermark, as: 'refreshWatermark'
2726
+ end
2727
+ end
2728
+
2729
+ class MetadataCacheStatistics
2730
+ # @private
2731
+ class Representation < Google::Apis::Core::JsonRepresentation
2732
+ collection :table_metadata_cache_usage, as: 'tableMetadataCacheUsage', class: Google::Apis::BigqueryV2::TableMetadataCacheUsage, decorator: Google::Apis::BigqueryV2::TableMetadataCacheUsage::Representation
2733
+
2734
+ end
2735
+ end
2736
+
2468
2737
  class MlStatistics
2469
2738
  # @private
2470
2739
  class Representation < Google::Apis::Core::JsonRepresentation
2740
+ collection :hparam_trials, as: 'hparamTrials', class: Google::Apis::BigqueryV2::HparamTuningTrial, decorator: Google::Apis::BigqueryV2::HparamTuningTrial::Representation
2741
+
2471
2742
  collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
2472
2743
 
2473
2744
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
2745
+ property :model_type, as: 'modelType'
2746
+ property :training_type, as: 'trainingType'
2474
2747
  end
2475
2748
  end
2476
2749
 
@@ -2529,6 +2802,13 @@ module Google
2529
2802
  end
2530
2803
  end
2531
2804
 
2805
+ class ModelExtractOptions
2806
+ # @private
2807
+ class Representation < Google::Apis::Core::JsonRepresentation
2808
+ property :trial_id, :numeric_string => true, as: 'trialId'
2809
+ end
2810
+ end
2811
+
2532
2812
  class ModelReference
2533
2813
  # @private
2534
2814
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2556,6 +2836,17 @@ module Google
2556
2836
  end
2557
2837
  end
2558
2838
 
2839
+ class PerformanceInsights
2840
+ # @private
2841
+ class Representation < Google::Apis::Core::JsonRepresentation
2842
+ property :avg_previous_execution_ms, :numeric_string => true, as: 'avgPreviousExecutionMs'
2843
+ collection :stage_performance_change_insights, as: 'stagePerformanceChangeInsights', class: Google::Apis::BigqueryV2::StagePerformanceChangeInsight, decorator: Google::Apis::BigqueryV2::StagePerformanceChangeInsight::Representation
2844
+
2845
+ collection :stage_performance_standalone_insights, as: 'stagePerformanceStandaloneInsights', class: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight, decorator: Google::Apis::BigqueryV2::StagePerformanceStandaloneInsight::Representation
2846
+
2847
+ end
2848
+ end
2849
+
2559
2850
  class Policy
2560
2851
  # @private
2561
2852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2617,6 +2908,13 @@ module Google
2617
2908
  end
2618
2909
  end
2619
2910
 
2911
+ class QueryInfo
2912
+ # @private
2913
+ class Representation < Google::Apis::Core::JsonRepresentation
2914
+ hash :optimization_details, as: 'optimizationDetails'
2915
+ end
2916
+ end
2917
+
2620
2918
  class QueryParameter
2621
2919
  # @private
2622
2920
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2656,22 +2954,12 @@ module Google
2656
2954
  class Representation < Google::Apis::Core::JsonRepresentation
2657
2955
  collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2658
2956
 
2659
- property :range_value, as: 'rangeValue', class: Google::Apis::BigqueryV2::QueryParameterValue::RangeValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::RangeValue::Representation
2957
+ property :range_value, as: 'rangeValue', class: Google::Apis::BigqueryV2::RangeValue, decorator: Google::Apis::BigqueryV2::RangeValue::Representation
2660
2958
 
2661
2959
  hash :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2662
2960
 
2663
2961
  property :value, as: 'value'
2664
2962
  end
2665
-
2666
- class RangeValue
2667
- # @private
2668
- class Representation < Google::Apis::Core::JsonRepresentation
2669
- property :end, as: 'end', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2670
-
2671
- property :start, as: 'start', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation
2672
-
2673
- end
2674
- end
2675
2963
  end
2676
2964
 
2677
2965
  class QueryRequest
@@ -2684,6 +2972,8 @@ module Google
2684
2972
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2685
2973
 
2686
2974
  property :dry_run, as: 'dryRun'
2975
+ property :format_options, as: 'formatOptions', class: Google::Apis::BigqueryV2::DataFormatOptions, decorator: Google::Apis::BigqueryV2::DataFormatOptions::Representation
2976
+
2687
2977
  property :job_creation_mode, as: 'jobCreationMode'
2688
2978
  property :kind, as: 'kind'
2689
2979
  hash :labels, as: 'labels'
@@ -2711,7 +3001,8 @@ module Google
2711
3001
  collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
2712
3002
 
2713
3003
  property :job_complete, as: 'jobComplete'
2714
- property :job_creation_reason, as: 'jobCreationReason'
3004
+ property :job_creation_reason, as: 'jobCreationReason', class: Google::Apis::BigqueryV2::JobCreationReason, decorator: Google::Apis::BigqueryV2::JobCreationReason::Representation
3005
+
2715
3006
  property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
2716
3007
 
2717
3008
  property :kind, as: 'kind'
@@ -2889,6 +3180,15 @@ module Google
2889
3180
  end
2890
3181
  end
2891
3182
 
3183
+ class ScriptOptions
3184
+ # @private
3185
+ class Representation < Google::Apis::Core::JsonRepresentation
3186
+ property :key_result_statement, as: 'keyResultStatement'
3187
+ property :statement_byte_budget, :numeric_string => true, as: 'statementByteBudget'
3188
+ property :statement_timeout_ms, :numeric_string => true, as: 'statementTimeoutMs'
3189
+ end
3190
+ end
3191
+
2892
3192
  class ScriptStackFrame
2893
3193
  # @private
2894
3194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2973,6 +3273,8 @@ module Google
2973
3273
  # @private
2974
3274
  class Representation < Google::Apis::Core::JsonRepresentation
2975
3275
  hash :endpoints, as: 'endpoints'
3276
+ property :gcs_staging_bucket, as: 'gcsStagingBucket'
3277
+ property :kms_key_name, as: 'kmsKeyName'
2976
3278
  property :logging_info, as: 'loggingInfo', class: Google::Apis::BigqueryV2::SparkLoggingInfo, decorator: Google::Apis::BigqueryV2::SparkLoggingInfo::Representation
2977
3279
 
2978
3280
  property :spark_job_id, as: 'sparkJobId'
@@ -2980,6 +3282,28 @@ module Google
2980
3282
  end
2981
3283
  end
2982
3284
 
3285
+ class StagePerformanceChangeInsight
3286
+ # @private
3287
+ class Representation < Google::Apis::Core::JsonRepresentation
3288
+ property :input_data_change, as: 'inputDataChange', class: Google::Apis::BigqueryV2::InputDataChange, decorator: Google::Apis::BigqueryV2::InputDataChange::Representation
3289
+
3290
+ property :stage_id, :numeric_string => true, as: 'stageId'
3291
+ end
3292
+ end
3293
+
3294
+ class StagePerformanceStandaloneInsight
3295
+ # @private
3296
+ class Representation < Google::Apis::Core::JsonRepresentation
3297
+ collection :bi_engine_reasons, as: 'biEngineReasons', class: Google::Apis::BigqueryV2::BiEngineReason, decorator: Google::Apis::BigqueryV2::BiEngineReason::Representation
3298
+
3299
+ collection :high_cardinality_joins, as: 'highCardinalityJoins', class: Google::Apis::BigqueryV2::HighCardinalityJoin, decorator: Google::Apis::BigqueryV2::HighCardinalityJoin::Representation
3300
+
3301
+ property :insufficient_shuffle_quota, as: 'insufficientShuffleQuota'
3302
+ property :slot_contention, as: 'slotContention'
3303
+ property :stage_id, :numeric_string => true, as: 'stageId'
3304
+ end
3305
+ end
3306
+
2983
3307
  class StandardSqlDataType
2984
3308
  # @private
2985
3309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3034,6 +3358,15 @@ module Google
3034
3358
  end
3035
3359
  end
3036
3360
 
3361
+ class SystemVariables
3362
+ # @private
3363
+ class Representation < Google::Apis::Core::JsonRepresentation
3364
+ hash :types, as: 'types', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
3365
+
3366
+ hash :values, as: 'values'
3367
+ end
3368
+ end
3369
+
3037
3370
  class Table
3038
3371
  # @private
3039
3372
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3061,7 +3394,9 @@ module Google
3061
3394
  property :location, as: 'location'
3062
3395
  property :materialized_view, as: 'materializedView', class: Google::Apis::BigqueryV2::MaterializedViewDefinition, decorator: Google::Apis::BigqueryV2::MaterializedViewDefinition::Representation
3063
3396
 
3064
- property :max_staleness, :base64 => true, as: 'maxStaleness'
3397
+ property :materialized_view_status, as: 'materializedViewStatus', class: Google::Apis::BigqueryV2::MaterializedViewStatus, decorator: Google::Apis::BigqueryV2::MaterializedViewStatus::Representation
3398
+
3399
+ property :max_staleness, as: 'maxStaleness'
3065
3400
  property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
3066
3401
 
3067
3402
  property :num_active_logical_bytes, :numeric_string => true, as: 'numActiveLogicalBytes'
@@ -3078,6 +3413,8 @@ module Google
3078
3413
  property :num_total_physical_bytes, :numeric_string => true, as: 'numTotalPhysicalBytes'
3079
3414
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
3080
3415
 
3416
+ collection :replicas, as: 'replicas', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3417
+
3081
3418
  property :require_partition_filter, as: 'requirePartitionFilter'
3082
3419
  hash :resource_tags, as: 'resourceTags'
3083
3420
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
@@ -3091,6 +3428,8 @@ module Google
3091
3428
 
3092
3429
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3093
3430
 
3431
+ property :table_replication_info, as: 'tableReplicationInfo', class: Google::Apis::BigqueryV2::TableReplicationInfo, decorator: Google::Apis::BigqueryV2::TableReplicationInfo::Representation
3432
+
3094
3433
  property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
3095
3434
 
3096
3435
  property :type, as: 'type'
@@ -3160,6 +3499,7 @@ module Google
3160
3499
 
3161
3500
  property :skip_invalid_rows, as: 'skipInvalidRows'
3162
3501
  property :template_suffix, as: 'templateSuffix'
3502
+ property :trace_id, as: 'traceId'
3163
3503
  end
3164
3504
 
3165
3505
  class Row
@@ -3270,6 +3610,7 @@ module Google
3270
3610
  hash :labels, as: 'labels'
3271
3611
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
3272
3612
 
3613
+ property :require_partition_filter, as: 'requirePartitionFilter'
3273
3614
  property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3274
3615
 
3275
3616
  property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
@@ -3282,12 +3623,25 @@ module Google
3282
3623
  class View
3283
3624
  # @private
3284
3625
  class Representation < Google::Apis::Core::JsonRepresentation
3626
+ property :privacy_policy, as: 'privacyPolicy', class: Google::Apis::BigqueryV2::PrivacyPolicy, decorator: Google::Apis::BigqueryV2::PrivacyPolicy::Representation
3627
+
3285
3628
  property :use_legacy_sql, as: 'useLegacySql'
3286
3629
  end
3287
3630
  end
3288
3631
  end
3289
3632
  end
3290
3633
 
3634
+ class TableMetadataCacheUsage
3635
+ # @private
3636
+ class Representation < Google::Apis::Core::JsonRepresentation
3637
+ property :explanation, as: 'explanation'
3638
+ property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3639
+
3640
+ property :table_type, as: 'tableType'
3641
+ property :unused_reason, as: 'unusedReason'
3642
+ end
3643
+ end
3644
+
3291
3645
  class TableReference
3292
3646
  # @private
3293
3647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3297,6 +3651,19 @@ module Google
3297
3651
  end
3298
3652
  end
3299
3653
 
3654
+ class TableReplicationInfo
3655
+ # @private
3656
+ class Representation < Google::Apis::Core::JsonRepresentation
3657
+ property :replicated_source_last_refresh_time, :numeric_string => true, as: 'replicatedSourceLastRefreshTime'
3658
+ property :replication_error, as: 'replicationError', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
3659
+
3660
+ property :replication_interval_ms, :numeric_string => true, as: 'replicationIntervalMs'
3661
+ property :replication_status, as: 'replicationStatus'
3662
+ property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
3663
+
3664
+ end
3665
+ end
3666
+
3300
3667
  class TableRow
3301
3668
  # @private
3302
3669
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3469,6 +3836,13 @@ module Google
3469
3836
  end
3470
3837
  end
3471
3838
 
3839
+ class UndeleteDatasetRequest
3840
+ # @private
3841
+ class Representation < Google::Apis::Core::JsonRepresentation
3842
+ property :deletion_time, as: 'deletionTime'
3843
+ end
3844
+ end
3845
+
3472
3846
  class UserDefinedFunctionResource
3473
3847
  # @private
3474
3848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3489,6 +3863,8 @@ module Google
3489
3863
  class ViewDefinition
3490
3864
  # @private
3491
3865
  class Representation < Google::Apis::Core::JsonRepresentation
3866
+ property :privacy_policy, as: 'privacyPolicy', class: Google::Apis::BigqueryV2::PrivacyPolicy, decorator: Google::Apis::BigqueryV2::PrivacyPolicy::Representation
3867
+
3492
3868
  property :query, as: 'query'
3493
3869
  property :use_explicit_column_names, as: 'useExplicitColumnNames'
3494
3870
  property :use_legacy_sql, as: 'useLegacySql'