public static final class IncidentServiceGrpc.IncidentServiceFutureStub extends io.grpc.stub.AbstractStub<IncidentServiceGrpc.IncidentServiceFutureStub>
The Incident API for Incident Response & Management.
| Modifier and Type | Method and Description |
|---|---|
protected IncidentServiceGrpc.IncidentServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> |
cancelIncidentRoleHandover(CancelIncidentRoleHandoverRequest request)
Cancels a role handover.
|
com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> |
confirmIncidentRoleHandover(ConfirmIncidentRoleHandoverRequest request)
Confirms a role handover.
|
com.google.common.util.concurrent.ListenableFuture<Annotation> |
createAnnotation(CreateAnnotationRequest request)
Creates an annotation on an existing incident.
|
com.google.common.util.concurrent.ListenableFuture<Artifact> |
createArtifact(CreateArtifactRequest request)
Creates a new artifact.
|
com.google.common.util.concurrent.ListenableFuture<Incident> |
createIncident(CreateIncidentRequest request)
Creates a new incident.
|
com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> |
createIncidentRoleAssignment(CreateIncidentRoleAssignmentRequest request)
Creates a role assignment on an existing incident.
|
com.google.common.util.concurrent.ListenableFuture<Signal> |
createSignal(CreateSignalRequest request)
Creates a new signal.
|
com.google.common.util.concurrent.ListenableFuture<Subscription> |
createSubscription(CreateSubscriptionRequest request)
Creates a new subscription.
|
com.google.common.util.concurrent.ListenableFuture<Tag> |
createTag(CreateTagRequest request)
Creates a tag on an existing incident.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteArtifact(DeleteArtifactRequest request)
Deletes an existing artifact.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteIncidentRoleAssignment(DeleteIncidentRoleAssignmentRequest request)
Deletes an existing role assignment.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteSubscription(DeleteSubscriptionRequest request)
Deletes an existing subscription.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteTag(DeleteTagRequest request)
Deletes an existing tag.
|
com.google.common.util.concurrent.ListenableFuture<EscalateIncidentResponse> |
escalateIncident(EscalateIncidentRequest request)
Escalates an incident.
|
com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> |
forceIncidentRoleHandover(ForceIncidentRoleHandoverRequest request)
Forces a role handover.
|
com.google.common.util.concurrent.ListenableFuture<Incident> |
getIncident(GetIncidentRequest request)
Returns an incident by name.
|
com.google.common.util.concurrent.ListenableFuture<Signal> |
getSignal(GetSignalRequest request)
Returns a signal by name.
|
com.google.common.util.concurrent.ListenableFuture<ListAnnotationsResponse> |
listAnnotations(ListAnnotationsRequest request)
Lists annotations that are part of an incident.
|
com.google.common.util.concurrent.ListenableFuture<ListArtifactsResponse> |
listArtifacts(ListArtifactsRequest request)
Returns a list of artifacts for an incident.
|
com.google.common.util.concurrent.ListenableFuture<ListIncidentRoleAssignmentsResponse> |
listIncidentRoleAssignments(ListIncidentRoleAssignmentsRequest request)
Lists role assignments that are part of an incident.
|
com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> |
listSubscriptions(ListSubscriptionsRequest request)
Returns a list of subscriptions for an incident.
|
com.google.common.util.concurrent.ListenableFuture<ListTagsResponse> |
listTags(ListTagsRequest request)
Lists tags that are part of an incident.
|
com.google.common.util.concurrent.ListenableFuture<Signal> |
lookupSignal(LookupSignalRequest request)
Finds a signal by other unique IDs.
|
com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> |
requestIncidentRoleHandover(RequestIncidentRoleHandoverRequest request)
Starts a role handover.
|
com.google.common.util.concurrent.ListenableFuture<SearchIncidentsResponse> |
searchIncidents(SearchIncidentsRequest request)
Returns a list of incidents.
|
com.google.common.util.concurrent.ListenableFuture<SearchSignalsResponse> |
searchSignals(SearchSignalsRequest request)
Lists signals that are part of an incident.
|
com.google.common.util.concurrent.ListenableFuture<SearchSimilarIncidentsResponse> |
searchSimilarIncidents(SearchSimilarIncidentsRequest request)
Returns a list of incidents that are "similar" to the specified incident
or signal.
|
com.google.common.util.concurrent.ListenableFuture<SendShiftHandoffResponse> |
sendShiftHandoff(SendShiftHandoffRequest request)
Sends a summary of the shift for oncall handoff.
|
com.google.common.util.concurrent.ListenableFuture<Artifact> |
updateArtifact(UpdateArtifactRequest request)
Updates an existing artifact.
|
com.google.common.util.concurrent.ListenableFuture<Incident> |
updateIncident(UpdateIncidentRequest request)
Updates an existing incident.
|
com.google.common.util.concurrent.ListenableFuture<Signal> |
updateSignal(UpdateSignalRequest request)
Updates an existing signal (for example, to assign/unassign it to an
incident).
|
com.google.common.util.concurrent.ListenableFuture<Subscription> |
updateSubscription(UpdateSubscriptionRequest request)
Updates a subscription.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected IncidentServiceGrpc.IncidentServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<IncidentServiceGrpc.IncidentServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<Incident> createIncident(CreateIncidentRequest request)
Creates a new incident.
public com.google.common.util.concurrent.ListenableFuture<Incident> getIncident(GetIncidentRequest request)
Returns an incident by name.
public com.google.common.util.concurrent.ListenableFuture<SearchIncidentsResponse> searchIncidents(SearchIncidentsRequest request)
Returns a list of incidents. Incidents are ordered by start time, with the most recent incidents first.
public com.google.common.util.concurrent.ListenableFuture<Incident> updateIncident(UpdateIncidentRequest request)
Updates an existing incident.
public com.google.common.util.concurrent.ListenableFuture<SearchSimilarIncidentsResponse> searchSimilarIncidents(SearchSimilarIncidentsRequest request)
Returns a list of incidents that are "similar" to the specified incident or signal. This functionality is provided on a best-effort basis and the definition of "similar" is subject to change.
public com.google.common.util.concurrent.ListenableFuture<Annotation> createAnnotation(CreateAnnotationRequest request)
Creates an annotation on an existing incident. Only 'text/plain' and 'text/markdown' annotations can be created via this method.
public com.google.common.util.concurrent.ListenableFuture<ListAnnotationsResponse> listAnnotations(ListAnnotationsRequest request)
Lists annotations that are part of an incident. No assumptions should be made on the content-type of the annotation returned.
public com.google.common.util.concurrent.ListenableFuture<Tag> createTag(CreateTagRequest request)
Creates a tag on an existing incident.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTag(DeleteTagRequest request)
Deletes an existing tag.
public com.google.common.util.concurrent.ListenableFuture<ListTagsResponse> listTags(ListTagsRequest request)
Lists tags that are part of an incident.
public com.google.common.util.concurrent.ListenableFuture<Signal> createSignal(CreateSignalRequest request)
Creates a new signal.
public com.google.common.util.concurrent.ListenableFuture<SearchSignalsResponse> searchSignals(SearchSignalsRequest request)
Lists signals that are part of an incident. Signals are returned in reverse chronological order.
public com.google.common.util.concurrent.ListenableFuture<Signal> lookupSignal(LookupSignalRequest request)
Finds a signal by other unique IDs.
public com.google.common.util.concurrent.ListenableFuture<Signal> getSignal(GetSignalRequest request)
Returns a signal by name.
public com.google.common.util.concurrent.ListenableFuture<Signal> updateSignal(UpdateSignalRequest request)
Updates an existing signal (for example, to assign/unassign it to an incident).
public com.google.common.util.concurrent.ListenableFuture<EscalateIncidentResponse> escalateIncident(EscalateIncidentRequest request)
Escalates an incident.
public com.google.common.util.concurrent.ListenableFuture<Artifact> createArtifact(CreateArtifactRequest request)
Creates a new artifact.
public com.google.common.util.concurrent.ListenableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest request)
Returns a list of artifacts for an incident.
public com.google.common.util.concurrent.ListenableFuture<Artifact> updateArtifact(UpdateArtifactRequest request)
Updates an existing artifact.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteArtifact(DeleteArtifactRequest request)
Deletes an existing artifact.
public com.google.common.util.concurrent.ListenableFuture<SendShiftHandoffResponse> sendShiftHandoff(SendShiftHandoffRequest request)
Sends a summary of the shift for oncall handoff.
public com.google.common.util.concurrent.ListenableFuture<Subscription> createSubscription(CreateSubscriptionRequest request)
Creates a new subscription.
This will fail if:
a. there are too many (50) subscriptions in the incident already
b. a subscription using the given channel already exists
public com.google.common.util.concurrent.ListenableFuture<Subscription> updateSubscription(UpdateSubscriptionRequest request)
Updates a subscription.
public com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest request)
Returns a list of subscriptions for an incident.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSubscription(DeleteSubscriptionRequest request)
Deletes an existing subscription.
public com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> createIncidentRoleAssignment(CreateIncidentRoleAssignmentRequest request)
Creates a role assignment on an existing incident. Normally, the user field will be set when assigning a role to oneself, and the next field will be set when proposing another user as the assignee. Setting the next field directly to a user other than oneself is equivalent to proposing and force-assigning the role to the user.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteIncidentRoleAssignment(DeleteIncidentRoleAssignmentRequest request)
Deletes an existing role assignment.
public com.google.common.util.concurrent.ListenableFuture<ListIncidentRoleAssignmentsResponse> listIncidentRoleAssignments(ListIncidentRoleAssignmentsRequest request)
Lists role assignments that are part of an incident.
public com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> requestIncidentRoleHandover(RequestIncidentRoleHandoverRequest request)
Starts a role handover. The proposed assignee will receive an email notifying them of the assignment. This will fail if a role handover is already pending.
public com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> confirmIncidentRoleHandover(ConfirmIncidentRoleHandoverRequest request)
Confirms a role handover. This will fail if the 'proposed_assignee' field of the IncidentRoleAssignment is not equal to the 'new_assignee' field of the request. If the caller is not the new_assignee, ForceIncidentRoleHandover should be used instead.
public com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> forceIncidentRoleHandover(ForceIncidentRoleHandoverRequest request)
Forces a role handover. This will fail if the 'proposed_assignee' field of the IncidentRoleAssignment is not equal to the 'new_assignee' field of the request. If the caller is the new_assignee, ConfirmIncidentRoleHandover should be used instead.
public com.google.common.util.concurrent.ListenableFuture<IncidentRoleAssignment> cancelIncidentRoleHandover(CancelIncidentRoleHandoverRequest request)
Cancels a role handover. This will fail if the 'proposed_assignee' field of the IncidentRoleAssignment is not equal to the 'new_assignee' field of the request.
Copyright © 2020 Google LLC. All rights reserved.