Skip to content

Commit

Permalink
feat: Automated regeneration of AndroidManagement client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 3, 2024
1 parent 9457c42 commit f642b34
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/android_management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding

```elixir
def deps do
[{:google_api_android_management, "~> 0.56"}]
[{:google_api_android_management, "~> 0.57"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.AndroidManagement.V1 do
API client metadata for GoogleApi.AndroidManagement.V1.
"""

@discovery_revision "20241104"
@discovery_revision "20241203"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies do
* `maxDaysWithWorkOff` (*type:* `integer()`, *default:* `nil`) - Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. *Note:* If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.
* `personalApplications` (*type:* `list(GoogleApi.AndroidManagement.V1.Model.PersonalApplicationPolicy.t)`, *default:* `nil`) - Policy applied to applications in the personal profile.
* `personalPlayStoreMode` (*type:* `String.t`, *default:* `nil`) - Used together with personalApplications to control how apps in the personal profile are allowed or blocked.
* `privateSpacePolicy` (*type:* `String.t`, *default:* `nil`) - Optional. Controls whether a private space is allowed on the device.
* `screenCaptureDisabled` (*type:* `boolean()`, *default:* `nil`) - If true, screen capture is disabled for all users.
"""

Expand All @@ -38,6 +39,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies do
:personalApplications =>
list(GoogleApi.AndroidManagement.V1.Model.PersonalApplicationPolicy.t()) | nil,
:personalPlayStoreMode => String.t() | nil,
:privateSpacePolicy => String.t() | nil,
:screenCaptureDisabled => boolean() | nil
}

Expand All @@ -51,6 +53,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies do
)

field(:personalPlayStoreMode)
field(:privateSpacePolicy)
field(:screenCaptureDisabled)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.Policy do
* `usbMassStorageEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether USB storage is enabled. Deprecated.
* `persistentPreferredActivities` (*type:* `list(GoogleApi.AndroidManagement.V1.Model.PersistentPreferredActivity.t)`, *default:* `nil`) - Default intent handler activities.
* `kioskCustomLauncherEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether the kiosk custom launcher is enabled. This replaces the home screen with a launcher that locks down the device to the apps installed via the applications setting. Apps appear on a single page in alphabetical order. Use kioskCustomization to further configure the kiosk device behavior.
* `keyguardDisabled` (*type:* `boolean()`, *default:* `nil`) - If true, this disables the Lock Screen (https://source.android.com/docs/core/display/multi_display/lock-screen) for primary and/or secondary displays.
* `keyguardDisabled` (*type:* `boolean()`, *default:* `nil`) - If true, this disables the Lock Screen (https://source.android.com/docs/core/display/multi_display/lock-screen) for primary and/or secondary displays. This policy is supported only in dedicated device management mode.
* `ensureVerifyAppsEnabled` (*type:* `boolean()`, *default:* `nil`) - Whether app verification is force-enabled.
* `setupActions` (*type:* `list(GoogleApi.AndroidManagement.V1.Model.SetupAction.t)`, *default:* `nil`) - Action to take during the setup process. At most one action may be specified.
* `version` (*type:* `String.t`, *default:* `nil`) - The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.
Expand Down
2 changes: 1 addition & 1 deletion clients/android_management/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.AndroidManagement.Mixfile do
use Mix.Project

@version "0.56.2"
@version "0.57.0"

def project() do
[
Expand Down

0 comments on commit f642b34

Please sign in to comment.