google-apis-bigquery_v2 0.2.0 → 0.7.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: 312cca381f34c0dd7111f0d2a39beba252e46a16183d11a5a920b7494bc16346
4
- data.tar.gz: b46bf05bc32c9d680aa4b3b63134520de5a67cc8a5e9cf9af12034bdf1205e29
3
+ metadata.gz: 56c838165f7a17549feb840b93cb9f673f17bc9852f8b2f0ce226696d4cb0a75
4
+ data.tar.gz: 8abc25725e98014460f4358f2463c10946e9e625e2855d82752d6dd717af2c04
5
5
  SHA512:
6
- metadata.gz: 9f542b257d6fe7e887cb4d50b84f86b59cf7db044e0bc93f5624014660260526fe5c8f1827deb7696dc431df193e3b385214dd69d8c52765aba2b39bf473057c
7
- data.tar.gz: 3a09873804043cee5d8bb407a33d5d6a16ca0bd26370f7d6dd707b1e98b3b55390f9f7631b2f5d6361a9f03b7fb74edc0ac863d0ee49ff70d412229c6dbb2824
6
+ metadata.gz: 24b362c3b5d48050c840e96d2f938b17bebad183bc5795048bdcb91e0619c7db48b08e8147b02480b81c27ee7ce687bf2770d5f9f505295ac00a7ab90c10d83a
7
+ data.tar.gz: 553a09d88e6cf07a19951f4e24ae9cabfa3067d240bce16a84836bfafad89227bdaf0257c1e004dacd55362d68ee089513055c4a9b2317450b6684555e856fb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.7.0 (2021-03-10)
4
+
5
+ * Regenerated from discovery document revision 20210303
6
+ * Regenerated using generator version 0.2.0
7
+
8
+ ### v0.6.0 (2021-03-04)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.5.0 (2021-02-26)
13
+
14
+ * Regenerated from discovery document revision 20210219
15
+
16
+ ### v0.4.0 (2021-02-20)
17
+
18
+ * Regenerated from discovery document revision 20210215
19
+
20
+ ### v0.3.0 (2021-02-13)
21
+
22
+ * Regenerated from discovery document revision 20210204
23
+
3
24
  ### v0.2.0 (2021-01-23)
4
25
 
5
26
  * Regenerated from discovery document revision 20210118
@@ -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
@@ -1483,6 +1487,15 @@ module Google
1483
1487
  class Access
1484
1488
  include Google::Apis::Core::Hashable
1485
1489
 
1490
+ # [Pick one] A grant authorizing all resources of a particular type in a
1491
+ # particular dataset access to this dataset. Only views are supported for now.
1492
+ # The role field is not required when this field is set. If that dataset is
1493
+ # deleted and re-created, its access needs to be granted again via an update
1494
+ # operation.
1495
+ # Corresponds to the JSON property `dataset`
1496
+ # @return [Google::Apis::BigqueryV2::DatasetAccessEntry]
1497
+ attr_accessor :dataset
1498
+
1486
1499
  # [Pick one] A domain to grant access to. Any users signed in with the domain
1487
1500
  # specified will be granted the specified access. Example: "example.com". Maps
1488
1501
  # to IAM policy member "domain:DOMAIN".
@@ -1551,6 +1564,7 @@ module Google
1551
1564
 
1552
1565
  # Update properties of this object
1553
1566
  def update!(**args)
1567
+ @dataset = args[:dataset] if args.key?(:dataset)
1554
1568
  @domain = args[:domain] if args.key?(:domain)
1555
1569
  @group_by_email = args[:group_by_email] if args.key?(:group_by_email)
1556
1570
  @iam_member = args[:iam_member] if args.key?(:iam_member)
@@ -1563,6 +1577,52 @@ module Google
1563
1577
  end
1564
1578
  end
1565
1579
 
