Class DomainMappingsGrpc.DomainMappingsStub (2.30.0)

public static final class DomainMappingsGrpc.DomainMappingsStub extends AbstractAsyncStub<DomainMappingsGrpc.DomainMappingsStub>

A stub to allow clients to do asynchronous rpc calls to service DomainMappings.

Manages domains serving an application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DomainMappingsGrpc.DomainMappingsStub

Methods

build(Channel channel, CallOptions callOptions)

protected DomainMappingsGrpc.DomainMappingsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DomainMappingsGrpc.DomainMappingsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDomainMapping(CreateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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>