Class EnterprisesResource.CreateRequest
Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidManagement.v1
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class EnterprisesResource.CreateRequest : AndroidManagementBaseServiceRequest<Enterprise>, IClientServiceRequest<Enterprise>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Enterprise)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Enterprise body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Enterprise | body |
Properties
AgreementAccepted
Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Do not set this field for any customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises). Set this to field to true for all EMM-managed enterprises (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).
Declaration
[RequestParameter("agreementAccepted", RequestParameterType.Query)]
public virtual bool? AgreementAccepted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EnterpriseToken
The enterprise token appended to the callback URL. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).
Declaration
[RequestParameter("enterpriseToken", RequestParameterType.Query)]
public virtual string EnterpriseToken { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
The ID of the Google Cloud Platform project which will own the enterprise.
Declaration
[RequestParameter("projectId", RequestParameterType.Query)]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
SignupUrlName
The name of the SignupUrl used to sign up for the enterprise. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises).
Declaration
[RequestParameter("signupUrlName", RequestParameterType.Query)]
public virtual string SignupUrlName { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()