Class DomainMappingsGrpc.DomainMappingsStub (2.44.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateDomainMappingRequest
responseObserver io.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
Name Description
request DeleteDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getDomainMapping(GetDomainMappingRequest request, StreamObserver<DomainMapping> responseObserver)

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