Current section

92 Versions

Jump to

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…