google-apis-bigquery_v2 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/bigquery_v2/classes.rb +256 -34
- data/lib/google/apis/bigquery_v2/gem_version.rb +2 -2
- data/lib/google/apis/bigquery_v2/representations.rb +108 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe69e579edffe20b9886e0bd671ac9e45f589643c403997c142e043554c6086
|
4
|
+
data.tar.gz: 74bb33689f38b35f38707965e504f1dae641a1c95d8481e923f9865e250d0038
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f98afb802ca7e0a096cfe4aeaec8151a39af74d8268aa4d3644e68f562a0eaf1dfb2fbe54336a5feb6b9398a93cf5e6dbd0f51e46d61b1491e1b164f8f2fa2c7
|
7
|
+
data.tar.gz: 2bb0db79449824cabd92e5dc8e8d42bbd9b5638b5fc9992e21e8be228f99e0628dccf25449781a5a62018f80b0edacbd3eb5acc8cdc727313262ad61f81a2d39
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.53.0 (2023-05-21)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230506
|
6
|
+
|
7
|
+
### v0.52.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230422
|
10
|
+
|
3
11
|
### v0.51.0 (2023-04-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230408
|
@@ -3062,6 +3062,16 @@ module Google
|
|
3062
3062
|
class HivePartitioningOptions
|
3063
3063
|
include Google::Apis::Core::Hashable
|
3064
3064
|
|
3065
|
+
# [Output-only] For permanent external tables, this field is populated with the
|
3066
|
+
# hive partition keys in the order they were inferred. The types of the
|
3067
|
+
# partition keys can be deduced by checking the table schema (which will include
|
3068
|
+
# the partition keys). Not every API will populate this field in the output. For
|
3069
|
+
# example, Tables.Get will populate it, but Tables.List will not contain this
|
3070
|
+
# field.
|
3071
|
+
# Corresponds to the JSON property `fields`
|
3072
|
+
# @return [Array<String>]
|
3073
|
+
attr_accessor :fields
|
3074
|
+
|
3065
3075
|
# [Optional] When set, what mode of hive partitioning to use when reading data.
|
3066
3076
|
# The following modes are supported. (1) AUTO: automatically infer partition key
|
3067
3077
|
# name(s) and type(s). (2) STRINGS: automatically infer partition key name(s).
|
@@ -3102,6 +3112,7 @@ module Google
|
|
3102
3112
|
|
3103
3113
|
# Update properties of this object
|
3104
3114
|
def update!(**args)
|
3115
|
+
@fields = args[:fields] if args.key?(:fields)
|
3105
3116
|
@mode = args[:mode] if args.key?(:mode)
|
3106
3117
|
@require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
|
3107
3118
|
@source_uri_prefix = args[:source_uri_prefix] if args.key?(:source_uri_prefix)
|
@@ -5418,6 +5429,11 @@ module Google
|
|
5418
5429
|
# @return [Array<Fixnum>]
|
5419
5430
|
attr_accessor :optimal_trial_ids
|
5420
5431
|
|
5432
|
+
# Remote Model Info
|
5433
|
+
# Corresponds to the JSON property `remoteModelInfo`
|
5434
|
+
# @return [Google::Apis::BigqueryV2::RemoteModelInfo]
|
5435
|
+
attr_accessor :remote_model_info
|
5436
|
+
|
5421
5437
|
# Information for all training runs in increasing order of start_time.
|
5422
5438
|
# Corresponds to the JSON property `trainingRuns`
|
5423
5439
|
# @return [Array<Google::Apis::BigqueryV2::TrainingRun>]
|
@@ -5447,6 +5463,7 @@ module Google
|
|
5447
5463
|
@model_reference = args[:model_reference] if args.key?(:model_reference)
|
5448
5464
|
@model_type = args[:model_type] if args.key?(:model_type)
|
5449
5465
|
@optimal_trial_ids = args[:optimal_trial_ids] if args.key?(:optimal_trial_ids)
|
5466
|
+
@remote_model_info = args[:remote_model_info] if args.key?(:remote_model_info)
|
5450
5467
|
@training_runs = args[:training_runs] if args.key?(:training_runs)
|
5451
5468
|
end
|
5452
5469
|
end
|
@@ -6499,6 +6516,46 @@ module Google
|
|
6499
6516
|
end
|
6500
6517
|
end
|
6501
6518
|
|
6519
|
+
# Remote Model Info
|
6520
|
+
class RemoteModelInfo
|
6521
|
+
include Google::Apis::Core::Hashable
|
6522
|
+
|
6523
|
+
# Output only. Fully qualified name of the user-provided connection object of
|
6524
|
+
# the remote model. Format: ```"projects/`project_id`/locations/`location_id`/
|
6525
|
+
# connections/`connection_id`"```
|
6526
|
+
# Corresponds to the JSON property `connection`
|
6527
|
+
# @return [String]
|
6528
|
+
attr_accessor :connection
|
6529
|
+
|
6530
|
+
# Output only. The endpoint for remote model.
|
6531
|
+
# Corresponds to the JSON property `endpoint`
|
6532
|
+
# @return [String]
|
6533
|
+
attr_accessor :endpoint
|
6534
|
+
|
6535
|
+
# Output only. Max number of rows in each batch sent to the remote service. If
|
6536
|
+
# unset, the number of rows in each batch is set dynamically.
|
6537
|
+
# Corresponds to the JSON property `maxBatchingRows`
|
6538
|
+
# @return [Fixnum]
|
6539
|
+
attr_accessor :max_batching_rows
|
6540
|
+
|
6541
|
+
# Output only. The remote service type for remote model.
|
6542
|
+
# Corresponds to the JSON property `remoteServiceType`
|
6543
|
+
# @return [String]
|
6544
|
+
attr_accessor :remote_service_type
|
6545
|
+
|
6546
|
+
def initialize(**args)
|
6547
|
+
update!(**args)
|
6548
|
+
end
|
6549
|
+
|
6550
|
+
# Update properties of this object
|
6551
|
+
def update!(**args)
|
6552
|
+
@connection = args[:connection] if args.key?(:connection)
|
6553
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6554
|
+
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
6555
|
+
@remote_service_type = args[:remote_service_type] if args.key?(:remote_service_type)
|
6556
|
+
end
|
6557
|
+
end
|
6558
|
+
|
6502
6559
|
# A user-defined function or a stored procedure.
|
6503
6560
|
class Routine
|
6504
6561
|
include Google::Apis::Core::Hashable
|
@@ -7436,6 +7493,17 @@ module Google
|
|
7436
7493
|
# @return [Google::Apis::BigqueryV2::ModelDefinition]
|
7437
7494
|
attr_accessor :model
|
7438
7495
|
|
7496
|
+
# [Output-only] Number of logical bytes that are less than 90 days old.
|
7497
|
+
# Corresponds to the JSON property `numActiveLogicalBytes`
|
7498
|
+
# @return [Fixnum]
|
7499
|
+
attr_accessor :num_active_logical_bytes
|
7500
|
+
|
7501
|
+
# [Output-only] Number of physical bytes less than 90 days old. This data is not
|
7502
|
+
# kept in real time, and might be delayed by a few seconds to a few minutes.
|
7503
|
+
# Corresponds to the JSON property `numActivePhysicalBytes`
|
7504
|
+
# @return [Fixnum]
|
7505
|
+
attr_accessor :num_active_physical_bytes
|
7506
|
+
|
7439
7507
|
# [Output-only] The size of this table in bytes, excluding any data in the
|
7440
7508
|
# streaming buffer.
|
7441
7509
|
# Corresponds to the JSON property `numBytes`
|
@@ -7448,64 +7516,53 @@ module Google
|
|
7448
7516
|
# @return [Fixnum]
|
7449
7517
|
attr_accessor :num_long_term_bytes
|
7450
7518
|
|
7451
|
-
# [Output-only] [TrustedTester] The physical size of this table in bytes,
|
7452
|
-
# excluding any data in the streaming buffer. This includes compression and
|
7453
|
-
# storage used for time travel.
|
7454
|
-
# Corresponds to the JSON property `numPhysicalBytes`
|
7455
|
-
# @return [Fixnum]
|
7456
|
-
attr_accessor :num_physical_bytes
|
7457
|
-
|
7458
|
-
# [Output-only] The number of rows of data in this table, excluding any data in
|
7459
|
-
# the streaming buffer.
|
7460
|
-
# Corresponds to the JSON property `numRows`
|
7461
|
-
# @return [Fixnum]
|
7462
|
-
attr_accessor :num_rows
|
7463
|
-
|
7464
|
-
# [Output-only] Number of logical bytes that are less than 90 days old.
|
7465
|
-
# Corresponds to the JSON property `num_active_logical_bytes`
|
7466
|
-
# @return [Fixnum]
|
7467
|
-
attr_accessor :num_active_logical_bytes
|
7468
|
-
|
7469
|
-
# [Output-only] Number of physical bytes less than 90 days old. This data is not
|
7470
|
-
# kept in real time, and might be delayed by a few seconds to a few minutes.
|
7471
|
-
# Corresponds to the JSON property `num_active_physical_bytes`
|
7472
|
-
# @return [Fixnum]
|
7473
|
-
attr_accessor :num_active_physical_bytes
|
7474
|
-
|
7475
7519
|
# [Output-only] Number of logical bytes that are more than 90 days old.
|
7476
|
-
# Corresponds to the JSON property `
|
7520
|
+
# Corresponds to the JSON property `numLongTermLogicalBytes`
|
7477
7521
|
# @return [Fixnum]
|
7478
7522
|
attr_accessor :num_long_term_logical_bytes
|
7479
7523
|
|
7480
7524
|
# [Output-only] Number of physical bytes more than 90 days old. This data is not
|
7481
7525
|
# kept in real time, and might be delayed by a few seconds to a few minutes.
|
7482
|
-
# Corresponds to the JSON property `
|
7526
|
+
# Corresponds to the JSON property `numLongTermPhysicalBytes`
|
7483
7527
|
# @return [Fixnum]
|
7484
7528
|
attr_accessor :num_long_term_physical_bytes
|
7485
7529
|
|
7486
7530
|
# [Output-only] The number of partitions present in the table or materialized
|
7487
7531
|
# view. This data is not kept in real time, and might be delayed by a few
|
7488
7532
|
# seconds to a few minutes.
|
7489
|
-
# Corresponds to the JSON property `
|
7533
|
+
# Corresponds to the JSON property `numPartitions`
|
7490
7534
|
# @return [Fixnum]
|
7491
7535
|
attr_accessor :num_partitions
|
7492
7536
|
|
7537
|
+
# [Output-only] [TrustedTester] The physical size of this table in bytes,
|
7538
|
+
# excluding any data in the streaming buffer. This includes compression and
|
7539
|
+
# storage used for time travel.
|
7540
|
+
# Corresponds to the JSON property `numPhysicalBytes`
|
7541
|
+
# @return [Fixnum]
|
7542
|
+
attr_accessor :num_physical_bytes
|
7543
|
+
|
7544
|
+
# [Output-only] The number of rows of data in this table, excluding any data in
|
7545
|
+
# the streaming buffer.
|
7546
|
+
# Corresponds to the JSON property `numRows`
|
7547
|
+
# @return [Fixnum]
|
7548
|
+
attr_accessor :num_rows
|
7549
|
+
|
7493
7550
|
# [Output-only] Number of physical bytes used by time travel storage (deleted or
|
7494
7551
|
# changed data). This data is not kept in real time, and might be delayed by a
|
7495
7552
|
# few seconds to a few minutes.
|
7496
|
-
# Corresponds to the JSON property `
|
7553
|
+
# Corresponds to the JSON property `numTimeTravelPhysicalBytes`
|
7497
7554
|
# @return [Fixnum]
|
7498
7555
|
attr_accessor :num_time_travel_physical_bytes
|
7499
7556
|
|
7500
7557
|
# [Output-only] Total number of logical bytes in the table or materialized view.
|
7501
|
-
# Corresponds to the JSON property `
|
7558
|
+
# Corresponds to the JSON property `numTotalLogicalBytes`
|
7502
7559
|
# @return [Fixnum]
|
7503
7560
|
attr_accessor :num_total_logical_bytes
|
7504
7561
|
|
7505
7562
|
# [Output-only] The physical size of this table in bytes. This also includes
|
7506
7563
|
# storage used for time travel. This data is not kept in real time, and might be
|
7507
7564
|
# delayed by a few seconds to a few minutes.
|
7508
|
-
# Corresponds to the JSON property `
|
7565
|
+
# Corresponds to the JSON property `numTotalPhysicalBytes`
|
7509
7566
|
# @return [Fixnum]
|
7510
7567
|
attr_accessor :num_total_physical_bytes
|
7511
7568
|
|
@@ -7544,6 +7601,11 @@ module Google
|
|
7544
7601
|
# @return [Google::Apis::BigqueryV2::Streamingbuffer]
|
7545
7602
|
attr_accessor :streaming_buffer
|
7546
7603
|
|
7604
|
+
# [Optional] The table constraints on the table.
|
7605
|
+
# Corresponds to the JSON property `tableConstraints`
|
7606
|
+
# @return [Google::Apis::BigqueryV2::TableConstraints]
|
7607
|
+
attr_accessor :table_constraints
|
7608
|
+
|
7547
7609
|
# [Required] Reference describing the ID of this table.
|
7548
7610
|
# Corresponds to the JSON property `tableReference`
|
7549
7611
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
@@ -7595,15 +7657,15 @@ module Google
|
|
7595
7657
|
@materialized_view = args[:materialized_view] if args.key?(:materialized_view)
|
7596
7658
|
@max_staleness = args[:max_staleness] if args.key?(:max_staleness)
|
7597
7659
|
@model = args[:model] if args.key?(:model)
|
7598
|
-
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
7599
|
-
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
7600
|
-
@num_physical_bytes = args[:num_physical_bytes] if args.key?(:num_physical_bytes)
|
7601
|
-
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
7602
7660
|
@num_active_logical_bytes = args[:num_active_logical_bytes] if args.key?(:num_active_logical_bytes)
|
7603
7661
|
@num_active_physical_bytes = args[:num_active_physical_bytes] if args.key?(:num_active_physical_bytes)
|
7662
|
+
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
7663
|
+
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
7604
7664
|
@num_long_term_logical_bytes = args[:num_long_term_logical_bytes] if args.key?(:num_long_term_logical_bytes)
|
7605
7665
|
@num_long_term_physical_bytes = args[:num_long_term_physical_bytes] if args.key?(:num_long_term_physical_bytes)
|
7606
7666
|
@num_partitions = args[:num_partitions] if args.key?(:num_partitions)
|
7667
|
+
@num_physical_bytes = args[:num_physical_bytes] if args.key?(:num_physical_bytes)
|
7668
|
+
@num_rows = args[:num_rows] if args.key?(:num_rows)
|
7607
7669
|
@num_time_travel_physical_bytes = args[:num_time_travel_physical_bytes] if args.key?(:num_time_travel_physical_bytes)
|
7608
7670
|
@num_total_logical_bytes = args[:num_total_logical_bytes] if args.key?(:num_total_logical_bytes)
|
7609
7671
|
@num_total_physical_bytes = args[:num_total_physical_bytes] if args.key?(:num_total_physical_bytes)
|
@@ -7613,6 +7675,7 @@ module Google
|
|
7613
7675
|
@self_link = args[:self_link] if args.key?(:self_link)
|
7614
7676
|
@snapshot_definition = args[:snapshot_definition] if args.key?(:snapshot_definition)
|
7615
7677
|
@streaming_buffer = args[:streaming_buffer] if args.key?(:streaming_buffer)
|
7678
|
+
@table_constraints = args[:table_constraints] if args.key?(:table_constraints)
|
7616
7679
|
@table_reference = args[:table_reference] if args.key?(:table_reference)
|
7617
7680
|
@time_partitioning = args[:time_partitioning] if args.key?(:time_partitioning)
|
7618
7681
|
@type = args[:type] if args.key?(:type)
|
@@ -7639,6 +7702,137 @@ module Google
|
|
7639
7702
|
end
|
7640
7703
|
end
|
7641
7704
|
|
7705
|
+
#
|
7706
|
+
class TableConstraints
|
7707
|
+
include Google::Apis::Core::Hashable
|
7708
|
+
|
7709
|
+
# [Optional] The foreign keys of the tables.
|
7710
|
+
# Corresponds to the JSON property `foreign_keys`
|
7711
|
+
# @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey>]
|
7712
|
+
attr_accessor :foreign_keys
|
7713
|
+
|
7714
|
+
# [Optional] The primary key of the table.
|
7715
|
+
# Corresponds to the JSON property `primary_key`
|
7716
|
+
# @return [Google::Apis::BigqueryV2::TableConstraints::PrimaryKey]
|
7717
|
+
attr_accessor :primary_key
|
7718
|
+
|
7719
|
+
def initialize(**args)
|
7720
|
+
update!(**args)
|
7721
|
+
end
|
7722
|
+
|
7723
|
+
# Update properties of this object
|
7724
|
+
def update!(**args)
|
7725
|
+
@foreign_keys = args[:foreign_keys] if args.key?(:foreign_keys)
|
7726
|
+
@primary_key = args[:primary_key] if args.key?(:primary_key)
|
7727
|
+
end
|
7728
|
+
|
7729
|
+
#
|
7730
|
+
class ForeignKey
|
7731
|
+
include Google::Apis::Core::Hashable
|
7732
|
+
|
7733
|
+
#
|
7734
|
+
# Corresponds to the JSON property `column_references`
|
7735
|
+
# @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference>]
|
7736
|
+
attr_accessor :column_references
|
7737
|
+
|
7738
|
+
#
|
7739
|
+
# Corresponds to the JSON property `name`
|
7740
|
+
# @return [String]
|
7741
|
+
attr_accessor :name
|
7742
|
+
|
7743
|
+
#
|
7744
|
+
# Corresponds to the JSON property `referenced_table`
|
7745
|
+
# @return [Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable]
|
7746
|
+
attr_accessor :referenced_table
|
7747
|
+
|
7748
|
+
def initialize(**args)
|
7749
|
+
update!(**args)
|
7750
|
+
end
|
7751
|
+
|
7752
|
+
# Update properties of this object
|
7753
|
+
def update!(**args)
|
7754
|
+
@column_references = args[:column_references] if args.key?(:column_references)
|
7755
|
+
@name = args[:name] if args.key?(:name)
|
7756
|
+
@referenced_table = args[:referenced_table] if args.key?(:referenced_table)
|
7757
|
+
end
|
7758
|
+
|
7759
|
+
#
|
7760
|
+
class ColumnReference
|
7761
|
+
include Google::Apis::Core::Hashable
|
7762
|
+
|
7763
|
+
#
|
7764
|
+
# Corresponds to the JSON property `referenced_column`
|
7765
|
+
# @return [String]
|
7766
|
+
attr_accessor :referenced_column
|
7767
|
+
|
7768
|
+
#
|
7769
|
+
# Corresponds to the JSON property `referencing_column`
|
7770
|
+
# @return [String]
|
7771
|
+
attr_accessor :referencing_column
|
7772
|
+
|
7773
|
+
def initialize(**args)
|
7774
|
+
update!(**args)
|
7775
|
+
end
|
7776
|
+
|
7777
|
+
# Update properties of this object
|
7778
|
+
def update!(**args)
|
7779
|
+
@referenced_column = args[:referenced_column] if args.key?(:referenced_column)
|
7780
|
+
@referencing_column = args[:referencing_column] if args.key?(:referencing_column)
|
7781
|
+
end
|
7782
|
+
end
|
7783
|
+
|
7784
|
+
#
|
7785
|
+
class ReferencedTable
|
7786
|
+
include Google::Apis::Core::Hashable
|
7787
|
+
|
7788
|
+
#
|
7789
|
+
# Corresponds to the JSON property `datasetId`
|
7790
|
+
# @return [String]
|
7791
|
+
attr_accessor :dataset_id
|
7792
|
+
|
7793
|
+
#
|
7794
|
+
# Corresponds to the JSON property `projectId`
|
7795
|
+
# @return [String]
|
7796
|
+
attr_accessor :project_id
|
7797
|
+
|
7798
|
+
#
|
7799
|
+
# Corresponds to the JSON property `tableId`
|
7800
|
+
# @return [String]
|
7801
|
+
attr_accessor :table_id
|
7802
|
+
|
7803
|
+
def initialize(**args)
|
7804
|
+
update!(**args)
|
7805
|
+
end
|
7806
|
+
|
7807
|
+
# Update properties of this object
|
7808
|
+
def update!(**args)
|
7809
|
+
@dataset_id = args[:dataset_id] if args.key?(:dataset_id)
|
7810
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
7811
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
7812
|
+
end
|
7813
|
+
end
|
7814
|
+
end
|
7815
|
+
|
7816
|
+
# [Optional] The primary key of the table.
|
7817
|
+
class PrimaryKey
|
7818
|
+
include Google::Apis::Core::Hashable
|
7819
|
+
|
7820
|
+
#
|
7821
|
+
# Corresponds to the JSON property `columns`
|
7822
|
+
# @return [Array<String>]
|
7823
|
+
attr_accessor :columns
|
7824
|
+
|
7825
|
+
def initialize(**args)
|
7826
|
+
update!(**args)
|
7827
|
+
end
|
7828
|
+
|
7829
|
+
# Update properties of this object
|
7830
|
+
def update!(**args)
|
7831
|
+
@columns = args[:columns] if args.key?(:columns)
|
7832
|
+
end
|
7833
|
+
end
|
7834
|
+
end
|
7835
|
+
|
7642
7836
|
#
|
7643
7837
|
class InsertAllTableDataRequest
|
7644
7838
|
include Google::Apis::Core::Hashable
|
@@ -8300,6 +8494,13 @@ module Google
|
|
8300
8494
|
attr_accessor :adjust_step_changes
|
8301
8495
|
alias_method :adjust_step_changes?, :adjust_step_changes
|
8302
8496
|
|
8497
|
+
# Whether to use approximate feature contribution method in XGBoost model
|
8498
|
+
# explanation for global explain.
|
8499
|
+
# Corresponds to the JSON property `approxGlobalFeatureContrib`
|
8500
|
+
# @return [Boolean]
|
8501
|
+
attr_accessor :approx_global_feature_contrib
|
8502
|
+
alias_method :approx_global_feature_contrib?, :approx_global_feature_contrib
|
8503
|
+
|
8303
8504
|
# Whether to enable auto ARIMA or not.
|
8304
8505
|
# Corresponds to the JSON property `autoArima`
|
8305
8506
|
# @return [Boolean]
|
@@ -8467,6 +8668,12 @@ module Google
|
|
8467
8668
|
# @return [Array<String>]
|
8468
8669
|
attr_accessor :input_label_columns
|
8469
8670
|
|
8671
|
+
# Name of the instance weight column for training data. This column isn't be
|
8672
|
+
# used as a feature.
|
8673
|
+
# Corresponds to the JSON property `instanceWeightColumn`
|
8674
|
+
# @return [String]
|
8675
|
+
attr_accessor :instance_weight_column
|
8676
|
+
|
8470
8677
|
# Number of integral steps for the integrated gradients explain method.
|
8471
8678
|
# Corresponds to the JSON property `integratedGradientsNumSteps`
|
8472
8679
|
# @return [Fixnum]
|
@@ -8619,6 +8826,12 @@ module Google
|
|
8619
8826
|
# @return [Float]
|
8620
8827
|
attr_accessor :subsample
|
8621
8828
|
|
8829
|
+
# Based on the selected TF version, the corresponding docker image is used to
|
8830
|
+
# train external models.
|
8831
|
+
# Corresponds to the JSON property `tfVersion`
|
8832
|
+
# @return [String]
|
8833
|
+
attr_accessor :tf_version
|
8834
|
+
|
8622
8835
|
# Column to be designated as time series data for ARIMA model.
|
8623
8836
|
# Corresponds to the JSON property `timeSeriesDataColumn`
|
8624
8837
|
# @return [String]
|
@@ -8670,6 +8883,11 @@ module Google
|
|
8670
8883
|
attr_accessor :warm_start
|
8671
8884
|
alias_method :warm_start?, :warm_start
|
8672
8885
|
|
8886
|
+
# User-selected XGBoost versions for training of XGBoost models.
|
8887
|
+
# Corresponds to the JSON property `xgboostVersion`
|
8888
|
+
# @return [String]
|
8889
|
+
attr_accessor :xgboost_version
|
8890
|
+
|
8673
8891
|
def initialize(**args)
|
8674
8892
|
update!(**args)
|
8675
8893
|
end
|
@@ -8677,6 +8895,7 @@ module Google
|
|
8677
8895
|
# Update properties of this object
|
8678
8896
|
def update!(**args)
|
8679
8897
|
@adjust_step_changes = args[:adjust_step_changes] if args.key?(:adjust_step_changes)
|
8898
|
+
@approx_global_feature_contrib = args[:approx_global_feature_contrib] if args.key?(:approx_global_feature_contrib)
|
8680
8899
|
@auto_arima = args[:auto_arima] if args.key?(:auto_arima)
|
8681
8900
|
@auto_arima_max_order = args[:auto_arima_max_order] if args.key?(:auto_arima_max_order)
|
8682
8901
|
@auto_arima_min_order = args[:auto_arima_min_order] if args.key?(:auto_arima_min_order)
|
@@ -8706,6 +8925,7 @@ module Google
|
|
8706
8925
|
@include_drift = args[:include_drift] if args.key?(:include_drift)
|
8707
8926
|
@initial_learn_rate = args[:initial_learn_rate] if args.key?(:initial_learn_rate)
|
8708
8927
|
@input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
|
8928
|
+
@instance_weight_column = args[:instance_weight_column] if args.key?(:instance_weight_column)
|
8709
8929
|
@integrated_gradients_num_steps = args[:integrated_gradients_num_steps] if args.key?(:integrated_gradients_num_steps)
|
8710
8930
|
@item_column = args[:item_column] if args.key?(:item_column)
|
8711
8931
|
@kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column)
|
@@ -8734,6 +8954,7 @@ module Google
|
|
8734
8954
|
@preserve_input_structs = args[:preserve_input_structs] if args.key?(:preserve_input_structs)
|
8735
8955
|
@sampled_shapley_num_paths = args[:sampled_shapley_num_paths] if args.key?(:sampled_shapley_num_paths)
|
8736
8956
|
@subsample = args[:subsample] if args.key?(:subsample)
|
8957
|
+
@tf_version = args[:tf_version] if args.key?(:tf_version)
|
8737
8958
|
@time_series_data_column = args[:time_series_data_column] if args.key?(:time_series_data_column)
|
8738
8959
|
@time_series_id_column = args[:time_series_id_column] if args.key?(:time_series_id_column)
|
8739
8960
|
@time_series_id_columns = args[:time_series_id_columns] if args.key?(:time_series_id_columns)
|
@@ -8744,6 +8965,7 @@ module Google
|
|
8744
8965
|
@user_column = args[:user_column] if args.key?(:user_column)
|
8745
8966
|
@wals_alpha = args[:wals_alpha] if args.key?(:wals_alpha)
|
8746
8967
|
@warm_start = args[:warm_start] if args.key?(:warm_start)
|
8968
|
+
@xgboost_version = args[:xgboost_version] if args.key?(:xgboost_version)
|
8747
8969
|
end
|
8748
8970
|
end
|
8749
8971
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BigqueryV2
|
18
18
|
# Version of the google-apis-bigquery_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.53.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -754,6 +754,12 @@ module Google
|
|
754
754
|
include Google::Apis::Core::JsonObjectSupport
|
755
755
|
end
|
756
756
|
|
757
|
+
class RemoteModelInfo
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
757
763
|
class Routine
|
758
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
765
|
|
@@ -892,6 +898,36 @@ module Google
|
|
892
898
|
include Google::Apis::Core::JsonObjectSupport
|
893
899
|
end
|
894
900
|
|
901
|
+
class TableConstraints
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
class ForeignKey
|
905
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
906
|
+
|
907
|
+
class ColumnReference
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class ReferencedTable
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
include Google::Apis::Core::JsonObjectSupport
|
920
|
+
end
|
921
|
+
|
922
|
+
class PrimaryKey
|
923
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
924
|
+
|
925
|
+
include Google::Apis::Core::JsonObjectSupport
|
926
|
+
end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
895
931
|
class InsertAllTableDataRequest
|
896
932
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
933
|
|
@@ -1772,6 +1808,7 @@ module Google
|
|
1772
1808
|
class HivePartitioningOptions
|
1773
1809
|
# @private
|
1774
1810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1811
|
+
collection :fields, as: 'fields'
|
1775
1812
|
property :mode, as: 'mode'
|
1776
1813
|
property :require_partition_filter, as: 'requirePartitionFilter'
|
1777
1814
|
property :source_uri_prefix, as: 'sourceUriPrefix'
|
@@ -2350,6 +2387,8 @@ module Google
|
|
2350
2387
|
|
2351
2388
|
property :model_type, as: 'modelType'
|
2352
2389
|
collection :optimal_trial_ids, as: 'optimalTrialIds'
|
2390
|
+
property :remote_model_info, as: 'remoteModelInfo', class: Google::Apis::BigqueryV2::RemoteModelInfo, decorator: Google::Apis::BigqueryV2::RemoteModelInfo::Representation
|
2391
|
+
|
2353
2392
|
collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation
|
2354
2393
|
|
2355
2394
|
end
|
@@ -2610,6 +2649,16 @@ module Google
|
|
2610
2649
|
end
|
2611
2650
|
end
|
2612
2651
|
|
2652
|
+
class RemoteModelInfo
|
2653
|
+
# @private
|
2654
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2655
|
+
property :connection, as: 'connection'
|
2656
|
+
property :endpoint, as: 'endpoint'
|
2657
|
+
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
2658
|
+
property :remote_service_type, as: 'remoteServiceType'
|
2659
|
+
end
|
2660
|
+
end
|
2661
|
+
|
2613
2662
|
class Routine
|
2614
2663
|
# @private
|
2615
2664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2856,18 +2905,18 @@ module Google
|
|
2856
2905
|
property :max_staleness, :base64 => true, as: 'maxStaleness'
|
2857
2906
|
property :model, as: 'model', class: Google::Apis::BigqueryV2::ModelDefinition, decorator: Google::Apis::BigqueryV2::ModelDefinition::Representation
|
2858
2907
|
|
2908
|
+
property :num_active_logical_bytes, :numeric_string => true, as: 'numActiveLogicalBytes'
|
2909
|
+
property :num_active_physical_bytes, :numeric_string => true, as: 'numActivePhysicalBytes'
|
2859
2910
|
property :num_bytes, :numeric_string => true, as: 'numBytes'
|
2860
2911
|
property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
|
2912
|
+
property :num_long_term_logical_bytes, :numeric_string => true, as: 'numLongTermLogicalBytes'
|
2913
|
+
property :num_long_term_physical_bytes, :numeric_string => true, as: 'numLongTermPhysicalBytes'
|
2914
|
+
property :num_partitions, :numeric_string => true, as: 'numPartitions'
|
2861
2915
|
property :num_physical_bytes, :numeric_string => true, as: 'numPhysicalBytes'
|
2862
2916
|
property :num_rows, :numeric_string => true, as: 'numRows'
|
2863
|
-
property :
|
2864
|
-
property :
|
2865
|
-
property :
|
2866
|
-
property :num_long_term_physical_bytes, :numeric_string => true, as: 'num_long_term_physical_bytes'
|
2867
|
-
property :num_partitions, :numeric_string => true, as: 'num_partitions'
|
2868
|
-
property :num_time_travel_physical_bytes, :numeric_string => true, as: 'num_time_travel_physical_bytes'
|
2869
|
-
property :num_total_logical_bytes, :numeric_string => true, as: 'num_total_logical_bytes'
|
2870
|
-
property :num_total_physical_bytes, :numeric_string => true, as: 'num_total_physical_bytes'
|
2917
|
+
property :num_time_travel_physical_bytes, :numeric_string => true, as: 'numTimeTravelPhysicalBytes'
|
2918
|
+
property :num_total_logical_bytes, :numeric_string => true, as: 'numTotalLogicalBytes'
|
2919
|
+
property :num_total_physical_bytes, :numeric_string => true, as: 'numTotalPhysicalBytes'
|
2871
2920
|
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
2872
2921
|
|
2873
2922
|
property :require_partition_filter, as: 'requirePartitionFilter'
|
@@ -2878,6 +2927,8 @@ module Google
|
|
2878
2927
|
|
2879
2928
|
property :streaming_buffer, as: 'streamingBuffer', class: Google::Apis::BigqueryV2::Streamingbuffer, decorator: Google::Apis::BigqueryV2::Streamingbuffer::Representation
|
2880
2929
|
|
2930
|
+
property :table_constraints, as: 'tableConstraints', class: Google::Apis::BigqueryV2::TableConstraints, decorator: Google::Apis::BigqueryV2::TableConstraints::Representation
|
2931
|
+
|
2881
2932
|
property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
2882
2933
|
|
2883
2934
|
property :time_partitioning, as: 'timePartitioning', class: Google::Apis::BigqueryV2::TimePartitioning, decorator: Google::Apis::BigqueryV2::TimePartitioning::Representation
|
@@ -2895,6 +2946,51 @@ module Google
|
|
2895
2946
|
end
|
2896
2947
|
end
|
2897
2948
|
|
2949
|
+
class TableConstraints
|
2950
|
+
# @private
|
2951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2952
|
+
collection :foreign_keys, as: 'foreign_keys', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::Representation
|
2953
|
+
|
2954
|
+
property :primary_key, as: 'primary_key', class: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey, decorator: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey::Representation
|
2955
|
+
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
class ForeignKey
|
2959
|
+
# @private
|
2960
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2961
|
+
collection :column_references, as: 'column_references', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference::Representation
|
2962
|
+
|
2963
|
+
property :name, as: 'name'
|
2964
|
+
property :referenced_table, as: 'referenced_table', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable::Representation
|
2965
|
+
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
class ColumnReference
|
2969
|
+
# @private
|
2970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2971
|
+
property :referenced_column, as: 'referenced_column'
|
2972
|
+
property :referencing_column, as: 'referencing_column'
|
2973
|
+
end
|
2974
|
+
end
|
2975
|
+
|
2976
|
+
class ReferencedTable
|
2977
|
+
# @private
|
2978
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2979
|
+
property :dataset_id, as: 'datasetId'
|
2980
|
+
property :project_id, as: 'projectId'
|
2981
|
+
property :table_id, as: 'tableId'
|
2982
|
+
end
|
2983
|
+
end
|
2984
|
+
end
|
2985
|
+
|
2986
|
+
class PrimaryKey
|
2987
|
+
# @private
|
2988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2989
|
+
collection :columns, as: 'columns'
|
2990
|
+
end
|
2991
|
+
end
|
2992
|
+
end
|
2993
|
+
|
2898
2994
|
class InsertAllTableDataRequest
|
2899
2995
|
# @private
|
2900
2996
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3076,6 +3172,7 @@ module Google
|
|
3076
3172
|
# @private
|
3077
3173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3078
3174
|
property :adjust_step_changes, as: 'adjustStepChanges'
|
3175
|
+
property :approx_global_feature_contrib, as: 'approxGlobalFeatureContrib'
|
3079
3176
|
property :auto_arima, as: 'autoArima'
|
3080
3177
|
property :auto_arima_max_order, :numeric_string => true, as: 'autoArimaMaxOrder'
|
3081
3178
|
property :auto_arima_min_order, :numeric_string => true, as: 'autoArimaMinOrder'
|
@@ -3105,6 +3202,7 @@ module Google
|
|
3105
3202
|
property :include_drift, as: 'includeDrift'
|
3106
3203
|
property :initial_learn_rate, as: 'initialLearnRate'
|
3107
3204
|
collection :input_label_columns, as: 'inputLabelColumns'
|
3205
|
+
property :instance_weight_column, as: 'instanceWeightColumn'
|
3108
3206
|
property :integrated_gradients_num_steps, :numeric_string => true, as: 'integratedGradientsNumSteps'
|
3109
3207
|
property :item_column, as: 'itemColumn'
|
3110
3208
|
property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
|
@@ -3134,6 +3232,7 @@ module Google
|
|
3134
3232
|
property :preserve_input_structs, as: 'preserveInputStructs'
|
3135
3233
|
property :sampled_shapley_num_paths, :numeric_string => true, as: 'sampledShapleyNumPaths'
|
3136
3234
|
property :subsample, as: 'subsample'
|
3235
|
+
property :tf_version, as: 'tfVersion'
|
3137
3236
|
property :time_series_data_column, as: 'timeSeriesDataColumn'
|
3138
3237
|
property :time_series_id_column, as: 'timeSeriesIdColumn'
|
3139
3238
|
collection :time_series_id_columns, as: 'timeSeriesIdColumns'
|
@@ -3144,6 +3243,7 @@ module Google
|
|
3144
3243
|
property :user_column, as: 'userColumn'
|
3145
3244
|
property :wals_alpha, as: 'walsAlpha'
|
3146
3245
|
property :warm_start, as: 'warmStart'
|
3246
|
+
property :xgboost_version, as: 'xgboostVersion'
|
3147
3247
|
end
|
3148
3248
|
end
|
3149
3249
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-bigquery_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.53.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-bigquery_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|