@Generated("by gapic-generator-java")
Package com.google.cloud.support.v2
A client to Google Cloud Support API
The interfaces provided are listed below, along with usage samples.
======================= CaseAttachmentServiceClient =======================
Service Description: A service to manage file attachment for Google Cloud support cases.
Sample for CaseAttachmentServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CaseAttachmentServiceClient caseAttachmentServiceClient =
CaseAttachmentServiceClient.create()) {
CaseName parent = CaseName.ofProjectCaseName("[PROJECT]", "[CASE]");
for (Attachment element : caseAttachmentServiceClient.listAttachments(parent).iterateAll()) {
// doThingsWith(element);
}
}
======================= CaseServiceClient =======================
Service Description: A service to manage Google Cloud support cases.
Sample for CaseServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CaseServiceClient caseServiceClient = CaseServiceClient.create()) {
CaseName name = CaseName.ofProjectCaseName("[PROJECT]", "[CASE]");
Case response = caseServiceClient.getCase(name);
}
======================= CommentServiceClient =======================
Service Description: A service to manage comments on cases.
Sample for CommentServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CommentServiceClient commentServiceClient = CommentServiceClient.create()) {
CaseName parent = CaseName.ofProjectCaseName("[PROJECT]", "[CASE]");
Comment comment = Comment.newBuilder().build();
Comment response = commentServiceClient.createComment(parent, comment);
}
-
Interface Summary Interface Description ActorOrBuilder AttachmentOrBuilder CaseAttachmentServiceGrpc.AsyncService A service to manage file attachment for Google Cloud support cases.CaseClassificationOrBuilder CaseOrBuilder CaseServiceGrpc.AsyncService A service to manage Google Cloud support cases.CloseCaseRequestOrBuilder CommentOrBuilder CommentServiceGrpc.AsyncService A service to manage comments on cases.CreateCaseRequestOrBuilder CreateCommentRequestOrBuilder EscalateCaseRequestOrBuilder EscalationOrBuilder GetCaseRequestOrBuilder ListAttachmentsRequestOrBuilder ListAttachmentsResponseOrBuilder ListCasesRequestOrBuilder ListCasesResponseOrBuilder ListCommentsRequestOrBuilder ListCommentsResponseOrBuilder SearchCaseClassificationsRequestOrBuilder SearchCaseClassificationsResponseOrBuilder SearchCasesRequestOrBuilder SearchCasesResponseOrBuilder UpdateCaseRequestOrBuilder -
Class Summary Class Description Actor An object containing information about the effective user and authenticated principal responsible for an action.Actor.Builder An object containing information about the effective user and authenticated principal responsible for an action.ActorProto Attachment Represents a file attached to a support case.Attachment.Builder Represents a file attached to a support case.AttachmentProto AttachmentServiceProto Case A support case.Case.Builder A support case.CaseAttachmentServiceClient Service Description: A service to manage file attachment for Google Cloud support cases.CaseAttachmentServiceClient.ListAttachmentsFixedSizeCollection CaseAttachmentServiceClient.ListAttachmentsPage CaseAttachmentServiceClient.ListAttachmentsPagedResponse CaseAttachmentServiceGrpc A service to manage file attachment for Google Cloud support cases.CaseAttachmentServiceGrpc.CaseAttachmentServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service CaseAttachmentService.CaseAttachmentServiceGrpc.CaseAttachmentServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CaseAttachmentService.CaseAttachmentServiceGrpc.CaseAttachmentServiceImplBase Base class for the server implementation of the service CaseAttachmentService.CaseAttachmentServiceGrpc.CaseAttachmentServiceStub A stub to allow clients to do asynchronous rpc calls to service CaseAttachmentService.CaseAttachmentServiceSettings Settings class to configure an instance ofCaseAttachmentServiceClient
.CaseAttachmentServiceSettings.Builder Builder for CaseAttachmentServiceSettings.CaseClassification A classification object with a product type and value.CaseClassification.Builder A classification object with a product type and value.CaseName CaseName.Builder Builder for organizations/{organization}/cases/{case}.CaseName.ProjectCaseBuilder Builder for projects/{project}/cases/{case}.CaseProto CaseServiceClient Service Description: A service to manage Google Cloud support cases.CaseServiceClient.ListCasesFixedSizeCollection CaseServiceClient.ListCasesPage CaseServiceClient.ListCasesPagedResponse CaseServiceClient.SearchCaseClassificationsFixedSizeCollection CaseServiceClient.SearchCaseClassificationsPage CaseServiceClient.SearchCaseClassificationsPagedResponse CaseServiceClient.SearchCasesFixedSizeCollection CaseServiceClient.SearchCasesPage CaseServiceClient.SearchCasesPagedResponse CaseServiceGrpc A service to manage Google Cloud support cases.CaseServiceGrpc.CaseServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service CaseService.CaseServiceGrpc.CaseServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CaseService.CaseServiceGrpc.CaseServiceImplBase Base class for the server implementation of the service CaseService.CaseServiceGrpc.CaseServiceStub A stub to allow clients to do asynchronous rpc calls to service CaseService.CaseServiceProto CaseServiceSettings Settings class to configure an instance ofCaseServiceClient
.CaseServiceSettings.Builder Builder for CaseServiceSettings.CloseCaseRequest The request message for the CloseCase endpoint.CloseCaseRequest.Builder The request message for the CloseCase endpoint.Comment A comment associated with a support case.Comment.Builder A comment associated with a support case.CommentProto CommentServiceClient Service Description: A service to manage comments on cases.CommentServiceClient.ListCommentsFixedSizeCollection CommentServiceClient.ListCommentsPage CommentServiceClient.ListCommentsPagedResponse CommentServiceGrpc A service to manage comments on cases.CommentServiceGrpc.CommentServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service CommentService.CommentServiceGrpc.CommentServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service CommentService.CommentServiceGrpc.CommentServiceImplBase Base class for the server implementation of the service CommentService.CommentServiceGrpc.CommentServiceStub A stub to allow clients to do asynchronous rpc calls to service CommentService.CommentServiceProto CommentServiceSettings Settings class to configure an instance ofCommentServiceClient
.CommentServiceSettings.Builder Builder for CommentServiceSettings.CreateCaseRequest The request message for the CreateCase endpoint.CreateCaseRequest.Builder The request message for the CreateCase endpoint.CreateCommentRequest The request message for CreateComment endpoint.CreateCommentRequest.Builder The request message for CreateComment endpoint.EscalateCaseRequest The request message for the EscalateCase endpoint.EscalateCaseRequest.Builder The request message for the EscalateCase endpoint.Escalation An escalation of a support case.Escalation.Builder An escalation of a support case.EscalationProto GetCaseRequest The request message for the GetCase endpoint.GetCaseRequest.Builder The request message for the GetCase endpoint.ListAttachmentsRequest The request message for the ListAttachments endpoint.ListAttachmentsRequest.Builder The request message for the ListAttachments endpoint.ListAttachmentsResponse The response message for the ListAttachments endpoint.ListAttachmentsResponse.Builder The response message for the ListAttachments endpoint.ListCasesRequest The request message for the ListCases endpoint.ListCasesRequest.Builder The request message for the ListCases endpoint.ListCasesResponse The response message for the ListCases endpoint.ListCasesResponse.Builder The response message for the ListCases endpoint.ListCommentsRequest The request message for the ListComments endpoint.ListCommentsRequest.Builder The request message for the ListComments endpoint.ListCommentsResponse The response message for the ListComments endpoint.ListCommentsResponse.Builder The response message for the ListComments endpoint.OrganizationName OrganizationName.Builder Builder for organizations/{organization}.ProjectName ProjectName.Builder Builder for projects/{project}.SearchCaseClassificationsRequest The request message for SearchCaseClassifications endpoint.SearchCaseClassificationsRequest.Builder The request message for SearchCaseClassifications endpoint.SearchCaseClassificationsResponse The response message for SearchCaseClassifications endpoint.SearchCaseClassificationsResponse.Builder The response message for SearchCaseClassifications endpoint.SearchCasesRequest The request message for the SearchCases endpoint.SearchCasesRequest.Builder The request message for the SearchCases endpoint.SearchCasesResponse The response message for the SearchCases endpoint.SearchCasesResponse.Builder The response message for the SearchCases endpoint.UpdateCaseRequest The request message for the UpdateCase endpointUpdateCaseRequest.Builder The request message for the UpdateCase endpoint -
Enum Summary Enum Description Case.Priority The case Priority.Case.State The status of a support case.Escalation.Reason An enum detailing the possible reasons a case may be escalated.