google-apis-bigquery_v2 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 778dfced54c125ee98588dcec7cb0de4b8dc2d64ec5d18011044632ab7663f77
|
4
|
+
data.tar.gz: b1614b55689ba49032d8792c839f3d254d3c7351810d3fb8a1ee9c041becd45b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1421d85e292bd09908b44ee4b511ec2374fd413ac4956edda32e5d0cabfbf2b47e3ab1c79a8c7e119d6f511b9e6d95c6652bcf420a3666f8d394aafb411f4aed
|
7
|
+
data.tar.gz: ec68a45436c34ae3b89f229bc1e6b2a833552b09fba8c77a910e74d4c162961e9bbf477a74627a3cc7d0fca296b476293d0b9eff4978d9e3b07384f24d69b1d0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.8.0 (2021-03-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210313
|
6
|
+
|
7
|
+
### v0.7.0 (2021-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210303
|
10
|
+
* Regenerated using generator version 0.2.0
|
11
|
+
|
12
|
+
### v0.6.0 (2021-03-04)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.5.0 (2021-02-26)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210219
|
19
|
+
|
20
|
+
### v0.4.0 (2021-02-20)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210215
|
23
|
+
|
3
24
|
### v0.3.0 (2021-02-13)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210204
|
@@ -38,7 +38,7 @@ module Google
|
|
38
38
|
# View your data in Google BigQuery
|
39
39
|
AUTH_BIGQUERY_READONLY = 'https://www.googleapis.com/auth/bigquery.readonly'
|
40
40
|
|
41
|
-
#
|
41
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
42
42
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
43
43
|
|
44
44
|
# View your data across Google Cloud Platform services
|
@@ -276,7 +276,9 @@ module Google
|
|
276
276
|
# @return [Array<String>]
|
277
277
|
attr_accessor :seasonal_periods
|
278
278
|
|
279
|
-
# The
|
279
|
+
# The time_series_id value for this time series. It will be one of the unique
|
280
|
+
# values from the time_series_id_column specified during ARIMA model training.
|
281
|
+
# Only present when time_series_id_column training option was used.
|
280
282
|
# Corresponds to the JSON property `timeSeriesId`
|
281
283
|
# @return [String]
|
282
284
|
attr_accessor :time_series_id
|
@@ -381,7 +383,9 @@ module Google
|
|
381
383
|
# @return [Array<String>]
|
382
384
|
attr_accessor :seasonal_periods
|
383
385
|
|
384
|
-
# The
|
386
|
+
# The time_series_id value for this time series. It will be one of the unique
|
387
|
+
# values from the time_series_id_column specified during ARIMA model training.
|
388
|
+
# Only present when time_series_id_column training option was used.
|
385
389
|
# Corresponds to the JSON property `timeSeriesId`
|
386
390
|
# @return [String]
|
387
391
|
attr_accessor :time_series_id
|
@@ -2306,6 +2310,11 @@ module Google
|
|
2306
2310
|
# @return [Fixnum]
|
2307
2311
|
attr_accessor :max_bad_records
|
2308
2312
|
|
2313
|
+
# Additional properties to set if sourceFormat is set to Parquet.
|
2314
|
+
# Corresponds to the JSON property `parquetOptions`
|
2315
|
+
# @return [Google::Apis::BigqueryV2::ParquetOptions]
|
2316
|
+
attr_accessor :parquet_options
|
2317
|
+
|
2309
2318
|
# [Optional] The schema for the data. Schema is required for CSV and JSON
|
2310
2319
|
# formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore
|
2311
2320
|
# backups, and Avro formats.
|
@@ -2348,6 +2357,7 @@ module Google
|
|
2348
2357
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
2349
2358
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
2350
2359
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
2360
|
+
@parquet_options = args[:parquet_options] if args.key?(:parquet_options)
|
2351
2361
|
@schema = args[:schema] if args.key?(:schema)
|
2352
2362
|
@source_format = args[:source_format] if args.key?(:source_format)
|
2353
2363
|
@source_uris = args[:source_uris] if args.key?(:source_uris)
|
@@ -3124,6 +3134,11 @@ module Google
|
|
3124
3134
|
# @return [String]
|
3125
3135
|
attr_accessor :null_marker
|
3126
3136
|
|
3137
|
+
# [Optional] Options to configure parquet support.
|
3138
|
+
# Corresponds to the JSON property `parquetOptions`
|
3139
|
+
# @return [Google::Apis::BigqueryV2::ParquetOptions]
|
3140
|
+
attr_accessor :parquet_options
|
3141
|
+
|
3127
3142
|
# If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
|
3128
3143
|
# properties to load into BigQuery from a Cloud Datastore backup. Property names
|
3129
3144
|
# are case sensitive and must be top-level properties. If no properties are
|
@@ -3255,6 +3270,7 @@ module Google
|
|
3255
3270
|
@json_extension = args[:json_extension] if args.key?(:json_extension)
|
3256
3271
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
3257
3272
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
3273
|
+
@parquet_options = args[:parquet_options] if args.key?(:parquet_options)
|
3258
3274
|
@projection_fields = args[:projection_fields] if args.key?(:projection_fields)
|
3259
3275
|
@quote = args[:quote] if args.key?(:quote)
|
3260
3276
|
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
@@ -3307,6 +3323,14 @@ module Google
|
|
3307
3323
|
# @return [String]
|
3308
3324
|
attr_accessor :create_disposition
|
3309
3325
|
|
3326
|
+
# If true, creates a new session, where session id will be a server generated
|
3327
|
+
# random id. If false, runs query with an existing session_id passed in
|
3328
|
+
# ConnectionProperty, otherwise runs query in non-session mode.
|
3329
|
+
# Corresponds to the JSON property `createSession`
|
3330
|
+
# @return [Boolean]
|
3331
|
+
attr_accessor :create_session
|
3332
|
+
alias_method :create_session?, :create_session
|
3333
|
+
|
3310
3334
|
# [Optional] Specifies the default dataset to use for unqualified table names in
|
3311
3335
|
# the query. Note that this does not alter behavior of unqualified dataset names.
|
3312
3336
|
# Corresponds to the JSON property `defaultDataset`
|
@@ -3456,6 +3480,7 @@ module Google
|
|
3456
3480
|
@clustering = args[:clustering] if args.key?(:clustering)
|
3457
3481
|
@connection_properties = args[:connection_properties] if args.key?(:connection_properties)
|
3458
3482
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
3483
|
+
@create_session = args[:create_session] if args.key?(:create_session)
|
3459
3484
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
3460
3485
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
3461
3486
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@@ -3767,6 +3792,11 @@ module Google
|
|
3767
3792
|
# @return [Google::Apis::BigqueryV2::ScriptStatistics]
|
3768
3793
|
attr_accessor :script_statistics
|
3769
3794
|
|
3795
|
+
# [Output-only] [Preview] Information of the session if this job is part of one.
|
3796
|
+
# Corresponds to the JSON property `sessionInfoTemplate`
|
3797
|
+
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
3798
|
+
attr_accessor :session_info_template
|
3799
|
+
|
3770
3800
|
# [Output-only] Start time of this job, in milliseconds since the epoch. This
|
3771
3801
|
# field will be present when the job transitions from the PENDING state to
|
3772
3802
|
# either RUNNING or DONE.
|
@@ -3810,6 +3840,7 @@ module Google
|
|
3810
3840
|
@reservation_id = args[:reservation_id] if args.key?(:reservation_id)
|
3811
3841
|
@row_level_security_statistics = args[:row_level_security_statistics] if args.key?(:row_level_security_statistics)
|
3812
3842
|
@script_statistics = args[:script_statistics] if args.key?(:script_statistics)
|
3843
|
+
@session_info_template = args[:session_info_template] if args.key?(:session_info_template)
|
3813
3844
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3814
3845
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
3815
3846
|
@total_slot_ms = args[:total_slot_ms] if args.key?(:total_slot_ms)
|
@@ -3874,6 +3905,12 @@ module Google
|
|
3874
3905
|
# @return [String]
|
3875
3906
|
attr_accessor :ddl_operation_performed
|
3876
3907
|
|
3908
|
+
# [Output-only] The DDL target dataset. Present only for CREATE/ALTER/DROP
|
3909
|
+
# SCHEMA queries.
|
3910
|
+
# Corresponds to the JSON property `ddlTargetDataset`
|
3911
|
+
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
3912
|
+
attr_accessor :ddl_target_dataset
|
3913
|
+
|
3877
3914
|
# The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE
|
3878
3915
|
# queries.
|
3879
3916
|
# Corresponds to the JSON property `ddlTargetRoutine`
|
@@ -4017,6 +4054,7 @@ module Google
|
|
4017
4054
|
@cache_hit = args[:cache_hit] if args.key?(:cache_hit)
|
4018
4055
|
@ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
|
4019
4056
|
@ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
|
4057
|
+
@ddl_target_dataset = args[:ddl_target_dataset] if args.key?(:ddl_target_dataset)
|
4020
4058
|
@ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
|
4021
4059
|
@ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
|
4022
4060
|
@ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
|
@@ -4321,6 +4359,11 @@ module Google
|
|
4321
4359
|
class Model
|
4322
4360
|
include Google::Apis::Core::Hashable
|
4323
4361
|
|
4362
|
+
# The best trial_id across all training runs.
|
4363
|
+
# Corresponds to the JSON property `bestTrialId`
|
4364
|
+
# @return [Fixnum]
|
4365
|
+
attr_accessor :best_trial_id
|
4366
|
+
|
4324
4367
|
# Output only. The time when this model was created, in millisecs since the
|
4325
4368
|
# epoch.
|
4326
4369
|
# Corresponds to the JSON property `creationTime`
|
@@ -4413,6 +4456,7 @@ module Google
|
|
4413
4456
|
|
4414
4457
|
# Update properties of this object
|
4415
4458
|
def update!(**args)
|
4459
|
+
@best_trial_id = args[:best_trial_id] if args.key?(:best_trial_id)
|
4416
4460
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
4417
4461
|
@description = args[:description] if args.key?(:description)
|
4418
4462
|
@encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
|
@@ -4554,6 +4598,35 @@ module Google
|
|
4554
4598
|
end
|
4555
4599
|
end
|
4556
4600
|
|
4601
|
+
#
|
4602
|
+
class ParquetOptions
|
4603
|
+
include Google::Apis::Core::Hashable
|
4604
|
+
|
4605
|
+
# [Optional] Indicates whether to use schema inference specifically for Parquet
|
4606
|
+
# LIST logical type.
|
4607
|
+
# Corresponds to the JSON property `enableListInference`
|
4608
|
+
# @return [Boolean]
|
4609
|
+
attr_accessor :enable_list_inference
|
4610
|
+
alias_method :enable_list_inference?, :enable_list_inference
|
4611
|
+
|
4612
|
+
# [Optional] Indicates whether to infer Parquet ENUM logical type as STRING
|
4613
|
+
# instead of BYTES by default.
|
4614
|
+
# Corresponds to the JSON property `enumAsString`
|
4615
|
+
# @return [Boolean]
|
4616
|
+
attr_accessor :enum_as_string
|
4617
|
+
alias_method :enum_as_string?, :enum_as_string
|
4618
|
+
|
4619
|
+
def initialize(**args)
|
4620
|
+
update!(**args)
|
4621
|
+
end
|
4622
|
+
|
4623
|
+
# Update properties of this object
|
4624
|
+
def update!(**args)
|
4625
|
+
@enable_list_inference = args[:enable_list_inference] if args.key?(:enable_list_inference)
|
4626
|
+
@enum_as_string = args[:enum_as_string] if args.key?(:enum_as_string)
|
4627
|
+
end
|
4628
|
+
end
|
4629
|
+
|
4557
4630
|
# An Identity and Access Management (IAM) policy, which specifies access
|
4558
4631
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
4559
4632
|
# A `binding` binds one or more `members` to a single `role`. Members can be
|
@@ -4924,6 +4997,14 @@ module Google
|
|
4924
4997
|
# @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
|
4925
4998
|
attr_accessor :connection_properties
|
4926
4999
|
|
5000
|
+
# If true, creates a new session, where session id will be a server generated
|
5001
|
+
# random id. If false, runs query with an existing session_id passed in
|
5002
|
+
# ConnectionProperty, otherwise runs query in non-session mode.
|
5003
|
+
# Corresponds to the JSON property `createSession`
|
5004
|
+
# @return [Boolean]
|
5005
|
+
attr_accessor :create_session
|
5006
|
+
alias_method :create_session?, :create_session
|
5007
|
+
|
4927
5008
|
# [Optional] Specifies the default datasetId and projectId to assume for any
|
4928
5009
|
# unqualified table names in the query. If not set, all table names in the query
|
4929
5010
|
# string must be qualified in the format 'datasetId.tableId'.
|
@@ -5058,6 +5139,7 @@ module Google
|
|
5058
5139
|
# Update properties of this object
|
5059
5140
|
def update!(**args)
|
5060
5141
|
@connection_properties = args[:connection_properties] if args.key?(:connection_properties)
|
5142
|
+
@create_session = args[:create_session] if args.key?(:create_session)
|
5061
5143
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
5062
5144
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
5063
5145
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -5138,6 +5220,11 @@ module Google
|
|
5138
5220
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
5139
5221
|
attr_accessor :schema
|
5140
5222
|
|
5223
|
+
# [Output-only] [Preview] Information of the session if this job is part of one.
|
5224
|
+
# Corresponds to the JSON property `sessionInfoTemplate`
|
5225
|
+
# @return [Google::Apis::BigqueryV2::SessionInfo]
|
5226
|
+
attr_accessor :session_info_template
|
5227
|
+
|
5141
5228
|
# The total number of bytes processed for this query. If this query was a dry
|
5142
5229
|
# run, this is the number of bytes that would be processed if the query were run.
|
5143
5230
|
# Corresponds to the JSON property `totalBytesProcessed`
|
@@ -5165,6 +5252,7 @@ module Google
|
|
5165
5252
|
@page_token = args[:page_token] if args.key?(:page_token)
|
5166
5253
|
@rows = args[:rows] if args.key?(:rows)
|
5167
5254
|
@schema = args[:schema] if args.key?(:schema)
|
5255
|
+
@session_info_template = args[:session_info_template] if args.key?(:session_info_template)
|
5168
5256
|
@total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed)
|
5169
5257
|
@total_rows = args[:total_rows] if args.key?(:total_rows)
|
5170
5258
|
end
|
@@ -5423,6 +5511,11 @@ module Google
|
|
5423
5511
|
# @return [Fixnum]
|
5424
5512
|
attr_accessor :last_modified_time
|
5425
5513
|
|
5514
|
+
# A table type
|
5515
|
+
# Corresponds to the JSON property `returnTableType`
|
5516
|
+
# @return [Google::Apis::BigqueryV2::StandardSqlTableType]
|
5517
|
+
attr_accessor :return_table_type
|
5518
|
+
|
5426
5519
|
# The type of a variable, e.g., a function argument. Examples: INT64: `type_kind=
|
5427
5520
|
# "INT64"` ARRAY: `type_kind="ARRAY", array_element_type="STRING"` STRUCT>: `
|
5428
5521
|
# type_kind="STRUCT", struct_type=`fields=[ `name="x", type=`type_kind="STRING"``
|
@@ -5456,6 +5549,7 @@ module Google
|
|
5456
5549
|
@imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
|
5457
5550
|
@language = args[:language] if args.key?(:language)
|
5458
5551
|
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
5552
|
+
@return_table_type = args[:return_table_type] if args.key?(:return_table_type)
|
5459
5553
|
@return_type = args[:return_type] if args.key?(:return_type)
|
5460
5554
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
5461
5555
|
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
@@ -5705,6 +5799,25 @@ module Google
|
|
5705
5799
|
end
|
5706
5800
|
end
|
5707
5801
|
|
5802
|
+
#
|
5803
|
+
class SessionInfo
|
5804
|
+
include Google::Apis::Core::Hashable
|
5805
|
+
|
5806
|
+
# [Output-only] // [Preview] Id of the session.
|
5807
|
+
# Corresponds to the JSON property `sessionId`
|
5808
|
+
# @return [String]
|
5809
|
+
attr_accessor :session_id
|
5810
|
+
|
5811
|
+
def initialize(**args)
|
5812
|
+
update!(**args)
|
5813
|
+
end
|
5814
|
+
|
5815
|
+
# Update properties of this object
|
5816
|
+
def update!(**args)
|
5817
|
+
@session_id = args[:session_id] if args.key?(:session_id)
|
5818
|
+
end
|
5819
|
+
end
|
5820
|
+
|
5708
5821
|
# Request message for `SetIamPolicy` method.
|
5709
5822
|
class SetIamPolicyRequest
|
5710
5823
|
include Google::Apis::Core::Hashable
|
@@ -5868,6 +5981,25 @@ module Google
|
|
5868
5981
|
end
|
5869
5982
|
end
|
5870
5983
|
|
5984
|
+
# A table type
|
5985
|
+
class StandardSqlTableType
|
5986
|
+
include Google::Apis::Core::Hashable
|
5987
|
+
|
5988
|
+
# The columns in this table type
|
5989
|
+
# Corresponds to the JSON property `columns`
|
5990
|
+
# @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
|
5991
|
+
attr_accessor :columns
|
5992
|
+
|
5993
|
+
def initialize(**args)
|
5994
|
+
update!(**args)
|
5995
|
+
end
|
5996
|
+
|
5997
|
+
# Update properties of this object
|
5998
|
+
def update!(**args)
|
5999
|
+
@columns = args[:columns] if args.key?(:columns)
|
6000
|
+
end
|
6001
|
+
end
|
6002
|
+
|
5871
6003
|
#
|
5872
6004
|
class Streamingbuffer
|
5873
6005
|
include Google::Apis::Core::Hashable
|
@@ -6339,6 +6471,16 @@ module Google
|
|
6339
6471
|
# @return [Array<Google::Apis::BigqueryV2::TableFieldSchema>]
|
6340
6472
|
attr_accessor :fields
|
6341
6473
|
|
6474
|
+
# [Optional] Maximum length of values of this field for STRINGS or BYTES. If
|
6475
|
+
# max_length is not specified, no maximum length constraint is imposed on this
|
6476
|
+
# field. If type = "STRING", then max_length represents the maximum UTF-8 length
|
6477
|
+
# of strings in this field. If type = "BYTES", then max_length represents the
|
6478
|
+
# maximum number of bytes in this field. It is invalid to set this field if type
|
6479
|
+
# ≠ "STRING" and ≠ "BYTES".
|
6480
|
+
# Corresponds to the JSON property `maxLength`
|
6481
|
+
# @return [Fixnum]
|
6482
|
+
attr_accessor :max_length
|
6483
|
+
|
6342
6484
|
# [Optional] The field mode. Possible values include NULLABLE, REQUIRED and
|
6343
6485
|
# REPEATED. The default value is NULLABLE.
|
6344
6486
|
# Corresponds to the JSON property `mode`
|
@@ -6357,6 +6499,31 @@ module Google
|
|
6357
6499
|
# @return [Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags]
|
6358
6500
|
attr_accessor :policy_tags
|
6359
6501
|
|
6502
|
+
# [Optional] Precision (maximum number of total digits in base 10) and scale (
|
6503
|
+
# maximum number of digits in the fractional part in base 10) constraints for
|
6504
|
+
# values of this field for NUMERIC or BIGNUMERIC. It is invalid to set precision
|
6505
|
+
# or scale if type ≠ "NUMERIC" and ≠ "BIGNUMERIC". If precision and scale are
|
6506
|
+
# not specified, no value range constraint is imposed on this field insofar as
|
6507
|
+
# values are permitted by the type. Values of this NUMERIC or BIGNUMERIC field
|
6508
|
+
# must be in this range when: - Precision (P) and scale (S) are specified: [-10P-
|
6509
|
+
# S + 10-S, 10P-S - 10-S] - Precision (P) is specified but not scale (and thus
|
6510
|
+
# scale is interpreted to be equal to zero): [-10P + 1, 10P - 1]. Acceptable
|
6511
|
+
# values for precision and scale if both are specified: - If type = "NUMERIC": 1
|
6512
|
+
# ≤ precision - scale ≤ 29 and 0 ≤ scale ≤ 9. - If type = "BIGNUMERIC": 1 ≤
|
6513
|
+
# precision - scale ≤ 38 and 0 ≤ scale ≤ 38. Acceptable values for precision if
|
6514
|
+
# only precision is specified but not scale (and thus scale is interpreted to be
|
6515
|
+
# equal to zero): - If type = "NUMERIC": 1 ≤ precision ≤ 29. - If type = "
|
6516
|
+
# BIGNUMERIC": 1 ≤ precision ≤ 38. If scale is specified but not precision, then
|
6517
|
+
# it is invalid.
|
6518
|
+
# Corresponds to the JSON property `precision`
|
6519
|
+
# @return [Fixnum]
|
6520
|
+
attr_accessor :precision
|
6521
|
+
|
6522
|
+
# [Optional] See documentation for precision.
|
6523
|
+
# Corresponds to the JSON property `scale`
|
6524
|
+
# @return [Fixnum]
|
6525
|
+
attr_accessor :scale
|
6526
|
+
|
6360
6527
|
# [Required] The field data type. Possible values include STRING, BYTES, INTEGER,
|
6361
6528
|
# INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), NUMERIC, BIGNUMERIC,
|
6362
6529
|
# BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (
|
@@ -6375,9 +6542,12 @@ module Google
|
|
6375
6542
|
@categories = args[:categories] if args.key?(:categories)
|
6376
6543
|
@description = args[:description] if args.key?(:description)
|
6377
6544
|
@fields = args[:fields] if args.key?(:fields)
|
6545
|
+
@max_length = args[:max_length] if args.key?(:max_length)
|
6378
6546
|
@mode = args[:mode] if args.key?(:mode)
|
6379
6547
|
@name = args[:name] if args.key?(:name)
|
6380
6548
|
@policy_tags = args[:policy_tags] if args.key?(:policy_tags)
|
6549
|
+
@precision = args[:precision] if args.key?(:precision)
|
6550
|
+
@scale = args[:scale] if args.key?(:scale)
|
6381
6551
|
@type = args[:type] if args.key?(:type)
|
6382
6552
|
end
|
6383
6553
|
|
@@ -6949,8 +7119,7 @@ module Google
|
|
6949
7119
|
# @return [String]
|
6950
7120
|
attr_accessor :time_series_data_column
|
6951
7121
|
|
6952
|
-
# The id column that
|
6953
|
-
# in parallel.
|
7122
|
+
# The time series id column that was used during ARIMA model training.
|
6954
7123
|
# Corresponds to the JSON property `timeSeriesIdColumn`
|
6955
7124
|
# @return [String]
|
6956
7125
|
attr_accessor :time_series_id_column
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210313"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -532,6 +532,12 @@ module Google
|
|
532
532
|
include Google::Apis::Core::JsonObjectSupport
|
533
533
|
end
|
534
534
|
|
535
|
+
class ParquetOptions
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
535
541
|
class Policy
|
536
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
543
|
|
@@ -676,6 +682,12 @@ module Google
|
|
676
682
|
include Google::Apis::Core::JsonObjectSupport
|
677
683
|
end
|
678
684
|
|
685
|
+
class SessionInfo
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
|
+
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
689
|
+
end
|
690
|
+
|
679
691
|
class SetIamPolicyRequest
|
680
692
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
693
|
|
@@ -706,6 +718,12 @@ module Google
|
|
706
718
|
include Google::Apis::Core::JsonObjectSupport
|
707
719
|
end
|
708
720
|
|
721
|
+
class StandardSqlTableType
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
709
727
|
class Streamingbuffer
|
710
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
729
|
|
@@ -1417,6 +1435,8 @@ module Google
|
|
1417
1435
|
|
1418
1436
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
1419
1437
|
property :max_bad_records, as: 'maxBadRecords'
|
1438
|
+
property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
|
1439
|
+
|
1420
1440
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
1421
1441
|
|
1422
1442
|
property :source_format, as: 'sourceFormat'
|
@@ -1609,6 +1629,8 @@ module Google
|
|
1609
1629
|
property :json_extension, as: 'jsonExtension'
|
1610
1630
|
property :max_bad_records, as: 'maxBadRecords'
|
1611
1631
|
property :null_marker, as: 'nullMarker'
|
1632
|
+
property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
|
1633
|
+
|
1612
1634
|
collection :projection_fields, as: 'projectionFields'
|
1613
1635
|
property :quote, as: 'quote'
|
1614
1636
|
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
@@ -1637,6 +1659,7 @@ module Google
|
|
1637
1659
|
collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
|
1638
1660
|
|
1639
1661
|
property :create_disposition, as: 'createDisposition'
|
1662
|
+
property :create_session, as: 'createSession'
|
1640
1663
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
1641
1664
|
|
1642
1665
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
@@ -1747,6 +1770,8 @@ module Google
|
|
1747
1770
|
|
1748
1771
|
property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
|
1749
1772
|
|
1773
|
+
property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
1774
|
+
|
1750
1775
|
property :start_time, :numeric_string => true, as: 'startTime'
|
1751
1776
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
1752
1777
|
property :total_slot_ms, :numeric_string => true, as: 'totalSlotMs'
|
@@ -1770,6 +1795,8 @@ module Google
|
|
1770
1795
|
property :cache_hit, as: 'cacheHit'
|
1771
1796
|
property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
|
1772
1797
|
property :ddl_operation_performed, as: 'ddlOperationPerformed'
|
1798
|
+
property :ddl_target_dataset, as: 'ddlTargetDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
1799
|
+
|
1773
1800
|
property :ddl_target_routine, as: 'ddlTargetRoutine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
1774
1801
|
|
1775
1802
|
property :ddl_target_row_access_policy, as: 'ddlTargetRowAccessPolicy', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
|
@@ -1890,6 +1917,7 @@ module Google
|
|
1890
1917
|
class Model
|
1891
1918
|
# @private
|
1892
1919
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1920
|
+
property :best_trial_id, :numeric_string => true, as: 'bestTrialId'
|
1893
1921
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
1894
1922
|
property :description, as: 'description'
|
1895
1923
|
property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
@@ -1950,6 +1978,14 @@ module Google
|
|
1950
1978
|
end
|
1951
1979
|
end
|
1952
1980
|
|
1981
|
+
class ParquetOptions
|
1982
|
+
# @private
|
1983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1984
|
+
property :enable_list_inference, as: 'enableListInference'
|
1985
|
+
property :enum_as_string, as: 'enumAsString'
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1953
1989
|
class Policy
|
1954
1990
|
# @private
|
1955
1991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2051,6 +2087,7 @@ module Google
|
|
2051
2087
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2052
2088
|
collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
|
2053
2089
|
|
2090
|
+
property :create_session, as: 'createSession'
|
2054
2091
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
2055
2092
|
|
2056
2093
|
property :dry_run, as: 'dryRun'
|
@@ -2087,6 +2124,8 @@ module Google
|
|
2087
2124
|
|
2088
2125
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
2089
2126
|
|
2127
|
+
property :session_info_template, as: 'sessionInfoTemplate', class: Google::Apis::BigqueryV2::SessionInfo, decorator: Google::Apis::BigqueryV2::SessionInfo::Representation
|
2128
|
+
|
2090
2129
|
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
2091
2130
|
property :total_rows, :numeric_string => true, as: 'totalRows'
|
2092
2131
|
end
|
@@ -2155,6 +2194,8 @@ module Google
|
|
2155
2194
|
collection :imported_libraries, as: 'importedLibraries'
|
2156
2195
|
property :language, as: 'language'
|
2157
2196
|
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
2197
|
+
property :return_table_type, as: 'returnTableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
|
2198
|
+
|
2158
2199
|
property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
2159
2200
|
|
2160
2201
|
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
@@ -2231,6 +2272,13 @@ module Google
|
|
2231
2272
|
end
|
2232
2273
|
end
|
2233
2274
|
|
2275
|
+
class SessionInfo
|
2276
|
+
# @private
|
2277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2278
|
+
property :session_id, as: 'sessionId'
|
2279
|
+
end
|
2280
|
+
end
|
2281
|
+
|
2234
2282
|
class SetIamPolicyRequest
|
2235
2283
|
# @private
|
2236
2284
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2278,6 +2326,14 @@ module Google
|
|
2278
2326
|
end
|
2279
2327
|
end
|
2280
2328
|
|
2329
|
+
class StandardSqlTableType
|
2330
|
+
# @private
|
2331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2332
|
+
collection :columns, as: 'columns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation
|
2333
|
+
|
2334
|
+
end
|
2335
|
+
end
|
2336
|
+
|
2281
2337
|
class Streamingbuffer
|
2282
2338
|
# @private
|
2283
2339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2399,10 +2455,13 @@ module Google
|
|
2399
2455
|
property :description, as: 'description'
|
2400
2456
|
collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::TableFieldSchema, decorator: Google::Apis::BigqueryV2::TableFieldSchema::Representation
|
2401
2457
|
|
2458
|
+
property :max_length, :numeric_string => true, as: 'maxLength'
|
2402
2459
|
property :mode, as: 'mode'
|
2403
2460
|
property :name, as: 'name'
|
2404
2461
|
property :policy_tags, as: 'policyTags', class: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags, decorator: Google::Apis::BigqueryV2::TableFieldSchema::PolicyTags::Representation
|
2405
2462
|
|
2463
|
+
property :precision, :numeric_string => true, as: 'precision'
|
2464
|
+
property :scale, :numeric_string => true, as: 'scale'
|
2406
2465
|
property :type, as: 'type'
|
2407
2466
|
end
|
2408
2467
|
|
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.8.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: 2021-
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.8.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-bigquery_v2
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.13
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for BigQuery API V2
|