public class AndroidEnterprise.Products
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
AndroidEnterprise.Products.Approve |
class |
AndroidEnterprise.Products.GenerateApprovalUrl |
class |
AndroidEnterprise.Products.Get |
class |
AndroidEnterprise.Products.GetAppRestrictionsSchema |
class |
AndroidEnterprise.Products.GetPermissions |
class |
AndroidEnterprise.Products.List |
class |
AndroidEnterprise.Products.Unapprove |
Constructor and Description |
---|
Products() |
Modifier and Type | Method and Description |
---|---|
AndroidEnterprise.Products.Approve |
approve(java.lang.String enterpriseId,
java.lang.String productId,
ProductsApproveRequest content)
Approves the specified product and the relevant app permissions, if any.
|
AndroidEnterprise.Products.GenerateApprovalUrl |
generateApprovalUrl(java.lang.String enterpriseId,
java.lang.String productId)
Generates a URL that can be rendered in an iframe to display the permissions (if any) of a
product.
|
AndroidEnterprise.Products.Get |
get(java.lang.String enterpriseId,
java.lang.String productId)
Retrieves details of a product for display to an enterprise admin.
|
AndroidEnterprise.Products.GetAppRestrictionsSchema |
getAppRestrictionsSchema(java.lang.String enterpriseId,
java.lang.String productId)
Retrieves the schema that defines the configurable properties for this product.
|
AndroidEnterprise.Products.GetPermissions |
getPermissions(java.lang.String enterpriseId,
java.lang.String productId)
Retrieves the Android app permissions required by this app.
|
AndroidEnterprise.Products.List |
list(java.lang.String enterpriseId)
Finds approved products that match a query, or all approved products if there is no query.
|
AndroidEnterprise.Products.Unapprove |
unapprove(java.lang.String enterpriseId,
java.lang.String productId)
Unapproves the specified product (and the relevant app permissions, if any)
Create a request for the method "products.unapprove".
|
public AndroidEnterprise.Products.Approve approve(java.lang.String enterpriseId, java.lang.String productId, ProductsApproveRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product.content
- the ProductsApproveRequest
java.io.IOException
public AndroidEnterprise.Products.GenerateApprovalUrl generateApprovalUrl(java.lang.String enterpriseId, java.lang.String productId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product.java.io.IOException
public AndroidEnterprise.Products.Get get(java.lang.String enterpriseId, java.lang.String productId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product, e.g. "app:com.google.android.gm".java.io.IOException
public AndroidEnterprise.Products.GetAppRestrictionsSchema getAppRestrictionsSchema(java.lang.String enterpriseId, java.lang.String productId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the
remote operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product.java.io.IOException
public AndroidEnterprise.Products.GetPermissions getPermissions(java.lang.String enterpriseId, java.lang.String productId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product.java.io.IOException
public AndroidEnterprise.Products.List list(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.Products.Unapprove unapprove(java.lang.String enterpriseId, java.lang.String productId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.enterpriseId
- The ID of the enterprise.productId
- The ID of the product.java.io.IOException