Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_cloud_irm_v1alpha2_incidents_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_irm_v1alpha2_incidents_service_proto protoreflect.FileDescriptor

Functions

func RegisterIncidentServiceServer

func RegisterIncidentServiceServer(s *grpc.Server, srv IncidentServiceServer)

Types

type Annotation

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

func (*Annotation) Descriptor() ([]byte, []int)

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetAuthor

func (x *Annotation) GetAuthor() *User

func (*Annotation) GetContent

func (x *Annotation) GetContent() string

func (*Annotation) GetContentType

func (x *Annotation) GetContentType() string

func (*Annotation) GetCreateTime

func (x *Annotation) GetCreateTime() *timestamp.Timestamp

func (*Annotation) GetName

func (x *Annotation) GetName() string

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect

func (x *Annotation) ProtoReflect() protoreflect.Message

func (*Annotation) Reset

func (x *Annotation) Reset()

func (*Annotation) String

func (x *Annotation) String() string

type Artifact

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.

func (*Artifact) Descriptor

func (*Artifact) Descriptor() ([]byte, []int)

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetDisplayName

func (x *Artifact) GetDisplayName() string

func (*Artifact) GetEtag

func (x *Artifact) GetEtag() string

func (*Artifact) GetName

func (x *Artifact) GetName() string

func (*Artifact) GetType

func (x *Artifact) GetType() Artifact_Type

func (*Artifact) GetUrl

func (x *Artifact) GetUrl() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect

func (x *Artifact) ProtoReflect() protoreflect.Message

func (*Artifact) Reset

func (x *Artifact) Reset()

func (*Artifact) String

func (x *Artifact) String() string

type Artifact_Type

type Artifact_Type int32

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

func (Artifact_Type) Enum

func (x Artifact_Type) Enum() *Artifact_Type

func (Artifact_Type) EnumDescriptor

