Skip to content

Commit 086d714

Browse files
feat(bigquery): update the api
#### bigquery:v2 The following keys were added: - schemas.ViewDefinition.properties.useExplicitColumnNames.type (Total Keys: 1)
1 parent 72b7f25 commit 086d714

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/dyn/bigquery_v2.tables.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ <h3>Method Details</h3>
346346
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
347347
&quot;view&quot;: { # [Optional] The view definition.
348348
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
349+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
349350
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
350351
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
351352
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -628,6 +629,7 @@ <h3>Method Details</h3>
628629
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
629630
&quot;view&quot;: { # [Optional] The view definition.
630631
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
632+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
631633
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
632634
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
633635
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -851,6 +853,7 @@ <h3>Method Details</h3>
851853
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
852854
&quot;view&quot;: { # [Optional] The view definition.
853855
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
856+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
854857
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
855858
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
856859
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -1157,6 +1160,7 @@ <h3>Method Details</h3>
11571160
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
11581161
&quot;view&quot;: { # [Optional] The view definition.
11591162
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
1163+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
11601164
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
11611165
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
11621166
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -1380,6 +1384,7 @@ <h3>Method Details</h3>
13801384
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
13811385
&quot;view&quot;: { # [Optional] The view definition.
13821386
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
1387+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
13831388
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
13841389
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
13851390
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -1718,6 +1723,7 @@ <h3>Method Details</h3>
17181723
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
17191724
&quot;view&quot;: { # [Optional] The view definition.
17201725
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
1726+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
17211727
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
17221728
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
17231729
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions
@@ -1941,6 +1947,7 @@ <h3>Method Details</h3>
19411947
&quot;type&quot;: &quot;A String&quot;, # [Output-only] Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. SNAPSHOT: An immutable, read-only table that is a copy of another table. [TrustedTester] MATERIALIZED_VIEW: SQL query whose result is persisted. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.
19421948
&quot;view&quot;: { # [Optional] The view definition.
19431949
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
1950+
&quot;useExplicitColumnNames&quot;: True or False, # True if the column names are explicitly specified. For example by using the &#x27;CREATE VIEW v(c1, c2) AS ...&#x27; syntax. Can only be set using BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/
19441951
&quot;useLegacySql&quot;: True or False, # Specifies whether to use BigQuery&#x27;s legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery&#x27;s standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.
19451952
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
19461953
{ # This is used for defining User Defined Function (UDF) resources only when using legacy SQL. Users of Standard SQL should leverage either DDL (e.g. CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources. For additional information on migrating, see: https://cloud.google.com/bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#differences_in_user-defined_javascript_functions

googleapiclient/discovery_cache/documents/bigquery.v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@
16831683
}
16841684
}
16851685
},
1686-
"revision": "20210515",
1686+
"revision": "20210518",
16871687
"rootUrl": "https://bigquery.googleapis.com/",
16881688
"schemas": {
16891689
"AggregateClassificationMetrics": {
@@ -6525,6 +6525,10 @@
65256525
"description": "[Required] A query that BigQuery executes when the view is referenced.",
65266526
"type": "string"
65276527
},
6528+
"useExplicitColumnNames": {
6529+
"description": "True if the column names are explicitly specified. For example by using the 'CREATE VIEW v(c1, c2) AS ...' syntax. Can only be set using BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/",
6530+
"type": "boolean"
6531+
},
65286532
"useLegacySql": {
65296533
"description": "Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.",
65306534
"type": "boolean"

0 commit comments

Comments
 (0)