Class CaseServiceGrpc.CaseServiceBlockingV2Stub (0.60.0)
public static final class CaseServiceGrpc.CaseServiceBlockingV2Stub extends AbstractBlockingStub<CaseServiceGrpc.CaseServiceBlockingV2Stub>
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.CaseServiceBlockingV2Stub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected CaseServiceGrpc.CaseServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
closeCase(CloseCaseRequest request)
public Case closeCase(CloseCaseRequest request)
Returns |
Type |
Description |
Case |
|
createCase(CreateCaseRequest request)
public Case createCase(CreateCaseRequest request)
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
.
Returns |
Type |
Description |
Case |
|
escalateCase(EscalateCaseRequest request)
public Case escalateCase(EscalateCaseRequest request)
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.
Returns |
Type |
Description |
Case |
|
getCase(GetCaseRequest request)
public Case getCase(GetCaseRequest request)
Returns |
Type |
Description |
Case |
|
listCases(ListCasesRequest request)
public ListCasesResponse listCases(ListCasesRequest request)
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
.
searchCaseClassifications(SearchCaseClassificationsRequest request)
public SearchCaseClassificationsResponse searchCaseClassifications(SearchCaseClassificationsRequest request)
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.
searchCases(SearchCasesRequest request)
public SearchCasesResponse searchCases(SearchCasesRequest request)
Search for cases using a query.
updateCase(UpdateCaseRequest request)
public Case updateCase(UpdateCaseRequest request)
Update a case. Only some fields can be updated.
Returns |
Type |
Description |
Case |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]