Skip to content

Commit 3cf6af1

Browse files
feat(bigquery): update the api
#### bigquery:v2 The following keys were deleted: - schemas.DatasetAccessEntry.properties.target_types (Total Keys: 2) The following keys were added: - schemas.DatasetAccessEntry.properties.targetTypes (Total Keys: 2) - schemas.JobConfigurationLoad.properties.preserveAsciiControlCharacters.type (Total Keys: 1)
1 parent 5bb6ed7 commit 3cf6af1

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

docs/dyn/bigquery_v2.datasets.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ <h3>Method Details</h3>
134134
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
135135
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
136136
},
137-
&quot;target_types&quot;: [
137+
&quot;targetTypes&quot;: [
138138
&quot;A String&quot;,
139139
],
140140
},
@@ -206,7 +206,7 @@ <h3>Method Details</h3>
206206
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
207207
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
208208
},
209-
&quot;target_types&quot;: [
209+
&quot;targetTypes&quot;: [
210210
&quot;A String&quot;,
211211
],
212212
},
@@ -272,7 +272,7 @@ <h3>Method Details</h3>
272272
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
273273
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
274274
},
275-
&quot;target_types&quot;: [
275+
&quot;targetTypes&quot;: [
276276
&quot;A String&quot;,
277277
],
278278
},
@@ -395,7 +395,7 @@ <h3>Method Details</h3>
395395
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
396396
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
397397
},
398-
&quot;target_types&quot;: [
398+
&quot;targetTypes&quot;: [
399399
&quot;A String&quot;,
400400
],
401401
},
@@ -461,7 +461,7 @@ <h3>Method Details</h3>
461461
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
462462
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
463463
},
464-
&quot;target_types&quot;: [
464+
&quot;targetTypes&quot;: [
465465
&quot;A String&quot;,
466466
],
467467
},
@@ -534,7 +534,7 @@ <h3>Method Details</h3>
534534
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
535535
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
536536
},
537-
&quot;target_types&quot;: [
537+
&quot;targetTypes&quot;: [
538538
&quot;A String&quot;,
539539
],
540540
},
@@ -600,7 +600,7 @@ <h3>Method Details</h3>
600600
&quot;datasetId&quot;: &quot;A String&quot;, # [Required] A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
601601
&quot;projectId&quot;: &quot;A String&quot;, # [Optional] The ID of the project containing this dataset.
602602
},
603-
&quot;target_types&quot;: [
603+
&quot;targetTypes&quot;: [
604604
&quot;A String&quot;,
605605
],
606606
},

docs/dyn/bigquery_v2.jobs.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ <h3>Method Details</h3>
217217
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
218218
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
219219
},
220+
&quot;preserveAsciiControlCharacters&quot;: True or False, # [Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from &#x27;\x00&#x27; to &#x27;\x1F&#x27;) when loading from CSV. Only applicable to CSV, ignored for other formats.
220221
&quot;projectionFields&quot;: [ # If sourceFormat is set to &quot;DATASTORE_BACKUP&quot;, indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn&#x27;t found in the Cloud Datastore backup, an invalid error is returned in the job result.
221222
&quot;A String&quot;,
222223
],
@@ -861,6 +862,7 @@ <h3>Method Details</h3>
861862
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
862863
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
863864
},
865+
&quot;preserveAsciiControlCharacters&quot;: True or False, # [Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from &#x27;\x00&#x27; to &#x27;\x1F&#x27;) when loading from CSV. Only applicable to CSV, ignored for other formats.
864866
&quot;projectionFields&quot;: [ # If sourceFormat is set to &quot;DATASTORE_BACKUP&quot;, indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn&#x27;t found in the Cloud Datastore backup, an invalid error is returned in the job result.
865867
&quot;A String&quot;,
866868
],
@@ -1575,6 +1577,7 @@ <h3>Method Details</h3>
15751577
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
15761578
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
15771579
},
1580+
&quot;preserveAsciiControlCharacters&quot;: True or False, # [Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from &#x27;\x00&#x27; to &#x27;\x1F&#x27;) when loading from CSV. Only applicable to CSV, ignored for other formats.
15781581
&quot;projectionFields&quot;: [ # If sourceFormat is set to &quot;DATASTORE_BACKUP&quot;, indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn&#x27;t found in the Cloud Datastore backup, an invalid error is returned in the job result.
15791582
&quot;A String&quot;,
15801583
],
@@ -2194,6 +2197,7 @@ <h3>Method Details</h3>
21942197
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
21952198
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
21962199
},
2200+
&quot;preserveAsciiControlCharacters&quot;: True or False, # [Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from &#x27;\x00&#x27; to &#x27;\x1F&#x27;) when loading from CSV. Only applicable to CSV, ignored for other formats.
21972201
&quot;projectionFields&quot;: [ # If sourceFormat is set to &quot;DATASTORE_BACKUP&quot;, indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn&#x27;t found in the Cloud Datastore backup, an invalid error is returned in the job result.
21982202
&quot;A String&quot;,
21992203
],
@@ -2836,6 +2840,7 @@ <h3>Method Details</h3>
28362840
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
28372841
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
28382842
},
2843+
&quot;preserveAsciiControlCharacters&quot;: True or False, # [Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from &#x27;\x00&#x27; to &#x27;\x1F&#x27;) when loading from CSV. Only applicable to CSV, ignored for other formats.
28392844
&quot;projectionFields&quot;: [ # If sourceFormat is set to &quot;DATASTORE_BACKUP&quot;, indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn&#x27;t found in the Cloud Datastore backup, an invalid error is returned in the job result.
28402845
&quot;A String&quot;,
28412846
],

googleapiclient/discovery_cache/documents/bigquery.v2.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,7 +1693,7 @@
16931693
}
16941694
}
16951695
},
1696-
"revision": "20220216",
1696+
"revision": "20220222",
16971697
"rootUrl": "https://bigquery.googleapis.com/",
16981698
"schemas": {
16991699
"AggregateClassificationMetrics": {
@@ -2827,7 +2827,7 @@
28272827
"$ref": "DatasetReference",
28282828
"description": "[Required] The dataset this entry applies to."
28292829
},
2830-
"target_types": {
2830+
"targetTypes": {
28312831
"items": {
28322832
"enum": [
28332833
"TARGET_TYPE_UNSPECIFIED",
@@ -3729,6 +3729,10 @@
37293729
"$ref": "ParquetOptions",
37303730
"description": "[Optional] Options to configure parquet support."
37313731
},
3732+
"preserveAsciiControlCharacters": {
3733+
"description": "[Optional] Preserves the embedded ASCII control characters (the first 32 characters in the ASCII-table, from '\\x00' to '\\x1F') when loading from CSV. Only applicable to CSV, ignored for other formats.",
3734+
"type": "boolean"
3735+
},
37323736
"projectionFields": {
37333737
"description": "If sourceFormat is set to \"DATASTORE_BACKUP\", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.",
37343738
"items": {

0 commit comments

Comments
 (0)