google-apis-bigquery_v2 0.79.0 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|
@@ -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)
|
|
@@ -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'
|
|
@@ -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-10-
|
|
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
|