Class EnterprisesResource.GenerateEnterpriseUpgradeUrlRequest
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.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.GenerateEnterpriseUpgradeUrlRequest : AndroidEnterpriseBaseServiceRequest<GenerateEnterpriseUpgradeUrlResponse>, IClientServiceRequest<GenerateEnterpriseUpgradeUrlResponse>, IClientServiceRequest
Constructors
GenerateEnterpriseUpgradeUrlRequest(IClientService, string)
Constructs a new GenerateEnterpriseUpgradeUrl request.
Declaration
public GenerateEnterpriseUpgradeUrlRequest(IClientService service, string enterpriseId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | enterpriseId |
Properties
AdminEmail
Optional. Email address used to prefill the admin field of the enterprise signup form as part of the
upgrade process. This value is a hint only and can be altered by the user. Personal email addresses are
not allowed. If allowedDomains
is non-empty then this must belong to one of the allowedDomains
.
Declaration
[RequestParameter("adminEmail", RequestParameterType.Query)]
public virtual string AdminEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
AllowedDomains
Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email
address with a domain name that is not in this list. Subdomains of domains in this list are not allowed
but can be allowed by adding a second entry which has *.
prefixed to the domain name (e.g.
*.example.com). If the field is not present or is an empty list then the IT admin is free to use any
valid domain name. Personal email domains are not allowed.
Declaration
[RequestParameter("allowedDomains", RequestParameterType.Query)]
public virtual Repeatable<string> AllowedDomains { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
EnterpriseId
Required. The ID of the enterprise.
Declaration
[RequestParameter("enterpriseId", RequestParameterType.Path)]
public virtual string EnterpriseId { get; }
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GenerateEnterpriseUpgradeUrl parameter list.
Declaration
protected override void InitParameters()