1580
+ #
1581
+ class DatasetAccessEntry
1582
+ include Google::Apis::Core::Hashable
1583
+
1584
+ # [Required] The dataset this entry applies to.
1585
+ # Corresponds to the JSON property `dataset`
1586
+ # @return [Google::Apis::BigqueryV2::DatasetReference]
1587
+ attr_accessor :dataset
1588
+
1589
+ #
1590
+ # Corresponds to the JSON property `target_types`
1591
+ # @return [Array<Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType>]
1592
+ attr_accessor :target_types
1593
+
1594
+ def initialize(**args)
1595
+ update!(**args)
1596
+ end
1597
+
1598
+ # Update properties of this object
1599
+ def update!(**args)
1600
+ @dataset = args[:dataset] if args.key?(:dataset)
1601
+ @target_types = args[:target_types] if args.key?(:target_types)
1602
+ end
1603
+
1604
+ #
1605
+ class TargetType
1606
+ include Google::Apis::Core::Hashable
1607
+
1608
+ # [Required] Which resources in the dataset this entry applies to. Currently,
1609
+ # only views are supported, but additional target types may be added in the
1610
+ # future. Possible values: VIEWS: This entry applies to all views in the dataset.
1611
+ # Corresponds to the JSON property `targetType`
1612
+ # @return [String]
1613
+ attr_accessor :target_type
1614
+
1615
+ def initialize(**args)
1616
+ update!(**args)
1617
+ end
1618
+
1619
+ # Update properties of this object
1620
+ def update!(**args)
1621
+ @target_type = args[:target_type] if args.key?(:target_type)
1622
+ end
1623
+ end
1624
+ end
1625
+
1566
1626
  #
1567
1627
  class DatasetList
1568
1628
  include Google::Apis::Core::Hashable
@@ -2250,6 +2310,11 @@ module Google
2250
2310
  # @return [Fixnum]
2251
2311
  attr_accessor :max_bad_records
2252
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
+
2253
2318
  # [Optional] The schema for the data. Schema is required for CSV and JSON
2254
2319
  # formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore
2255
2320
  # backups, and Avro formats.
@@ -2292,6 +2357,7 @@ module Google
2292
2357
  @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
2293
2358
  @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
2294
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)
2295
2361
  @schema = args[:schema] if args.key?(:schema)
2296
2362
  @source_format = args[:source_format] if args.key?(:source_format)
2297
2363
  @source_uris = args[:source_uris] if args.key?(:source_uris)
@@ -3068,6 +3134,11 @@ module Google
3068
3134
  # @return [String]
3069
3135
  attr_accessor :null_marker
3070
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
+
3071
3142
  # If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity
3072
3143
  # properties to load into BigQuery from a Cloud Datastore backup. Property names
3073
3144
  # are case sensitive and must be top-level properties. If no properties are
@@ -3199,6 +3270,7 @@ module Google
3199
3270
  @json_extension = args[:json_extension] if args.key?(:json_extension)
3200
3271
  @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
3201
3272
  @null_marker = args[:null_marker] if args.key?(:null_marker)
3273
+ @parquet_options = args[:parquet_options] if args.key?(:parquet_options)
3202
3274
  @projection_fields = args[:projection_fields] if args.key?(:projection_fields)
3203
3275
  @quote = args[:quote] if args.key?(:quote)
3204
3276
  @range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
@@ -3251,6 +3323,14 @@ module Google
3251
3323
  # @return [String]
3252
3324
  attr_accessor :create_disposition
3253
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
+
3254
3334
  # [Optional] Specifies the default dataset to use for unqualified table names in
3255
3335
  # the query. Note that this does not alter behavior of unqualified dataset names.
3256
3336
  # Corresponds to the JSON property `defaultDataset`
@@ -3400,6 +3480,7 @@ module Google
3400
3480
  @clustering = args[:clustering] if args.key?(:clustering)
3401
3481
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
3402
3482
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
3483
+ @create_session = args[:create_session] if args.key?(:create_session)
3403
3484
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
3404
3485
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
3405
3486
  @destination_table = args[:destination_table] if args.key?(:destination_table)
@@ -3818,6 +3899,12 @@ module Google
3818
3899
  # @return [String]
3819
3900
  attr_accessor :ddl_operation_performed
3820
3901
 
3902
+ # [Output-only] The DDL target dataset. Present only for CREATE/ALTER/DROP
3903
+ # SCHEMA queries.
3904
+ # Corresponds to the JSON property `ddlTargetDataset`
3905
+ # @return [Google::Apis::BigqueryV2::DatasetReference]
3906
+ attr_accessor :ddl_target_dataset
3907
+
3821
3908
  # The DDL target routine. Present only for CREATE/DROP FUNCTION/PROCEDURE
3822
3909
  # queries.
3823
3910
  # Corresponds to the JSON property `ddlTargetRoutine`
