Class DomainMappingsGrpc.DomainMappingsFutureStub (2.16.0)

public static final class DomainMappingsGrpc.DomainMappingsFutureStub extends AbstractFutureStub<DomainMappingsGrpc.DomainMappingsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service DomainMappings.

Manages domains serving an application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DomainMappingsGrpc.DomainMappingsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDomainMapping(CreateDomainMappingRequest request)

public ListenableFuture<Operation> createDomainMapping(CreateDomainMappingRequest request)

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.

Parameter
NameDescription
requestCreateDomainMappingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDomainMapping(DeleteDomainMappingRequest request)

public ListenableFuture<Operation> deleteDomainMapping(DeleteDomainMappingRequest request)

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameter
NameDescription
requestDeleteDomainMappingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getDomainMapping(GetDomainMappingRequest request)

public ListenableFuture<DomainMapping> getDomainMapping(GetDomainMappingRequest request)

Gets the specified domain mapping.

Parameter
NameDescription
requestGetDomainMappingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DomainMapping>

listDomainMappings(ListDomainMappingsRequest request)

public ListenableFuture<ListDomainMappingsResponse> listDomainMappings(ListDomainMappingsRequest request)

Lists the domain mappings on an application.

Parameter
NameDescription
requestListDomainMappingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDomainMappingsResponse>

updateDomainMapping(UpdateDomainMappingRequest request)

public ListenableFuture<Operation> updateDomainMapping(UpdateDomainMappingRequest request)

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.

Parameter
NameDescription
requestUpdateDomainMappingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>