Skip to content

Commit fe54736

Browse files
feat(bigquery): update the api
#### 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)
1 parent 7ce1359 commit fe54736

File tree

4 files changed

+61
-1
lines changed

4 files changed

+61
-1
lines changed

docs/dyn/bigquery_v2.jobs.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@ <h3>Method Details</h3>
347347
&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.
348348
&quot;a_key&quot;: {
349349
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
350+
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
351+
&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).
352+
},
350353
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
351354
&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.
352355
{
@@ -975,6 +978,9 @@ <h3>Method Details</h3>
975978
&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.
976979
&quot;a_key&quot;: {
977980
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
981+
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
982+
&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).
983+
},
978984
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
979985
&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.
980986
{
@@ -1673,6 +1679,9 @@ <h3>Method Details</h3>
16731679
&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.
16741680
&quot;a_key&quot;: {
16751681
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
1682+
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
1683+
&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).
1684+
},
16761685
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
16771686
&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.
16781687
{
@@ -2276,6 +2285,9 @@ <h3>Method Details</h3>
22762285
&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.
22772286
&quot;a_key&quot;: {
22782287
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
2288+
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
2289+
&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).
2290+
},
22792291
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
22802292
&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.
22812293
{
@@ -2902,6 +2914,9 @@ <h3>Method Details</h3>
29022914
&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.
29032915
&quot;a_key&quot;: {
29042916
&quot;autodetect&quot;: True or False, # Try to detect schema and format options automatically. Any option specified explicitly will be honored.
2917+
&quot;avroOptions&quot;: { # Additional properties to set if sourceFormat is set to Avro.
2918+
&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).
2919+
},
29052920
&quot;bigtableOptions&quot;: { # [Optional] Additional options if sourceFormat is set to BIGTABLE.
29062921
&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.
29072922
{

docs/dyn/bigquery_v2.routines.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ <h3>Method Details</h3>
183183
&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.
184184
},
185185
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
186+
&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.
186187
}</pre>
187188
</div>
188189

@@ -254,6 +255,7 @@ <h3>Method Details</h3>
254255
&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.
255256
},
256257
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
258+
&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.
257259
}
258260

259261

@@ -318,6 +320,7 @@ <h3>Method Details</h3>
318320
&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.
319321
},
320322
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
323+
&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.
321324
}</pre>
322325
</div>
323326

@@ -397,6 +400,7 @@ <h3>Method Details</h3>
397400
&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.
398401
},
399402
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
403+
&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.
400404
},
401405
],
402406
}</pre>
@@ -485,6 +489,7 @@ <h3>Method Details</h3>
485489
&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.
486490
},
487491
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
492+
&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.
488493
}
489494

490495

@@ -549,6 +554,7 @@ <h3>Method Details</h3>
549554
&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.
550555
},
551556
&quot;routineType&quot;: &quot;A String&quot;, # Required. The type of routine.
557+
&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.
552558
}</pre>
553559
</div>
554560

0 commit comments

Comments
 (0)