Interface SipTrunksGrpc.AsyncService (4.61.0)

public static interface SipTrunksGrpc.AsyncService

Service for managing SipTrunks.

Methods

createSipTrunk(CreateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public default void createSipTrunk(CreateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Creates a SipTrunk for a specified location.

Parameters
Name Description
request CreateSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>

deleteSipTrunk(DeleteSipTrunkRequest request, StreamObserver<Empty> responseObserver)

public default void deleteSipTrunk(DeleteSipTrunkRequest request, StreamObserver<Empty> responseObserver)

Deletes a specified SipTrunk.

Parameters
Name Description
request DeleteSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getSipTrunk(GetSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public default void getSipTrunk(GetSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Retrieves the specified SipTrunk.

Parameters
Name Description
request GetSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>

listSipTrunks(ListSipTrunksRequest request, StreamObserver<ListSipTrunksResponse> responseObserver)

public default void listSipTrunks(ListSipTrunksRequest request, StreamObserver<ListSipTrunksResponse> responseObserver)

Returns a list of SipTrunks in the specified location.

Parameters
Name Description
request ListSipTrunksRequest
responseObserver io.grpc.stub.StreamObserver<ListSipTrunksResponse>

updateSipTrunk(UpdateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

public default void updateSipTrunk(UpdateSipTrunkRequest request, StreamObserver<SipTrunk> responseObserver)

Updates the specified SipTrunk.

Parameters
Name Description
request UpdateSipTrunkRequest
responseObserver io.grpc.stub.StreamObserver<SipTrunk>