You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/bigquery_v2.jobs.html
+6
Original file line number
Diff line number
Diff line change
@@ -7336,11 +7336,13 @@ <h3>Method Details</h3>
7336
7336
7337
7337
{
7338
7338
"cacheHit": True or False, # Whether the query result was fetched from the query cache.
7339
+
"creationTime": "A String", # Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries.
7339
7340
"dmlStats": { # Detailed statistics for DML statements # Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.
7340
7341
"deletedRowCount": "A String", # Output only. Number of deleted Rows. populated by DML DELETE, MERGE and TRUNCATE statements.
7341
7342
"insertedRowCount": "A String", # Output only. Number of inserted Rows. Populated by DML INSERT and MERGE statements
7342
7343
"updatedRowCount": "A String", # Output only. Number of updated Rows. Populated by DML UPDATE and MERGE statements.
7343
7344
},
7345
+
"endTime": "A String", # Output only. End time of this query, in milliseconds since the epoch. This field will be present whenever a query job is in the DONE state.
7344
7346
"errors": [ # Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see [Error messages](https://cloud.google.com/bigquery/docs/error-messages).
7345
7347
{ # Error details.
7346
7348
"debugInfo": "A String", # Debugging information. This property is internal to Google and should not be used.
@@ -7359,6 +7361,7 @@ <h3>Method Details</h3>
7359
7361
"projectId": "A String", # Required. The ID of the project containing this job.
7360
7362
},
7361
7363
"kind": "bigquery#queryResponse", # The resource type.
7364
+
"location": "A String", # Output only. The geographic location of the query. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations
7362
7365
"numDmlAffectedRows": "A String", # Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.
7363
7366
"pageToken": "A String", # A token used for paging results. A non-empty token indicates that additional results are available. To see additional results, query the [`jobs.getQueryResults`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/getQueryResults) method. For more information, see [Paging through table data](https://cloud.google.com/bigquery/docs/paging-results).
7364
7367
"queryId": "A String", # Auto-generated ID for the query. [Preview](https://cloud.google.com/products/#product-launch-stages)
@@ -7415,8 +7418,11 @@ <h3>Method Details</h3>
7415
7418
"sessionInfo": { # [Preview] Information related to sessions. # Output only. Information of the session if this job is part of one.
7416
7419
"sessionId": "A String", # Output only. The id of the session.
7417
7420
},
7421
+
"startTime": "A String", # Output only. Start time of this query, in milliseconds since the epoch. This field will be present when the query job transitions from the PENDING state to either RUNNING or DONE.
7422
+
"totalBytesBilled": "A String", # Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.
7418
7423
"totalBytesProcessed": "A String", # The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.
7419
7424
"totalRows": "A String", # The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results.
7425
+
"totalSlotMs": "A String", # Output only. Number of slot ms the user is actually billed for.
Copy file name to clipboardExpand all lines: docs/dyn/bigquery_v2.tables.html
+7-7
Original file line number
Diff line number
Diff line change
@@ -324,7 +324,7 @@ <h3>Method Details</h3>
324
324
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
325
325
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
326
326
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
327
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
327
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
328
328
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
329
329
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
330
330
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -807,7 +807,7 @@ <h3>Method Details</h3>
807
807
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
808
808
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
809
809
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
810
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
810
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
811
811
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
812
812
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
813
813
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -1231,7 +1231,7 @@ <h3>Method Details</h3>
1231
1231
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
1232
1232
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
1233
1233
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
1234
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
1234
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
1235
1235
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
1236
1236
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
1237
1237
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -1763,7 +1763,7 @@ <h3>Method Details</h3>
1763
1763
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
1764
1764
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
1765
1765
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
1766
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
1766
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
1767
1767
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
1768
1768
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
1769
1769
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -2188,7 +2188,7 @@ <h3>Method Details</h3>
2188
2188
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
2189
2189
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
2190
2190
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
2191
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
2191
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
2192
2192
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
2193
2193
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
2194
2194
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -2731,7 +2731,7 @@ <h3>Method Details</h3>
2731
2731
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
2732
2732
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
2733
2733
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
2734
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
2734
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
2735
2735
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
2736
2736
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
2737
2737
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
@@ -3156,7 +3156,7 @@ <h3>Method Details</h3>
3156
3156
"location": "A String", # Output only. The geographic location where the table resides. This value is inherited from the dataset.
3157
3157
"managedTableType": "A String", # Optional. If set, overrides the default managed table type configured in the dataset.
3158
3158
"materializedView": { # Definition and configuration of a materialized view. # Optional. The materialized view definition.
3159
-
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
3159
+
"allowNonIncrementalDefinition": True or False, # Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.
3160
3160
"enableRefresh": True or False, # Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
3161
3161
"lastRefreshTime": "A String", # Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
3162
3162
"maxStaleness": "A String", # [Optional] Max staleness of data that could be returned when materizlized view is queried (formatted as Google SQL Interval type).
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/bigquery.v2.json
+37-2
Original file line number
Diff line number
Diff line change
@@ -2009,7 +2009,7 @@
2009
2009
}
2010
2010
}
2011
2011
},
2012
-
"revision": "20241222",
2012
+
"revision": "20250112",
2013
2013
"rootUrl": "https://bigquery.googleapis.com/",
2014
2014
"schemas": {
2015
2015
"AggregateClassificationMetrics": {
@@ -6369,7 +6369,7 @@
6369
6369
"id": "MaterializedViewDefinition",
6370
6370
"properties": {
6371
6371
"allowNonIncrementalDefinition": {
6372
-
"description": "Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.",
6372
+
"description": "Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally. Non-incremental materialized views support an expanded range of SQL queries. The `allow_non_incremental_definition` option can't be changed after the materialized view is created.",
6373
6373
"type": "boolean"
6374
6374
},
6375
6375
"enableRefresh": {
@@ -7281,11 +7281,23 @@
7281
7281
"description": "Whether the query result was fetched from the query cache.",
7282
7282
"type": "boolean"
7283
7283
},
7284
+
"creationTime": {
7285
+
"description": "Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries.",
7286
+
"format": "int64",
7287
+
"readOnly": true,
7288
+
"type": "string"
7289
+
},
7284
7290
"dmlStats": {
7285
7291
"$ref": "DmlStatistics",
7286
7292
"description": "Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.",
7287
7293
"readOnly": true
7288
7294
},
7295
+
"endTime": {
7296
+
"description": "Output only. End time of this query, in milliseconds since the epoch. This field will be present whenever a query job is in the DONE state.",
7297
+
"format": "int64",
7298
+
"readOnly": true,
7299
+
"type": "string"
7300
+
},
7289
7301
"errors": {
7290
7302
"description": "Output only. The first errors or warnings encountered during the running of the job. The final message includes the number of errors that caused the process to stop. Errors here do not necessarily mean that the job has completed or was unsuccessful. For more information about error messages, see [Error messages](https://cloud.google.com/bigquery/docs/error-messages).",
7291
7303
"items": {
@@ -7311,6 +7323,11 @@
7311
7323
"description": "The resource type.",
7312
7324
"type": "string"
7313
7325
},
7326
+
"location": {
7327
+
"description": "Output only. The geographic location of the query. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations",
7328
+
"readOnly": true,
7329
+
"type": "string"
7330
+
},
7314
7331
"numDmlAffectedRows": {
7315
7332
"description": "Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.",
7316
7333
"format": "int64",
@@ -7341,6 +7358,18 @@
7341
7358
"description": "Output only. Information of the session if this job is part of one.",
7342
7359
"readOnly": true
7343
7360
},
7361
+
"startTime": {
7362
+
"description": "Output only. Start time of this query, in milliseconds since the epoch. This field will be present when the query job transitions from the PENDING state to either RUNNING or DONE.",
7363
+
"format": "int64",
7364
+
"readOnly": true,
7365
+
"type": "string"
7366
+
},
7367
+
"totalBytesBilled": {
7368
+
"description": "Output only. If the project is configured to use on-demand pricing, then this field contains the total bytes billed for the job. If the project is configured to use flat-rate pricing, then you are not billed for bytes and this field is informational only.",
7369
+
"format": "int64",
7370
+
"readOnly": true,
7371
+
"type": "string"
7372
+
},
7344
7373
"totalBytesProcessed": {
7345
7374
"description": "The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.",
7346
7375
"format": "int64",
@@ -7350,6 +7379,12 @@
7350
7379
"description": "The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results.",
7351
7380
"format": "uint64",
7352
7381
"type": "string"
7382
+
},
7383
+
"totalSlotMs": {
7384
+
"description": "Output only. Number of slot ms the user is actually billed for.",
0 commit comments