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: clients/big_query/lib/google_api/big_query/v2/model/materialized_view_definition.ex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.BigQuery.V2.Model.MaterializedViewDefinition do
21
21
22
22
## Attributes
23
23
24
-
* `allowNonIncrementalDefinition` (*type:* `boolean()`, *default:* `nil`) - Optional. This option declares the intention to construct a materialized view that isn't refreshed incrementally.
24
+
* `allowNonIncrementalDefinition` (*type:* `boolean()`, *default:* `nil`) - 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.
25
25
* `enableRefresh` (*type:* `boolean()`, *default:* `nil`) - Optional. Enable automatic refresh of the materialized view when the base table is updated. The default value is "true".
26
26
* `lastRefreshTime` (*type:* `String.t`, *default:* `nil`) - Output only. The time when this materialized view was last refreshed, in milliseconds since the epoch.
27
27
* `maxStaleness` (*type:* `String.t`, *default:* `nil`) - [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: clients/big_query/lib/google_api/big_query/v2/model/query_response.ex
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,57 +22,75 @@ defmodule GoogleApi.BigQuery.V2.Model.QueryResponse do
22
22
## Attributes
23
23
24
24
* `cacheHit` (*type:* `boolean()`, *default:* `nil`) - Whether the query result was fetched from the query cache.
25
+
* `creationTime` (*type:* `String.t`, *default:* `nil`) - Output only. Creation time of this query, in milliseconds since the epoch. This field will be present on all queries.
25
26
* `dmlStats` (*type:* `GoogleApi.BigQuery.V2.Model.DmlStatistics.t`, *default:* `nil`) - Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.
27
+
* `endTime` (*type:* `String.t`, *default:* `nil`) - 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.
26
28
* `errors` (*type:* `list(GoogleApi.BigQuery.V2.Model.ErrorProto.t)`, *default:* `nil`) - 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).
27
29
* `jobComplete` (*type:* `boolean()`, *default:* `nil`) - Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.
28
30
* `jobCreationReason` (*type:* `GoogleApi.BigQuery.V2.Model.JobCreationReason.t`, *default:* `nil`) - Optional. The reason why a Job was created. Only relevant when a job_reference is present in the response. If job_reference is not present it will always be unset. [Preview](https://cloud.google.com/products/#product-launch-stages)
29
31
* `jobReference` (*type:* `GoogleApi.BigQuery.V2.Model.JobReference.t`, *default:* `nil`) - Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults). If job_creation_mode was set to `JOB_CREATION_OPTIONAL` and the query completes without creating a job, this field will be empty.
30
32
* `kind` (*type:* `String.t`, *default:* `bigquery#queryResponse`) - The resource type.
33
+
* `location` (*type:* `String.t`, *default:* `nil`) - Output only. The geographic location of the query. For more information about BigQuery locations, see: https://cloud.google.com/bigquery/docs/locations
31
34
* `numDmlAffectedRows` (*type:* `String.t`, *default:* `nil`) - Output only. The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.
32
35
* `pageToken` (*type:* `String.t`, *default:* `nil`) - 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).
33
36
* `queryId` (*type:* `String.t`, *default:* `nil`) - Auto-generated ID for the query. [Preview](https://cloud.google.com/products/#product-launch-stages)
34
37
* `rows` (*type:* `list(GoogleApi.BigQuery.V2.Model.TableRow.t)`, *default:* `nil`) - An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above.
35
38
* `schema` (*type:* `GoogleApi.BigQuery.V2.Model.TableSchema.t`, *default:* `nil`) - The schema of the results. Present only when the query completes successfully.
36
39
* `sessionInfo` (*type:* `GoogleApi.BigQuery.V2.Model.SessionInfo.t`, *default:* `nil`) - Output only. Information of the session if this job is part of one.
40
+
* `startTime` (*type:* `String.t`, *default:* `nil`) - 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.
41
+
* `totalBytesBilled` (*type:* `String.t`, *default:* `nil`) - 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.
37
42
* `totalBytesProcessed` (*type:* `String.t`, *default:* `nil`) - 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.
38
43
* `totalRows` (*type:* `String.t`, *default:* `nil`) - 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.
44
+
* `totalSlotMs` (*type:* `String.t`, *default:* `nil`) - Output only. Number of slot ms the user is actually billed for.
0 commit comments