Class CaseServiceGrpc.CaseServiceStub (0.37.0)

public static final class CaseServiceGrpc.CaseServiceStub extends AbstractAsyncStub<CaseServiceGrpc.CaseServiceStub>

A stub to allow clients to do asynchronous rpc calls to service CaseService.

A service to manage Google Cloud support cases.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CaseServiceGrpc.CaseServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected CaseServiceGrpc.CaseServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CaseServiceGrpc.CaseServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

closeCase(CloseCaseRequest request, StreamObserver<Case> responseObserver)

public void closeCase(CloseCaseRequest request, StreamObserver<Case> responseObserver)

Close the specified case.

Parameters
Name Description
request CloseCaseRequest
responseObserver io.grpc.stub.StreamObserver<Case>

createCase(CreateCaseRequest request, StreamObserver<Case> responseObserver)

public void createCase(CreateCaseRequest request, 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.

Parameters
Name Description
request CreateCaseRequest
responseObserver io.grpc.stub.StreamObserver<Case>

escalateCase(EscalateCaseRequest request, StreamObserver<Case> responseObserver)

public void escalateCase(EscalateCaseRequest request, 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.

Parameters
Name Description
request EscalateCaseRequest
responseObserver io.grpc.stub.StreamObserver<Case>

getCase(GetCaseRequest request, StreamObserver<Case> responseObserver)

public void getCase(GetCaseRequest request, StreamObserver<Case> responseObserver)

Retrieve the specified case.

Parameters
Name Description
request GetCaseRequest
responseObserver io.grpc.stub.StreamObserver<Case>

listCases(ListCasesRequest request, StreamObserver<ListCasesResponse> responseObserver)

public void listCases(ListCasesRequest request, 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.

Parameters
Name Description
request ListCasesRequest
responseObserver io.grpc.stub.StreamObserver<ListCasesResponse>

searchCaseClassifications(SearchCaseClassificationsRequest request, StreamObserver<SearchCaseClassificationsResponse> responseObserver)

public void searchCaseClassifications(SearchCaseClassificationsRequest request, 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".

Parameters
Name Description
request SearchCaseClassificationsRequest
responseObserver io.grpc.stub.StreamObserver<SearchCaseClassificationsResponse>

searchCases(SearchCasesRequest request, StreamObserver<SearchCasesResponse> responseObserver)

public void searchCases(SearchCasesRequest request, StreamObserver<SearchCasesResponse> responseObserver)

Search cases using the specified query.

Parameters
Name Description
request SearchCasesRequest
responseObserver io.grpc.stub.StreamObserver<SearchCasesResponse>

updateCase(UpdateCaseRequest request, StreamObserver<Case> responseObserver)

public void updateCase(UpdateCaseRequest request, StreamObserver<Case> responseObserver)

Update the specified case. Only a subset of fields can be updated.

Parameters
Name Description
request UpdateCaseRequest
responseObserver io.grpc.stub.StreamObserver<Case>