Skip to content

Commit 168898a

Browse files
feat: Automated regeneration of AndroidManagement client (googleapis#12207)
Auto-created at 2024-09-25 13:17:54 +0000 using the toys pull request generator.
1 parent 6bf2a7b commit 168898a

File tree

6 files changed

+105
-3
lines changed

6 files changed

+105
-3
lines changed

clients/android_management/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_android_management, "~> 0.55"}]
14+
[{:google_api_android_management, "~> 0.56"}]
1515
end
1616
```
1717

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

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

23-
@discovery_revision "20240923"
23+
@discovery_revision "20240924"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/android_management/lib/google_api/android_management/v1/model/device_connectivity_management.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.DeviceConnectivityManagement do
2525
* `tetheringSettings` (*type:* `String.t`, *default:* `nil`) - Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering.
2626
* `usbDataAccess` (*type:* `String.t`, *default:* `nil`) - Controls what files and/or data can be transferred via USB. Supported only on company-owned devices.
2727
* `wifiDirectSettings` (*type:* `String.t`, *default:* `nil`) - Controls configuring and using Wi-Fi direct settings. Supported on company-owned devices running Android 13 and above.
28+
* `wifiRoamingPolicy` (*type:* `GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy.t`, *default:* `nil`) - Optional. Wi-Fi roaming policy.
2829
* `wifiSsidPolicy` (*type:* `GoogleApi.AndroidManagement.V1.Model.WifiSsidPolicy.t`, *default:* `nil`) - Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above.
2930
"""
3031

@@ -35,13 +36,15 @@ defmodule GoogleApi.AndroidManagement.V1.Model.DeviceConnectivityManagement do
3536
:tetheringSettings => String.t() | nil,
3637
:usbDataAccess => String.t() | nil,
3738
:wifiDirectSettings => String.t() | nil,
39+
:wifiRoamingPolicy => GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy.t() | nil,
3840
:wifiSsidPolicy => GoogleApi.AndroidManagement.V1.Model.WifiSsidPolicy.t() | nil
3941
}
4042

4143
field(:configureWifi)
4244
field(:tetheringSettings)
4345
field(:usbDataAccess)
4446
field(:wifiDirectSettings)
47+
field(:wifiRoamingPolicy, as: GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy)
4548
field(:wifiSsidPolicy, as: GoogleApi.AndroidManagement.V1.Model.WifiSsidPolicy)
4649
end
4750

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.AndroidManagement.V1.Model.WifiRoamingPolicy do
19+
@moduledoc """
20+
Wi-Fi roaming policy.
21+
22+
## Attributes
23+
24+
* `wifiRoamingSettings` (*type:* `list(GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting.t)`, *default:* `nil`) - Optional. Wi-Fi roaming settings. SSIDs provided in this list must be unique, the policy will be rejected otherwise.
25+
"""
26+
27+
use GoogleApi.Gax.ModelBase
28+
29+
@type t :: %__MODULE__{
30+
:wifiRoamingSettings =>
31+
list(GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting.t()) | nil
32+
}
33+
34+
field(:wifiRoamingSettings,
35+
as: GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting,
36+
type: :list
37+
)
38+
end
39+
40+
defimpl Poison.Decoder, for: GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy do
41+
def decode(value, options) do
42+
GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy.decode(value, options)
43+
end
44+
end
45+
46+
defimpl Poison.Encoder, for: GoogleApi.AndroidManagement.V1.Model.WifiRoamingPolicy do
47+
def encode(value, options) do
48+
GoogleApi.Gax.ModelBase.encode(value, options)
49+
end
50+
end
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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.AndroidManagement.V1.Model.WifiRoamingSetting do
19+
@moduledoc """
20+
Wi-Fi roaming setting.
21+
22+
## Attributes
23+
24+
* `wifiRoamingMode` (*type:* `String.t`, *default:* `nil`) - Required. Wi-Fi roaming mode for the specified SSID.
25+
* `wifiSsid` (*type:* `String.t`, *default:* `nil`) - Required. SSID of the Wi-Fi network.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:wifiRoamingMode => String.t() | nil,
32+
:wifiSsid => String.t() | nil
33+
}
34+
35+
field(:wifiRoamingMode)
36+
field(:wifiSsid)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting do
40+
def decode(value, options) do
41+
GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.AndroidManagement.V1.Model.WifiRoamingSetting do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end

clients/android_management/mix.exs

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

21-
@version "0.55.0"
21+
@version "0.56.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)