public class AndroidEnterprise.Enterprises
extends java.lang.Object
Constructor and Description |
---|
Enterprises() |
Modifier and Type | Method and Description |
---|---|
AndroidEnterprise.Enterprises.AcknowledgeNotificationSet |
acknowledgeNotificationSet()
Acknowledges notifications that were received from Enterprises.PullNotificationSet to prevent
subsequent calls from returning the same notifications.
|
AndroidEnterprise.Enterprises.CompleteSignup |
completeSignup()
Completes the signup flow, by specifying the Completion token and Enterprise token.
|
AndroidEnterprise.Enterprises.CreateWebToken |
createWebToken(java.lang.String enterpriseId,
AdministratorWebTokenSpec content)
Returns a unique token to access an embeddable UI.
|
AndroidEnterprise.Enterprises.Enroll |
enroll(java.lang.String token,
Enterprise content)
Enrolls an enterprise with the calling EMM.
|
AndroidEnterprise.Enterprises.GenerateSignupUrl |
generateSignupUrl()
Generates a sign-up URL.
|
AndroidEnterprise.Enterprises.Get |
get(java.lang.String enterpriseId)
Retrieves the name and domain of an enterprise.
|
AndroidEnterprise.Enterprises.GetServiceAccount |
getServiceAccount(java.lang.String enterpriseId)
Returns a service account and credentials.
|
AndroidEnterprise.Enterprises.GetStoreLayout |
getStoreLayout(java.lang.String enterpriseId)
Returns the store layout for the enterprise.
|
AndroidEnterprise.Enterprises.List |
list(java.lang.String domain)
Looks up an enterprise by domain name.
|
AndroidEnterprise.Enterprises.PullNotificationSet |
pullNotificationSet()
Pulls and returns a notification set for the enterprises associated with the service account
authenticated for the request.
|
AndroidEnterprise.Enterprises.SendTestPushNotification |
sendTestPushNotification(java.lang.String enterpriseId)
Sends a test notification to validate the EMM integration with the Google Cloud Pub/Sub service
for this enterprise.
|
AndroidEnterprise.Enterprises.SetAccount |
setAccount(java.lang.String enterpriseId,
EnterpriseAccount content)
Sets the account that will be used to authenticate to the API as the enterprise.
|
AndroidEnterprise.Enterprises.SetStoreLayout |
setStoreLayout(java.lang.String enterpriseId,
StoreLayout content)
Sets the store layout for the enterprise.
|
AndroidEnterprise.Enterprises.Unenroll |
unenroll(java.lang.String enterpriseId)
Unenrolls an enterprise from the calling EMM.
|
public AndroidEnterprise.Enterprises.AcknowledgeNotificationSet acknowledgeNotificationSet() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.java.io.IOException
public AndroidEnterprise.Enterprises.CompleteSignup completeSignup() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.java.io.IOException
public AndroidEnterprise.Enterprises.CreateWebToken createWebToken(java.lang.String enterpriseId, AdministratorWebTokenSpec content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.content
- the AdministratorWebTokenSpec
java.io.IOException
public AndroidEnterprise.Enterprises.Enroll enroll(java.lang.String token, Enterprise content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.token
- The token provided by the enterprise to register the EMM.content
- the Enterprise
java.io.IOException
public AndroidEnterprise.Enterprises.GenerateSignupUrl generateSignupUrl() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.java.io.IOException
public AndroidEnterprise.Enterprises.Get get(java.lang.String enterpriseId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.java.io.IOException
public AndroidEnterprise.Enterprises.GetServiceAccount getServiceAccount(java.lang.String enterpriseId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.java.io.IOException
public AndroidEnterprise.Enterprises.GetStoreLayout getStoreLayout(java.lang.String enterpriseId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.java.io.IOException
public AndroidEnterprise.Enterprises.List list(java.lang.String domain) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.domain
- The exact primary domain name of the enterprise to look up.java.io.IOException
public AndroidEnterprise.Enterprises.PullNotificationSet pullNotificationSet() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.java.io.IOException
public AndroidEnterprise.Enterprises.SendTestPushNotification sendTestPushNotification(java.lang.String enterpriseId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.java.io.IOException
public AndroidEnterprise.Enterprises.SetAccount setAccount(java.lang.String enterpriseId, EnterpriseAccount content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.content
- the EnterpriseAccount
java.io.IOException
public AndroidEnterprise.Enterprises.SetStoreLayout setStoreLayout(java.lang.String enterpriseId, StoreLayout content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.content
- the StoreLayout
java.io.IOException
public AndroidEnterprise.Enterprises.Unenroll unenroll(java.lang.String enterpriseId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.java.io.IOException