Class CaseServiceGrpc.CaseServiceBlockingStub (0.13.0)

public static final class CaseServiceGrpc.CaseServiceBlockingStub extends AbstractBlockingStub<CaseServiceGrpc.CaseServiceBlockingStub>

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

A service to manage Google Cloud support cases.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CaseServiceGrpc.CaseServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

closeCase(CloseCaseRequest request)

public Case closeCase(CloseCaseRequest request)

Close the specified case.

Parameter
NameDescription
requestCloseCaseRequest
Returns
TypeDescription
Case

createCase(CreateCaseRequest request)

public Case createCase(CreateCaseRequest request)

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.

Parameter
NameDescription
requestCreateCaseRequest
Returns
TypeDescription
Case

escalateCase(EscalateCaseRequest request)

public Case escalateCase(EscalateCaseRequest request)

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.

Parameter
NameDescription
requestEscalateCaseRequest
Returns
TypeDescription
Case

getCase(GetCaseRequest request)

public Case getCase(GetCaseRequest request)

Retrieve the specified case.

Parameter
NameDescription
requestGetCaseRequest
Returns
TypeDescription
Case

listCases(ListCasesRequest request)

public ListCasesResponse listCases(ListCasesRequest request)

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.

Parameter
NameDescription
requestListCasesRequest
Returns
TypeDescription
ListCasesResponse

searchCaseClassifications(SearchCaseClassificationsRequest request)

public SearchCaseClassificationsResponse searchCaseClassifications(SearchCaseClassificationsRequest request)

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".

Parameter
NameDescription
requestSearchCaseClassificationsRequest
Returns
TypeDescription
SearchCaseClassificationsResponse

searchCases(SearchCasesRequest request)

public SearchCasesResponse searchCases(SearchCasesRequest request)

Search cases using the specified query.

Parameter
NameDescription
requestSearchCasesRequest
Returns
TypeDescription
SearchCasesResponse

updateCase(UpdateCaseRequest request)

public Case updateCase(UpdateCaseRequest request)

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

Parameter
NameDescription
requestUpdateCaseRequest
Returns
TypeDescription
Case