gogol-androidmanagement-0.4.0: Google Android Management SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.AndroidManagement.Types

Contents

Description

 
Synopsis

Service Configuration

androidManagementService :: ServiceConfig Source #

Default request referring to version v1 of the Android Management API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

androidManagementScope :: Proxy '["https://www.googleapis.com/auth/androidmanagement"] Source #

Manage Android devices and apps for your customers

PowerManagementEventEventType

data PowerManagementEventEventType Source #

Event type.

Constructors

PowerManagementEventTypeUnspecified

POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED Unspecified. No events have this type.

BatteryLevelCollected

BATTERY_LEVEL_COLLECTED Battery level was measured.

PowerConnected

POWER_CONNECTED The device started charging.

PowerDisconnected

POWER_DISCONNECTED The device stopped charging.

BatteryLow

BATTERY_LOW The device entered low-power mode.

BatteryOkay

BATTERY_OKAY The device exited low-power mode.

BootCompleted

BOOT_COMPLETED The device booted.

Shutdown

SHUTDOWN The device shut down.

Instances
Enum PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PowerManagementEventEventType -> c PowerManagementEventEventType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PowerManagementEventEventType #

toConstr :: PowerManagementEventEventType -> Constr #

dataTypeOf :: PowerManagementEventEventType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PowerManagementEventEventType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PowerManagementEventEventType) #

gmapT :: (forall b. Data b => b -> b) -> PowerManagementEventEventType -> PowerManagementEventEventType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PowerManagementEventEventType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PowerManagementEventEventType -> r #

gmapQ :: (forall d. Data d => d -> u) -> PowerManagementEventEventType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PowerManagementEventEventType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PowerManagementEventEventType -> m PowerManagementEventEventType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PowerManagementEventEventType -> m PowerManagementEventEventType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PowerManagementEventEventType -> m PowerManagementEventEventType #

Ord PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PowerManagementEventEventType :: Type -> Type #

Hashable PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PowerManagementEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PowerManagementEventEventType = D1 (MetaData "PowerManagementEventEventType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "PowerManagementEventTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BatteryLevelCollected" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PowerConnected" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PowerDisconnected" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "BatteryLow" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BatteryOkay" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "BootCompleted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Shutdown" PrefixI False) (U1 :: Type -> Type))))

Status

data Status Source #

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be: Simple to use and understand for most users Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting. Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

SystemUpdateType

data SystemUpdateType Source #

The type of system update to configure.

Constructors

SystemUpdateTypeUnspecified

SYSTEM_UPDATE_TYPE_UNSPECIFIED Follow the default update behavior for the device, which typically requires the user to accept system updates.

Automatic

AUTOMATIC Install automatically as soon as an update is available.

Windowed

WINDOWED Install automatically within a daily maintenance window. This also configures Play apps to be updated within the window. This is strongly recommended for kiosk devices because this is the only way apps persistently pinned to the foreground can be updated by Play.

Postpone

POSTPONE Postpone automatic install up to a maximum of 30 days.

Instances
Enum SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SystemUpdateType -> c SystemUpdateType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SystemUpdateType #

toConstr :: SystemUpdateType -> Constr #

dataTypeOf :: SystemUpdateType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SystemUpdateType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SystemUpdateType) #

gmapT :: (forall b. Data b => b -> b) -> SystemUpdateType -> SystemUpdateType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SystemUpdateType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SystemUpdateType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SystemUpdateType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SystemUpdateType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SystemUpdateType -> m SystemUpdateType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemUpdateType -> m SystemUpdateType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemUpdateType -> m SystemUpdateType #

Ord SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep SystemUpdateType :: Type -> Type #

Hashable SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep SystemUpdateType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep SystemUpdateType = D1 (MetaData "SystemUpdateType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "SystemUpdateTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Automatic" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Windowed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Postpone" PrefixI False) (U1 :: Type -> Type)))

ListPoliciesResponse

data ListPoliciesResponse Source #

Response to a request to list policies for a given enterprise.

See: listPoliciesResponse smart constructor.

Instances
Eq ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPoliciesResponse -> c ListPoliciesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPoliciesResponse #

toConstr :: ListPoliciesResponse -> Constr #

dataTypeOf :: ListPoliciesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListPoliciesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPoliciesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListPoliciesResponse -> ListPoliciesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPoliciesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPoliciesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPoliciesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPoliciesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPoliciesResponse -> m ListPoliciesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPoliciesResponse -> m ListPoliciesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPoliciesResponse -> m ListPoliciesResponse #

Show ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ListPoliciesResponse :: Type -> Type #

ToJSON ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListPoliciesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListPoliciesResponse = D1 (MetaData "ListPoliciesResponse" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ListPoliciesResponse'" PrefixI True) (S1 (MetaSel (Just "_lprNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lprPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Policy]))))

listPoliciesResponse :: ListPoliciesResponse Source #

Creates a value of ListPoliciesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lprNextPageToken :: Lens' ListPoliciesResponse (Maybe Text) Source #

If there are more results, a token to retrieve next page of results.

MemoryInfo

data MemoryInfo Source #

Information about device memory and storage.

See: memoryInfo smart constructor.

Instances
Eq MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemoryInfo -> c MemoryInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemoryInfo #

toConstr :: MemoryInfo -> Constr #

dataTypeOf :: MemoryInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemoryInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemoryInfo) #

gmapT :: (forall b. Data b => b -> b) -> MemoryInfo -> MemoryInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemoryInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemoryInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> MemoryInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MemoryInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemoryInfo -> m MemoryInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryInfo -> m MemoryInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryInfo -> m MemoryInfo #

Show MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep MemoryInfo :: Type -> Type #

ToJSON MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep MemoryInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep MemoryInfo = D1 (MetaData "MemoryInfo" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "MemoryInfo'" PrefixI True) (S1 (MetaSel (Just "_miTotalInternalStorage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_miTotalRam") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))

memoryInfo :: MemoryInfo Source #

Creates a value of MemoryInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

miTotalInternalStorage :: Lens' MemoryInfo (Maybe Int64) Source #

Total internal storage on device in bytes.

miTotalRam :: Lens' MemoryInfo (Maybe Int64) Source #

Total RAM on device in bytes.

DeviceState

data DeviceState Source #

The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete.

Constructors

DeviceStateUnspecified

DEVICE_STATE_UNSPECIFIED This value is disallowed.

Active

ACTIVE The device is active.

Disabled

DISABLED The device is disabled.

Deleted

DELETED The device was deleted. This state will never be returned by an API call, but is used in the final status report published to Cloud Pub/Sub when the device acknowledges the deletion.

Provisioning

PROVISIONING The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.

Instances
Enum DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceState -> c DeviceState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceState #

toConstr :: DeviceState -> Constr #

dataTypeOf :: DeviceState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceState) #

gmapT :: (forall b. Data b => b -> b) -> DeviceState -> DeviceState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceState -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceState -> m DeviceState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceState -> m DeviceState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceState -> m DeviceState #

Ord DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep DeviceState :: Type -> Type #

Hashable DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceState = D1 (MetaData "DeviceState" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "DeviceStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Deleted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Provisioning" PrefixI False) (U1 :: Type -> Type))))

PackageNameList

data PackageNameList Source #

A list of package names.

See: packageNameList smart constructor.

Instances
Eq PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PackageNameList -> c PackageNameList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PackageNameList #

toConstr :: PackageNameList -> Constr #

dataTypeOf :: PackageNameList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PackageNameList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PackageNameList) #

gmapT :: (forall b. Data b => b -> b) -> PackageNameList -> PackageNameList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PackageNameList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PackageNameList -> r #

gmapQ :: (forall d. Data d => d -> u) -> PackageNameList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PackageNameList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PackageNameList -> m PackageNameList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageNameList -> m PackageNameList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PackageNameList -> m PackageNameList #

Show PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PackageNameList :: Type -> Type #

ToJSON PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PackageNameList Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PackageNameList = D1 (MetaData "PackageNameList" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "PackageNameList'" PrefixI True) (S1 (MetaSel (Just "_pnlPackageNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

packageNameList :: PackageNameList Source #

Creates a value of PackageNameList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pnlPackageNames :: Lens' PackageNameList [Text] Source #

A list of package names.

Command

data Command Source #

A command.

See: command smart constructor.

Instances
Eq Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Data Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Command -> c Command #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Command #

toConstr :: Command -> Constr #

dataTypeOf :: Command -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Command) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Command) #

gmapT :: (forall b. Data b => b -> b) -> Command -> Command #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Command -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Command -> r #

gmapQ :: (forall d. Data d => d -> u) -> Command -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Command -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Command -> m Command #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Command -> m Command #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Command -> m Command #

Show Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Command :: Type -> Type #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ToJSON Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Command Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

command :: Command Source #

Creates a value of Command with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cResetPasswordFlags :: Lens' Command [Text] Source #

For commands of type RESET_PASSWORD, optionally specifies flags.

cNewPassword :: Lens' Command (Maybe Text) Source #

For commands of type RESET_PASSWORD, optionally specifies the new password.

cUserName :: Lens' Command (Maybe Text) Source #

The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}. This is automatically generated by the server based on the device the command is sent to.

cErrorCode :: Lens' Command (Maybe CommandErrorCode) Source #

If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller.

cType :: Lens' Command (Maybe CommandType) Source #

The type of the command.

cDuration :: Lens' Command (Maybe Scientific) Source #

The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration.

cCreateTime :: Lens' Command (Maybe UTCTime) Source #

The timestamp at which the command was created. The timestamp is automatically generated by the server.

ListOperationsResponse

data ListOperationsResponse Source #

The response message for Operations.ListOperations.

See: listOperationsResponse smart constructor.

Instances
Eq ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListOperationsResponse -> c ListOperationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListOperationsResponse #

toConstr :: ListOperationsResponse -> Constr #

dataTypeOf :: ListOperationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListOperationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListOperationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListOperationsResponse -> ListOperationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListOperationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListOperationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListOperationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListOperationsResponse -> m ListOperationsResponse #

Show ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

ToJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListOperationsResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListOperationsResponse = D1 (MetaData "ListOperationsResponse" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ListOperationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lorNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lorOperations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Operation]))))

listOperationsResponse :: ListOperationsResponse Source #

Creates a value of ListOperationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lorNextPageToken :: Lens' ListOperationsResponse (Maybe Text) Source #

The standard List next-page token.

lorOperations :: Lens' ListOperationsResponse [Operation] Source #

A list of operations that matches the specified filter in the request.

Display

data Display Source #

Device display information.

See: display smart constructor.

Instances
Eq Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Display -> Display -> Bool #

(/=) :: Display -> Display -> Bool #

Data Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Display -> c Display #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Display #

toConstr :: Display -> Constr #

dataTypeOf :: Display -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Display) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Display) #

gmapT :: (forall b. Data b => b -> b) -> Display -> Display #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Display -> r #

gmapQ :: (forall d. Data d => d -> u) -> Display -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Display -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Display -> m Display #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Display -> m Display #

Show Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Display :: Type -> Type #

Methods

from :: Display -> Rep Display x #

to :: Rep Display x -> Display #

ToJSON Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Display Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

display :: Display Source #

Creates a value of Display with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dHeight :: Lens' Display (Maybe Int32) Source #

Display height in pixels.

dState :: Lens' Display (Maybe DisplayState) Source #

State of the display.

dWidth :: Lens' Display (Maybe Int32) Source #

Display width in pixels.

dName :: Lens' Display (Maybe Text) Source #

Name of the display.

dRefreshRate :: Lens' Display (Maybe Int32) Source #

Refresh rate of the display in frames per second.

dDisplayId :: Lens' Display (Maybe Int32) Source #

Unique display id.

dDensity :: Lens' Display (Maybe Int32) Source #

Display density expressed as dots-per-inch.

AlwaysOnVPNPackage

data AlwaysOnVPNPackage Source #

Configuration for an always-on VPN connection.

See: alwaysOnVPNPackage smart constructor.

Instances
Eq AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlwaysOnVPNPackage -> c AlwaysOnVPNPackage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlwaysOnVPNPackage #

toConstr :: AlwaysOnVPNPackage -> Constr #

dataTypeOf :: AlwaysOnVPNPackage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AlwaysOnVPNPackage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlwaysOnVPNPackage) #

gmapT :: (forall b. Data b => b -> b) -> AlwaysOnVPNPackage -> AlwaysOnVPNPackage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlwaysOnVPNPackage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlwaysOnVPNPackage -> r #

gmapQ :: (forall d. Data d => d -> u) -> AlwaysOnVPNPackage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AlwaysOnVPNPackage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlwaysOnVPNPackage -> m AlwaysOnVPNPackage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlwaysOnVPNPackage -> m AlwaysOnVPNPackage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlwaysOnVPNPackage -> m AlwaysOnVPNPackage #

Show AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep AlwaysOnVPNPackage :: Type -> Type #

ToJSON AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep AlwaysOnVPNPackage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep AlwaysOnVPNPackage = D1 (MetaData "AlwaysOnVPNPackage" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "AlwaysOnVPNPackage'" PrefixI True) (S1 (MetaSel (Just "_aovpLockdownEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_aovpPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

alwaysOnVPNPackage :: AlwaysOnVPNPackage Source #

Creates a value of AlwaysOnVPNPackage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aovpLockdownEnabled :: Lens' AlwaysOnVPNPackage (Maybe Bool) Source #

Disallows networking when the VPN is not connected.

aovpPackageName :: Lens' AlwaysOnVPNPackage (Maybe Text) Source #

The package name of the VPN app.

PolicyOpenNetworkConfiguration

data PolicyOpenNetworkConfiguration Source #

Network configuration for the device. See configure networks for more information.

See: policyOpenNetworkConfiguration smart constructor.

Instances
Eq PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyOpenNetworkConfiguration -> c PolicyOpenNetworkConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyOpenNetworkConfiguration #

toConstr :: PolicyOpenNetworkConfiguration -> Constr #

dataTypeOf :: PolicyOpenNetworkConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyOpenNetworkConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyOpenNetworkConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> PolicyOpenNetworkConfiguration -> PolicyOpenNetworkConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyOpenNetworkConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyOpenNetworkConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyOpenNetworkConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyOpenNetworkConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyOpenNetworkConfiguration -> m PolicyOpenNetworkConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyOpenNetworkConfiguration -> m PolicyOpenNetworkConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyOpenNetworkConfiguration -> m PolicyOpenNetworkConfiguration #

Show PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PolicyOpenNetworkConfiguration :: Type -> Type #

ToJSON PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PolicyOpenNetworkConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PolicyOpenNetworkConfiguration = D1 (MetaData "PolicyOpenNetworkConfiguration" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "PolicyOpenNetworkConfiguration'" PrefixI True) (S1 (MetaSel (Just "_poncAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

policyOpenNetworkConfiguration Source #

Creates a value of PolicyOpenNetworkConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

CommandErrorCode

data CommandErrorCode Source #

If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller.

Constructors

CommandErrorCodeUnspecified

COMMAND_ERROR_CODE_UNSPECIFIED There was no error.

Unknown

UNKNOWN An unknown error occurred.

APILevel

API_LEVEL The API level of the device does not support this command.

ManagementMode

MANAGEMENT_MODE The management mode (profile owner, device owner, etc.) does not support the command.

InvalidValue

INVALID_VALUE The command has an invalid parameter value.

Unsupported

UNSUPPORTED The device doesn't support the command. Updating Android Device Policy to the latest version may resolve the issue.

Instances
Enum CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommandErrorCode -> c CommandErrorCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommandErrorCode #

toConstr :: CommandErrorCode -> Constr #

dataTypeOf :: CommandErrorCode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommandErrorCode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommandErrorCode) #

gmapT :: (forall b. Data b => b -> b) -> CommandErrorCode -> CommandErrorCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommandErrorCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommandErrorCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> CommandErrorCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CommandErrorCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommandErrorCode -> m CommandErrorCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommandErrorCode -> m CommandErrorCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommandErrorCode -> m CommandErrorCode #

Ord CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep CommandErrorCode :: Type -> Type #

Hashable CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep CommandErrorCode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep CommandErrorCode = D1 (MetaData "CommandErrorCode" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "CommandErrorCodeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "APILevel" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "ManagementMode" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "InvalidValue" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unsupported" PrefixI False) (U1 :: Type -> Type))))

HardwareStatus

data HardwareStatus Source #

Hardware status. Temperatures may be compared to the temperature thresholds available in hardwareInfo to determine hardware health.

See: hardwareStatus smart constructor.

Instances
Eq HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HardwareStatus -> c HardwareStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HardwareStatus #

toConstr :: HardwareStatus -> Constr #

dataTypeOf :: HardwareStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HardwareStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HardwareStatus) #

gmapT :: (forall b. Data b => b -> b) -> HardwareStatus -> HardwareStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HardwareStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HardwareStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> HardwareStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HardwareStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HardwareStatus -> m HardwareStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HardwareStatus -> m HardwareStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HardwareStatus -> m HardwareStatus #

Show HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep HardwareStatus :: Type -> Type #

ToJSON HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep HardwareStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep HardwareStatus = D1 (MetaData "HardwareStatus" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "HardwareStatus'" PrefixI True) ((S1 (MetaSel (Just "_hsCPUTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: (S1 (MetaSel (Just "_hsBatteryTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hsGpuTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])))) :*: ((S1 (MetaSel (Just "_hsFanSpeeds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hsSkinTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double]))) :*: (S1 (MetaSel (Just "_hsCPUUsages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hsCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))))

hardwareStatus :: HardwareStatus Source #

Creates a value of HardwareStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

hsCPUTemperatures :: Lens' HardwareStatus [Double] Source #

Current CPU temperatures in Celsius for each CPU on the device.

hsBatteryTemperatures :: Lens' HardwareStatus [Double] Source #

Current battery temperatures in Celsius for each battery on the device.

hsGpuTemperatures :: Lens' HardwareStatus [Double] Source #

Current GPU temperatures in Celsius for each GPU on the device.

hsFanSpeeds :: Lens' HardwareStatus [Double] Source #

Fan speeds in RPM for each fan on the device. Empty array means that there are no fans or fan speed is not supported on the system.

hsSkinTemperatures :: Lens' HardwareStatus [Double] Source #

Current device skin temperatures in Celsius.

hsCPUUsages :: Lens' HardwareStatus [Double] Source #

CPU usages in percentage for each core available on the device. Usage is 0 for each unplugged core. Empty array implies that CPU usage is not supported in the system.

