[BindServiceMethod(typeof(DomainMappings), "BindService")]
public abstract class DomainMappingsBase
Reference documentation and code samples for the App Engine v1 API class DomainMappings.DomainMappingsBase.
Base class for server-side implementations of DomainMappings
Namespace
Google.Cloud.AppEngine.V1Assembly
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 | |
---|---|
Name | Description |
request | CreateDomainMappingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | |
---|---|
Name | Description |
request | DeleteDomainMappingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | |
---|---|
Name | Description |
request | GetDomainMappingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<DomainMapping> | 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 | |
---|---|
Name | Description |
request | ListDomainMappingsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListDomainMappingsResponse> | 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 | |
---|---|
Name | Description |
request | UpdateDomainMappingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |