Interface DomainMappingsGrpc.AsyncService (2.42.0)

public static interface DomainMappingsGrpc.AsyncService

Manages domains serving an application.

Methods

createDomainMapping(CreateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public default void createDomainMapping(CreateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDomainMapping(DeleteDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public default void deleteDomainMapping(DeleteDomainMappingRequest request, StreamObserver<Operation> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<Operation>

getDomainMapping(GetDomainMappingRequest request, StreamObserver<DomainMapping> responseObserver)

public default void getDomainMapping(GetDomainMappingRequest request, StreamObserver<DomainMapping> responseObserver)

Gets the specified domain mapping.

Parameters
Name Description
request GetDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<DomainMapping>

listDomainMappings(ListDomainMappingsRequest request, StreamObserver<ListDomainMappingsResponse> responseObserver)

public default void listDomainMappings(ListDomainMappingsRequest request, StreamObserver<ListDomainMappingsResponse> responseObserver)

Lists the domain mappings on an application.

Parameters
Name Description
request ListDomainMappingsRequest
responseObserver io.grpc.stub.StreamObserver<ListDomainMappingsResponse>

updateDomainMapping(UpdateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public default void updateDomainMapping(UpdateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<Operation>