Skip to content

Commit 9967d3e

Browse files
feat: Automated regeneration of AnalyticsData client (googleapis#12563)
Auto-created at 2024-11-19 13:12:49 +0000 using the toys pull request generator.
1 parent 5a20e8d commit 9967d3e

File tree

5 files changed

+47
-3
lines changed

5 files changed

+47
-3
lines changed

clients/analytics_data/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_analytics_data, "~> 0.16"}]
14+
[{:google_api_analytics_data, "~> 0.17"}]
1515
end
1616
```
1717

clients/analytics_data/lib/google_api/analytics_data/v1beta/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AnalyticsData.V1beta do
2020
API client metadata for GoogleApi.AnalyticsData.V1beta.
2121
"""
2222

23-
@discovery_revision "20240825"
23+
@discovery_revision "20241117"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.AnalyticsData.V1beta.Model.EmptyFilter do
19+
@moduledoc """
20+
Filter for empty values.
21+
22+
## Attributes
23+
24+
"""
25+
26+
use GoogleApi.Gax.ModelBase
27+
28+
@type t :: %__MODULE__{}
29+
end
30+
31+
defimpl Poison.Decoder, for: GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter do
32+
def decode(value, options) do
33+
GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter.decode(value, options)
34+
end
35+
end
36+
37+
defimpl Poison.Encoder, for: GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter do
38+
def encode(value, options) do
39+
GoogleApi.Gax.ModelBase.encode(value, options)
40+
end
41+
end

clients/analytics_data/lib/google_api/analytics_data/v1beta/model/filter.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ defmodule GoogleApi.AnalyticsData.V1beta.Model.Filter do
2222
## Attributes
2323
2424
* `betweenFilter` (*type:* `GoogleApi.AnalyticsData.V1beta.Model.BetweenFilter.t`, *default:* `nil`) - A filter for two values.
25+
* `emptyFilter` (*type:* `GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter.t`, *default:* `nil`) - A filter for empty values such as "(not set)" and "" values.
2526
* `fieldName` (*type:* `String.t`, *default:* `nil`) - The dimension name or metric name. In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
2627
* `inListFilter` (*type:* `GoogleApi.AnalyticsData.V1beta.Model.InListFilter.t`, *default:* `nil`) - A filter for in list values.
2728
* `numericFilter` (*type:* `GoogleApi.AnalyticsData.V1beta.Model.NumericFilter.t`, *default:* `nil`) - A filter for numeric or date values.
@@ -32,13 +33,15 @@ defmodule GoogleApi.AnalyticsData.V1beta.Model.Filter do
3233

3334
@type t :: %__MODULE__{
3435
:betweenFilter => GoogleApi.AnalyticsData.V1beta.Model.BetweenFilter.t() | nil,
36+
:emptyFilter => GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter.t() | nil,
3537
:fieldName => String.t() | nil,
3638
:inListFilter => GoogleApi.AnalyticsData.V1beta.Model.InListFilter.t() | nil,
3739
:numericFilter => GoogleApi.AnalyticsData.V1beta.Model.NumericFilter.t() | nil,
3840
:stringFilter => GoogleApi.AnalyticsData.V1beta.Model.StringFilter.t() | nil
3941
}
4042

4143
field(:betweenFilter, as: GoogleApi.AnalyticsData.V1beta.Model.BetweenFilter)
44+
field(:emptyFilter, as: GoogleApi.AnalyticsData.V1beta.Model.EmptyFilter)
4245
field(:fieldName)
4346
field(:inListFilter, as: GoogleApi.AnalyticsData.V1beta.Model.InListFilter)
4447
field(:numericFilter, as: GoogleApi.AnalyticsData.V1beta.Model.NumericFilter)

clients/analytics_data/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.AnalyticsData.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.16.2"
21+
@version "0.17.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)