google-apis-bigquery_v2 0.4.0 → 0.5.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: aa120096a87f62bf1694ae8745374624ef9bb88383098c0780f8f0ecd75970cb
4
- data.tar.gz: 87402c6776dc7cb373fb89ab69e99283c643081ee2615001c2f856d2e1d51e6a
3
+ metadata.gz: 99b981f1f35cc7f653f5def161757aab5509f948c04eee28877cef679d39bd75
4
+ data.tar.gz: 523cef039b5d26df55b31c071f48460bddc53a367c988c06f947fe0a66eff258
5
5
  SHA512:
6
- metadata.gz: 89daa782d234aa7360670a6600211c9798a88ccdd1a167dc8edb626ce204df5cb7e5a93d165a06f15d50356c484669a9125fd59ac1e65d3c235bc22d90454487
7
- data.tar.gz: 02a1a4102edeb29af105954b968481d3a2c826b68fa93189335a04cecfdfb0a72c7414098c094e38cb46d26181ef51a6104c83dec75f22a85909c6d8f1c33b9a
6
+ metadata.gz: fa035dcc0395167de1659dd73d910616e6b6293ba25cc45707bcf438dd31f109987c2738dd4dad29807d6aed7ba1ec2eeb0fd0a07bbcd35eab18426b20e23f79
7
+ data.tar.gz: 4eac905733b9ec51d7dfa2dc37cff46802a042e45894a532ba35a91d5eac770cc4e1a53b63a6ddf1a73ed9a0c80eb27c130c8df066ce27f13e3cd297334f4dd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.5.0 (2021-02-26)
4
+
5
+ * Regenerated from discovery document revision 20210219
6
+
3
7
  ### v0.4.0 (2021-02-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20210215
@@ -276,7 +276,9 @@ module Google
276
276
  # @return [Array<String>]
277
277
  attr_accessor :seasonal_periods
278
278
 
279
- # The id to indicate different time series.
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 id to indicate different time series.
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)
@@ -4561,6 +4577,35 @@ module Google
4561
4577
  end
4562
4578
  end
4563
4579
 
4580
+ #
4581
+ class ParquetOptions
4582
+ include Google::Apis::Core::Hashable
4583
+
4584
+ # [Optional] Indicates whether to use schema inference specifically for Parquet
4585
+ # LIST logical type.
4586
+ # Corresponds to the JSON property `enableListInference`
4587
+ # @return [Boolean]
4588
+ attr_accessor :enable_list_inference
4589
+ alias_method :enable_list_inference?, :enable_list_inference
4590
+
4591
+ # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING
4592
+ # instead of BYTES by default.
4593
+ # Corresponds to the JSON property `enumAsString`
4594
+ # @return [Boolean]
4595
+ attr_accessor :enum_as_string
4596
+ alias_method :enum_as_string?, :enum_as_string
4597
+
4598
+ def initialize(**args)
4599
+ update!(**args)
4600
+ end
4601
+
4602
+ # Update properties of this object
4603
+ def update!(**args)
4604
+ @enable_list_inference = args[:enable_list_inference] if args.key?(:enable_list_inference)
4605
+ @enum_as_string = args[:enum_as_string] if args.key?(:enum_as_string)
4606
+ end
4607
+ end
4608
+
4564
4609
  # An Identity and Access Management (IAM) policy, which specifies access
4565
4610
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4566
4611
  # A `binding` binds one or more `members` to a single `role`. Members can be
@@ -6956,8 +7001,7 @@ module Google
6956
7001
  # @return [String]
6957
7002
  attr_accessor :time_series_data_column
6958
7003
 
6959
- # The id column that will be used to indicate different time series to forecast
6960
- # in parallel.
7004
+ # The time series id column that was used during ARIMA model training.
6961
7005
  # Corresponds to the JSON property `timeSeriesIdColumn`
6962
7006
  # @return [String]
6963
7007
  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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210215"
25
+ REVISION = "20210219"
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
 
@@ -1417,6 +1423,8 @@ module Google
1417
1423
 
1418
1424
  property :ignore_unknown_values, as: 'ignoreUnknownValues'
1419
1425
  property :max_bad_records, as: 'maxBadRecords'
1426
+ property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
1427
+
1420
1428
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1421
1429
 
1422
1430
  property :source_format, as: 'sourceFormat'
@@ -1609,6 +1617,8 @@ module Google
1609
1617
  property :json_extension, as: 'jsonExtension'
1610
1618
  property :max_bad_records, as: 'maxBadRecords'
1611
1619
  property :null_marker, as: 'nullMarker'
1620
+ property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
1621
+
1612
1622
  collection :projection_fields, as: 'projectionFields'
1613
1623
  property :quote, as: 'quote'
1614
1624
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
@@ -1952,6 +1962,14 @@ module Google
1952
1962
  end
1953
1963
  end
1954
1964
 
1965
+ class ParquetOptions
1966
+ # @private
1967
+ class Representation < Google::Apis::Core::JsonRepresentation
1968
+ property :enable_list_inference, as: 'enableListInference'
1969
+ property :enum_as_string, as: 'enumAsString'
1970
+ end
1971
+ end
1972
+
1955
1973
  class Policy
1956
1974
  # @private
1957
1975
  class Representation < Google::Apis::Core::JsonRepresentation
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.0
4
+ version: 0.5.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-02-22 00:00:00.000000000 Z
11
+ date: 2021-03-01 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.5.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.11
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for BigQuery API V2