google-apis-bigquery_v2 0.53.0 → 0.54.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: 66ee9c25946b6b9372bb90583a4e4a887b830006c18417f8ffe7edf9eef41cbc
|
4
|
+
data.tar.gz: 1474ea52436013a6935f4b9438bca064d42637be2e4c080d8e655403fe93a602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf21c143ccd3028635b72cb5ef7f5d9ceb600c4354c92f609a716168901592c52fc260e4a493e1a2b9649114dc88fb0c40ca1f873baafdde358a77f5f10c57c4
|
7
|
+
data.tar.gz: e3747d9752fe0a36fed948fdf24a7255334c1efb2a584ae5d6ca6487a446fe8425ef04865f91454b833fed5c4f0da54a02fb17ba5c2f8d75b39aeb3f7bd1bad2
|
data/CHANGELOG.md
CHANGED
@@ -2178,7 +2178,7 @@ module Google
|
|
2178
2178
|
class EncryptionConfiguration
|
2179
2179
|
include Google::Apis::Core::Hashable
|
2180
2180
|
|
2181
|
-
#
|
2181
|
+
# Optional. Describes the Cloud KMS encryption key that will be used to protect
|
2182
2182
|
# destination BigQuery table. The BigQuery Service Account associated with your
|
2183
2183
|
# project requires access to this encryption key.
|
2184
2184
|
# Corresponds to the JSON property `kmsKeyName`
|
@@ -2700,6 +2700,12 @@ module Google
|
|
2700
2700
|
attr_accessor :ignore_unknown_values
|
2701
2701
|
alias_method :ignore_unknown_values?, :ignore_unknown_values
|
2702
2702
|
|
2703
|
+
# Additional properties to set if `sourceFormat` is set to `
|
2704
|
+
# NEWLINE_DELIMITED_JSON`.
|
2705
|
+
# Corresponds to the JSON property `jsonOptions`
|
2706
|
+
# @return [Google::Apis::BigqueryV2::JsonOptions]
|
2707
|
+
attr_accessor :json_options
|
2708
|
+
|
2703
2709
|
# [Optional] The maximum number of bad records that BigQuery can ignore when
|
2704
2710
|
# reading data. If the number of bad records exceeds this value, an invalid
|
2705
2711
|
# error is returned in the job result. This is only valid for CSV, JSON, and
|
@@ -2778,6 +2784,7 @@ module Google
|
|
2778
2784
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
2779
2785
|
@hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
|
2780
2786
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
2787
|
+
@json_options = args[:json_options] if args.key?(:json_options)
|
2781
2788
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
2782
2789
|
@metadata_cache_mode = args[:metadata_cache_mode] if args.key?(:metadata_cache_mode)
|
2783
2790
|
@object_metadata = args[:object_metadata] if args.key?(:object_metadata)
|
@@ -5126,6 +5133,26 @@ module Google
|
|
5126
5133
|
end
|
5127
5134
|
end
|
5128
5135
|
|
5136
|
+
#
|
5137
|
+
class JsonOptions
|
5138
|
+
include Google::Apis::Core::Hashable
|
5139
|
+
|
5140
|
+
# [Optional] The character encoding of the data. The supported values are UTF-8,
|
5141
|
+
# UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE. The default value is UTF-8.
|
5142
|
+
# Corresponds to the JSON property `encoding`
|
5143
|
+
# @return [String]
|
5144
|
+
attr_accessor :encoding
|
5145
|
+
|
5146
|
+
def initialize(**args)
|
5147
|
+
update!(**args)
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
# Update properties of this object
|
5151
|
+
def update!(**args)
|
5152
|
+
@encoding = args[:encoding] if args.key?(:encoding)
|
5153
|
+
end
|
5154
|
+
end
|
5155
|
+
|
5129
5156
|
#
|
5130
5157
|
class ListModelsResponse
|
5131
5158
|
include Google::Apis::Core::Hashable
|
@@ -5535,18 +5562,18 @@ module Google
|
|
5535
5562
|
class ModelReference
|
5536
5563
|
include Google::Apis::Core::Hashable
|
5537
5564
|
|
5538
|
-
#
|
5565
|
+
# Required. The ID of the dataset containing this model.
|
5539
5566
|
# Corresponds to the JSON property `datasetId`
|
5540
5567
|
# @return [String]
|
5541
5568
|
attr_accessor :dataset_id
|
5542
5569
|
|
5543
|
-
#
|
5570
|
+
# Required. The ID of the model. The ID must contain only letters (a-z, A-Z),
|
5544
5571
|
# numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
|
5545
5572
|
# Corresponds to the JSON property `modelId`
|
5546
5573
|
# @return [String]
|
5547
5574
|
attr_accessor :model_id
|
5548
5575
|
|
5549
|
-
#
|
5576
|
+
# Required. The ID of the project containing this model.
|
5550
5577
|
# Corresponds to the JSON property `projectId`
|
5551
5578
|
# @return [String]
|
5552
5579
|
attr_accessor :project_id
|
@@ -6692,17 +6719,17 @@ module Google
|
|
6692
6719
|
class RoutineReference
|
6693
6720
|
include Google::Apis::Core::Hashable
|
6694
6721
|
|
6695
|
-
#
|
6722
|
+
# Required. The ID of the dataset containing this routine.
|
6696
6723
|
# Corresponds to the JSON property `datasetId`
|
6697
6724
|
# @return [String]
|
6698
6725
|
attr_accessor :dataset_id
|
6699
6726
|
|
6700
|
-
#
|
6727
|
+
# Required. The ID of the project containing this routine.
|
6701
6728
|
# Corresponds to the JSON property `projectId`
|
6702
6729
|
# @return [String]
|
6703
6730
|
attr_accessor :project_id
|
6704
6731
|
|
6705
|
-
#
|
6732
|
+
# Required. The ID of the routine. The ID must contain only letters (a-z, A-Z),
|
6706
6733
|
# numbers (0-9), or underscores (_). The maximum length is 256 characters.
|
6707
6734
|
# Corresponds to the JSON property `routineId`
|
6708
6735
|
# @return [String]
|
@@ -6799,24 +6826,24 @@ module Google
|
|
6799
6826
|
class RowAccessPolicyReference
|
6800
6827
|
include Google::Apis::Core::Hashable
|
6801
6828
|
|
6802
|
-
#
|
6829
|
+
# Required. The ID of the dataset containing this row access policy.
|
6803
6830
|
# Corresponds to the JSON property `datasetId`
|
6804
6831
|
# @return [String]
|
6805
6832
|
attr_accessor :dataset_id
|
6806
6833
|
|
6807
|
-
#
|
6808
|
-
#
|
6834
|
+
# Required. The ID of the row access policy. The ID must contain only letters (a-
|
6835
|
+
# z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256
|
6809
6836
|
# characters.
|
6810
6837
|
# Corresponds to the JSON property `policyId`
|
6811
6838
|
# @return [String]
|
6812
6839
|
attr_accessor :policy_id
|
6813
6840
|
|
6814
|
-
#
|
6841
|
+
# Required. The ID of the project containing this row access policy.
|
6815
6842
|
# Corresponds to the JSON property `projectId`
|
6816
6843
|
# @return [String]
|
6817
6844
|
attr_accessor :project_id
|
6818
6845
|
|
6819
|
-
#
|
6846
|
+
# Required. The ID of the table containing this row access policy.
|
6820
6847
|
# Corresponds to the JSON property `tableId`
|
6821
6848
|
# @return [String]
|
6822
6849
|
attr_accessor :table_id
|
@@ -7707,12 +7734,12 @@ module Google
|
|
7707
7734
|
include Google::Apis::Core::Hashable
|
7708
7735
|
|
7709
7736
|
# [Optional] The foreign keys of the tables.
|
7710
|
-
# Corresponds to the JSON property `
|
7737
|
+
# Corresponds to the JSON property `foreignKeys`
|
7711
7738
|
# @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey>]
|
7712
7739
|
attr_accessor :foreign_keys
|
7713
7740
|
|
7714
7741
|
# [Optional] The primary key of the table.
|
7715
|
-
# Corresponds to the JSON property `
|
7742
|
+
# Corresponds to the JSON property `primaryKey`
|
7716
7743
|
# @return [Google::Apis::BigqueryV2::TableConstraints::PrimaryKey]
|
7717
7744
|
attr_accessor :primary_key
|
7718
7745
|
|
@@ -7731,7 +7758,7 @@ module Google
|
|
7731
7758
|
include Google::Apis::Core::Hashable
|
7732
7759
|
|
7733
7760
|
#
|
7734
|
-
# Corresponds to the JSON property `
|
7761
|
+
# Corresponds to the JSON property `columnReferences`
|
7735
7762
|
# @return [Array<Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference>]
|
7736
7763
|
attr_accessor :column_references
|
7737
7764
|
|
@@ -7741,7 +7768,7 @@ module Google
|
|
7741
7768
|
attr_accessor :name
|
7742
7769
|
|
7743
7770
|
#
|
7744
|
-
# Corresponds to the JSON property `
|
7771
|
+
# Corresponds to the JSON property `referencedTable`
|
7745
7772
|
# @return [Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable]
|
7746
7773
|
attr_accessor :referenced_table
|
7747
7774
|
|
@@ -7761,12 +7788,12 @@ module Google
|
|
7761
7788
|
include Google::Apis::Core::Hashable
|
7762
7789
|
|
7763
7790
|
#
|
7764
|
-
# Corresponds to the JSON property `
|
7791
|
+
# Corresponds to the JSON property `referencedColumn`
|
7765
7792
|
# @return [String]
|
7766
7793
|
attr_accessor :referenced_column
|
7767
7794
|
|
7768
7795
|
#
|
7769
|
-
# Corresponds to the JSON property `
|
7796
|
+
# Corresponds to the JSON property `referencingColumn`
|
7770
7797
|
# @return [String]
|
7771
7798
|
attr_accessor :referencing_column
|
7772
7799
|
|
@@ -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.54.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230520"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -580,6 +580,12 @@ module Google
|
|
580
580
|
include Google::Apis::Core::JsonObjectSupport
|
581
581
|
end
|
582
582
|
|
583
|
+
class JsonOptions
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
583
589
|
class ListModelsResponse
|
584
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
591
|
|
@@ -1720,6 +1726,8 @@ module Google
|
|
1720
1726
|
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
1721
1727
|
|
1722
1728
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
1729
|
+
property :json_options, as: 'jsonOptions', class: Google::Apis::BigqueryV2::JsonOptions, decorator: Google::Apis::BigqueryV2::JsonOptions::Representation
|
1730
|
+
|
1723
1731
|
property :max_bad_records, as: 'maxBadRecords'
|
1724
1732
|
property :metadata_cache_mode, as: 'metadataCacheMode'
|
1725
1733
|
property :object_metadata, as: 'objectMetadata'
|
@@ -2305,6 +2313,13 @@ module Google
|
|
2305
2313
|
end
|
2306
2314
|
end
|
2307
2315
|
|
2316
|
+
class JsonOptions
|
2317
|
+
# @private
|
2318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2319
|
+
property :encoding, as: 'encoding'
|
2320
|
+
end
|
2321
|
+
end
|
2322
|
+
|
2308
2323
|
class ListModelsResponse
|
2309
2324
|
# @private
|
2310
2325
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2949,27 +2964,27 @@ module Google
|
|
2949
2964
|
class TableConstraints
|
2950
2965
|
# @private
|
2951
2966
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2952
|
-
collection :foreign_keys, as: '
|
2967
|
+
collection :foreign_keys, as: 'foreignKeys', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::Representation
|
2953
2968
|
|
2954
|
-
property :primary_key, as: '
|
2969
|
+
property :primary_key, as: 'primaryKey', class: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey, decorator: Google::Apis::BigqueryV2::TableConstraints::PrimaryKey::Representation
|
2955
2970
|
|
2956
2971
|
end
|
2957
2972
|
|
2958
2973
|
class ForeignKey
|
2959
2974
|
# @private
|
2960
2975
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2961
|
-
collection :column_references, as: '
|
2976
|
+
collection :column_references, as: 'columnReferences', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ColumnReference::Representation
|
2962
2977
|
|
2963
2978
|
property :name, as: 'name'
|
2964
|
-
property :referenced_table, as: '
|
2979
|
+
property :referenced_table, as: 'referencedTable', class: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable, decorator: Google::Apis::BigqueryV2::TableConstraints::ForeignKey::ReferencedTable::Representation
|
2965
2980
|
|
2966
2981
|
end
|
2967
2982
|
|
2968
2983
|
class ColumnReference
|
2969
2984
|
# @private
|
2970
2985
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2971
|
-
property :referenced_column, as: '
|
2972
|
-
property :referencing_column, as: '
|
2986
|
+
property :referenced_column, as: 'referencedColumn'
|
2987
|
+
property :referencing_column, as: 'referencingColumn'
|
2973
2988
|
end
|
2974
2989
|
end
|
2975
2990
|
|
@@ -982,9 +982,9 @@ module Google
|
|
982
982
|
# @param [String] dataset_id
|
983
983
|
# Required. Dataset ID of the routines to list
|
984
984
|
# @param [String] filter
|
985
|
-
# If set, then only the Routines matching this filter are returned. The
|
986
|
-
# supported
|
987
|
-
# RoutineType enum.
|
985
|
+
# If set, then only the Routines matching this filter are returned. The
|
986
|
+
# supported format is `routineType:`RoutineType``, where ``RoutineType`` is a
|
987
|
+
# RoutineType enum. For example: `routineType:SCALAR_FUNCTION`.
|
988
988
|
# @param [Fixnum] max_results
|
989
989
|
# The maximum number of results to return in a single response page. Leverage
|
990
990
|
# the page tokens to iterate through the entire collection.
|
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.54.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: 2023-05-
|
11
|
+
date: 2023-05-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-bigquery_v2/v0.54.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: []
|