Skip to content

Commit 0ecbf16

Browse files
feat: Automated regeneration of AndroidEnterprise client (googleapis#12754)
Auto-created at 2025-01-02 13:16:07 +0000 using the toys pull request generator.
1 parent c205402 commit 0ecbf16

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

clients/android_enterprise/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_enterprise, "~> 0.30"}]
14+
[{:google_api_android_enterprise, "~> 0.31"}]
1515
end
1616
```
1717

clients/android_enterprise/lib/google_api/android_enterprise/v1/api/enterprises.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ defmodule GoogleApi.AndroidEnterprise.V1.Api.Enterprises do
168168
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
169169
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
170170
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
171-
* `:deviceType` (*type:* `String.t`) - Deprecated: Use enrollment_token instead. this field will be removed in the future.
172171
* `:"enrollmentToken.duration"` (*type:* `String.t`) - [Optional] The length of time the enrollment token is valid, ranging from 1 minute to [`Durations.MAX_VALUE`](https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour.
173172
* `:"enrollmentToken.enrollmentTokenType"` (*type:* `String.t`) - [Required] The type of the enrollment token.
174173
* `:"enrollmentToken.token"` (*type:* `String.t`) - The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.
@@ -207,7 +206,6 @@ defmodule GoogleApi.AndroidEnterprise.V1.Api.Enterprises do
207206
:quotaUser => :query,
208207
:uploadType => :query,
209208
:upload_protocol => :query,
210-
:deviceType => :query,
211209
:"enrollmentToken.duration" => :query,
212210
:"enrollmentToken.enrollmentTokenType" => :query,
213211
:"enrollmentToken.token" => :query

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

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

23-
@discovery_revision "20241113"
23+
@discovery_revision "20241217"
2424

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

clients/android_enterprise/lib/google_api/android_enterprise/v1/model/create_enrollment_token_response.ex

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,16 @@ defmodule GoogleApi.AndroidEnterprise.V1.Model.CreateEnrollmentTokenResponse do
2121
2222
## Attributes
2323
24-
* `enrollmentToken` (*type:* `String.t`, *default:* `nil`) - Deprecated: Use token instead. This field will be removed in the future.
25-
* `token` (*type:* `GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken.t`, *default:* `nil`) - [Required] The created enrollment token.
24+
* `enrollmentToken` (*type:* `GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken.t`, *default:* `nil`) - [Required] The created enrollment token.
2625
"""
2726

2827
use GoogleApi.Gax.ModelBase
2928

3029
@type t :: %__MODULE__{
31-
:enrollmentToken => String.t() | nil,
32-
:token => GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken.t() | nil
30+
:enrollmentToken => GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken.t() | nil
3331
}
3432

35-
field(:enrollmentToken)
36-
field(:token, as: GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken)
33+
field(:enrollmentToken, as: GoogleApi.AndroidEnterprise.V1.Model.EnrollmentToken)
3734
end
3835

3936
defimpl Poison.Decoder, for: GoogleApi.AndroidEnterprise.V1.Model.CreateEnrollmentTokenResponse do

clients/android_enterprise/mix.exs

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

21-
@version "0.30.0"
21+
@version "0.31.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)