Skip to content

Commit ae9cad9

Browse files
feat: Automated regeneration of AndroidManagement client (#13289)
Auto-created at 2025-04-03 13:14:37 +0000 using the toys pull request generator.
1 parent 206def9 commit ae9cad9

File tree

2 files changed

+50
-1
lines changed

2 files changed

+50
-1
lines changed

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 "20250306"
23+
@discovery_revision "20250402"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
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.EnterpriseUpgradeEvent do
19+
@moduledoc """
20+
An event sent for an enterprise upgrade. An enterprise upgrade is a process that upgrades a managed Google Play Accounts enterprise to a managed Google domain.
21+
22+
## Attributes
23+
24+
* `enterprise` (*type:* `String.t`, *default:* `nil`) - The name of upgraded enterprise in the format "enterprises/{enterprise}"
25+
* `upgradeState` (*type:* `String.t`, *default:* `nil`) - Output only. The upgrade state of the enterprise.
26+
"""
27+
28+
use GoogleApi.Gax.ModelBase
29+
30+
@type t :: %__MODULE__{
31+
:enterprise => String.t() | nil,
32+
:upgradeState => String.t() | nil
33+
}
34+
35+
field(:enterprise)
36+
field(:upgradeState)
37+
end
38+
39+
defimpl Poison.Decoder, for: GoogleApi.AndroidManagement.V1.Model.EnterpriseUpgradeEvent do
40+
def decode(value, options) do
41+
GoogleApi.AndroidManagement.V1.Model.EnterpriseUpgradeEvent.decode(value, options)
42+
end
43+
end
44+
45+
defimpl Poison.Encoder, for: GoogleApi.AndroidManagement.V1.Model.EnterpriseUpgradeEvent do
46+
def encode(value, options) do
47+
GoogleApi.Gax.ModelBase.encode(value, options)
48+
end
49+
end

0 commit comments

Comments
 (0)