@@ -3961,6 +4048,7 @@ module Google
3961
4048
  @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
3962
4049
  @ddl_affected_row_access_policy_count = args[:ddl_affected_row_access_policy_count] if args.key?(:ddl_affected_row_access_policy_count)
3963
4050
  @ddl_operation_performed = args[:ddl_operation_performed] if args.key?(:ddl_operation_performed)
4051
+ @ddl_target_dataset = args[:ddl_target_dataset] if args.key?(:ddl_target_dataset)
3964
4052
  @ddl_target_routine = args[:ddl_target_routine] if args.key?(:ddl_target_routine)
3965
4053
  @ddl_target_row_access_policy = args[:ddl_target_row_access_policy] if args.key?(:ddl_target_row_access_policy)
3966
4054
  @ddl_target_table = args[:ddl_target_table] if args.key?(:ddl_target_table)
@@ -4265,6 +4353,11 @@ module Google
4265
4353
  class Model
4266
4354
  include Google::Apis::Core::Hashable
4267
4355
 
4356
+ # The best trial_id across all training runs.
4357
+ # Corresponds to the JSON property `bestTrialId`
4358
+ # @return [Fixnum]
4359
+ attr_accessor :best_trial_id
4360
+
4268
4361
  # Output only. The time when this model was created, in millisecs since the
4269
4362
  # epoch.
4270
4363
  # Corresponds to the JSON property `creationTime`
@@ -4357,6 +4450,7 @@ module Google
4357
4450
 
4358
4451
  # Update properties of this object
4359
4452
  def update!(**args)
4453
+ @best_trial_id = args[:best_trial_id] if args.key?(:best_trial_id)
4360
4454
  @creation_time = args[:creation_time] if args.key?(:creation_time)
4361
4455
  @description = args[:description] if args.key?(:description)
4362
4456
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
@@ -4498,6 +4592,35 @@ module Google
4498
4592
  end
4499
4593
  end
4500
4594
 
4595
+ #
4596
+ class ParquetOptions
4597
+ include Google::Apis::Core::Hashable
4598
+
4599
+ # [Optional] Indicates whether to use schema inference specifically for Parquet
4600
+ # LIST logical type.
4601
+ # Corresponds to the JSON property `enableListInference`
4602
+ # @return [Boolean]
4603
+ attr_accessor :enable_list_inference
4604
+ alias_method :enable_list_inference?, :enable_list_inference
4605
+
4606
+ # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING
4607
+ # instead of BYTES by default.
4608
+ # Corresponds to the JSON property `enumAsString`
4609
+ # @return [Boolean]
4610
+ attr_accessor :enum_as_string
4611
+ alias_method :enum_as_string?, :enum_as_string
4612
+
4613
+ def initialize(**args)
4614
+ update!(**args)
4615
+ end
4616
+
4617
+ # Update properties of this object
4618
+ def update!(**args)
4619
+ @enable_list_inference = args[:enable_list_inference] if args.key?(:enable_list_inference)
4620
+ @enum_as_string = args[:enum_as_string] if args.key?(:enum_as_string)
4621
+ end
4622
+ end
4623
+
4501
4624
  # An Identity and Access Management (IAM) policy, which specifies access
4502
4625
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4503
4626
  # A `binding` binds one or more `members` to a single `role`. Members can be
@@ -4868,6 +4991,14 @@ module Google
4868
4991
  # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
4869
4992
  attr_accessor :connection_properties
4870
4993
 
4994
+ # If true, creates a new session, where session id will be a server generated
4995
+ # random id. If false, runs query with an existing session_id passed in
4996
+ # ConnectionProperty, otherwise runs query in non-session mode.
4997
+ # Corresponds to the JSON property `createSession`
4998
+ # @return [Boolean]
4999
+ attr_accessor :create_session
5000
+ alias_method :create_session?, :create_session
5001
+
4871
5002
  # [Optional] Specifies the default datasetId and projectId to assume for any
4872
5003
  # unqualified table names in the query. If not set, all table names in the query
4873
5004
  # string must be qualified in the format 'datasetId.tableId'.
@@ -5002,6 +5133,7 @@ module Google
5002
5133
  # Update properties of this object
5003
5134
  def update!(**args)
5004
5135
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
5136
+ @create_session = args[:create_session] if args.key?(:create_session)
5005
5137
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
5006
5138
  @dry_run = args[:dry_run] if args.key?(:dry_run)
