Class EnterprisesResource.GenerateSignupUrlRequest
Generates a sign-up URL.
Inheritance
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class EnterprisesResource.GenerateSignupUrlRequest : AndroidEnterpriseBaseServiceRequest<SignupInfo>, IClientServiceRequest<SignupInfo>, IClientServiceRequest
Constructors
GenerateSignupUrlRequest(IClientService)
Constructs a new GenerateSignupUrl request.
Declaration
public GenerateSignupUrlRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AdminEmail
Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a
hint only and can be altered by the user. 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 always allowed, but will result in the creation of a
managed Google Play Accounts enterprise.
Declaration
[RequestParameter("allowedDomains", RequestParameterType.Query)]
public virtual Repeatable<string> AllowedDomains { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
CallbackUrl
The callback URL to which the Admin will be redirected after successfully creating an enterprise. Before redirecting there the system will add a single query parameter to this URL named "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.
Declaration
[RequestParameter("callbackUrl", RequestParameterType.Query)]
public virtual string CallbackUrl { 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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GenerateSignupUrl parameter list.
Declaration
protected override void InitParameters()