Package com.google.cloud.support.v2beta
Class CaseServiceGrpc.CaseServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CaseServiceGrpc.CaseServiceStub>
com.google.cloud.support.v2beta.CaseServiceGrpc.CaseServiceStub
- Enclosing class:
- CaseServiceGrpc
public static final class CaseServiceGrpc.CaseServiceStub
extends io.grpc.stub.AbstractAsyncStub<CaseServiceGrpc.CaseServiceStub>
A stub to allow clients to do asynchronous rpc calls to service CaseService.
A service to manage Google Cloud support cases.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected CaseServiceGrpc.CaseServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcloseCase(CloseCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Close a case.voidcreateCase(CreateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Create a new case and associate it with a parent.voidescalateCase(EscalateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Escalate a case, starting the Google Cloud Support escalation management process.voidgetCase(GetCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Retrieve a case.voidlistCases(ListCasesRequest request, io.grpc.stub.StreamObserver<ListCasesResponse> responseObserver) Retrieve all cases under a parent, but not its children.voidsearchCaseClassifications(SearchCaseClassificationsRequest request, io.grpc.stub.StreamObserver<SearchCaseClassificationsResponse> responseObserver) Retrieve valid classifications to use when creating a support case.voidsearchCases(SearchCasesRequest request, io.grpc.stub.StreamObserver<SearchCasesResponse> responseObserver) Search for cases using a query.voidupdateCase(UpdateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Update a case.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CaseServiceGrpc.CaseServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CaseServiceGrpc.CaseServiceStub>
-
getCase
Retrieve a case.
-
listCases
public void listCases(ListCasesRequest request, io.grpc.stub.StreamObserver<ListCasesResponse> responseObserver) Retrieve all cases under a parent, but not its children. For example, listing cases under an organization only returns the cases that are directly parented by that organization. To retrieve cases under an organization and its projects, use `cases.search`.
-
searchCases
public void searchCases(SearchCasesRequest request, io.grpc.stub.StreamObserver<SearchCasesResponse> responseObserver) Search for cases using a query.
-
createCase
public void createCase(CreateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Create a new case and associate it with a parent. It must have the following fields set: `display_name`, `description`, `classification`, and `priority`. If you're just testing the API and don't want to route your case to an agent, set `testCase=true`.
-
updateCase
public void updateCase(UpdateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Update a case. Only some fields can be updated.
-
escalateCase
public void escalateCase(EscalateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver) Escalate a case, starting the Google Cloud Support escalation management process. This operation is only available for some support services. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which ones let you do that.
-
closeCase
Close a case.
-
searchCaseClassifications
public void searchCaseClassifications(SearchCaseClassificationsRequest request, io.grpc.stub.StreamObserver<SearchCaseClassificationsResponse> responseObserver) Retrieve valid classifications to use when creating a support case. Classifications are hierarchical. Each classification is a string containing all levels of the hierarchy separated by `" > "`. For example, `"Technical Issue > Compute > Compute Engine"`. Classification IDs returned by this endpoint are valid for at least six months. When a classification is deactivated, this endpoint immediately stops returning it. After six months, `case.create` requests using the classification will fail.
-