public static final class CaseServiceGrpc.CaseServiceFutureStub extends AbstractFutureStub<CaseServiceGrpc.CaseServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CaseService.
A service to manage Google Cloud support cases.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
CaseServiceGrpc.CaseServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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(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.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected CaseServiceGrpc.CaseServiceFutureStub 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 ListenableFuture<Case> closeCase(CloseCaseRequest request)
Close the specified case.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Case> |
|
createCase(CreateCaseRequest request)
public ListenableFuture<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
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Case> |
|
escalateCase(EscalateCaseRequest request)
public ListenableFuture<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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Case> |
|
getCase(GetCaseRequest request)
public ListenableFuture<Case> getCase(GetCaseRequest request)
Retrieve the specified case.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Case> |
|
listCases(ListCasesRequest request)
public ListenableFuture<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
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListCasesResponse> |
|
searchCaseClassifications(SearchCaseClassificationsRequest request)
public ListenableFuture<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".
searchCases(SearchCasesRequest request)
public ListenableFuture<SearchCasesResponse> searchCases(SearchCasesRequest request)
Search cases using the specified query.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<SearchCasesResponse> |
|
updateCase(UpdateCaseRequest request)
public ListenableFuture<Case> updateCase(UpdateCaseRequest request)
Update the specified case. Only a subset of fields can be updated.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Case> |
|