Skip to content

Commit 13da896

Browse files
feat: Automated regeneration of PlayIntegrity client (googleapis#12602)
Auto-created at 2024-11-21 13:22:44 +0000 using the toys pull request generator.
1 parent 7f75e0c commit 13da896

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

clients/play_integrity/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_play_integrity, "~> 0.10"}]
14+
[{:google_api_play_integrity, "~> 0.11"}]
1515
end
1616
```
1717

clients/play_integrity/lib/google_api/play_integrity/v1/metadata.ex

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

23-
@discovery_revision "20240813"
23+
@discovery_revision "20241119"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.PlayIntegrity.V1.Model.DeviceAttributes do
19+
@moduledoc """
20+
Contains information about the device for which the integrity token was generated, e.g. Android SDK version.
21+
22+
## Attributes
23+
24+
* `sdkVersion` (*type:* `integer()`, *default:* `nil`) - Android SDK version of the device, as defined in the public Android documentation: https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won't be set if a necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:sdkVersion => integer() | nil
31+
}
32+
33+
field(:sdkVersion)
34+
end
35+
36+
defimpl Poison.Decoder, for: GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes do
37+
def decode(value, options) do
38+
GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes.decode(value, options)
39+
end
40+
end
41+
42+
defimpl Poison.Encoder, for: GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes do
43+
def encode(value, options) do
44+
GoogleApi.Gax.ModelBase.encode(value, options)
45+
end
46+
end

clients/play_integrity/lib/google_api/play_integrity/v1/model/device_integrity.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.PlayIntegrity.V1.Model.DeviceIntegrity do
2121
2222
## Attributes
2323
24+
* `deviceAttributes` (*type:* `GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes.t`, *default:* `nil`) - Attributes of the device where the integrity token was generated.
2425
* `deviceRecall` (*type:* `GoogleApi.PlayIntegrity.V1.Model.DeviceRecall.t`, *default:* `nil`) - Details about the device recall bits set by the developer.
2526
* `deviceRecognitionVerdict` (*type:* `list(String.t)`, *default:* `nil`) - Details about the integrity of the device the app is running on.
2627
* `recentDeviceActivity` (*type:* `GoogleApi.PlayIntegrity.V1.Model.RecentDeviceActivity.t`, *default:* `nil`) - Details about the device activity of the device the app is running on.
@@ -29,11 +30,13 @@ defmodule GoogleApi.PlayIntegrity.V1.Model.DeviceIntegrity do
2930
use GoogleApi.Gax.ModelBase
3031

3132
@type t :: %__MODULE__{
33+
:deviceAttributes => GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes.t() | nil,
3234
:deviceRecall => GoogleApi.PlayIntegrity.V1.Model.DeviceRecall.t() | nil,
3335
:deviceRecognitionVerdict => list(String.t()) | nil,
3436
:recentDeviceActivity => GoogleApi.PlayIntegrity.V1.Model.RecentDeviceActivity.t() | nil
3537
}
3638

39+
field(:deviceAttributes, as: GoogleApi.PlayIntegrity.V1.Model.DeviceAttributes)
3740
field(:deviceRecall, as: GoogleApi.PlayIntegrity.V1.Model.DeviceRecall)
3841
field(:deviceRecognitionVerdict, type: :list)
3942
field(:recentDeviceActivity, as: GoogleApi.PlayIntegrity.V1.Model.RecentDeviceActivity)

clients/play_integrity/mix.exs

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

21-
@version "0.10.1"
21+
@version "0.11.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)