hsCreateTime :: Lens' HardwareStatus (Maybe UTCTime) Source #

The time the measurements were taken.

Application

data Application Source #

Information about an app.

See: application smart constructor.

Instances
Eq Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Application -> c Application #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Application #

toConstr :: Application -> Constr #

dataTypeOf :: Application -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Application) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Application) #

gmapT :: (forall b. Data b => b -> b) -> Application -> Application #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Application -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Application -> r #

gmapQ :: (forall d. Data d => d -> u) -> Application -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Application -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Application -> m Application #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Application -> m Application #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Application -> m Application #

Show Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Application :: Type -> Type #

ToJSON Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Application Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Application = D1 (MetaData "Application" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Application'" PrefixI True) ((S1 (MetaSel (Just "_aManagedProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ManagedProperty])) :*: S1 (MetaSel (Just "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_aPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ApplicationPermission])) :*: S1 (MetaSel (Just "_aTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

application :: Application Source #

Creates a value of Application with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aManagedProperties :: Lens' Application [ManagedProperty] Source #

The set of managed properties available to be pre-configured for the app.

aName :: Lens' Application (Maybe Text) Source #

The name of the app in the form enterprises/{enterpriseId}/applications/{package_name}.

aPermissions :: Lens' Application [ApplicationPermission] Source #

The permissions required by the app.

aTitle :: Lens' Application (Maybe Text) Source #

The title of the app. Localized.

ManagedProperty

data ManagedProperty Source #

Managed property.

See: managedProperty smart constructor.

Instances
Eq ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedProperty -> c ManagedProperty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedProperty #

toConstr :: ManagedProperty -> Constr #

dataTypeOf :: ManagedProperty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagedProperty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedProperty) #

gmapT :: (forall b. Data b => b -> b) -> ManagedProperty -> ManagedProperty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedProperty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedProperty -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedProperty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedProperty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedProperty -> m ManagedProperty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedProperty -> m ManagedProperty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedProperty -> m ManagedProperty #

Show ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ManagedProperty :: Type -> Type #

ToJSON ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedProperty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

managedProperty :: ManagedProperty Source #

Creates a value of ManagedProperty with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mpEntries :: Lens' ManagedProperty [ManagedPropertyEntry] Source #

For CHOICE or MULTISELECT properties, the list of possible entries.

mpNestedProperties :: Lens' ManagedProperty [ManagedProperty] Source #

For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep.

mpKey :: Lens' ManagedProperty (Maybe Text) Source #

The unique key that the app uses to identify the property, e.g. "com.google.android.gm.fieldname".

mpDefaultValue :: Lens' ManagedProperty (Maybe JSONValue) Source #

The default value of the property. BUNDLE_ARRAY properties don't have a default value.

mpTitle :: Lens' ManagedProperty (Maybe Text) Source #

The name of the property. Localized.

mpDescription :: Lens' ManagedProperty (Maybe Text) Source #

A longer description of the property, providing more detail of what it affects. Localized.

ProxyInfo

data ProxyInfo Source #

Configuration info for an HTTP proxy. For a direct proxy, set the host, port, and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.

See: proxyInfo smart constructor.

Instances
Eq ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProxyInfo -> c ProxyInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProxyInfo #

toConstr :: ProxyInfo -> Constr #

dataTypeOf :: ProxyInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProxyInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProxyInfo) #

gmapT :: (forall b. Data b => b -> b) -> ProxyInfo -> ProxyInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProxyInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProxyInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProxyInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProxyInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProxyInfo -> m ProxyInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProxyInfo -> m ProxyInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProxyInfo -> m ProxyInfo #

Show ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ProxyInfo :: Type -> Type #

ToJSON ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ProxyInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ProxyInfo = D1 (MetaData "ProxyInfo" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ProxyInfo'" PrefixI True) ((S1 (MetaSel (Just "_piPacURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piHost") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_piExcludedHosts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_piPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

proxyInfo :: ProxyInfo Source #

Creates a value of ProxyInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piPacURI :: Lens' ProxyInfo (Maybe Text) Source #

The URI of the PAC script used to configure the proxy.

piHost :: Lens' ProxyInfo (Maybe Text) Source #

The host of the direct proxy.

piExcludedHosts :: Lens' ProxyInfo [Text] Source #

For a direct proxy, the hosts for which the proxy is bypassed. The host names may contain wildcards such as *.example.com.

piPort :: Lens' ProxyInfo (Maybe Int32) Source #

The port of the direct proxy.

PermissionGrantPolicy

data PermissionGrantPolicy Source #

The policy for granting the permission.

Constructors

PermissionPolicyUnspecified

PERMISSION_POLICY_UNSPECIFIED Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.

Prompt

PROMPT Prompt the user to grant a permission.

Grant

GRANT Automatically grant a permission.

Deny

DENY Automatically deny a permission.

Instances
Enum PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionGrantPolicy -> c PermissionGrantPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionGrantPolicy #

toConstr :: PermissionGrantPolicy -> Constr #

dataTypeOf :: PermissionGrantPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PermissionGrantPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionGrantPolicy) #

gmapT :: (forall b. Data b => b -> b) -> PermissionGrantPolicy -> PermissionGrantPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionGrantPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionGrantPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionGrantPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionGrantPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionGrantPolicy -> m PermissionGrantPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionGrantPolicy -> m PermissionGrantPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionGrantPolicy -> m PermissionGrantPolicy #

Ord PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PermissionGrantPolicy :: Type -> Type #

Hashable PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PermissionGrantPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PermissionGrantPolicy = D1 (MetaData "PermissionGrantPolicy" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "PermissionPolicyUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Prompt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Grant" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deny" PrefixI False) (U1 :: Type -> Type)))

PersistentPreferredActivity

data PersistentPreferredActivity Source #

A default activity for handling intents that match a particular intent filter.

See: persistentPreferredActivity smart constructor.

Instances
Eq PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PersistentPreferredActivity -> c PersistentPreferredActivity #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PersistentPreferredActivity #

toConstr :: PersistentPreferredActivity -> Constr #

dataTypeOf :: PersistentPreferredActivity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PersistentPreferredActivity) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PersistentPreferredActivity) #

gmapT :: (forall b. Data b => b -> b) -> PersistentPreferredActivity -> PersistentPreferredActivity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PersistentPreferredActivity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PersistentPreferredActivity -> r #

gmapQ :: (forall d. Data d => d -> u) -> PersistentPreferredActivity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PersistentPreferredActivity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PersistentPreferredActivity -> m PersistentPreferredActivity #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PersistentPreferredActivity -> m PersistentPreferredActivity #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PersistentPreferredActivity -> m PersistentPreferredActivity #

Show PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PersistentPreferredActivity :: Type -> Type #

ToJSON PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PersistentPreferredActivity Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PersistentPreferredActivity = D1 (MetaData "PersistentPreferredActivity" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "PersistentPreferredActivity'" PrefixI True) (S1 (MetaSel (Just "_ppaActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_ppaCategories") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_ppaReceiverActivity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

persistentPreferredActivity :: PersistentPreferredActivity Source #

Creates a value of PersistentPreferredActivity with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ppaActions :: Lens' PersistentPreferredActivity [Text] Source #

The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to match. If no actions are included, the intent action is ignored.

ppaCategories :: Lens' PersistentPreferredActivity [Text] Source #

The intent categories to match in the filter. An intent includes the categories that it requires, all of which must be included in the filter in order to match. In other words, adding a category to the filter has no impact on matching unless that category is specified in the intent.

ppaReceiverActivity :: Lens' PersistentPreferredActivity (Maybe Text) Source #

The activity that should be the default intent handler. This should be an Android component name, e.g. com.android.enterprise.app/.MainActivity. Alternatively, the value may be the package name of an app, which causes Android Device Policy to choose an appropriate activity from the app to handle the intent.

Operation

data Operation Source #

This resource represents a long-running operation that is the result of a network API call.

See: operation smart constructor.

Instances
Eq Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Operation -> c Operation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Operation #

toConstr :: Operation -> Constr #

dataTypeOf :: Operation -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Operation) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Operation) #

gmapT :: (forall b. Data b => b -> b) -> Operation -> Operation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Operation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Operation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Operation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Operation -> m Operation #

Show Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Operation :: Type -> Type #

ToJSON Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Operation Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Operation = D1 (MetaData "Operation" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Operation'" PrefixI True) ((S1 (MetaSel (Just "_oDone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_oError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 (MetaSel (Just "_oResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationResponse)) :*: (S1 (MetaSel (Just "_oName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe OperationMetadata))))))

operation :: Operation Source #

Creates a value of Operation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oDone :: Lens' Operation (Maybe Bool) Source #

If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.

oError :: Lens' Operation (Maybe Status) Source #

The error result of the operation in case of failure or cancellation.

oResponse :: Lens' Operation (Maybe OperationResponse) Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.

oName :: Lens' Operation (Maybe Text) Source #

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.

oMetadata :: Lens' Operation (Maybe OperationMetadata) Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty #

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) #

gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

Show Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

ExternalData

data ExternalData Source #

Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.

See: externalData smart constructor.

Instances
Eq ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExternalData -> c ExternalData #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExternalData #

toConstr :: ExternalData -> Constr #

dataTypeOf :: ExternalData -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ExternalData) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExternalData) #

gmapT :: (forall b. Data b => b -> b) -> ExternalData -> ExternalData #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExternalData -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExternalData -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExternalData -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExternalData -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExternalData -> m ExternalData #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExternalData -> m ExternalData #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExternalData -> m ExternalData #

Show ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ExternalData :: Type -> Type #

ToJSON ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ExternalData Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ExternalData = D1 (MetaData "ExternalData" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ExternalData'" PrefixI True) (S1 (MetaSel (Just "_edURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_edSha256Hash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

externalData :: ExternalData Source #

Creates a value of ExternalData with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

edURL :: Lens' ExternalData (Maybe Text) Source #

The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.

edSha256Hash :: Lens' ExternalData (Maybe Text) Source #

The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data.

DisplayState

data DisplayState Source #

State of the display.

Constructors

DisplayStateUnspecified

DISPLAY_STATE_UNSPECIFIED This value is disallowed.

Off

OFF Display is off.

ON

ON Display is on.

Doze

DOZE Display is dozing in a low power state

Suspended

SUSPENDED Display is dozing in a suspended low power state.

Instances
Enum DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DisplayState -> c DisplayState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DisplayState #

toConstr :: DisplayState -> Constr #

dataTypeOf :: DisplayState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DisplayState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DisplayState) #

gmapT :: (forall b. Data b => b -> b) -> DisplayState -> DisplayState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DisplayState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DisplayState -> r #

gmapQ :: (forall d. Data d => d -> u) -> DisplayState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DisplayState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DisplayState -> m DisplayState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayState -> m DisplayState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DisplayState -> m DisplayState #

Ord DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep DisplayState :: Type -> Type #

Hashable DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DisplayState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DisplayState = D1 (MetaData "DisplayState" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "DisplayStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Off" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ON" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Doze" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Suspended" PrefixI False) (U1 :: Type -> Type))))

APILevelCondition

data APILevelCondition Source #

A compliance rule condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. There can only be one rule with this type of condition per policy.

See: apiLevelCondition smart constructor.

Instances
Eq APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> APILevelCondition -> c APILevelCondition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c APILevelCondition #

toConstr :: APILevelCondition -> Constr #

dataTypeOf :: APILevelCondition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c APILevelCondition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c APILevelCondition) #

gmapT :: (forall b. Data b => b -> b) -> APILevelCondition -> APILevelCondition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> APILevelCondition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> APILevelCondition -> r #

gmapQ :: (forall d. Data d => d -> u) -> APILevelCondition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> APILevelCondition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> APILevelCondition -> m APILevelCondition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> APILevelCondition -> m APILevelCondition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> APILevelCondition -> m APILevelCondition #

Show APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep APILevelCondition :: Type -> Type #

