google-apis-bigquery_v2 0.59.0 → 0.61.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: 749374b0e8eaf56745d43881ae520dc98592abc2a6b8e1cbff572c8c7d1f0cdc
|
4
|
+
data.tar.gz: 7b653ecdd31efa37c795460450683bf13e86e5f89743c94bec5631149d464993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e499ac1dd31e182d5fb918eb2b01169232168049bc625a717af31af75026ae993b244e86acb9e11da398204d47328b2d853f50e0bd15b709362ebe986a415b2
|
7
|
+
data.tar.gz: 6650001e338ab0c54914a8227ba9ba2f6cd4644ccd59b00b6a220ac3da0b16fbd9939e039fec4bca357eee2b071115de6b2d4036cfb3f704a64fba69db774eae
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.61.0 (2023-11-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231111
|
6
|
+
|
7
|
+
### v0.60.0 (2023-10-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231008
|
10
|
+
|
3
11
|
### v0.59.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230812
|
@@ -88,6 +88,35 @@ module Google
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
+
# Represents privacy policy associated with "aggregation threshold" method.
|
92
|
+
class AggregationThresholdPolicy
|
93
|
+
include Google::Apis::Core::Hashable
|
94
|
+
|
95
|
+
# Optional. The privacy unit column(s) associated with this policy. For now,
|
96
|
+
# only one column per data source object (table, view) is allowed as a privacy
|
97
|
+
# unit column. Representing as a repeated field in metadata for extensibility to
|
98
|
+
# multiple columns in future. Duplicates and Repeated struct fields are not
|
99
|
+
# allowed. For nested fields, use dot notation ("outer.inner")
|
100
|
+
# Corresponds to the JSON property `privacyUnitColumns`
|
101
|
+
# @return [Array<String>]
|
102
|
+
attr_accessor :privacy_unit_columns
|
103
|
+
|
104
|
+
# Optional. The threshold for the "aggregation threshold" policy.
|
105
|
+
# Corresponds to the JSON property `threshold`
|
106
|
+
# @return [Fixnum]
|
107
|
+
attr_accessor :threshold
|
108
|
+
|
109
|
+
def initialize(**args)
|
110
|
+
update!(**args)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Update properties of this object
|
114
|
+
def update!(**args)
|
115
|
+
@privacy_unit_columns = args[:privacy_unit_columns] if args.key?(:privacy_unit_columns)
|
116
|
+
@threshold = args[:threshold] if args.key?(:threshold)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
91
120
|
# Input/output argument of a function or a stored procedure.
|
92
121
|
class Argument
|
93
122
|
include Google::Apis::Core::Hashable
|
@@ -107,6 +136,15 @@ module Google
|
|
107
136
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
108
137
|
attr_accessor :data_type
|
109
138
|
|
139
|
+
# Optional. Whether the argument is an aggregate function parameter. Must be
|
140
|
+
# Unset for routine types other than AGGREGATE_FUNCTION. For AGGREGATE_FUNCTION,
|
141
|
+
# if set to false, it is equivalent to adding "NOT AGGREGATE" clause in DDL;
|
142
|
+
# Otherwise, it is equivalent to omitting "NOT AGGREGATE" clause in DDL.
|
143
|
+
# Corresponds to the JSON property `isAggregate`
|
144
|
+
# @return [Boolean]
|
145
|
+
attr_accessor :is_aggregate
|
146
|
+
alias_method :is_aggregate?, :is_aggregate
|
147
|
+
|
110
148
|
# Optional. Specifies whether the argument is input or output. Can be set for
|
111
149
|
# procedures only.
|
112
150
|
# Corresponds to the JSON property `mode`
|
@@ -127,6 +165,7 @@ module Google
|
|
127
165
|
def update!(**args)
|
128
166
|
@argument_kind = args[:argument_kind] if args.key?(:argument_kind)
|
129
167
|
@data_type = args[:data_type] if args.key?(:data_type)
|
168
|
+
@is_aggregate = args[:is_aggregate] if args.key?(:is_aggregate)
|
130
169
|
@mode = args[:mode] if args.key?(:mode)
|
131
170
|
@name = args[:name] if args.key?(:name)
|
132
171
|
end
|
@@ -1494,7 +1533,7 @@ module Google
|
|
1494
1533
|
|
1495
1534
|
# [Optional] An custom string that will represent a NULL value in CSV import
|
1496
1535
|
# data.
|
1497
|
-
# Corresponds to the JSON property `
|
1536
|
+
# Corresponds to the JSON property `nullMarker`
|
1498
1537
|
# @return [String]
|
1499
1538
|
attr_accessor :null_marker
|
1500
1539
|
|
@@ -3644,6 +3683,13 @@ module Google
|
|
3644
3683
|
# @return [String]
|
3645
3684
|
attr_accessor :id
|
3646
3685
|
|
3686
|
+
# [Output-only] If set, it provides the reason why a Job was created. If not set,
|
3687
|
+
# it should be treated as the default: REQUESTED. This feature is not yet
|
3688
|
+
# available. Jobs will always be created.
|
3689
|
+
# Corresponds to the JSON property `jobCreationReason`
|
3690
|
+
# @return [Object]
|
3691
|
+
attr_accessor :job_creation_reason
|
3692
|
+
|
3647
3693
|
# [Optional] Reference describing the unique-per-user name of the job.
|
3648
3694
|
# Corresponds to the JSON property `jobReference`
|
3649
3695
|
# @return [Google::Apis::BigqueryV2::JobReference]
|
@@ -3685,6 +3731,7 @@ module Google
|
|
3685
3731
|
@configuration = args[:configuration] if args.key?(:configuration)
|
3686
3732
|
@etag = args[:etag] if args.key?(:etag)
|
3687
3733
|
@id = args[:id] if args.key?(:id)
|
3734
|
+
@job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
|
3688
3735
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
3689
3736
|
@kind = args[:kind] if args.key?(:kind)
|
3690
3737
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -4507,6 +4554,30 @@ module Google
|
|
4507
4554
|
end
|
4508
4555
|
end
|
4509
4556
|
|
4557
|
+
# Reason about why a Job was created from a [`jobs.query`](https://cloud.google.
|
4558
|
+
# com/bigquery/docs/reference/rest/v2/jobs/query) method when used with `
|
4559
|
+
# JOB_CREATION_OPTIONAL` Job creation mode. For [`jobs.insert`](https://cloud.
|
4560
|
+
# google.com/bigquery/docs/reference/rest/v2/jobs/insert) method calls it will
|
4561
|
+
# always be `REQUESTED`. This feature is not yet available. Jobs will always be
|
4562
|
+
# created.
|
4563
|
+
class JobCreationReason
|
4564
|
+
include Google::Apis::Core::Hashable
|
4565
|
+
|
4566
|
+
# Output only. Specifies the high level reason why a Job was created.
|
4567
|
+
# Corresponds to the JSON property `code`
|
4568
|
+
# @return [String]
|
4569
|
+
attr_accessor :code
|
4570
|
+
|
4571
|
+
def initialize(**args)
|
4572
|
+
update!(**args)
|
4573
|
+
end
|
4574
|
+
|
4575
|
+
# Update properties of this object
|
4576
|
+
def update!(**args)
|
4577
|
+
@code = args[:code] if args.key?(:code)
|
4578
|
+
end
|
4579
|
+
end
|
4580
|
+
|
4510
4581
|
#
|
4511
4582
|
class JobList
|
4512
4583
|
include Google::Apis::Core::Hashable
|
@@ -4859,8 +4930,8 @@ module Google
|
|
4859
4930
|
# @return [String]
|
4860
4931
|
attr_accessor :ddl_operation_performed
|
4861
4932
|
|
4862
|
-
# [Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP
|
4863
|
-
# SCHEMA queries.
|
4933
|
+
# [Output only] The DDL target dataset. Present only for CREATE/ALTER/DROP/
|
4934
|
+
# UNDROP SCHEMA queries.
|
4864
4935
|
# Corresponds to the JSON property `ddlTargetDataset`
|
4865
4936
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
4866
4937
|
attr_accessor :ddl_target_dataset
|
@@ -5248,7 +5319,7 @@ module Google
|
|
5248
5319
|
end
|
5249
5320
|
end
|
5250
5321
|
|
5251
|
-
#
|
5322
|
+
# Response format for a single page when listing BigQuery ML models.
|
5252
5323
|
class ListModelsResponse
|
5253
5324
|
include Google::Apis::Core::Hashable
|
5254
5325
|
|
@@ -5274,7 +5345,7 @@ module Google
|
|
5274
5345
|
end
|
5275
5346
|
end
|
5276
5347
|
|
5277
|
-
#
|
5348
|
+
# Describes the format of a single result page when listing routines.
|
5278
5349
|
class ListRoutinesResponse
|
5279
5350
|
include Google::Apis::Core::Hashable
|
5280
5351
|
|
@@ -5886,6 +5957,26 @@ module Google
|
|
5886
5957
|
end
|
5887
5958
|
end
|
5888
5959
|
|
5960
|
+
# Represents privacy policy that contains the privacy requirements specified by
|
5961
|
+
# the data owner. Currently, this is only supported on views.
|
5962
|
+
class PrivacyPolicy
|
5963
|
+
include Google::Apis::Core::Hashable
|
5964
|
+
|
5965
|
+
# Represents privacy policy associated with "aggregation threshold" method.
|
5966
|
+
# Corresponds to the JSON property `aggregationThresholdPolicy`
|
5967
|
+
# @return [Google::Apis::BigqueryV2::AggregationThresholdPolicy]
|
5968
|
+
attr_accessor :aggregation_threshold_policy
|
5969
|
+
|
5970
|
+
def initialize(**args)
|
5971
|
+
update!(**args)
|
5972
|
+
end
|
5973
|
+
|
5974
|
+
# Update properties of this object
|
5975
|
+
def update!(**args)
|
5976
|
+
@aggregation_threshold_policy = args[:aggregation_threshold_policy] if args.key?(:aggregation_threshold_policy)
|
5977
|
+
end
|
5978
|
+
end
|
5979
|
+
|
5889
5980
|
#
|
5890
5981
|
class ProjectList
|
5891
5982
|
include Google::Apis::Core::Hashable
|
@@ -6158,6 +6249,13 @@ module Google
|
|
6158
6249
|
attr_accessor :dry_run
|
6159
6250
|
alias_method :dry_run?, :dry_run
|
6160
6251
|
|
6252
|
+
# Optional. If not set, jobs are always required. If set, the query request will
|
6253
|
+
# follow the behavior described JobCreationMode. This feature is not yet
|
6254
|
+
# available. Jobs will always be created.
|
6255
|
+
# Corresponds to the JSON property `jobCreationMode`
|
6256
|
+
# @return [String]
|
6257
|
+
attr_accessor :job_creation_mode
|
6258
|
+
|
6161
6259
|
# The resource type of the request.
|
6162
6260
|
# Corresponds to the JSON property `kind`
|
6163
6261
|
# @return [String]
|
@@ -6280,6 +6378,7 @@ module Google
|
|
6280
6378
|
@create_session = args[:create_session] if args.key?(:create_session)
|
6281
6379
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
6282
6380
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
6381
|
+
@job_creation_mode = args[:job_creation_mode] if args.key?(:job_creation_mode)
|
6283
6382
|
@kind = args[:kind] if args.key?(:kind)
|
6284
6383
|
@labels = args[:labels] if args.key?(:labels)
|
6285
6384
|
@location = args[:location] if args.key?(:location)
|
@@ -6327,6 +6426,16 @@ module Google
|
|
6327
6426
|
attr_accessor :job_complete
|
6328
6427
|
alias_method :job_complete?, :job_complete
|
6329
6428
|
|
6429
|
+
# Optional. Only relevant when a job_reference is present in the response. If
|
6430
|
+
# job_reference is not present it will always be unset. When job_reference is
|
6431
|
+
# present, this field should be interpreted as follows: If set, it will provide
|
6432
|
+
# the reason of why a Job was created. If not set, it should be treated as the
|
6433
|
+
# default: REQUESTED. This feature is not yet available. Jobs will always be
|
6434
|
+
# created.
|
6435
|
+
# Corresponds to the JSON property `jobCreationReason`
|
6436
|
+
# @return [Object]
|
6437
|
+
attr_accessor :job_creation_reason
|
6438
|
+
|
6330
6439
|
# Reference to the Job that was created to run the query. This field will be
|
6331
6440
|
# present even if the original request timed out, in which case GetQueryResults
|
6332
6441
|
# can be used to read the results once the query has completed. Since this API
|
@@ -6352,6 +6461,12 @@ module Google
|
|
6352
6461
|
# @return [String]
|
6353
6462
|
attr_accessor :page_token
|
6354
6463
|
|
6464
|
+
# Query ID for the completed query. This ID will be auto-generated. This field
|
6465
|
+
# is not yet available and it is currently not guaranteed to be populated.
|
6466
|
+
# Corresponds to the JSON property `queryId`
|
6467
|
+
# @return [String]
|
6468
|
+
attr_accessor :query_id
|
6469
|
+
|
6355
6470
|
# An object with as many results as can be contained within the maximum
|
6356
6471
|
# permitted reply size. To get any additional rows, you can call GetQueryResults
|
6357
6472
|
# and specify the jobReference returned above.
|
@@ -6391,10 +6506,12 @@ module Google
|
|
6391
6506
|
@dml_stats = args[:dml_stats] if args.key?(:dml_stats)
|
6392
6507
|
@errors = args[:errors] if args.key?(:errors)
|
6393
6508
|
@job_complete = args[:job_complete] if args.key?(:job_complete)
|
6509
|
+
@job_creation_reason = args[:job_creation_reason] if args.key?(:job_creation_reason)
|
6394
6510
|
@job_reference = args[:job_reference] if args.key?(:job_reference)
|
6395
6511
|
@kind = args[:kind] if args.key?(:kind)
|
6396
6512
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
6397
6513
|
@page_token = args[:page_token] if args.key?(:page_token)
|
6514
|
+
@query_id = args[:query_id] if args.key?(:query_id)
|
6398
6515
|
@rows = args[:rows] if args.key?(:rows)
|
6399
6516
|
@schema = args[:schema] if args.key?(:schema)
|
6400
6517
|
@session_info = args[:session_info] if args.key?(:session_info)
|
@@ -6679,6 +6796,17 @@ module Google
|
|
6679
6796
|
# @return [String]
|
6680
6797
|
attr_accessor :remote_service_type
|
6681
6798
|
|
6799
|
+
# Output only. The name of the speech recognizer to use for speech recognition.
|
6800
|
+
# The expected format is `projects/`project`/locations/`location`/recognizers/`
|
6801
|
+
# recognizer``. Customers can specify this field at model creation. If not
|
6802
|
+
# specified, a default recognizer `projects/`model project`/locations/global/
|
6803
|
+
# recognizers/_` will be used. See more details at [recognizers](https://cloud.
|
6804
|
+
# google.com/speech-to-text/v2/docs/reference/rest/v2/projects.locations.
|
6805
|
+
# recognizers)
|
6806
|
+
# Corresponds to the JSON property `speechRecognizer`
|
6807
|
+
# @return [String]
|
6808
|
+
attr_accessor :speech_recognizer
|
6809
|
+
|
6682
6810
|
def initialize(**args)
|
6683
6811
|
update!(**args)
|
6684
6812
|
end
|
@@ -6690,6 +6818,7 @@ module Google
|
|
6690
6818
|
@max_batching_rows = args[:max_batching_rows] if args.key?(:max_batching_rows)
|
6691
6819
|
@remote_model_version = args[:remote_model_version] if args.key?(:remote_model_version)
|
6692
6820
|
@remote_service_type = args[:remote_service_type] if args.key?(:remote_service_type)
|
6821
|
+
@speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
|
6693
6822
|
end
|
6694
6823
|
end
|
6695
6824
|
|
@@ -6708,8 +6837,10 @@ module Google
|
|
6708
6837
|
# @return [Fixnum]
|
6709
6838
|
attr_accessor :creation_time
|
6710
6839
|
|
6711
|
-
# Optional.
|
6712
|
-
# function
|
6840
|
+
# Optional. If set to `DATA_MASKING`, the function is validated and made
|
6841
|
+
# available as a masking function. For more information, see [Create custom
|
6842
|
+
# masking routines](https://cloud.google.com/bigquery/docs/user-defined-
|
6843
|
+
# functions#custom-mask).
|
6713
6844
|
# Corresponds to the JSON property `dataGovernanceType`
|
6714
6845
|
# @return [String]
|
6715
6846
|
attr_accessor :data_governance_type
|
@@ -6791,6 +6922,12 @@ module Google
|
|
6791
6922
|
# @return [String]
|
6792
6923
|
attr_accessor :routine_type
|
6793
6924
|
|
6925
|
+
# Optional. The security mode of the routine, if defined. If not defined, the
|
6926
|
+
# security mode is automatically determined from the routine's configuration.
|
6927
|
+
# Corresponds to the JSON property `securityMode`
|
6928
|
+
# @return [String]
|
6929
|
+
attr_accessor :security_mode
|
6930
|
+
|
6794
6931
|
# Options for a user-defined Spark routine.
|
6795
6932
|
# Corresponds to the JSON property `sparkOptions`
|
6796
6933
|
# @return [Google::Apis::BigqueryV2::SparkOptions]
|
@@ -6827,6 +6964,7 @@ module Google
|
|
6827
6964
|
@return_type = args[:return_type] if args.key?(:return_type)
|
6828
6965
|
@routine_reference = args[:routine_reference] if args.key?(:routine_reference)
|
6829
6966
|
@routine_type = args[:routine_type] if args.key?(:routine_type)
|
6967
|
+
@security_mode = args[:security_mode] if args.key?(:security_mode)
|
6830
6968
|
@spark_options = args[:spark_options] if args.key?(:spark_options)
|
6831
6969
|
@strict_mode = args[:strict_mode] if args.key?(:strict_mode)
|
6832
6970
|
end
|
@@ -7205,12 +7343,12 @@ module Google
|
|
7205
7343
|
include Google::Apis::Core::Hashable
|
7206
7344
|
|
7207
7345
|
# [Output-only] Project ID used for logging
|
7208
|
-
# Corresponds to the JSON property `
|
7346
|
+
# Corresponds to the JSON property `projectId`
|
7209
7347
|
# @return [String]
|
7210
7348
|
attr_accessor :project_id
|
7211
7349
|
|
7212
7350
|
# [Output-only] Resource type used for logging
|
7213
|
-
# Corresponds to the JSON property `
|
7351
|
+
# Corresponds to the JSON property `resourceType`
|
7214
7352
|
# @return [String]
|
7215
7353
|
attr_accessor :resource_type
|
7216
7354
|
|
@@ -7382,7 +7520,7 @@ module Google
|
|
7382
7520
|
# @return [Google::Apis::BigqueryV2::StandardSqlDataType]
|
7383
7521
|
attr_accessor :range_element_type
|
7384
7522
|
|
7385
|
-
# The
|
7523
|
+
# The representation of a SQL STRUCT type.
|
7386
7524
|
# Corresponds to the JSON property `structType`
|
7387
7525
|
# @return [Google::Apis::BigqueryV2::StandardSqlStructType]
|
7388
7526
|
attr_accessor :struct_type
|
@@ -7436,11 +7574,11 @@ module Google
|
|
7436
7574
|
end
|
7437
7575
|
end
|
7438
7576
|
|
7439
|
-
#
|
7577
|
+
# The representation of a SQL STRUCT type.
|
7440
7578
|
class StandardSqlStructType
|
7441
7579
|
include Google::Apis::Core::Hashable
|
7442
7580
|
|
7443
|
-
#
|
7581
|
+
# Fields within the struct.
|
7444
7582
|
# Corresponds to the JSON property `fields`
|
7445
7583
|
# @return [Array<Google::Apis::BigqueryV2::StandardSqlField>]
|
7446
7584
|
attr_accessor :fields
|
@@ -7739,6 +7877,16 @@ module Google
|
|
7739
7877
|
attr_accessor :require_partition_filter
|
7740
7878
|
alias_method :require_partition_filter?, :require_partition_filter
|
7741
7879
|
|
7880
|
+
# [Optional] The tags associated with this table. Tag keys are globally unique.
|
7881
|
+
# See additional information on [tags](https://cloud.google.com/iam/docs/tags-
|
7882
|
+
# access-control#definitions). An object containing a list of "key": value pairs.
|
7883
|
+
# The key is the namespaced friendly name of the tag key, e.g. "12345/
|
7884
|
+
# environment" where 12345 is parent id. The value is the friendly short name of
|
7885
|
+
# the tag value, e.g. "production".
|
7886
|
+
# Corresponds to the JSON property `resourceTags`
|
7887
|
+
# @return [Hash<String,String>]
|
7888
|
+
attr_accessor :resource_tags
|
7889
|
+
|
7742
7890
|
# [Optional] Describes the schema of this table.
|
7743
7891
|
# Corresponds to the JSON property `schema`
|
7744
7892
|
# @return [Google::Apis::BigqueryV2::TableSchema]
|
@@ -7832,6 +7980,7 @@ module Google
|
|
7832
7980
|
@num_total_physical_bytes = args[:num_total_physical_bytes] if args.key?(:num_total_physical_bytes)
|
7833
7981
|
@range_partitioning = args[:range_partitioning] if args.key?(:range_partitioning)
|
7834
7982
|
@require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
|
7983
|
+
@resource_tags = args[:resource_tags] if args.key?(:resource_tags)
|
7835
7984
|
@schema = args[:schema] if args.key?(:schema)
|
7836
7985
|
@self_link = args[:self_link] if args.key?(:self_link)
|
7837
7986
|
@snapshot_definition = args[:snapshot_definition] if args.key?(:snapshot_definition)
|
@@ -9432,6 +9581,33 @@ module Google
|
|
9432
9581
|
end
|
9433
9582
|
end
|
9434
9583
|
|
9584
|
+
# Statistics for a vector search query. Populated as part of JobStatistics2.
|
9585
|
+
class VectorSearchStatistics
|
9586
|
+
include Google::Apis::Core::Hashable
|
9587
|
+
|
9588
|
+
# When `indexUsageMode` is `UNUSED` or `PARTIALLY_USED`, this field explains why
|
9589
|
+
# indexes were not used in all or part of the vector search query. If `
|
9590
|
+
# indexUsageMode` is `FULLY_USED`, this field is not populated.
|
9591
|
+
# Corresponds to the JSON property `indexUnusedReasons`
|
9592
|
+
# @return [Array<Google::Apis::BigqueryV2::IndexUnusedReason>]
|
9593
|
+
attr_accessor :index_unused_reasons
|
9594
|
+
|
9595
|
+
# Specifies the index usage mode for the query.
|
9596
|
+
# Corresponds to the JSON property `indexUsageMode`
|
9597
|
+
# @return [String]
|
9598
|
+
attr_accessor :index_usage_mode
|
9599
|
+
|
9600
|
+
def initialize(**args)
|
9601
|
+
update!(**args)
|
9602
|
+
end
|
9603
|
+
|
9604
|
+
# Update properties of this object
|
9605
|
+
def update!(**args)
|
9606
|
+
@index_unused_reasons = args[:index_unused_reasons] if args.key?(:index_unused_reasons)
|
9607
|
+
@index_usage_mode = args[:index_usage_mode] if args.key?(:index_usage_mode)
|
9608
|
+
end
|
9609
|
+
end
|
9610
|
+
|
9435
9611
|
#
|
9436
9612
|
class ViewDefinition
|
9437
9613
|
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.
|
19
|
+
GEM_VERSION = "0.61.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 = "20231111"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AggregationThresholdPolicy
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class Argument
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -526,6 +532,12 @@ module Google
|
|
526
532
|
include Google::Apis::Core::JsonObjectSupport
|
527
533
|
end
|
528
534
|
|
535
|
+
class JobCreationReason
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
529
541
|
class JobList
|
530
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
543
|
|
@@ -682,6 +694,12 @@ module Google
|
|
682
694
|
include Google::Apis::Core::JsonObjectSupport
|
683
695
|
end
|
684
696
|
|
697
|
+
class PrivacyPolicy
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
685
703
|
class ProjectList
|
686
704
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
705
|
|
@@ -1084,6 +1102,12 @@ module Google
|
|
1084
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1085
1103
|
end
|
1086
1104
|
|
1105
|
+
class VectorSearchStatistics
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1087
1111
|
class ViewDefinition
|
1088
1112
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1089
1113
|
|
@@ -1103,12 +1127,21 @@ module Google
|
|
1103
1127
|
end
|
1104
1128
|
end
|
1105
1129
|
|
1130
|
+
class AggregationThresholdPolicy
|
1131
|
+
# @private
|
1132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1133
|
+
collection :privacy_unit_columns, as: 'privacyUnitColumns'
|
1134
|
+
property :threshold, :numeric_string => true, as: 'threshold'
|
1135
|
+
end
|
1136
|
+
end
|
1137
|
+
|
1106
1138
|
class Argument
|
1107
1139
|
# @private
|
1108
1140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1109
1141
|
property :argument_kind, as: 'argumentKind'
|
1110
1142
|
property :data_type, as: 'dataType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
1111
1143
|
|
1144
|
+
property :is_aggregate, as: 'isAggregate'
|
1112
1145
|
property :mode, as: 'mode'
|
1113
1146
|
property :name, as: 'name'
|
1114
1147
|
end
|
@@ -1457,7 +1490,7 @@ module Google
|
|
1457
1490
|
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
1458
1491
|
property :encoding, as: 'encoding'
|
1459
1492
|
property :field_delimiter, as: 'fieldDelimiter'
|
1460
|
-
property :null_marker, as: '
|
1493
|
+
property :null_marker, as: 'nullMarker'
|
1461
1494
|
property :preserve_ascii_control_characters, as: 'preserveAsciiControlCharacters'
|
1462
1495
|
property :quote, as: 'quote'
|
1463
1496
|
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
@@ -2006,6 +2039,7 @@ module Google
|
|
2006
2039
|
|
2007
2040
|
property :etag, as: 'etag'
|
2008
2041
|
property :id, as: 'id'
|
2042
|
+
property :job_creation_reason, as: 'jobCreationReason'
|
2009
2043
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
2010
2044
|
|
2011
2045
|
property :kind, as: 'kind'
|
@@ -2172,6 +2206,13 @@ module Google
|
|
2172
2206
|
end
|
2173
2207
|
end
|
2174
2208
|
|
2209
|
+
class JobCreationReason
|
2210
|
+
# @private
|
2211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2212
|
+
property :code, as: 'code'
|
2213
|
+
end
|
2214
|
+
end
|
2215
|
+
|
2175
2216
|
class JobList
|
2176
2217
|
# @private
|
2177
2218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2525,6 +2566,14 @@ module Google
|
|
2525
2566
|
end
|
2526
2567
|
end
|
2527
2568
|
|
2569
|
+
class PrivacyPolicy
|
2570
|
+
# @private
|
2571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2572
|
+
property :aggregation_threshold_policy, as: 'aggregationThresholdPolicy', class: Google::Apis::BigqueryV2::AggregationThresholdPolicy, decorator: Google::Apis::BigqueryV2::AggregationThresholdPolicy::Representation
|
2573
|
+
|
2574
|
+
end
|
2575
|
+
end
|
2576
|
+
|
2528
2577
|
class ProjectList
|
2529
2578
|
# @private
|
2530
2579
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2609,6 +2658,7 @@ module Google
|
|
2609
2658
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
2610
2659
|
|
2611
2660
|
property :dry_run, as: 'dryRun'
|
2661
|
+
property :job_creation_mode, as: 'jobCreationMode'
|
2612
2662
|
property :kind, as: 'kind'
|
2613
2663
|
hash :labels, as: 'labels'
|
2614
2664
|
property :location, as: 'location'
|
@@ -2635,11 +2685,13 @@ module Google
|
|
2635
2685
|
collection :errors, as: 'errors', class: Google::Apis::BigqueryV2::ErrorProto, decorator: Google::Apis::BigqueryV2::ErrorProto::Representation
|
2636
2686
|
|
2637
2687
|
property :job_complete, as: 'jobComplete'
|
2688
|
+
property :job_creation_reason, as: 'jobCreationReason'
|
2638
2689
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
2639
2690
|
|
2640
2691
|
property :kind, as: 'kind'
|
2641
2692
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
2642
2693
|
property :page_token, as: 'pageToken'
|
2694
|
+
property :query_id, as: 'queryId'
|
2643
2695
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
2644
2696
|
|
2645
2697
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
@@ -2720,6 +2772,7 @@ module Google
|
|
2720
2772
|
property :max_batching_rows, :numeric_string => true, as: 'maxBatchingRows'
|
2721
2773
|
property :remote_model_version, as: 'remoteModelVersion'
|
2722
2774
|
property :remote_service_type, as: 'remoteServiceType'
|
2775
|
+
property :speech_recognizer, as: 'speechRecognizer'
|
2723
2776
|
end
|
2724
2777
|
end
|
2725
2778
|
|
@@ -2746,6 +2799,7 @@ module Google
|
|
2746
2799
|
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
2747
2800
|
|
2748
2801
|
property :routine_type, as: 'routineType'
|
2802
|
+
property :security_mode, as: 'securityMode'
|
2749
2803
|
property :spark_options, as: 'sparkOptions', class: Google::Apis::BigqueryV2::SparkOptions, decorator: Google::Apis::BigqueryV2::SparkOptions::Representation
|
2750
2804
|
|
2751
2805
|
property :strict_mode, as: 'strictMode'
|
@@ -2858,8 +2912,8 @@ module Google
|
|
2858
2912
|
class SparkLoggingInfo
|
2859
2913
|
# @private
|
2860
2914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2861
|
-
property :project_id, as: '
|
2862
|
-
property :resource_type, as: '
|
2915
|
+
property :project_id, as: 'projectId'
|
2916
|
+
property :resource_type, as: 'resourceType'
|
2863
2917
|
end
|
2864
2918
|
end
|
2865
2919
|
|
@@ -2989,6 +3043,7 @@ module Google
|
|
2989
3043
|
property :range_partitioning, as: 'rangePartitioning', class: Google::Apis::BigqueryV2::RangePartitioning, decorator: Google::Apis::BigqueryV2::RangePartitioning::Representation
|
2990
3044
|
|
2991
3045
|
property :require_partition_filter, as: 'requirePartitionFilter'
|
3046
|
+
hash :resource_tags, as: 'resourceTags'
|
2992
3047
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
2993
3048
|
|
2994
3049
|
property :self_link, as: 'selfLink'
|
@@ -3386,6 +3441,15 @@ module Google
|
|
3386
3441
|
end
|
3387
3442
|
end
|
3388
3443
|
|
3444
|
+
class VectorSearchStatistics
|
3445
|
+
# @private
|
3446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3447
|
+
collection :index_unused_reasons, as: 'indexUnusedReasons', class: Google::Apis::BigqueryV2::IndexUnusedReason, decorator: Google::Apis::BigqueryV2::IndexUnusedReason::Representation
|
3448
|
+
|
3449
|
+
property :index_usage_mode, as: 'indexUsageMode'
|
3450
|
+
end
|
3451
|
+
end
|
3452
|
+
|
3389
3453
|
class ViewDefinition
|
3390
3454
|
# @private
|
3391
3455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -99,6 +99,10 @@ module Google
|
|
99
99
|
# Project ID of the requested dataset
|
100
100
|
# @param [String] dataset_id
|
101
101
|
# Dataset ID of the requested dataset
|
102
|
+
# @param [String] dataset_view
|
103
|
+
# Specifies the view that determines which dataset information is returned. By
|
104
|
+
# default, metadata and ACL information are returned. Allowed values: METADATA,
|
105
|
+
# ACL, FULL.
|
102
106
|
# @param [String] fields
|
103
107
|
# Selector specifying which fields to include in a partial response.
|
104
108
|
# @param [String] quota_user
|
@@ -118,12 +122,13 @@ module Google
|
|
118
122
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
119
123
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
120
124
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
121
|
-
def get_dataset(project_id, dataset_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
125
|
+
def get_dataset(project_id, dataset_id, dataset_view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
122
126
|
command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}', options)
|
123
127
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
124
128
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
125
129
|
command.params['projectId'] = project_id unless project_id.nil?
|
126
130
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
131
|
+
command.query['datasetView'] = dataset_view unless dataset_view.nil?
|
127
132
|
command.query['fields'] = fields unless fields.nil?
|
128
133
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
129
134
|
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.
|
4
|
+
version: 0.61.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-
|
11
|
+
date: 2023-11-19 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.61.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: []
|