func (Artifact_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Artifact_Type.Descriptor instead.

func (Artifact_Type) Number

func (Artifact_Type) String

func (x Artifact_Type) String() string

func (Artifact_Type) Type

type CancelIncidentRoleHandoverRequest

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

func (*CancelIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*CancelIncidentRoleHandoverRequest) GetName

func (*CancelIncidentRoleHandoverRequest) GetNewAssignee

func (x *CancelIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*CancelIncidentRoleHandoverRequest) ProtoMessage

func (*CancelIncidentRoleHandoverRequest) ProtoMessage()

func (*CancelIncidentRoleHandoverRequest) ProtoReflect

func (*CancelIncidentRoleHandoverRequest) Reset

func (*CancelIncidentRoleHandoverRequest) String

type CommunicationChannel

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

func (*CommunicationChannel) Descriptor() ([]byte, []int)

Deprecated: Use CommunicationChannel.ProtoReflect.Descriptor instead.

func (*CommunicationChannel) GetEmail

func (*CommunicationChannel) GetEndpoint

func (m *CommunicationChannel) GetEndpoint() isCommunicationChannel_Endpoint

func (*CommunicationChannel) GetNotificationChannel

func (*CommunicationChannel) ProtoMessage

func (*CommunicationChannel) ProtoMessage()

func (*CommunicationChannel) ProtoReflect

func (x *CommunicationChannel) ProtoReflect() protoreflect.Message

func (*CommunicationChannel) Reset

func (x *CommunicationChannel) Reset()

func (*CommunicationChannel) String

func (x *CommunicationChannel) String() string

type CommunicationChannel_Email

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

func (*CommunicationChannel_Email) Descriptor() ([]byte, []int)

Deprecated: Use CommunicationChannel_Email.ProtoReflect.Descriptor instead.

func (*CommunicationChannel_Email) GetAddress

func (x *CommunicationChannel_Email) GetAddress() string

func (*CommunicationChannel_Email) ProtoMessage

func (*CommunicationChannel_Email) ProtoMessage()

func (*CommunicationChannel_Email) ProtoReflect

func (*CommunicationChannel_Email) Reset

func (x *CommunicationChannel_Email) Reset()

func (*CommunicationChannel_Email) String

func (x *CommunicationChannel_Email) String() string

type CommunicationChannel_Email_

type CommunicationChannel_Email_ struct {
	// Messages will be delivered via email.
	Email *CommunicationChannel_Email `protobuf:"bytes,1,opt,name=email,proto3,oneof"`
}

type CommunicationChannel_NotificationChannel

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

func (*CommunicationChannel_NotificationChannel) Descriptor() ([]byte, []int)

Deprecated: Use CommunicationChannel_NotificationChannel.ProtoReflect.Descriptor instead.

func (*CommunicationChannel_NotificationChannel) GetName

func (*CommunicationChannel_NotificationChannel) ProtoMessage

func (*CommunicationChannel_NotificationChannel) ProtoReflect

func (*CommunicationChannel_NotificationChannel) Reset

func (*CommunicationChannel_NotificationChannel) String

type CommunicationChannel_NotificationChannel_

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

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

func (*ConfirmIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfirmIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*ConfirmIncidentRoleHandoverRequest) GetName

func (*ConfirmIncidentRoleHandoverRequest) GetNewAssignee

func (x *ConfirmIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage()

func (*ConfirmIncidentRoleHandoverRequest) ProtoReflect

func (*ConfirmIncidentRoleHandoverRequest) Reset

func (*ConfirmIncidentRoleHandoverRequest) String

type CreateAnnotationRequest

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

func (*CreateAnnotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.

func (*CreateAnnotationRequest) GetAnnotation

func (x *CreateAnnotationRequest) GetAnnotation() *Annotation

func (*CreateAnnotationRequest) GetParent

func (x *CreateAnnotationRequest) GetParent() string

func (*CreateAnnotationRequest) ProtoMessage

func (*CreateAnnotationRequest) ProtoMessage()

func (*CreateAnnotationRequest) ProtoReflect

func (x *CreateAnnotationRequest) ProtoReflect() protoreflect.Message

func (*CreateAnnotationRequest) Reset

func (x *CreateAnnotationRequest) Reset()

func (*CreateAnnotationRequest) String

func (x *CreateAnnotationRequest) String() string

type CreateArtifactRequest

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

func (*CreateArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetArtifact

func (x *CreateArtifactRequest) GetArtifact() *Artifact

func (*CreateArtifactRequest) GetParent

func (x *CreateArtifactRequest) GetParent() string

func (*CreateArtifactRequest) ProtoMessage

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect

func (x *CreateArtifactRequest) ProtoReflect() protoreflect.Message

func (*CreateArtifactRequest) Reset

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String

func (x *CreateArtifactRequest) String() string

type CreateIncidentRequest

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

func (*CreateIncidentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIncidentRequest.ProtoReflect.Descriptor instead.

func (*CreateIncidentRequest) GetIncident

func (x *CreateIncidentRequest) GetIncident() *Incident

func (*CreateIncidentRequest) GetParent

func (x *CreateIncidentRequest) GetParent() string

func (*CreateIncidentRequest) ProtoMessage

func (*CreateIncidentRequest) ProtoMessage()

func (*CreateIncidentRequest) ProtoReflect

func (x *CreateIncidentRequest) ProtoReflect() protoreflect.Message

func (*CreateIncidentRequest) Reset

func (x *CreateIncidentRequest) Reset()

func (*CreateIncidentRequest) String

func (x *CreateIncidentRequest) String() string

type CreateIncidentRoleAssignmentRequest

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 "" /* 129 byte string literal not displayed */ // contains filtered or unexported fields

}

Request for creating a role assignment.

func (*CreateIncidentRoleAssignmentRequest) Descriptor

func (*CreateIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.

func (*CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment

func (x *CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment() *IncidentRoleAssignment

func (*CreateIncidentRoleAssignmentRequest) GetParent

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage()

func (*CreateIncidentRoleAssignmentRequest) ProtoReflect

func (*CreateIncidentRoleAssignmentRequest) Reset

func (*CreateIncidentRoleAssignmentRequest) String

type CreateSignalRequest

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

func (*CreateSignalRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSignalRequest.ProtoReflect.Descriptor instead.

func (*CreateSignalRequest) GetParent

func (x *CreateSignalRequest) GetParent() string

func (*CreateSignalRequest) GetSignal

func (x *CreateSignalRequest) GetSignal() *Signal

func (*CreateSignalRequest) ProtoMessage

func (*CreateSignalRequest) ProtoMessage()

func (*CreateSignalRequest) ProtoReflect

func (x *CreateSignalRequest) ProtoReflect() protoreflect.Message

func (*CreateSignalRequest) Reset

func (x *CreateSignalRequest) Reset()

func (*CreateSignalRequest) String

func (x *CreateSignalRequest) String() string

type CreateSubscriptionRequest

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

func (*CreateSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionRequest) GetParent

func (x *CreateSubscriptionRequest) GetParent() string

func (*CreateSubscriptionRequest) GetSubscription

func (x *CreateSubscriptionRequest) GetSubscription() *Subscription

func (*CreateSubscriptionRequest) ProtoMessage

func (*CreateSubscriptionRequest) ProtoMessage()

func (*CreateSubscriptionRequest) ProtoReflect

func (*CreateSubscriptionRequest) Reset

func (x *CreateSubscriptionRequest) Reset()

func (*CreateSubscriptionRequest) String

func (x *CreateSubscriptionRequest) String() string

type CreateTagRequest

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

func (*CreateTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect

func (x *CreateTagRequest) ProtoReflect() protoreflect.Message

func (*CreateTagRequest) Reset

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (x *CreateTagRequest) String() string

type DeleteArtifactRequest

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

func (*DeleteArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetName

func (x *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) ProtoMessage

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect

func (x *DeleteArtifactRequest) ProtoReflect() protoreflect.Message

func (*DeleteArtifactRequest) Reset

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String

func (x *DeleteArtifactRequest) String() string

type DeleteIncidentRoleAssignmentRequest

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

func (*DeleteIncidentRoleAssignmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIncidentRoleAssignmentRequest) GetName

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage()

func (*DeleteIncidentRoleAssignmentRequest) ProtoReflect

func (*DeleteIncidentRoleAssignmentRequest) Reset

func (*DeleteIncidentRoleAssignmentRequest) String

type DeleteSubscriptionRequest

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

func (*DeleteSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscriptionRequest) GetName

func (x *DeleteSubscriptionRequest) GetName() string

func (*DeleteSubscriptionRequest) ProtoMessage

func (*DeleteSubscriptionRequest) ProtoMessage()

func (*DeleteSubscriptionRequest) ProtoReflect

func (*DeleteSubscriptionRequest) Reset

func (x *DeleteSubscriptionRequest) Reset()

func (*DeleteSubscriptionRequest) String

func (x *DeleteSubscriptionRequest) String() string

type DeleteTagRequest

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

func (*DeleteTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect

func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message

func (*DeleteTagRequest) Reset

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (x *DeleteTagRequest) String() string

type EscalateIncidentRequest

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

func (*EscalateIncidentRequest) Descriptor() ([]byte, []int)

Deprecated: Use EscalateIncidentRequest.ProtoReflect.Descriptor instead.

func (*EscalateIncidentRequest) GetArtifacts

func (x *EscalateIncidentRequest) GetArtifacts() []*Artifact

func (*EscalateIncidentRequest) GetIncident

func (x *EscalateIncidentRequest) GetIncident() *Incident

func (*EscalateIncidentRequest) GetRoles

func (*EscalateIncidentRequest) GetSubscriptions

func (x *EscalateIncidentRequest) GetSubscriptions() []*Subscription

func (*EscalateIncidentRequest) GetTags

func (x *EscalateIncidentRequest) GetTags() []*Tag

func (*EscalateIncidentRequest) GetUpdateMask

func (x *EscalateIncidentRequest) GetUpdateMask() *field_mask.FieldMask

func (*EscalateIncidentRequest) ProtoMessage

func (*EscalateIncidentRequest) ProtoMessage()

func (*EscalateIncidentRequest) ProtoReflect

func (x *EscalateIncidentRequest) ProtoReflect() protoreflect.Message

func (*EscalateIncidentRequest) Reset

func (x *EscalateIncidentRequest) Reset()

func (*EscalateIncidentRequest) String

func (x *EscalateIncidentRequest) String() string

type EscalateIncidentResponse

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

func (*EscalateIncidentResponse) Descriptor() ([]byte, []int)

Deprecated: Use EscalateIncidentResponse.ProtoReflect.Descriptor instead.

func (*EscalateIncidentResponse) GetArtifacts

func (x *EscalateIncidentResponse) GetArtifacts() []*Artifact

func (*EscalateIncidentResponse) GetIncident

func (x *EscalateIncidentResponse) GetIncident() *Incident

func (*EscalateIncidentResponse) GetRoles

func (x *EscalateIncidentResponse) GetRoles() []*IncidentRole

func (*EscalateIncidentResponse) GetSubscriptions

func (x *EscalateIncidentResponse) GetSubscriptions() []*Subscription

func (*EscalateIncidentResponse) GetTags

func (x *EscalateIncidentResponse) GetTags() []*Tag

func (*EscalateIncidentResponse) ProtoMessage

func (*EscalateIncidentResponse) ProtoMessage()

func (*EscalateIncidentResponse) ProtoReflect

func (x *EscalateIncidentResponse) ProtoReflect() protoreflect.Message

func (*EscalateIncidentResponse) Reset

func (x *EscalateIncidentResponse) Reset()

func (*EscalateIncidentResponse) String

func (x *EscalateIncidentResponse) String() string

type ForceIncidentRoleHandoverRequest

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

func (*ForceIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use ForceIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*ForceIncidentRoleHandoverRequest) GetName

func (*ForceIncidentRoleHandoverRequest) GetNewAssignee

func (x *ForceIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ForceIncidentRoleHandoverRequest) ProtoMessage

func (*ForceIncidentRoleHandoverRequest) ProtoMessage()

func (*ForceIncidentRoleHandoverRequest) ProtoReflect

func (*ForceIncidentRoleHandoverRequest) Reset

func (*ForceIncidentRoleHandoverRequest) String

type GetIncidentRequest

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

func (*GetIncidentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIncidentRequest.ProtoReflect.Descriptor instead.

func (*GetIncidentRequest) GetName

func (x *GetIncidentRequest) GetName() string

func (*GetIncidentRequest) ProtoMessage

func (*GetIncidentRequest) ProtoMessage()

func (*GetIncidentRequest) ProtoReflect

func (x *GetIncidentRequest) ProtoReflect() protoreflect.Message

func (*GetIncidentRequest) Reset

func (x *GetIncidentRequest) Reset()

func (*GetIncidentRequest) String

func (x *GetIncidentRequest) String() string

type GetSignalRequest

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

func (*GetSignalRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSignalRequest.ProtoReflect.Descriptor instead.

func (*GetSignalRequest) GetName

func (x *GetSignalRequest) GetName() string

func (*GetSignalRequest) ProtoMessage

func (*GetSignalRequest) ProtoMessage()

func (*GetSignalRequest) ProtoReflect

func (x *GetSignalRequest) ProtoReflect() protoreflect.Message

func (*GetSignalRequest) Reset

func (x *GetSignalRequest) Reset()

func (*GetSignalRequest) String

func (x *GetSignalRequest) String() string

type Incident

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 "" /* 163 byte string literal not displayed */
	// 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.

func (*Incident) Descriptor

func (*Incident) Descriptor() ([]byte, []int)

Deprecated: Use Incident.ProtoReflect.Descriptor instead.

func (*Incident) GetCommunicationVenue

func (x *Incident) GetCommunicationVenue() *Incident_CommunicationVenue

func (*Incident) GetDuplicateIncident

func (x *Incident) GetDuplicateIncident() string

func (*Incident) GetEscalationLevel

func (x *Incident) GetEscalationLevel() Incident_EscalationLevel

func (*Incident) GetEtag

func (x *Incident) GetEtag() string

func (*Incident) GetName

func (x *Incident) GetName() string

func (*Incident) GetSeverity

func (x *Incident) GetSeverity() Incident_Severity

func (*Incident) GetStage

func (x *Incident) GetStage() Incident_Stage

func (*Incident) GetStartTime

func (x *Incident) GetStartTime() *timestamp.Timestamp

func (*Incident) GetSynopsis

func (x *Incident) GetSynopsis() *Synopsis

func (*Incident) GetTitle

func (x *Incident) GetTitle() string

func (*Incident) ProtoMessage

func (*Incident) ProtoMessage()

func (*Incident) ProtoReflect

func (x *Incident) ProtoReflect() protoreflect.Message

func (*Incident) Reset

func (x *Incident) Reset()

func (*Incident) String

func (x *Incident) String() string

type IncidentRole

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

func (*IncidentRole) Descriptor() ([]byte, []int)

Deprecated: Use IncidentRole.ProtoReflect.Descriptor instead.

func (*IncidentRole) GetDescription

func (x *IncidentRole) GetDescription() string

func (*IncidentRole) GetTitle

func (x *IncidentRole) GetTitle() string

func (*IncidentRole) GetType

func (x *IncidentRole) GetType() IncidentRole_Type

func (*IncidentRole) ProtoMessage

func (*IncidentRole) ProtoMessage()

func (*IncidentRole) ProtoReflect

func (x *IncidentRole) ProtoReflect() protoreflect.Message

func (*IncidentRole) Reset

func (x *IncidentRole) Reset()

func (*IncidentRole) String

func (x *IncidentRole) String() string

type IncidentRoleAssignment

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

func (*IncidentRoleAssignment) Descriptor() ([]byte, []int)

Deprecated: Use IncidentRoleAssignment.ProtoReflect.Descriptor instead.

func (*IncidentRoleAssignment) GetAssignee

func (x *IncidentRoleAssignment) GetAssignee() *User

func (*IncidentRoleAssignment) GetEtag

func (x *IncidentRoleAssignment) GetEtag() string

func (*IncidentRoleAssignment) GetName

func (x *IncidentRoleAssignment) GetName() string

func (*IncidentRoleAssignment) GetProposedAssignee

func (x *IncidentRoleAssignment) GetProposedAssignee() *User

func (*IncidentRoleAssignment) GetRole

func (x *IncidentRoleAssignment) GetRole() *IncidentRole

func (*IncidentRoleAssignment) ProtoMessage

func (*IncidentRoleAssignment) ProtoMessage()

func (*IncidentRoleAssignment) ProtoReflect

func (x *IncidentRoleAssignment) ProtoReflect() protoreflect.Message

func (*IncidentRoleAssignment) Reset

func (x *IncidentRoleAssignment) Reset()

func (*IncidentRoleAssignment) String

func (x *IncidentRoleAssignment) String() string

type IncidentRole_Type

type IncidentRole_Type int32

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

func (IncidentRole_Type) Enum

func (IncidentRole_Type) EnumDescriptor

func (IncidentRole_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use IncidentRole_Type.Descriptor instead.

func (IncidentRole_Type) Number

func (IncidentRole_Type) String

func (x IncidentRole_Type) String() string

func (IncidentRole_Type) Type

type IncidentServiceClient

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.

type IncidentServiceServer

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

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 "" /* 166 byte string literal not displayed */ // contains filtered or unexported fields

}

CommunicationVenue is a record of where conversations about an incident are happening.

func (*Incident_CommunicationVenue) Descriptor

func (*Incident_CommunicationVenue) Descriptor() ([]byte, []int)

Deprecated: Use Incident_CommunicationVenue.ProtoReflect.Descriptor instead.

func (*Incident_CommunicationVenue) GetChannelType

func (*Incident_CommunicationVenue) GetDisplayName

func (x *Incident_CommunicationVenue) GetDisplayName() string

func (*Incident_CommunicationVenue) GetUri

func (x *Incident_CommunicationVenue) GetUri() string

func (*Incident_CommunicationVenue) ProtoMessage

func (*Incident_CommunicationVenue) ProtoMessage()

func (*Incident_CommunicationVenue) ProtoReflect

func (*Incident_CommunicationVenue) Reset

func (x *Incident_CommunicationVenue) Reset()

func (*Incident_CommunicationVenue) String

func (x *Incident_CommunicationVenue) String() string

type Incident_CommunicationVenue_ChannelType

type Incident_CommunicationVenue_ChannelType int32

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

func (Incident_CommunicationVenue_ChannelType) Enum

func (Incident_CommunicationVenue_ChannelType) EnumDescriptor

func (Incident_CommunicationVenue_ChannelType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_CommunicationVenue_ChannelType.Descriptor instead.

func (Incident_CommunicationVenue_ChannelType) Number

func (Incident_CommunicationVenue_ChannelType) String

func (Incident_CommunicationVenue_ChannelType) Type

type Incident_EscalationLevel

type Incident_EscalationLevel int32

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

func (Incident_EscalationLevel) Enum

func (Incident_EscalationLevel) EnumDescriptor

func (Incident_EscalationLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_EscalationLevel.Descriptor instead.

func (Incident_EscalationLevel) Number

func (Incident_EscalationLevel) String

func (x Incident_EscalationLevel) String() string

func (Incident_EscalationLevel) Type

type Incident_Severity

type Incident_Severity int32

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

func (Incident_Severity) Enum

func (Incident_Severity) EnumDescriptor

func (Incident_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_Severity.Descriptor instead.

func (Incident_Severity) Number

func (Incident_Severity) String

func (x Incident_Severity) String() string

func (Incident_Severity) Type

type Incident_Stage

type Incident_Stage int32

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

func (Incident_Stage) Enum

func (x Incident_Stage) Enum() *Incident_Stage

func (Incident_Stage) EnumDescriptor

func (Incident_Stage) EnumDescriptor() ([]byte, []int)

Deprecated: Use Incident_Stage.Descriptor instead.

func (Incident_Stage) Number

func (Incident_Stage) String

func (x Incident_Stage) String() string

func (Incident_Stage) Type

type ListAnnotationsRequest

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

func (*ListAnnotationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.

func (*ListAnnotationsRequest) GetPageSize

func (x *ListAnnotationsRequest) GetPageSize() int32

func (*ListAnnotationsRequest) GetPageToken

func (x *ListAnnotationsRequest) GetPageToken() string

func (*ListAnnotationsRequest) GetParent

func (x *ListAnnotationsRequest) GetParent() string

func (*ListAnnotationsRequest) ProtoMessage

func (*ListAnnotationsRequest) ProtoMessage()

func (*ListAnnotationsRequest) ProtoReflect

func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message

func (*ListAnnotationsRequest) Reset

func (x *ListAnnotationsRequest) Reset()

func (*ListAnnotationsRequest) String

func (x *ListAnnotationsRequest) String() string

type ListAnnotationsResponse

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

func (*ListAnnotationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.

func (*ListAnnotationsResponse) GetAnnotations

func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation

func (*ListAnnotationsResponse) GetNextPageToken

func (x *ListAnnotationsResponse) GetNextPageToken() string

func (*ListAnnotationsResponse) ProtoMessage

func (*ListAnnotationsResponse) ProtoMessage()

func (*ListAnnotationsResponse) ProtoReflect

func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message

func (*ListAnnotationsResponse) Reset

func (x *ListAnnotationsResponse) Reset()

func (*ListAnnotationsResponse) String

func (x *ListAnnotationsResponse) String() string

type ListArtifactsRequest

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

func (*ListArtifactsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetPageSize

func (x *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken

func (x *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent

func (x *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect

func (x *ListArtifactsRequest) ProtoReflect() protoreflect.Message

func (*ListArtifactsRequest) Reset

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse

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

func (*ListArtifactsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts

func (x *ListArtifactsResponse) GetArtifacts() []*Artifact

func (*ListArtifactsResponse) GetNextPageToken

func (x *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect

func (x *ListArtifactsResponse) ProtoReflect() protoreflect.Message

func (*ListArtifactsResponse) Reset

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (x *ListArtifactsResponse) String() string

type ListIncidentRoleAssignmentsRequest

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

func (*ListIncidentRoleAssignmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIncidentRoleAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListIncidentRoleAssignmentsRequest) GetPageSize

func (x *ListIncidentRoleAssignmentsRequest) GetPageSize() int32

func (*ListIncidentRoleAssignmentsRequest) GetPageToken

func (x *ListIncidentRoleAssignmentsRequest) GetPageToken() string

func (*ListIncidentRoleAssignmentsRequest) GetParent

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage()

func (*ListIncidentRoleAssignmentsRequest) ProtoReflect

func (*ListIncidentRoleAssignmentsRequest) Reset

func (*ListIncidentRoleAssignmentsRequest) String

type ListIncidentRoleAssignmentsResponse

type ListIncidentRoleAssignmentsResponse struct {

	// List of assignments.
	IncidentRoleAssignments []*IncidentRoleAssignment "" /* 132 byte string literal not displayed */
	// 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

func (*ListIncidentRoleAssignmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIncidentRoleAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments

func (x *ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments() []*IncidentRoleAssignment

func (*ListIncidentRoleAssignmentsResponse) GetNextPageToken

func (x *ListIncidentRoleAssignmentsResponse) GetNextPageToken() string

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage()

func (*ListIncidentRoleAssignmentsResponse) ProtoReflect

func (*ListIncidentRoleAssignmentsResponse) Reset

func (*ListIncidentRoleAssignmentsResponse) String

type ListSubscriptionsRequest

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

func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsRequest) GetPageSize

func (x *ListSubscriptionsRequest) GetPageSize() int32

func (*ListSubscriptionsRequest) GetPageToken

func (x *ListSubscriptionsRequest) GetPageToken() string

func (*ListSubscriptionsRequest) GetParent

func (x *ListSubscriptionsRequest) GetParent() string

func (*ListSubscriptionsRequest) ProtoMessage

func (*ListSubscriptionsRequest) ProtoMessage()

func (*ListSubscriptionsRequest) ProtoReflect

func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message

func (*ListSubscriptionsRequest) Reset

func (x *ListSubscriptionsRequest) Reset()

func (*ListSubscriptionsRequest) String

func (x *ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse

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

func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsResponse) GetNextPageToken

func (x *ListSubscriptionsResponse) GetNextPageToken() string

func (*ListSubscriptionsResponse) GetSubscriptions

func (x *ListSubscriptionsResponse) GetSubscriptions() []*Subscription

func (*ListSubscriptionsResponse) ProtoMessage

func (*ListSubscriptionsResponse) ProtoMessage()

func (*ListSubscriptionsResponse) ProtoReflect

func (*ListSubscriptionsResponse) Reset

func (x *ListSubscriptionsResponse) Reset()

func (*ListSubscriptionsResponse) String

func (x *ListSubscriptionsResponse) String() string

type ListTagsRequest

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

func (*ListTagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect

func (x *ListTagsRequest) ProtoReflect() protoreflect.Message

func (*ListTagsRequest) Reset

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (x *ListTagsRequest) String() string

type ListTagsResponse

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

func (*ListTagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

func (x *ListTagsResponse) GetTags() []*Tag

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect

func (x *ListTagsResponse) ProtoReflect() protoreflect.Message

func (*ListTagsResponse) Reset

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (x *ListTagsResponse) String() string

type LookupSignalRequest

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

func (*LookupSignalRequest) Descriptor() ([]byte, []int)

Deprecated: Use LookupSignalRequest.ProtoReflect.Descriptor instead.

func (*LookupSignalRequest) GetAlternateId

func (m *LookupSignalRequest) GetAlternateId() isLookupSignalRequest_AlternateId

func (*LookupSignalRequest) GetCsccFinding

func (x *LookupSignalRequest) GetCsccFinding() string

func (*LookupSignalRequest) GetStackdriverNotificationId

func (x *LookupSignalRequest) GetStackdriverNotificationId() string

func (*LookupSignalRequest) ProtoMessage

func (*LookupSignalRequest) ProtoMessage()

func (*LookupSignalRequest) ProtoReflect

func (x *LookupSignalRequest) ProtoReflect() protoreflect.Message

func (*LookupSignalRequest) Reset

func (x *LookupSignalRequest) Reset()

func (*LookupSignalRequest) String

func (x *LookupSignalRequest) String() string

type LookupSignalRequest_CsccFinding

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

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

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

func (*RequestIncidentRoleHandoverRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*RequestIncidentRoleHandoverRequest) GetName

func (*RequestIncidentRoleHandoverRequest) GetNewAssignee

func (x *RequestIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*RequestIncidentRoleHandoverRequest) ProtoMessage

func (*RequestIncidentRoleHandoverRequest) ProtoMessage()

func (*RequestIncidentRoleHandoverRequest) ProtoReflect

func (*RequestIncidentRoleHandoverRequest) Reset

func (*RequestIncidentRoleHandoverRequest) String

type SearchIncidentsRequest

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

func (*SearchIncidentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchIncidentsRequest.ProtoReflect.Descriptor instead.

func (*SearchIncidentsRequest) GetPageSize

func (x *SearchIncidentsRequest) GetPageSize() int32

func (*SearchIncidentsRequest) GetPageToken

func (x *SearchIncidentsRequest) GetPageToken() string

func (*SearchIncidentsRequest) GetParent

func (x *SearchIncidentsRequest) GetParent() string

func (*SearchIncidentsRequest) GetQuery

func (x *SearchIncidentsRequest) GetQuery() string

func (*SearchIncidentsRequest) GetTimeZone

func (x *SearchIncidentsRequest) GetTimeZone() string

func (*SearchIncidentsRequest) ProtoMessage

func (*SearchIncidentsRequest) ProtoMessage()

func (*SearchIncidentsRequest) ProtoReflect

func (x *SearchIncidentsRequest) ProtoReflect() protoreflect.Message

func (*SearchIncidentsRequest) Reset

func (x *SearchIncidentsRequest) Reset()

func (*SearchIncidentsRequest) String

func (x *SearchIncidentsRequest) String() string

type SearchIncidentsResponse

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

func (*SearchIncidentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchIncidentsResponse.ProtoReflect.Descriptor instead.

func (*SearchIncidentsResponse) GetIncidents

func (x *SearchIncidentsResponse) GetIncidents() []*Incident

func (*SearchIncidentsResponse) GetNextPageToken

func (x *SearchIncidentsResponse) GetNextPageToken() string

func (*SearchIncidentsResponse) ProtoMessage

func (*SearchIncidentsResponse) ProtoMessage()

func (*SearchIncidentsResponse) ProtoReflect

func (x *SearchIncidentsResponse) ProtoReflect() protoreflect.Message

func (*SearchIncidentsResponse) Reset

func (x *SearchIncidentsResponse) Reset()

func (*SearchIncidentsResponse) String

func (x *SearchIncidentsResponse) String() string

type SearchSignalsRequest

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

func (*SearchSignalsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchSignalsRequest.ProtoReflect.Descriptor instead.

func (*SearchSignalsRequest) GetPageSize

func (x *SearchSignalsRequest) GetPageSize() int32

func (*SearchSignalsRequest) GetPageToken

func (x *SearchSignalsRequest) GetPageToken() string

func (*SearchSignalsRequest) GetParent

func (x *SearchSignalsRequest) GetParent() string

func (*SearchSignalsRequest) GetQuery

func (x *SearchSignalsRequest) GetQuery() string

func (*SearchSignalsRequest) ProtoMessage

func (*SearchSignalsRequest) ProtoMessage()

func (*SearchSignalsRequest) ProtoReflect

func (x *SearchSignalsRequest) ProtoReflect() protoreflect.Message

func (*SearchSignalsRequest) Reset

func (x *SearchSignalsRequest) Reset()

func (*SearchSignalsRequest) String

func (x *SearchSignalsRequest) String() string

type SearchSignalsResponse

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

func (*SearchSignalsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchSignalsResponse.ProtoReflect.Descriptor instead.

func (*SearchSignalsResponse) GetNextPageToken

func (x *SearchSignalsResponse) GetNextPageToken() string

func (*SearchSignalsResponse) GetSignals

func (x *SearchSignalsResponse) GetSignals() []*Signal

func (*SearchSignalsResponse) ProtoMessage

func (*SearchSignalsResponse) ProtoMessage()

func (*SearchSignalsResponse) ProtoReflect

func (x *SearchSignalsResponse) ProtoReflect() protoreflect.Message

func (*SearchSignalsResponse) Reset

func (x *SearchSignalsResponse) Reset()

func (*SearchSignalsResponse) String

func (x *SearchSignalsResponse) String() string

type SearchSimilarIncidentsRequest

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

func (*SearchSimilarIncidentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchSimilarIncidentsRequest.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsRequest) GetName

func (*SearchSimilarIncidentsRequest) GetPageSize

func (x *SearchSimilarIncidentsRequest) GetPageSize() int32

func (*SearchSimilarIncidentsRequest) GetPageToken

func (x *SearchSimilarIncidentsRequest) GetPageToken() string

func (*SearchSimilarIncidentsRequest) ProtoMessage

func (*SearchSimilarIncidentsRequest) ProtoMessage()

func (*SearchSimilarIncidentsRequest) ProtoReflect

func (*SearchSimilarIncidentsRequest) Reset

func (x *SearchSimilarIncidentsRequest) Reset()

func (*SearchSimilarIncidentsRequest) String

type SearchSimilarIncidentsResponse

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

func (*SearchSimilarIncidentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchSimilarIncidentsResponse.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsResponse) GetNextPageToken

func (x *SearchSimilarIncidentsResponse) GetNextPageToken() string

func (*SearchSimilarIncidentsResponse) GetResults

func (*SearchSimilarIncidentsResponse) ProtoMessage

func (*SearchSimilarIncidentsResponse) ProtoMessage()

func (*SearchSimilarIncidentsResponse) ProtoReflect

func (*SearchSimilarIncidentsResponse) Reset

func (x *SearchSimilarIncidentsResponse) Reset()

func (*SearchSimilarIncidentsResponse) String

type SearchSimilarIncidentsResponse_Result

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

func (*SearchSimilarIncidentsResponse_Result) Descriptor() ([]byte, []int)

Deprecated: Use SearchSimilarIncidentsResponse_Result.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsResponse_Result) GetIncident

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage()

func (*SearchSimilarIncidentsResponse_Result) ProtoReflect

func (*SearchSimilarIncidentsResponse_Result) Reset

func (*SearchSimilarIncidentsResponse_Result) String

type SendShiftHandoffRequest

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

func (*SendShiftHandoffRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendShiftHandoffRequest.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffRequest) GetCc

func (x *SendShiftHandoffRequest) GetCc() []string

func (*SendShiftHandoffRequest) GetIncidents

func (*SendShiftHandoffRequest) GetNotesContent

func (x *SendShiftHandoffRequest) GetNotesContent() string

func (*SendShiftHandoffRequest) GetNotesContentType

func (x *SendShiftHandoffRequest) GetNotesContentType() string

func (*SendShiftHandoffRequest) GetParent

func (x *SendShiftHandoffRequest) GetParent() string

func (*SendShiftHandoffRequest) GetPreviewOnly

func (x *SendShiftHandoffRequest) GetPreviewOnly() bool

func (*SendShiftHandoffRequest) GetRecipients

func (x *SendShiftHandoffRequest) GetRecipients() []string

func (*SendShiftHandoffRequest) GetSubject

func (x *SendShiftHandoffRequest) GetSubject() string

func (*SendShiftHandoffRequest) ProtoMessage

func (*SendShiftHandoffRequest) ProtoMessage()

func (*SendShiftHandoffRequest) ProtoReflect

func (x *SendShiftHandoffRequest) ProtoReflect() protoreflect.Message

func (*SendShiftHandoffRequest) Reset

func (x *SendShiftHandoffRequest) Reset()

func (*SendShiftHandoffRequest) String

func (x *SendShiftHandoffRequest) String() string

type SendShiftHandoffRequest_Incident

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

func (*SendShiftHandoffRequest_Incident) Descriptor() ([]byte, []int)

Deprecated: Use SendShiftHandoffRequest_Incident.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffRequest_Incident) GetName

func (*SendShiftHandoffRequest_Incident) ProtoMessage

func (*SendShiftHandoffRequest_Incident) ProtoMessage()

func (*SendShiftHandoffRequest_Incident) ProtoReflect

func (*SendShiftHandoffRequest_Incident) Reset

func (*SendShiftHandoffRequest_Incident) String

type SendShiftHandoffResponse

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

func (*SendShiftHandoffResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendShiftHandoffResponse.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffResponse) GetContent

func (x *SendShiftHandoffResponse) GetContent() string

func (*SendShiftHandoffResponse) GetContentType

func (x *SendShiftHandoffResponse) GetContentType() string

func (*SendShiftHandoffResponse) ProtoMessage

func (*SendShiftHandoffResponse) ProtoMessage()

func (*SendShiftHandoffResponse) ProtoReflect

func (x *SendShiftHandoffResponse) ProtoReflect() protoreflect.Message

func (*SendShiftHandoffResponse) Reset

func (x *SendShiftHandoffResponse) Reset()

func (*SendShiftHandoffResponse) String

func (x *SendShiftHandoffResponse) String() string

type Signal

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 "" /* 139 byte string literal not displayed */
	// 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.

func (*Signal) Descriptor

func (*Signal) Descriptor() ([]byte, []int)

Deprecated: Use Signal.ProtoReflect.Descriptor instead.

func (*Signal) GetCloseTime

func (x *Signal) GetCloseTime() *timestamp.Timestamp

func (*Signal) GetContent

func (x *Signal) GetContent() string

func (*Signal) GetContentType

func (x *Signal) GetContentType() string

func (*Signal) GetCreateTime

func (x *Signal) GetCreateTime() *timestamp.Timestamp

func (*Signal) GetCreator

func (x *Signal) GetCreator() *User

func (*Signal) GetDetectTime

func (x *Signal) GetDetectTime() *timestamp.Timestamp

func (*Signal) GetEtag

func (x *Signal) GetEtag() string

func (*Signal) GetIncident

func (x *Signal) GetIncident() string

func (*Signal) GetName

func (x *Signal) GetName() string

func (*Signal) GetSignalArtifacts

func (x *Signal) GetSignalArtifacts() []*Signal_SignalArtifact

func (*Signal) GetSignalState

func (x *Signal) GetSignalState() Signal_State

func (*Signal) GetTitle

func (x *Signal) GetTitle() string

func (*Signal) ProtoMessage

func (*Signal) ProtoMessage()

func (*Signal) ProtoReflect

func (x *Signal) ProtoReflect() protoreflect.Message

func (*Signal) Reset

func (x *Signal) Reset()

func (*Signal) String

func (x *Signal) String() string

type Signal_SignalArtifact

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

func (*Signal_SignalArtifact) Descriptor() ([]byte, []int)

Deprecated: Use Signal_SignalArtifact.ProtoReflect.Descriptor instead.

func (*Signal_SignalArtifact) GetArtifactType

func (m *Signal_SignalArtifact) GetArtifactType() isSignal_SignalArtifact_ArtifactType

func (*Signal_SignalArtifact) GetUri

func (x *Signal_SignalArtifact) GetUri() string

func (*Signal_SignalArtifact) GetUserType

func (x *Signal_SignalArtifact) GetUserType() string

func (*Signal_SignalArtifact) ProtoMessage

func (*Signal_SignalArtifact) ProtoMessage()

func (*Signal_SignalArtifact) ProtoReflect

func (x *Signal_SignalArtifact) ProtoReflect() protoreflect.Message

func (*Signal_SignalArtifact) Reset

func (x *Signal_SignalArtifact) Reset()

func (*Signal_SignalArtifact) String

func (x *Signal_SignalArtifact) String() string

type Signal_SignalArtifact_UserType

type Signal_SignalArtifact_UserType struct {
	// A custom user type
	UserType string `protobuf:"bytes,2,opt,name=user_type,json=userType,proto3,oneof"`
}

type Signal_State

type Signal_State int32

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

func (Signal_State) Enum

func (x Signal_State) Enum() *Signal_State

func (Signal_State) EnumDescriptor

func (Signal_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Signal_State.Descriptor instead.

func (Signal_State) Number

func (Signal_State) String

func (x Signal_State) String() string

func (Signal_State) Type

type Subscription

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 "" /* 153 byte string literal not displayed */ // contains filtered or unexported fields

}

A subscription allows users to get notifications about changes to an incident.

func (*Subscription) Descriptor

func (*Subscription) Descriptor() ([]byte, []int)

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetEtag

func (x *Subscription) GetEtag() string

func (*Subscription) GetEventTypes

func (x *Subscription) GetEventTypes() []Subscription_EventType

func (*Subscription) GetName

func (x *Subscription) GetName() string

func (*Subscription) GetSubscriptionChannel

func (x *Subscription) GetSubscriptionChannel() *CommunicationChannel

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect

func (x *Subscription) ProtoReflect() protoreflect.Message

func (*Subscription) Reset

func (x *Subscription) Reset()

func (*Subscription) String

func (x *Subscription) String() string

type Subscription_EventType

type Subscription_EventType int32

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

func (Subscription_EventType) Enum

func (Subscription_EventType) EnumDescriptor

func (Subscription_EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Subscription_EventType.Descriptor instead.

func (Subscription_EventType) Number

func (Subscription_EventType) String

func (x Subscription_EventType) String() string

func (Subscription_EventType) Type

type Synopsis

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.

func (*Synopsis) Descriptor

func (*Synopsis) Descriptor() ([]byte, []int)

Deprecated: Use Synopsis.ProtoReflect.Descriptor instead.

func (*Synopsis) GetAuthor

func (x *Synopsis) GetAuthor() *User

func (*Synopsis) GetContent

func (x *Synopsis) GetContent() string

func (*Synopsis) GetContentType

func (x *Synopsis) GetContentType() string

func (*Synopsis) GetUpdateTime

func (x *Synopsis) GetUpdateTime() *timestamp.Timestamp

func (*Synopsis) ProtoMessage

func (*Synopsis) ProtoMessage()

func (*Synopsis) ProtoReflect

func (x *Synopsis) ProtoReflect() protoreflect.Message

func (*Synopsis) Reset

func (x *Synopsis) Reset()

func (*Synopsis) String

func (x *Synopsis) String() string

type Tag

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.

func (*Tag) Descriptor

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDisplayName

func (x *Tag) GetDisplayName() string

func (*Tag) GetName

func (x *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type UnimplementedIncidentServiceServer

type UnimplementedIncidentServiceServer struct {
}

UnimplementedIncidentServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover

func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover

func (*UnimplementedIncidentServiceServer) CreateAnnotation

func (*UnimplementedIncidentServiceServer) CreateArtifact

func (*UnimplementedIncidentServiceServer) CreateIncident

func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment

func (*UnimplementedIncidentServiceServer) CreateSignal

func (*UnimplementedIncidentServiceServer) CreateSubscription

func (*UnimplementedIncidentServiceServer) CreateTag

func (*UnimplementedIncidentServiceServer) DeleteArtifact

func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment

func (*UnimplementedIncidentServiceServer) DeleteSubscription

func (*UnimplementedIncidentServiceServer) DeleteTag

func (*UnimplementedIncidentServiceServer) EscalateIncident

func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover

func (*UnimplementedIncidentServiceServer) GetIncident

func (*UnimplementedIncidentServiceServer) GetSignal

func (*UnimplementedIncidentServiceServer) ListAnnotations

func (*UnimplementedIncidentServiceServer) ListArtifacts

func (*UnimplementedIncidentServiceServer) ListSubscriptions

func (*UnimplementedIncidentServiceServer) ListTags

func (*UnimplementedIncidentServiceServer) LookupSignal

func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover

func (*UnimplementedIncidentServiceServer) SearchIncidents

func (*UnimplementedIncidentServiceServer) SearchSignals

func (*UnimplementedIncidentServiceServer) SendShiftHandoff

func (*UnimplementedIncidentServiceServer) UpdateArtifact

func (*UnimplementedIncidentServiceServer) UpdateIncident

func (*UnimplementedIncidentServiceServer) UpdateSignal

func (*UnimplementedIncidentServiceServer) UpdateSubscription

type UpdateArtifactRequest

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

func (*UpdateArtifactRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateArtifactRequest.ProtoReflect.Descriptor instead.

func (*UpdateArtifactRequest) GetArtifact

func (x *UpdateArtifactRequest) GetArtifact() *Artifact

func (*UpdateArtifactRequest) GetUpdateMask

func (x *UpdateArtifactRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateArtifactRequest) ProtoMessage

func (*UpdateArtifactRequest) ProtoMessage()

func (*UpdateArtifactRequest) ProtoReflect

func (x *UpdateArtifactRequest) ProtoReflect() protoreflect.Message

func (*UpdateArtifactRequest) Reset

func (x *UpdateArtifactRequest) Reset()

func (*UpdateArtifactRequest) String

func (x *UpdateArtifactRequest) String() string

type UpdateIncidentRequest

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

func (*UpdateIncidentRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIncidentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIncidentRequest) GetIncident

func (x *UpdateIncidentRequest) GetIncident() *Incident

func (*UpdateIncidentRequest) GetUpdateMask

func (x *UpdateIncidentRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateIncidentRequest) ProtoMessage

func (*UpdateIncidentRequest) ProtoMessage()

func (*UpdateIncidentRequest) ProtoReflect

func (x *UpdateIncidentRequest) ProtoReflect() protoreflect.Message

func (*UpdateIncidentRequest) Reset

func (x *UpdateIncidentRequest) Reset()

func (*UpdateIncidentRequest) String

func (x *UpdateIncidentRequest) String() string

type UpdateSignalRequest

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

func (*UpdateSignalRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSignalRequest.ProtoReflect.Descriptor instead.

func (*UpdateSignalRequest) GetSignal

func (x *UpdateSignalRequest) GetSignal() *Signal

func (*UpdateSignalRequest) GetUpdateMask

func (x *UpdateSignalRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSignalRequest) ProtoMessage

func (*UpdateSignalRequest) ProtoMessage()

func (*UpdateSignalRequest) ProtoReflect

func (x *UpdateSignalRequest) ProtoReflect() protoreflect.Message

func (*UpdateSignalRequest) Reset

func (x *UpdateSignalRequest) Reset()

func (*UpdateSignalRequest) String

func (x *UpdateSignalRequest) String() string

type UpdateSubscriptionRequest

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

func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionRequest) GetSubscription

func (x *UpdateSubscriptionRequest) GetSubscription() *Subscription

func (*UpdateSubscriptionRequest) GetUpdateMask

func (x *UpdateSubscriptionRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateSubscriptionRequest) ProtoMessage

func (*UpdateSubscriptionRequest) ProtoMessage()

func (*UpdateSubscriptionRequest) ProtoReflect

func (*UpdateSubscriptionRequest) Reset

func (x *UpdateSubscriptionRequest) Reset()

func (*UpdateSubscriptionRequest) String

func (x *UpdateSubscriptionRequest) String() string

type User

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.

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetUser

func (m *User) GetUser() isUser_User

func (*User) GetUserId

func (x *User) GetUserId() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type User_Email

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

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"`
}