Show / Hide Table of Contents

Class EnterprisesResource

The "enterprises" collection of methods.

Inheritance
object
EnterprisesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidManagement.v1
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class EnterprisesResource

Constructors

EnterprisesResource(IClientService)

Constructs a new resource.

Declaration
public EnterprisesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Applications

Gets the Applications resource.

Declaration
public virtual EnterprisesResource.ApplicationsResource Applications { get; }
Property Value
Type Description
EnterprisesResource.ApplicationsResource

Devices

Gets the Devices resource.

Declaration
public virtual EnterprisesResource.DevicesResource Devices { get; }
Property Value
Type Description
EnterprisesResource.DevicesResource

EnrollmentTokens

Gets the EnrollmentTokens resource.

Declaration
public virtual EnterprisesResource.EnrollmentTokensResource EnrollmentTokens { get; }
Property Value
Type Description
EnterprisesResource.EnrollmentTokensResource

MigrationTokens

Gets the MigrationTokens resource.

Declaration
public virtual EnterprisesResource.MigrationTokensResource MigrationTokens { get; }
Property Value
Type Description
EnterprisesResource.MigrationTokensResource

Policies

Gets the Policies resource.

Declaration
public virtual EnterprisesResource.PoliciesResource Policies { get; }
Property Value
Type Description
EnterprisesResource.PoliciesResource

WebApps

Gets the WebApps resource.

Declaration
public virtual EnterprisesResource.WebAppsResource WebApps { get; }
Property Value
Type Description
EnterprisesResource.WebAppsResource

WebTokens

Gets the WebTokens resource.

Declaration
public virtual EnterprisesResource.WebTokensResource WebTokens { get; }
Property Value
Type Description
EnterprisesResource.WebTokensResource

Methods

Create(Enterprise)

Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail

Declaration
public virtual EnterprisesResource.CreateRequest Create(Enterprise body)
Parameters
Type Name Description
Enterprise body

The body of the request.

Returns
Type Description
EnterprisesResource.CreateRequest

Delete(string)

Permanently deletes an enterprise and all accounts and data associated with it. Warning: this will result in a cascaded deletion of all AM API devices associated with the deleted enterprise. Only available for EMM-managed enterprises.

Declaration
public virtual EnterprisesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

The name of the enterprise in the form enterprises/{enterpriseId}.

Returns
Type Description
EnterprisesResource.DeleteRequest

GenerateEnterpriseUpgradeUrl(GenerateEnterpriseUpgradeUrlRequest, string)

Generates an enterprise upgrade URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain.Note: This feature is not generally available.

Declaration
public virtual EnterprisesResource.GenerateEnterpriseUpgradeUrlRequest GenerateEnterpriseUpgradeUrl(GenerateEnterpriseUpgradeUrlRequest body, string name)
Parameters
Type Name Description
GenerateEnterpriseUpgradeUrlRequest body

The body of the request.

string name

Required. The name of the enterprise to be upgraded in the form enterprises/{enterpriseId}.

Returns
Type Description
EnterprisesResource.GenerateEnterpriseUpgradeUrlRequest

Get(string)

Gets an enterprise.

Declaration
public virtual EnterprisesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

The name of the enterprise in the form enterprises/{enterpriseId}.

Returns
Type Description
EnterprisesResource.GetRequest

List()

Lists EMM-managed enterprises. Only BASIC fields are returned.

Declaration
public virtual EnterprisesResource.ListRequest List()
Returns
Type Description
EnterprisesResource.ListRequest

Patch(Enterprise, string)

Updates an enterprise. See also: SigninDetail

Declaration
public virtual EnterprisesResource.PatchRequest Patch(Enterprise body, string name)
Parameters
Type Name Description
Enterprise body

The body of the request.

string name

The name of the enterprise in the form enterprises/{enterpriseId}.

Returns
Type Description
EnterprisesResource.PatchRequest
In this article
Back to top Generated by DocFX