ToJSON APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep APILevelCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep APILevelCondition = D1 (MetaData "APILevelCondition" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "APILevelCondition'" PrefixI True) (S1 (MetaSel (Just "_alcMinAPILevel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Textual Int32)))))

apiLevelCondition :: APILevelCondition Source #

Creates a value of APILevelCondition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

alcMinAPILevel :: Lens' APILevelCondition (Maybe Int32) Source #

The minimum desired Android Framework API level. If the device doesn't meet the minimum requirement, this condition is satisfied. Must be greater than zero.

DeviceSettings

data DeviceSettings Source #

Information about security related device settings on device.

See: deviceSettings smart constructor.

Instances
Eq DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceSettings -> c DeviceSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceSettings #

toConstr :: DeviceSettings -> Constr #

dataTypeOf :: DeviceSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceSettings) #

gmapT :: (forall b. Data b => b -> b) -> DeviceSettings -> DeviceSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceSettings -> m DeviceSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceSettings -> m DeviceSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceSettings -> m DeviceSettings #

Show DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep DeviceSettings :: Type -> Type #

ToJSON DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep DeviceSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep DeviceSettings = D1 (MetaData "DeviceSettings" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "DeviceSettings'" PrefixI True) ((S1 (MetaSel (Just "_dsIsEncrypted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_dsAdbEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dsIsDeviceSecure") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_dsVerifyAppsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_dsDevelopmentSettingsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_dsEncryptionStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceSettingsEncryptionStatus)) :*: S1 (MetaSel (Just "_dsUnknownSourcesEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

deviceSettings :: DeviceSettings Source #

Creates a value of DeviceSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dsIsEncrypted :: Lens' DeviceSettings (Maybe Bool) Source #

Whether the storage encryption is enabled.

dsAdbEnabled :: Lens' DeviceSettings (Maybe Bool) Source #

Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device.

dsIsDeviceSecure :: Lens' DeviceSettings (Maybe Bool) Source #

Whether the device is secured with PIN/password.

dsVerifyAppsEnabled :: Lens' DeviceSettings (Maybe Bool) Source #

Whether Verify Apps (Google Play Protect (https://support.google.com/googleplay/answer/2812853)) is enabled on the device.

dsDevelopmentSettingsEnabled :: Lens' DeviceSettings (Maybe Bool) Source #

Whether developer mode is enabled on the device.

dsEncryptionStatus :: Lens' DeviceSettings (Maybe DeviceSettingsEncryptionStatus) Source #

Encryption status from DevicePolicyManager.

dsUnknownSourcesEnabled :: Lens' DeviceSettings (Maybe Bool) Source #

Whether installing apps from unknown sources is enabled.

PolicyPlayStoreMode

data PolicyPlayStoreMode Source #

This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy.

Constructors

PlayStoreModeUnspecified

PLAY_STORE_MODE_UNSPECIFIED Unspecified. Defaults to WHITELIST.

WhiteList

WHITELIST Only apps that are in the policy are available and any app not in the policy will be automatically uninstalled from the device.

BlackList

BLACKLIST All apps are available and any app that should not be on the device should be explicitly markeds as 'BLOCKED' in the applications policy.

Instances
Enum PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyPlayStoreMode -> c PolicyPlayStoreMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyPlayStoreMode #

toConstr :: PolicyPlayStoreMode -> Constr #

dataTypeOf :: PolicyPlayStoreMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyPlayStoreMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyPlayStoreMode) #

gmapT :: (forall b. Data b => b -> b) -> PolicyPlayStoreMode -> PolicyPlayStoreMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyPlayStoreMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyPlayStoreMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyPlayStoreMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyPlayStoreMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyPlayStoreMode -> m PolicyPlayStoreMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyPlayStoreMode -> m PolicyPlayStoreMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyPlayStoreMode -> m PolicyPlayStoreMode #

Ord PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PolicyPlayStoreMode :: Type -> Type #

Hashable PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyPlayStoreMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyPlayStoreMode = D1 (MetaData "PolicyPlayStoreMode" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "PlayStoreModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "WhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BlackList" PrefixI False) (U1 :: Type -> Type)))

ManagedConfigurationTemplateConfigurationVariables

data ManagedConfigurationTemplateConfigurationVariables Source #

Optional, a map containing configuration variables defined for the configuration.

See: managedConfigurationTemplateConfigurationVariables smart constructor.

Instances
Eq ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedConfigurationTemplateConfigurationVariables -> c ManagedConfigurationTemplateConfigurationVariables #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedConfigurationTemplateConfigurationVariables #

toConstr :: ManagedConfigurationTemplateConfigurationVariables -> Constr #

dataTypeOf :: ManagedConfigurationTemplateConfigurationVariables -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagedConfigurationTemplateConfigurationVariables) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedConfigurationTemplateConfigurationVariables) #

gmapT :: (forall b. Data b => b -> b) -> ManagedConfigurationTemplateConfigurationVariables -> ManagedConfigurationTemplateConfigurationVariables #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedConfigurationTemplateConfigurationVariables -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedConfigurationTemplateConfigurationVariables -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedConfigurationTemplateConfigurationVariables -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedConfigurationTemplateConfigurationVariables -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplateConfigurationVariables -> m ManagedConfigurationTemplateConfigurationVariables #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplateConfigurationVariables -> m ManagedConfigurationTemplateConfigurationVariables #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplateConfigurationVariables -> m ManagedConfigurationTemplateConfigurationVariables #

Show ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

ToJSON ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedConfigurationTemplateConfigurationVariables Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedConfigurationTemplateConfigurationVariables = D1 (MetaData "ManagedConfigurationTemplateConfigurationVariables" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "ManagedConfigurationTemplateConfigurationVariables'" PrefixI True) (S1 (MetaSel (Just "_mctcvAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

managedConfigurationTemplateConfigurationVariables Source #

Creates a value of ManagedConfigurationTemplateConfigurationVariables with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

DeviceManagementMode

data DeviceManagementMode Source #

The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.

Constructors

ManagementModeUnspecified

MANAGEMENT_MODE_UNSPECIFIED This value is disallowed.

DeviceOwner

DEVICE_OWNER Device owner. Android Device Policy has full control over the device.

ProFileOwner

PROFILE_OWNER Profile owner. Android Device Policy has control over a managed profile on the device.

Instances
Enum DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceManagementMode -> c DeviceManagementMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceManagementMode #

toConstr :: DeviceManagementMode -> Constr #

dataTypeOf :: DeviceManagementMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceManagementMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceManagementMode) #

gmapT :: (forall b. Data b => b -> b) -> DeviceManagementMode -> DeviceManagementMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceManagementMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceManagementMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceManagementMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceManagementMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceManagementMode -> m DeviceManagementMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceManagementMode -> m DeviceManagementMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceManagementMode -> m DeviceManagementMode #

Ord DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep DeviceManagementMode :: Type -> Type #

Hashable DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceManagementMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceManagementMode = D1 (MetaData "DeviceManagementMode" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ManagementModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DeviceOwner" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ProFileOwner" PrefixI False) (U1 :: Type -> Type)))

HardwareInfo

data HardwareInfo Source #

Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.

See: hardwareInfo smart constructor.

Instances
Eq HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HardwareInfo -> c HardwareInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HardwareInfo #

toConstr :: HardwareInfo -> Constr #

dataTypeOf :: HardwareInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HardwareInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HardwareInfo) #

gmapT :: (forall b. Data b => b -> b) -> HardwareInfo -> HardwareInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HardwareInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HardwareInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> HardwareInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HardwareInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HardwareInfo -> m HardwareInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HardwareInfo -> m HardwareInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HardwareInfo -> m HardwareInfo #

Show HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep HardwareInfo :: Type -> Type #

ToJSON HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep HardwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep HardwareInfo = D1 (MetaData "HardwareInfo" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "HardwareInfo'" PrefixI True) (((S1 (MetaSel (Just "_hiCPUThrottlingTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: (S1 (MetaSel (Just "_hiManufacturer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_hiBrand") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_hiCPUShutdownTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hiBatteryThrottlingTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double]))) :*: (S1 (MetaSel (Just "_hiModel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_hiBatteryShutdownTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double]))))) :*: ((S1 (MetaSel (Just "_hiSkinThrottlingTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: (S1 (MetaSel (Just "_hiGpuShutdownTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hiGpuThrottlingTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])))) :*: ((S1 (MetaSel (Just "_hiSkinShutdownTemperatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Double])) :*: S1 (MetaSel (Just "_hiSerialNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_hiDeviceBasebandVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_hiHardware") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

hiCPUThrottlingTemperatures :: Lens' HardwareInfo [Double] Source #

CPU throttling temperature thresholds in Celsius for each CPU on the device.

hiManufacturer :: Lens' HardwareInfo (Maybe Text) Source #

Manufacturer. For example, Motorola.

hiBrand :: Lens' HardwareInfo (Maybe Text) Source #

Brand of the device. For example, Google.

hiCPUShutdownTemperatures :: Lens' HardwareInfo [Double] Source #

CPU shutdown temperature thresholds in Celsius for each CPU on the device.

hiBatteryThrottlingTemperatures :: Lens' HardwareInfo [Double] Source #

Battery throttling temperature thresholds in Celsius for each battery on the device.

hiModel :: Lens' HardwareInfo (Maybe Text) Source #

The model of the device. For example, Asus Nexus 7.

hiBatteryShutdownTemperatures :: Lens' HardwareInfo [Double] Source #

Battery shutdown temperature thresholds in Celsius for each battery on the device.

hiSkinThrottlingTemperatures :: Lens' HardwareInfo [Double] Source #

Device skin throttling temperature thresholds in Celsius.

hiGpuShutdownTemperatures :: Lens' HardwareInfo [Double] Source #

GPU shutdown temperature thresholds in Celsius for each GPU on the device.

hiGpuThrottlingTemperatures :: Lens' HardwareInfo [Double] Source #

GPU throttling temperature thresholds in Celsius for each GPU on the device.

hiSkinShutdownTemperatures :: Lens' HardwareInfo [Double] Source #

Device skin shutdown temperature thresholds in Celsius.

hiSerialNumber :: Lens' HardwareInfo (Maybe Text) Source #

The device serial number.

hiDeviceBasebandVersion :: Lens' HardwareInfo (Maybe Text) Source #

Baseband version. For example, MDM9625_104662.22.05.34p.

hiHardware :: Lens' HardwareInfo (Maybe Text) Source #

Name of the hardware. For example, Angler.

Device

data Device Source #

A device owned by an enterprise. Unless otherwise noted, all fields are read-only and can't be modified by enterprises.devices.patch.

See: device smart constructor.

Instances
Eq Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Device -> Device -> Bool #

(/=) :: Device -> Device -> Bool #

Data Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Device -> c Device #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Device #

toConstr :: Device -> Constr #

dataTypeOf :: Device -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Device) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Device) #

gmapT :: (forall b. Data b => b -> b) -> Device -> Device #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Device -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Device -> r #

gmapQ :: (forall d. Data d => d -> u) -> Device -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Device -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Device -> m Device #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Device -> m Device #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Device -> m Device #

Show Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Device :: Type -> Type #

Methods

from :: Device -> Rep Device x #

to :: Rep Device x -> Device #

ToJSON Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Device Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Device = D1 (MetaData "Device" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Device'" PrefixI True) ((((S1 (MetaSel (Just "_devMemoryInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MemoryInfo)) :*: (S1 (MetaSel (Just "_devPolicyCompliant") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_devApplicationReports") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ApplicationReport])))) :*: ((S1 (MetaSel (Just "_devPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_devState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceState))) :*: (S1 (MetaSel (Just "_devAppliedPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_devLastStatusReportTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))) :*: (((S1 (MetaSel (Just "_devDeviceSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceSettings)) :*: S1 (MetaSel (Just "_devEnrollmentTokenName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_devManagementMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceManagementMode)) :*: S1 (MetaSel (Just "_devHardwareInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HardwareInfo)))) :*: ((S1 (MetaSel (Just "_devPowerManagementEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PowerManagementEvent])) :*: S1 (MetaSel (Just "_devUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_devMemoryEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MemoryEvent])) :*: S1 (MetaSel (Just "_devAPILevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))) :*: (((S1 (MetaSel (Just "_devUser") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe User)) :*: (S1 (MetaSel (Just "_devDisabledReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage)) :*: S1 (MetaSel (Just "_devLastPolicyComplianceReportTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: ((S1 (MetaSel (Just "_devEnrollmentTokenData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_devName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_devAppliedPolicyVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_devHardwareStatusSamples") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [HardwareStatus]))))) :*: (((S1 (MetaSel (Just "_devAppliedState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceAppliedState)) :*: S1 (MetaSel (Just "_devPreviousDeviceNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_devLastPolicySyncTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_devNetworkInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NetworkInfo)))) :*: ((S1 (MetaSel (Just "_devNonComplianceDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [NonComplianceDetail])) :*: S1 (MetaSel (Just "_devSoftwareInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SoftwareInfo))) :*: (S1 (MetaSel (Just "_devEnrollmentTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_devDisplays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Display]))))))))

devMemoryInfo :: Lens' Device (Maybe MemoryInfo) Source #

Memory information. This information is only available if memoryInfoEnabled is true in the device's policy.

devPolicyCompliant :: Lens' Device (Maybe Bool) Source #

Whether the device is compliant with its policy.

devApplicationReports :: Lens' Device [ApplicationReport] Source #

Reports for apps installed on the device. This information is only available when application_reports_enabled is true in the device's policy.

devPolicyName :: Lens' Device (Maybe Text) Source #

The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred.

devState :: Lens' Device (Maybe DeviceState) Source #

The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete.

devAppliedPolicyName :: Lens' Device (Maybe Text) Source #

The name of the policy currently applied to the device.

devLastStatusReportTime :: Lens' Device (Maybe UTCTime) Source #

The last time the device sent a status report.

devDeviceSettings :: Lens' Device (Maybe DeviceSettings) Source #

Device settings information. This information is only available if deviceSettingsEnabled is true in the device's policy.

devEnrollmentTokenName :: Lens' Device (Maybe Text) Source #

If the device was enrolled with an enrollment token, this field contains the name of the token.

devManagementMode :: Lens' Device (Maybe DeviceManagementMode) Source #

The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported.

devHardwareInfo :: Lens' Device (Maybe HardwareInfo) Source #

Detailed information about the device hardware.

devPowerManagementEvents :: Lens' Device [PowerManagementEvent] Source #

Power management events on the device in chronological order. This information is only available if powerManagementEventsEnabled is true in the device's policy.

devUserName :: Lens' Device (Maybe Text) Source #

The resource name of the user that owns this device in the form enterprises/{enterpriseId}/users/{userId}.

devMemoryEvents :: Lens' Device [MemoryEvent] Source #

Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy.

devAPILevel :: Lens' Device (Maybe Int32) Source #

The API level of the Android platform version running on the device.

devUser :: Lens' Device (Maybe User) Source #

The user who owns the device.

devDisabledReason :: Lens' Device (Maybe UserFacingMessage) Source #

If the device state is DISABLED, an optional message that is displayed on the device indicating the reason the device is disabled. This field can be modified by a patch request.

devEnrollmentTokenData :: Lens' Device (Maybe Text) Source #

If the device was enrolled with an enrollment token with additional data provided, this field contains that data.

devName :: Lens' Device (Maybe Text) Source #

The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.

devAppliedPolicyVersion :: Lens' Device (Maybe Int64) Source #

The version of the policy currently applied to the device.

devHardwareStatusSamples :: Lens' Device [HardwareStatus] Source #

Hardware status samples in chronological order. This information is only available if hardwareStatusEnabled is true in the device's policy.

devAppliedState :: Lens' Device (Maybe DeviceAppliedState) Source #

The state currently applied to the device.

devPreviousDeviceNames :: Lens' Device [Text] Source #

If the same physical device has been enrolled multiple times, this field contains its previous device names. The serial number is used as the unique identifier to determine if the same physical device has enrolled previously. The names are in chronological order.

devLastPolicySyncTime :: Lens' Device (Maybe UTCTime) Source #

The last time the device fetched its policy.

devNetworkInfo :: Lens' Device (Maybe NetworkInfo) Source #

Device network information. This information is only available if networkInfoEnabled is true in the device's policy.

devNonComplianceDetails :: Lens' Device [NonComplianceDetail] Source #

Details about policy settings that the device is not compliant with.

devSoftwareInfo :: Lens' Device (Maybe SoftwareInfo) Source #

Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy.

devEnrollmentTime :: Lens' Device (Maybe UTCTime) Source #

The time of device enrollment.

devDisplays :: Lens' Device [Display] Source #

Detailed information about displays on the device. This information is only available if displayInfoEnabled is true in the device's policy.

ApplicationReportApplicationSource

data ApplicationReportApplicationSource Source #

The source of the package.

Constructors

ApplicationSourceUnspecified

APPLICATION_SOURCE_UNSPECIFIED The app was sideloaded from an unspecified source.

SystemAppFactoryVersion

SYSTEM_APP_FACTORY_VERSION This is a system app from the device's factory image.

SystemAppUpdatedVersion

SYSTEM_APP_UPDATED_VERSION This is an updated system app.

InstalledFromPlayStore

INSTALLED_FROM_PLAY_STORE The app was installed from the Google Play Store.

Instances
Enum ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationReportApplicationSource -> c ApplicationReportApplicationSource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationReportApplicationSource #

toConstr :: ApplicationReportApplicationSource -> Constr #

dataTypeOf :: ApplicationReportApplicationSource -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationReportApplicationSource) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationReportApplicationSource) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationReportApplicationSource -> ApplicationReportApplicationSource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReportApplicationSource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReportApplicationSource -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationReportApplicationSource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationReportApplicationSource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationReportApplicationSource -> m ApplicationReportApplicationSource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReportApplicationSource -> m ApplicationReportApplicationSource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReportApplicationSource -> m ApplicationReportApplicationSource #

Ord ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep ApplicationReportApplicationSource :: Type -> Type #

Hashable ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationReportApplicationSource Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationReportApplicationSource = D1 (MetaData "ApplicationReportApplicationSource" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "ApplicationSourceUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SystemAppFactoryVersion" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SystemAppUpdatedVersion" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InstalledFromPlayStore" PrefixI False) (U1 :: Type -> Type)))

StatusDetailsItem

data StatusDetailsItem Source #

Instances
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

Creates a value of StatusDetailsItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

ApplicationPolicyInstallType

data ApplicationPolicyInstallType Source #

The type of installation to perform.

Constructors

InstallTypeUnspecified

INSTALL_TYPE_UNSPECIFIED Unspecified. Defaults to AVAILABLE.

Preinstalled

PREINSTALLED The app is automatically installed and can be removed by the user.

ForceInstalled

FORCE_INSTALLED The app is automatically installed and can't be removed by the user.

Blocked

BLOCKED The app is blocked and can't be installed. If the app was installed under a previous policy, it will be uninstalled.

Available

AVAILABLE The app is available to install.

Instances
Enum ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationPolicyInstallType -> c ApplicationPolicyInstallType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationPolicyInstallType #

toConstr :: ApplicationPolicyInstallType -> Constr #

dataTypeOf :: ApplicationPolicyInstallType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationPolicyInstallType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationPolicyInstallType) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationPolicyInstallType -> ApplicationPolicyInstallType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyInstallType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyInstallType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationPolicyInstallType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationPolicyInstallType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationPolicyInstallType -> m ApplicationPolicyInstallType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyInstallType -> m ApplicationPolicyInstallType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyInstallType -> m ApplicationPolicyInstallType #

Ord ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep ApplicationPolicyInstallType :: Type -> Type #

Hashable ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationPolicyInstallType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationPolicyInstallType = D1 (MetaData "ApplicationPolicyInstallType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "InstallTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Preinstalled" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ForceInstalled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Blocked" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Available" PrefixI False) (U1 :: Type -> Type))))

NonComplianceDetailInstallationFailureReason

data NonComplianceDetailInstallationFailureReason Source #

If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.

Constructors

InstallationFailureReasonUnspecified

INSTALLATION_FAILURE_REASON_UNSPECIFIED This value is disallowed.

InstallationFailureReasonUnknown

INSTALLATION_FAILURE_REASON_UNKNOWN An unknown condition is preventing the app from being installed. Some potential reasons are that the device doesn't have enough storage, the device network connection is unreliable, or the installation is taking longer than expected. The installation will be retried automatically.

InProgress

IN_PROGRESS The installation is still in progress.

NotFound

NOT_FOUND The app was not found in Play.

NotCompatibleWithDevice

NOT_COMPATIBLE_WITH_DEVICE The app is incompatible with the device.

NotApproved

NOT_APPROVED The app has not been approved by the admin.

PermissionsNotAccepted

PERMISSIONS_NOT_ACCEPTED The app has new permissions that have not been accepted by the admin.

NotAvailableInCountry

NOT_AVAILABLE_IN_COUNTRY The app is not available in the user's country.

NoLicensesRemaining

NO_LICENSES_REMAINING There are no licenses available to assign to the user.

NotEnrolled

NOT_ENROLLED The enterprise is no longer enrolled with managed Play or the admin has not accepted the latest managed Play terms of service.

UserInvalid

USER_INVALID The user is no longer valid. The user may have been deleted or disabled.

Instances
Enum NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NonComplianceDetailInstallationFailureReason -> c NonComplianceDetailInstallationFailureReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NonComplianceDetailInstallationFailureReason #

toConstr :: NonComplianceDetailInstallationFailureReason -> Constr #

dataTypeOf :: NonComplianceDetailInstallationFailureReason -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NonComplianceDetailInstallationFailureReason) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NonComplianceDetailInstallationFailureReason) #

gmapT :: (forall b. Data b => b -> b) -> NonComplianceDetailInstallationFailureReason -> NonComplianceDetailInstallationFailureReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailInstallationFailureReason -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailInstallationFailureReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> NonComplianceDetailInstallationFailureReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NonComplianceDetailInstallationFailureReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NonComplianceDetailInstallationFailureReason -> m NonComplianceDetailInstallationFailureReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailInstallationFailureReason -> m NonComplianceDetailInstallationFailureReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailInstallationFailureReason -> m NonComplianceDetailInstallationFailureReason #

Ord NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Hashable NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailInstallationFailureReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailInstallationFailureReason = D1 (MetaData "NonComplianceDetailInstallationFailureReason" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "InstallationFailureReasonUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InstallationFailureReasonUnknown" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "InProgress" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NotFound" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotCompatibleWithDevice" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "NotApproved" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PermissionsNotAccepted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NotAvailableInCountry" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "NoLicensesRemaining" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NotEnrolled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UserInvalid" PrefixI False) (U1 :: Type -> Type)))))

PasswordRequirementsPasswordScope

data PasswordRequirementsPasswordScope Source #

The scope that the password requirement applies to.

Constructors

ScopeUnspecified

SCOPE_UNSPECIFIED The scope is unspecified. The password requirements are applied to the work profile for work profile devices and the whole device for fully managed or dedicated devices.

ScopeDevice

SCOPE_DEVICE The password requirements are only applied to the device.

ScopeProFile

SCOPE_PROFILE The password requirements are only applied to the work profile.

Instances
Enum PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PasswordRequirementsPasswordScope -> c PasswordRequirementsPasswordScope #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PasswordRequirementsPasswordScope #

toConstr :: PasswordRequirementsPasswordScope -> Constr #

dataTypeOf :: PasswordRequirementsPasswordScope -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PasswordRequirementsPasswordScope) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PasswordRequirementsPasswordScope) #

gmapT :: (forall b. Data b => b -> b) -> PasswordRequirementsPasswordScope -> PasswordRequirementsPasswordScope #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirementsPasswordScope -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirementsPasswordScope -> r #

gmapQ :: (forall d. Data d => d -> u) -> PasswordRequirementsPasswordScope -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PasswordRequirementsPasswordScope -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordScope -> m PasswordRequirementsPasswordScope #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordScope -> m PasswordRequirementsPasswordScope #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordScope -> m PasswordRequirementsPasswordScope #

Ord PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PasswordRequirementsPasswordScope :: Type -> Type #

Hashable PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PasswordRequirementsPasswordScope Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PasswordRequirementsPasswordScope = D1 (MetaData "PasswordRequirementsPasswordScope" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ScopeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ScopeDevice" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ScopeProFile" PrefixI False) (U1 :: Type -> Type)))

ManagedPropertyEntry

data ManagedPropertyEntry Source #

An entry of a managed property.

See: managedPropertyEntry smart constructor.

Instances
Eq ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedPropertyEntry -> c ManagedPropertyEntry #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedPropertyEntry #

toConstr :: ManagedPropertyEntry -> Constr #

dataTypeOf :: ManagedPropertyEntry -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagedPropertyEntry) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedPropertyEntry) #

gmapT :: (forall b. Data b => b -> b) -> ManagedPropertyEntry -> ManagedPropertyEntry #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedPropertyEntry -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedPropertyEntry -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedPropertyEntry -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedPropertyEntry -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedPropertyEntry -> m ManagedPropertyEntry #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedPropertyEntry -> m ManagedPropertyEntry #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedPropertyEntry -> m ManagedPropertyEntry #

