Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- UpdateMetadataArguments
- Status
- PartnerClaim
- CustomerUnclaimDeviceRequest
- PerDeviceStatusInBatchStatus
- FindDevicesByOwnerRequestSectionType
- FindDevicesByDeviceIdentifierRequest
- FindDevicesByOwnerResponse
- DeviceMetadataEntries
- PartnerUnclaim
- Dpc
- ListVendorCustomersResponse
- OperationPerDevice
- Operation
- Empty
- PartnerClaimSectionType
- PerDeviceStatusInBatch
- ClaimDevicesRequest
- Device
- ClaimDeviceRequest
- DeviceReference
- CustomerRemoveConfigurationRequest
- DeviceIdentifier
- UnclaimDevicesRequest
- StatusDetailsItem
- ListVendorsResponse
- CustomerListConfigurationsResponse
- PartnerUnclaimSectionType
- CustomerApplyConfigurationRequest
- Company
- Xgafv
- ClaimDeviceRequestSectionType
- CustomerListCustomersResponse
- DeviceClaim
- UpdateDeviceMetadataRequest
- DeviceMetadata
- FindDevicesByOwnerRequest
- FindDevicesByDeviceIdentifierResponse
- UnclaimDeviceRequest
- DevicesLongRunningOperationResponse
- Configuration
- OperationMetadata
- DeviceClaimSectionType
- ListCustomersResponse
- DevicesLongRunningOperationMetadata
- OperationResponse
- CompanyTermsStatus
- CustomerListDevicesResponse
- UpdateDeviceMetadataInBatchRequest
- UnclaimDeviceRequestSectionType
- CustomerListDpcsResponse
- ClaimDeviceResponse
- CreateCustomerRequest
- DevicesLongRunningOperationMetadataProcessingStatus
Synopsis
- androidDeviceProvisioningService :: ServiceConfig
- data UpdateMetadataArguments
- updateMetadataArguments :: UpdateMetadataArguments
- umaDeviceIdentifier :: Lens' UpdateMetadataArguments (Maybe DeviceIdentifier)
- umaDeviceId :: Lens' UpdateMetadataArguments (Maybe Int64)
- umaDeviceMetadata :: Lens' UpdateMetadataArguments (Maybe DeviceMetadata)
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data PartnerClaim
- partnerClaim :: PartnerClaim
- pcDeviceIdentifier :: Lens' PartnerClaim (Maybe DeviceIdentifier)
- pcSectionType :: Lens' PartnerClaim (Maybe PartnerClaimSectionType)
- pcCustomerId :: Lens' PartnerClaim (Maybe Int64)
- pcDeviceMetadata :: Lens' PartnerClaim (Maybe DeviceMetadata)
- data CustomerUnclaimDeviceRequest
- customerUnclaimDeviceRequest :: CustomerUnclaimDeviceRequest
- cudrDevice :: Lens' CustomerUnclaimDeviceRequest (Maybe DeviceReference)
- data PerDeviceStatusInBatchStatus
- data FindDevicesByOwnerRequestSectionType
- data FindDevicesByDeviceIdentifierRequest
- findDevicesByDeviceIdentifierRequest :: FindDevicesByDeviceIdentifierRequest
- fdbdirDeviceIdentifier :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe DeviceIdentifier)
- fdbdirLimit :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe Int64)
- fdbdirPageToken :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe Text)
- data FindDevicesByOwnerResponse
- findDevicesByOwnerResponse :: FindDevicesByOwnerResponse
- fdborNextPageToken :: Lens' FindDevicesByOwnerResponse (Maybe Text)
- fdborTotalSize :: Lens' FindDevicesByOwnerResponse (Maybe Int32)
- fdborDevices :: Lens' FindDevicesByOwnerResponse [Device]
- data DeviceMetadataEntries
- deviceMetadataEntries :: HashMap Text Text -> DeviceMetadataEntries
- dmeAddtional :: Lens' DeviceMetadataEntries (HashMap Text Text)
- data PartnerUnclaim
- partnerUnclaim :: PartnerUnclaim
- puDeviceIdentifier :: Lens' PartnerUnclaim (Maybe DeviceIdentifier)
- puSectionType :: Lens' PartnerUnclaim (Maybe PartnerUnclaimSectionType)
- puDeviceId :: Lens' PartnerUnclaim (Maybe Int64)
- data Dpc
- dpc :: Dpc
- dPackageName :: Lens' Dpc (Maybe Text)
- dName :: Lens' Dpc (Maybe Text)
- dDpcName :: Lens' Dpc (Maybe Text)
- data ListVendorCustomersResponse
- listVendorCustomersResponse :: ListVendorCustomersResponse
- lvcrCustomers :: Lens' ListVendorCustomersResponse [Company]
- lvcrNextPageToken :: Lens' ListVendorCustomersResponse (Maybe Text)
- lvcrTotalSize :: Lens' ListVendorCustomersResponse (Maybe Int32)
- data OperationPerDevice
- operationPerDevice :: OperationPerDevice
- opdUpdateMetadata :: Lens' OperationPerDevice (Maybe UpdateMetadataArguments)
- opdResult :: Lens' OperationPerDevice (Maybe PerDeviceStatusInBatch)
- opdClaim :: Lens' OperationPerDevice (Maybe PartnerClaim)
- opdUnclaim :: Lens' OperationPerDevice (Maybe PartnerUnclaim)
- data Operation
- operation :: Operation
- oDone :: Lens' Operation (Maybe Bool)
- oError :: Lens' Operation (Maybe Status)
- oResponse :: Lens' Operation (Maybe OperationResponse)
- oName :: Lens' Operation (Maybe Text)
- oMetadata :: Lens' Operation (Maybe OperationMetadata)
- data Empty
- empty :: Empty
- data PartnerClaimSectionType
- data PerDeviceStatusInBatch
- perDeviceStatusInBatch :: PerDeviceStatusInBatch
- pdsibStatus :: Lens' PerDeviceStatusInBatch (Maybe PerDeviceStatusInBatchStatus)
- pdsibErrorIdentifier :: Lens' PerDeviceStatusInBatch (Maybe Text)
- pdsibDeviceId :: Lens' PerDeviceStatusInBatch (Maybe Int64)
- pdsibErrorMessage :: Lens' PerDeviceStatusInBatch (Maybe Text)
- data ClaimDevicesRequest
- claimDevicesRequest :: ClaimDevicesRequest
- cdrClaims :: Lens' ClaimDevicesRequest [PartnerClaim]
- data Device
- device :: Device
- devDeviceIdentifier :: Lens' Device (Maybe DeviceIdentifier)
- devClaims :: Lens' Device [DeviceClaim]
- devName :: Lens' Device (Maybe Text)
- devDeviceId :: Lens' Device (Maybe Int64)
- devDeviceMetadata :: Lens' Device (Maybe DeviceMetadata)
- devConfiguration :: Lens' Device (Maybe Text)
- data ClaimDeviceRequest
- claimDeviceRequest :: ClaimDeviceRequest
- cdrDeviceIdentifier :: Lens' ClaimDeviceRequest (Maybe DeviceIdentifier)
- cdrSectionType :: Lens' ClaimDeviceRequest (Maybe ClaimDeviceRequestSectionType)
- cdrCustomerId :: Lens' ClaimDeviceRequest (Maybe Int64)
- cdrDeviceMetadata :: Lens' ClaimDeviceRequest (Maybe DeviceMetadata)
- data DeviceReference
- deviceReference :: DeviceReference
- drDeviceIdentifier :: Lens' DeviceReference (Maybe DeviceIdentifier)
- drDeviceId :: Lens' DeviceReference (Maybe Int64)
- data CustomerRemoveConfigurationRequest
- customerRemoveConfigurationRequest :: CustomerRemoveConfigurationRequest
- crcrDevice :: Lens' CustomerRemoveConfigurationRequest (Maybe DeviceReference)
- data DeviceIdentifier
- deviceIdentifier :: DeviceIdentifier
- diManufacturer :: Lens' DeviceIdentifier (Maybe Text)
- diModel :: Lens' DeviceIdentifier (Maybe Text)
- diMeid :: Lens' DeviceIdentifier (Maybe Text)
- diImei :: Lens' DeviceIdentifier (Maybe Text)
- diSerialNumber :: Lens' DeviceIdentifier (Maybe Text)
- data UnclaimDevicesRequest
- unclaimDevicesRequest :: UnclaimDevicesRequest
- udrUnclaims :: Lens' UnclaimDevicesRequest [PartnerUnclaim]
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data ListVendorsResponse
- listVendorsResponse :: ListVendorsResponse
- lvrNextPageToken :: Lens' ListVendorsResponse (Maybe Text)
- lvrTotalSize :: Lens' ListVendorsResponse (Maybe Int32)
- lvrVendors :: Lens' ListVendorsResponse [Company]
- data CustomerListConfigurationsResponse
- customerListConfigurationsResponse :: CustomerListConfigurationsResponse
- clcrConfigurations :: Lens' CustomerListConfigurationsResponse [Configuration]
- data PartnerUnclaimSectionType
- data CustomerApplyConfigurationRequest
- customerApplyConfigurationRequest :: CustomerApplyConfigurationRequest
- cacrDevice :: Lens' CustomerApplyConfigurationRequest (Maybe DeviceReference)
- cacrConfiguration :: Lens' CustomerApplyConfigurationRequest (Maybe Text)
- data Company
- company :: Company
- cCompanyId :: Lens' Company (Maybe Int64)
- cCompanyName :: Lens' Company (Maybe Text)
- cOwnerEmails :: Lens' Company [Text]
- cTermsStatus :: Lens' Company (Maybe CompanyTermsStatus)
- cName :: Lens' Company (Maybe Text)
- cAdminEmails :: Lens' Company [Text]
- data Xgafv
- data ClaimDeviceRequestSectionType
- data CustomerListCustomersResponse
- customerListCustomersResponse :: CustomerListCustomersResponse
- clcrCustomers :: Lens' CustomerListCustomersResponse [Company]
- clcrNextPageToken :: Lens' CustomerListCustomersResponse (Maybe Text)
- data DeviceClaim
- deviceClaim :: DeviceClaim
- dcSectionType :: Lens' DeviceClaim (Maybe DeviceClaimSectionType)
- dcOwnerCompanyId :: Lens' DeviceClaim (Maybe Int64)
- dcResellerId :: Lens' DeviceClaim (Maybe Int64)
- data UpdateDeviceMetadataRequest
- updateDeviceMetadataRequest :: UpdateDeviceMetadataRequest
- udmrDeviceMetadata :: Lens' UpdateDeviceMetadataRequest (Maybe DeviceMetadata)
- data DeviceMetadata
- deviceMetadata :: DeviceMetadata
- dmEntries :: Lens' DeviceMetadata (Maybe DeviceMetadataEntries)
- data FindDevicesByOwnerRequest
- findDevicesByOwnerRequest :: FindDevicesByOwnerRequest
- fdborSectionType :: Lens' FindDevicesByOwnerRequest (Maybe FindDevicesByOwnerRequestSectionType)
- fdborCustomerId :: Lens' FindDevicesByOwnerRequest [Int64]
- fdborLimit :: Lens' FindDevicesByOwnerRequest (Maybe Int64)
- fdborPageToken :: Lens' FindDevicesByOwnerRequest (Maybe Text)
- data FindDevicesByDeviceIdentifierResponse
- findDevicesByDeviceIdentifierResponse :: FindDevicesByDeviceIdentifierResponse
- fdbdirNextPageToken :: Lens' FindDevicesByDeviceIdentifierResponse (Maybe Text)
- fdbdirTotalSize :: Lens' FindDevicesByDeviceIdentifierResponse (Maybe Int32)
- fdbdirDevices :: Lens' FindDevicesByDeviceIdentifierResponse [Device]
- data UnclaimDeviceRequest
- unclaimDeviceRequest :: UnclaimDeviceRequest
- udrDeviceIdentifier :: Lens' UnclaimDeviceRequest (Maybe DeviceIdentifier)
- udrSectionType :: Lens' UnclaimDeviceRequest (Maybe UnclaimDeviceRequestSectionType)
- udrDeviceId :: Lens' UnclaimDeviceRequest (Maybe Int64)
- data DevicesLongRunningOperationResponse
- devicesLongRunningOperationResponse :: DevicesLongRunningOperationResponse
- dlrorSuccessCount :: Lens' DevicesLongRunningOperationResponse (Maybe Int32)
- dlrorPerDeviceStatus :: Lens' DevicesLongRunningOperationResponse [OperationPerDevice]
- data Configuration
- configuration :: Configuration
- conContactPhone :: Lens' Configuration (Maybe Text)
- conContactEmail :: Lens' Configuration (Maybe Text)
- conConfigurationName :: Lens' Configuration (Maybe Text)
- conConfigurationId :: Lens' Configuration (Maybe Int64)
- conCustomMessage :: Lens' Configuration (Maybe Text)
- conCompanyName :: Lens' Configuration (Maybe Text)
- conDpcExtras :: Lens' Configuration (Maybe Text)
- conName :: Lens' Configuration (Maybe Text)
- conDpcResourcePath :: Lens' Configuration (Maybe Text)
- conIsDefault :: Lens' Configuration (Maybe Bool)
- data OperationMetadata
- operationMetadata :: HashMap Text JSONValue -> OperationMetadata
- omAddtional :: Lens' OperationMetadata (HashMap Text JSONValue)
- data DeviceClaimSectionType
- data ListCustomersResponse
- listCustomersResponse :: ListCustomersResponse
- lcrCustomers :: Lens' ListCustomersResponse [Company]
- lcrNextPageToken :: Lens' ListCustomersResponse (Maybe Text)
- lcrTotalSize :: Lens' ListCustomersResponse (Maybe Int32)
- data DevicesLongRunningOperationMetadata
- devicesLongRunningOperationMetadata :: DevicesLongRunningOperationMetadata
- dlromProgress :: Lens' DevicesLongRunningOperationMetadata (Maybe Int32)
- dlromDevicesCount :: Lens' DevicesLongRunningOperationMetadata (Maybe Int32)
- dlromProcessingStatus :: Lens' DevicesLongRunningOperationMetadata (Maybe DevicesLongRunningOperationMetadataProcessingStatus)
- data OperationResponse
- operationResponse :: HashMap Text JSONValue -> OperationResponse
- orAddtional :: Lens' OperationResponse (HashMap Text JSONValue)
- data CompanyTermsStatus
- data CustomerListDevicesResponse
- customerListDevicesResponse :: CustomerListDevicesResponse
- cldrNextPageToken :: Lens' CustomerListDevicesResponse (Maybe Text)
- cldrDevices :: Lens' CustomerListDevicesResponse [Device]
- data UpdateDeviceMetadataInBatchRequest
- updateDeviceMetadataInBatchRequest :: UpdateDeviceMetadataInBatchRequest
- udmibrUpdates :: Lens' UpdateDeviceMetadataInBatchRequest [UpdateMetadataArguments]
- data UnclaimDeviceRequestSectionType
- data CustomerListDpcsResponse
- customerListDpcsResponse :: CustomerListDpcsResponse
- cldrDpcs :: Lens' CustomerListDpcsResponse [Dpc]
- data ClaimDeviceResponse
- claimDeviceResponse :: ClaimDeviceResponse
- cdrDeviceName :: Lens' ClaimDeviceResponse (Maybe Text)
- cdrDeviceId :: Lens' ClaimDeviceResponse (Maybe Int64)
- data CreateCustomerRequest
- createCustomerRequest :: CreateCustomerRequest
- ccrCustomer :: Lens' CreateCustomerRequest (Maybe Company)
- data DevicesLongRunningOperationMetadataProcessingStatus
Service Configuration
androidDeviceProvisioningService :: ServiceConfig Source #
Default request referring to version v1
of the Android Device Provisioning Partner API. This contains the host and root path used as a starting point for constructing service requests.
UpdateMetadataArguments
data UpdateMetadataArguments Source #
Identifies metdata updates to one device.
See: updateMetadataArguments
smart constructor.
Instances
updateMetadataArguments :: UpdateMetadataArguments Source #
Creates a value of UpdateMetadataArguments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
umaDeviceIdentifier :: Lens' UpdateMetadataArguments (Maybe DeviceIdentifier) Source #
Device identifier.
umaDeviceId :: Lens' UpdateMetadataArguments (Maybe Int64) Source #
Device ID of the device.
umaDeviceMetadata :: Lens' UpdateMetadataArguments (Maybe DeviceMetadata) Source #
Required. The metadata to update.
Status
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. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `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 mapping The `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 uses The 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 # | |
Data Status Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product 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 # | |
Generic Status Source # | |
ToJSON Status Source # | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.AndroidDeviceProvisioning.Types.Product" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" 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))))) |
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.
PartnerClaim
data PartnerClaim Source #
Identifies one claim request.
See: partnerClaim
smart constructor.
Instances
partnerClaim :: PartnerClaim Source #
Creates a value of PartnerClaim
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pcDeviceIdentifier :: Lens' PartnerClaim (Maybe DeviceIdentifier) Source #
Required. Device identifier of the device.
pcSectionType :: Lens' PartnerClaim (Maybe PartnerClaimSectionType) Source #
Required. The section type of the device's provisioning record.
pcCustomerId :: Lens' PartnerClaim (Maybe Int64) Source #
Required. The ID of the customer for whom the device is being claimed.
pcDeviceMetadata :: Lens' PartnerClaim (Maybe DeviceMetadata) Source #
Required. The metadata to attach to the device at claim.
CustomerUnclaimDeviceRequest
data CustomerUnclaimDeviceRequest Source #
Request message for customer to unclaim a device.
See: customerUnclaimDeviceRequest
smart constructor.
Instances
customerUnclaimDeviceRequest :: CustomerUnclaimDeviceRequest Source #
Creates a value of CustomerUnclaimDeviceRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cudrDevice :: Lens' CustomerUnclaimDeviceRequest (Maybe DeviceReference) Source #
Required. The device to unclaim.
PerDeviceStatusInBatchStatus
data PerDeviceStatusInBatchStatus Source #
The result status of the device after processing.
SingleDeviceStatusUnspecified |
|
SingleDeviceStatusUnknownError |
|
SingleDeviceStatusOtherError |
|
SingleDeviceStatusSuccess |
|
SingleDeviceStatusPermissionDenied |
|
SingleDeviceStatusInvalidDeviceIdentifier |
|
SingleDeviceStatusInvalidSectionType |
|
SingleDeviceStatusSectionNotYours |
|
Instances
FindDevicesByOwnerRequestSectionType
data FindDevicesByOwnerRequestSectionType Source #
Required. The section type of the device's provisioning record.
SectionTypeUnspecified |
|
SectionTypeSimLock |
|
SectionTypeZeroTouch |
|
Instances
FindDevicesByDeviceIdentifierRequest
data FindDevicesByDeviceIdentifierRequest Source #
Request to find devices.
See: findDevicesByDeviceIdentifierRequest
smart constructor.
Instances
findDevicesByDeviceIdentifierRequest :: FindDevicesByDeviceIdentifierRequest Source #
Creates a value of FindDevicesByDeviceIdentifierRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdbdirDeviceIdentifier :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe DeviceIdentifier) Source #
Required. The device identifier to search for.
fdbdirLimit :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe Int64) Source #
Required. The maximum number of devices to show in a page of results. Must be between 1 and 100 inclusive.
fdbdirPageToken :: Lens' FindDevicesByDeviceIdentifierRequest (Maybe Text) Source #
A token specifying which result page to return.
FindDevicesByOwnerResponse
data FindDevicesByOwnerResponse Source #
Response containing found devices.
See: findDevicesByOwnerResponse
smart constructor.
Instances
findDevicesByOwnerResponse :: FindDevicesByOwnerResponse Source #
Creates a value of FindDevicesByOwnerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdborNextPageToken :: Lens' FindDevicesByOwnerResponse (Maybe Text) Source #
A token used to access the next page of results. Omitted if no further results are available.
fdborTotalSize :: Lens' FindDevicesByOwnerResponse (Maybe Int32) Source #
The total count of items in the list irrespective of pagination.
fdborDevices :: Lens' FindDevicesByOwnerResponse [Device] Source #
The customer's devices.
DeviceMetadataEntries
data DeviceMetadataEntries Source #
Metadata entries recorded as key-value pairs.
See: deviceMetadataEntries
smart constructor.
Instances
deviceMetadataEntries Source #
Creates a value of DeviceMetadataEntries
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
PartnerUnclaim
data PartnerUnclaim Source #
Identifies one unclaim request.
See: partnerUnclaim
smart constructor.
Instances
partnerUnclaim :: PartnerUnclaim Source #
Creates a value of PartnerUnclaim
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
puDeviceIdentifier :: Lens' PartnerUnclaim (Maybe DeviceIdentifier) Source #
Device identifier of the device.
puSectionType :: Lens' PartnerUnclaim (Maybe PartnerUnclaimSectionType) Source #
Required. The section type of the device's provisioning record.
puDeviceId :: Lens' PartnerUnclaim (Maybe Int64) Source #
Device ID of the device.
Dpc
An EMM's DPC ([device policy controller](http://developer.android.com/work/dpc/build-dpc.html)). Zero-touch enrollment installs a DPC (listed in the `Configuration`) on a device to maintain the customer's mobile policies. All the DPCs listed by the API support zero-touch enrollment and are available in Google Play.
See: dpc
smart constructor.
Instances
Eq Dpc Source # | |
Data Dpc Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Dpc -> c Dpc # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Dpc # dataTypeOf :: Dpc -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Dpc) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Dpc) # gmapT :: (forall b. Data b => b -> b) -> Dpc -> Dpc # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Dpc -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Dpc -> r # gmapQ :: (forall d. Data d => d -> u) -> Dpc -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Dpc -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Dpc -> m Dpc # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Dpc -> m Dpc # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Dpc -> m Dpc # | |
Show Dpc Source # | |
Generic Dpc Source # | |
ToJSON Dpc Source # | |
FromJSON Dpc Source # | |
type Rep Dpc Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product type Rep Dpc = D1 (MetaData "Dpc" "Network.Google.AndroidDeviceProvisioning.Types.Product" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "Dpc'" PrefixI True) (S1 (MetaSel (Just "_dPackageName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dDpcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Dpc
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dPackageName :: Lens' Dpc (Maybe Text) Source #
Output only. The DPC's Android application ID that looks like a Java package name. Zero-touch enrollment installs the DPC app onto a device using this identifier.
dName :: Lens' Dpc (Maybe Text) Source #
Output only. The API resource name in the format `customers/[CUSTOMER_ID]/dpcs/[DPC_ID]`. Assigned by the server. To maintain a reference to a DPC across customer accounts, persist and match the last path component (`DPC_ID`).
dDpcName :: Lens' Dpc (Maybe Text) Source #
Output only. The title of the DPC app in Google Play. For example, _Google Apps Device Policy_. Useful in an application's user interface.
ListVendorCustomersResponse
data ListVendorCustomersResponse Source #
Response message to list customers of the vendor.
See: listVendorCustomersResponse
smart constructor.
Instances
listVendorCustomersResponse :: ListVendorCustomersResponse Source #
Creates a value of ListVendorCustomersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvcrCustomers :: Lens' ListVendorCustomersResponse [Company] Source #
List of customers of the vendor.
lvcrNextPageToken :: Lens' ListVendorCustomersResponse (Maybe Text) Source #
A token to retrieve the next page of results. Omitted if no further results are available.
lvcrTotalSize :: Lens' ListVendorCustomersResponse (Maybe Int32) Source #
The total count of items in the list irrespective of pagination.
OperationPerDevice
data OperationPerDevice Source #
A task for each device in the operation. Corresponds to each device change in the request.
See: operationPerDevice
smart constructor.
Instances
operationPerDevice :: OperationPerDevice Source #
Creates a value of OperationPerDevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
opdUpdateMetadata :: Lens' OperationPerDevice (Maybe UpdateMetadataArguments) Source #
A copy of the original metadata-update request received by the server.
opdResult :: Lens' OperationPerDevice (Maybe PerDeviceStatusInBatch) Source #
The processing result for each device.
opdClaim :: Lens' OperationPerDevice (Maybe PartnerClaim) Source #
A copy of the original device-claim request received by the server.
opdUnclaim :: Lens' OperationPerDevice (Maybe PartnerUnclaim) Source #
A copy of the original device-unclaim request received by the server.
Operation
This resource represents a long-running operation that is the result of a network API call.
See: operation
smart constructor.
Instances
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 #
This field will always be not set if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`. In this case, error information for each device is set in `response.perDeviceStatus.result.status`.
oResponse :: Lens' Operation (Maybe OperationResponse) Source #
This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
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 #
This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
Empty
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 # | |
Data Empty Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product 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 # 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 # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
PartnerClaimSectionType
data PartnerClaimSectionType Source #
Required. The section type of the device's provisioning record.
PCSTSectionTypeUnspecified |
|
PCSTSectionTypeSimLock |
|
PCSTSectionTypeZeroTouch |
|
Instances
PerDeviceStatusInBatch
data PerDeviceStatusInBatch Source #
Captures the processing status for each device in the operation.
See: perDeviceStatusInBatch
smart constructor.
Instances
perDeviceStatusInBatch :: PerDeviceStatusInBatch Source #
Creates a value of PerDeviceStatusInBatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pdsibStatus :: Lens' PerDeviceStatusInBatch (Maybe PerDeviceStatusInBatchStatus) Source #
The result status of the device after processing.
pdsibErrorIdentifier :: Lens' PerDeviceStatusInBatch (Maybe Text) Source #
If processing fails, the error type.
pdsibDeviceId :: Lens' PerDeviceStatusInBatch (Maybe Int64) Source #
If processing succeeds, the device ID of the device.
pdsibErrorMessage :: Lens' PerDeviceStatusInBatch (Maybe Text) Source #
If processing fails, a developer message explaining what went wrong.
ClaimDevicesRequest
data ClaimDevicesRequest Source #
Request to claim devices asynchronously in batch. Claiming a device adds the device to zero-touch enrollment and shows the device in the customer's view of the portal.
See: claimDevicesRequest
smart constructor.
Instances
claimDevicesRequest :: ClaimDevicesRequest Source #
Creates a value of ClaimDevicesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdrClaims :: Lens' ClaimDevicesRequest [PartnerClaim] Source #
Required. A list of device claims.
Device
An Android device registered for zero-touch enrollment.
See: device
smart constructor.
Instances
Eq Device Source # | |
Data Device Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product 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 # | |
Generic Device Source # | |
ToJSON Device Source # | |
FromJSON Device Source # | |
type Rep Device Source # | |
Defined in Network.Google.AndroidDeviceProvisioning.Types.Product type Rep Device = D1 (MetaData "Device" "Network.Google.AndroidDeviceProvisioning.Types.Product" "gogol-androiddeviceprovisioning-0.4.0-8GRqRwv1LfcIpEsrUb285r" False) (C1 (MetaCons "Device'" PrefixI True) ((S1 (MetaSel (Just "_devDeviceIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceIdentifier)) :*: (S1 (MetaSel (Just "_devClaims") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DeviceClaim])) :*: S1 (MetaSel (Just "_devName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_devDeviceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: (S1 (MetaSel (Just "_devDeviceMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DeviceMetadata)) :*: S1 (MetaSel (Just "_devConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) |
Creates a value of Device
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
devDeviceIdentifier :: Lens' Device (Maybe DeviceIdentifier) Source #
The hardware IDs that identify a manufactured device. To learn more, read Identifiers.
devClaims :: Lens' Device [DeviceClaim] Source #
Output only. The provisioning claims for a device. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. Call `partners.devices.unclaim` or `partners.devices.unclaimAsync` to remove the device from zero-touch enrollment.
devName :: Lens' Device (Maybe Text) Source #
Output only. The API resource name in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.
devDeviceId :: Lens' Device (Maybe Int64) Source #
Output only. The ID of the device. Assigned by the server.
devDeviceMetadata :: Lens' Device (Maybe DeviceMetadata) Source #
The metadata attached to the device. Structured as key-value pairs. To learn more, read Device metadata.
ClaimDeviceRequest
data ClaimDeviceRequest Source #
Request message to claim a device on behalf of a customer.
See: claimDeviceRequest
smart constructor.
Instances
claimDeviceRequest :: ClaimDeviceRequest Source #
Creates a value of ClaimDeviceRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdrDeviceIdentifier :: Lens' ClaimDeviceRequest (Maybe DeviceIdentifier) Source #
Required. The device identifier of the device to claim.
cdrSectionType :: Lens' ClaimDeviceRequest (Maybe ClaimDeviceRequestSectionType) Source #
Required. The section type of the device's provisioning record.
cdrCustomerId :: Lens' ClaimDeviceRequest (Maybe Int64) Source #
Required. The ID of the customer for whom the device is being claimed.
cdrDeviceMetadata :: Lens' ClaimDeviceRequest (Maybe DeviceMetadata) Source #
Optional. The metadata to attach to the device.
DeviceReference
data DeviceReference Source #
A `DeviceReference` is an API abstraction that lets you supply a _device_ argument to a method using one of the following identifier types: * A numeric API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a `DeviceReference` as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read Identifiers.
See: deviceReference
smart constructor.
Instances
deviceReference :: DeviceReference Source #
Creates a value of DeviceReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drDeviceIdentifier :: Lens' DeviceReference (Maybe DeviceIdentifier) Source #
The hardware IDs of the device.
drDeviceId :: Lens' DeviceReference (Maybe Int64) Source #
The ID of the device.
CustomerRemoveConfigurationRequest
data CustomerRemoveConfigurationRequest Source #
Request message for customer to remove the configuration from device.
See: customerRemoveConfigurationRequest
smart constructor.
Instances
customerRemoveConfigurationRequest :: CustomerRemoveConfigurationRequest Source #
Creates a value of CustomerRemoveConfigurationRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crcrDevice :: Lens' CustomerRemoveConfigurationRequest (Maybe DeviceReference) Source #
Required. The device to remove the configuration from.
DeviceIdentifier
data DeviceIdentifier Source #
Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read Identifiers.
See: deviceIdentifier
smart constructor.
Instances
deviceIdentifier :: DeviceIdentifier Source #
Creates a value of DeviceIdentifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diManufacturer :: Lens' DeviceIdentifier (Maybe Text) Source #
The device manufacturer’s name. Matches the device's built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in manufacturers.
diModel :: Lens' DeviceIdentifier (Maybe Text) Source #
The device model's name. Matches the device's built-in value returned from `android.os.Build.MODEL`. Allowed values are listed in models.
diSerialNumber :: Lens' DeviceIdentifier (Maybe Text) Source #
The manufacturer's serial number for the device. This value might not be unique across different device models.
UnclaimDevicesRequest
data UnclaimDevicesRequest Source #
Request to unclaim devices asynchronously in batch.
See: unclaimDevicesRequest
smart constructor.
Instances
unclaimDevicesRequest :: UnclaimDevicesRequest Source #
Creates a value of UnclaimDevicesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udrUnclaims :: Lens' UnclaimDevicesRequest [PartnerUnclaim] Source #
Required. The list of devices to unclaim.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
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.
ListVendorsResponse
data ListVendorsResponse Source #
Response message to list vendors of the partner.
See: listVendorsResponse
smart constructor.
Instances
listVendorsResponse :: ListVendorsResponse Source #
Creates a value of ListVendorsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvrNextPageToken :: Lens' ListVendorsResponse (Maybe Text) Source #
A token to retrieve the next page of results. Omitted if no further results are available.
lvrTotalSize :: Lens' ListVendorsResponse (Maybe Int32) Source #
The total count of items in the list irrespective of pagination.
lvrVendors :: Lens' ListVendorsResponse [Company] Source #
List of vendors of the reseller partner. Fields `name`, `companyId` and `companyName` are populated to the Company object.
CustomerListConfigurationsResponse
data CustomerListConfigurationsResponse Source #
Response message of customer's listing configuration.
See: customerListConfigurationsResponse
smart constructor.
Instances
customerListConfigurationsResponse :: CustomerListConfigurationsResponse Source #
Creates a value of CustomerListConfigurationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clcrConfigurations :: Lens' CustomerListConfigurationsResponse [Configuration] Source #
The configurations.
PartnerUnclaimSectionType
data PartnerUnclaimSectionType Source #
Required. The section type of the device's provisioning record.
PUSTSectionTypeUnspecified |
|
PUSTSectionTypeSimLock |
|
PUSTSectionTypeZeroTouch |
|
Instances
CustomerApplyConfigurationRequest
data CustomerApplyConfigurationRequest Source #
Request message for customer to assign a configuration to device.
See: customerApplyConfigurationRequest
smart constructor.
Instances
customerApplyConfigurationRequest :: CustomerApplyConfigurationRequest Source #
Creates a value of CustomerApplyConfigurationRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cacrDevice :: Lens' CustomerApplyConfigurationRequest (Maybe DeviceReference) Source #
Required. The device the configuration is applied to.
cacrConfiguration :: Lens' CustomerApplyConfigurationRequest (Maybe Text) Source #
Required. The configuration applied to the device in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`.
Company
A reseller, vendor, or customer in the zero-touch reseller and customer APIs.
See: company
smart constructor.
Instances
Creates a value of Company
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cCompanyId :: Lens' Company (Maybe Int64) Source #
Output only. The ID of the company. Assigned by the server.
cCompanyName :: Lens' Company (Maybe Text) Source #
Required. The name of the company. For example _XYZ Corp_. Displayed to the company's employees in the zero-touch enrollment portal.
cOwnerEmails :: Lens' Company [Text] Source #
Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Each email address must be associated with a Google Account. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.
cTermsStatus :: Lens' Company (Maybe CompanyTermsStatus) Source #
Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.
cName :: Lens' Company (Maybe Text) Source #
Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
cAdminEmails :: Lens' Company [Text] Source #
Input only. Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.
Xgafv
V1 error format.
Instances
ClaimDeviceRequestSectionType
data ClaimDeviceRequestSectionType Source #
Required. The section type of the device's provisioning record.
CDRSTSectionTypeUnspecified |
|
CDRSTSectionTypeSimLock |
|
CDRSTSectionTypeZeroTouch |
|
Instances
CustomerListCustomersResponse
data CustomerListCustomersResponse Source #
Response message for listing my customers.
See: customerListCustomersResponse
smart constructor.
Instances
customerListCustomersResponse :: CustomerListCustomersResponse Source #
Creates a value of CustomerListCustomersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
clcrCustomers :: Lens' CustomerListCustomersResponse [Company] Source #
The customer accounts the calling user is a member of.
clcrNextPageToken :: Lens' CustomerListCustomersResponse (Maybe Text) Source #
A token used to access the next page of results. Omitted if no further results are available.
DeviceClaim
data DeviceClaim Source #
A record of a device claimed by a reseller for a customer. Devices claimed for zero-touch enrollment have a claim with the type `SECTION_TYPE_ZERO_TOUCH`. To learn more, read Claim devices for customers.
See: deviceClaim
smart constructor.
Instances
deviceClaim :: DeviceClaim Source #
Creates a value of DeviceClaim
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcSectionType :: Lens' DeviceClaim (Maybe DeviceClaimSectionType) Source #
Output only. The type of claim made on the device.
dcOwnerCompanyId :: Lens' DeviceClaim (Maybe Int64) Source #
The ID of the Customer that purchased the device.
dcResellerId :: Lens' DeviceClaim (Maybe Int64) Source #
The ID of the reseller that claimed the device.
UpdateDeviceMetadataRequest
data UpdateDeviceMetadataRequest Source #
Request to set metadata for a device.
See: updateDeviceMetadataRequest
smart constructor.
Instances
updateDeviceMetadataRequest :: UpdateDeviceMetadataRequest Source #
Creates a value of UpdateDeviceMetadataRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udmrDeviceMetadata :: Lens' UpdateDeviceMetadataRequest (Maybe DeviceMetadata) Source #
Required. The metdata to attach to the device.
DeviceMetadata
data DeviceMetadata Source #
Metadata entries that can be attached to a `Device`. To learn more, read Device metadata.
See: deviceMetadata
smart constructor.
Instances
deviceMetadata :: DeviceMetadata Source #
Creates a value of DeviceMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmEntries :: Lens' DeviceMetadata (Maybe DeviceMetadataEntries) Source #
Metadata entries recorded as key-value pairs.
FindDevicesByOwnerRequest
data FindDevicesByOwnerRequest Source #
Request to find devices by customers.
See: findDevicesByOwnerRequest
smart constructor.
Instances
findDevicesByOwnerRequest :: FindDevicesByOwnerRequest Source #
Creates a value of FindDevicesByOwnerRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdborSectionType :: Lens' FindDevicesByOwnerRequest (Maybe FindDevicesByOwnerRequestSectionType) Source #
Required. The section type of the device's provisioning record.
fdborCustomerId :: Lens' FindDevicesByOwnerRequest [Int64] Source #
Required. The list of customer IDs to search for.
fdborLimit :: Lens' FindDevicesByOwnerRequest (Maybe Int64) Source #
Required. The maximum number of devices to show in a page of results. Must be between 1 and 100 inclusive.
fdborPageToken :: Lens' FindDevicesByOwnerRequest (Maybe Text) Source #
A token specifying which result page to return.
FindDevicesByDeviceIdentifierResponse
data FindDevicesByDeviceIdentifierResponse Source #
Response containing found devices.
See: findDevicesByDeviceIdentifierResponse
smart constructor.
Instances
findDevicesByDeviceIdentifierResponse :: FindDevicesByDeviceIdentifierResponse Source #
Creates a value of FindDevicesByDeviceIdentifierResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdbdirNextPageToken :: Lens' FindDevicesByDeviceIdentifierResponse (Maybe Text) Source #
A token used to access the next page of results. Omitted if no further results are available.
fdbdirTotalSize :: Lens' FindDevicesByDeviceIdentifierResponse (Maybe Int32) Source #
The total count of items in the list irrespective of pagination.
fdbdirDevices :: Lens' FindDevicesByDeviceIdentifierResponse [Device] Source #
Found devices.
UnclaimDeviceRequest
data UnclaimDeviceRequest Source #
Request message to unclaim a device.
See: unclaimDeviceRequest
smart constructor.
Instances
unclaimDeviceRequest :: UnclaimDeviceRequest Source #
Creates a value of UnclaimDeviceRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udrDeviceIdentifier :: Lens' UnclaimDeviceRequest (Maybe DeviceIdentifier) Source #
The device identifier you used when you claimed this device.
udrSectionType :: Lens' UnclaimDeviceRequest (Maybe UnclaimDeviceRequestSectionType) Source #
Required. The section type of the device's provisioning record.
udrDeviceId :: Lens' UnclaimDeviceRequest (Maybe Int64) Source #
The device ID returned by `ClaimDevice`.
DevicesLongRunningOperationResponse
data DevicesLongRunningOperationResponse Source #
Tracks the status of a long-running operation to claim, unclaim, or attach metadata to devices. To learn more, read Long‑running batch operations.
See: devicesLongRunningOperationResponse
smart constructor.
Instances
devicesLongRunningOperationResponse :: DevicesLongRunningOperationResponse Source #
Creates a value of DevicesLongRunningOperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlrorSuccessCount :: Lens' DevicesLongRunningOperationResponse (Maybe Int32) Source #
A summary of how many items in the operation the server processed successfully. Updated as the operation progresses.
dlrorPerDeviceStatus :: Lens' DevicesLongRunningOperationResponse [OperationPerDevice] Source #
The processing status for each device in the operation. One `PerDeviceStatus` per device. The list order matches the items in the original request.
Configuration
data Configuration Source #
A configuration collects the provisioning options for Android devices. Each configuration combines the following: * The EMM device policy controller (DPC) installed on the devices. * EMM policies enforced on the devices. * Metadata displayed on the device to help users during setup. Customers can add as many configurations as they need. However, zero-touch enrollment works best when a customer sets a default configuration that's applied to any new devices the organization purchases.
See: configuration
smart constructor.
Instances
configuration :: Configuration Source #
Creates a value of Configuration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
conContactPhone :: Lens' Configuration (Maybe Text) Source #
Required. The telephone number that device users can call, using another device, to get help. Zero-touch enrollment shows this number to device users before device provisioning. Accepts numerals, spaces, the plus sign, hyphens, and parentheses.
conContactEmail :: Lens' Configuration (Maybe Text) Source #
Required. The email address that device users can contact to get help. Zero-touch enrollment shows this email address to device users before device provisioning. The value is validated on input.
conConfigurationName :: Lens' Configuration (Maybe Text) Source #
Required. A short name that describes the configuration's purpose. For example, _Sales team_ or _Temporary employees_. The zero-touch enrollment portal displays this name to IT admins.
conConfigurationId :: Lens' Configuration (Maybe Int64) Source #
Output only. The ID of the configuration. Assigned by the server.
conCustomMessage :: Lens' Configuration (Maybe Text) Source #
A message, containing one or two sentences, to help device users get help or give them more details about what’s happening to their device. Zero-touch enrollment shows this message before the device is provisioned.
conCompanyName :: Lens' Configuration (Maybe Text) Source #
Required. The name of the organization. Zero-touch enrollment shows this organization name to device users during device provisioning.
conDpcExtras :: Lens' Configuration (Maybe Text) Source #
The JSON-formatted EMM provisioning extras that are passed to the DPC.
conName :: Lens' Configuration (Maybe Text) Source #
Output only. The API resource name in the format `customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]`. Assigned by the server.
conDpcResourcePath :: Lens' Configuration (Maybe Text) Source #
Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.
conIsDefault :: Lens' Configuration (Maybe Bool) Source #
Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration's `isDefault` value to `false`.
OperationMetadata
data OperationMetadata Source #
This field will contain a `DevicesLongRunningOperationMetadata` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
See: operationMetadata
smart constructor.
Instances
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.
DeviceClaimSectionType
data DeviceClaimSectionType Source #
Output only. The type of claim made on the device.
DCSTSectionTypeUnspecified |
|
DCSTSectionTypeSimLock |
|
DCSTSectionTypeZeroTouch |
|
Instances
ListCustomersResponse
data ListCustomersResponse Source #
Response message of all customers related to this partner.
See: listCustomersResponse
smart constructor.
Instances
listCustomersResponse :: ListCustomersResponse Source #
Creates a value of ListCustomersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrCustomers :: Lens' ListCustomersResponse [Company] Source #
List of customers related to this reseller partner.
lcrNextPageToken :: Lens' ListCustomersResponse (Maybe Text) Source #
A token to retrieve the next page of results. Omitted if no further results are available.
lcrTotalSize :: Lens' ListCustomersResponse (Maybe Int32) Source #
The total count of items in the list irrespective of pagination.
DevicesLongRunningOperationMetadata
data DevicesLongRunningOperationMetadata Source #
Tracks the status of a long-running operation to asynchronously update a batch of reseller metadata attached to devices. To learn more, read Long‑running batch operations.
See: devicesLongRunningOperationMetadata
smart constructor.
Instances
devicesLongRunningOperationMetadata :: DevicesLongRunningOperationMetadata Source #
Creates a value of DevicesLongRunningOperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dlromProgress :: Lens' DevicesLongRunningOperationMetadata (Maybe Int32) Source #
The processing progress of the operation. Measured as a number from 0 to 100. A value of 10O doesnt always mean the operation completed—check for the inclusion of a `done` field.
dlromDevicesCount :: Lens' DevicesLongRunningOperationMetadata (Maybe Int32) Source #
The number of metadata updates in the operation. This might be different from the number of updates in the request if the API can't parse some of the updates.
dlromProcessingStatus :: Lens' DevicesLongRunningOperationMetadata (Maybe DevicesLongRunningOperationMetadataProcessingStatus) Source #
The processing status of the operation.
OperationResponse
data OperationResponse Source #
This field will contain a `DevicesLongRunningOperationResponse` object if the operation is created by `claimAsync`, `unclaimAsync`, or `updateMetadataAsync`.
See: operationResponse
smart constructor.
Instances
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.
CompanyTermsStatus
data CompanyTermsStatus Source #
Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.
TermsStatusUnspecified |
|
TermsStatusNotAccepted |
|
TermsStatusAccepted |
|
TermsStatusStale |
|
Instances
CustomerListDevicesResponse
data CustomerListDevicesResponse Source #
Response message of customer's liting devices.
See: customerListDevicesResponse
smart constructor.
Instances
customerListDevicesResponse :: CustomerListDevicesResponse Source #
Creates a value of CustomerListDevicesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cldrNextPageToken :: Lens' CustomerListDevicesResponse (Maybe Text) Source #
A token used to access the next page of results. Omitted if no further results are available.
cldrDevices :: Lens' CustomerListDevicesResponse [Device] Source #
The customer's devices.
UpdateDeviceMetadataInBatchRequest
data UpdateDeviceMetadataInBatchRequest Source #
Request to update device metadata in batch.
See: updateDeviceMetadataInBatchRequest
smart constructor.
Instances
updateDeviceMetadataInBatchRequest :: UpdateDeviceMetadataInBatchRequest Source #
Creates a value of UpdateDeviceMetadataInBatchRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udmibrUpdates :: Lens' UpdateDeviceMetadataInBatchRequest [UpdateMetadataArguments] Source #
Required. The list of metadata updates.
UnclaimDeviceRequestSectionType
data UnclaimDeviceRequestSectionType Source #
Required. The section type of the device's provisioning record.
UDRSTSectionTypeUnspecified |
|
UDRSTSectionTypeSimLock |
|
UDRSTSectionTypeZeroTouch |
|
Instances
CustomerListDpcsResponse
data CustomerListDpcsResponse Source #
Response message of customer's listing DPCs.
See: customerListDpcsResponse
smart constructor.
Instances
customerListDpcsResponse :: CustomerListDpcsResponse Source #
Creates a value of CustomerListDpcsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cldrDpcs :: Lens' CustomerListDpcsResponse [Dpc] Source #
The list of DPCs available to the customer that support zero-touch enrollment.
ClaimDeviceResponse
data ClaimDeviceResponse Source #
Response message containing device id of the claim.
See: claimDeviceResponse
smart constructor.
Instances
claimDeviceResponse :: ClaimDeviceResponse Source #
Creates a value of ClaimDeviceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cdrDeviceName :: Lens' ClaimDeviceResponse (Maybe Text) Source #
The resource name of the device in the format `partners/[PARTNER_ID]/devices/[DEVICE_ID]`.
cdrDeviceId :: Lens' ClaimDeviceResponse (Maybe Int64) Source #
The device ID of the claimed device.
CreateCustomerRequest
data CreateCustomerRequest Source #
Request message to create a customer.
See: createCustomerRequest
smart constructor.
Instances
createCustomerRequest :: CreateCustomerRequest Source #
Creates a value of CreateCustomerRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccrCustomer :: Lens' CreateCustomerRequest (Maybe Company) Source #
Required. The company data to populate the new customer. Must contain a value for `companyName` and at least one `owner_email` that's associated with a Google Account. The values for `companyId` and `name` must be empty.
DevicesLongRunningOperationMetadataProcessingStatus
data DevicesLongRunningOperationMetadataProcessingStatus Source #
The processing status of the operation.
BatchProcessStatusUnspecified |
|
BatchProcessPending |
|
BatchProcessInProgress |
|
BatchProcessProcessed |
|