App Engine v1 API - Class DomainMappings.DomainMappingsBase (2.3.0)

[BindServiceMethod(typeof(DomainMappings), "BindService")]
public abstract class DomainMappings.DomainMappingsBase

Reference documentation and code samples for the App Engine v1 API class DomainMappings.DomainMappingsBase.

Base class for server-side implementations of DomainMappings

Inheritance

object > DomainMappings.DomainMappingsBase

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Methods

CreateDomainMapping(CreateDomainMappingRequest, ServerCallContext)

public virtual Task<Operation> CreateDomainMapping(CreateDomainMappingRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestCreateDomainMappingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteDomainMapping(DeleteDomainMappingRequest, ServerCallContext)

public virtual Task<Operation> DeleteDomainMapping(DeleteDomainMappingRequest request, ServerCallContext context)

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
NameDescription
requestDeleteDomainMappingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetDomainMapping(GetDomainMappingRequest, ServerCallContext)

public virtual Task<DomainMapping> GetDomainMapping(GetDomainMappingRequest request, ServerCallContext context)

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskDomainMapping

The response to send back to the client (wrapped by a task).

ListDomainMappings(ListDomainMappingsRequest, ServerCallContext)

public virtual Task<ListDomainMappingsResponse> ListDomainMappings(ListDomainMappingsRequest request, ServerCallContext context)

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListDomainMappingsResponse

The response to send back to the client (wrapped by a task).

UpdateDomainMapping(UpdateDomainMappingRequest, ServerCallContext)

public virtual Task<Operation> UpdateDomainMapping(UpdateDomainMappingRequest request, ServerCallContext context)

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
NameDescription
requestUpdateDomainMappingRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).