Skip to content

Commit

Permalink
feat(bigquery): update the api
Browse files Browse the repository at this point in the history
#### bigquery:v2

The following keys were added:
- schemas.ViewDefinition.properties.useExplicitColumnNames.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed May 30, 2021
1 parent 72b7f25 commit 086d714
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/dyn/bigquery_v2.tables.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -628,6 +629,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -851,6 +853,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -1157,6 +1160,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -1380,6 +1384,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -1718,6 +1723,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down Expand Up @@ -1941,6 +1947,7 @@ <h3>Method Details</h3>
&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.
&quot;view&quot;: { # [Optional] The view definition.
&quot;query&quot;: &quot;A String&quot;, # [Required] A query that BigQuery executes when the view is referenced.
&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/
&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.
&quot;userDefinedFunctionResources&quot;: [ # Describes user-defined function resources used in the query.
{ # 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
Expand Down
6 changes: 5 additions & 1 deletion googleapiclient/discovery_cache/documents/bigquery.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@
}
}
},
"revision": "20210515",
"revision": "20210518",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -6525,6 +6525,10 @@
"description": "[Required] A query that BigQuery executes when the view is referenced.",
"type": "string"
},
"useExplicitColumnNames": {
"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/",
"type": "boolean"
},
"useLegacySql": {
"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.",
"type": "boolean"
Expand Down

0 comments on commit 086d714

Please sign in to comment.