You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/big_query/lib/google_api/big_query/v2/api/datasets.ex
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
112
112
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
113
113
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
114
114
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
115
+
* `:accessPolicyVersion` (*type:* `integer()`) - Optional. The version of the access policy schema to fetch. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for conditional access policy binding in datasets must specify version 3. Dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. This field will be maped to [IAM Policy version] (https://cloud.google.com/iam/docs/policies#versions) and will be used to fetch policy from IAM. If unset or if 0 or 1 value is used for dataset with conditional bindings, access entry with condition will have role string appended by 'withcond' string followed by a hash value. For example : { "access": [ { "role": "roles/bigquery.dataViewer_with_conditionalbinding_7a34awqsda", "userByEmail": "[email protected]", } ] } Please refer https://cloud.google.com/iam/docs/troubleshooting-withcond for more details.
115
116
* `:datasetView` (*type:* `String.t`) - Optional. Specifies the view that determines which dataset information is returned. By default, metadata and ACL information are returned.
116
117
* `opts` (*type:* `keyword()`) - Call options
117
118
@@ -138,6 +139,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
138
139
:quotaUser=>:query,
139
140
:uploadType=>:query,
140
141
:upload_protocol=>:query,
142
+
:accessPolicyVersion=>:query,
141
143
:datasetView=>:query
142
144
}
143
145
@@ -175,6 +177,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
175
177
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
176
178
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
177
179
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
180
+
* `:accessPolicyVersion` (*type:* `integer()`) - Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Requests with conditional access policy binding in datasets must specify version 3. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
@@ -201,6 +204,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
201
204
:quotaUser=>:query,
202
205
:uploadType=>:query,
203
206
:upload_protocol=>:query,
207
+
:accessPolicyVersion=>:query,
204
208
:body=>:body
205
209
}
206
210
@@ -306,6 +310,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
306
310
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
307
311
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
308
312
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
313
+
* `:accessPolicyVersion` (*type:* `integer()`) - Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
@@ -338,6 +343,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
338
343
:quotaUser=>:query,
339
344
:uploadType=>:query,
340
345
:upload_protocol=>:query,
346
+
:accessPolicyVersion=>:query,
341
347
:body=>:body
342
348
}
343
349
@@ -452,6 +458,7 @@ defmodule GoogleApi.BigQuery.V2.Api.Datasets do
452
458
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
453
459
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
454
460
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
461
+
* `:accessPolicyVersion` (*type:* `integer()`) - Optional. The version of the provided access policy schema. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. This version refers to the schema version of the access policy and not the version of access policy. This field's value can be equal or more than the access policy schema provided in the request. For example, * Operations updating conditional access policy binding in datasets must specify version 3. Some of the operations are : - Adding a new access policy entry with condition. - Removing an access policy entry with condition. - Updating an access policy entry with condition. * But dataset with no conditional role bindings in access policy may specify any valid value or leave the field unset. If unset or if 0 or 1 value is used for dataset with conditional bindings, request will be rejected. This field will be maped to IAM Policy version (https://cloud.google.com/iam/docs/policies#versions) and will be used to set policy in IAM.
Copy file name to clipboardExpand all lines: clients/big_query/lib/google_api/big_query/v2/model/dataset_access.ex
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.BigQuery.V2.Model.DatasetAccess do
21
21
22
22
## Attributes
23
23
24
+
* `condition` (*type:* `GoogleApi.BigQuery.V2.Model.Expr.t`, *default:* `nil`) - Optional. condition for the binding. If CEL expression in this field is true, this access binding will be considered
24
25
* `dataset` (*type:* `GoogleApi.BigQuery.V2.Model.DatasetAccessEntry.t`, *default:* `nil`) - [Pick one] A grant authorizing all resources of a particular type in a particular dataset access to this dataset. Only views are supported for now. The role field is not required when this field is set. If that dataset is deleted and re-created, its access needs to be granted again via an update operation.
25
26
* `domain` (*type:* `String.t`, *default:* `nil`) - [Pick one] A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com". Maps to IAM policy member "domain:DOMAIN".
26
27
* `groupByEmail` (*type:* `String.t`, *default:* `nil`) - [Pick one] An email address of a Google Group to grant access to. Maps to IAM policy member "group:GROUP".
@@ -35,6 +36,7 @@ defmodule GoogleApi.BigQuery.V2.Model.DatasetAccess do
0 commit comments