Packages
google_api_big_query
0.24.0
0.88.0
0.87.1
0.87.0
0.86.1
0.86.0
0.85.0
0.84.2
0.84.1
0.84.0
0.83.0
0.82.0
0.81.0
0.80.0
0.79.0
0.78.0
0.77.0
0.76.0
0.75.0
0.74.0
0.73.0
0.72.0
0.71.0
0.70.1
0.70.0
0.69.0
0.68.0
0.67.0
0.66.1
0.66.0
0.65.0
0.64.0
0.63.0
0.62.0
0.61.1
0.61.0
0.60.0
0.59.0
0.58.0
0.57.0
0.56.0
0.55.0
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.49.0
0.48.0
0.47.0
0.46.0
0.45.0
0.44.0
0.43.0
0.42.0
0.41.0
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.0
0.23.0
0.22.0
0.21.0
0.20.0
0.19.0
0.18.0
0.17.0
0.16.0
0.15.0
0.13.0
0.12.0
0.9.0
0.8.0
0.7.0
0.6.0
0.4.0
0.3.0
0.2.0
0.1.0
0.0.1
BigQuery API client library. A data platform for customers to create, manage, share and query data.
Current section
92 Versions
Jump to
Current section
92 Versions
Compare versions
6
files changed
+118
additions
-3
deletions
| @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding | |
| 11 11 | |
| 12 12 | ```elixir |
| 13 13 | def deps do |
| 14 | - [{:google_api_big_query, "~> 0.23"}] |
| 14 | + [{:google_api_big_query, "~> 0.24"}] |
| 15 15 | end |
| 16 16 | ``` |
| @@ -95,6 +95,8 @@ | |
| 95 95 | <<"lib/google_api/big_query/v2/model/routine.ex">>, |
| 96 96 | <<"lib/google_api/big_query/v2/model/routine_reference.ex">>, |
| 97 97 | <<"lib/google_api/big_query/v2/model/row.ex">>, |
| 98 | + <<"lib/google_api/big_query/v2/model/script_stack_frame.ex">>, |
| 99 | + <<"lib/google_api/big_query/v2/model/script_statistics.ex">>, |
| 98 100 | <<"lib/google_api/big_query/v2/model/standard_sql_data_type.ex">>, |
| 99 101 | <<"lib/google_api/big_query/v2/model/standard_sql_field.ex">>, |
| 100 102 | <<"lib/google_api/big_query/v2/model/standard_sql_struct_type.ex">>, |
| @@ -132,4 +134,4 @@ | |
| 132 134 | {<<"optional">>,false}, |
| 133 135 | {<<"repository">>,<<"hexpm">>}, |
| 134 136 | {<<"requirement">>,<<"~> 0.2">>}]]}. |
| 135 | - {<<"version">>,<<"0.23.0">>}. |
| 137 | + {<<"version">>,<<"0.24.0">>}. |
| @@ -32,6 +32,7 @@ defmodule GoogleApi.BigQuery.V2.Model.JobStatistics do | |
| 32 32 | * `quotaDeferments` (*type:* `list(String.t)`, *default:* `nil`) - [Output-only] Quotas which delayed this job's start time. |
| 33 33 | * `reservationUsage` (*type:* `list(GoogleApi.BigQuery.V2.Model.JobStatisticsReservationUsage.t)`, *default:* `nil`) - [Output-only] Job resource usage breakdown by reservation. |
| 34 34 | * `reservation_id` (*type:* `String.t`, *default:* `nil`) - [Output-only] Name of the primary reservation assigned to this job. Note that this could be different than reservations reported in the reservation usage field if parent reservations were used to execute this job. |
| 35 | + * `scriptStatistics` (*type:* `GoogleApi.BigQuery.V2.Model.ScriptStatistics.t`, *default:* `nil`) - [Output-only] Statistics for a child job of a script. |
| 35 36 | * `startTime` (*type:* `String.t`, *default:* `nil`) - [Output-only] Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE. |
| 36 37 | * `totalBytesProcessed` (*type:* `String.t`, *default:* `nil`) - [Output-only] [Deprecated] Use the bytes processed in the query statistics instead. |
| 37 38 | * `totalSlotMs` (*type:* `String.t`, *default:* `nil`) - [Output-only] Slot-milliseconds for the job. |
| @@ -52,6 +53,7 @@ defmodule GoogleApi.BigQuery.V2.Model.JobStatistics do | |
| 52 53 | :reservationUsage => |
| 53 54 | list(GoogleApi.BigQuery.V2.Model.JobStatisticsReservationUsage.t()), |
| 54 55 | :reservation_id => String.t(), |
| 56 | + :scriptStatistics => GoogleApi.BigQuery.V2.Model.ScriptStatistics.t(), |
| 55 57 | :startTime => String.t(), |
| 56 58 | :totalBytesProcessed => String.t(), |
| 57 59 | :totalSlotMs => String.t() |
| @@ -74,6 +76,7 @@ defmodule GoogleApi.BigQuery.V2.Model.JobStatistics do | |
| 74 76 | ) |
| 75 77 | |
| 76 78 | field(:reservation_id) |
| 79 | + field(:scriptStatistics, as: GoogleApi.BigQuery.V2.Model.ScriptStatistics) |
| 77 80 | field(:startTime) |
| 78 81 | field(:totalBytesProcessed) |
| 79 82 | field(:totalSlotMs) |
| @@ -0,0 +1,61 @@ | |
| 1 | + # Copyright 2019 Google LLC |
| 2 | + # |
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + # you may not use this file except in compliance with the License. |
| 5 | + # You may obtain a copy of the License at |
| 6 | + # |
| 7 | + # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + # |
| 9 | + # Unless required by applicable law or agreed to in writing, software |
| 10 | + # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + # See the License for the specific language governing permissions and |
| 13 | + # limitations under the License. |
| 14 | + |
| 15 | + # NOTE: This file is auto generated by the elixir code generator program. |
| 16 | + # Do not edit this file manually. |
| 17 | + |
| 18 | + defmodule GoogleApi.BigQuery.V2.Model.ScriptStackFrame do |
| 19 | + @moduledoc """ |
| 20 | + |
| 21 | + |
| 22 | + ## Attributes |
| 23 | + |
| 24 | + * `endColumn` (*type:* `integer()`, *default:* `nil`) - [Output-only] One-based end column. |
| 25 | + * `endLine` (*type:* `integer()`, *default:* `nil`) - [Output-only] One-based end line. |
| 26 | + * `procedureId` (*type:* `String.t`, *default:* `nil`) - [Output-only] Name of the active procedure, empty if in a top-level script. |
| 27 | + * `startColumn` (*type:* `integer()`, *default:* `nil`) - [Output-only] One-based start column. |
| 28 | + * `startLine` (*type:* `integer()`, *default:* `nil`) - [Output-only] One-based start line. |
| 29 | + * `text` (*type:* `String.t`, *default:* `nil`) - [Output-only] Text of the current statement/expression. |
| 30 | + """ |
| 31 | + |
| 32 | + use GoogleApi.Gax.ModelBase |
| 33 | + |
| 34 | + @type t :: %__MODULE__{ |
| 35 | + :endColumn => integer(), |
| 36 | + :endLine => integer(), |
| 37 | + :procedureId => String.t(), |
| 38 | + :startColumn => integer(), |
| 39 | + :startLine => integer(), |
| 40 | + :text => String.t() |
| 41 | + } |
| 42 | + |
| 43 | + field(:endColumn) |
| 44 | + field(:endLine) |
| 45 | + field(:procedureId) |
| 46 | + field(:startColumn) |
| 47 | + field(:startLine) |
| 48 | + field(:text) |
| 49 | + end |
| 50 | + |
| 51 | + defimpl Poison.Decoder, for: GoogleApi.BigQuery.V2.Model.ScriptStackFrame do |
| 52 | + def decode(value, options) do |
| 53 | + GoogleApi.BigQuery.V2.Model.ScriptStackFrame.decode(value, options) |
| 54 | + end |
| 55 | + end |
| 56 | + |
| 57 | + defimpl Poison.Encoder, for: GoogleApi.BigQuery.V2.Model.ScriptStackFrame do |
| 58 | + def encode(value, options) do |
| 59 | + GoogleApi.Gax.ModelBase.encode(value, options) |
| 60 | + end |
| 61 | + end |
| @@ -0,0 +1,49 @@ | |
| 1 | + # Copyright 2019 Google LLC |
| 2 | + # |
| 3 | + # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + # you may not use this file except in compliance with the License. |
| 5 | + # You may obtain a copy of the License at |
| 6 | + # |
| 7 | + # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + # |
| 9 | + # Unless required by applicable law or agreed to in writing, software |
| 10 | + # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + # See the License for the specific language governing permissions and |
| 13 | + # limitations under the License. |
| 14 | + |
| 15 | + # NOTE: This file is auto generated by the elixir code generator program. |
| 16 | + # Do not edit this file manually. |
| 17 | + |
| 18 | + defmodule GoogleApi.BigQuery.V2.Model.ScriptStatistics do |
| 19 | + @moduledoc """ |
| 20 | + |
| 21 | + |
| 22 | + ## Attributes |
| 23 | + |
| 24 | + * `evaluationKind` (*type:* `String.t`, *default:* `nil`) - [Output-only] Whether this child job was a statement or expression. |
| 25 | + * `stackFrames` (*type:* `list(GoogleApi.BigQuery.V2.Model.ScriptStackFrame.t)`, *default:* `nil`) - Stack trace showing the line/column/procedure name of each frame on the stack at the point where the current evaluation happened. The leaf frame is first, the primary script is last. Never empty. |
| 26 | + """ |
| 27 | + |
| 28 | + use GoogleApi.Gax.ModelBase |
| 29 | + |
| 30 | + @type t :: %__MODULE__{ |
| 31 | + :evaluationKind => String.t(), |
| 32 | + :stackFrames => list(GoogleApi.BigQuery.V2.Model.ScriptStackFrame.t()) |
| 33 | + } |
| 34 | + |
| 35 | + field(:evaluationKind) |
| 36 | + field(:stackFrames, as: GoogleApi.BigQuery.V2.Model.ScriptStackFrame, type: :list) |
| 37 | + end |
| 38 | + |
| 39 | + defimpl Poison.Decoder, for: GoogleApi.BigQuery.V2.Model.ScriptStatistics do |
| 40 | + def decode(value, options) do |
| 41 | + GoogleApi.BigQuery.V2.Model.ScriptStatistics.decode(value, options) |
| 42 | + end |
| 43 | + end |
| 44 | + |
| 45 | + defimpl Poison.Encoder, for: GoogleApi.BigQuery.V2.Model.ScriptStatistics do |
| 46 | + def encode(value, options) do |
| 47 | + GoogleApi.Gax.ModelBase.encode(value, options) |
| 48 | + end |
| 49 | + end |
Loading more files…