Show ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ManagedPropertyEntry :: Type -> Type #

ToJSON ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedPropertyEntry Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedPropertyEntry = D1 (MetaData "ManagedPropertyEntry" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ManagedPropertyEntry'" PrefixI True) (S1 (MetaSel (Just "_mpeValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mpeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

managedPropertyEntry :: ManagedPropertyEntry Source #

Creates a value of ManagedPropertyEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mpeValue :: Lens' ManagedPropertyEntry (Maybe Text) Source #

The machine-readable value of the entry, which should be used in the configuration. Not localized.

mpeName :: Lens' ManagedPropertyEntry (Maybe Text) Source #

The human-readable name of the value. Localized.

DeviceSettingsEncryptionStatus

data DeviceSettingsEncryptionStatus Source #

Encryption status from DevicePolicyManager.

Constructors

DSESEncryptionStatusUnspecified

ENCRYPTION_STATUS_UNSPECIFIED Unspecified. No device should have this type.

DSESUnsupported

UNSUPPORTED Encryption is not supported by the device.

DSESInactive

INACTIVE Encryption is supported by the device, but is not currently active.

DSESActivating

ACTIVATING Encryption is not currently active, but is currently being activated.

DSESActive

ACTIVE Encryption is active.

DSESActiveDefaultKey

ACTIVE_DEFAULT_KEY Encryption is active, but an encryption key is not set by the user.

DSESActivePerUser

ACTIVE_PER_USER Encryption is active, and the encryption key is tied to the user profile.

Instances
Enum DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceSettingsEncryptionStatus -> c DeviceSettingsEncryptionStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceSettingsEncryptionStatus #

toConstr :: DeviceSettingsEncryptionStatus -> Constr #

dataTypeOf :: DeviceSettingsEncryptionStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceSettingsEncryptionStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceSettingsEncryptionStatus) #

gmapT :: (forall b. Data b => b -> b) -> DeviceSettingsEncryptionStatus -> DeviceSettingsEncryptionStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceSettingsEncryptionStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceSettingsEncryptionStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceSettingsEncryptionStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceSettingsEncryptionStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceSettingsEncryptionStatus -> m DeviceSettingsEncryptionStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceSettingsEncryptionStatus -> m DeviceSettingsEncryptionStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceSettingsEncryptionStatus -> m DeviceSettingsEncryptionStatus #

Ord DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep DeviceSettingsEncryptionStatus :: Type -> Type #

Hashable DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceSettingsEncryptionStatus Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceSettingsEncryptionStatus = D1 (MetaData "DeviceSettingsEncryptionStatus" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "DSESEncryptionStatusUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DSESUnsupported" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DSESInactive" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "DSESActivating" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DSESActive" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DSESActiveDefaultKey" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DSESActivePerUser" PrefixI False) (U1 :: Type -> Type))))

PolicyLocationMode

data PolicyLocationMode Source #

The degree of location detection enabled. The user may change the value unless the user is otherwise blocked from accessing device settings.

Constructors

PLMLocationModeUnspecified

LOCATION_MODE_UNSPECIFIED The current device value is not modified.

PLMHighAccuracy

HIGH_ACCURACY All location detection methods are enabled, including GPS, networks, and other sensors.

PLMSensorsOnly

SENSORS_ONLY Only GPS and other sensors are enabled.

PLMBatterySaving

BATTERY_SAVING Only the network location provider is enabled.

PLMOff

OFF Location detection is disabled.

Instances
Enum PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyLocationMode -> c PolicyLocationMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyLocationMode #

toConstr :: PolicyLocationMode -> Constr #

dataTypeOf :: PolicyLocationMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyLocationMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyLocationMode) #

gmapT :: (forall b. Data b => b -> b) -> PolicyLocationMode -> PolicyLocationMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyLocationMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyLocationMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyLocationMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyLocationMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyLocationMode -> m PolicyLocationMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyLocationMode -> m PolicyLocationMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyLocationMode -> m PolicyLocationMode #

Ord PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PolicyLocationMode :: Type -> Type #

Hashable PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyLocationMode Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyLocationMode = D1 (MetaData "PolicyLocationMode" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "PLMLocationModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PLMHighAccuracy" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PLMSensorsOnly" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PLMBatterySaving" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PLMOff" PrefixI False) (U1 :: Type -> Type))))

ChoosePrivateKeyRule

data ChoosePrivateKeyRule Source #

A rule for automatically choosing a private key and certificate to authenticate the device to a server.

See: choosePrivateKeyRule smart constructor.

Instances
Eq ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ChoosePrivateKeyRule -> c ChoosePrivateKeyRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ChoosePrivateKeyRule #

toConstr :: ChoosePrivateKeyRule -> Constr #

dataTypeOf :: ChoosePrivateKeyRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ChoosePrivateKeyRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ChoosePrivateKeyRule) #

gmapT :: (forall b. Data b => b -> b) -> ChoosePrivateKeyRule -> ChoosePrivateKeyRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ChoosePrivateKeyRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ChoosePrivateKeyRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> ChoosePrivateKeyRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ChoosePrivateKeyRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ChoosePrivateKeyRule -> m ChoosePrivateKeyRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ChoosePrivateKeyRule -> m ChoosePrivateKeyRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ChoosePrivateKeyRule -> m ChoosePrivateKeyRule #

Show ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ChoosePrivateKeyRule :: Type -> Type #

ToJSON ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ChoosePrivateKeyRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ChoosePrivateKeyRule = D1 (MetaData "ChoosePrivateKeyRule" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ChoosePrivateKeyRule'" PrefixI True) (S1 (MetaSel (Just "_cpkrPrivateKeyAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cpkrURLPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cpkrPackageNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

choosePrivateKeyRule :: ChoosePrivateKeyRule Source #

Creates a value of ChoosePrivateKeyRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cpkrPrivateKeyAlias :: Lens' ChoosePrivateKeyRule (Maybe Text) Source #

The alias of the private key to be used.

cpkrURLPattern :: Lens' ChoosePrivateKeyRule (Maybe Text) Source #

The URL pattern to match against the URL of the outgoing request. The pattern may contain asterisk (*) wildcards. Any URL is matched if unspecified.

cpkrPackageNames :: Lens' ChoosePrivateKeyRule [Text] Source #

The package names for which outgoing requests are subject to this rule. If no package names are specified, then the rule applies to all packages. For each package name listed, the rule applies to that package and all other packages that shared the same Android UID. The SHA256 hash of the signing key signatures of each package_name will be verified against those provided by Play

UserFacingMessageLocalizedMessages

data UserFacingMessageLocalizedMessages Source #

A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr.

See: userFacingMessageLocalizedMessages smart constructor.

Instances
Eq UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserFacingMessageLocalizedMessages -> c UserFacingMessageLocalizedMessages #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserFacingMessageLocalizedMessages #

toConstr :: UserFacingMessageLocalizedMessages -> Constr #

dataTypeOf :: UserFacingMessageLocalizedMessages -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserFacingMessageLocalizedMessages) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserFacingMessageLocalizedMessages) #

gmapT :: (forall b. Data b => b -> b) -> UserFacingMessageLocalizedMessages -> UserFacingMessageLocalizedMessages #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserFacingMessageLocalizedMessages -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserFacingMessageLocalizedMessages -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserFacingMessageLocalizedMessages -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserFacingMessageLocalizedMessages -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserFacingMessageLocalizedMessages -> m UserFacingMessageLocalizedMessages #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserFacingMessageLocalizedMessages -> m UserFacingMessageLocalizedMessages #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserFacingMessageLocalizedMessages -> m UserFacingMessageLocalizedMessages #

Show UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep UserFacingMessageLocalizedMessages :: Type -> Type #

ToJSON UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep UserFacingMessageLocalizedMessages Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep UserFacingMessageLocalizedMessages = D1 (MetaData "UserFacingMessageLocalizedMessages" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "UserFacingMessageLocalizedMessages'" PrefixI True) (S1 (MetaSel (Just "_ufmlmAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

userFacingMessageLocalizedMessages Source #

Creates a value of UserFacingMessageLocalizedMessages with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

User

data User Source #

A user belonging to an enterprise.

See: user smart constructor.

Instances
Eq User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Data User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> User -> c User #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c User #

toConstr :: User -> Constr #

dataTypeOf :: User -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c User) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c User) #

gmapT :: (forall b. Data b => b -> b) -> User -> User #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> User -> r #

gmapQ :: (forall d. Data d => d -> u) -> User -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> User -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> User -> m User #

Show User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep User Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep User = D1 (MetaData "User" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "User'" PrefixI True) (S1 (MetaSel (Just "_uAccountIdentifier") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

user :: User Source #

Creates a value of User with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uAccountIdentifier :: Lens' User (Maybe Text) Source #

A unique identifier you create for this user, such as user342 or asset#44418. This field must be set when the user is created and can't be updated. This field must not contain personally identifiable information (PII). This identifier must be 1024 characters or less; otherwise, the update policy request will fail.

SystemUpdate

data SystemUpdate Source #

Configuration for managing system updates

See: systemUpdate smart constructor.

Instances
Eq SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SystemUpdate -> c SystemUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SystemUpdate #

toConstr :: SystemUpdate -> Constr #

dataTypeOf :: SystemUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SystemUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SystemUpdate) #

gmapT :: (forall b. Data b => b -> b) -> SystemUpdate -> SystemUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SystemUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SystemUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> SystemUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SystemUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SystemUpdate -> m SystemUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemUpdate -> m SystemUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SystemUpdate -> m SystemUpdate #

Show SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep SystemUpdate :: Type -> Type #

ToJSON SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SystemUpdate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SystemUpdate = D1 (MetaData "SystemUpdate" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "SystemUpdate'" PrefixI True) (S1 (MetaSel (Just "_suEndMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_suStartMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_suType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SystemUpdateType)))))

systemUpdate :: SystemUpdate Source #

Creates a value of SystemUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

suEndMinutes :: Lens' SystemUpdate (Maybe Int32) Source #

If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device's local time. This value must be between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time.

suStartMinutes :: Lens' SystemUpdate (Maybe Int32) Source #

If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in the device's local time. This value must be between 0 and 1439, inclusive.

suType :: Lens' SystemUpdate (Maybe SystemUpdateType) Source #

The type of system update to configure.

ApplicationReport

data ApplicationReport Source #

Information reported about an installed app.

See: applicationReport smart constructor.

Instances
Eq ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationReport -> c ApplicationReport #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationReport #

toConstr :: ApplicationReport -> Constr #

dataTypeOf :: ApplicationReport -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationReport) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationReport) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationReport -> ApplicationReport #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReport -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReport -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationReport -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationReport -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationReport -> m ApplicationReport #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReport -> m ApplicationReport #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReport -> m ApplicationReport #

Show ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ApplicationReport :: Type -> Type #

ToJSON ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationReport Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

applicationReport :: ApplicationReport Source #

Creates a value of ApplicationReport with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

arVersionCode :: Lens' ApplicationReport (Maybe Int32) Source #

The app version code, which can be used to determine whether one version is more recent than another.

arSigningKeyCertFingerprints :: Lens' ApplicationReport [Text] Source #

The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number.

arVersionName :: Lens' ApplicationReport (Maybe Text) Source #

The app version as displayed to the user.

arPackageName :: Lens' ApplicationReport (Maybe Text) Source #

Package name of the app.

arPackageSha256Hash :: Lens' ApplicationReport (Maybe Text) Source #

The SHA-256 hash of the app's APK file, which can be used to verify the app hasn't been modified. Each byte of the hash value is represented as a two-digit hexadecimal number.

arEvents :: Lens' ApplicationReport [ApplicationEvent] Source #

List of app events. The most recent 20 events are stored in the list.

arDisplayName :: Lens' ApplicationReport (Maybe Text) Source #

The display name of the app.

arInstallerPackageName :: Lens' ApplicationReport (Maybe Text) Source #

The package name of the app that installed this app.

PolicyAppAutoUpdatePolicy

data PolicyAppAutoUpdatePolicy Source #

The app auto update policy, which controls when automatic app updates can be applied.

Constructors

AppAutoUpdatePolicyUnspecified

APP_AUTO_UPDATE_POLICY_UNSPECIFIED The auto-update policy is not set. Equivalent to CHOICE_TO_THE_USER.

ChoiceToTheUser

CHOICE_TO_THE_USER The user can control auto-updates.

Never

NEVER Apps are never auto-updated.

WifiOnly

WIFI_ONLY Apps are auto-updated over Wi-Fi only.

Always

ALWAYS Apps are auto-updated at any time. Data charges may apply.

Instances
Enum PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyAppAutoUpdatePolicy -> c PolicyAppAutoUpdatePolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyAppAutoUpdatePolicy #

toConstr :: PolicyAppAutoUpdatePolicy -> Constr #

dataTypeOf :: PolicyAppAutoUpdatePolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyAppAutoUpdatePolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyAppAutoUpdatePolicy) #

gmapT :: (forall b. Data b => b -> b) -> PolicyAppAutoUpdatePolicy -> PolicyAppAutoUpdatePolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyAppAutoUpdatePolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyAppAutoUpdatePolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyAppAutoUpdatePolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyAppAutoUpdatePolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyAppAutoUpdatePolicy -> m PolicyAppAutoUpdatePolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyAppAutoUpdatePolicy -> m PolicyAppAutoUpdatePolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyAppAutoUpdatePolicy -> m PolicyAppAutoUpdatePolicy #

Ord PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PolicyAppAutoUpdatePolicy :: Type -> Type #

Hashable PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyAppAutoUpdatePolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyAppAutoUpdatePolicy = D1 (MetaData "PolicyAppAutoUpdatePolicy" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "AppAutoUpdatePolicyUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ChoiceToTheUser" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Never" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "WifiOnly" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Always" PrefixI False) (U1 :: Type -> Type))))

EnrollmentToken

data EnrollmentToken Source #

An enrollment token.

See: enrollmentToken smart constructor.

Instances
Eq EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnrollmentToken -> c EnrollmentToken #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnrollmentToken #

toConstr :: EnrollmentToken -> Constr #

dataTypeOf :: EnrollmentToken -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EnrollmentToken) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnrollmentToken) #

gmapT :: (forall b. Data b => b -> b) -> EnrollmentToken -> EnrollmentToken #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnrollmentToken -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnrollmentToken -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnrollmentToken -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnrollmentToken -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnrollmentToken -> m EnrollmentToken #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnrollmentToken -> m EnrollmentToken #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnrollmentToken -> m EnrollmentToken #

Show EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep EnrollmentToken :: Type -> Type #

ToJSON EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep EnrollmentToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

enrollmentToken :: EnrollmentToken Source #

Creates a value of EnrollmentToken with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

etPolicyName :: Lens' EnrollmentToken (Maybe Text) Source #

The name of the policy initially applied to the enrolled device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device’s user is applied. If user_name is also not specified, enterprises/{enterpriseId}/policies/default is applied by default. When updating this field, you can specify only the policyId as long as the policyId doesn’t contain any slashes. The rest of the policy name will be inferred.

etValue :: Lens' EnrollmentToken (Maybe Text) Source #

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.

etQrCode :: Lens' EnrollmentToken (Maybe Text) Source #

A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON.

etAdditionalData :: Lens' EnrollmentToken (Maybe Text) Source #

Optional, arbitrary data associated with the enrollment token. This could contain, for example, the ID of an org unit the device is assigned to after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data must be 1024 characters or less; otherwise, the creation request will fail.

etUser :: Lens' EnrollmentToken (Maybe User) Source #

The user associated with this enrollment token. If it's specified when the enrollment token is created and the user does not exist, the user will be created. This field must not contain personally identifiable information. Only the account_identifier field needs to be set.

etName :: Lens' EnrollmentToken (Maybe Text) Source #

The name of the enrollment token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}.

etOneTimeOnly :: Lens' EnrollmentToken (Maybe Bool) Source #

Whether the enrollment token is for one time use only. If the flag is set to true, only one device can use it for registration.

etExpirationTimestamp :: Lens' EnrollmentToken (Maybe UTCTime) Source #

The expiration time of the token. This is a read-only field generated by the server.

etDuration :: Lens' EnrollmentToken (Maybe Scientific) Source #

The length of time the enrollment token is valid, ranging from 1 minute to 30 days. If not specified, the default duration is 1 hour.

ApplicationPolicyManagedConfiguration

data ApplicationPolicyManagedConfiguration Source #

Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty: > -------------- ------------------ > type JSON value > BOOL true or false > STRING string > INTEGER number > CHOICE string > MULTISELECT array of strings > HIDDEN string > BUNDLE_ARRAY array of objects > -------------- ------------------

See: applicationPolicyManagedConfiguration smart constructor.

Instances
Eq ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationPolicyManagedConfiguration -> c ApplicationPolicyManagedConfiguration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationPolicyManagedConfiguration #

toConstr :: ApplicationPolicyManagedConfiguration -> Constr #

dataTypeOf :: ApplicationPolicyManagedConfiguration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationPolicyManagedConfiguration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationPolicyManagedConfiguration) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationPolicyManagedConfiguration -> ApplicationPolicyManagedConfiguration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyManagedConfiguration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyManagedConfiguration -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationPolicyManagedConfiguration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationPolicyManagedConfiguration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationPolicyManagedConfiguration -> m ApplicationPolicyManagedConfiguration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyManagedConfiguration -> m ApplicationPolicyManagedConfiguration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyManagedConfiguration -> m ApplicationPolicyManagedConfiguration #

Show ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

ToJSON ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPolicyManagedConfiguration Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPolicyManagedConfiguration = D1 (MetaData "ApplicationPolicyManagedConfiguration" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "ApplicationPolicyManagedConfiguration'" PrefixI True) (S1 (MetaSel (Just "_apmcAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

applicationPolicyManagedConfiguration Source #

Creates a value of ApplicationPolicyManagedConfiguration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

PolicyEncryptionPolicy

data PolicyEncryptionPolicy Source #

Whether encryption is enabled

Constructors

EncryptionPolicyUnspecified

ENCRYPTION_POLICY_UNSPECIFIED This value is ignored, i.e. no encryption required

EnabledWithoutPassword

ENABLED_WITHOUT_PASSWORD Encryption required but no password required to boot

EnabledWithPassword

ENABLED_WITH_PASSWORD Encryption required with password required to boot

Instances
Enum PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyEncryptionPolicy -> c PolicyEncryptionPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyEncryptionPolicy #

toConstr :: PolicyEncryptionPolicy -> Constr #

dataTypeOf :: PolicyEncryptionPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyEncryptionPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyEncryptionPolicy) #

gmapT :: (forall b. Data b => b -> b) -> PolicyEncryptionPolicy -> PolicyEncryptionPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyEncryptionPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyEncryptionPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyEncryptionPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyEncryptionPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyEncryptionPolicy -> m PolicyEncryptionPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyEncryptionPolicy -> m PolicyEncryptionPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyEncryptionPolicy -> m PolicyEncryptionPolicy #

Ord PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PolicyEncryptionPolicy :: Type -> Type #

Hashable PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyEncryptionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyEncryptionPolicy = D1 (MetaData "PolicyEncryptionPolicy" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "EncryptionPolicyUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "EnabledWithoutPassword" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EnabledWithPassword" PrefixI False) (U1 :: Type -> Type)))