5007
5139
  @kind = args[:kind] if args.key?(:kind)
@@ -5367,6 +5499,11 @@ module Google
5367
5499
  # @return [Fixnum]
5368
5500
  attr_accessor :last_modified_time
5369
5501
 
5502
+ # A table type
5503
+ # Corresponds to the JSON property `returnTableType`
5504
+ # @return [Google::Apis::BigqueryV2::StandardSqlTableType]
5505
+ attr_accessor :return_table_type
5506
+
5370
5507
  # The type of a variable, e.g., a function argument. Examples: INT64: `type_kind=
5371
5508
  # "INT64"` ARRAY: `type_kind="ARRAY", array_element_type="STRING"` STRUCT>: `
5372
5509
  # type_kind="STRUCT", struct_type=`fields=[ `name="x", type=`type_kind="STRING"``
@@ -5400,6 +5537,7 @@ module Google
5400
5537
  @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
5401
5538
  @language = args[:language] if args.key?(:language)
5402
5539
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
5540
+ @return_table_type = args[:return_table_type] if args.key?(:return_table_type)
5403
5541
  @return_type = args[:return_type] if args.key?(:return_type)
5404
5542
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
5405
5543
  @routine_type = args[:routine_type] if args.key?(:routine_type)
@@ -5812,6 +5950,25 @@ module Google
5812
5950
  end
5813
5951
  end
5814
5952
 
5953
+ # A table type
5954
+ class StandardSqlTableType
5955
+ include Google::Apis::Core::Hashable
5956
+
5957
+ # The columns in this table type
5958
+ # Corresponds to the JSON property `columns`
5959
+ # @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
5960
+ attr_accessor :columns
5961
+
5962
+ def initialize(**args)
5963
+ update!(**args)
5964
+ end
5965
+
5966
+ # Update properties of this object
5967
+ def update!(**args)
5968
+ @columns = args[:columns] if args.key?(:columns)
5969
+ end
5970
+ end
5971
+
5815
5972
  #
5816
5973
  class Streamingbuffer
5817
5974
  include Google::Apis::Core::Hashable
@@ -6893,8 +7050,7 @@ module Google
6893
7050
  # @return [String]
6894
7051
  attr_accessor :time_series_data_column
6895
7052
 
6896
- # The id column that will be used to indicate different time series to forecast
6897
- # in parallel.
7053
+ # The time series id column that was used during ARIMA model training.
6898
7054
  # Corresponds to the JSON property `timeSeriesIdColumn`
6899
7055
  # @return [String]
6900
7056
  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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210118"
25
+ REVISION = "20210303"
26
26
  end
27
27
  end
28
28
  end
@@ -220,6 +220,18 @@ module Google
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
+ class DatasetAccessEntry
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ class TargetType
227
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
230
+ end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class DatasetList
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -520,6 +532,12 @@ module Google
520
532
  include Google::Apis::Core::JsonObjectSupport
521
533
  end
522
534
 
535
+ class ParquetOptions
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
523
541
  class Policy
524
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
543
 
@@ -694,6 +712,12 @@ module Google
694
712
  include Google::Apis::Core::JsonObjectSupport
695
713
  end
696
714
 
715
+ class StandardSqlTableType
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
697
721
  class Streamingbuffer
698
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
723
 
@@ -1200,6 +1224,8 @@ module Google
1200
1224
  class Access
1201
1225
  # @private
1202
1226
  class Representation < Google::Apis::Core::JsonRepresentation
1227
+ property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetAccessEntry, decorator: Google::Apis::BigqueryV2::DatasetAccessEntry::Representation
1228
+
1203
1229
  property :domain, as: 'domain'
1204
1230
  property :group_by_email, as: 'groupByEmail'
1205
1231
  property :iam_member, as: 'iamMember'
@@ -1214,6 +1240,23 @@ module Google
1214
1240
  end
1215
1241
  end
1216
1242
 
1243
+ class DatasetAccessEntry
1244
+ # @private
1245
+ class Representation < Google::Apis::Core::JsonRepresentation
1246
+ property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1247
+
1248
+ collection :target_types, as: 'target_types', class: Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType, decorator: Google::Apis::BigqueryV2::DatasetAccessEntry::TargetType::Representation
1249
+
1250
+ end
1251
+
1252
+ class TargetType
1253
+ # @private
1254
+ class Representation < Google::Apis::Core::JsonRepresentation
1255
+ property :target_type, as: 'targetType'
1256
+ end
1257
+ end
1258
+ end
1259
+
1217
1260
  class DatasetList
