google-apis-bigquery_v2 0.70.0 → 0.72.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: d7038ac09945fd805691e3fe0865f4535c9cc55c756ce26ecd17fcd697029abc
|
4
|
+
data.tar.gz: 76af76a2e31e2eb3c2d1c0bb83e21c50e768ea276bfe24d006698a7520ec2bf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3535ab6c7a52ccbc0bfb64f8b98f7c123ce4feeb4c28dfb28b681ff203a763c8c9d36c4c1aaadd47f46c890580e2ce53051a8e726f190a8274840afa58d9152
|
7
|
+
data.tar.gz: 1782977ddeafd3ce28154d8b5c070cfa33309977bb6ece07992189a724c7d2508ec2ed36e8a8b30fc5aa1e7dfd84b8039afa514fd0cdb534b7c285b3e5be8ac3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.72.0 (2024-06-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240616
|
6
|
+
|
7
|
+
### v0.71.0 (2024-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240602
|
10
|
+
|
3
11
|
### v0.70.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.15.0
|
@@ -1495,9 +1495,12 @@ module Google
|
|
1495
1495
|
# If set, all subsequent queries in a script or session will have this label.
|
1496
1496
|
# For the format in which a you can specify a query label, see labels in the
|
1497
1497
|
# JobConfiguration resource type: https://cloud.google.com/bigquery/docs/
|
1498
|
-
# reference/rest/v2/Job#jobconfiguration
|
1499
|
-
#
|
1500
|
-
#
|
1498
|
+
# reference/rest/v2/Job#jobconfiguration * **service_account**: indicates the
|
1499
|
+
# service account to use to run a continuous query. If set, the query job uses
|
1500
|
+
# the service account to access Google Cloud resources. Service account access
|
1501
|
+
# is bounded by the IAM permissions that you have granted to the service account.
|
1502
|
+
# Additional properties are allowed, but ignored. Specifying multiple
|
1503
|
+
# connection properties with the same key returns an error.
|
1501
1504
|
class ConnectionProperty
|
1502
1505
|
include Google::Apis::Core::Hashable
|
1503
1506
|
|
@@ -1737,10 +1740,10 @@ module Google
|
|
1737
1740
|
# @return [String]
|
1738
1741
|
attr_accessor :default_collation
|
1739
1742
|
|
1740
|
-
# The default encryption key for all tables in the dataset.
|
1741
|
-
# is set, all newly-created
|
1742
|
-
#
|
1743
|
-
#
|
1743
|
+
# The default encryption key for all tables in the dataset. After this property
|
1744
|
+
# is set, the encryption key of all newly-created tables in the dataset is set
|
1745
|
+
# to this value unless the table creation request or query explicitly overrides
|
1746
|
+
# the key.
|
1744
1747
|
# Corresponds to the JSON property `defaultEncryptionConfiguration`
|
1745
1748
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
1746
1749
|
attr_accessor :default_encryption_configuration
|
@@ -1867,6 +1870,16 @@ module Google
|
|
1867
1870
|
# @return [Fixnum]
|
1868
1871
|
attr_accessor :max_time_travel_hours
|
1869
1872
|
|
1873
|
+
# Optional. The [tags](/bigquery/docs/tags) attached to this dataset. Tag keys
|
1874
|
+
# are globally unique. Tag key is expected to be in the namespaced format, for
|
1875
|
+
# example "123456789012/environment" where 123456789012 is the ID of the parent
|
1876
|
+
# organization or project resource for this tag key. Tag value is expected to be
|
1877
|
+
# the short name, for example "Production". See [Tag definitions](/iam/docs/tags-
|
1878
|
+
# access-control#definitions) for more details.
|
1879
|
+
# Corresponds to the JSON property `resourceTags`
|
1880
|
+
# @return [Hash<String,String>]
|
1881
|
+
attr_accessor :resource_tags
|
1882
|
+
|
1870
1883
|
# Optional. Output only. Restriction config for all tables and dataset. If set,
|
1871
1884
|
# restrict certain accesses on the dataset and all its tables based on the
|
1872
1885
|
# config. See [Data egress](/bigquery/docs/analytics-hub-introduction#
|
@@ -1939,6 +1952,7 @@ module Google
|
|
1939
1952
|
@linked_dataset_source = args[:linked_dataset_source] if args.key?(:linked_dataset_source)
|
1940
1953
|
@location = args[:location] if args.key?(:location)
|
1941
1954
|
@max_time_travel_hours = args[:max_time_travel_hours] if args.key?(:max_time_travel_hours)
|
1955
|
+
@resource_tags = args[:resource_tags] if args.key?(:resource_tags)
|
1942
1956
|
@restrictions = args[:restrictions] if args.key?(:restrictions)
|
1943
1957
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1944
1958
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
@@ -3364,6 +3378,32 @@ module Google
|
|
3364
3378
|
end
|
3365
3379
|
end
|
3366
3380
|
|
3381
|
+
# A view can be represented in multiple ways. Each representation has its own
|
3382
|
+
# dialect. This message stores the metadata required for these representations.
|
3383
|
+
class ForeignViewDefinition
|
3384
|
+
include Google::Apis::Core::Hashable
|
3385
|
+
|
3386
|
+
# Optional. Represents the dialect of the query.
|
3387
|
+
# Corresponds to the JSON property `dialect`
|
3388
|
+
# @return [String]
|
3389
|
+
attr_accessor :dialect
|
3390
|
+
|
3391
|
+
# Required. The query that defines the view.
|
3392
|
+
# Corresponds to the JSON property `query`
|
3393
|
+
# @return [String]
|
3394
|
+
attr_accessor :query
|
3395
|
+
|
3396
|
+
def initialize(**args)
|
3397
|
+
update!(**args)
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
# Update properties of this object
|
3401
|
+
def update!(**args)
|
3402
|
+
@dialect = args[:dialect] if args.key?(:dialect)
|
3403
|
+
@query = args[:query] if args.key?(:query)
|
3404
|
+
end
|
3405
|
+
end
|
3406
|
+
|
3367
3407
|
# Request message for `GetIamPolicy` method.
|
3368
3408
|
class GetIamPolicyRequest
|
3369
3409
|
include Google::Apis::Core::Hashable
|
@@ -4289,7 +4329,10 @@ module Google
|
|
4289
4329
|
attr_accessor :extract
|
4290
4330
|
|
4291
4331
|
# Optional. Job timeout in milliseconds. If this time limit is exceeded,
|
4292
|
-
# BigQuery
|
4332
|
+
# BigQuery will attempt to stop a longer job, but may not always succeed in
|
4333
|
+
# canceling it before the job completes. For example, a job that takes more than
|
4334
|
+
# 60 seconds to complete has a better chance of being stopped than a job that
|
4335
|
+
# takes 10 seconds to complete.
|
4293
4336
|
# Corresponds to the JSON property `jobTimeoutMs`
|
4294
4337
|
# @return [Fixnum]
|
4295
4338
|
attr_accessor :job_timeout_ms
|
@@ -4461,6 +4504,13 @@ module Google
|
|
4461
4504
|
# @return [Google::Apis::BigqueryV2::Clustering]
|
4462
4505
|
attr_accessor :clustering
|
4463
4506
|
|
4507
|
+
# Optional. Character map supported for column names in CSV/Parquet loads.
|
4508
|
+
# Defaults to STRICT and can be overridden by Project Config Service. Using this
|
4509
|
+
# option with unsupporting load formats will result in an error.
|
4510
|
+
# Corresponds to the JSON property `columnNameCharacterMap`
|
4511
|
+
# @return [String]
|
4512
|
+
attr_accessor :column_name_character_map
|
4513
|
+
|
4464
4514
|
# Optional. Connection properties which can modify the load job behavior.
|
4465
4515
|
# Currently, only the 'session_id' connection property is supported, and is used
|
4466
4516
|
# to resolve _SESSION appearing as the dataset id.
|
@@ -4769,6 +4819,7 @@ module Google
|
|
4769
4819
|
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
4770
4820
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
4771
4821
|
@clustering = args[:clustering] if args.key?(:clustering)
|
4822
|
+
@column_name_character_map = args[:column_name_character_map] if args.key?(:column_name_character_map)
|
4772
4823
|
@connection_properties = args[:connection_properties] if args.key?(:connection_properties)
|
4773
4824
|
@copy_files_only = args[:copy_files_only] if args.key?(:copy_files_only)
|
4774
4825
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
@@ -6824,7 +6875,7 @@ module Google
|
|
6824
6875
|
attr_accessor :enum_as_string
|
6825
6876
|
alias_method :enum_as_string?, :enum_as_string
|
6826
6877
|
|
6827
|
-
# Optional.
|
6878
|
+
# Optional. Indicates how to represent a Parquet map if present.
|
6828
6879
|
# Corresponds to the JSON property `mapTargetType`
|
6829
6880
|
# @return [String]
|
6830
6881
|
attr_accessor :map_target_type
|
@@ -6864,7 +6915,7 @@ module Google
|
|
6864
6915
|
class PartitionedColumn
|
6865
6916
|
include Google::Apis::Core::Hashable
|
6866
6917
|
|
6867
|
-
#
|
6918
|
+
# Required. The name of the partition column.
|
6868
6919
|
# Corresponds to the JSON property `field`
|
6869
6920
|
# @return [String]
|
6870
6921
|
attr_accessor :field
|
@@ -6879,14 +6930,19 @@ module Google
|
|
6879
6930
|
end
|
6880
6931
|
end
|
6881
6932
|
|
6882
|
-
# The partitioning information, which includes managed table
|
6883
|
-
# partition information.
|
6933
|
+
# The partitioning information, which includes managed table, external table and
|
6934
|
+
# metastore partitioned table partition information.
|
6884
6935
|
class PartitioningDefinition
|
6885
6936
|
include Google::Apis::Core::Hashable
|
6886
6937
|
|
6887
|
-
#
|
6888
|
-
#
|
6889
|
-
# partitioning
|
6938
|
+
# Optional. Details about each partitioning column. This field is output only
|
6939
|
+
# for all partitioning types other than metastore partitioned tables. BigQuery
|
6940
|
+
# native tables only support 1 partitioning column. Other table types may
|
6941
|
+
# support 0, 1 or more partitioning columns. For metastore partitioned tables,
|
6942
|
+
# the order must match the definition order in the Hive Metastore, where it must
|
6943
|
+
# match the physical layout of the table. For example, CREATE TABLE a_table(id
|
6944
|
+
# BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case
|
6945
|
+
# the values must be ['city', 'state'] in that order.
|
6890
6946
|
# Corresponds to the JSON property `partitionedColumn`
|
6891
6947
|
# @return [Array<Google::Apis::BigqueryV2::PartitionedColumn>]
|
6892
6948
|
attr_accessor :partitioned_column
|
@@ -7748,9 +7804,8 @@ module Google
|
|
7748
7804
|
class RangePartitioning
|
7749
7805
|
include Google::Apis::Core::Hashable
|
7750
7806
|
|
7751
|
-
# Required.
|
7752
|
-
#
|
7753
|
-
# INTEGER/INT64.
|
7807
|
+
# Required. The name of the column to partition the table on. It must be a top-
|
7808
|
+
# level, INT64 column whose mode is NULLABLE or REQUIRED.
|
7754
7809
|
# Corresponds to the JSON property `field`
|
7755
7810
|
# @return [String]
|
7756
7811
|
attr_accessor :field
|
@@ -9312,6 +9367,13 @@ module Google
|
|
9312
9367
|
# @return [Fixnum]
|
9313
9368
|
attr_accessor :num_bytes
|
9314
9369
|
|
9370
|
+
# Output only. Number of physical bytes used by current live data storage. This
|
9371
|
+
# data is not kept in real time, and might be delayed by a few seconds to a few
|
9372
|
+
# minutes.
|
9373
|
+
# Corresponds to the JSON property `numCurrentPhysicalBytes`
|
9374
|
+
# @return [Fixnum]
|
9375
|
+
attr_accessor :num_current_physical_bytes
|
9376
|
+
|
9315
9377
|
# Output only. The number of logical bytes in the table that are considered "
|
9316
9378
|
# long-term storage".
|
9317
9379
|
# Corresponds to the JSON property `numLongTermBytes`
|
@@ -9367,8 +9429,8 @@ module Google
|
|
9367
9429
|
# @return [Fixnum]
|
9368
9430
|
attr_accessor :num_total_physical_bytes
|
9369
9431
|
|
9370
|
-
# The partitioning information, which includes managed table
|
9371
|
-
# partition information.
|
9432
|
+
# The partitioning information, which includes managed table, external table and
|
9433
|
+
# metastore partitioned table partition information.
|
9372
9434
|
# Corresponds to the JSON property `partitionDefinition`
|
9373
9435
|
# @return [Google::Apis::BigqueryV2::PartitioningDefinition]
|
9374
9436
|
attr_accessor :partition_definition
|
@@ -9499,6 +9561,7 @@ module Google
|
|
9499
9561
|
@num_active_logical_bytes = args[:num_active_logical_bytes] if args.key?(:num_active_logical_bytes)
|
9500
9562
|
@num_active_physical_bytes = args[:num_active_physical_bytes] if args.key?(:num_active_physical_bytes)
|
9501
9563
|
@num_bytes = args[:num_bytes] if args.key?(:num_bytes)
|
9564
|
+
@num_current_physical_bytes = args[:num_current_physical_bytes] if args.key?(:num_current_physical_bytes)
|
9502
9565
|
@num_long_term_bytes = args[:num_long_term_bytes] if args.key?(:num_long_term_bytes)
|
9503
9566
|
@num_long_term_logical_bytes = args[:num_long_term_logical_bytes] if args.key?(:num_long_term_logical_bytes)
|
9504
9567
|
@num_long_term_physical_bytes = args[:num_long_term_physical_bytes] if args.key?(:num_long_term_physical_bytes)
|
@@ -11211,7 +11274,8 @@ module Google
|
|
11211
11274
|
include Google::Apis::Core::Hashable
|
11212
11275
|
|
11213
11276
|
# Optional. The exact time when the dataset was deleted. If not specified, the
|
11214
|
-
# most recently deleted version is undeleted.
|
11277
|
+
# most recently deleted version is undeleted. Undeleting a dataset using
|
11278
|
+
# deletion time is not supported.
|
11215
11279
|
# Corresponds to the JSON property `deletionTime`
|
11216
11280
|
# @return [String]
|
11217
11281
|
attr_accessor :deletion_time
|
@@ -11290,6 +11354,11 @@ module Google
|
|
11290
11354
|
class ViewDefinition
|
11291
11355
|
include Google::Apis::Core::Hashable
|
11292
11356
|
|
11357
|
+
# Optional. Foreign view representations.
|
11358
|
+
# Corresponds to the JSON property `foreignDefinitions`
|
11359
|
+
# @return [Array<Google::Apis::BigqueryV2::ForeignViewDefinition>]
|
11360
|
+
attr_accessor :foreign_definitions
|
11361
|
+
|
11293
11362
|
# Represents privacy policy that contains the privacy requirements specified by
|
11294
11363
|
# the data owner. Currently, this is only supported on views.
|
11295
11364
|
# Corresponds to the JSON property `privacyPolicy`
|
@@ -11329,6 +11398,7 @@ module Google
|
|
11329
11398
|
|
11330
11399
|
# Update properties of this object
|
11331
11400
|
def update!(**args)
|
11401
|
+
@foreign_definitions = args[:foreign_definitions] if args.key?(:foreign_definitions)
|
11332
11402
|
@privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
|
11333
11403
|
@query = args[:query] if args.key?(:query)
|
11334
11404
|
@use_explicit_column_names = args[:use_explicit_column_names] if args.key?(:use_explicit_column_names)
|
@@ -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.72.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -436,6 +436,12 @@ module Google
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
437
437
|
end
|
438
438
|
|
439
|
+
class ForeignViewDefinition
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
439
445
|
class GetIamPolicyRequest
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
@@ -1766,6 +1772,7 @@ module Google
|
|
1766
1772
|
|
1767
1773
|
property :location, as: 'location'
|
1768
1774
|
property :max_time_travel_hours, :numeric_string => true, as: 'maxTimeTravelHours'
|
1775
|
+
hash :resource_tags, as: 'resourceTags'
|
1769
1776
|
property :restrictions, as: 'restrictions', class: Google::Apis::BigqueryV2::RestrictionConfig, decorator: Google::Apis::BigqueryV2::RestrictionConfig::Representation
|
1770
1777
|
|
1771
1778
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
@@ -2118,6 +2125,14 @@ module Google
|
|
2118
2125
|
end
|
2119
2126
|
end
|
2120
2127
|
|
2128
|
+
class ForeignViewDefinition
|
2129
|
+
# @private
|
2130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2131
|
+
property :dialect, as: 'dialect'
|
2132
|
+
property :query, as: 'query'
|
2133
|
+
end
|
2134
|
+
end
|
2135
|
+
|
2121
2136
|
class GetIamPolicyRequest
|
2122
2137
|
# @private
|
2123
2138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2420,6 +2435,7 @@ module Google
|
|
2420
2435
|
property :autodetect, as: 'autodetect'
|
2421
2436
|
property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
|
2422
2437
|
|
2438
|
+
property :column_name_character_map, as: 'columnNameCharacterMap'
|
2423
2439
|
collection :connection_properties, as: 'connectionProperties', class: Google::Apis::BigqueryV2::ConnectionProperty, decorator: Google::Apis::BigqueryV2::ConnectionProperty::Representation
|
2424
2440
|
|
2425
2441
|
property :copy_files_only, as: 'copyFilesOnly'
|
@@ -3608,6 +3624,7 @@ module Google
|
|
3608
3624
|
property :num_active_logical_bytes, :numeric_string => true, as: 'numActiveLogicalBytes'
|
3609
3625
|
property :num_active_physical_bytes, :numeric_string => true, as: 'numActivePhysicalBytes'
|
3610
3626
|
property :num_bytes, :numeric_string => true, as: 'numBytes'
|
3627
|
+
property :num_current_physical_bytes, :numeric_string => true, as: 'numCurrentPhysicalBytes'
|
3611
3628
|
property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
|
3612
3629
|
property :num_long_term_logical_bytes, :numeric_string => true, as: 'numLongTermLogicalBytes'
|
3613
3630
|
property :num_long_term_physical_bytes, :numeric_string => true, as: 'numLongTermPhysicalBytes'
|
@@ -4076,6 +4093,8 @@ module Google
|
|
4076
4093
|
class ViewDefinition
|
4077
4094
|
# @private
|
4078
4095
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4096
|
+
collection :foreign_definitions, as: 'foreignDefinitions', class: Google::Apis::BigqueryV2::ForeignViewDefinition, decorator: Google::Apis::BigqueryV2::ForeignViewDefinition::Representation
|
4097
|
+
|
4079
4098
|
property :privacy_policy, as: 'privacyPolicy', class: Google::Apis::BigqueryV2::PrivacyPolicy, decorator: Google::Apis::BigqueryV2::PrivacyPolicy::Representation
|
4080
4099
|
|
4081
4100
|
property :query, as: 'query'
|
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.72.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: 2024-
|
11
|
+
date: 2024-06-27 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.72.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: []
|