StatusReportingSettings

data StatusReportingSettings Source #

Settings controlling the behavior of status reports.

See: statusReportingSettings smart constructor.

Instances
Eq StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusReportingSettings -> c StatusReportingSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusReportingSettings #

toConstr :: StatusReportingSettings -> Constr #

dataTypeOf :: StatusReportingSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusReportingSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusReportingSettings) #

gmapT :: (forall b. Data b => b -> b) -> StatusReportingSettings -> StatusReportingSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusReportingSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusReportingSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusReportingSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusReportingSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusReportingSettings -> m StatusReportingSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusReportingSettings -> m StatusReportingSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusReportingSettings -> m StatusReportingSettings #

Show StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep StatusReportingSettings :: Type -> Type #

ToJSON StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep StatusReportingSettings Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep StatusReportingSettings = D1 (MetaData "StatusReportingSettings" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "StatusReportingSettings'" PrefixI True) (((S1 (MetaSel (Just "_srsSoftwareInfoEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_srsHardwareStatusEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_srsPowerManagementEventsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_srsDisplayInfoEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_srsApplicationReportsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_srsMemoryInfoEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_srsNetworkInfoEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_srsDeviceSettingsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

srsSoftwareInfoEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether software info reporting is enabled.

srsHardwareStatusEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether hardware status reporting is enabled.

srsPowerManagementEventsEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether power management event reporting is enabled.

srsDisplayInfoEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether displays reporting is enabled.

srsMemoryInfoEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether memory reporting is enabled.

srsNetworkInfoEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether network info reporting is enabled.

srsDeviceSettingsEnabled :: Lens' StatusReportingSettings (Maybe Bool) Source #

Whether device settings reporting is enabled.

CommandType

data CommandType Source #

The type of the command.

Constructors

CommandTypeUnspecified

COMMAND_TYPE_UNSPECIFIED This value is disallowed.

Lock

LOCK Lock the device, as if the lock screen timeout had expired.

ResetPassword

RESET_PASSWORD Reset the user's password.

Reboot

REBOOT Reboot the device. Only supported on API level 24+.

Instances
Enum CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CommandType -> c CommandType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CommandType #

toConstr :: CommandType -> Constr #

dataTypeOf :: CommandType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CommandType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CommandType) #

gmapT :: (forall b. Data b => b -> b) -> CommandType -> CommandType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CommandType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CommandType -> r #

gmapQ :: (forall d. Data d => d -> u) -> CommandType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CommandType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CommandType -> m CommandType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CommandType -> m CommandType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CommandType -> m CommandType #

Ord CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep CommandType :: Type -> Type #

Hashable CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep CommandType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep CommandType = D1 (MetaData "CommandType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "CommandTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Lock" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ResetPassword" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Reboot" PrefixI False) (U1 :: Type -> Type)))

ApplicationPolicyDefaultPermissionPolicy

data ApplicationPolicyDefaultPermissionPolicy Source #

The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps. It does not override the permission_grants which applies to all apps.

Constructors

APDPPPermissionPolicyUnspecified

PERMISSION_POLICY_UNSPECIFIED Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.

APDPPPrompt

PROMPT Prompt the user to grant a permission.

APDPPGrant

GRANT Automatically grant a permission.

APDPPDeny

DENY Automatically deny a permission.

Instances
Enum ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationPolicyDefaultPermissionPolicy -> c ApplicationPolicyDefaultPermissionPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationPolicyDefaultPermissionPolicy #

toConstr :: ApplicationPolicyDefaultPermissionPolicy -> Constr #

dataTypeOf :: ApplicationPolicyDefaultPermissionPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationPolicyDefaultPermissionPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationPolicyDefaultPermissionPolicy) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationPolicyDefaultPermissionPolicy -> ApplicationPolicyDefaultPermissionPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyDefaultPermissionPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicyDefaultPermissionPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationPolicyDefaultPermissionPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationPolicyDefaultPermissionPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationPolicyDefaultPermissionPolicy -> m ApplicationPolicyDefaultPermissionPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyDefaultPermissionPolicy -> m ApplicationPolicyDefaultPermissionPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicyDefaultPermissionPolicy -> m ApplicationPolicyDefaultPermissionPolicy #

Ord ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Hashable ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationPolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationPolicyDefaultPermissionPolicy = D1 (MetaData "ApplicationPolicyDefaultPermissionPolicy" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "APDPPPermissionPolicyUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "APDPPPrompt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "APDPPGrant" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "APDPPDeny" PrefixI False) (U1 :: Type -> Type)))

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xgafv -> c Xgafv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xgafv #

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xgafv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xgafv) #

gmapT :: (forall b. Data b => b -> b) -> Xgafv -> Xgafv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQ :: (forall d. Data d => d -> u) -> Xgafv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Xgafv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

Ord Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

ApplicationPolicy

data ApplicationPolicy Source #

Policy for an individual app.

See: applicationPolicy smart constructor.

Instances
Eq ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationPolicy -> c ApplicationPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationPolicy #

toConstr :: ApplicationPolicy -> Constr #

dataTypeOf :: ApplicationPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationPolicy) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationPolicy -> ApplicationPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationPolicy -> m ApplicationPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicy -> m ApplicationPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPolicy -> m ApplicationPolicy #

Show ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ApplicationPolicy :: Type -> Type #

ToJSON ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPolicy = D1 (MetaData "ApplicationPolicy" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ApplicationPolicy'" PrefixI True) (((S1 (MetaSel (Just "_apDelegatedScopes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_apPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_apManagedConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationPolicyManagedConfiguration)) :*: (S1 (MetaSel (Just "_apDefaultPermissionPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationPolicyDefaultPermissionPolicy)) :*: S1 (MetaSel (Just "_apDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_apLockTaskAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_apPermissionGrants") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PermissionGrant]))) :*: (S1 (MetaSel (Just "_apManagedConfigurationTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ManagedConfigurationTemplate)) :*: (S1 (MetaSel (Just "_apMinimumVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_apInstallType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationPolicyInstallType)))))))

apDelegatedScopes :: Lens' ApplicationPolicy [Text] Source #

The scopes delegated to the app from Android Device Policy.

apPackageName :: Lens' ApplicationPolicy (Maybe Text) Source #

The package name of the app. For example, com.google.android.youtube for the YouTube app.

apManagedConfiguration :: Lens' ApplicationPolicy (Maybe ApplicationPolicyManagedConfiguration) Source #

Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty: > -------------- ------------------ > type JSON value > BOOL true or false > STRING string > INTEGER number > CHOICE string > MULTISELECT array of strings > HIDDEN string > BUNDLE_ARRAY array of objects > -------------- ------------------

apDefaultPermissionPolicy :: Lens' ApplicationPolicy (Maybe ApplicationPolicyDefaultPermissionPolicy) Source #

The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps. It does not override the permission_grants which applies to all apps.

apDisabled :: Lens' ApplicationPolicy (Maybe Bool) Source #

Whether the app is disabled. When disabled, the app data is still preserved.

apLockTaskAllowed :: Lens' ApplicationPolicy (Maybe Bool) Source #

Whether the app is allowed to lock itself in full-screen mode.

apPermissionGrants :: Lens' ApplicationPolicy [PermissionGrant] Source #

Explicit permission grants or denials for the app. These values override the default_permission_policy and permission_grants which apply to all apps.

apManagedConfigurationTemplate :: Lens' ApplicationPolicy (Maybe ManagedConfigurationTemplate) Source #

The managed configurations template for the app, saved from the managed configurations iframe. This field is ignored if managed_configuration is set.

apMinimumVersionCode :: Lens' ApplicationPolicy (Maybe Int32) Source #

The minimum version of the app that runs on the device. If set, the device attempts to update the app to at least this version code. If the app is not up-to-date, the device will contain a NonComplianceDetail with non_compliance_reason set to APP_NOT_UPDATED. The app must already be published to Google Play with a version code greater than or equal to this value. At most 20 apps may specify a minimum version code per policy.

ManagedPropertyType

data ManagedPropertyType Source #

The type of the property.

Constructors

ManagedPropertyTypeUnspecified

MANAGED_PROPERTY_TYPE_UNSPECIFIED Not used.

Bool

BOOL A property of boolean type.

String

STRING A property of string type.

Integer

INTEGER A property of integer type.

Choice

CHOICE A choice of one item from a set.

Multiselect

MULTISELECT A choice of multiple items from a set.

Hidden

HIDDEN A hidden restriction of string type (the default value can be used to pass along information that can't be modified, such as a version code).

BundleArray

BUNDLE_ARRAY An array of property bundles.

Instances
Enum ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedPropertyType -> c ManagedPropertyType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedPropertyType #

toConstr :: ManagedPropertyType -> Constr #

dataTypeOf :: ManagedPropertyType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagedPropertyType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedPropertyType) #

gmapT :: (forall b. Data b => b -> b) -> ManagedPropertyType -> ManagedPropertyType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedPropertyType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedPropertyType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedPropertyType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedPropertyType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedPropertyType -> m ManagedPropertyType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedPropertyType -> m ManagedPropertyType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedPropertyType -> m ManagedPropertyType #

Ord ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep ManagedPropertyType :: Type -> Type #

Hashable ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ManagedPropertyType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ManagedPropertyType = D1 (MetaData "ManagedPropertyType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "ManagedPropertyTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Bool" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "String" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Integer" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Choice" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Multiselect" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Hidden" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BundleArray" PrefixI False) (U1 :: Type -> Type))))

DeviceAppliedState

data DeviceAppliedState Source #

The state currently applied to the device.

Constructors

DASDeviceStateUnspecified

DEVICE_STATE_UNSPECIFIED This value is disallowed.

DASActive

ACTIVE The device is active.

DASDisabled

DISABLED The device is disabled.

DASDeleted

DELETED The device was deleted. This state will never be returned by an API call, but is used in the final status report published to Cloud Pub/Sub when the device acknowledges the deletion.

DASProvisioning

PROVISIONING The device is being provisioned. Newly enrolled devices are in this state until they have a policy applied.

Instances
Enum DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeviceAppliedState -> c DeviceAppliedState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeviceAppliedState #

toConstr :: DeviceAppliedState -> Constr #

dataTypeOf :: DeviceAppliedState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeviceAppliedState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeviceAppliedState) #

gmapT :: (forall b. Data b => b -> b) -> DeviceAppliedState -> DeviceAppliedState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeviceAppliedState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeviceAppliedState -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeviceAppliedState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeviceAppliedState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeviceAppliedState -> m DeviceAppliedState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceAppliedState -> m DeviceAppliedState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeviceAppliedState -> m DeviceAppliedState #

Ord DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep DeviceAppliedState :: Type -> Type #

Hashable DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceAppliedState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep DeviceAppliedState = D1 (MetaData "DeviceAppliedState" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "DASDeviceStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DASActive" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DASDisabled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DASDeleted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DASProvisioning" PrefixI False) (U1 :: Type -> Type))))

ApplicationEventEventType

data ApplicationEventEventType Source #

App event type.

Constructors

ApplicationEventTypeUnspecified

APPLICATION_EVENT_TYPE_UNSPECIFIED This value is disallowed.

Installed

INSTALLED The app was installed.

Changed

CHANGED The app was changed, for example, a component was enabled or disabled.

DataCleared

DATA_CLEARED The app data was cleared.

Removed

REMOVED The app was removed.

Replaced

REPLACED A new version of the app has been installed, replacing the old version.

Restarted

RESTARTED The app was restarted.

Pinned

PINNED The app was pinned to the foreground.

Unpinned

UNPINNED The app was unpinned.

Instances
Enum ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationEventEventType -> c ApplicationEventEventType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationEventEventType #

toConstr :: ApplicationEventEventType -> Constr #

dataTypeOf :: ApplicationEventEventType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationEventEventType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationEventEventType) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationEventEventType -> ApplicationEventEventType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationEventEventType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationEventEventType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationEventEventType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationEventEventType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationEventEventType -> m ApplicationEventEventType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationEventEventType -> m ApplicationEventEventType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationEventEventType -> m ApplicationEventEventType #

Ord ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep ApplicationEventEventType :: Type -> Type #

Hashable ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationEventEventType = D1 (MetaData "ApplicationEventEventType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "ApplicationEventTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Installed" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Changed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DataCleared" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Removed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Replaced" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Restarted" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Pinned" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unpinned" PrefixI False) (U1 :: Type -> Type)))))

ListDevicesResponse

data ListDevicesResponse Source #

Response to a request to list devices for a given enterprise.

See: listDevicesResponse smart constructor.

Instances
Eq ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListDevicesResponse -> c ListDevicesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListDevicesResponse #

toConstr :: ListDevicesResponse -> Constr #

dataTypeOf :: ListDevicesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListDevicesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListDevicesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListDevicesResponse -> ListDevicesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListDevicesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListDevicesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListDevicesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListDevicesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListDevicesResponse -> m ListDevicesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDevicesResponse -> m ListDevicesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDevicesResponse -> m ListDevicesResponse #

Show ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ListDevicesResponse :: Type -> Type #

ToJSON ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListDevicesResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ListDevicesResponse = D1 (MetaData "ListDevicesResponse" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ListDevicesResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ldrDevices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Device]))))

listDevicesResponse :: ListDevicesResponse Source #

Creates a value of ListDevicesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ldrNextPageToken :: Lens' ListDevicesResponse (Maybe Text) Source #

If there are more results, a token to retrieve next page of results.

ManagedConfigurationTemplate

data ManagedConfigurationTemplate Source #

The managed configurations template for the app, saved from the managed configurations iframe.

See: managedConfigurationTemplate smart constructor.

Instances
Eq ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ManagedConfigurationTemplate -> c ManagedConfigurationTemplate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ManagedConfigurationTemplate #

toConstr :: ManagedConfigurationTemplate -> Constr #

dataTypeOf :: ManagedConfigurationTemplate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ManagedConfigurationTemplate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ManagedConfigurationTemplate) #

gmapT :: (forall b. Data b => b -> b) -> ManagedConfigurationTemplate -> ManagedConfigurationTemplate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ManagedConfigurationTemplate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ManagedConfigurationTemplate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ManagedConfigurationTemplate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ManagedConfigurationTemplate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplate -> m ManagedConfigurationTemplate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplate -> m ManagedConfigurationTemplate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ManagedConfigurationTemplate -> m ManagedConfigurationTemplate #

Show ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ManagedConfigurationTemplate :: Type -> Type #

ToJSON ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedConfigurationTemplate Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ManagedConfigurationTemplate = D1 (MetaData "ManagedConfigurationTemplate" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ManagedConfigurationTemplate'" PrefixI True) (S1 (MetaSel (Just "_mctTemplateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mctConfigurationVariables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ManagedConfigurationTemplateConfigurationVariables))))

managedConfigurationTemplate :: ManagedConfigurationTemplate Source #

Creates a value of ManagedConfigurationTemplate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mctTemplateId :: Lens' ManagedConfigurationTemplate (Maybe Text) Source #

The ID of the managed configurations template.

mctConfigurationVariables :: Lens' ManagedConfigurationTemplate (Maybe ManagedConfigurationTemplateConfigurationVariables) Source #

Optional, a map containing configuration variables defined for the configuration.

NonComplianceDetailNonComplianceReason

data NonComplianceDetailNonComplianceReason Source #

The reason the device is not in compliance with the setting.

Constructors

NCDNCRNonComplianceReasonUnspecified

NON_COMPLIANCE_REASON_UNSPECIFIED This value is disallowed.

NCDNCRAPILevel

API_LEVEL The setting is not supported in the API level of the Android version running on the device.

NCDNCRManagementMode

MANAGEMENT_MODE The management mode (profile owner, device owner, etc.) doesn't support the setting.

NCDNCRUserAction

USER_ACTION The user has not taken required action to comply with the setting.

NCDNCRInvalidValue

INVALID_VALUE The setting has an invalid value.

NCDNCRAppNotInstalled

APP_NOT_INSTALLED The app required to implement the policy is not installed.

NCDNCRUnsupported

UNSUPPORTED The policy is not supported by the version of Android Device Policy on the device.

NCDNCRAppInstalled

APP_INSTALLED A blocked app is installed.

NCDNCRPending

PENDING The setting hasn't been applied at the time of the report, but is expected to be applied shortly.

NCDNCRAppIncompatible

APP_INCOMPATIBLE The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.

NCDNCRAppNotUpdated

APP_NOT_UPDATED The app is installed, but it hasn't been updated to the minimum version code specified by policy.

Instances
Enum NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NonComplianceDetailNonComplianceReason -> c NonComplianceDetailNonComplianceReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NonComplianceDetailNonComplianceReason #

toConstr :: NonComplianceDetailNonComplianceReason -> Constr #

dataTypeOf :: NonComplianceDetailNonComplianceReason -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NonComplianceDetailNonComplianceReason) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NonComplianceDetailNonComplianceReason) #

gmapT :: (forall b. Data b => b -> b) -> NonComplianceDetailNonComplianceReason -> NonComplianceDetailNonComplianceReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailNonComplianceReason -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailNonComplianceReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> NonComplianceDetailNonComplianceReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NonComplianceDetailNonComplianceReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NonComplianceDetailNonComplianceReason -> m NonComplianceDetailNonComplianceReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailNonComplianceReason -> m NonComplianceDetailNonComplianceReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailNonComplianceReason -> m NonComplianceDetailNonComplianceReason #

