Package com.google.cloud.support.v2
Class CaseServiceGrpc.CaseServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<CaseServiceGrpc.CaseServiceStub>
-
- com.google.cloud.support.v2.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CaseServiceGrpc.CaseServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
closeCase(CloseCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Close the specified case.void
createCase(CreateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Create a new case and associate it with the given Google Cloud Resource.void
escalateCase(EscalateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Escalate a case.void
getCase(GetCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Retrieve the specified case.void
listCases(ListCasesRequest request, io.grpc.stub.StreamObserver<ListCasesResponse> responseObserver)
Retrieve all cases under the specified parent.void
searchCaseClassifications(SearchCaseClassificationsRequest request, io.grpc.stub.StreamObserver<SearchCaseClassificationsResponse> responseObserver)
Retrieve valid classifications to be used when creating a support case.void
searchCases(SearchCasesRequest request, io.grpc.stub.StreamObserver<SearchCasesResponse> responseObserver)
Search cases using the specified query.void
updateCase(UpdateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Update the specified case.
-
-
-
Method Detail
-
build
protected CaseServiceGrpc.CaseServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<CaseServiceGrpc.CaseServiceStub>
-
getCase
public void getCase(GetCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Retrieve the specified case.
-
listCases
public void listCases(ListCasesRequest request, io.grpc.stub.StreamObserver<ListCasesResponse> responseObserver)
Retrieve all cases under the specified parent. Note: Listing cases under an Organization returns only the cases directly parented by that organization. To retrieve all cases under an organization, including cases parented by projects under that organization, use `cases.search`.
-
searchCases
public void searchCases(SearchCasesRequest request, io.grpc.stub.StreamObserver<SearchCasesResponse> responseObserver)
Search cases using the specified query.
-
createCase
public void createCase(CreateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Create a new case and associate it with the given Google Cloud Resource. The case object must have the following fields set: `display_name`, `description`, `classification`, and `priority`.
-
updateCase
public void updateCase(UpdateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Update the specified case. Only a subset of fields can be updated.
-
escalateCase
public void escalateCase(EscalateCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Escalate a case. Escalating a case will initiate the Google Cloud Support escalation management process. This operation is only available to certain Customer Care tiers. Go to https://cloud.google.com/support and look for 'Technical support escalations' in the feature list to find out which tiers are able to perform escalations.
-
closeCase
public void closeCase(CloseCaseRequest request, io.grpc.stub.StreamObserver<Case> responseObserver)
Close the specified case.
-
searchCaseClassifications
public void searchCaseClassifications(SearchCaseClassificationsRequest request, io.grpc.stub.StreamObserver<SearchCaseClassificationsResponse> responseObserver)
Retrieve valid classifications to be used when creating a support case. The classications are hierarchical, with each classification containing all levels of the hierarchy, separated by " > ". For example "Technical Issue > Compute > Compute Engine".
-
-