From f642b34ca6425221cca219675ad0ac8e19e67b76 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 3 Dec 2024 13:14:54 +0000 Subject: [PATCH] feat: Automated regeneration of AndroidManagement client --- clients/android_management/README.md | 2 +- .../lib/google_api/android_management/v1/metadata.ex | 2 +- .../android_management/v1/model/personal_usage_policies.ex | 3 +++ .../lib/google_api/android_management/v1/model/policy.ex | 2 +- clients/android_management/mix.exs | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/clients/android_management/README.md b/clients/android_management/README.md index 1cd3bcf6a2..f9fb9d0218 100644 --- a/clients/android_management/README.md +++ b/clients/android_management/README.md @@ -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 ``` diff --git a/clients/android_management/lib/google_api/android_management/v1/metadata.ex b/clients/android_management/lib/google_api/android_management/v1/metadata.ex index 04af26bf9a..a8227d4d43 100644 --- a/clients/android_management/lib/google_api/android_management/v1/metadata.ex +++ b/clients/android_management/lib/google_api/android_management/v1/metadata.ex @@ -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 diff --git a/clients/android_management/lib/google_api/android_management/v1/model/personal_usage_policies.ex b/clients/android_management/lib/google_api/android_management/v1/model/personal_usage_policies.ex index 0e4a663cf0..eb0e2abb37 100644 --- a/clients/android_management/lib/google_api/android_management/v1/model/personal_usage_policies.ex +++ b/clients/android_management/lib/google_api/android_management/v1/model/personal_usage_policies.ex @@ -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. """ @@ -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 } @@ -51,6 +53,7 @@ defmodule GoogleApi.AndroidManagement.V1.Model.PersonalUsagePolicies do ) field(:personalPlayStoreMode) + field(:privateSpacePolicy) field(:screenCaptureDisabled) end diff --git a/clients/android_management/lib/google_api/android_management/v1/model/policy.ex b/clients/android_management/lib/google_api/android_management/v1/model/policy.ex index 6d20fbff17..4e5f8aa608 100644 --- a/clients/android_management/lib/google_api/android_management/v1/model/policy.ex +++ b/clients/android_management/lib/google_api/android_management/v1/model/policy.ex @@ -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. diff --git a/clients/android_management/mix.exs b/clients/android_management/mix.exs index 1b9071d903..24bfdf2379 100644 --- a/clients/android_management/mix.exs +++ b/clients/android_management/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.AndroidManagement.Mixfile do use Mix.Project - @version "0.56.2" + @version "0.57.0" def project() do [