public static final class IncidentServiceGrpc.IncidentServiceBlockingStub extends AbstractBlockingStub<IncidentServiceGrpc.IncidentServiceBlockingStub>
The Incident API for Incident Response & Management.
AbstractStub.StubFactory<T extends AbstractStub<T>>newStub, newStubgetCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected IncidentServiceGrpc.IncidentServiceBlockingStub build(Channel channel, CallOptions callOptions)
build in class AbstractStub<IncidentServiceGrpc.IncidentServiceBlockingStub>public Incident createIncident(CreateIncidentRequest request)
Creates a new incident.
public Incident getIncident(GetIncidentRequest request)
Returns an incident by name.
public SearchIncidentsResponse searchIncidents(SearchIncidentsRequest request)
Returns a list of incidents. Incidents are ordered by start time, with the most recent incidents first.
public Incident updateIncident(UpdateIncidentRequest request)
Updates an existing incident.
public 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 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 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 Tag createTag(CreateTagRequest request)
Creates a tag on an existing incident.
public Empty deleteTag(DeleteTagRequest request)
Deletes an existing tag.
public ListTagsResponse listTags(ListTagsRequest request)
Lists tags that are part of an incident.
public Signal createSignal(CreateSignalRequest request)
Creates a new signal.
public SearchSignalsResponse searchSignals(SearchSignalsRequest request)
Lists signals that are part of an incident. Signals are returned in reverse chronological order. Note that search should not be relied on for critical functionality. It has lower availability guarantees and might fail to return valid results. Returned results might include stale or extraneous entries.
public Signal lookupSignal(LookupSignalRequest request)
Finds a signal by other unique IDs.
public Signal getSignal(GetSignalRequest request)
Returns a signal by name.
public Signal updateSignal(UpdateSignalRequest request)
Updates an existing signal (for example, to assign/unassign it to an incident).
public EscalateIncidentResponse escalateIncident(EscalateIncidentRequest request)
Escalates an incident.
public Artifact createArtifact(CreateArtifactRequest request)
Creates a new artifact.
public ListArtifactsResponse listArtifacts(ListArtifactsRequest request)
Returns a list of artifacts for an incident.
public Artifact updateArtifact(UpdateArtifactRequest request)
Updates an existing artifact.
public Empty deleteArtifact(DeleteArtifactRequest request)
Deletes an existing artifact.
public SendShiftHandoffResponse sendShiftHandoff(SendShiftHandoffRequest request)
Sends a summary of the shift for oncall handoff.
public 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 Subscription updateSubscription(UpdateSubscriptionRequest request)
Updates a subscription.
public ListSubscriptionsResponse listSubscriptions(ListSubscriptionsRequest request)
Returns a list of subscriptions for an incident.
public Empty deleteSubscription(DeleteSubscriptionRequest request)
Deletes an existing subscription.
public 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 Empty deleteIncidentRoleAssignment(DeleteIncidentRoleAssignmentRequest request)
Deletes an existing role assignment.
public ListIncidentRoleAssignmentsResponse listIncidentRoleAssignments(ListIncidentRoleAssignmentsRequest request)
Lists role assignments that are part of an incident.
public 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. Handover to an oncall ladder is not permitted. Use CreateIncidentRoleAssignment instead.
public 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 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 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.