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.AvroOptions (Total Keys: 3)
- schemas.ExternalDataConfiguration.properties.avroOptions.$ref (Total Keys: 1)
- schemas.Routine.properties.strictMode.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Sep 7, 2021
1 parent 7ce1359 commit fe54736
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/dyn/bigquery_v2.jobs.html
Expand Up @@ -347,6 +347,9 @@ <h3>Method Details</h3>
&quot;tableDefinitions&quot;: { # [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
&quot;a_key&quot;: {
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
&quot;useAvroLogicalTypes&quot;: True or False, # [Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).
},
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
&quot;columnFamilies&quot;: [ # [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the &#x27;type&#x27; field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
{
Expand Down Expand Up @@ -975,6 +978,9 @@ <h3>Method Details</h3>
&quot;tableDefinitions&quot;: { # [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
&quot;a_key&quot;: {
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
&quot;useAvroLogicalTypes&quot;: True or False, # [Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).
},
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
&quot;columnFamilies&quot;: [ # [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the &#x27;type&#x27; field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
{
Expand Down Expand Up @@ -1673,6 +1679,9 @@ <h3>Method Details</h3>
&quot;tableDefinitions&quot;: { # [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
&quot;a_key&quot;: {
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
&quot;useAvroLogicalTypes&quot;: True or False, # [Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).
},
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
&quot;columnFamilies&quot;: [ # [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the &#x27;type&#x27; field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
{
Expand Down Expand Up @@ -2276,6 +2285,9 @@ <h3>Method Details</h3>
&quot;tableDefinitions&quot;: { # [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
&quot;a_key&quot;: {
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
&quot;useAvroLogicalTypes&quot;: True or False, # [Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).
},
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
&quot;columnFamilies&quot;: [ # [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the &#x27;type&#x27; field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
{
Expand Down Expand Up @@ -2902,6 +2914,9 @@ <h3>Method Details</h3>
&quot;tableDefinitions&quot;: { # [Optional] If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.
&quot;a_key&quot;: {
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
&quot;useAvroLogicalTypes&quot;: True or False, # [Optional] If set to true will enable interpreting logical types into their corresponding types (ie. TIMESTAMP), instead of only using their raw types (ie. INTEGER).
},
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
&quot;columnFamilies&quot;: [ # [Optional] List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the &#x27;type&#x27; field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.
{
Expand Down
6 changes: 6 additions & 0 deletions docs/dyn/bigquery_v2.routines.html
Expand Up @@ -183,6 +183,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
}</pre>
</div>

Expand Down Expand Up @@ -254,6 +255,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
}


Expand Down Expand Up @@ -318,6 +320,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
}</pre>
</div>

Expand Down Expand Up @@ -397,6 +400,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
},
],
}</pre>
Expand Down Expand Up @@ -485,6 +489,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
}


Expand Down Expand Up @@ -549,6 +554,7 @@ <h3>Method Details</h3>
&quot;routineId&quot;: &quot;A String&quot;, # [Required] The ID of the routine. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 256 characters.
},
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
&quot;strictMode&quot;: True or False, # Optional. Can be set for procedures only. If true (default), the definition body will be validated in the creation and the updates of the procedure. For procedures with an argument of ANY TYPE, the definition body validtion is not supported at creation/update time, and thus this field must be set to false explicitly.
}</pre>
</div>

Expand Down

0 comments on commit fe54736

Please sign in to comment.