Ord NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Hashable NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailNonComplianceReason = D1 (MetaData "NonComplianceDetailNonComplianceReason" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "NCDNCRNonComplianceReasonUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDNCRAPILevel" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NCDNCRManagementMode" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDNCRUserAction" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDNCRInvalidValue" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "NCDNCRAppNotInstalled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDNCRUnsupported" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDNCRAppInstalled" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "NCDNCRPending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDNCRAppIncompatible" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDNCRAppNotUpdated" PrefixI False) (U1 :: Type -> Type)))))

Enterprise

data Enterprise Source #

The configuration applied to an enterprise.

See: enterprise smart constructor.

Instances
Eq Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Enterprise -> c Enterprise #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Enterprise #

toConstr :: Enterprise -> Constr #

dataTypeOf :: Enterprise -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Enterprise) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Enterprise) #

gmapT :: (forall b. Data b => b -> b) -> Enterprise -> Enterprise #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Enterprise -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Enterprise -> r #

gmapQ :: (forall d. Data d => d -> u) -> Enterprise -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Enterprise -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Enterprise -> m Enterprise #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Enterprise -> m Enterprise #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Enterprise -> m Enterprise #

Show Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Enterprise :: Type -> Type #

ToJSON Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Enterprise Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Enterprise = D1 (MetaData "Enterprise" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Enterprise'" PrefixI True) (((S1 (MetaSel (Just "_eAppAutoApprovalEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_eEnabledNotificationTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_eSigninDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SigninDetail])) :*: S1 (MetaSel (Just "_eName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ePubsubTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eEnterpriseDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eLogo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExternalData)) :*: (S1 (MetaSel (Just "_eTermsAndConditions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TermsAndConditions])) :*: S1 (MetaSel (Just "_ePrimaryColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))

enterprise :: Enterprise Source #

Creates a value of Enterprise with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eEnabledNotificationTypes :: Lens' Enterprise [Text] Source #

The types of Google Pub/Sub notifications enabled for the enterprise.

eSigninDetails :: Lens' Enterprise [SigninDetail] Source #

Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported.

eName :: Lens' Enterprise (Maybe Text) Source #

The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}.

ePubsubTopic :: Lens' Enterprise (Maybe Text) Source #

The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.

eEnterpriseDisplayName :: Lens' Enterprise (Maybe Text) Source #

The name of the enterprise displayed to users.

:: Lens' Enterprise (Maybe ExternalData) Source #

An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng.

eTermsAndConditions :: Lens' Enterprise [TermsAndConditions] Source #

Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list.

ePrimaryColor :: Lens' Enterprise (Maybe Int32) Source #

A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive.

MemoryEvent

data MemoryEvent Source #

An event related to memory and storage measurements.

See: memoryEvent smart constructor.

Instances
Eq MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemoryEvent -> c MemoryEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemoryEvent #

toConstr :: MemoryEvent -> Constr #

dataTypeOf :: MemoryEvent -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemoryEvent) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemoryEvent) #

gmapT :: (forall b. Data b => b -> b) -> MemoryEvent -> MemoryEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemoryEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemoryEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> MemoryEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MemoryEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemoryEvent -> m MemoryEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryEvent -> m MemoryEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryEvent -> m MemoryEvent #

Show MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep MemoryEvent :: Type -> Type #

