Interface DomainMappingsGrpc.AsyncService (2.37.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
NameDescription
requestCreateDomainMappingRequest
responseObserverio.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
NameDescription
requestDeleteDomainMappingRequest
responseObserverio.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
NameDescription
requestGetDomainMappingRequest
responseObserverio.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
NameDescription
requestListDomainMappingsRequest
responseObserverio.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
NameDescription
requestUpdateDomainMappingRequest
responseObserverio.grpc.stub.StreamObserver<Operation>