google-apis-bigquery_v2 0.6.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: b4e33511bdeccf5110ce927fca86ca321110d9c0755b0a43529b0390c36dd0f1
4
- data.tar.gz: d58f56c600e44f1822062855a7bcdefa54d9f53e1ccc40ae0a9ae30f8a975a8a
3
+ metadata.gz: 56c838165f7a17549feb840b93cb9f673f17bc9852f8b2f0ce226696d4cb0a75
4
+ data.tar.gz: 8abc25725e98014460f4358f2463c10946e9e625e2855d82752d6dd717af2c04
5
5
  SHA512:
6
- metadata.gz: 82985f2ac789ee22884e6f8ffffdbad1b8e7b32ae9ea27dd9bf939360488c3e291322d519f4bb92bf922b988d6ed397e513abc69cce3724eef0bda5be09afb76
7
- data.tar.gz: c64799317473adbdf31b65d8435b8539c3c91eab5a84ec62b21ef25e824401b9977436b472801a3e28c9612bae9f4d38da6aa922836fdf898971face33a87da2
6
+ metadata.gz: 24b362c3b5d48050c840e96d2f938b17bebad183bc5795048bdcb91e0619c7db48b08e8147b02480b81c27ee7ce687bf2770d5f9f505295ac00a7ab90c10d83a
7
+ data.tar.gz: 553a09d88e6cf07a19951f4e24ae9cabfa3067d240bce16a84836bfafad89227bdaf0257c1e004dacd55362d68ee089513055c4a9b2317450b6684555e856fb8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.6.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -3323,6 +3323,14 @@ module Google
3323
3323
  # @return [String]
3324
3324
  attr_accessor :create_disposition
3325
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
+
3326
3334
  # [Optional] Specifies the default dataset to use for unqualified table names in
3327
3335
  # the query. Note that this does not alter behavior of unqualified dataset names.
3328
3336
  # Corresponds to the JSON property `defaultDataset`
@@ -3472,6 +3480,7 @@ module Google
3472
3480
  @clustering = args[:clustering] if args.key?(:clustering)
3473
3481
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
3474
3482
  @create_disposition = args[:create_disposition] if args.key?(:create_disposition)
3483
+ @create_session = args[:create_session] if args.key?(:create_session)
3475
3484
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
3476
3485
  @destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
3477
3486
  @destination_table = args[:destination_table] if args.key?(:destination_table)
@@ -4344,6 +4353,11 @@ module Google
4344
4353
  class Model
4345
4354
  include Google::Apis::Core::Hashable
4346
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
+
4347
4361
  # Output only. The time when this model was created, in millisecs since the
4348
4362
  # epoch.
4349
4363
  # Corresponds to the JSON property `creationTime`
@@ -4436,6 +4450,7 @@ module Google
4436
4450
 
4437
4451
  # Update properties of this object
4438
4452
  def update!(**args)
4453
+ @best_trial_id = args[:best_trial_id] if args.key?(:best_trial_id)
4439
4454
  @creation_time = args[:creation_time] if args.key?(:creation_time)
4440
4455
  @description = args[:description] if args.key?(:description)
4441
4456
  @encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
@@ -4976,6 +4991,14 @@ module Google
4976
4991
  # @return [Array<Google::Apis::BigqueryV2::ConnectionProperty>]
4977
4992
  attr_accessor :connection_properties
4978
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
+
4979
5002
  # [Optional] Specifies the default datasetId and projectId to assume for any
4980
5003
  # unqualified table names in the query. If not set, all table names in the query
4981
5004
  # string must be qualified in the format 'datasetId.tableId'.
@@ -5110,6 +5133,7 @@ module Google
5110
5133
  # Update properties of this object
5111
5134
  def update!(**args)
5112
5135
  @connection_properties = args[:connection_properties] if args.key?(:connection_properties)
5136
+ @create_session = args[:create_session] if args.key?(:create_session)
5113
5137
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
5114
5138
  @dry_run = args[:dry_run] if args.key?(:dry_run)
5115
5139
  @kind = args[:kind] if args.key?(:kind)
@@ -5475,6 +5499,11 @@ module Google
5475
5499
  # @return [Fixnum]
5476
5500
  attr_accessor :last_modified_time
5477
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
+
5478
5507
  # The type of a variable, e.g., a function argument. Examples: INT64: `type_kind=
5479
5508
  # "INT64"` ARRAY: `type_kind="ARRAY", array_element_type="STRING"` STRUCT>: `
5480
5509
  # type_kind="STRUCT", struct_type=`fields=[ `name="x", type=`type_kind="STRING"``
@@ -5508,6 +5537,7 @@ module Google
5508
5537
  @imported_libraries = args[:imported_libraries] if args.key?(:imported_libraries)
5509
5538
  @language = args[:language] if args.key?(:language)
5510
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)
5511
5541
  @return_type = args[:return_type] if args.key?(:return_type)
5512
5542
  @routine_reference = args[:routine_reference] if args.key?(:routine_reference)
5513
5543
  @routine_type = args[:routine_type] if args.key?(:routine_type)
@@ -5920,6 +5950,25 @@ module Google
5920
5950
  end
5921
5951
  end
5922
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
+
5923
5972
  #
5924
5973
  class Streamingbuffer
5925
5974
  include Google::Apis::Core::Hashable
@@ -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.6.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 = "20210219"
25
+ REVISION = "20210303"
26
26
  end
27
27
  end
28
28
  end
@@ -712,6 +712,12 @@ module Google
712
712
  include Google::Apis::Core::JsonObjectSupport
713
713
  end
714
714
 
715
+ class StandardSqlTableType
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
715
721
  class Streamingbuffer
716
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
723
 
@@ -1647,6 +1653,7 @@ module Google
1647
1653
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
1648
1654
 
1649
1655
  property :create_disposition, as: 'createDisposition'
1656
+ property :create_session, as: 'createSession'
1650
1657
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1651
1658
 
1652
1659
  property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -1902,6 +1909,7 @@ module Google
1902
1909
  class Model
1903
1910
  # @private
1904
1911
  class Representation < Google::Apis::Core::JsonRepresentation
1912
+ property :best_trial_id, :numeric_string => true, as: 'bestTrialId'
1905
1913
  property :creation_time, :numeric_string => true, as: 'creationTime'
1906
1914
  property :description, as: 'description'
1907
1915
  property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
@@ -2071,6 +2079,7 @@ module Google
2071
2079
  class Representation < Google::Apis::Core::JsonRepresentation
2072
2080
  collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
2073
2081
 
2082
+ property :create_session, as: 'createSession'
2074
2083
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
2075
2084
 
2076
2085
  property :dry_run, as: 'dryRun'
@@ -2175,6 +2184,8 @@ module Google
2175
2184
  collection :imported_libraries, as: 'importedLibraries'
2176
2185
  property :language, as: 'language'
2177
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
+
2178
2189
  property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
2179
2190
 
2180
2191
  property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
@@ -2298,6 +2309,14 @@ module Google
2298
2309
  end
2299
2310
  end
2300
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
+
2301
2320
  class Streamingbuffer
2302
2321
  # @private
2303
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.6.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-03-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.6.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: []