1218
1261
  # @private
1219
1262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1386,6 +1429,8 @@ module Google
1386
1429
 
1387
1430
  property :ignore_unknown_values, as: 'ignoreUnknownValues'
1388
1431
  property :max_bad_records, as: 'maxBadRecords'
1432
+ property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
1433
+
1389
1434
  property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
1390
1435
 
1391
1436
  property :source_format, as: 'sourceFormat'
@@ -1578,6 +1623,8 @@ module Google
1578
1623
  property :json_extension, as: 'jsonExtension'
1579
1624
  property :max_bad_records, as: 'maxBadRecords'
1580
1625
  property :null_marker, as: 'nullMarker'
1626
+ property :parquet_options, as: 'parquetOptions', class: Google::Apis::BigqueryV2::ParquetOptions, decorator: Google::Apis::BigqueryV2::ParquetOptions::Representation
1627
+
1581
1628
  collection :projection_fields, as: 'projectionFields'
1582
1629
  property :quote, as: 'quote'
1583
1630
  property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
@@ -1606,6 +1653,7 @@ module Google
1606
1653
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1607
1654
 
1608
1655
  property :create_disposition, as: 'createDisposition'
1656
+ property :create_session, as: 'createSession'
1609
1657
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1610
1658
 
1611
1659
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -1739,6 +1787,8 @@ module Google
1739
1787
  property :cache_hit, as: 'cacheHit'
1740
1788
  property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
1741
1789
  property :ddl_operation_performed, as: 'ddlOperationPerformed'
1790
+ property :ddl_target_dataset, as: 'ddlTargetDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1791
+
1742
1792
  property :ddl_target_routine, as: 'ddlTargetRoutine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
1743
1793
 
1744
1794
  property :ddl_target_row_access_policy, as: 'ddlTargetRowAccessPolicy', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
@@ -1859,6 +1909,7 @@ module Google
1859
1909
  class Model
1860
1910
  # @private
1861
1911
  class Representation < Google::Apis::Core::JsonRepresentation
1912
+ property :best_trial_id, :numeric_string => true, as: 'bestTrialId'
1862
1913
  property :creation_time, :numeric_string => true, as: 'creationTime'
1863
1914
  property :description, as: 'description'
1864
1915
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -1919,6 +1970,14 @@ module Google
1919
1970
  end
1920
1971
  end
1921
1972
 
1973
+ class ParquetOptions
1974
+ # @private
1975
+ class Representation < Google::Apis::Core::JsonRepresentation
1976
+ property :enable_list_inference, as: 'enableListInference'
1977
+ property :enum_as_string, as: 'enumAsString'
1978
+ end
1979
+ end
1980
+
1922
1981
  class Policy
1923
1982
  # @private
1924
1983
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2020,6 +2079,7 @@ module Google
2020
2079
  class Representation < Google::Apis::Core::JsonRepresentation
2021
2080
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
2022
2081
 
2082
+ property :create_session, as: 'createSession'
2023
2083
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2024
2084
 
2025
2085
  property :dry_run, as: 'dryRun'
@@ -2124,6 +2184,8 @@ module Google
2124
2184
  collection :imported_libraries, as: 'importedLibraries'
2125
2185
  property :language, as: 'language'
2126
2186
  property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
2187
+ property :return_table_type, as: 'returnTableType', class: Google::Apis::BigqueryV2::StandardSqlTableType, decorator: Google::Apis::BigqueryV2::StandardSqlTableType::Representation
2188
+
2127
2189
  property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2128
2190
 
2129
2191
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
@@ -2247,6 +2309,14 @@ module Google
2247
2309
  end
2248
2310
  end
2249
2311
 
2312
+ class StandardSqlTableType
2313
+ # @private
2314
+ class Representation < Google::Apis::Core::JsonRepresentation
2315
+ collection :columns, as: 'columns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation
2316
+
2317
+ end
2318
+ end
2319
+
2250
2320
  class Streamingbuffer
2251
2321
  # @private
2252
2322
  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.2.0
4
+ version: 0.7.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-08 00:00:00.000000000 Z
11
+ date: 2021-03-15 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.7.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.4'
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.6
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