| // Copyright 2022 The Chromium OS Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by generate_policy_schemas.py. DO NOT EDIT. |
| // Run the generator in gen/generate_policy_schemas.py instead. |
| |
| package tape |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AutoLaunchAppKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AutoLaunchAppKiosk struct { |
| AppId string `json:"appId"` |
| EnableHealthMonitoring bool `json:"enableHealthMonitoring"` |
| ScreenRotation Rotation `json:"screenRotation"` |
| } |
| |
| type Rotation int |
| |
| const ( |
| ROTATION_ROTATE_0 Rotation = iota // 0 |
| ROTATION_ROTATE_90 // 1 |
| ROTATION_ROTATE_180 // 2 |
| ROTATION_ROTATE_270 // 3 |
| ) |
| |
| func (p *AutoLaunchAppKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.appsconfig.AutoLaunchApp", p, []string{"appId", "enableHealthMonitoring", "screenRotation"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // InstallTypeMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type InstallTypeMGS struct { |
| AppInstallType ManagedGuestSessionAppInstallType `json:"appInstallType"` |
| } |
| |
| type ManagedGuestSessionAppInstallType int |
| |
| const ( |
| MANAGEDGUESTSESSIONAPPINSTALLTYPE_NOT_INSTALLED ManagedGuestSessionAppInstallType = iota // 0 |
| MANAGEDGUESTSESSIONAPPINSTALLTYPE_FORCED // 1 |
| MANAGEDGUESTSESSIONAPPINSTALLTYPE_FORCED_AND_PIN_TO_TOOLBAR // 2 |
| ) |
| |
| func (p *InstallTypeMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.InstallType", p, []string{"appInstallType"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // IncludeInChromeWebStoreCollectionMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type IncludeInChromeWebStoreCollectionMGS struct { |
| IncludeInCollection bool `json:"includeInCollection"` |
| } |
| |
| func (p *IncludeInChromeWebStoreCollectionMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.IncludeInChromeWebStoreCollection", p, []string{"includeInCollection"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CertificateManagementMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CertificateManagementMGS struct { |
| AllowAccessToKeys bool `json:"allowAccessToKeys"` |
| AllowEnterpriseChallenge bool `json:"allowEnterpriseChallenge"` |
| } |
| |
| func (p *CertificateManagementMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.CertificateManagement", p, []string{"allowAccessToKeys", "allowEnterpriseChallenge"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PermissionsAndUrlAccessMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PermissionsAndUrlAccessMGS struct { |
| BlockedPermissions []string `json:"blockedPermissions"` |
| AllowedPermissions []string `json:"allowedPermissions"` |
| BlockedHosts []string `json:"blockedHosts"` |
| AllowedHosts []string `json:"allowedHosts"` |
| } |
| |
| func (p *PermissionsAndUrlAccessMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.PermissionsAndUrlAccess", p, []string{"blockedPermissions", "allowedPermissions", "blockedHosts", "allowedHosts"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ManagedConfigurationMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ManagedConfigurationMGS struct { |
| ManagedConfiguration string `json:"managedConfiguration"` |
| } |
| |
| func (p *ManagedConfigurationMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.ManagedConfiguration", p, []string{"managedConfiguration"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SkipPrintConfirmationMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SkipPrintConfirmationMGS struct { |
| SkipPrintConfirmation bool `json:"skipPrintConfirmation"` |
| } |
| |
| func (p *SkipPrintConfirmationMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.SkipPrintConfirmation", p, []string{"skipPrintConfirmation"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // InstallationUrlMGS |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type InstallationUrlMGS struct { |
| InstallationUrl string `json:"installationUrl"` |
| } |
| |
| func (p *InstallationUrlMGS) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.managedguest.apps.InstallationUrl", p, []string{"installationUrl"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ForceInstallKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ForceInstallKiosk struct { |
| ForceInstall bool `json:"forceInstall"` |
| } |
| |
| func (p *ForceInstallKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.ForceInstall", p, []string{"forceInstall"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PowerManagementKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PowerManagementKiosk struct { |
| AllowPowerManagement bool `json:"allowPowerManagement"` |
| } |
| |
| func (p *PowerManagementKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.PowerManagement", p, []string{"allowPowerManagement"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // UnifiedDesktopKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type UnifiedDesktopKiosk struct { |
| EnableUnifiedDesktop bool `json:"enableUnifiedDesktop"` |
| } |
| |
| func (p *UnifiedDesktopKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.UnifiedDesktop", p, []string{"enableUnifiedDesktop"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // VirtualKeyboardKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type VirtualKeyboardKiosk struct { |
| AllowVirtualKeyboard bool `json:"allowVirtualKeyboard"` |
| } |
| |
| func (p *VirtualKeyboardKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.VirtualKeyboard", p, []string{"allowVirtualKeyboard"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PluginsKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PluginsKiosk struct { |
| AllowPlugins bool `json:"allowPlugins"` |
| } |
| |
| func (p *PluginsKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.Plugins", p, []string{"allowPlugins"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // FunctionKeysKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type FunctionKeysKiosk struct { |
| AllowFunctionKeys bool `json:"allowFunctionKeys"` |
| } |
| |
| func (p *FunctionKeysKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.FunctionKeys", p, []string{"allowFunctionKeys"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ManagedConfigurationKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ManagedConfigurationKiosk struct { |
| ManagedConfiguration string `json:"managedConfiguration"` |
| } |
| |
| func (p *ManagedConfigurationKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.ManagedConfiguration", p, []string{"managedConfiguration"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // InstallationUrlKiosk |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type InstallationUrlKiosk struct { |
| InstallationUrl string `json:"installationUrl"` |
| } |
| |
| func (p *InstallationUrlKiosk) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.devices.kiosk.apps.InstallationUrl", p, []string{"installationUrl"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AllowForUsers |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AllowForUsers struct { |
| AllowForUsers bool `json:"allowForUsers"` |
| } |
| |
| func (p *AllowForUsers) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.printers.AllowForUsers", p, []string{"allowForUsers"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AllowForDevices |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AllowForDevices struct { |
| AllowForDevices bool `json:"allowForDevices"` |
| } |
| |
| func (p *AllowForDevices) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.printers.AllowForDevices", p, []string{"allowForDevices"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AllowForManagedGuest |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AllowForManagedGuest struct { |
| AllowForManagedGuest bool `json:"allowForManagedGuest"` |
| } |
| |
| func (p *AllowForManagedGuest) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.printers.AllowForManagedGuest", p, []string{"allowForManagedGuest"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SessionLength |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SessionLength struct { |
| SessionDurationLimit NullableDuration `json:"sessionDurationLimit"` |
| } |
| |
| type NullableDuration struct { |
| Duration Duration `json:"duration"` |
| } |
| |
| type Duration struct { |
| Seconds int64 `json:"seconds"` |
| Nanos int `json:"nanos"` |
| } |
| |
| func (p *SessionLength) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SessionLength", p, []string{"sessionDurationLimit"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // Avatar |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type Avatar struct { |
| UserAvatarImage UploadedFile `json:"userAvatarImage"` |
| } |
| |
| type UploadedFile struct { |
| DownloadUri string `json:"downloadUri"` |
| } |
| |
| func (p *Avatar) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.Avatar", p, []string{"userAvatarImage"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // Wallpaper |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type Wallpaper struct { |
| WallpaperImage UploadedFile `json:"wallpaperImage"` |
| } |
| |
| func (p *Wallpaper) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.Wallpaper", p, []string{"wallpaperImage"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // BrowserThemeColor |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type BrowserThemeColor struct { |
| BrowserThemeColor string `json:"browserThemeColor"` |
| } |
| |
| func (p *BrowserThemeColor) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.BrowserThemeColor", p, []string{"browserThemeColor"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // BrowserSignin |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type BrowserSignin struct { |
| BrowserSignin BrowserSigninModeEnum `json:"browserSignin"` |
| } |
| |
| type BrowserSigninModeEnum int |
| |
| const ( |
| BROWSERSIGNINMODEENUM_BROWSER_SIGNIN_MODE_ENUM_DISABLE BrowserSigninModeEnum = iota // 0 |
| BROWSERSIGNINMODEENUM_BROWSER_SIGNIN_MODE_ENUM_ENABLE // 1 |
| BROWSERSIGNINMODEENUM_BROWSER_SIGNIN_MODE_ENUM_FORCE // 2 |
| ) |
| |
| func (p *BrowserSignin) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.BrowserSignin", p, []string{"browserSignin"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RestrictSigninToPattern |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RestrictSigninToPattern struct { |
| RestrictSigninToPattern string `json:"restrictSigninToPattern"` |
| } |
| |
| func (p *RestrictSigninToPattern) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RestrictSigninToPattern", p, []string{"restrictSigninToPattern"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SigninInterceptionEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SigninInterceptionEnabled struct { |
| SigninInterceptionEnabled bool `json:"signinInterceptionEnabled"` |
| } |
| |
| func (p *SigninInterceptionEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SigninInterceptionEnabled", p, []string{"signinInterceptionEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // LoginDisplayPasswordButtonEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type LoginDisplayPasswordButtonEnabled struct { |
| LoginDisplayPasswordButtonEnabled bool `json:"loginDisplayPasswordButtonEnabled"` |
| } |
| |
| func (p *LoginDisplayPasswordButtonEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.LoginDisplayPasswordButtonEnabled", p, []string{"loginDisplayPasswordButtonEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // MobileManagement |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type MobileManagement struct { |
| EnableMobileChromePolicies bool `json:"enableMobileChromePolicies"` |
| } |
| |
| func (p *MobileManagement) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.MobileManagement", p, []string{"enableMobileChromePolicies"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // DeviceEnrollment |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type DeviceEnrollment struct { |
| AutoDevicePlacementEnabled bool `json:"autoDevicePlacementEnabled"` |
| } |
| |
| func (p *DeviceEnrollment) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.DeviceEnrollment", p, []string{"autoDevicePlacementEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AllowPopulateAssetIdentifier |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AllowPopulateAssetIdentifier struct { |
| AllowToUpdateDeviceAttribute bool `json:"allowToUpdateDeviceAttribute"` |
| } |
| |
| func (p *AllowPopulateAssetIdentifier) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AllowPopulateAssetIdentifier", p, []string{"allowToUpdateDeviceAttribute"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // EnrollPermission |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type EnrollPermission struct { |
| DeviceEnrollPermission AllowToEnrollDevicesEnum `json:"deviceEnrollPermission"` |
| } |
| |
| type AllowToEnrollDevicesEnum int |
| |
| const ( |
| ALLOWTOENROLLDEVICESENUM_ALLOW_TO_ENROLL_DEVICES_ENUM_ALLOW_ENROLL_RE_ENROLL AllowToEnrollDevicesEnum = iota // 0 |
| ALLOWTOENROLLDEVICESENUM_ALLOW_TO_ENROLL_DEVICES_ENUM_ALLOW_RE_ENROLL // 1 |
| ALLOWTOENROLLDEVICESENUM_ALLOW_TO_ENROLL_DEVICES_ENUM_DISALLOW_ENROLL_RE_ENROLL // 2 |
| ) |
| |
| func (p *EnrollPermission) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.EnrollPermission", p, []string{"deviceEnrollPermission"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // TaskManager |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type TaskManager struct { |
| TaskManagerEndProcessEnabled bool `json:"taskManagerEndProcessEnabled"` |
| } |
| |
| func (p *TaskManager) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.TaskManager", p, []string{"taskManagerEndProcessEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SiteIsolationBrowser |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SiteIsolationBrowser struct { |
| IsolateOrigins []string `json:"isolateOrigins"` |
| SitePerProcess bool `json:"sitePerProcess"` |
| } |
| |
| func (p *SiteIsolationBrowser) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SiteIsolationBrowser", p, []string{"isolateOrigins", "sitePerProcess"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SiteIsolationAndroid |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SiteIsolationAndroid struct { |
| SitePerProcessAndroid NullableBoolean `json:"sitePerProcessAndroid"` |
| IsolateOriginsAndroid []string `json:"isolateOriginsAndroid"` |
| } |
| |
| type NullableBoolean int |
| |
| const ( |
| NULLABLEBOOLEAN_UNSET NullableBoolean = iota // 0 |
| NULLABLEBOOLEAN_FALSE // 1 |
| NULLABLEBOOLEAN_TRUE // 2 |
| ) |
| |
| func (p *SiteIsolationAndroid) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SiteIsolationAndroid", p, []string{"sitePerProcessAndroid", "isolateOriginsAndroid"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PasswordManager |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PasswordManager struct { |
| PasswordManagerEnabled NullableBoolean `json:"passwordManagerEnabled"` |
| } |
| |
| func (p *PasswordManager) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.PasswordManager", p, []string{"passwordManagerEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // LockScreen |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type LockScreen struct { |
| AllowScreenLock bool `json:"allowScreenLock"` |
| } |
| |
| func (p *LockScreen) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.LockScreen", p, []string{"allowScreenLock"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // QuickUnlockModeAllowlist |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type QuickUnlockModeAllowlist struct { |
| QuickUnlockModeAllowlist []string `json:"quickUnlockModeAllowlist"` |
| } |
| |
| func (p *QuickUnlockModeAllowlist) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.QuickUnlockModeAllowlist", p, []string{"quickUnlockModeAllowlist"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PinUnlockAutosubmitEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PinUnlockAutosubmitEnabled struct { |
| PinUnlockAutosubmitEnabled bool `json:"pinUnlockAutosubmitEnabled"` |
| } |
| |
| func (p *PinUnlockAutosubmitEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.PinUnlockAutosubmitEnabled", p, []string{"pinUnlockAutosubmitEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // LockScreenMediaPlaybackEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type LockScreenMediaPlaybackEnabled struct { |
| LockScreenMediaPlaybackEnabled bool `json:"lockScreenMediaPlaybackEnabled"` |
| } |
| |
| func (p *LockScreenMediaPlaybackEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.LockScreenMediaPlaybackEnabled", p, []string{"lockScreenMediaPlaybackEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // IdleSettings |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type IdleSettings struct { |
| IdleTimeoutMinutes string `json:"idleTimeoutMinutes"` |
| ActionOnDeviceIdle ActionOnDeviceIdleEnum `json:"actionOnDeviceIdle"` |
| ActionOnLidClose ActionOnLidCloseEnum `json:"actionOnLidClose"` |
| LockOnSleep NullableBoolean `json:"lockOnSleep"` |
| } |
| |
| type ActionOnDeviceIdleEnum int |
| |
| const ( |
| ACTIONONDEVICEIDLEENUM_ACTION_ON_DEVICE_IDLE_ENUM_SLEEP ActionOnDeviceIdleEnum = iota // 0 |
| ACTIONONDEVICEIDLEENUM_ACTION_ON_DEVICE_IDLE_ENUM_LOGOUT // 1 |
| ACTIONONDEVICEIDLEENUM_ACTION_ON_DEVICE_IDLE_ENUM_LOCK // 2 |
| ) |
| |
| type ActionOnLidCloseEnum int |
| |
| const ( |
| ACTIONONLIDCLOSEENUM_ACTION_ON_LID_CLOSE_ENUM_SLEEP ActionOnLidCloseEnum = iota // 0 |
| ACTIONONLIDCLOSEENUM_ACTION_ON_LID_CLOSE_ENUM_LOGOUT // 1 |
| ) |
| |
| func (p *IdleSettings) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.IdleSettings", p, []string{"idleTimeoutMinutes", "actionOnDeviceIdle", "actionOnLidClose", "lockOnSleep"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // IncognitoMode |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type IncognitoMode struct { |
| IncognitoModeAvailability IncognitoModeAvailabilityEnum `json:"incognitoModeAvailability"` |
| } |
| |
| type IncognitoModeAvailabilityEnum int |
| |
| const ( |
| INCOGNITOMODEAVAILABILITYENUM_INCOGNITO_MODE_AVAILABILITY_ENUM_AVAILABLE IncognitoModeAvailabilityEnum = iota // 0 |
| INCOGNITOMODEAVAILABILITYENUM_INCOGNITO_MODE_AVAILABILITY_ENUM_UNAVAILABLE // 1 |
| ) |
| |
| func (p *IncognitoMode) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.IncognitoMode", p, []string{"incognitoModeAvailability"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // BrowserHistory |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type BrowserHistory struct { |
| SavingBrowserHistoryDisabled bool `json:"savingBrowserHistoryDisabled"` |
| } |
| |
| func (p *BrowserHistory) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.BrowserHistory", p, []string{"savingBrowserHistoryDisabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ClearBrowserHistory |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ClearBrowserHistory struct { |
| AllowDeletingBrowserHistory bool `json:"allowDeletingBrowserHistory"` |
| } |
| |
| func (p *ClearBrowserHistory) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ClearBrowserHistory", p, []string{"allowDeletingBrowserHistory"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ForceEphemeralMode |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ForceEphemeralMode struct { |
| ForceEphemeralProfiles bool `json:"forceEphemeralProfiles"` |
| } |
| |
| func (p *ForceEphemeralMode) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ForceEphemeralMode", p, []string{"forceEphemeralProfiles"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // OnlineRevocationChecks |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type OnlineRevocationChecks struct { |
| EnableOnlineRevocationChecks bool `json:"enableOnlineRevocationChecks"` |
| } |
| |
| func (p *OnlineRevocationChecks) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.OnlineRevocationChecks", p, []string{"enableOnlineRevocationChecks"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // Geolocation |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type Geolocation struct { |
| DefaultGeolocationSetting GeolocationSettingEnum `json:"defaultGeolocationSetting"` |
| } |
| |
| type GeolocationSettingEnum int |
| |
| const ( |
| GEOLOCATIONSETTINGENUM_GEOLOCATION_SETTING_ENUM_ALLOW_GEOLOCATION GeolocationSettingEnum = iota // 0 |
| GEOLOCATIONSETTINGENUM_GEOLOCATION_SETTING_ENUM_BLOCK_GEOLOCATION // 1 |
| GEOLOCATIONSETTINGENUM_GEOLOCATION_SETTING_ENUM_ASK_GEOLOCATION // 2 |
| GEOLOCATIONSETTINGENUM_GEOLOCATION_SETTING_ENUM_USER_CHOICE // 3 |
| ) |
| |
| func (p *Geolocation) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.Geolocation", p, []string{"defaultGeolocationSetting"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // GaiaOfflineSigninTimeLimitDays |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type GaiaOfflineSigninTimeLimitDays struct { |
| GaiaOfflineSigninTimeLimitDays NullableLong `json:"gaiaOfflineSigninTimeLimitDays"` |
| } |
| |
| type NullableLong struct { |
| Value int64 `json:"value"` |
| } |
| |
| func (p *GaiaOfflineSigninTimeLimitDays) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.GaiaOfflineSigninTimeLimitDays", p, []string{"gaiaOfflineSigninTimeLimitDays"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // GaiaLockScreenOfflineSigninTimeLimitDays |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type GaiaLockScreenOfflineSigninTimeLimitDays struct { |
| GaiaLockScreenOfflineSigninTimeLimitDays NullableLong `json:"gaiaLockScreenOfflineSigninTimeLimitDays"` |
| } |
| |
| func (p *GaiaLockScreenOfflineSigninTimeLimitDays) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.GaiaLockScreenOfflineSigninTimeLimitDays", p, []string{"gaiaLockScreenOfflineSigninTimeLimitDays"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SingleSignOn |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SingleSignOn struct { |
| IdpRedirectEnabled bool `json:"idpRedirectEnabled"` |
| } |
| |
| func (p *SingleSignOn) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SingleSignOn", p, []string{"idpRedirectEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SingleSignOnLoginFrequency |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SingleSignOnLoginFrequency struct { |
| SamlOfflineSigninTimeLimit SamlSigninTimeLimitEnum `json:"samlOfflineSigninTimeLimit"` |
| } |
| |
| type SamlSigninTimeLimitEnum int |
| |
| const ( |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_ONE_DAY SamlSigninTimeLimitEnum = iota // 0 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_THREE_DAYS // 1 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_ONE_WEEK // 2 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_TWO_WEEKS // 3 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_THREE_WEEKS // 4 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_FOUR_WEEKS // 5 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_EVERY_TIME // 6 |
| SAMLSIGNINTIMELIMITENUM_SAML_SIGNIN_TIME_LIMIT_ENUM_SAML_NEVER // 7 |
| ) |
| |
| func (p *SingleSignOnLoginFrequency) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SingleSignOnLoginFrequency", p, []string{"samlOfflineSigninTimeLimit"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SamlLockScreenOfflineSigninTimeLimitDays |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SamlLockScreenOfflineSigninTimeLimitDays struct { |
| SamlLockScreenOfflineSigninTimeLimitDays NullableLong `json:"samlLockScreenOfflineSigninTimeLimitDays"` |
| } |
| |
| func (p *SamlLockScreenOfflineSigninTimeLimitDays) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SamlLockScreenOfflineSigninTimeLimitDays", p, []string{"samlLockScreenOfflineSigninTimeLimitDays"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CertificateTransparencyEnforcementDisabledForUrls |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CertificateTransparencyEnforcementDisabledForUrls struct { |
| CertificateTransparencyEnforcementDisabledForUrls []string `json:"certificateTransparencyEnforcementDisabledForUrls"` |
| } |
| |
| func (p *CertificateTransparencyEnforcementDisabledForUrls) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CertificateTransparencyEnforcementDisabledForUrls", p, []string{"certificateTransparencyEnforcementDisabledForUrls"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CertTransparencyCas |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CertTransparencyCas struct { |
| CertificateTransparencyEnforcementDisabledForCas []string `json:"certificateTransparencyEnforcementDisabledForCas"` |
| } |
| |
| func (p *CertTransparencyCas) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CertTransparencyCas", p, []string{"certificateTransparencyEnforcementDisabledForCas"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CertTransparencyLegacyCas |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CertTransparencyLegacyCas struct { |
| CertificateTransparencyEnforcementDisabledForLegacyCas []string `json:"certificateTransparencyEnforcementDisabledForLegacyCas"` |
| } |
| |
| func (p *CertTransparencyLegacyCas) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CertTransparencyLegacyCas", p, []string{"certificateTransparencyEnforcementDisabledForLegacyCas"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CaCertificateManagementAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CaCertificateManagementAllowed struct { |
| CaCertificateManagementAllowed CACertificateManagementAllowedEnum `json:"caCertificateManagementAllowed"` |
| } |
| |
| type CACertificateManagementAllowedEnum int |
| |
| const ( |
| CACERTIFICATEMANAGEMENTALLOWEDENUM_CA_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_ALL CACertificateManagementAllowedEnum = iota // 0 |
| CACERTIFICATEMANAGEMENTALLOWEDENUM_CA_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_USER_ONLY // 1 |
| CACERTIFICATEMANAGEMENTALLOWEDENUM_CA_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_NONE // 2 |
| ) |
| |
| func (p *CaCertificateManagementAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CaCertificateManagementAllowed", p, []string{"caCertificateManagementAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ClientCertificateManagementAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ClientCertificateManagementAllowed struct { |
| ClientCertificateManagementAllowed ClientCertificateManagementAllowedEnum `json:"clientCertificateManagementAllowed"` |
| } |
| |
| type ClientCertificateManagementAllowedEnum int |
| |
| const ( |
| CLIENTCERTIFICATEMANAGEMENTALLOWEDENUM_CLIENT_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_ALL ClientCertificateManagementAllowedEnum = iota // 0 |
| CLIENTCERTIFICATEMANAGEMENTALLOWEDENUM_CLIENT_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_USER_ONLY // 1 |
| CLIENTCERTIFICATEMANAGEMENTALLOWEDENUM_CLIENT_CERTIFICATE_MANAGEMENT_ALLOWED_ENUM_NONE // 2 |
| ) |
| |
| func (p *ClientCertificateManagementAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ClientCertificateManagementAllowed", p, []string{"clientCertificateManagementAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CpuTaskScheduler |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CpuTaskScheduler struct { |
| SchedulerConfiguration SchedulerConfigurationEnum `json:"schedulerConfiguration"` |
| } |
| |
| type SchedulerConfigurationEnum int |
| |
| const ( |
| SCHEDULERCONFIGURATIONENUM_SCHEDULER_CONFIGURATION_ENUM_USER_CHOICE SchedulerConfigurationEnum = iota // 0 |
| SCHEDULERCONFIGURATIONENUM_SCHEDULER_CONFIGURATION_ENUM_CONSERVATIVE // 1 |
| SCHEDULERCONFIGURATIONENUM_SCHEDULER_CONFIGURATION_ENUM_PERFORMANCE // 2 |
| ) |
| |
| func (p *CpuTaskScheduler) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CpuTaskScheduler", p, []string{"schedulerConfiguration"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RendererCodeIntegrityEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RendererCodeIntegrityEnabled struct { |
| RendererCodeIntegrityEnabled bool `json:"rendererCodeIntegrityEnabled"` |
| } |
| |
| func (p *RendererCodeIntegrityEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RendererCodeIntegrityEnabled", p, []string{"rendererCodeIntegrityEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // PasswordLeakDetection |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type PasswordLeakDetection struct { |
| PasswordLeakDetection NullableBoolean `json:"passwordLeakDetection"` |
| } |
| |
| func (p *PasswordLeakDetection) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.PasswordLeakDetection", p, []string{"passwordLeakDetection"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AmbientAuthenticationInPrivateModesEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AmbientAuthenticationInPrivateModesEnabled struct { |
| AmbientAuthenticationInPrivateModesEnabled AmbientAuthenticationInPrivateModesEnabledEnum `json:"ambientAuthenticationInPrivateModesEnabled"` |
| } |
| |
| type AmbientAuthenticationInPrivateModesEnabledEnum int |
| |
| const ( |
| AMBIENTAUTHENTICATIONINPRIVATEMODESENABLEDENUM_AMBIENT_AUTHENTICATION_IN_PRIVATE_MODES_ENABLED_ENUM_UNSET AmbientAuthenticationInPrivateModesEnabledEnum = iota // 0 |
| AMBIENTAUTHENTICATIONINPRIVATEMODESENABLEDENUM_AMBIENT_AUTHENTICATION_IN_PRIVATE_MODES_ENABLED_ENUM_REGULAR_ONLY // 1 |
| AMBIENTAUTHENTICATIONINPRIVATEMODESENABLEDENUM_AMBIENT_AUTHENTICATION_IN_PRIVATE_MODES_ENABLED_ENUM_INCOGNITO_AND_REGULAR // 2 |
| AMBIENTAUTHENTICATIONINPRIVATEMODESENABLEDENUM_AMBIENT_AUTHENTICATION_IN_PRIVATE_MODES_ENABLED_ENUM_GUEST_AND_REGULAR // 3 |
| AMBIENTAUTHENTICATIONINPRIVATEMODESENABLEDENUM_AMBIENT_AUTHENTICATION_IN_PRIVATE_MODES_ENABLED_ENUM_ALL // 4 |
| ) |
| |
| func (p *AmbientAuthenticationInPrivateModesEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AmbientAuthenticationInPrivateModesEnabled", p, []string{"ambientAuthenticationInPrivateModesEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ChromeCleanupEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ChromeCleanupEnabled struct { |
| ChromeCleanupEnabled bool `json:"chromeCleanupEnabled"` |
| ChromeCleanupReportingEnabled NullableBoolean `json:"chromeCleanupReportingEnabled"` |
| } |
| |
| func (p *ChromeCleanupEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ChromeCleanupEnabled", p, []string{"chromeCleanupEnabled", "chromeCleanupReportingEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ThirdPartyBlockingEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ThirdPartyBlockingEnabled struct { |
| ThirdPartyBlockingEnabled bool `json:"thirdPartyBlockingEnabled"` |
| } |
| |
| func (p *ThirdPartyBlockingEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ThirdPartyBlockingEnabled", p, []string{"thirdPartyBlockingEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AudioSandboxEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AudioSandboxEnabled struct { |
| AudioSandboxEnabled NullableBoolean `json:"audioSandboxEnabled"` |
| } |
| |
| func (p *AudioSandboxEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AudioSandboxEnabled", p, []string{"audioSandboxEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SuppressUnsupportedOsWarning |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SuppressUnsupportedOsWarning struct { |
| SuppressUnsupportedOsWarning bool `json:"suppressUnsupportedOsWarning"` |
| } |
| |
| func (p *SuppressUnsupportedOsWarning) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SuppressUnsupportedOsWarning", p, []string{"suppressUnsupportedOsWarning"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AdvancedProtectionAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AdvancedProtectionAllowed struct { |
| AdvancedProtectionAllowed bool `json:"advancedProtectionAllowed"` |
| } |
| |
| func (p *AdvancedProtectionAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AdvancedProtectionAllowed", p, []string{"advancedProtectionAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // OverrideSecurityRestrictionsOnInsecureOrigin |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type OverrideSecurityRestrictionsOnInsecureOrigin struct { |
| OverrideSecurityRestrictionsOnInsecureOrigin []string `json:"overrideSecurityRestrictionsOnInsecureOrigin"` |
| } |
| |
| func (p *OverrideSecurityRestrictionsOnInsecureOrigin) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.OverrideSecurityRestrictionsOnInsecureOrigin", p, []string{"overrideSecurityRestrictionsOnInsecureOrigin"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CommandLineFlagSecurityWarningsEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CommandLineFlagSecurityWarningsEnabled struct { |
| CommandLineFlagSecurityWarningsEnabled bool `json:"commandLineFlagSecurityWarningsEnabled"` |
| } |
| |
| func (p *CommandLineFlagSecurityWarningsEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CommandLineFlagSecurityWarningsEnabled", p, []string{"commandLineFlagSecurityWarningsEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // TargetBlankImpliesNoOpener |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type TargetBlankImpliesNoOpener struct { |
| TargetBlankImpliesNoOpener bool `json:"targetBlankImpliesNoOpener"` |
| } |
| |
| func (p *TargetBlankImpliesNoOpener) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.TargetBlankImpliesNoOpener", p, []string{"targetBlankImpliesNoOpener"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SecurityTokenSessionSettings |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SecurityTokenSessionSettings struct { |
| SecurityTokenSessionBehavior SecurityTokenSessionBehaviorEnum `json:"securityTokenSessionBehavior"` |
| SecurityTokenSessionNotificationSeconds NullableDuration `json:"securityTokenSessionNotificationSeconds"` |
| } |
| |
| type SecurityTokenSessionBehaviorEnum int |
| |
| const ( |
| SECURITYTOKENSESSIONBEHAVIORENUM_SECURITY_TOKEN_SESSION_BEHAVIOR_ENUM_IGNORE SecurityTokenSessionBehaviorEnum = iota // 0 |
| SECURITYTOKENSESSIONBEHAVIORENUM_SECURITY_TOKEN_SESSION_BEHAVIOR_ENUM_LOGOUT // 1 |
| SECURITYTOKENSESSIONBEHAVIORENUM_SECURITY_TOKEN_SESSION_BEHAVIOR_ENUM_LOCK // 2 |
| ) |
| |
| func (p *SecurityTokenSessionSettings) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SecurityTokenSessionSettings", p, []string{"securityTokenSessionBehavior", "securityTokenSessionNotificationSeconds"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AllowSystemNotifications |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AllowSystemNotifications struct { |
| AllowSystemNotifications bool `json:"allowSystemNotifications"` |
| } |
| |
| func (p *AllowSystemNotifications) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AllowSystemNotifications", p, []string{"allowSystemNotifications"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // TripleDesEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type TripleDesEnabled struct { |
| TripleDesEnabled NullableBoolean `json:"tripleDesEnabled"` |
| } |
| |
| func (p *TripleDesEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.TripleDesEnabled", p, []string{"tripleDesEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RemoteDebuggingAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RemoteDebuggingAllowed struct { |
| RemoteDebuggingAllowed bool `json:"remoteDebuggingAllowed"` |
| } |
| |
| func (p *RemoteDebuggingAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RemoteDebuggingAllowed", p, []string{"remoteDebuggingAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // DisplayCapturePermissionsPolicyEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type DisplayCapturePermissionsPolicyEnabled struct { |
| DisplayCapturePermissionsPolicyEnabled bool `json:"displayCapturePermissionsPolicyEnabled"` |
| } |
| |
| func (p *DisplayCapturePermissionsPolicyEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.DisplayCapturePermissionsPolicyEnabled", p, []string{"displayCapturePermissionsPolicyEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RemoteAccessHostClientDomainList |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RemoteAccessHostClientDomainList struct { |
| RemoteAccessHostClientDomainList []string `json:"remoteAccessHostClientDomainList"` |
| } |
| |
| func (p *RemoteAccessHostClientDomainList) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RemoteAccessHostClientDomainList", p, []string{"remoteAccessHostClientDomainList"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RemoteAccessHostDomainList |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RemoteAccessHostDomainList struct { |
| RemoteAccessHostDomainList []string `json:"remoteAccessHostDomainList"` |
| } |
| |
| func (p *RemoteAccessHostDomainList) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RemoteAccessHostDomainList", p, []string{"remoteAccessHostDomainList"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // RemoteAccessHostFirewallTraversal |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type RemoteAccessHostFirewallTraversal struct { |
| RemoteAccessHostFirewallTraversal bool `json:"remoteAccessHostFirewallTraversal"` |
| RemoteAccessHostAllowRelayedConnection bool `json:"remoteAccessHostAllowRelayedConnection"` |
| RemoteAccessHostUdpPortRange string `json:"remoteAccessHostUdpPortRange"` |
| } |
| |
| func (p *RemoteAccessHostFirewallTraversal) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.RemoteAccessHostFirewallTraversal", p, []string{"remoteAccessHostFirewallTraversal", "remoteAccessHostAllowRelayedConnection", "remoteAccessHostUdpPortRange"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // ShowLogoutButton |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type ShowLogoutButton struct { |
| ShowLogoutButtonInTray bool `json:"showLogoutButtonInTray"` |
| } |
| |
| func (p *ShowLogoutButton) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.ShowLogoutButton", p, []string{"showLogoutButtonInTray"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // KerberosTickets |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type KerberosTickets struct { |
| KerberosEnabled bool `json:"kerberosEnabled"` |
| KerberosPrincipal string `json:"kerberosPrincipal"` |
| KerberosConfiguration []string `json:"kerberosConfiguration"` |
| KerberosAutoAccountEnabled bool `json:"kerberosAutoAccountEnabled"` |
| KerberosCustomConfigurationEnabled bool `json:"kerberosCustomConfigurationEnabled"` |
| } |
| |
| func (p *KerberosTickets) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.KerberosTickets", p, []string{"kerberosEnabled", "kerberosPrincipal", "kerberosConfiguration", "kerberosAutoAccountEnabled", "kerberosCustomConfigurationEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // KerberosRememberPasswordEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type KerberosRememberPasswordEnabled struct { |
| KerberosRememberPasswordEnabled bool `json:"kerberosRememberPasswordEnabled"` |
| } |
| |
| func (p *KerberosRememberPasswordEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.KerberosRememberPasswordEnabled", p, []string{"kerberosRememberPasswordEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // KerberosAddAccountsAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type KerberosAddAccountsAllowed struct { |
| KerberosAddAccountsAllowed bool `json:"kerberosAddAccountsAllowed"` |
| } |
| |
| func (p *KerberosAddAccountsAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.KerberosAddAccountsAllowed", p, []string{"kerberosAddAccountsAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SimpleProxySettings |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SimpleProxySettings struct { |
| SimpleProxyMode ProxyModeEnum `json:"simpleProxyMode"` |
| SimpleProxyServerUrl string `json:"simpleProxyServerUrl"` |
| SimpleProxyPacUrl string `json:"simpleProxyPacUrl"` |
| ProxyBypassList []string `json:"proxyBypassList"` |
| } |
| |
| type ProxyModeEnum int |
| |
| const ( |
| PROXYMODEENUM_PROXY_MODE_ENUM_USER_CONFIGURED ProxyModeEnum = iota // 0 |
| PROXYMODEENUM_PROXY_MODE_ENUM_DIRECT // 1 |
| PROXYMODEENUM_PROXY_MODE_ENUM_AUTO_DETECT // 2 |
| PROXYMODEENUM_PROXY_MODE_ENUM_FIXED_SERVERS // 3 |
| PROXYMODEENUM_PROXY_MODE_ENUM_PAC_SCRIPT // 4 |
| ) |
| |
| func (p *SimpleProxySettings) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SimpleProxySettings", p, []string{"simpleProxyMode", "simpleProxyServerUrl", "simpleProxyPacUrl", "proxyBypassList"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // CaptivePortalAuthenticationIgnoresProxy |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type CaptivePortalAuthenticationIgnoresProxy struct { |
| CaptivePortalAuthenticationIgnoresProxy bool `json:"captivePortalAuthenticationIgnoresProxy"` |
| } |
| |
| func (p *CaptivePortalAuthenticationIgnoresProxy) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.CaptivePortalAuthenticationIgnoresProxy", p, []string{"captivePortalAuthenticationIgnoresProxy"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AuthSchemes |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AuthSchemes struct { |
| AuthSchemes []string `json:"authSchemes"` |
| } |
| |
| func (p *AuthSchemes) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AuthSchemes", p, []string{"authSchemes"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // BasicAuthOverHttpEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type BasicAuthOverHttpEnabled struct { |
| BasicAuthOverHttpEnabled bool `json:"basicAuthOverHttpEnabled"` |
| } |
| |
| func (p *BasicAuthOverHttpEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.BasicAuthOverHttpEnabled", p, []string{"basicAuthOverHttpEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // NtlmV2Enabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type NtlmV2Enabled struct { |
| NtlmV2Enabled bool `json:"ntlmV2Enabled"` |
| } |
| |
| func (p *NtlmV2Enabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.NtlmV2Enabled", p, []string{"ntlmV2Enabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SslVersionMin |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SslVersionMin struct { |
| SslVersionMin SSLVersionMinEnum `json:"sslVersionMin"` |
| } |
| |
| type SSLVersionMinEnum int |
| |
| const ( |
| SSLVERSIONMINENUM_SSL_VERSION_MIN_ENUM_TL_SV_1 SSLVersionMinEnum = iota // 0 |
| SSLVERSIONMINENUM_SSL_VERSION_MIN_ENUM_TL_SV_1_1 // 1 |
| SSLVERSIONMINENUM_SSL_VERSION_MIN_ENUM_TL_SV_1_2 // 2 |
| SSLVERSIONMINENUM_SSL_VERSION_MIN_ENUM_SSL_V_3 // 3 |
| ) |
| |
| func (p *SslVersionMin) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SslVersionMin", p, []string{"sslVersionMin"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SslErrorOverrideAllowed |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SslErrorOverrideAllowed struct { |
| SslErrorOverrideAllowed bool `json:"sslErrorOverrideAllowed"` |
| } |
| |
| func (p *SslErrorOverrideAllowed) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SslErrorOverrideAllowed", p, []string{"sslErrorOverrideAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // SslErrorOverrideAllowedForOrigins |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type SslErrorOverrideAllowedForOrigins struct { |
| SslErrorOverrideAllowedForOrigins []string `json:"sslErrorOverrideAllowedForOrigins"` |
| } |
| |
| func (p *SslErrorOverrideAllowedForOrigins) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.SslErrorOverrideAllowedForOrigins", p, []string{"sslErrorOverrideAllowedForOrigins"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // DataCompressionProxy |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type DataCompressionProxy struct { |
| DataCompressionProxyEnabled NullableBoolean `json:"dataCompressionProxyEnabled"` |
| } |
| |
| func (p *DataCompressionProxy) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.DataCompressionProxy", p, []string{"dataCompressionProxyEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // WebRtcUdpPortRange |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type WebRtcUdpPortRange struct { |
| WebRtcUdpPortsEnabled bool `json:"webRtcUdpPortsEnabled"` |
| WebRtcUdpPortsMin int64 `json:"webRtcUdpPortsMin"` |
| WebRtcUdpPortsMax int64 `json:"webRtcUdpPortsMax"` |
| } |
| |
| func (p *WebRtcUdpPortRange) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.WebRtcUdpPortRange", p, []string{"webRtcUdpPortsEnabled", "webRtcUdpPortsMin", "webRtcUdpPortsMax"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // WebRtcLocalIpsAllowedUrls |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type WebRtcLocalIpsAllowedUrls struct { |
| WebRtcLocalIpsAllowedUrls []string `json:"webRtcLocalIpsAllowedUrls"` |
| } |
| |
| func (p *WebRtcLocalIpsAllowedUrls) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.WebRtcLocalIpsAllowedUrls", p, []string{"webRtcLocalIpsAllowedUrls"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // QuicProtocol |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type QuicProtocol struct { |
| QuicAllowed bool `json:"quicAllowed"` |
| } |
| |
| func (p *QuicProtocol) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.QuicProtocol", p, []string{"quicAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // WebRtcIpHandling |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type WebRtcIpHandling struct { |
| WebRtcIpHandling WebRtcIPHandlingEnum `json:"webRtcIpHandling"` |
| } |
| |
| type WebRtcIPHandlingEnum int |
| |
| const ( |
| WEBRTCIPHANDLINGENUM_WEB_RTC_IP_HANDLING_ENUM_DEFAULT WebRtcIPHandlingEnum = iota // 0 |
| WEBRTCIPHANDLINGENUM_WEB_RTC_IP_HANDLING_ENUM_DEFAULT_PUBLIC_AND_PRIVATE_INTERFACES // 1 |
| WEBRTCIPHANDLINGENUM_WEB_RTC_IP_HANDLING_ENUM_DEFAULT_PUBLIC_INTERFACE_ONLY // 2 |
| WEBRTCIPHANDLINGENUM_WEB_RTC_IP_HANDLING_ENUM_DISABLE_NON_PROXIED_UDP // 3 |
| ) |
| |
| func (p *WebRtcIpHandling) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.WebRtcIpHandling", p, []string{"webRtcIpHandling"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // DnsOverHttps |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type DnsOverHttps struct { |
| DnsOverHttpsMode DnsOverHttpsModeEnum `json:"dnsOverHttpsMode"` |
| DnsOverHttpsTemplates []string `json:"dnsOverHttpsTemplates"` |
| } |
| |
| type DnsOverHttpsModeEnum int |
| |
| const ( |
| DNSOVERHTTPSMODEENUM_DNS_OVER_HTTPS_MODE_ENUM_OFF DnsOverHttpsModeEnum = iota // 0 |
| DNSOVERHTTPSMODEENUM_DNS_OVER_HTTPS_MODE_ENUM_AUTOMATIC // 1 |
| DNSOVERHTTPSMODEENUM_DNS_OVER_HTTPS_MODE_ENUM_SECURE // 2 |
| DNSOVERHTTPSMODEENUM_DNS_OVER_HTTPS_MODE_ENUM_UNSET // 3 |
| ) |
| |
| func (p *DnsOverHttps) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.DnsOverHttps", p, []string{"dnsOverHttpsMode", "dnsOverHttpsTemplates"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // BuiltInDnsClientEnabled |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type BuiltInDnsClientEnabled struct { |
| BuiltInDnsClientEnabled NullableBoolean `json:"builtInDnsClientEnabled"` |
| } |
| |
| func (p *BuiltInDnsClientEnabled) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.BuiltInDnsClientEnabled", p, []string{"builtInDnsClientEnabled"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AlwaysOnVpn |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AlwaysOnVpn struct { |
| AlwaysOnVpnApp string `json:"alwaysOnVpnApp"` |
| VpnConfigAllowed bool `json:"vpnConfigAllowed"` |
| } |
| |
| func (p *AlwaysOnVpn) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AlwaysOnVpn", p, []string{"alwaysOnVpnApp", "vpnConfigAllowed"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AuthenticationServerAllowlist |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AuthenticationServerAllowlist struct { |
| AuthServerAllowlist []string `json:"authServerAllowlist"` |
| } |
| |
| func (p *AuthenticationServerAllowlist) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AuthenticationServerAllowlist", p, []string{"authServerAllowlist"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // AuthenticationServerDelegationAllowlist |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type AuthenticationServerDelegationAllowlist struct { |
| AuthNegotiateDelegateAllowlist []string `json:"authNegotiateDelegateAllowlist"` |
| } |
| |
| func (p *AuthenticationServerDelegationAllowlist) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.AuthenticationServerDelegationAllowlist", p, []string{"authNegotiateDelegateAllowlist"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // KerberosTicketDelegation |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type KerberosTicketDelegation struct { |
| AuthNegotiateDelegateByKdcPolicy bool `json:"authNegotiateDelegateByKdcPolicy"` |
| } |
| |
| func (p *KerberosTicketDelegation) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.KerberosTicketDelegation", p, []string{"authNegotiateDelegateByKdcPolicy"}) |
| } |
| |
| /////////////////////////////////////////////////////////////////////////////// |
| // KerberosServicePrincipalName |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| type KerberosServicePrincipalName struct { |
| DisableAuthNegotiateCnameLookup bool `json:"disableAuthNegotiateCnameLookup"` |
| } |
| |
| func (p *KerberosServicePrincipalName) Schema2JSON(orgunit string) ([]byte, error) { |
| return marshalJSON(orgunit, "chrome.users.KerberosServicePrincipalName", p, []string{"disableAuthNegotiateCnameLookup"}) |
| } |