google-apis-bigquery_v2 0.78.0 → 0.80.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: 2eaa7fc2abcddfb377a185debe1c14b597abbba0a7eb70b9f9a8f0bf40e403df
|
4
|
+
data.tar.gz: d77ded5ea8864f6ec080c9c51b5cd772e09998572aefc5669893a6db1aa79c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 074dc93c2fd70990e5cff8d10bb1bd17f040538507fb3bed43b3e8145c4363f72ebe87c10c034d195b16b502766be4ceae726be1accc204ee040a271921ea606
|
7
|
+
data.tar.gz: aff738afdc206fafb8e757a93d8563d82d6b702af677663a6383609a2165a4a47cdda51905cd496e96b90ca080fa3edc434f035ce6f7b2bf25b2ee70745aecdd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-bigquery_v2
|
2
2
|
|
3
|
+
### v0.80.0 (2024-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241013
|
6
|
+
|
7
|
+
### v0.79.0 (2024-10-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240919
|
10
|
+
|
3
11
|
### v0.78.0 (2024-09-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240905
|
@@ -1991,6 +1991,25 @@ module Google
|
|
1991
1991
|
class Access
|
1992
1992
|
include Google::Apis::Core::Hashable
|
1993
1993
|
|
1994
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
1995
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
1996
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
1997
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
1998
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
1999
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
2000
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
2001
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
2002
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
2003
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
2004
|
+
# string" description: "Create a notification string with a timestamp."
|
2005
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
2006
|
+
# exact variables and functions that may be referenced within an expression are
|
2007
|
+
# determined by the service that evaluates it. See the service documentation for
|
2008
|
+
# additional information.
|
2009
|
+
# Corresponds to the JSON property `condition`
|
2010
|
+
# @return [Google::Apis::BigqueryV2::Expr]
|
2011
|
+
attr_accessor :condition
|
2012
|
+
|
1994
2013
|
# Grants all resources of particular types in a particular dataset read access
|
1995
2014
|
# to the current dataset. Similar to how individually authorized views work,
|
1996
2015
|
# updates to any resource granted through its dataset (including creation of new
|
@@ -2064,6 +2083,7 @@ module Google
|
|
2064
2083
|
|
2065
2084
|
# Update properties of this object
|
2066
2085
|
def update!(**args)
|
2086
|
+
@condition = args[:condition] if args.key?(:condition)
|
2067
2087
|
@dataset = args[:dataset] if args.key?(:dataset)
|
2068
2088
|
@domain = args[:domain] if args.key?(:domain)
|
2069
2089
|
@group_by_email = args[:group_by_email] if args.key?(:group_by_email)
|
@@ -10702,6 +10722,14 @@ module Google
|
|
10702
10722
|
# @return [Float]
|
10703
10723
|
attr_accessor :colsample_bytree
|
10704
10724
|
|
10725
|
+
# The contribution metric. Applies to contribution analysis models. Allowed
|
10726
|
+
# formats supported are for summable and summable ratio contribution metrics.
|
10727
|
+
# These include expressions such as "SUM(x)" or "SUM(x)/SUM(y)", where x and y
|
10728
|
+
# are column names from the base table.
|
10729
|
+
# Corresponds to the JSON property `contributionMetric`
|
10730
|
+
# @return [String]
|
10731
|
+
attr_accessor :contribution_metric
|
10732
|
+
|
10705
10733
|
# Type of normalization algorithm for boosted tree models using dart booster.
|
10706
10734
|
# Corresponds to the JSON property `dartNormalizeType`
|
10707
10735
|
# @return [String]
|
@@ -10742,6 +10770,12 @@ module Google
|
|
10742
10770
|
attr_accessor :decompose_time_series
|
10743
10771
|
alias_method :decompose_time_series?, :decompose_time_series
|
10744
10772
|
|
10773
|
+
# Optional. Names of the columns to slice on. Applies to contribution analysis
|
10774
|
+
# models.
|
10775
|
+
# Corresponds to the JSON property `dimensionIdColumns`
|
10776
|
+
# @return [Array<String>]
|
10777
|
+
attr_accessor :dimension_id_columns
|
10778
|
+
|
10745
10779
|
# Distance type for clustering models.
|
10746
10780
|
# Corresponds to the JSON property `distanceType`
|
10747
10781
|
# @return [String]
|
@@ -10831,6 +10865,12 @@ module Google
|
|
10831
10865
|
# @return [Fixnum]
|
10832
10866
|
attr_accessor :integrated_gradients_num_steps
|
10833
10867
|
|
10868
|
+
# Name of the column used to determine the rows corresponding to control and
|
10869
|
+
# test. Applies to contribution analysis models.
|
10870
|
+
# Corresponds to the JSON property `isTestColumn`
|
10871
|
+
# @return [String]
|
10872
|
+
attr_accessor :is_test_column
|
10873
|
+
|
10834
10874
|
# Item column specified for matrix factorization models.
|
10835
10875
|
# Corresponds to the JSON property `itemColumn`
|
10836
10876
|
# @return [String]
|
@@ -10906,6 +10946,11 @@ module Google
|
|
10906
10946
|
# @return [Fixnum]
|
10907
10947
|
attr_accessor :max_tree_depth
|
10908
10948
|
|
10949
|
+
# The apriori support minimum. Applies to contribution analysis models.
|
10950
|
+
# Corresponds to the JSON property `minAprioriSupport`
|
10951
|
+
# @return [Float]
|
10952
|
+
attr_accessor :min_apriori_support
|
10953
|
+
|
10909
10954
|
# When early_stop is true, stops training when accuracy improvement is less than
|
10910
10955
|
# 'min_relative_progress'. Used only for iterative training algorithms.
|
10911
10956
|
# Corresponds to the JSON property `minRelativeProgress`
|
@@ -11122,12 +11167,14 @@ module Google
|
|
11122
11167
|
@colsample_bylevel = args[:colsample_bylevel] if args.key?(:colsample_bylevel)
|
11123
11168
|
@colsample_bynode = args[:colsample_bynode] if args.key?(:colsample_bynode)
|
11124
11169
|
@colsample_bytree = args[:colsample_bytree] if args.key?(:colsample_bytree)
|
11170
|
+
@contribution_metric = args[:contribution_metric] if args.key?(:contribution_metric)
|
11125
11171
|
@dart_normalize_type = args[:dart_normalize_type] if args.key?(:dart_normalize_type)
|
11126
11172
|
@data_frequency = args[:data_frequency] if args.key?(:data_frequency)
|
11127
11173
|
@data_split_column = args[:data_split_column] if args.key?(:data_split_column)
|
11128
11174
|
@data_split_eval_fraction = args[:data_split_eval_fraction] if args.key?(:data_split_eval_fraction)
|
11129
11175
|
@data_split_method = args[:data_split_method] if args.key?(:data_split_method)
|
11130
11176
|
@decompose_time_series = args[:decompose_time_series] if args.key?(:decompose_time_series)
|
11177
|
+
@dimension_id_columns = args[:dimension_id_columns] if args.key?(:dimension_id_columns)
|
11131
11178
|
@distance_type = args[:distance_type] if args.key?(:distance_type)
|
11132
11179
|
@dropout = args[:dropout] if args.key?(:dropout)
|
11133
11180
|
@early_stop = args[:early_stop] if args.key?(:early_stop)
|
@@ -11144,6 +11191,7 @@ module Google
|
|
11144
11191
|
@input_label_columns = args[:input_label_columns] if args.key?(:input_label_columns)
|
11145
11192
|
@instance_weight_column = args[:instance_weight_column] if args.key?(:instance_weight_column)
|
11146
11193
|
@integrated_gradients_num_steps = args[:integrated_gradients_num_steps] if args.key?(:integrated_gradients_num_steps)
|
11194
|
+
@is_test_column = args[:is_test_column] if args.key?(:is_test_column)
|
11147
11195
|
@item_column = args[:item_column] if args.key?(:item_column)
|
11148
11196
|
@kmeans_initialization_column = args[:kmeans_initialization_column] if args.key?(:kmeans_initialization_column)
|
11149
11197
|
@kmeans_initialization_method = args[:kmeans_initialization_method] if args.key?(:kmeans_initialization_method)
|
@@ -11158,6 +11206,7 @@ module Google
|
|
11158
11206
|
@max_parallel_trials = args[:max_parallel_trials] if args.key?(:max_parallel_trials)
|
11159
11207
|
@max_time_series_length = args[:max_time_series_length] if args.key?(:max_time_series_length)
|
11160
11208
|
@max_tree_depth = args[:max_tree_depth] if args.key?(:max_tree_depth)
|
11209
|
+
@min_apriori_support = args[:min_apriori_support] if args.key?(:min_apriori_support)
|
11161
11210
|
@min_relative_progress = args[:min_relative_progress] if args.key?(:min_relative_progress)
|
11162
11211
|
@min_split_loss = args[:min_split_loss] if args.key?(:min_split_loss)
|
11163
11212
|
@min_time_series_length = args[:min_time_series_length] if args.key?(:min_time_series_length)
|
@@ -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.80.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241013"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1800,6 +1800,8 @@ module Google
|
|
1800
1800
|
class Access
|
1801
1801
|
# @private
|
1802
1802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1803
|
+
property :condition, as: 'condition', class: Google::Apis::BigqueryV2::Expr, decorator: Google::Apis::BigqueryV2::Expr::Representation
|
1804
|
+
|
1803
1805
|
property :dataset, as: 'dataset', class: Google::Apis::BigqueryV2::DatasetAccessEntry, decorator: Google::Apis::BigqueryV2::DatasetAccessEntry::Representation
|
1804
1806
|
|
1805
1807
|
property :domain, as: 'domain'
|
@@ -3971,12 +3973,14 @@ module Google
|
|
3971
3973
|
property :colsample_bylevel, as: 'colsampleBylevel'
|
3972
3974
|
property :colsample_bynode, as: 'colsampleBynode'
|
3973
3975
|
property :colsample_bytree, as: 'colsampleBytree'
|
3976
|
+
property :contribution_metric, as: 'contributionMetric'
|
3974
3977
|
property :dart_normalize_type, as: 'dartNormalizeType'
|
3975
3978
|
property :data_frequency, as: 'dataFrequency'
|
3976
3979
|
property :data_split_column, as: 'dataSplitColumn'
|
3977
3980
|
property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
|
3978
3981
|
property :data_split_method, as: 'dataSplitMethod'
|
3979
3982
|
property :decompose_time_series, as: 'decomposeTimeSeries'
|
3983
|
+
collection :dimension_id_columns, as: 'dimensionIdColumns'
|
3980
3984
|
property :distance_type, as: 'distanceType'
|
3981
3985
|
property :dropout, as: 'dropout'
|
3982
3986
|
property :early_stop, as: 'earlyStop'
|
@@ -3993,6 +3997,7 @@ module Google
|
|
3993
3997
|
collection :input_label_columns, as: 'inputLabelColumns'
|
3994
3998
|
property :instance_weight_column, as: 'instanceWeightColumn'
|
3995
3999
|
property :integrated_gradients_num_steps, :numeric_string => true, as: 'integratedGradientsNumSteps'
|
4000
|
+
property :is_test_column, as: 'isTestColumn'
|
3996
4001
|
property :item_column, as: 'itemColumn'
|
3997
4002
|
property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
|
3998
4003
|
property :kmeans_initialization_method, as: 'kmeansInitializationMethod'
|
@@ -4007,6 +4012,7 @@ module Google
|
|
4007
4012
|
property :max_parallel_trials, :numeric_string => true, as: 'maxParallelTrials'
|
4008
4013
|
property :max_time_series_length, :numeric_string => true, as: 'maxTimeSeriesLength'
|
4009
4014
|
property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
|
4015
|
+
property :min_apriori_support, as: 'minAprioriSupport'
|
4010
4016
|
property :min_relative_progress, as: 'minRelativeProgress'
|
4011
4017
|
property :min_split_loss, as: 'minSplitLoss'
|
4012
4018
|
property :min_time_series_length, :numeric_string => true, as: 'minTimeSeriesLength'
|
@@ -94,6 +94,20 @@ module Google
|
|
94
94
|
# Required. Project ID of the requested dataset
|
95
95
|
# @param [String] dataset_id
|
96
96
|
# Required. Dataset ID of the requested dataset
|
97
|
+
# @param [Fixnum] access_policy_version
|
98
|
+
# Optional. The version of the access policy schema to fetch. Valid values are 0,
|
99
|
+
# 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
100
|
+
# conditional access policy binding in datasets must specify version 3. Dataset
|
101
|
+
# with no conditional role bindings in access policy may specify any valid value
|
102
|
+
# or leave the field unset. This field will be maped to [IAM Policy version] (
|
103
|
+
# https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch
|
104
|
+
# policy from IAM. If unset or if 0 or 1 value is used for dataset with
|
105
|
+
# conditional bindings, access entry with condition will have role string
|
106
|
+
# appended by 'withcond' string followed by a hash value. For example : ` "
|
107
|
+
# access": [ ` "role": "roles/bigquery.
|
108
|
+
# dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail": "user@example.
|
109
|
+
# com", ` ] ` Please refer https://cloud.google.com/iam/docs/troubleshooting-
|
110
|
+
# withcond for more details.
|
97
111
|
# @param [String] dataset_view
|
98
112
|
# Optional. Specifies the view that determines which dataset information is
|
99
113
|
# returned. By default, metadata and ACL information are returned.
|
@@ -114,12 +128,13 @@ module Google
|
|
114
128
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
115
129
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
116
130
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
117
|
-
def get_dataset(project_id, dataset_id, dataset_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
131
|
+
def get_dataset(project_id, dataset_id, access_policy_version: nil, dataset_view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
118
132
|
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}', options)
|
119
133
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
120
134
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
121
135
|
command.params['projectId'] = project_id unless project_id.nil?
|
122
136
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
137
|
+
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
123
138
|
command.query['datasetView'] = dataset_view unless dataset_view.nil?
|
124
139
|
command.query['fields'] = fields unless fields.nil?
|
125
140
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -130,6 +145,18 @@ module Google
|
|
130
145
|
# @param [String] project_id
|
131
146
|
# Required. Project ID of the new dataset
|
132
147
|
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
|
148
|
+
# @param [Fixnum] access_policy_version
|
149
|
+
# Optional. The version of the provided access policy schema. Valid values are 0,
|
150
|
+
# 1, and 3. Requests specifying an invalid value will be rejected. This version
|
151
|
+
# refers to the schema version of the access policy and not the version of
|
152
|
+
# access policy. This field's value can be equal or more than the access policy
|
153
|
+
# schema provided in the request. For example, * Requests with conditional
|
154
|
+
# access policy binding in datasets must specify version 3. * But dataset with
|
155
|
+
# no conditional role bindings in access policy may specify any valid value or
|
156
|
+
# leave the field unset. If unset or if 0 or 1 value is used for dataset with
|
157
|
+
# conditional bindings, request will be rejected. This field will be maped to
|
158
|
+
# IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and
|
159
|
+
# will be used to set policy in IAM.
|
133
160
|
# @param [String] fields
|
134
161
|
# Selector specifying which fields to include in a partial response.
|
135
162
|
# @param [String] quota_user
|
@@ -147,13 +174,14 @@ module Google
|
|
147
174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
-
def insert_dataset(project_id, dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
177
|
+
def insert_dataset(project_id, dataset_object = nil, access_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
151
178
|
command = make_simple_command(:post, 'projects/{+projectId}/datasets', options)
|
152
179
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
153
180
|
command.request_object = dataset_object
|
154
181
|
command.response_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
155
182
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
156
183
|
command.params['projectId'] = project_id unless project_id.nil?
|
184
|
+
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
157
185
|
command.query['fields'] = fields unless fields.nil?
|
158
186
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
187
|
execute_or_queue_command(command, &block)
|
@@ -216,6 +244,20 @@ module Google
|
|
216
244
|
# @param [String] dataset_id
|
217
245
|
# Required. Dataset ID of the dataset being updated
|
218
246
|
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
|
247
|
+
# @param [Fixnum] access_policy_version
|
248
|
+
# Optional. The version of the provided access policy schema. Valid values are 0,
|
249
|
+
# 1, and 3. Requests specifying an invalid value will be rejected. This version
|
250
|
+
# refers to the schema version of the access policy and not the version of
|
251
|
+
# access policy. This field's value can be equal or more than the access policy
|
252
|
+
# schema provided in the request. For example, * Operations updating conditional
|
253
|
+
# access policy binding in datasets must specify version 3. Some of the
|
254
|
+
# operations are : - Adding a new access policy entry with condition. - Removing
|
255
|
+
# an access policy entry with condition. - Updating an access policy entry with
|
256
|
+
# condition. * But dataset with no conditional role bindings in access policy
|
257
|
+
# may specify any valid value or leave the field unset. If unset or if 0 or 1
|
258
|
+
# value is used for dataset with conditional bindings, request will be rejected.
|
259
|
+
# This field will be maped to IAM Policy version (https://cloud.google.com/iam/
|
260
|
+
# docs/policies#versions) and will be used to set policy in IAM.
|
219
261
|
# @param [String] fields
|
220
262
|
# Selector specifying which fields to include in a partial response.
|
221
263
|
# @param [String] quota_user
|
@@ -233,7 +275,7 @@ module Google
|
|
233
275
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
234
276
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
235
277
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
236
|
-
def patch_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
278
|
+
def patch_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
237
279
|
command = make_simple_command(:patch, 'projects/{+projectId}/datasets/{+datasetId}', options)
|
238
280
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
239
281
|
command.request_object = dataset_object
|
@@ -241,6 +283,7 @@ module Google
|
|
241
283
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
242
284
|
command.params['projectId'] = project_id unless project_id.nil?
|
243
285
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
286
|
+
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
244
287
|
command.query['fields'] = fields unless fields.nil?
|
245
288
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
246
289
|
execute_or_queue_command(command, &block)
|
@@ -292,6 +335,20 @@ module Google
|
|
292
335
|
# @param [String] dataset_id
|
293
336
|
# Required. Dataset ID of the dataset being updated
|
294
337
|
# @param [Google::Apis::BigqueryV2::Dataset] dataset_object
|
338
|
+
# @param [Fixnum] access_policy_version
|
339
|
+
# Optional. The version of the provided access policy schema. Valid values are 0,
|
340
|
+
# 1, and 3. Requests specifying an invalid value will be rejected. This version
|
341
|
+
# refers to the schema version of the access policy and not the version of
|
342
|
+
# access policy. This field's value can be equal or more than the access policy
|
343
|
+
# schema provided in the request. For example, * Operations updating conditional
|
344
|
+
# access policy binding in datasets must specify version 3. Some of the
|
345
|
+
# operations are : - Adding a new access policy entry with condition. - Removing
|
346
|
+
# an access policy entry with condition. - Updating an access policy entry with
|
347
|
+
# condition. * But dataset with no conditional role bindings in access policy
|
348
|
+
# may specify any valid value or leave the field unset. If unset or if 0 or 1
|
349
|
+
# value is used for dataset with conditional bindings, request will be rejected.
|
350
|
+
# This field will be maped to IAM Policy version (https://cloud.google.com/iam/
|
351
|
+
# docs/policies#versions) and will be used to set policy in IAM.
|
295
352
|
# @param [String] fields
|
296
353
|
# Selector specifying which fields to include in a partial response.
|
297
354
|
# @param [String] quota_user
|
@@ -309,7 +366,7 @@ module Google
|
|
309
366
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
310
367
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
311
368
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
312
|
-
def update_dataset(project_id, dataset_id, dataset_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
369
|
+
def update_dataset(project_id, dataset_id, dataset_object = nil, access_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
313
370
|
command = make_simple_command(:put, 'projects/{+projectId}/datasets/{+datasetId}', options)
|
314
371
|
command.request_representation = Google::Apis::BigqueryV2::Dataset::Representation
|
315
372
|
command.request_object = dataset_object
|
@@ -317,6 +374,7 @@ module Google
|
|
317
374
|
command.response_class = Google::Apis::BigqueryV2::Dataset
|
318
375
|
command.params['projectId'] = project_id unless project_id.nil?
|
319
376
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
377
|
+
command.query['accessPolicyVersion'] = access_policy_version unless access_policy_version.nil?
|
320
378
|
command.query['fields'] = fields unless fields.nil?
|
321
379
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
322
380
|
execute_or_queue_command(command, &block)
|
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.80.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-10-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.80.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.21
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BigQuery API V2
|