import "google.golang.org/genproto/googleapis/cloud/irm/v1alpha2"
incidents.pb.go incidents_service.pb.go
var ( Signal_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STATE_OPEN", 2: "STATE_CLOSED", } Signal_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STATE_OPEN": 1, "STATE_CLOSED": 2, } )
Enum value maps for Signal_State.
var ( Incident_EscalationLevel_name = map[int32]string{ 0: "ESCALATION_LEVEL_UNSPECIFIED", 1: "ESCALATION_LEVEL_ORGANIZATION", } Incident_EscalationLevel_value = map[string]int32{ "ESCALATION_LEVEL_UNSPECIFIED": 0, "ESCALATION_LEVEL_ORGANIZATION": 1, } )
Enum value maps for Incident_EscalationLevel.
var ( Incident_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "SEVERITY_HUGE", 2: "SEVERITY_MAJOR", 3: "SEVERITY_MEDIUM", 4: "SEVERITY_MINOR", 5: "SEVERITY_NEGLIGIBLE", } Incident_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "SEVERITY_HUGE": 1, "SEVERITY_MAJOR": 2, "SEVERITY_MEDIUM": 3, "SEVERITY_MINOR": 4, "SEVERITY_NEGLIGIBLE": 5, } )
Enum value maps for Incident_Severity.
var ( Incident_Stage_name = map[int32]string{ 0: "STAGE_UNSPECIFIED", 4: "STAGE_DETECTED", 1: "STAGE_TRIAGED", 2: "STAGE_MITIGATED", 3: "STAGE_RESOLVED", 5: "STAGE_DOCUMENTED", 6: "STAGE_DUPLICATE", } Incident_Stage_value = map[string]int32{ "STAGE_UNSPECIFIED": 0, "STAGE_DETECTED": 4, "STAGE_TRIAGED": 1, "STAGE_MITIGATED": 2, "STAGE_RESOLVED": 3, "STAGE_DOCUMENTED": 5, "STAGE_DUPLICATE": 6, } )
Enum value maps for Incident_Stage.
var ( Incident_CommunicationVenue_ChannelType_name = map[int32]string{ 0: "CHANNEL_TYPE_UNSPECIFIED", 1: "CHANNEL_TYPE_URI", 5: "CHANNEL_TYPE_SLACK", } Incident_CommunicationVenue_ChannelType_value = map[string]int32{ "CHANNEL_TYPE_UNSPECIFIED": 0, "CHANNEL_TYPE_URI": 1, "CHANNEL_TYPE_SLACK": 5, } )
Enum value maps for Incident_CommunicationVenue_ChannelType.
var ( IncidentRole_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_INCIDENT_COMMANDER", 2: "TYPE_COMMUNICATIONS_LEAD", 3: "TYPE_OPERATIONS_LEAD", 4: "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD", 5: "TYPE_PRIMARY_ONCALL", 6: "TYPE_SECONDARY_ONCALL", 7: "TYPE_OTHER", } IncidentRole_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_INCIDENT_COMMANDER": 1, "TYPE_COMMUNICATIONS_LEAD": 2, "TYPE_OPERATIONS_LEAD": 3, "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD": 4, "TYPE_PRIMARY_ONCALL": 5, "TYPE_SECONDARY_ONCALL": 6, "TYPE_OTHER": 7, } )
Enum value maps for IncidentRole_Type.
var ( Artifact_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_URL", 4: "TYPE_JIRA_ISSUE", } Artifact_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_URL": 1, "TYPE_JIRA_ISSUE": 4, } )
Enum value maps for Artifact_Type.
var ( Subscription_EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNSPECIFIED", 1: "EVENT_TYPE_TITLE_CHANGE", 2: "EVENT_TYPE_SYNOPSIS_CHANGE", 3: "EVENT_TYPE_STAGE_CHANGE", 4: "EVENT_TYPE_SEVERITY_CHANGE", 5: "EVENT_TYPE_ANNOTATION_ADD", 6: "EVENT_TYPE_ANNOTATION_CHANGE", } Subscription_EventType_value = map[string]int32{ "EVENT_TYPE_UNSPECIFIED": 0, "EVENT_TYPE_TITLE_CHANGE": 1, "EVENT_TYPE_SYNOPSIS_CHANGE": 2, "EVENT_TYPE_STAGE_CHANGE": 3, "EVENT_TYPE_SEVERITY_CHANGE": 4, "EVENT_TYPE_ANNOTATION_ADD": 5, "EVENT_TYPE_ANNOTATION_CHANGE": 6, } )
Enum value maps for Subscription_EventType.
var File_google_cloud_irm_v1alpha2_incidents_proto protoreflect.FileDescriptor
var File_google_cloud_irm_v1alpha2_incidents_service_proto protoreflect.FileDescriptor
func RegisterIncidentServiceServer(s *grpc.Server, srv IncidentServiceServer)
type Annotation struct { // Resource name of the annotation, for example, // "projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Author of the annotation. Author *User `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` // Output only. Time the annotation was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Content of the annotation. Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // Content type of the annotation, for example, 'text/plain' // or 'text/markdown'. ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // contains filtered or unexported fields }
A text annotation by a user.
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (x *Annotation) GetAuthor() *User
func (x *Annotation) GetContent() string
func (x *Annotation) GetContentType() string
func (x *Annotation) GetCreateTime() *timestamp.Timestamp
func (x *Annotation) GetName() string
func (*Annotation) ProtoMessage()
func (x *Annotation) ProtoReflect() protoreflect.Message
func (x *Annotation) Reset()
func (x *Annotation) String() string
type Artifact struct { // Output only. Resource name such as // "projects/{project_id_or_number}/incidents/{incident_id}/artifacts/{artifact_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // User provided name of an artifact. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Etag for this version of the resource. Must be specified in // update requests and match the current version in storage. Must not be // modified by the client. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // URL to access the artifact. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // Type of this artifact. Type Artifact_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.Artifact_Type" json:"type,omitempty"` // contains filtered or unexported fields }
External artifact associated to an incident.
Deprecated: Use Artifact.ProtoReflect.Descriptor instead.
func (x *Artifact) GetType() Artifact_Type
func (x *Artifact) ProtoReflect() protoreflect.Message
Possible types of an artifact.
const ( // External type is unspecified. Artifact_TYPE_UNSPECIFIED Artifact_Type = 0 // URL. Artifact_TYPE_URL Artifact_Type = 1 // A JIRA issue. Artifact_TYPE_JIRA_ISSUE Artifact_Type = 4 )
func (Artifact_Type) Descriptor() protoreflect.EnumDescriptor
func (x Artifact_Type) Enum() *Artifact_Type
func (Artifact_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Artifact_Type.Descriptor instead.
func (x Artifact_Type) Number() protoreflect.EnumNumber
func (x Artifact_Type) String() string
func (Artifact_Type) Type() protoreflect.EnumType
type CancelIncidentRoleHandoverRequest struct { // Required. Resource name of the role assignment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Person who was proposed as the next assignee (i.e. // IncidentRoleAssignment.proposed_assignee) and whose proposal is being // cancelled. NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` // contains filtered or unexported fields }
Request to cancel a role handover.
func (*CancelIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.
func (x *CancelIncidentRoleHandoverRequest) GetName() string
func (x *CancelIncidentRoleHandoverRequest) GetNewAssignee() *User
func (*CancelIncidentRoleHandoverRequest) ProtoMessage()
func (x *CancelIncidentRoleHandoverRequest) ProtoReflect() protoreflect.Message
func (x *CancelIncidentRoleHandoverRequest) Reset()
func (x *CancelIncidentRoleHandoverRequest) String() string
type CommunicationChannel struct { // An endpoint describes how messages will be delivered. // // Types that are assignable to Endpoint: // *CommunicationChannel_Email_ // *CommunicationChannel_NotificationChannel_ Endpoint isCommunicationChannel_Endpoint `protobuf_oneof:"endpoint"` // contains filtered or unexported fields }
Communication Channels are mechanisms used to receive notifications about changes to incidents.
func (*CommunicationChannel) Descriptor() ([]byte, []int)
Deprecated: Use CommunicationChannel.ProtoReflect.Descriptor instead.
func (x *CommunicationChannel) GetEmail() *CommunicationChannel_Email
func (m *CommunicationChannel) GetEndpoint() isCommunicationChannel_Endpoint
func (x *CommunicationChannel) GetNotificationChannel() *CommunicationChannel_NotificationChannel
func (*CommunicationChannel) ProtoMessage()
func (x *CommunicationChannel) ProtoReflect() protoreflect.Message
func (x *CommunicationChannel) Reset()
func (x *CommunicationChannel) String() string
type CommunicationChannel_Email struct { // The email address, for example, "user@example.com". Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
A communication channel that delivers messages to an email address.
func (*CommunicationChannel_Email) Descriptor() ([]byte, []int)
Deprecated: Use CommunicationChannel_Email.ProtoReflect.Descriptor instead.
func (x *CommunicationChannel_Email) GetAddress() string
func (*CommunicationChannel_Email) ProtoMessage()
func (x *CommunicationChannel_Email) ProtoReflect() protoreflect.Message
func (x *CommunicationChannel_Email) Reset()
func (x *CommunicationChannel_Email) String() string
type CommunicationChannel_Email_ struct { // Messages will be delivered via email. Email *CommunicationChannel_Email `protobuf:"bytes,1,opt,name=email,proto3,oneof"` }
type CommunicationChannel_NotificationChannel struct { // Stackdriver notification channel name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
A communication channel that delivers messages to a Stackdriver notification channel.
func (*CommunicationChannel_NotificationChannel) Descriptor() ([]byte, []int)
Deprecated: Use CommunicationChannel_NotificationChannel.ProtoReflect.Descriptor instead.
func (x *CommunicationChannel_NotificationChannel) GetName() string
func (*CommunicationChannel_NotificationChannel) ProtoMessage()
func (x *CommunicationChannel_NotificationChannel) ProtoReflect() protoreflect.Message
func (x *CommunicationChannel_NotificationChannel) Reset()
func (x *CommunicationChannel_NotificationChannel) String() string
type CommunicationChannel_NotificationChannel_ struct { // Messages will be delivered via a Stackdriver notification channel. NotificationChannel *CommunicationChannel_NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3,oneof"` }
type ConfirmIncidentRoleHandoverRequest struct { // Required. Resource name of the role assignment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The proposed assignee, who will now be the assignee. This should be the // current user; otherwise ForceRoleHandover should be called. NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` // contains filtered or unexported fields }
Request to confirm a role handover.
func (*ConfirmIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.
func (x *ConfirmIncidentRoleHandoverRequest) GetName() string
func (x *ConfirmIncidentRoleHandoverRequest) GetNewAssignee() *User
func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage()
func (x *ConfirmIncidentRoleHandoverRequest) ProtoReflect() protoreflect.Message
func (x *ConfirmIncidentRoleHandoverRequest) Reset()
func (x *ConfirmIncidentRoleHandoverRequest) String() string
type CreateAnnotationRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Only annotation.content is an input argument. Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"` // contains filtered or unexported fields }
Request for the CreateAnnotation method.
func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.
func (x *CreateAnnotationRequest) GetAnnotation() *Annotation
func (x *CreateAnnotationRequest) GetParent() string
func (*CreateAnnotationRequest) ProtoMessage()
func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message
func (x *CreateAnnotationRequest) Reset()
func (x *CreateAnnotationRequest) String() string
type CreateArtifactRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The artifact to create. Artifact *Artifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"` // contains filtered or unexported fields }
Request for the CreateArtifact method.
func (*CreateArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.
func (x *CreateArtifactRequest) GetArtifact() *Artifact
func (x *CreateArtifactRequest) GetParent() string
func (*CreateArtifactRequest) ProtoMessage()
func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message
func (x *CreateArtifactRequest) Reset()
func (x *CreateArtifactRequest) String() string
type CreateIncidentRequest struct { // Required. The incident to create. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // Required. The resource name of the hosting Stackdriver project which the incident // belongs to. // The name is of the form `projects/{project_id_or_number}` // . Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
Request for the CreateIncident method.
func (*CreateIncidentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIncidentRequest.ProtoReflect.Descriptor instead.
func (x *CreateIncidentRequest) GetIncident() *Incident
func (x *CreateIncidentRequest) GetParent() string
func (*CreateIncidentRequest) ProtoMessage()
func (x *CreateIncidentRequest) ProtoReflect() protoreflect.Message
func (x *CreateIncidentRequest) Reset()
func (x *CreateIncidentRequest) String() string
type CreateIncidentRoleAssignmentRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Role assignment to create. IncidentRoleAssignment *IncidentRoleAssignment `protobuf:"bytes,2,opt,name=incident_role_assignment,json=incidentRoleAssignment,proto3" json:"incident_role_assignment,omitempty"` // contains filtered or unexported fields }
Request for creating a role assignment.
func (*CreateIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.
func (x *CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment() *IncidentRoleAssignment
func (x *CreateIncidentRoleAssignmentRequest) GetParent() string
func (*CreateIncidentRoleAssignmentRequest) ProtoMessage()
func (x *CreateIncidentRoleAssignmentRequest) ProtoReflect() protoreflect.Message
func (x *CreateIncidentRoleAssignmentRequest) Reset()
func (x *CreateIncidentRoleAssignmentRequest) String() string
type CreateSignalRequest struct { // Required. The resource name of the hosting Stackdriver project which requested // signal belongs to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The signal to create. Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"` // contains filtered or unexported fields }
Request for the CreateSignal method.
func (*CreateSignalRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSignalRequest.ProtoReflect.Descriptor instead.
func (x *CreateSignalRequest) GetParent() string
func (x *CreateSignalRequest) GetSignal() *Signal
func (*CreateSignalRequest) ProtoMessage()
func (x *CreateSignalRequest) ProtoReflect() protoreflect.Message
func (x *CreateSignalRequest) Reset()
func (x *CreateSignalRequest) String() string
type CreateSubscriptionRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The subscription to create. Subscription *Subscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"` // contains filtered or unexported fields }
Request for the CreateSubscription method.
func (*CreateSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSubscriptionRequest.ProtoReflect.Descriptor instead.
func (x *CreateSubscriptionRequest) GetParent() string
func (x *CreateSubscriptionRequest) GetSubscription() *Subscription
func (*CreateSubscriptionRequest) ProtoMessage()
func (x *CreateSubscriptionRequest) ProtoReflect() protoreflect.Message
func (x *CreateSubscriptionRequest) Reset()
func (x *CreateSubscriptionRequest) String() string
type CreateTagRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Tag to create. Only tag.display_name is an input argument. Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
Request for the CreateTag method.
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (x *CreateTagRequest) GetParent() string
func (x *CreateTagRequest) GetTag() *Tag
func (*CreateTagRequest) ProtoMessage()
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
func (x *CreateTagRequest) Reset()
func (x *CreateTagRequest) String() string
type DeleteArtifactRequest struct { // Required. Resource name of the artifact. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for deleting an artifact.
func (*DeleteArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.
func (x *DeleteArtifactRequest) GetName() string
func (*DeleteArtifactRequest) ProtoMessage()
func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message
func (x *DeleteArtifactRequest) Reset()
func (x *DeleteArtifactRequest) String() string
type DeleteIncidentRoleAssignmentRequest struct { // Required. Resource name of the role assignment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for deleting a role assignment.
func (*DeleteIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.
func (x *DeleteIncidentRoleAssignmentRequest) GetName() string
func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage()
func (x *DeleteIncidentRoleAssignmentRequest) ProtoReflect() protoreflect.Message
func (x *DeleteIncidentRoleAssignmentRequest) Reset()
func (x *DeleteIncidentRoleAssignmentRequest) String() string
type DeleteSubscriptionRequest struct { // Required. Resource name of the subscription. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for deleting a subscription.
func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead.
func (x *DeleteSubscriptionRequest) GetName() string
func (*DeleteSubscriptionRequest) ProtoMessage()
func (x *DeleteSubscriptionRequest) ProtoReflect() protoreflect.Message
func (x *DeleteSubscriptionRequest) Reset()
func (x *DeleteSubscriptionRequest) String() string
type DeleteTagRequest struct { // Required. Resource name of the tag. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the DeleteTag method.
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (x *DeleteTagRequest) GetName() string
func (*DeleteTagRequest) ProtoMessage()
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (x *DeleteTagRequest) Reset()
func (x *DeleteTagRequest) String() string
type EscalateIncidentRequest struct { // Required. The incident to escalate with the new values. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Subscriptions to add or update. Existing subscriptions with the same // channel and address as a subscription in the list will be updated. Subscriptions []*Subscription `protobuf:"bytes,3,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // Tags to add. Tags identical to existing tags will be ignored. Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // Roles to add or update. Existing roles with the same type (and title, for // TYPE_OTHER roles) will be updated. Roles []*IncidentRoleAssignment `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"` // Artifacts to add. All artifacts are added without checking for duplicates. Artifacts []*Artifact `protobuf:"bytes,6,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // contains filtered or unexported fields }
Request to escalate an incident.
func (*EscalateIncidentRequest) Descriptor() ([]byte, []int)
Deprecated: Use EscalateIncidentRequest.ProtoReflect.Descriptor instead.
func (x *EscalateIncidentRequest) GetArtifacts() []*Artifact
func (x *EscalateIncidentRequest) GetIncident() *Incident
func (x *EscalateIncidentRequest) GetRoles() []*IncidentRoleAssignment
func (x *EscalateIncidentRequest) GetSubscriptions() []*Subscription
func (x *EscalateIncidentRequest) GetTags() []*Tag
func (x *EscalateIncidentRequest) GetUpdateMask() *field_mask.FieldMask
func (*EscalateIncidentRequest) ProtoMessage()
func (x *EscalateIncidentRequest) ProtoReflect() protoreflect.Message
func (x *EscalateIncidentRequest) Reset()
func (x *EscalateIncidentRequest) String() string
type EscalateIncidentResponse struct { // The escalated incident. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // New or modified subscriptions. Subscriptions []*Subscription `protobuf:"bytes,2,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // New or modified tags. Tags []*Tag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // New or modified roles. Roles []*IncidentRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // New or modified artifacts. Artifacts []*Artifact `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // contains filtered or unexported fields }
Response for EscalateIncident.
func (*EscalateIncidentResponse) Descriptor() ([]byte, []int)
Deprecated: Use EscalateIncidentResponse.ProtoReflect.Descriptor instead.
func (x *EscalateIncidentResponse) GetArtifacts() []*Artifact
func (x *EscalateIncidentResponse) GetIncident() *Incident
func (x *EscalateIncidentResponse) GetRoles() []*IncidentRole
func (x *EscalateIncidentResponse) GetSubscriptions() []*Subscription
func (x *EscalateIncidentResponse) GetTags() []*Tag
func (*EscalateIncidentResponse) ProtoMessage()
func (x *EscalateIncidentResponse) ProtoReflect() protoreflect.Message
func (x *EscalateIncidentResponse) Reset()
func (x *EscalateIncidentResponse) String() string
type ForceIncidentRoleHandoverRequest struct { // Required. Resource name of the role assignment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The proposed assignee, who will now be the assignee. This should not be // the current user; otherwise ConfirmRoleHandover should be called. NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` // contains filtered or unexported fields }
Request to force a role handover.
func (*ForceIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForceIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.
func (x *ForceIncidentRoleHandoverRequest) GetName() string
func (x *ForceIncidentRoleHandoverRequest) GetNewAssignee() *User
func (*ForceIncidentRoleHandoverRequest) ProtoMessage()
func (x *ForceIncidentRoleHandoverRequest) ProtoReflect() protoreflect.Message
func (x *ForceIncidentRoleHandoverRequest) Reset()
func (x *ForceIncidentRoleHandoverRequest) String() string
type GetIncidentRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the GetIncident method.
func (*GetIncidentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIncidentRequest.ProtoReflect.Descriptor instead.
func (x *GetIncidentRequest) GetName() string
func (*GetIncidentRequest) ProtoMessage()
func (x *GetIncidentRequest) ProtoReflect() protoreflect.Message
func (x *GetIncidentRequest) Reset()
func (x *GetIncidentRequest) String() string
type GetSignalRequest struct { // Required. Resource name of the Signal resource, for example, // "projects/{project_id_or_number}/signals/{signal_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request for the GetSignal method.
func (*GetSignalRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSignalRequest.ProtoReflect.Descriptor instead.
func (x *GetSignalRequest) GetName() string
func (*GetSignalRequest) ProtoMessage()
func (x *GetSignalRequest) ProtoReflect() protoreflect.Message
func (x *GetSignalRequest) Reset()
func (x *GetSignalRequest) String() string
type Incident struct { // Output only. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // One-line summary of the incident. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Escalation level of the incident. EscalationLevel Incident_EscalationLevel `protobuf:"varint,3,opt,name=escalation_level,json=escalationLevel,proto3,enum=google.cloud.irm.v1alpha2.Incident_EscalationLevel" json:"escalation_level,omitempty"` // Etag to validate the object is unchanged for a read-modify-write operation. // An empty etag will overwrite other changes. Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // Severity of the incident. Severity Incident_Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.cloud.irm.v1alpha2.Incident_Severity" json:"severity,omitempty"` // Stage of the incident. Stage Incident_Stage `protobuf:"varint,6,opt,name=stage,proto3,enum=google.cloud.irm.v1alpha2.Incident_Stage" json:"stage,omitempty"` // Resource name of the incident this incident is a duplicate of. Empty if // this incident is not a duplicate. // An incident can only be a duplicate of an incident that is not marked as a // duplicate already. Setting this to a non-empty value must also set the // stage to `STAGE_DUPLICATE`. Unsetting this value value must also update // `stage` to a value other than `STAGE_DUPLICATE`. DuplicateIncident string `protobuf:"bytes,9,opt,name=duplicate_incident,json=duplicateIncident,proto3" json:"duplicate_incident,omitempty"` // Output only. Time this incident started. Used to measure the 'elapsed // time'. Start time of an incident is the earliest creation time of any of // its Signals or the create time of the incident if no Signals are assigned. StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Synopsis of this incident. Synopsis *Synopsis `protobuf:"bytes,8,opt,name=synopsis,proto3" json:"synopsis,omitempty"` // Location of communications for this incident. This is informational // only; IRM does not use this to send messages. CommunicationVenue *Incident_CommunicationVenue `protobuf:"bytes,10,opt,name=communication_venue,json=communicationVenue,proto3" json:"communication_venue,omitempty"` // contains filtered or unexported fields }
Representation of an incident.
Deprecated: Use Incident.ProtoReflect.Descriptor instead.
func (x *Incident) GetCommunicationVenue() *Incident_CommunicationVenue
func (x *Incident) GetEscalationLevel() Incident_EscalationLevel
func (x *Incident) GetSeverity() Incident_Severity
func (x *Incident) GetStage() Incident_Stage
func (x *Incident) ProtoReflect() protoreflect.Message
type IncidentRole struct { // The type of role. The role type is immutable in role assignments. Each role // type can only be used once per incident, except for TYPE_OTHER. Type IncidentRole_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.IncidentRole_Type" json:"type,omitempty"` // Output only and empty unless TYPE_OTHER is used. Title of the role. For // TYPE_OTHER, must be unique within an incident. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Output only and empty unless TYPE_OTHER is used. Description of the role. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Describes a role that can be assigned to an incident.
func (*IncidentRole) Descriptor() ([]byte, []int)
Deprecated: Use IncidentRole.ProtoReflect.Descriptor instead.
func (x *IncidentRole) GetDescription() string
func (x *IncidentRole) GetTitle() string
func (x *IncidentRole) GetType() IncidentRole_Type
func (*IncidentRole) ProtoMessage()
func (x *IncidentRole) ProtoReflect() protoreflect.Message
func (x *IncidentRole) Reset()
func (x *IncidentRole) String() string
type IncidentRoleAssignment struct { // Output only. Resource name such as // "projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Etag for this version of the resource. Must be specified in // update requests and match the current version in storage. Must not be // modified by the client. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // The role that is or will be assigned. Role *IncidentRole `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // The user this role is assigned to. This field can only be directly set // during creation request. Subsequent updates are done via the // IncidentRoleHandover methods. Assignee *User `protobuf:"bytes,4,opt,name=assignee,proto3" json:"assignee,omitempty"` // The recipient of a requested role handoff. This field can only be directly // set during creation request. Subsequent updates are done via the // IncidentRoleHandover methods. // // `assignee` is always the current role-holder, and `proposed_assignee` is // used to track unfinished assignments and handoffs. Let's say Bob assigns // Alice to a role. Then the fields are: // `assignee`: nil, `proposed_assignee`: Alice // If Alice accepts, then the fields are: // `assignee`: Alice, `proposed_assignee`: nil // If she cancels, then the RoleAssignment is deleted. // Let's say Alice has the role. Then the fields are: // `assignee`: Alice, `proposed_assignee`: nil // If Alice becomes incapacitated and Bob requests Carol to take over, then // the fields are: // `assignee`: Alice, `proposed_assignee`: Carol // After Carol accepts the handover, the fields are: // `assignee`: Carol, `proposed_assignee`: nil // Or if Carol refuses the handover, the fields are: // `assignee`: Alice, `proposed_assignee`: nil ProposedAssignee *User `protobuf:"bytes,5,opt,name=proposed_assignee,json=proposedAssignee,proto3" json:"proposed_assignee,omitempty"` // contains filtered or unexported fields }
Stores the assignee of a role as well as the proposed next assignee.
func (*IncidentRoleAssignment) Descriptor() ([]byte, []int)
Deprecated: Use IncidentRoleAssignment.ProtoReflect.Descriptor instead.
func (x *IncidentRoleAssignment) GetAssignee() *User
func (x *IncidentRoleAssignment) GetEtag() string
func (x *IncidentRoleAssignment) GetName() string
func (x *IncidentRoleAssignment) GetProposedAssignee() *User
func (x *IncidentRoleAssignment) GetRole() *IncidentRole
func (*IncidentRoleAssignment) ProtoMessage()
func (x *IncidentRoleAssignment) ProtoReflect() protoreflect.Message
func (x *IncidentRoleAssignment) Reset()
func (x *IncidentRoleAssignment) String() string
List of possible roles.
const ( // The role is unspecified. IncidentRole_TYPE_UNSPECIFIED IncidentRole_Type = 0 // Incident Commander: Manages response plan, near-term and long-term // objectives, establishes priorities, and delegates tasks as needed. IncidentRole_TYPE_INCIDENT_COMMANDER IncidentRole_Type = 1 // Communications Lead: Keeps everybody outside and within the response team // informed. IncidentRole_TYPE_COMMUNICATIONS_LEAD IncidentRole_Type = 2 // Operations Lead: Figures out what to do, and gets it done. IncidentRole_TYPE_OPERATIONS_LEAD IncidentRole_Type = 3 // External Customer Communications Lead: Responsible for communicating // incident details to customers/public. IncidentRole_TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD IncidentRole_Type = 4 // Primary Oncall: Responds to the initial page and handles all // responsibilities for pre-escalated incidents. IncidentRole_TYPE_PRIMARY_ONCALL IncidentRole_Type = 5 // Secondary Oncall: Helps the primary oncall if necessary; mostly useful // for pre-escalated incidents. IncidentRole_TYPE_SECONDARY_ONCALL IncidentRole_Type = 6 // User-specified roles. One example is a Planning Lead, who keeps track of // the incident. Another is an assistant Incident Commander. IncidentRole_TYPE_OTHER IncidentRole_Type = 7 )
func (IncidentRole_Type) Descriptor() protoreflect.EnumDescriptor
func (x IncidentRole_Type) Enum() *IncidentRole_Type
func (IncidentRole_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use IncidentRole_Type.Descriptor instead.
func (x IncidentRole_Type) Number() protoreflect.EnumNumber
func (x IncidentRole_Type) String() string
func (IncidentRole_Type) Type() protoreflect.EnumType
type IncidentServiceClient interface { // Creates a new incident. CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // Returns an incident by name. GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // Returns a list of incidents. // Incidents are ordered by start time, with the most recent incidents first. SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error) // Updates an existing incident. UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error) // 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. SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error) // Creates an annotation on an existing incident. Only 'text/plain' and // 'text/markdown' annotations can be created via this method. CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error) // Lists annotations that are part of an incident. No assumptions should be // made on the content-type of the annotation returned. ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) // Creates a tag on an existing incident. CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error) // Deletes an existing tag. DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists tags that are part of an incident. ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error) // Creates a new signal. CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error) // 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. SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error) // Finds a signal by other unique IDs. LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Returns a signal by name. GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Updates an existing signal (for example, to assign/unassign it to an // incident). UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error) // Escalates an incident. EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error) // Creates a new artifact. CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) // Returns a list of artifacts for an incident. ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error) // Updates an existing artifact. UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error) // Deletes an existing artifact. DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Sends a summary of the shift for oncall handoff. SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error) // 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 CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) // Updates a subscription. UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error) // Returns a list of subscriptions for an incident. ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error) // Deletes an existing subscription. DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error) // 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. CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // Deletes an existing role assignment. DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Lists role assignments that are part of an incident. ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error) // 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. RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // 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. ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // 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. ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) // 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. CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error) }
IncidentServiceClient is the client API for IncidentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIncidentServiceClient(cc grpc.ClientConnInterface) IncidentServiceClient
type IncidentServiceServer interface { // Creates a new incident. CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error) // Returns an incident by name. GetIncident(context.Context, *GetIncidentRequest) (*Incident, error) // Returns a list of incidents. // Incidents are ordered by start time, with the most recent incidents first. SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error) // Updates an existing incident. UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error) // 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. SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error) // Creates an annotation on an existing incident. Only 'text/plain' and // 'text/markdown' annotations can be created via this method. CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error) // Lists annotations that are part of an incident. No assumptions should be // made on the content-type of the annotation returned. ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) // Creates a tag on an existing incident. CreateTag(context.Context, *CreateTagRequest) (*Tag, error) // Deletes an existing tag. DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error) // Lists tags that are part of an incident. ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error) // Creates a new signal. CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error) // 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. SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error) // Finds a signal by other unique IDs. LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error) // Returns a signal by name. GetSignal(context.Context, *GetSignalRequest) (*Signal, error) // Updates an existing signal (for example, to assign/unassign it to an // incident). UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error) // Escalates an incident. EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error) // Creates a new artifact. CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error) // Returns a list of artifacts for an incident. ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error) // Updates an existing artifact. UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error) // Deletes an existing artifact. DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error) // Sends a summary of the shift for oncall handoff. SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error) // 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 CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error) // Updates a subscription. UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error) // Returns a list of subscriptions for an incident. ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error) // Deletes an existing subscription. DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error) // 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. CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error) // Deletes an existing role assignment. DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error) // Lists role assignments that are part of an incident. ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error) // 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. RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // 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. ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // 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. ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) // 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. CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error) }
IncidentServiceServer is the server API for IncidentService service.
type Incident_CommunicationVenue struct { // A URI to the web interface of the channel. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // A name representing the channel in IRM UI. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The type of channel/venue for incident communications. ChannelType Incident_CommunicationVenue_ChannelType `protobuf:"varint,3,opt,name=channel_type,json=channelType,proto3,enum=google.cloud.irm.v1alpha2.Incident_CommunicationVenue_ChannelType" json:"channel_type,omitempty"` // contains filtered or unexported fields }
CommunicationVenue is a record of where conversations about an incident are happening.
func (*Incident_CommunicationVenue) Descriptor() ([]byte, []int)
Deprecated: Use Incident_CommunicationVenue.ProtoReflect.Descriptor instead.
func (x *Incident_CommunicationVenue) GetChannelType() Incident_CommunicationVenue_ChannelType
func (x *Incident_CommunicationVenue) GetDisplayName() string
func (x *Incident_CommunicationVenue) GetUri() string
func (*Incident_CommunicationVenue) ProtoMessage()
func (x *Incident_CommunicationVenue) ProtoReflect() protoreflect.Message
func (x *Incident_CommunicationVenue) Reset()
func (x *Incident_CommunicationVenue) String() string
The type of channel/venue for incident communications.
const ( // An unspecified communication channel. Incident_CommunicationVenue_CHANNEL_TYPE_UNSPECIFIED Incident_CommunicationVenue_ChannelType = 0 // A communication channel that is represented by a generic URI. Incident_CommunicationVenue_CHANNEL_TYPE_URI Incident_CommunicationVenue_ChannelType = 1 // A communication channel that represents a Slack channel. Incident_CommunicationVenue_CHANNEL_TYPE_SLACK Incident_CommunicationVenue_ChannelType = 5 )
func (Incident_CommunicationVenue_ChannelType) Descriptor() protoreflect.EnumDescriptor
func (Incident_CommunicationVenue_ChannelType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Incident_CommunicationVenue_ChannelType.Descriptor instead.
func (x Incident_CommunicationVenue_ChannelType) Number() protoreflect.EnumNumber
func (x Incident_CommunicationVenue_ChannelType) String() string
func (Incident_CommunicationVenue_ChannelType) Type() protoreflect.EnumType
Specifies the escalation level of this incident, within the IRM protocol for handling incidents.
const ( // The incident has not been escalated. This is the value used by all new // and legacy incidents. Incident_ESCALATION_LEVEL_UNSPECIFIED Incident_EscalationLevel = 0 // The incident has been escalated to the organizational level. Incident_ESCALATION_LEVEL_ORGANIZATION Incident_EscalationLevel = 1 )
func (Incident_EscalationLevel) Descriptor() protoreflect.EnumDescriptor
func (x Incident_EscalationLevel) Enum() *Incident_EscalationLevel
func (Incident_EscalationLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use Incident_EscalationLevel.Descriptor instead.
func (x Incident_EscalationLevel) Number() protoreflect.EnumNumber
func (x Incident_EscalationLevel) String() string
func (Incident_EscalationLevel) Type() protoreflect.EnumType
Severity of an incident.
const ( // Severity is not specified. Incident_SEVERITY_UNSPECIFIED Incident_Severity = 0 // Huge incident. Incident_SEVERITY_HUGE Incident_Severity = 1 // Major incident. Incident_SEVERITY_MAJOR Incident_Severity = 2 // Medium incident. Incident_SEVERITY_MEDIUM Incident_Severity = 3 // Minor incident. Incident_SEVERITY_MINOR Incident_Severity = 4 // Negligible incident. Incident_SEVERITY_NEGLIGIBLE Incident_Severity = 5 )
func (Incident_Severity) Descriptor() protoreflect.EnumDescriptor
func (x Incident_Severity) Enum() *Incident_Severity
func (Incident_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Incident_Severity.Descriptor instead.
func (x Incident_Severity) Number() protoreflect.EnumNumber
func (x Incident_Severity) String() string
func (Incident_Severity) Type() protoreflect.EnumType
Stage of an incident.
const ( // This is the default value if no stage has been specified. // Note: The caller of the API should set the stage to DETECTED. Incident_STAGE_UNSPECIFIED Incident_Stage = 0 // The incident has been detected. This is the initial stage of a new // incident. // Note: The caller still has to set the stage manually. Incident_STAGE_DETECTED Incident_Stage = 4 // This incident has been formally characterized. Incident_STAGE_TRIAGED Incident_Stage = 1 // This incident has been mitigated, i.e. does not affect the service level // anymore. Incident_STAGE_MITIGATED Incident_Stage = 2 // This incident has been fully resolved, i.e. there are no immediate // follow-up tasks. Incident_STAGE_RESOLVED Incident_Stage = 3 // Postmortem for the incident was written. Incident_STAGE_DOCUMENTED Incident_Stage = 5 // Stage for an incident with `duplicate_incident`. This incident is not // authoritative anymore and the `duplicate_incident` should be used to // determine the stage. Incident_STAGE_DUPLICATE Incident_Stage = 6 )
func (Incident_Stage) Descriptor() protoreflect.EnumDescriptor
func (x Incident_Stage) Enum() *Incident_Stage
func (Incident_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Incident_Stage.Descriptor instead.
func (x Incident_Stage) Number() protoreflect.EnumNumber
func (x Incident_Stage) String() string
func (Incident_Stage) Type() protoreflect.EnumType
type ListAnnotationsRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of annotations to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the ListAnnotations method.
func (*ListAnnotationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsRequest) GetPageSize() int32
func (x *ListAnnotationsRequest) GetPageToken() string
func (x *ListAnnotationsRequest) GetParent() string
func (*ListAnnotationsRequest) ProtoMessage()
func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsRequest) Reset()
func (x *ListAnnotationsRequest) String() string
type ListAnnotationsResponse struct { // List of annotations. Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // Page token to fetch the next set of annotations. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListAnnotations method.
func (*ListAnnotationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation
func (x *ListAnnotationsResponse) GetNextPageToken() string
func (*ListAnnotationsResponse) ProtoMessage()
func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsResponse) Reset()
func (x *ListAnnotationsResponse) String() string
type ListArtifactsRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of artifacts to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the ListArtifacts method.
func (*ListArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.
func (x *ListArtifactsRequest) GetPageSize() int32
func (x *ListArtifactsRequest) GetPageToken() string
func (x *ListArtifactsRequest) GetParent() string
func (*ListArtifactsRequest) ProtoMessage()
func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message
func (x *ListArtifactsRequest) Reset()
func (x *ListArtifactsRequest) String() string
type ListArtifactsResponse struct { // List of artifacts. Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` // Page token to fetch the next set of artifacts. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListArtifacts method.
func (*ListArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.
func (x *ListArtifactsResponse) GetArtifacts() []*Artifact
func (x *ListArtifactsResponse) GetNextPageToken() string
func (*ListArtifactsResponse) ProtoMessage()
func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message
func (x *ListArtifactsResponse) Reset()
func (x *ListArtifactsResponse) String() string
type ListIncidentRoleAssignmentsRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of assignments to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request to list role assignments of an incident.
func (*ListIncidentRoleAssignmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIncidentRoleAssignmentsRequest.ProtoReflect.Descriptor instead.
func (x *ListIncidentRoleAssignmentsRequest) GetPageSize() int32
func (x *ListIncidentRoleAssignmentsRequest) GetPageToken() string
func (x *ListIncidentRoleAssignmentsRequest) GetParent() string
func (*ListIncidentRoleAssignmentsRequest) ProtoMessage()
func (x *ListIncidentRoleAssignmentsRequest) ProtoReflect() protoreflect.Message
func (x *ListIncidentRoleAssignmentsRequest) Reset()
func (x *ListIncidentRoleAssignmentsRequest) String() string
type ListIncidentRoleAssignmentsResponse struct { // List of assignments. IncidentRoleAssignments []*IncidentRoleAssignment `protobuf:"bytes,1,rep,name=incident_role_assignments,json=incidentRoleAssignments,proto3" json:"incident_role_assignments,omitempty"` // Page token to fetch the next set of assignments. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListIncidentRoleAssignments method.
func (*ListIncidentRoleAssignmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIncidentRoleAssignmentsResponse.ProtoReflect.Descriptor instead.
func (x *ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments() []*IncidentRoleAssignment
func (x *ListIncidentRoleAssignmentsResponse) GetNextPageToken() string
func (*ListIncidentRoleAssignmentsResponse) ProtoMessage()
func (x *ListIncidentRoleAssignmentsResponse) ProtoReflect() protoreflect.Message
func (x *ListIncidentRoleAssignmentsResponse) Reset()
func (x *ListIncidentRoleAssignmentsResponse) String() string
type ListSubscriptionsRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of subscriptions to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the ListSubscriptions method.
func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (x *ListSubscriptionsRequest) GetPageSize() int32
func (x *ListSubscriptionsRequest) GetPageToken() string
func (x *ListSubscriptionsRequest) GetParent() string
func (*ListSubscriptionsRequest) ProtoMessage()
func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message
func (x *ListSubscriptionsRequest) Reset()
func (x *ListSubscriptionsRequest) String() string
type ListSubscriptionsResponse struct { // List of subscriptions. Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // Page token to fetch the next set of subscriptions. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListSubscriptions method.
func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (x *ListSubscriptionsResponse) GetNextPageToken() string
func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription
func (*ListSubscriptionsResponse) ProtoMessage()
func (x *ListSubscriptionsResponse) ProtoReflect() protoreflect.Message
func (x *ListSubscriptionsResponse) Reset()
func (x *ListSubscriptionsResponse) String() string
type ListTagsRequest struct { // Required. Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Number of tags to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the ListTagsForIncident method.
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (x *ListTagsRequest) GetPageSize() int32
func (x *ListTagsRequest) GetPageToken() string
func (x *ListTagsRequest) GetParent() string
func (*ListTagsRequest) ProtoMessage()
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (x *ListTagsRequest) Reset()
func (x *ListTagsRequest) String() string
type ListTagsResponse struct { // Tags. Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // Page token to fetch the next set of tags. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the ListTagsForIncident method.
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (x *ListTagsResponse) GetNextPageToken() string
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage()
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (x *ListTagsResponse) Reset()
func (x *ListTagsResponse) String() string
type LookupSignalRequest struct { // The ID to use for lookup. // // Types that are assignable to AlternateId: // *LookupSignalRequest_CsccFinding // *LookupSignalRequest_StackdriverNotificationId AlternateId isLookupSignalRequest_AlternateId `protobuf_oneof:"alternate_id"` // contains filtered or unexported fields }
Request for the LookupSignal method.
func (*LookupSignalRequest) Descriptor() ([]byte, []int)
Deprecated: Use LookupSignalRequest.ProtoReflect.Descriptor instead.
func (m *LookupSignalRequest) GetAlternateId() isLookupSignalRequest_AlternateId
func (x *LookupSignalRequest) GetCsccFinding() string
func (x *LookupSignalRequest) GetStackdriverNotificationId() string
func (*LookupSignalRequest) ProtoMessage()
func (x *LookupSignalRequest) ProtoReflect() protoreflect.Message
func (x *LookupSignalRequest) Reset()
func (x *LookupSignalRequest) String() string
type LookupSignalRequest_CsccFinding struct { // Required. Full resource name of the CSCC finding id this signal refers to (e.g. // "organizations/abc/sources/123/findings/xyz") CsccFinding string `protobuf:"bytes,2,opt,name=cscc_finding,json=csccFinding,proto3,oneof"` }
type LookupSignalRequest_StackdriverNotificationId struct { // The ID from the Stackdriver Alerting notification. StackdriverNotificationId string `protobuf:"bytes,3,opt,name=stackdriver_notification_id,json=stackdriverNotificationId,proto3,oneof"` }
type RequestIncidentRoleHandoverRequest struct { // Required. Resource name of the role assignment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The proposed assignee. NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"` // contains filtered or unexported fields }
Request to start a role handover.
func (*RequestIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.
func (x *RequestIncidentRoleHandoverRequest) GetName() string
func (x *RequestIncidentRoleHandoverRequest) GetNewAssignee() *User
func (*RequestIncidentRoleHandoverRequest) ProtoMessage()
func (x *RequestIncidentRoleHandoverRequest) ProtoReflect() protoreflect.Message
func (x *RequestIncidentRoleHandoverRequest) Reset()
func (x *RequestIncidentRoleHandoverRequest) String() string
type SearchIncidentsRequest struct { // Required. The resource name of the hosting Stackdriver project which requested // incidents belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression that defines which incidents to return. // // Search atoms can be used to match certain specific fields. Otherwise, // plain text will match text fields in the incident. // // Search atoms: // * `start` - (timestamp) The time the incident started. // * `stage` - The stage of the incident, one of detected, triaged, mitigated, // resolved, documented, or duplicate (which correspond to values in the // Incident.Stage enum). These are ordered, so `stage<resolved` is // equivalent to `stage:detected OR stage:triaged OR stage:mitigated`. // * `severity` - (Incident.Severity) The severity of the incident. // + Supports matching on a specific severity (for example, // `severity:major`) or on a range (for example, `severity>medium`, // `severity<=minor`, etc.). // // Timestamp formats: // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. // In other words, the "<" operator will match dates before that date, the // ">" operator will match dates after that date, and the ":" or "=" // operators will match the entire day. // * Nd (for example, 7d) - a relative number of days ago, treated as a moment // in time (as opposed to a day-wide span). A multiple of 24 hours ago (as // opposed to calendar days). In the case of daylight savings time, it will // apply the current timezone to both ends of the range. Note that exact // matching (for example, `start:7d`) is unlikely to be useful because that // would only match incidents created precisely at a particular instant in // time. // // Examples: // // * `foo` - matches incidents containing the word "foo" // * `"foo bar"` - matches incidents containing the phrase "foo bar" // * `foo bar` or `foo AND bar` - matches incidents containing the words "foo" // and "bar" // * `foo -bar` or `foo AND NOT bar` - matches incidents containing the word // "foo" but not the word "bar" // * `foo OR bar` - matches incidents containing the word "foo" or the word // "bar" // * `start>2018-11-28` - matches incidents which started after November 11, // 2018. // * `start<=2018-11-28` - matches incidents which started on or before // November 11, 2018. // * `start:2018-11-28` - matches incidents which started on November 11, // 2018. // * `start>7d` - matches incidents which started after the point in time 7*24 // hours ago // * `start>180d` - similar to 7d, but likely to cross the daylight savings // time boundary, so the end time will be 1 hour different from "now." // * `foo AND start>90d AND stage<resolved` - unresolved incidents from the // past 90 days containing the word "foo" Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Number of incidents to return. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The time zone name. It should be an IANA TZ name, such as // "America/Los_Angeles". For more information, // see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. // If no time zone is specified, the default is UTC. TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // contains filtered or unexported fields }
Request for the SearchIncidents method.
func (*SearchIncidentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchIncidentsRequest.ProtoReflect.Descriptor instead.
func (x *SearchIncidentsRequest) GetPageSize() int32
func (x *SearchIncidentsRequest) GetPageToken() string
func (x *SearchIncidentsRequest) GetParent() string
func (x *SearchIncidentsRequest) GetQuery() string
func (x *SearchIncidentsRequest) GetTimeZone() string
func (*SearchIncidentsRequest) ProtoMessage()
func (x *SearchIncidentsRequest) ProtoReflect() protoreflect.Message
func (x *SearchIncidentsRequest) Reset()
func (x *SearchIncidentsRequest) String() string
type SearchIncidentsResponse struct { // Incidents. Incidents []*Incident `protobuf:"bytes,1,rep,name=incidents,proto3" json:"incidents,omitempty"` // Page token to fetch the next set of incidents. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the SearchIncidents method.
func (*SearchIncidentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchIncidentsResponse.ProtoReflect.Descriptor instead.
func (x *SearchIncidentsResponse) GetIncidents() []*Incident
func (x *SearchIncidentsResponse) GetNextPageToken() string
func (*SearchIncidentsResponse) ProtoMessage()
func (x *SearchIncidentsResponse) ProtoReflect() protoreflect.Message
func (x *SearchIncidentsResponse) Reset()
func (x *SearchIncidentsResponse) String() string
type SearchSignalsRequest struct { // Required. The resource name of the hosting Stackdriver project which requested // incidents belong to. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // An expression that defines which signals to return. // // Search atoms can be used to match certain specific fields. Otherwise, // plain text will match text fields in the signal. // // Search atoms: // // * `start` - (timestamp) The time the signal was created. // * `title` - The title of the signal. // * `signal_state` - `open` or `closed`. State of the signal. // (e.g., `signal_state:open`) // // Timestamp formats: // // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window. // In other words, the "<" operator will match dates before that date, the // ">" operator will match dates after that date, and the ":" operator will // match the entire day. // * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution. // * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution. // * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time // (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to // calendar days). In the case of daylight savings time, it will apply the // current timezone to both ends of the range. Note that exact matching // (e.g. `start:7d`) is unlikely to be useful because that would only match // signals created precisely at a particular instant in time. // // The absolute timestamp formats (everything starting with a year) can // optionally be followed with a UTC offset in +/-hh:mm format. Also, the 'T' // separating dates and times can optionally be replaced with a space. Note // that any timestamp containing a space or colon will need to be quoted. // // Examples: // // * `foo` - matches signals containing the word "foo" // * `"foo bar"` - matches signals containing the phrase "foo bar" // * `foo bar` or `foo AND bar` - matches signals containing the words // "foo" and "bar" // * `foo -bar` or `foo AND NOT bar` - matches signals containing the // word // "foo" but not the word "bar" // * `foo OR bar` - matches signals containing the word "foo" or the // word "bar" // * `start>2018-11-28` - matches signals which started after November // 11, 2018. // * `start<=2018-11-28` - matches signals which started on or before // November 11, 2018. // * `start:2018-11-28` - matches signals which started on November 11, // 2018. // * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started // after November 11, 2018 at 1:02:03 AM according to the UTC+04 time // zone. // * `start>7d` - matches signals which started after the point in time // 7*24 hours ago // * `start>180d` - similar to 7d, but likely to cross the daylight savings // time boundary, so the end time will be 1 hour different from "now." // * `foo AND start>90d AND stage<resolved` - unresolved signals from // the past 90 days containing the word "foo" Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Maximum number of `signals` to return in the response. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in `next_page_token`. All // field values except for page_size and page_token should be the same as the // original query (may return an error or unexpected data otherwise). PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the SearchSignals method.
func (*SearchSignalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchSignalsRequest.ProtoReflect.Descriptor instead.
func (x *SearchSignalsRequest) GetPageSize() int32
func (x *SearchSignalsRequest) GetPageToken() string
func (x *SearchSignalsRequest) GetParent() string
func (x *SearchSignalsRequest) GetQuery() string
func (*SearchSignalsRequest) ProtoMessage()
func (x *SearchSignalsRequest) ProtoReflect() protoreflect.Message
func (x *SearchSignalsRequest) Reset()
func (x *SearchSignalsRequest) String() string
type SearchSignalsResponse struct { // Signals that matched the query in the request. Signals []*Signal `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"` // Page token to fetch the next set of signals. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the SearchSignals method.
func (*SearchSignalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchSignalsResponse.ProtoReflect.Descriptor instead.
func (x *SearchSignalsResponse) GetNextPageToken() string
func (x *SearchSignalsResponse) GetSignals() []*Signal
func (*SearchSignalsResponse) ProtoMessage()
func (x *SearchSignalsResponse) ProtoReflect() protoreflect.Message
func (x *SearchSignalsResponse) Reset()
func (x *SearchSignalsResponse) String() string
type SearchSimilarIncidentsRequest struct { // Required. Resource name of the incident or signal, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Number of similar incidents to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token from an earlier query, as returned in 'next_page_token'. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request for the SearchSimilarIncidents method.
func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchSimilarIncidentsRequest.ProtoReflect.Descriptor instead.
func (x *SearchSimilarIncidentsRequest) GetName() string
func (x *SearchSimilarIncidentsRequest) GetPageSize() int32
func (x *SearchSimilarIncidentsRequest) GetPageToken() string
func (*SearchSimilarIncidentsRequest) ProtoMessage()
func (x *SearchSimilarIncidentsRequest) ProtoReflect() protoreflect.Message
func (x *SearchSimilarIncidentsRequest) Reset()
func (x *SearchSimilarIncidentsRequest) String() string
type SearchSimilarIncidentsResponse struct { // The search results, ordered by descending relevance. Results []*SearchSimilarIncidentsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // Page token to fetch the next set of similar incidents. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response for the SearchSimilarIncidents method.
func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchSimilarIncidentsResponse.ProtoReflect.Descriptor instead.
func (x *SearchSimilarIncidentsResponse) GetNextPageToken() string
func (x *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result
func (*SearchSimilarIncidentsResponse) ProtoMessage()
func (x *SearchSimilarIncidentsResponse) ProtoReflect() protoreflect.Message
func (x *SearchSimilarIncidentsResponse) Reset()
func (x *SearchSimilarIncidentsResponse) String() string
type SearchSimilarIncidentsResponse_Result struct { // An incident that is "similar" to the incident or signal specified in the // request. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // contains filtered or unexported fields }
A single search result, i.e. an incident with (potentially) additional information.
func (*SearchSimilarIncidentsResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use SearchSimilarIncidentsResponse_Result.ProtoReflect.Descriptor instead.
func (x *SearchSimilarIncidentsResponse_Result) GetIncident() *Incident
func (*SearchSimilarIncidentsResponse_Result) ProtoMessage()
func (x *SearchSimilarIncidentsResponse_Result) ProtoReflect() protoreflect.Message
func (x *SearchSimilarIncidentsResponse_Result) Reset()
func (x *SearchSimilarIncidentsResponse_Result) String() string
type SendShiftHandoffRequest struct { // Required. The resource name of the Stackdriver project that the handoff is being sent // from. for example, `projects/{project_id_or_number}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Email addresses of the recipients of the handoff, for example, // "user@example.com". Must contain at least one entry. Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"` // Optional. Email addresses that should be CC'd on the handoff. Cc []string `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"` // Required. The subject of the email. Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"` // Content type string, for example, 'text/plain' or 'text/html'. NotesContentType string `protobuf:"bytes,5,opt,name=notes_content_type,json=notesContentType,proto3" json:"notes_content_type,omitempty"` // Optional. Additional notes to be included in the handoff. NotesContent string `protobuf:"bytes,6,opt,name=notes_content,json=notesContent,proto3" json:"notes_content,omitempty"` // Optional. The set of incidents that should be included in the handoff. Incidents []*SendShiftHandoffRequest_Incident `protobuf:"bytes,7,rep,name=incidents,proto3" json:"incidents,omitempty"` // If set to true a ShiftHandoffResponse will be returned but the handoff // will not actually be sent. PreviewOnly bool `protobuf:"varint,8,opt,name=preview_only,json=previewOnly,proto3" json:"preview_only,omitempty"` // contains filtered or unexported fields }
SendShiftHandoff and PreviewShiftHandoff RPC request.
func (*SendShiftHandoffRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendShiftHandoffRequest.ProtoReflect.Descriptor instead.
func (x *SendShiftHandoffRequest) GetCc() []string
func (x *SendShiftHandoffRequest) GetIncidents() []*SendShiftHandoffRequest_Incident
func (x *SendShiftHandoffRequest) GetNotesContent() string
func (x *SendShiftHandoffRequest) GetNotesContentType() string
func (x *SendShiftHandoffRequest) GetParent() string
func (x *SendShiftHandoffRequest) GetPreviewOnly() bool
func (x *SendShiftHandoffRequest) GetRecipients() []string
func (x *SendShiftHandoffRequest) GetSubject() string
func (*SendShiftHandoffRequest) ProtoMessage()
func (x *SendShiftHandoffRequest) ProtoReflect() protoreflect.Message
func (x *SendShiftHandoffRequest) Reset()
func (x *SendShiftHandoffRequest) String() string
type SendShiftHandoffRequest_Incident struct { // Resource name of the incident, for example, // "projects/{project_id_or_number}/incidents/{incident_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Describes an incident for inclusion in the handoff. This is wrapped in a message to provide flexibility for potentially attaching additional data to each incident in the future.
func (*SendShiftHandoffRequest_Incident) Descriptor() ([]byte, []int)
Deprecated: Use SendShiftHandoffRequest_Incident.ProtoReflect.Descriptor instead.
func (x *SendShiftHandoffRequest_Incident) GetName() string
func (*SendShiftHandoffRequest_Incident) ProtoMessage()
func (x *SendShiftHandoffRequest_Incident) ProtoReflect() protoreflect.Message
func (x *SendShiftHandoffRequest_Incident) Reset()
func (x *SendShiftHandoffRequest_Incident) String() string
type SendShiftHandoffResponse struct { // Content type string, for example, 'text/plain' or 'text/html'. ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // The contents of the handoff that was sent or would have been sent (if the // request was preview_only). // This will typically contain a full HTML document. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
SendShiftHandoff and PreviewShiftHandoff RPC response.
func (*SendShiftHandoffResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendShiftHandoffResponse.ProtoReflect.Descriptor instead.
func (x *SendShiftHandoffResponse) GetContent() string
func (x *SendShiftHandoffResponse) GetContentType() string
func (*SendShiftHandoffResponse) ProtoMessage()
func (x *SendShiftHandoffResponse) ProtoReflect() protoreflect.Message
func (x *SendShiftHandoffResponse) Reset()
func (x *SendShiftHandoffResponse) String() string
type Signal struct { // Resource name of the signal, for example, // "projects/{project_id_or_number}/signals/{signal_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Etag to validate the object is unchanged for a read-modify-write operation. // An empty etag will overwrite other changes. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // Resource name of the incident this signal is currently assigned to. // May be empty if signal is unassigned. Incident string `protobuf:"bytes,3,opt,name=incident,proto3" json:"incident,omitempty"` // Output only. Time this signal was created. CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time this signal was closed. This field is not populated // while the signal is still firing. CloseTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` // The time this Signal was first detected. This is identical to create_time // for Signals created by Stackdriver Alerting. DetectTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=detect_time,json=detectTime,proto3" json:"detect_time,omitempty"` // Output only. The user that created this signal for manually created // signals. Empty if this signal was generated by a system (for example, // Stackdriver Alerting). Creator *User `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"` // One-line summary of the signal. // Immutable. Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"` // Content type string. 'text/plain' is currently the only supported content // type for Signals created via the API. Signals created by Stackdriver // Alerting support 'text/html' as well. Immutable for Signals created by // Stackdriver Alerting. ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Full message of the signal. // Immutable for Signals created by Stackdriver Alerting. Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"` // The state of this signal. // For Signals created by Stackdriver Alerting this field is output only. SignalState Signal_State `protobuf:"varint,9,opt,name=signal_state,json=signalState,proto3,enum=google.cloud.irm.v1alpha2.Signal_State" json:"signal_state,omitempty"` // A set of artifacts to additional resources for this Signal. For example, a // link to Stackdriver logging for the Signal. // Immutable for Signals created by Stackdriver Alerting. SignalArtifacts []*Signal_SignalArtifact `protobuf:"bytes,16,rep,name=signal_artifacts,json=signalArtifacts,proto3" json:"signal_artifacts,omitempty"` // contains filtered or unexported fields }
A signal is a message calling attention to a (potential) incident. An example is a page based on a Stackdriver Alerting policy.
Deprecated: Use Signal.ProtoReflect.Descriptor instead.
func (x *Signal) GetSignalArtifacts() []*Signal_SignalArtifact
func (x *Signal) GetSignalState() Signal_State
func (x *Signal) ProtoReflect() protoreflect.Message
type Signal_SignalArtifact struct { // The type of resource linked to // // Types that are assignable to ArtifactType: // *Signal_SignalArtifact_UserType ArtifactType isSignal_SignalArtifact_ArtifactType `protobuf_oneof:"artifact_type"` // The URI for the artifact. Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
An artifact associated with the Signal.
func (*Signal_SignalArtifact) Descriptor() ([]byte, []int)
Deprecated: Use Signal_SignalArtifact.ProtoReflect.Descriptor instead.
func (m *Signal_SignalArtifact) GetArtifactType() isSignal_SignalArtifact_ArtifactType
func (x *Signal_SignalArtifact) GetUri() string
func (x *Signal_SignalArtifact) GetUserType() string
func (*Signal_SignalArtifact) ProtoMessage()
func (x *Signal_SignalArtifact) ProtoReflect() protoreflect.Message
func (x *Signal_SignalArtifact) Reset()
func (x *Signal_SignalArtifact) String() string
type Signal_SignalArtifact_UserType struct { // A custom user type UserType string `protobuf:"bytes,2,opt,name=user_type,json=userType,proto3,oneof"` }
Describes whether the alerting condition is still firing.
const ( // Unspecified Signal_STATE_UNSPECIFIED Signal_State = 0 // Firing Signal_STATE_OPEN Signal_State = 1 // Non-firing Signal_STATE_CLOSED Signal_State = 2 )
func (Signal_State) Descriptor() protoreflect.EnumDescriptor
func (x Signal_State) Enum() *Signal_State
func (Signal_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Signal_State.Descriptor instead.
func (x Signal_State) Number() protoreflect.EnumNumber
func (x Signal_State) String() string
func (Signal_State) Type() protoreflect.EnumType
type Subscription struct { // Output only. Resource name such as // "projects/{project_id_or_number}/incidents/{incident_id}/subscriptions/{subscription_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Etag for this version of the resource. Must be specified in // update requests and match the current version in storage. Must not be // modified by the client. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // A communications channel to send subscription messages to. SubscriptionChannel *CommunicationChannel `protobuf:"bytes,3,opt,name=subscription_channel,json=subscriptionChannel,proto3" json:"subscription_channel,omitempty"` // Types of events this subscription receives notifications for. EventTypes []Subscription_EventType `protobuf:"varint,4,rep,packed,name=event_types,json=eventTypes,proto3,enum=google.cloud.irm.v1alpha2.Subscription_EventType" json:"event_types,omitempty"` // contains filtered or unexported fields }
A subscription allows users to get notifications about changes to an incident.
func (*Subscription) Descriptor() ([]byte, []int)
Deprecated: Use Subscription.ProtoReflect.Descriptor instead.
func (x *Subscription) GetEtag() string
func (x *Subscription) GetEventTypes() []Subscription_EventType
func (x *Subscription) GetName() string
func (x *Subscription) GetSubscriptionChannel() *CommunicationChannel
func (*Subscription) ProtoMessage()
func (x *Subscription) ProtoReflect() protoreflect.Message
func (x *Subscription) Reset()
func (x *Subscription) String() string
Types of changes that users can subscribe to in an incident.
const ( // An event_type that's not specified is an error. Subscription_EVENT_TYPE_UNSPECIFIED Subscription_EventType = 0 // The incident's title has changed. Subscription_EVENT_TYPE_TITLE_CHANGE Subscription_EventType = 1 // The incident's synopsis has changed. Subscription_EVENT_TYPE_SYNOPSIS_CHANGE Subscription_EventType = 2 // The incident's stage has changed. Subscription_EVENT_TYPE_STAGE_CHANGE Subscription_EventType = 3 // The incident's severity has changed. Subscription_EVENT_TYPE_SEVERITY_CHANGE Subscription_EventType = 4 // A new annotation has been added to the incident. Subscription_EVENT_TYPE_ANNOTATION_ADD Subscription_EventType = 5 // An annotation has been modified. Subscription_EVENT_TYPE_ANNOTATION_CHANGE Subscription_EventType = 6 )
func (Subscription_EventType) Descriptor() protoreflect.EnumDescriptor
func (x Subscription_EventType) Enum() *Subscription_EventType
func (Subscription_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Subscription_EventType.Descriptor instead.
func (x Subscription_EventType) Number() protoreflect.EnumNumber
func (x Subscription_EventType) String() string
func (Subscription_EventType) Type() protoreflect.EnumType
type Synopsis struct { // Content type string, for example, 'text/plain' or 'text/markdown'. ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Textual content of the synopsis. It can be plain text or markdown as // indicated by the content_type. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Last updated timestamp. UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Author of the synopsis. Author *User `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` // contains filtered or unexported fields }
Synopsis is a summary of an incident and it contains a textual content, an author and a last updated timestamp.
Deprecated: Use Synopsis.ProtoReflect.Descriptor instead.
func (x *Synopsis) ProtoReflect() protoreflect.Message
type Tag struct { // Resource name of a tag, for example, // "projects/{project_id_or_number}/incidents/{incident_id}/tags/{tag_id}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Display name of the resource (for example, "cause:rollout"). Immutable. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
A tag by a user.
Deprecated: Use Tag.ProtoReflect.Descriptor instead.
func (x *Tag) ProtoReflect() protoreflect.Message
type UnimplementedIncidentServiceServer struct { }
UnimplementedIncidentServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)
func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)
func (*UnimplementedIncidentServiceServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error)
func (*UnimplementedIncidentServiceServer) CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error)
func (*UnimplementedIncidentServiceServer) CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error)
func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error)
func (*UnimplementedIncidentServiceServer) CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error)
func (*UnimplementedIncidentServiceServer) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error)
func (*UnimplementedIncidentServiceServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (*UnimplementedIncidentServiceServer) DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error)
func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error)
func (*UnimplementedIncidentServiceServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error)
func (*UnimplementedIncidentServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error)
func (*UnimplementedIncidentServiceServer) EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error)
func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)
func (*UnimplementedIncidentServiceServer) GetIncident(context.Context, *GetIncidentRequest) (*Incident, error)
func (*UnimplementedIncidentServiceServer) GetSignal(context.Context, *GetSignalRequest) (*Signal, error)
func (*UnimplementedIncidentServiceServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)
func (*UnimplementedIncidentServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)
func (*UnimplementedIncidentServiceServer) ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error)
func (*UnimplementedIncidentServiceServer) ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error)
func (*UnimplementedIncidentServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (*UnimplementedIncidentServiceServer) LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error)
func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)
func (*UnimplementedIncidentServiceServer) SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error)
func (*UnimplementedIncidentServiceServer) SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error)
func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error)
func (*UnimplementedIncidentServiceServer) SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error)
func (*UnimplementedIncidentServiceServer) UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error)
func (*UnimplementedIncidentServiceServer) UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error)
func (*UnimplementedIncidentServiceServer) UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error)
func (*UnimplementedIncidentServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error)
type UpdateArtifactRequest struct { // Required. The artifact to update with the new values. Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for the UpdateArtifact method.
func (*UpdateArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateArtifactRequest.ProtoReflect.Descriptor instead.
func (x *UpdateArtifactRequest) GetArtifact() *Artifact
func (x *UpdateArtifactRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateArtifactRequest) ProtoMessage()
func (x *UpdateArtifactRequest) ProtoReflect() protoreflect.Message
func (x *UpdateArtifactRequest) Reset()
func (x *UpdateArtifactRequest) String() string
type UpdateIncidentRequest struct { // Required. The incident to update with the new values. Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for the UpdateIncident method.
func (*UpdateIncidentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIncidentRequest.ProtoReflect.Descriptor instead.
func (x *UpdateIncidentRequest) GetIncident() *Incident
func (x *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateIncidentRequest) ProtoMessage()
func (x *UpdateIncidentRequest) ProtoReflect() protoreflect.Message
func (x *UpdateIncidentRequest) Reset()
func (x *UpdateIncidentRequest) String() string
type UpdateSignalRequest struct { // Required. The signal to update with the new values. Signal *Signal `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for the UpdateSignal method.
func (*UpdateSignalRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSignalRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSignalRequest) GetSignal() *Signal
func (x *UpdateSignalRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateSignalRequest) ProtoMessage()
func (x *UpdateSignalRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSignalRequest) Reset()
func (x *UpdateSignalRequest) String() string
type UpdateSubscriptionRequest struct { // Required. The subscription to update, with new values. Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` // List of fields that should be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request for the UpdateSubscription method.
func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSubscriptionRequest) GetSubscription() *Subscription
func (x *UpdateSubscriptionRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateSubscriptionRequest) ProtoMessage()
func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSubscriptionRequest) Reset()
func (x *UpdateSubscriptionRequest) String() string
type User struct { // One of several ways to uniquely identify a user. // // Types that are assignable to User: // *User_UserId // *User_Email User isUser_User `protobuf_oneof:"user"` // contains filtered or unexported fields }
A user of the IRM app.
Deprecated: Use User.ProtoReflect.Descriptor instead.
func (x *User) ProtoReflect() protoreflect.Message
type User_Email struct { // Email address of the user. This must be associated with a Google account. // This field will be set if the user is explicitly identified (verbatim) by // email address in an API request (potentially sometime in the past). It // will not be populated based on the credentials of a caller of the API. Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"` }
type User_UserId struct { // Output only. User id that will allow to get additional information from // People API. This field will be populated implicitly if the caller creates // or edits a resource (for example, posts an annotation). UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"` }
Package irm imports 13 packages (graph). Updated 2020-09-02. Refresh now. Tools for package owners.