ToJSON MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep MemoryEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep MemoryEvent = D1 (MetaData "MemoryEvent" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "MemoryEvent'" PrefixI True) (S1 (MetaSel (Just "_meByteCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: (S1 (MetaSel (Just "_meEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MemoryEventEventType)) :*: S1 (MetaSel (Just "_meCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

memoryEvent :: MemoryEvent Source #

Creates a value of MemoryEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

meByteCount :: Lens' MemoryEvent (Maybe Int64) Source #

The number of free bytes in the medium, or for EXTERNAL_STORAGE_DETECTED, the total capacity in bytes of the storage medium.

meCreateTime :: Lens' MemoryEvent (Maybe UTCTime) Source #

The creation time of the event.

PermissionGrant

data PermissionGrant Source #

Configuration for an Android permission and its grant state.

See: permissionGrant smart constructor.

Instances
Eq PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PermissionGrant -> c PermissionGrant #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PermissionGrant #

toConstr :: PermissionGrant -> Constr #

dataTypeOf :: PermissionGrant -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PermissionGrant) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PermissionGrant) #

gmapT :: (forall b. Data b => b -> b) -> PermissionGrant -> PermissionGrant #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PermissionGrant -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PermissionGrant -> r #

gmapQ :: (forall d. Data d => d -> u) -> PermissionGrant -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PermissionGrant -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PermissionGrant -> m PermissionGrant #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionGrant -> m PermissionGrant #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PermissionGrant -> m PermissionGrant #

Show PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PermissionGrant :: Type -> Type #

ToJSON PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PermissionGrant Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PermissionGrant = D1 (MetaData "PermissionGrant" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "PermissionGrant'" PrefixI True) (S1 (MetaSel (Just "_pgPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PermissionGrantPolicy)) :*: S1 (MetaSel (Just "_pgPermission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

permissionGrant :: PermissionGrant Source #

Creates a value of PermissionGrant with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pgPolicy :: Lens' PermissionGrant (Maybe PermissionGrantPolicy) Source #

The policy for granting the permission.

pgPermission :: Lens' PermissionGrant (Maybe Text) Source #

The Android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR.

SigninDetail

data SigninDetail Source #

A resource containing sign in details for an enterprise.

See: signinDetail smart constructor.

Instances
Eq SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SigninDetail -> c SigninDetail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SigninDetail #

toConstr :: SigninDetail -> Constr #

dataTypeOf :: SigninDetail -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SigninDetail) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SigninDetail) #

gmapT :: (forall b. Data b => b -> b) -> SigninDetail -> SigninDetail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SigninDetail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SigninDetail -> r #

gmapQ :: (forall d. Data d => d -> u) -> SigninDetail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SigninDetail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SigninDetail -> m SigninDetail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SigninDetail -> m SigninDetail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SigninDetail -> m SigninDetail #

Show SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep SigninDetail :: Type -> Type #

ToJSON SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SigninDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SigninDetail = D1 (MetaData "SigninDetail" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "SigninDetail'" PrefixI True) (S1 (MetaSel (Just "_sdSigninURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sdQrCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sdSigninEnrollmentToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

signinDetail :: SigninDetail Source #

Creates a value of SigninDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdSigninURL :: Lens' SigninDetail (Maybe Text) Source #

Sign-in URL for authentication when device is provisioned with a sign-in enrollment token. The sign-in endpoint should finish authentication flow with a URL in the form of https://enterprise.google.com/android/enroll?et= for a successful login, or https://enterprise.google.com/android/enroll/invalid for a failed login.

sdQrCode :: Lens' SigninDetail (Maybe Text) Source #

A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server.

sdSigninEnrollmentToken :: Lens' SigninDetail (Maybe Text) Source #

An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server.

SignupURL

data SignupURL Source #

An enterprise signup URL.

See: signupURL smart constructor.

Instances
Eq SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SignupURL -> c SignupURL #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignupURL #

toConstr :: SignupURL -> Constr #

dataTypeOf :: SignupURL -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SignupURL) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignupURL) #

gmapT :: (forall b. Data b => b -> b) -> SignupURL -> SignupURL #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignupURL -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignupURL -> r #

gmapQ :: (forall d. Data d => d -> u) -> SignupURL -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SignupURL -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignupURL -> m SignupURL #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignupURL -> m SignupURL #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignupURL -> m SignupURL #

Show SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep SignupURL :: Type -> Type #

ToJSON SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SignupURL Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SignupURL = D1 (MetaData "SignupURL" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "SignupURL'" PrefixI True) (S1 (MetaSel (Just "_suURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_suName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

signupURL :: SignupURL Source #

Creates a value of SignupURL with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

suURL :: Lens' SignupURL (Maybe Text) Source #

A URL where an enterprise admin can register their enterprise. The page can't be rendered in an iframe.

suName :: Lens' SignupURL (Maybe Text) Source #

The name of the resource. Use this value in the signupUrl field when calling enterprises.create to complete the enterprise signup flow.

PolicyDefaultPermissionPolicy

data PolicyDefaultPermissionPolicy Source #

The default permission policy for runtime permission requests.

Constructors

PDPPPermissionPolicyUnspecified

PERMISSION_POLICY_UNSPECIFIED Policy not specified. If no policy is specified for a permission at any level, then the PROMPT behavior is used by default.

PDPPPrompt

PROMPT Prompt the user to grant a permission.

PDPPGrant

GRANT Automatically grant a permission.

PDPPDeny

DENY Automatically deny a permission.

Instances
Enum PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PolicyDefaultPermissionPolicy -> c PolicyDefaultPermissionPolicy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PolicyDefaultPermissionPolicy #

toConstr :: PolicyDefaultPermissionPolicy -> Constr #

dataTypeOf :: PolicyDefaultPermissionPolicy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PolicyDefaultPermissionPolicy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PolicyDefaultPermissionPolicy) #

gmapT :: (forall b. Data b => b -> b) -> PolicyDefaultPermissionPolicy -> PolicyDefaultPermissionPolicy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PolicyDefaultPermissionPolicy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PolicyDefaultPermissionPolicy -> r #

gmapQ :: (forall d. Data d => d -> u) -> PolicyDefaultPermissionPolicy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PolicyDefaultPermissionPolicy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PolicyDefaultPermissionPolicy -> m PolicyDefaultPermissionPolicy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyDefaultPermissionPolicy -> m PolicyDefaultPermissionPolicy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PolicyDefaultPermissionPolicy -> m PolicyDefaultPermissionPolicy #

Ord PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep PolicyDefaultPermissionPolicy :: Type -> Type #

Hashable PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyDefaultPermissionPolicy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PolicyDefaultPermissionPolicy = D1 (MetaData "PolicyDefaultPermissionPolicy" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "PDPPPermissionPolicyUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PDPPPrompt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PDPPGrant" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PDPPDeny" PrefixI False) (U1 :: Type -> Type)))

NetworkInfo

data NetworkInfo Source #

Device network info.

See: networkInfo smart constructor.

Instances
Eq NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NetworkInfo -> c NetworkInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NetworkInfo #

toConstr :: NetworkInfo -> Constr #

dataTypeOf :: NetworkInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NetworkInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NetworkInfo) #

gmapT :: (forall b. Data b => b -> b) -> NetworkInfo -> NetworkInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NetworkInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NetworkInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> NetworkInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NetworkInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NetworkInfo -> m NetworkInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkInfo -> m NetworkInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NetworkInfo -> m NetworkInfo #

Show NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep NetworkInfo :: Type -> Type #

ToJSON NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NetworkInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NetworkInfo = D1 (MetaData "NetworkInfo" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "NetworkInfo'" PrefixI True) ((S1 (MetaSel (Just "_niNetworkOperatorName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_niMeid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_niImei") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_niWifiMACAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

networkInfo :: NetworkInfo Source #

Creates a value of NetworkInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

niNetworkOperatorName :: Lens' NetworkInfo (Maybe Text) Source #

Alphabetic name of current registered operator. For example, Vodafone.

niMeid :: Lens' NetworkInfo (Maybe Text) Source #

MEID number of the CDMA device. For example, A00000292788E1.

niImei :: Lens' NetworkInfo (Maybe Text) Source #

IMEI number of the GSM device. For example, A1000031212.

niWifiMACAddress :: Lens' NetworkInfo (Maybe Text) Source #

Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.

PowerManagementEvent

data PowerManagementEvent Source #

A power management event.

See: powerManagementEvent smart constructor.

Instances
Eq PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PowerManagementEvent -> c PowerManagementEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PowerManagementEvent #

toConstr :: PowerManagementEvent -> Constr #

dataTypeOf :: PowerManagementEvent -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PowerManagementEvent) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PowerManagementEvent) #

gmapT :: (forall b. Data b => b -> b) -> PowerManagementEvent -> PowerManagementEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PowerManagementEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PowerManagementEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> PowerManagementEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PowerManagementEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PowerManagementEvent -> m PowerManagementEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PowerManagementEvent -> m PowerManagementEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PowerManagementEvent -> m PowerManagementEvent #

Show PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PowerManagementEvent :: Type -> Type #

ToJSON PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PowerManagementEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PowerManagementEvent = D1 (MetaData "PowerManagementEvent" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "PowerManagementEvent'" PrefixI True) (S1 (MetaSel (Just "_pmeBatteryLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_pmeEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PowerManagementEventEventType)) :*: S1 (MetaSel (Just "_pmeCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

powerManagementEvent :: PowerManagementEvent Source #

Creates a value of PowerManagementEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pmeBatteryLevel :: Lens' PowerManagementEvent (Maybe Double) Source #

For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage.

pmeCreateTime :: Lens' PowerManagementEvent (Maybe UTCTime) Source #

The creation time of the event.

Policy

data Policy Source #

A policy resources represents a group settings that govern the behavior of a managed device and the apps installed on it.

See: policy smart constructor.

Instances
Eq Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Data Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Policy -> c Policy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Policy #

toConstr :: Policy -> Constr #

dataTypeOf :: Policy -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Policy) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Policy) #

gmapT :: (forall b. Data b => b -> b) -> Policy -> Policy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Policy -> r #

gmapQ :: (forall d. Data d => d -> u) -> Policy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Policy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Policy -> m Policy #

Show Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

ToJSON Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Policy Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep Policy = D1 (MetaData "Policy" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "Policy'" PrefixI True) ((((((S1 (MetaSel (Just "_pBluetoothConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pUnmuteMicrophoneDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pMountPhysicalMediaDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pFrpAdminEmails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 (MetaSel (Just "_pAppAutoUpdatePolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyAppAutoUpdatePolicy)) :*: S1 (MetaSel (Just "_pEncryptionPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyEncryptionPolicy))) :*: (S1 (MetaSel (Just "_pAndroidDevicePolicyTracks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_pSafeBootDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pAlwaysOnVPNPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AlwaysOnVPNPackage)))))) :*: (((S1 (MetaSel (Just "_pChoosePrivateKeyRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ChoosePrivateKeyRule])) :*: S1 (MetaSel (Just "_pCredentialsConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pRecommendedGlobalProxy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProxyInfo)) :*: S1 (MetaSel (Just "_pKeyguardDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_pSkipFirstUseHintsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pAdjustVolumeDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pDefaultPermissionPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyDefaultPermissionPolicy)) :*: (S1 (MetaSel (Just "_pUninstallAppsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pSetUserIconDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))) :*: ((((S1 (MetaSel (Just "_pPermittedInputMethods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PackageNameList)) :*: S1 (MetaSel (Just "_pScreenCaptureDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pAddUserDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pShareLocationDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_pAutoTimeRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pInstallAppsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pCreateWindowsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pNetworkResetDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pBluetoothContactSharingDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_pPermissionGrants") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PermissionGrant])) :*: S1 (MetaSel (Just "_pShortSupportMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage))) :*: (S1 (MetaSel (Just "_pStayOnPluggedModes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_pDataRoamingDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pDebuggingFeaturesAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_pKioskCustomLauncherEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pWifiConfigsLockdownEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pUsbMassStorageEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pNetworkEscapeHatchEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pSystemUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SystemUpdate)))))))) :*: (((((S1 (MetaSel (Just "_pInstallUnknownSourcesAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pPrivateKeySelectionEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pOutgoingCallsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_pStatusReportingSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StatusReportingSettings)) :*: S1 (MetaSel (Just "_pRemoveUserDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pMobileNetworksConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_pEnsureVerifyAppsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_pSetWallpaperDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pVPNConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pOpenNetworkConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyOpenNetworkConfiguration)) :*: S1 (MetaSel (Just "_pModifyAccountsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "_pBlockApplicationsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pKeyguardDisabledFeatures") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_pFunDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pSmsDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pMaximumTimeToLock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))) :*: ((((S1 (MetaSel (Just "_pOutgoingBeamDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pStatusBarDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pCellBroadcastsConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pDeviceOwnerLockScreenInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage)))) :*: ((S1 (MetaSel (Just "_pPlayStoreMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyPlayStoreMode)) :*: S1 (MetaSel (Just "_pComplianceRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ComplianceRule]))) :*: (S1 (MetaSel (Just "_pTetheringConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pAccountTypesWithManagementDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_pWifiConfigDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "_pPersistentPreferredActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PersistentPreferredActivity])) :*: S1 (MetaSel (Just "_pPasswordRequirements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PasswordRequirements))) :*: (S1 (MetaSel (Just "_pLongSupportMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage)) :*: (S1 (MetaSel (Just "_pLocationMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PolicyLocationMode)) :*: S1 (MetaSel (Just "_pBluetoothDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "_pUsbFileTransferDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pCameraDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_pApplications") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ApplicationPolicy])) :*: (S1 (MetaSel (Just "_pPasswordPolicies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PasswordRequirements])) :*: S1 (MetaSel (Just "_pFactoryResetDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))))

policy :: Policy Source #

Creates a value of Policy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pBluetoothConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring bluetooth is disabled.

pUnmuteMicrophoneDisabled :: Lens' Policy (Maybe Bool) Source #

Whether the microphone is muted and adjusting microphone volume is disabled.

pMountPhysicalMediaDisabled :: Lens' Policy (Maybe Bool) Source #

Whether the user mounting physical external media is disabled.

pFrpAdminEmails :: Lens' Policy [Text] Source #

Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device won't provide factory reset protection.

pAppAutoUpdatePolicy :: Lens' Policy (Maybe PolicyAppAutoUpdatePolicy) Source #

The app auto update policy, which controls when automatic app updates can be applied.

pAndroidDevicePolicyTracks :: Lens' Policy [Text] Source #

The app tracks for Android Device Policy the device can access. The device receives the latest version among all accessible tracks. If no tracks are specified, then the device only uses the production track.

pSafeBootDisabled :: Lens' Policy (Maybe Bool) Source #

Whether rebooting the device into safe boot is disabled.

pAlwaysOnVPNPackage :: Lens' Policy (Maybe AlwaysOnVPNPackage) Source #

Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting.

pChoosePrivateKeyRules :: Lens' Policy [ChoosePrivateKeyRule] Source #

Rules for automatically choosing a private key and certificate to authenticate the device to a server. The rules are ordered by increasing precedence, so if an outgoing request matches more than one rule, the last rule defines which private key to use.

pCredentialsConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring user credentials is disabled.

pRecommendedGlobalProxy :: Lens' Policy (Maybe ProxyInfo) Source #

The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it.

pKeyguardDisabled :: Lens' Policy (Maybe Bool) Source #

Whether the keyguard is disabled.

pSkipFirstUseHintsEnabled :: Lens' Policy (Maybe Bool) Source #

Flag to skip hints on the first use. Enterprise admin can enable the system recommendation for apps to skip their user tutorial and other introductory hints on first start-up.

pAdjustVolumeDisabled :: Lens' Policy (Maybe Bool) Source #

Whether adjusting the master volume is disabled.

pDefaultPermissionPolicy :: Lens' Policy (Maybe PolicyDefaultPermissionPolicy) Source #

The default permission policy for runtime permission requests.

pUninstallAppsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether user uninstallation of applications is disabled.

pSetUserIconDisabled :: Lens' Policy (Maybe Bool) Source #

Whether changing the user icon is disabled.

pPermittedInputMethods :: Lens' Policy (Maybe PackageNameList) Source #

If present, only the input methods provided by packages in this list are permitted. If this field is present, but the list is empty, then only system input methods are permitted.

pScreenCaptureDisabled :: Lens' Policy (Maybe Bool) Source #

Whether screen capture is disabled.

pAddUserDisabled :: Lens' Policy (Maybe Bool) Source #

Whether adding new users and profiles is disabled.

pShareLocationDisabled :: Lens' Policy (Maybe Bool) Source #

Whether location sharing is disabled.

pAutoTimeRequired :: Lens' Policy (Maybe Bool) Source #

Whether auto time is required, which prevents the user from manually setting the date and time.

pInstallAppsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether user installation of apps is disabled.

pCreateWindowsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether creating windows besides app windows is disabled.

pNetworkResetDisabled :: Lens' Policy (Maybe Bool) Source #

Whether resetting network settings is disabled.

pBluetoothContactSharingDisabled :: Lens' Policy (Maybe Bool) Source #

Whether bluetooth contact sharing is disabled.

pPermissionGrants :: Lens' Policy [PermissionGrant] Source #

Explicit permission or group grants or denials for all apps. These values override the default_permission_policy.

pShortSupportMessage :: Lens' Policy (Maybe UserFacingMessage) Source #

A message displayed to the user in the settings screen wherever functionality has been disabled by the admin.

pStayOnPluggedModes :: Lens' Policy [Text] Source #

The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on.

pDataRoamingDisabled :: Lens' Policy (Maybe Bool) Source #

Whether roaming data services are disabled.

pDebuggingFeaturesAllowed :: Lens' Policy (Maybe Bool) Source #

Whether the user is allowed to enable debugging features.

pKioskCustomLauncherEnabled :: Lens' Policy (Maybe Bool) Source #

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. The apps appear on a single page in alphabetical order. It is recommended to also use status_bar_disabled to block access to device settings.

pWifiConfigsLockdownEnabled :: Lens' Policy (Maybe Bool) Source #

Whether Wi-Fi networks defined in Open Network Configuration are locked so they can't be edited by the user.

pUsbMassStorageEnabled :: Lens' Policy (Maybe Bool) Source #

Whether USB storage is enabled. Deprecated.

pNetworkEscapeHatchEnabled :: Lens' Policy (Maybe Bool) Source #

Whether the network escape hatch is enabled. If a network connection can't be made at boot time, the escape hatch prompts the user to temporarily connect to a network in order to refresh the device policy. After applying policy, the temporary network will be forgotten and the device will continue booting. This prevents being unable to connect to a network if there is no suitable network in the last policy and the device boots into an app in lock task mode, or the user is otherwise unable to reach device settings.

pSystemUpdate :: Lens' Policy (Maybe SystemUpdate) Source #

The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.

pInstallUnknownSourcesAllowed :: Lens' Policy (Maybe Bool) Source #

Whether the user is allowed to enable the "Unknown Sources" setting, which allows installation of apps from unknown sources.

pName :: Lens' Policy (Maybe Text) Source #

The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.

pPrivateKeySelectionEnabled :: Lens' Policy (Maybe Bool) Source #

Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules. For devices below Android P, setting this may leave enterprise keys vulnerable.

pOutgoingCallsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether outgoing calls are disabled.

pRemoveUserDisabled :: Lens' Policy (Maybe Bool) Source #

Whether removing other users is disabled.

pMobileNetworksConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring mobile networks is disabled.

pVersion :: Lens' Policy (Maybe Int64) Source #

The version of the policy. This is a read-only field. The version is incremented each time the policy is updated.

pEnsureVerifyAppsEnabled :: Lens' Policy (Maybe Bool) Source #

Whether app verification is force-enabled.

pSetWallpaperDisabled :: Lens' Policy (Maybe Bool) Source #

Whether changing the wallpaper is disabled.

pVPNConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring VPN is disabled.

pOpenNetworkConfiguration :: Lens' Policy (Maybe PolicyOpenNetworkConfiguration) Source #

Network configuration for the device. See configure networks for more information.

pModifyAccountsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether adding or removing accounts is disabled.

pBlockApplicationsEnabled :: Lens' Policy (Maybe Bool) Source #

Whether applications other than the ones configured in applications are blocked from being installed. When set, applications that were installed under a previous policy but no longer appear in the policy are automatically uninstalled.

pKeyguardDisabledFeatures :: Lens' Policy [Text] Source #

Disabled keyguard customizations, such as widgets.

pFunDisabled :: Lens' Policy (Maybe Bool) Source #

Whether the user is allowed to have fun. Controls whether the Easter egg game in Settings is disabled.

pSmsDisabled :: Lens' Policy (Maybe Bool) Source #

Whether sending and receiving SMS messages is disabled.

pMaximumTimeToLock :: Lens' Policy (Maybe Int64) Source #

Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.

pOutgoingBeamDisabled :: Lens' Policy (Maybe Bool) Source #

Whether using NFC to beam data from apps is disabled.

pStatusBarDisabled :: Lens' Policy (Maybe Bool) Source #

Whether the status bar is disabled. This disables notifications, quick settings, and other screen overlays that allow escape from full-screen mode.

pCellBroadcastsConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring cell broadcast is disabled.

pDeviceOwnerLockScreenInfo :: Lens' Policy (Maybe UserFacingMessage) Source #

The device owner information to be shown on the lock screen.

pPlayStoreMode :: Lens' Policy (Maybe PolicyPlayStoreMode) Source #

This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy.

pComplianceRules :: Lens' Policy [ComplianceRule] Source #

Rules declaring which mitigating actions to take when a device is not compliant with its policy. When the conditions for multiple rules are satisfied, all of the mitigating actions for the rules are taken. There is a maximum limit of 100 rules.

pTetheringConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring tethering and portable hotspots is disabled.

pAccountTypesWithManagementDisabled :: Lens' Policy [Text] Source #

Account types that can't be managed by the user.

pWifiConfigDisabled :: Lens' Policy (Maybe Bool) Source #

Whether configuring Wi-Fi access points is disabled.

pPasswordRequirements :: Lens' Policy (Maybe PasswordRequirements) Source #

Password requirements. DEPRECATED - Use password_policies

pLongSupportMessage :: Lens' Policy (Maybe UserFacingMessage) Source #

A message displayed to the user in the device administators settings screen.

pLocationMode :: Lens' Policy (Maybe PolicyLocationMode) Source #

The degree of location detection enabled. The user may change the value unless the user is otherwise blocked from accessing device settings.

pBluetoothDisabled :: Lens' Policy (Maybe Bool) Source #

Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.

pUsbFileTransferDisabled :: Lens' Policy (Maybe Bool) Source #

Whether transferring files over USB is disabled.

pCameraDisabled :: Lens' Policy (Maybe Bool) Source #

Whether all cameras on the device are disabled.

pApplications :: Lens' Policy [ApplicationPolicy] Source #

Policy applied to apps.

pPasswordPolicies :: Lens' Policy [PasswordRequirements] Source #

Password requirement policies. Different policies can be set for work profile or fully managed devices by setting the password_scope field in the policy.

pFactoryResetDisabled :: Lens' Policy (Maybe Bool) Source #

Whether factory resetting from settings is disabled.

NonComplianceDetailCondition

data NonComplianceDetailCondition Source #

A compliance rule condition which is satisfied if there exists any matching NonComplianceDetail for the device. A NonComplianceDetail matches a NonComplianceDetailCondition if all the fields which are set within the NonComplianceDetailCondition match the corresponding NonComplianceDetail fields.

See: nonComplianceDetailCondition smart constructor.

Instances
Eq NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NonComplianceDetailCondition -> c NonComplianceDetailCondition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NonComplianceDetailCondition #

toConstr :: NonComplianceDetailCondition -> Constr #

dataTypeOf :: NonComplianceDetailCondition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NonComplianceDetailCondition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NonComplianceDetailCondition) #

gmapT :: (forall b. Data b => b -> b) -> NonComplianceDetailCondition -> NonComplianceDetailCondition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailCondition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailCondition -> r #

gmapQ :: (forall d. Data d => d -> u) -> NonComplianceDetailCondition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NonComplianceDetailCondition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NonComplianceDetailCondition -> m NonComplianceDetailCondition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailCondition -> m NonComplianceDetailCondition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailCondition -> m NonComplianceDetailCondition #

Show NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep NonComplianceDetailCondition :: Type -> Type #

ToJSON NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NonComplianceDetailCondition Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NonComplianceDetailCondition = D1 (MetaData "NonComplianceDetailCondition" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "NonComplianceDetailCondition'" PrefixI True) (S1 (MetaSel (Just "_ncdcPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ncdcNonComplianceReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NonComplianceDetailConditionNonComplianceReason)) :*: S1 (MetaSel (Just "_ncdcSettingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

nonComplianceDetailCondition :: NonComplianceDetailCondition Source #

Creates a value of NonComplianceDetailCondition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ncdcPackageName :: Lens' NonComplianceDetailCondition (Maybe Text) Source #

The package name of the app that's out of compliance. If not set, then this condition matches any package name.

ncdcNonComplianceReason :: Lens' NonComplianceDetailCondition (Maybe NonComplianceDetailConditionNonComplianceReason) Source #

The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.

ncdcSettingName :: Lens' NonComplianceDetailCondition (Maybe Text) Source #

The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name.

OperationMetadata

data OperationMetadata Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

See: operationMetadata smart constructor.

Instances
Eq OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationMetadata -> c OperationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationMetadata #

toConstr :: OperationMetadata -> Constr #

dataTypeOf :: OperationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> OperationMetadata -> OperationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationMetadata -> m OperationMetadata #

Show OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep OperationMetadata :: Type -> Type #

ToJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep OperationMetadata Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep OperationMetadata = D1 (MetaData "OperationMetadata" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "OperationMetadata'" PrefixI True) (S1 (MetaSel (Just "_omAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationMetadata Source #

Creates a value of OperationMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

WebToken

data WebToken Source #

A web token used to access the managed Google Play iframe.

See: webToken smart constructor.

Instances
Eq WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WebToken -> c WebToken #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WebToken #

toConstr :: WebToken -> Constr #

dataTypeOf :: WebToken -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WebToken) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WebToken) #

gmapT :: (forall b. Data b => b -> b) -> WebToken -> WebToken #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WebToken -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WebToken -> r #

gmapQ :: (forall d. Data d => d -> u) -> WebToken -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WebToken -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WebToken -> m WebToken #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WebToken -> m WebToken #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WebToken -> m WebToken #

Show WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep WebToken :: Type -> Type #

Methods

from :: WebToken -> Rep WebToken x #

to :: Rep WebToken x -> WebToken #

ToJSON WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep WebToken Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep WebToken = D1 (MetaData "WebToken" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "WebToken'" PrefixI True) ((S1 (MetaSel (Just "_wtParentFrameURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_wtValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_wtName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_wtPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))

webToken :: WebToken Source #

Creates a value of WebToken with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wtParentFrameURL :: Lens' WebToken (Maybe Text) Source #

The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme.

wtValue :: Lens' WebToken (Maybe Text) Source #

The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server.

wtName :: Lens' WebToken (Maybe Text) Source #

The name of the web token, which is generated by the server during creation in the form enterprises/{enterpriseId}/webTokens/{webTokenId}.

wtPermissions :: Lens' WebToken [Text] Source #

Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI.

ComplianceRule

data ComplianceRule Source #

A rule declaring which mitigating actions to take when a device is not compliant with its policy. For every rule, there is always an implicit mitigating action to set policy_compliant to false for the Device resource, and display a message on the device indicating that the device is not compliant with its policy. Other mitigating actions may optionally be taken as well, depending on the field values in the rule.

See: complianceRule smart constructor.

Instances
Eq ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ComplianceRule -> c ComplianceRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ComplianceRule #

toConstr :: ComplianceRule -> Constr #

dataTypeOf :: ComplianceRule -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ComplianceRule) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ComplianceRule) #

gmapT :: (forall b. Data b => b -> b) -> ComplianceRule -> ComplianceRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ComplianceRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ComplianceRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> ComplianceRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ComplianceRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ComplianceRule -> m ComplianceRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ComplianceRule -> m ComplianceRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ComplianceRule -> m ComplianceRule #

Show ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ComplianceRule :: Type -> Type #

ToJSON ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ComplianceRule Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ComplianceRule = D1 (MetaData "ComplianceRule" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ComplianceRule'" PrefixI True) ((S1 (MetaSel (Just "_crAPILevelCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe APILevelCondition)) :*: S1 (MetaSel (Just "_crDisableApps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_crPackageNamesToDisable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_crNonComplianceDetailCondition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NonComplianceDetailCondition)))))

complianceRule :: ComplianceRule Source #

Creates a value of ComplianceRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

crAPILevelCondition :: Lens' ComplianceRule (Maybe APILevelCondition) Source #

A condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement.

crDisableApps :: Lens' ComplianceRule (Maybe Bool) Source #

If set to true, the rule includes a mitigating action to disable apps so that the device is effectively disabled, but app data is preserved. If the device is running an app in locked task mode, the app will be closed and a UI showing the reason for non-compliance will be displayed.

crPackageNamesToDisable :: Lens' ComplianceRule [Text] Source #

If set, the rule includes a mitigating action to disable apps specified in the list, but app data is preserved.

crNonComplianceDetailCondition :: Lens' ComplianceRule (Maybe NonComplianceDetailCondition) Source #

A condition which is satisfied if there exists any matching NonComplianceDetail for the device.

PasswordRequirements

data PasswordRequirements Source #

Requirements for the password used to unlock a device.

See: passwordRequirements smart constructor.

Instances
Eq PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PasswordRequirements -> c PasswordRequirements #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PasswordRequirements #

toConstr :: PasswordRequirements -> Constr #

dataTypeOf :: PasswordRequirements -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PasswordRequirements) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PasswordRequirements) #

gmapT :: (forall b. Data b => b -> b) -> PasswordRequirements -> PasswordRequirements #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirements -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirements -> r #

gmapQ :: (forall d. Data d => d -> u) -> PasswordRequirements -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PasswordRequirements -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PasswordRequirements -> m PasswordRequirements #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirements -> m PasswordRequirements #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirements -> m PasswordRequirements #

Show PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep PasswordRequirements :: Type -> Type #

ToJSON PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PasswordRequirements Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep PasswordRequirements = D1 (MetaData "PasswordRequirements" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "PasswordRequirements'" PrefixI True) (((S1 (MetaSel (Just "_prPasswordMinimumSymbols") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_prMaximumFailedPasswordsForWipe") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prPasswordExpirationTimeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)))) :*: (S1 (MetaSel (Just "_prPasswordMinimumNonLetter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_prPasswordHistoryLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prPasswordMinimumLetters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) :*: ((S1 (MetaSel (Just "_prPasswordMinimumUpperCase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_prPasswordMinimumNumeric") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_prPasswordQuality") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PasswordRequirementsPasswordQuality)))) :*: (S1 (MetaSel (Just "_prPasswordMinimumLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_prPasswordScope") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PasswordRequirementsPasswordScope)) :*: S1 (MetaSel (Just "_prPasswordMinimumLowerCase") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))

prPasswordMinimumSymbols :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of symbols required in the password. Only enforced when password_quality is COMPLEX.

prMaximumFailedPasswordsForWipe :: Lens' PasswordRequirements (Maybe Int32) Source #

Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction.

prPasswordMinimumNonLetter :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality is COMPLEX.

prPasswordHistoryLength :: Lens' PasswordRequirements (Maybe Int32) Source #

The length of the password history. After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.

prPasswordMinimumLetters :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of letters required in the password. Only enforced when password_quality is COMPLEX.

prPasswordMinimumUpperCase :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX.

prPasswordMinimumNumeric :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of numerical digits required in the password. Only enforced when password_quality is COMPLEX.

prPasswordMinimumLength :: Lens' PasswordRequirements (Maybe Int32) Source #

The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX.

prPasswordScope :: Lens' PasswordRequirements (Maybe PasswordRequirementsPasswordScope) Source #

The scope that the password requirement applies to.

prPasswordMinimumLowerCase :: Lens' PasswordRequirements (Maybe Int32) Source #

Minimum number of lower case letters required in the password. Only enforced when password_quality is COMPLEX.

ApplicationReportState

data ApplicationReportState Source #

Application state.

Constructors

ARSInstalled

INSTALLED App is installed on the device

ARSRemoved

REMOVED App was removed from the device

Instances
Enum ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationReportState -> c ApplicationReportState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationReportState #

toConstr :: ApplicationReportState -> Constr #

dataTypeOf :: ApplicationReportState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationReportState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationReportState) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationReportState -> ApplicationReportState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReportState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationReportState -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationReportState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationReportState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationReportState -> m ApplicationReportState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReportState -> m ApplicationReportState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationReportState -> m ApplicationReportState #

Ord ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep ApplicationReportState :: Type -> Type #

Hashable ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationReportState Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep ApplicationReportState = D1 (MetaData "ApplicationReportState" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ARSInstalled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ARSRemoved" PrefixI False) (U1 :: Type -> Type))

NonComplianceDetail

data NonComplianceDetail Source #

Provides detail about non-compliance with a policy setting.

See: nonComplianceDetail smart constructor.

Instances
Eq NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NonComplianceDetail -> c NonComplianceDetail #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NonComplianceDetail #

toConstr :: NonComplianceDetail -> Constr #

dataTypeOf :: NonComplianceDetail -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NonComplianceDetail) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NonComplianceDetail) #

gmapT :: (forall b. Data b => b -> b) -> NonComplianceDetail -> NonComplianceDetail #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetail -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetail -> r #

gmapQ :: (forall d. Data d => d -> u) -> NonComplianceDetail -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NonComplianceDetail -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NonComplianceDetail -> m NonComplianceDetail #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetail -> m NonComplianceDetail #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetail -> m NonComplianceDetail #

Show NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep NonComplianceDetail :: Type -> Type #

ToJSON NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NonComplianceDetail Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep NonComplianceDetail = D1 (MetaData "NonComplianceDetail" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "NonComplianceDetail'" PrefixI True) ((S1 (MetaSel (Just "_ncdFieldPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ncdPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ncdInstallationFailureReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NonComplianceDetailInstallationFailureReason)))) :*: (S1 (MetaSel (Just "_ncdNonComplianceReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NonComplianceDetailNonComplianceReason)) :*: (S1 (MetaSel (Just "_ncdSettingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ncdCurrentValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONValue))))))

nonComplianceDetail :: NonComplianceDetail Source #

Creates a value of NonComplianceDetail with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ncdFieldPath :: Lens' NonComplianceDetail (Maybe Text) Source #

For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url

ncdPackageName :: Lens' NonComplianceDetail (Maybe Text) Source #

The package name indicating which app is out of compliance, if applicable.

ncdInstallationFailureReason :: Lens' NonComplianceDetail (Maybe NonComplianceDetailInstallationFailureReason) Source #

If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated.

ncdNonComplianceReason :: Lens' NonComplianceDetail (Maybe NonComplianceDetailNonComplianceReason) Source #

The reason the device is not in compliance with the setting.

ncdSettingName :: Lens' NonComplianceDetail (Maybe Text) Source #

The name of the policy setting. This is the JSON field name of a top-level Policy field.

ncdCurrentValue :: Lens' NonComplianceDetail (Maybe JSONValue) Source #

If the policy setting could not be applied, the current value of the setting on the device.

NonComplianceDetailConditionNonComplianceReason

data NonComplianceDetailConditionNonComplianceReason Source #

The reason the device is not in compliance with the setting. If not set, then this condition matches any reason.

Constructors

NCDCNCRNonComplianceReasonUnspecified

NON_COMPLIANCE_REASON_UNSPECIFIED This value is disallowed.

NCDCNCRAPILevel

API_LEVEL The setting is not supported in the API level of the Android version running on the device.

NCDCNCRManagementMode

MANAGEMENT_MODE The management mode (profile owner, device owner, etc.) doesn't support the setting.

NCDCNCRUserAction

USER_ACTION The user has not taken required action to comply with the setting.

NCDCNCRInvalidValue

INVALID_VALUE The setting has an invalid value.

NCDCNCRAppNotInstalled

APP_NOT_INSTALLED The app required to implement the policy is not installed.

NCDCNCRUnsupported

UNSUPPORTED The policy is not supported by the version of Android Device Policy on the device.

NCDCNCRAppInstalled

APP_INSTALLED A blocked app is installed.

NCDCNCRPending

PENDING The setting hasn't been applied at the time of the report, but is expected to be applied shortly.

NCDCNCRAppIncompatible

APP_INCOMPATIBLE The setting can't be applied to the app because the app doesn't support it, for example because its target SDK version is not high enough.

NCDCNCRAppNotUpdated

APP_NOT_UPDATED The app is installed, but it hasn't been updated to the minimum version code specified by policy.

Instances
Enum NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NonComplianceDetailConditionNonComplianceReason -> c NonComplianceDetailConditionNonComplianceReason #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NonComplianceDetailConditionNonComplianceReason #

toConstr :: NonComplianceDetailConditionNonComplianceReason -> Constr #

dataTypeOf :: NonComplianceDetailConditionNonComplianceReason -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NonComplianceDetailConditionNonComplianceReason) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NonComplianceDetailConditionNonComplianceReason) #

gmapT :: (forall b. Data b => b -> b) -> NonComplianceDetailConditionNonComplianceReason -> NonComplianceDetailConditionNonComplianceReason #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailConditionNonComplianceReason -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NonComplianceDetailConditionNonComplianceReason -> r #

gmapQ :: (forall d. Data d => d -> u) -> NonComplianceDetailConditionNonComplianceReason -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NonComplianceDetailConditionNonComplianceReason -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NonComplianceDetailConditionNonComplianceReason -> m NonComplianceDetailConditionNonComplianceReason #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailConditionNonComplianceReason -> m NonComplianceDetailConditionNonComplianceReason #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NonComplianceDetailConditionNonComplianceReason -> m NonComplianceDetailConditionNonComplianceReason #

Ord NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Hashable NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailConditionNonComplianceReason Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep NonComplianceDetailConditionNonComplianceReason = D1 (MetaData "NonComplianceDetailConditionNonComplianceReason" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "NCDCNCRNonComplianceReasonUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDCNCRAPILevel" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NCDCNCRManagementMode" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDCNCRUserAction" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDCNCRInvalidValue" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "NCDCNCRAppNotInstalled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDCNCRUnsupported" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDCNCRAppInstalled" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "NCDCNCRPending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "NCDCNCRAppIncompatible" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NCDCNCRAppNotUpdated" PrefixI False) (U1 :: Type -> Type)))))

ApplicationEvent

data ApplicationEvent Source #

An app-related event.

See: applicationEvent smart constructor.

Instances
Eq ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationEvent -> c ApplicationEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationEvent #

toConstr :: ApplicationEvent -> Constr #

dataTypeOf :: ApplicationEvent -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationEvent) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationEvent) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationEvent -> ApplicationEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationEvent -> m ApplicationEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationEvent -> m ApplicationEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationEvent -> m ApplicationEvent #

Show ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ApplicationEvent :: Type -> Type #

ToJSON ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationEvent Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationEvent = D1 (MetaData "ApplicationEvent" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ApplicationEvent'" PrefixI True) (S1 (MetaSel (Just "_aeEventType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ApplicationEventEventType)) :*: S1 (MetaSel (Just "_aeCreateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))

applicationEvent :: ApplicationEvent Source #

Creates a value of ApplicationEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aeCreateTime :: Lens' ApplicationEvent (Maybe UTCTime) Source #

The creation time of the event.

TermsAndConditions

data TermsAndConditions Source #

A terms and conditions page to be accepted during provisioning.

See: termsAndConditions smart constructor.

Instances
Eq TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TermsAndConditions -> c TermsAndConditions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TermsAndConditions #

toConstr :: TermsAndConditions -> Constr #

dataTypeOf :: TermsAndConditions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TermsAndConditions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TermsAndConditions) #

gmapT :: (forall b. Data b => b -> b) -> TermsAndConditions -> TermsAndConditions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TermsAndConditions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TermsAndConditions -> r #

gmapQ :: (forall d. Data d => d -> u) -> TermsAndConditions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TermsAndConditions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TermsAndConditions -> m TermsAndConditions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TermsAndConditions -> m TermsAndConditions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TermsAndConditions -> m TermsAndConditions #

Show TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep TermsAndConditions :: Type -> Type #

ToJSON TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep TermsAndConditions Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep TermsAndConditions = D1 (MetaData "TermsAndConditions" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "TermsAndConditions'" PrefixI True) (S1 (MetaSel (Just "_tacContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage)) :*: S1 (MetaSel (Just "_tacHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessage))))

termsAndConditions :: TermsAndConditions Source #

Creates a value of TermsAndConditions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tacContent :: Lens' TermsAndConditions (Maybe UserFacingMessage) Source #

A well-formatted HTML string. It will be parsed on the client with android.text.Html#fromHtml.

tacHeader :: Lens' TermsAndConditions (Maybe UserFacingMessage) Source #

A short header which appears above the HTML content.

OperationResponse

data OperationResponse Source #

The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.

See: operationResponse smart constructor.

Instances
Eq OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OperationResponse -> c OperationResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OperationResponse #

toConstr :: OperationResponse -> Constr #

dataTypeOf :: OperationResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OperationResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OperationResponse) #

gmapT :: (forall b. Data b => b -> b) -> OperationResponse -> OperationResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OperationResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OperationResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> OperationResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OperationResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OperationResponse -> m OperationResponse #

Show OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep OperationResponse :: Type -> Type #

ToJSON OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep OperationResponse Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep OperationResponse = D1 (MetaData "OperationResponse" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" True) (C1 (MetaCons "OperationResponse'" PrefixI True) (S1 (MetaSel (Just "_orAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

operationResponse Source #

Creates a value of OperationResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orAddtional :: Lens' OperationResponse (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

UserFacingMessage

data UserFacingMessage Source #

Provides a user-facing message with locale info. The maximum message length is 4096 characters.

See: userFacingMessage smart constructor.

Instances
Eq UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserFacingMessage -> c UserFacingMessage #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserFacingMessage #

toConstr :: UserFacingMessage -> Constr #

dataTypeOf :: UserFacingMessage -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserFacingMessage) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserFacingMessage) #

gmapT :: (forall b. Data b => b -> b) -> UserFacingMessage -> UserFacingMessage #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserFacingMessage -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserFacingMessage -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserFacingMessage -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserFacingMessage -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserFacingMessage -> m UserFacingMessage #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserFacingMessage -> m UserFacingMessage #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserFacingMessage -> m UserFacingMessage #

Show UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep UserFacingMessage :: Type -> Type #

ToJSON UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep UserFacingMessage Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep UserFacingMessage = D1 (MetaData "UserFacingMessage" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "UserFacingMessage'" PrefixI True) (S1 (MetaSel (Just "_ufmLocalizedMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserFacingMessageLocalizedMessages)) :*: S1 (MetaSel (Just "_ufmDefaultMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

userFacingMessage :: UserFacingMessage Source #

Creates a value of UserFacingMessage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ufmLocalizedMessages :: Lens' UserFacingMessage (Maybe UserFacingMessageLocalizedMessages) Source #

A map containing pairs, where locale is a well-formed BCP 47 language (https://www.w3.org/International/articles/language-tags/) code, such as en-US, es-ES, or fr.

ufmDefaultMessage :: Lens' UserFacingMessage (Maybe Text) Source #

The default message displayed if no localized message is specified or the user's locale doesn't match with any of the localized messages. A default message must be provided if any localized messages are provided.

SoftwareInfo

data SoftwareInfo Source #

Information about device software.

See: softwareInfo smart constructor.

Instances
Eq SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SoftwareInfo -> c SoftwareInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SoftwareInfo #

toConstr :: SoftwareInfo -> Constr #

dataTypeOf :: SoftwareInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SoftwareInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SoftwareInfo) #

gmapT :: (forall b. Data b => b -> b) -> SoftwareInfo -> SoftwareInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SoftwareInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SoftwareInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> SoftwareInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SoftwareInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SoftwareInfo -> m SoftwareInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SoftwareInfo -> m SoftwareInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SoftwareInfo -> m SoftwareInfo #

Show SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep SoftwareInfo :: Type -> Type #

ToJSON SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SoftwareInfo Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep SoftwareInfo = D1 (MetaData "SoftwareInfo" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "SoftwareInfo'" PrefixI True) (((S1 (MetaSel (Just "_siSecurityPatchLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_siAndroidDevicePolicyVersionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_siDeviceKernelVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_siAndroidDevicePolicyVersionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_siDeviceBuildSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_siBootLoaderVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_siAndroidBuildTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_siPrimaryLanguageCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_siAndroidBuildNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_siAndroidVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

siSecurityPatchLevel :: Lens' SoftwareInfo (Maybe Text) Source #

Security patch level, e.g. 2016-05-01.

siAndroidDevicePolicyVersionName :: Lens' SoftwareInfo (Maybe Text) Source #

The Android Device Policy app version as displayed to the user.

siDeviceKernelVersion :: Lens' SoftwareInfo (Maybe Text) Source #

Kernel version, for example, 2.6.32.9-g103d848.

siAndroidDevicePolicyVersionCode :: Lens' SoftwareInfo (Maybe Int32) Source #

The Android Device Policy app version code.

siDeviceBuildSignature :: Lens' SoftwareInfo (Maybe Text) Source #

SHA-256 hash of android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified.

siBootLoaderVersion :: Lens' SoftwareInfo (Maybe Text) Source #

The system bootloader version number, e.g. 0.6.7.

siPrimaryLanguageCode :: Lens' SoftwareInfo (Maybe Text) Source #

An IETF BCP 47 language code for the primary locale on the device.

siAndroidBuildNumber :: Lens' SoftwareInfo (Maybe Text) Source #

Android build ID string meant for displaying to the user. For example, shamu-userdebug 6.0.1 MOB30I 2756745 dev-keys.

siAndroidVersion :: Lens' SoftwareInfo (Maybe Text) Source #

The user-visible Android version string. For example, 6.0.1.

MemoryEventEventType

data MemoryEventEventType Source #

Event type.

Constructors

MemoryEventTypeUnspecified

MEMORY_EVENT_TYPE_UNSPECIFIED Unspecified. No events have this type.

RamMeasured

RAM_MEASURED Free space in RAM was measured.

InternalStorageMeasured

INTERNAL_STORAGE_MEASURED Free space in internal storage was measured.

ExternalStorageDetected

EXTERNAL_STORAGE_DETECTED A new external storage medium was detected. The reported byte count is the total capacity of the storage medium.

ExternalStorageRemoved

EXTERNAL_STORAGE_REMOVED An external storage medium was removed. The reported byte count is zero.

ExternalStorageMeasured

EXTERNAL_STORAGE_MEASURED Free space in an external storage medium was measured.

Instances
Enum MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MemoryEventEventType -> c MemoryEventEventType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MemoryEventEventType #

toConstr :: MemoryEventEventType -> Constr #

dataTypeOf :: MemoryEventEventType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MemoryEventEventType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MemoryEventEventType) #

gmapT :: (forall b. Data b => b -> b) -> MemoryEventEventType -> MemoryEventEventType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MemoryEventEventType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MemoryEventEventType -> r #

gmapQ :: (forall d. Data d => d -> u) -> MemoryEventEventType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MemoryEventEventType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MemoryEventEventType -> m MemoryEventEventType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryEventEventType -> m MemoryEventEventType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MemoryEventEventType -> m MemoryEventEventType #

Ord MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Associated Types

type Rep MemoryEventEventType :: Type -> Type #

Hashable MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep MemoryEventEventType Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep MemoryEventEventType = D1 (MetaData "MemoryEventEventType" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) ((C1 (MetaCons "MemoryEventTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "RamMeasured" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InternalStorageMeasured" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "ExternalStorageDetected" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ExternalStorageRemoved" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ExternalStorageMeasured" PrefixI False) (U1 :: Type -> Type))))

ApplicationPermission

data ApplicationPermission Source #

A permission required by the app.

See: applicationPermission smart constructor.

Instances
Eq ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Data ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApplicationPermission -> c ApplicationPermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApplicationPermission #

toConstr :: ApplicationPermission -> Constr #

dataTypeOf :: ApplicationPermission -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApplicationPermission) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApplicationPermission) #

gmapT :: (forall b. Data b => b -> b) -> ApplicationPermission -> ApplicationPermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApplicationPermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApplicationPermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApplicationPermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApplicationPermission -> m ApplicationPermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPermission -> m ApplicationPermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApplicationPermission -> m ApplicationPermission #

Show ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Generic ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

Associated Types

type Rep ApplicationPermission :: Type -> Type #

ToJSON ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

FromJSON ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPermission Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Product

type Rep ApplicationPermission = D1 (MetaData "ApplicationPermission" "Network.Google.AndroidManagement.Types.Product" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (C1 (MetaCons "ApplicationPermission'" PrefixI True) (S1 (MetaSel (Just "_apName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_apDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_apPermissionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

applicationPermission :: ApplicationPermission Source #

Creates a value of ApplicationPermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

apName :: Lens' ApplicationPermission (Maybe Text) Source #

The name of the permission. Localized.

apDescription :: Lens' ApplicationPermission (Maybe Text) Source #

A longer description of the permission, providing more detail on what it affects. Localized.

apPermissionId :: Lens' ApplicationPermission (Maybe Text) Source #

An opaque string uniquely identifying the permission. Not localized.

PasswordRequirementsPasswordQuality

data PasswordRequirementsPasswordQuality Source #

The required password quality.

Constructors

PasswordQualityUnspecified

PASSWORD_QUALITY_UNSPECIFIED There are no password requirements.

BiometricWeak

BIOMETRIC_WEAK The device must be secured with a low-security biometric recognition technology, at minimum. This includes technologies that can recognize the identity of an individual that are roughly equivalent to a 3-digit PIN (false detection is less than 1 in 1,000).

Something

SOMETHING A password is required, but there are no restrictions on what the password must contain.

Numeric

NUMERIC The password must contain numeric characters.

NumericComplex

NUMERIC_COMPLEX The password must contain numeric characters with no repeating (4444) or ordered (1234, 4321, 2468) sequences.

Alphabetic

ALPHABETIC The password must contain alphabetic (or symbol) characters.

Alphanumeric

ALPHANUMERIC The password must contain both numeric and alphabetic (or symbol) characters.

Complex

COMPLEX The password must contain at least a letter, a numerical digit and a special symbol. Other password constraints, for example, password_minimum_letters are enforced.

Instances
Enum PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Eq PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Data PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PasswordRequirementsPasswordQuality -> c PasswordRequirementsPasswordQuality #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PasswordRequirementsPasswordQuality #

toConstr :: PasswordRequirementsPasswordQuality -> Constr #

dataTypeOf :: PasswordRequirementsPasswordQuality -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PasswordRequirementsPasswordQuality) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PasswordRequirementsPasswordQuality) #

gmapT :: (forall b. Data b => b -> b) -> PasswordRequirementsPasswordQuality -> PasswordRequirementsPasswordQuality #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirementsPasswordQuality -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PasswordRequirementsPasswordQuality -> r #

gmapQ :: (forall d. Data d => d -> u) -> PasswordRequirementsPasswordQuality -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PasswordRequirementsPasswordQuality -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordQuality -> m PasswordRequirementsPasswordQuality #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordQuality -> m PasswordRequirementsPasswordQuality #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PasswordRequirementsPasswordQuality -> m PasswordRequirementsPasswordQuality #

Ord PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Read PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Show PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Generic PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

Hashable PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToJSON PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromJSON PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

FromHttpApiData PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

ToHttpApiData PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PasswordRequirementsPasswordQuality Source # 
Instance details

Defined in Network.Google.AndroidManagement.Types.Sum

type Rep PasswordRequirementsPasswordQuality = D1 (MetaData "PasswordRequirementsPasswordQuality" "Network.Google.AndroidManagement.Types.Sum" "gogol-androidmanagement-0.4.0-Fw3CwgJUt5jG9Vgn9TvuqA" False) (((C1 (MetaCons "PasswordQualityUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BiometricWeak" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Something" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Numeric" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "NumericComplex" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Alphabetic" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Alphanumeric" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Complex" PrefixI False) (U1 :: Type -> Type))))