Skip to content

Commit

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

The following keys were added:
- schemas.Dataset.properties.storageBillingModel.type (Total Keys: 1)
- schemas.ExternalDataConfiguration.properties.metadataCacheMode.type (Total Keys: 1)
- schemas.ExternalDataConfiguration.properties.objectMetadata.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 25, 2022
1 parent 98ef5fc commit e7a8f0e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/dyn/bigquery_v2.datasets.html
Expand Up @@ -181,6 +181,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -254,6 +255,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -321,6 +323,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -445,6 +448,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -512,6 +516,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -586,6 +591,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down Expand Up @@ -653,6 +659,7 @@ <h3>Method Details</h3>
&quot;maxTimeTravelHours&quot;: &quot;A String&quot;, # [Optional] Number of hours for the max time travel for all tables in the dataset.
&quot;satisfiesPzs&quot;: True or False, # [Output-only] Reserved for future use.
&quot;selfLink&quot;: &quot;A String&quot;, # [Output-only] A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.
&quot;storageBillingModel&quot;: &quot;A String&quot;, # [Optional] Storage billing model to be used for all tables in the dataset. Can be set to PHYSICAL. Default is LOGICAL.
&quot;tags&quot;: [ # [Optional]The tags associated with this dataset. Tag keys are globally unique.
{
&quot;tagKey&quot;: &quot;A String&quot;, # [Required] The namespaced friendly name of the tag key, e.g. &quot;12345/environment&quot; where 12345 is org id.
Expand Down
10 changes: 10 additions & 0 deletions docs/dyn/bigquery_v2.jobs.html
Expand Up @@ -409,6 +409,8 @@ <h3>Method Details</h3>
},
&quot;ignoreUnknownValues&quot;: True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don&#x27;t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
&quot;maxBadRecords&quot;: 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
&quot;metadataCacheMode&quot;: &quot;A String&quot;, # [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.
&quot;objectMetadata&quot;: &quot;A String&quot;, # ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.
&quot;parquetOptions&quot;: { # Additional properties to set if sourceFormat is set to Parquet.
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Expand Down Expand Up @@ -1102,6 +1104,8 @@ <h3>Method Details</h3>
},
&quot;ignoreUnknownValues&quot;: True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don&#x27;t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
&quot;maxBadRecords&quot;: 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
&quot;metadataCacheMode&quot;: &quot;A String&quot;, # [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.
&quot;objectMetadata&quot;: &quot;A String&quot;, # ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.
&quot;parquetOptions&quot;: { # Additional properties to set if sourceFormat is set to Parquet.
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Expand Down Expand Up @@ -1866,6 +1870,8 @@ <h3>Method Details</h3>
},
&quot;ignoreUnknownValues&quot;: True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don&#x27;t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
&quot;maxBadRecords&quot;: 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
&quot;metadataCacheMode&quot;: &quot;A String&quot;, # [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.
&quot;objectMetadata&quot;: &quot;A String&quot;, # ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.
&quot;parquetOptions&quot;: { # Additional properties to set if sourceFormat is set to Parquet.
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Expand Down Expand Up @@ -2534,6 +2540,8 @@ <h3>Method Details</h3>
},
&quot;ignoreUnknownValues&quot;: True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don&#x27;t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
&quot;maxBadRecords&quot;: 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
&quot;metadataCacheMode&quot;: &quot;A String&quot;, # [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.
&quot;objectMetadata&quot;: &quot;A String&quot;, # ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.
&quot;parquetOptions&quot;: { # Additional properties to set if sourceFormat is set to Parquet.
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Expand Down Expand Up @@ -3225,6 +3233,8 @@ <h3>Method Details</h3>
},
&quot;ignoreUnknownValues&quot;: True or False, # [Optional] Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don&#x27;t match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.
&quot;maxBadRecords&quot;: 42, # [Optional] The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. This is only valid for CSV, JSON, and Google Sheets. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.
&quot;metadataCacheMode&quot;: &quot;A String&quot;, # [Optional] Metadata Cache Mode for the table. Set this to enable caching of metadata from external data source.
&quot;objectMetadata&quot;: &quot;A String&quot;, # ObjectMetadata is used to create Object Tables. Object Tables contain a listing of objects (with their metadata) found at the source_uris. If ObjectMetadata is set, source_format should be omitted. Currently SIMPLE is the only supported Object Metadata type.
&quot;parquetOptions&quot;: { # Additional properties to set if sourceFormat is set to Parquet.
&quot;enableListInference&quot;: True or False, # [Optional] Indicates whether to use schema inference specifically for Parquet LIST logical type.
&quot;enumAsString&quot;: True or False, # [Optional] Indicates whether to infer Parquet ENUM logical type as STRING instead of BYTES by default.
Expand Down

0 comments on commit e7a8f0e

Please sign in to comment.