google-apis-bigquery_v2 0.21.0 → 0.22.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: 4c964f079d3236c230e88bbb63177ebd69540d46a2634f4c57d4b4e0ec6912cc
4
- data.tar.gz: 997dfafffbab6e173a3609c09f322713863d84d4155d659e5b64e448f5029acc
3
+ metadata.gz: aca60a2c640a75704b378096f71254436651d86a4de0ae8eeca1bc390aad64a9
4
+ data.tar.gz: 44b86049799ffd752264a2441b577f14125b0bc3c7618942d3c7149132210386
5
5
  SHA512:
6
- metadata.gz: 66667cb86c332dcfd1eba1c4aa3ccd017b718c5733b063e5467047a16d8479c6dc6f7fe3a58e186277e9498b22307451bb04a3ee60aee99300e26d1ff4f52e47
7
- data.tar.gz: bdc937e75905b08e681c0a1eb255094aae5803c1120548e566db45ecd66a85291756333aed0897908c652dfc345def2e811de32aa36ecc39e4d8d100082a9a7c
6
+ metadata.gz: e1323879eb5233824cecde95d3b1319d0f23d4aa9425ac426cc7f9f0090900ded98b08d117b6844e7f9c05e2a0a9ad8e9fb8b6dc872b3ecf8e7763fe1a3abb82
7
+ data.tar.gz: 21a4a7477bdedc27bdac1b10d92540ecf1bf46f96dffc13418b3c382c4d0733d0bb6e48662675d1b313180ab32d72bc6376ca80de53292b82061641fb7cbae66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-bigquery_v2
2
2
 
3
+ ### v0.22.0 (2021-12-04)
4
+
5
+ * Regenerated from discovery document revision 20211129
6
+
3
7
  ### v0.21.0 (2021-11-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20211106
@@ -1912,14 +1912,7 @@ module Google
1912
1912
  # @return [String]
1913
1913
  attr_accessor :description
1914
1914
 
1915
- # [Optional] The destination table expiration time. If this field is set: For a
1916
- # new table, it will set the table's expiration time (even if there is a dataset
1917
- # level default table expiration time). For an existing table, it will update
1918
- # the table's expiration time. If this field is not set: For a new table, if
1919
- # dataset level default table expiration time is present, that will be applied.
1920
- # For an existing table, no change is made to the table's expiration time.
1921
- # Additionally this field is only applied when data is written to an empty table
1922
- # (WRITE_EMPTY) or data is overwritten to a table (WRITE_TRUNCATE).
1915
+ # [Internal] This field is for Google internal use only.
1923
1916
  # Corresponds to the JSON property `expirationTime`
1924
1917
  # @return [DateTime]
1925
1918
  attr_accessor :expiration_time
@@ -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.21.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211106"
25
+ REVISION = "20211129"
26
26
  end
27
27
  end
28
28
  end
@@ -1545,6 +1545,8 @@ module Google
1545
1545
  # @param [String] table_id
1546
1546
  # Table ID of the table to update
1547
1547
  # @param [Google::Apis::BigqueryV2::Table] table_object
1548
+ # @param [Boolean] autodetect_schema
1549
+ # When true will autodetect schema, else will keep original schema
1548
1550
  # @param [String] fields
1549
1551
  # Selector specifying which fields to include in a partial response.
1550
1552
  # @param [String] quota_user
@@ -1564,7 +1566,7 @@ module Google
1564
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1565
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1566
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1567
- def patch_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1569
+ def patch_table(project_id, dataset_id, table_id, table_object = nil, autodetect_schema: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1568
1570
  command = make_simple_command(:patch, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
1569
1571
  command.request_representation = Google::Apis::BigqueryV2::Table::Representation
1570
1572
  command.request_object = table_object
@@ -1573,6 +1575,7 @@ module Google
1573
1575
  command.params['projectId'] = project_id unless project_id.nil?
1574
1576
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
1575
1577
  command.params['tableId'] = table_id unless table_id.nil?
1578
+ command.query['autodetect_schema'] = autodetect_schema unless autodetect_schema.nil?
1576
1579
  command.query['fields'] = fields unless fields.nil?
1577
1580
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1578
1581
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -1669,6 +1672,8 @@ module Google
1669
1672
  # @param [String] table_id
1670
1673
  # Table ID of the table to update
1671
1674
  # @param [Google::Apis::BigqueryV2::Table] table_object
1675
+ # @param [Boolean] autodetect_schema
1676
+ # When true will autodetect schema, else will keep original schema
1672
1677
  # @param [String] fields
1673
1678
  # Selector specifying which fields to include in a partial response.
1674
1679
  # @param [String] quota_user
@@ -1688,7 +1693,7 @@ module Google
1688
1693
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1689
1694
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1690
1695
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1691
- def update_table(project_id, dataset_id, table_id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1696
+ def update_table(project_id, dataset_id, table_id, table_object = nil, autodetect_schema: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1692
1697
  command = make_simple_command(:put, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options)
1693
1698
  command.request_representation = Google::Apis::BigqueryV2::Table::Representation
1694
1699
  command.request_object = table_object
@@ -1697,6 +1702,7 @@ module Google
1697
1702
  command.params['projectId'] = project_id unless project_id.nil?
1698
1703
  command.params['datasetId'] = dataset_id unless dataset_id.nil?
1699
1704
  command.params['tableId'] = table_id unless table_id.nil?
1705
+ command.query['autodetect_schema'] = autodetect_schema unless autodetect_schema.nil?
1700
1706
  command.query['fields'] = fields unless fields.nil?
1701
1707
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1702
1708
  command.query['userIp'] = user_ip unless user_ip.nil?
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.21.0
4
+ version: 0.22.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-15 00:00:00.000000000 Z
11
+ date: 2021-12-06 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.22.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: []