Class AppsResource.DomainMappingsResource.CreateRequest
Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.
Inheritance
AppsResource.DomainMappingsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Appengine.v1
Assembly: Google.Apis.Appengine.v1.dll
Syntax
public class AppsResource.DomainMappingsResource.CreateRequest : AppengineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, DomainMapping, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, DomainMapping body, string appsId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DomainMapping | body | |
string | appsId |
Properties
AppsId
Part of parent
. Name of the parent Application resource. Example: apps/myapp.
Declaration
[RequestParameter("appsId", RequestParameterType.Path)]
public virtual string AppsId { 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
OverrideStrategy
Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
Declaration
[RequestParameter("overrideStrategy", RequestParameterType.Query)]
public virtual AppsResource.DomainMappingsResource.CreateRequest.OverrideStrategyEnum? OverrideStrategy { get; set; }
Property Value
Type | Description |
---|---|
AppsResource.DomainMappingsResource.CreateRequest.OverrideStrategyEnum? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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()