irm

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Artifact_Type_name = map[int32]string{
	0: "TYPE_UNSPECIFIED",
	1: "TYPE_URL",
	4: "TYPE_JIRA_ISSUE",
}
View Source
var Artifact_Type_value = map[string]int32{
	"TYPE_UNSPECIFIED": 0,
	"TYPE_URL":         1,
	"TYPE_JIRA_ISSUE":  4,
}
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",
}
View Source
var 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,
}
View Source
var Incident_CommunicationVenue_ChannelType_name = map[int32]string{
	0: "CHANNEL_TYPE_UNSPECIFIED",
	1: "CHANNEL_TYPE_URI",
	5: "CHANNEL_TYPE_SLACK",
}
View Source
var Incident_CommunicationVenue_ChannelType_value = map[string]int32{
	"CHANNEL_TYPE_UNSPECIFIED": 0,
	"CHANNEL_TYPE_URI":         1,
	"CHANNEL_TYPE_SLACK":       5,
}
View Source
var Incident_EscalationLevel_name = map[int32]string{
	0: "ESCALATION_LEVEL_UNSPECIFIED",
	1: "ESCALATION_LEVEL_ORGANIZATION",
}
View Source
var Incident_EscalationLevel_value = map[string]int32{
	"ESCALATION_LEVEL_UNSPECIFIED":  0,
	"ESCALATION_LEVEL_ORGANIZATION": 1,
}
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",
}
View Source
var Incident_Severity_value = map[string]int32{
	"SEVERITY_UNSPECIFIED": 0,
	"SEVERITY_HUGE":        1,
	"SEVERITY_MAJOR":       2,
	"SEVERITY_MEDIUM":      3,
	"SEVERITY_MINOR":       4,
	"SEVERITY_NEGLIGIBLE":  5,
}
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",
}
View Source
var 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,
}
View Source
var Signal_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "STATE_OPEN",
	2: "STATE_CLOSED",
}
View Source
var Signal_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"STATE_OPEN":        1,
	"STATE_CLOSED":      2,
}
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",
}
View Source
var 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,
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A text annotation by a user.

func (*Annotation) Descriptor

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

func (*Annotation) GetAuthor

func (m *Annotation) GetAuthor() *User

func (*Annotation) GetContent

func (m *Annotation) GetContent() string

func (*Annotation) GetContentType

func (m *Annotation) GetContentType() string

func (*Annotation) GetCreateTime

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

func (*Annotation) GetName

func (m *Annotation) GetName() string

func (*Annotation) ProtoMessage

func (*Annotation) ProtoMessage()

func (*Annotation) Reset

func (m *Annotation) Reset()

func (*Annotation) String

func (m *Annotation) String() string

func (*Annotation) XXX_DiscardUnknown

func (m *Annotation) XXX_DiscardUnknown()

func (*Annotation) XXX_Marshal

func (m *Annotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Annotation) XXX_Merge

func (m *Annotation) XXX_Merge(src proto.Message)

func (*Annotation) XXX_Size

func (m *Annotation) XXX_Size() int

func (*Annotation) XXX_Unmarshal

func (m *Annotation) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

External artifact associated to an incident.

func (*Artifact) Descriptor

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

func (*Artifact) GetDisplayName

func (m *Artifact) GetDisplayName() string

func (*Artifact) GetEtag

func (m *Artifact) GetEtag() string

func (*Artifact) GetName

func (m *Artifact) GetName() string

func (*Artifact) GetType

func (m *Artifact) GetType() Artifact_Type

func (*Artifact) GetUrl

func (m *Artifact) GetUrl() string

func (*Artifact) ProtoMessage

func (*Artifact) ProtoMessage()

func (*Artifact) Reset

func (m *Artifact) Reset()

func (*Artifact) String

func (m *Artifact) String() string

func (*Artifact) XXX_DiscardUnknown

func (m *Artifact) XXX_DiscardUnknown()

func (*Artifact) XXX_Marshal

func (m *Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Artifact) XXX_Merge

func (m *Artifact) XXX_Merge(src proto.Message)

func (*Artifact) XXX_Size

func (m *Artifact) XXX_Size() int

func (*Artifact) XXX_Unmarshal

func (m *Artifact) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Artifact_Type) String

func (x Artifact_Type) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to cancel a role handover.

func (*CancelIncidentRoleHandoverRequest) Descriptor

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

func (*CancelIncidentRoleHandoverRequest) GetName

func (*CancelIncidentRoleHandoverRequest) GetNewAssignee

func (m *CancelIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*CancelIncidentRoleHandoverRequest) ProtoMessage

func (*CancelIncidentRoleHandoverRequest) ProtoMessage()

func (*CancelIncidentRoleHandoverRequest) Reset

func (*CancelIncidentRoleHandoverRequest) String

func (*CancelIncidentRoleHandoverRequest) XXX_DiscardUnknown

func (m *CancelIncidentRoleHandoverRequest) XXX_DiscardUnknown()

func (*CancelIncidentRoleHandoverRequest) XXX_Marshal

func (m *CancelIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelIncidentRoleHandoverRequest) XXX_Merge

func (*CancelIncidentRoleHandoverRequest) XXX_Size

func (m *CancelIncidentRoleHandoverRequest) XXX_Size() int

func (*CancelIncidentRoleHandoverRequest) XXX_Unmarshal

func (m *CancelIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error

type CommunicationChannel

type CommunicationChannel struct {
	// An endpoint describes how messages will be delivered.
	//
	// Types that are valid to be assigned to Endpoint:
	//	*CommunicationChannel_Email_
	//	*CommunicationChannel_NotificationChannel_
	Endpoint             isCommunicationChannel_Endpoint `protobuf_oneof:"endpoint"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

Communication Channels are mechanisms used to receive notifications about changes to incidents.

func (*CommunicationChannel) Descriptor

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

func (*CommunicationChannel) GetEmail

func (*CommunicationChannel) GetEndpoint

func (m *CommunicationChannel) GetEndpoint() isCommunicationChannel_Endpoint

func (*CommunicationChannel) GetNotificationChannel

func (*CommunicationChannel) ProtoMessage

func (*CommunicationChannel) ProtoMessage()

func (*CommunicationChannel) Reset

func (m *CommunicationChannel) Reset()

func (*CommunicationChannel) String

func (m *CommunicationChannel) String() string

func (*CommunicationChannel) XXX_DiscardUnknown

func (m *CommunicationChannel) XXX_DiscardUnknown()

func (*CommunicationChannel) XXX_Marshal

func (m *CommunicationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommunicationChannel) XXX_Merge

func (m *CommunicationChannel) XXX_Merge(src proto.Message)

func (*CommunicationChannel) XXX_OneofWrappers

func (*CommunicationChannel) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CommunicationChannel) XXX_Size

func (m *CommunicationChannel) XXX_Size() int

func (*CommunicationChannel) XXX_Unmarshal

func (m *CommunicationChannel) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A communication channel that delivers messages to an email address.

func (*CommunicationChannel_Email) Descriptor

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

func (*CommunicationChannel_Email) GetAddress

func (m *CommunicationChannel_Email) GetAddress() string

func (*CommunicationChannel_Email) ProtoMessage

func (*CommunicationChannel_Email) ProtoMessage()

func (*CommunicationChannel_Email) Reset

func (m *CommunicationChannel_Email) Reset()

func (*CommunicationChannel_Email) String

func (m *CommunicationChannel_Email) String() string

func (*CommunicationChannel_Email) XXX_DiscardUnknown

func (m *CommunicationChannel_Email) XXX_DiscardUnknown()

func (*CommunicationChannel_Email) XXX_Marshal

func (m *CommunicationChannel_Email) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommunicationChannel_Email) XXX_Merge

func (m *CommunicationChannel_Email) XXX_Merge(src proto.Message)

func (*CommunicationChannel_Email) XXX_Size

func (m *CommunicationChannel_Email) XXX_Size() int

func (*CommunicationChannel_Email) XXX_Unmarshal

func (m *CommunicationChannel_Email) XXX_Unmarshal(b []byte) error

type CommunicationChannel_Email_

type CommunicationChannel_Email_ struct {
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A communication channel that delivers messages to a Stackdriver notification channel.

func (*CommunicationChannel_NotificationChannel) Descriptor

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

func (*CommunicationChannel_NotificationChannel) GetName

func (*CommunicationChannel_NotificationChannel) ProtoMessage

func (*CommunicationChannel_NotificationChannel) Reset

func (*CommunicationChannel_NotificationChannel) String

func (*CommunicationChannel_NotificationChannel) XXX_DiscardUnknown

func (m *CommunicationChannel_NotificationChannel) XXX_DiscardUnknown()

func (*CommunicationChannel_NotificationChannel) XXX_Marshal

func (m *CommunicationChannel_NotificationChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommunicationChannel_NotificationChannel) XXX_Merge

func (*CommunicationChannel_NotificationChannel) XXX_Size

func (*CommunicationChannel_NotificationChannel) XXX_Unmarshal

func (m *CommunicationChannel_NotificationChannel) XXX_Unmarshal(b []byte) error

type CommunicationChannel_NotificationChannel_

type CommunicationChannel_NotificationChannel_ struct {
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to confirm a role handover.

func (*ConfirmIncidentRoleHandoverRequest) Descriptor

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

func (*ConfirmIncidentRoleHandoverRequest) GetName

func (*ConfirmIncidentRoleHandoverRequest) GetNewAssignee

func (m *ConfirmIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage()

func (*ConfirmIncidentRoleHandoverRequest) Reset

func (*ConfirmIncidentRoleHandoverRequest) String

func (*ConfirmIncidentRoleHandoverRequest) XXX_DiscardUnknown

func (m *ConfirmIncidentRoleHandoverRequest) XXX_DiscardUnknown()

func (*ConfirmIncidentRoleHandoverRequest) XXX_Marshal

func (m *ConfirmIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfirmIncidentRoleHandoverRequest) XXX_Merge

func (*ConfirmIncidentRoleHandoverRequest) XXX_Size

func (*ConfirmIncidentRoleHandoverRequest) XXX_Unmarshal

func (m *ConfirmIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Request for the CreateAnnotation method.

func (*CreateAnnotationRequest) Descriptor

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

func (*CreateAnnotationRequest) GetAnnotation

func (m *CreateAnnotationRequest) GetAnnotation() *Annotation

func (*CreateAnnotationRequest) GetParent

func (m *CreateAnnotationRequest) GetParent() string

func (*CreateAnnotationRequest) ProtoMessage

func (*CreateAnnotationRequest) ProtoMessage()

func (*CreateAnnotationRequest) Reset

func (m *CreateAnnotationRequest) Reset()

func (*CreateAnnotationRequest) String

func (m *CreateAnnotationRequest) String() string

func (*CreateAnnotationRequest) XXX_DiscardUnknown

func (m *CreateAnnotationRequest) XXX_DiscardUnknown()

func (*CreateAnnotationRequest) XXX_Marshal

func (m *CreateAnnotationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAnnotationRequest) XXX_Merge

func (m *CreateAnnotationRequest) XXX_Merge(src proto.Message)

func (*CreateAnnotationRequest) XXX_Size

func (m *CreateAnnotationRequest) XXX_Size() int

func (*CreateAnnotationRequest) XXX_Unmarshal

func (m *CreateAnnotationRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Request for the CreateArtifact method.

func (*CreateArtifactRequest) Descriptor

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

func (*CreateArtifactRequest) GetArtifact

func (m *CreateArtifactRequest) GetArtifact() *Artifact

func (*CreateArtifactRequest) GetParent

func (m *CreateArtifactRequest) GetParent() string

func (*CreateArtifactRequest) ProtoMessage

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) Reset

func (m *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String

func (m *CreateArtifactRequest) String() string

func (*CreateArtifactRequest) XXX_DiscardUnknown

func (m *CreateArtifactRequest) XXX_DiscardUnknown()

func (*CreateArtifactRequest) XXX_Marshal

func (m *CreateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateArtifactRequest) XXX_Merge

func (m *CreateArtifactRequest) XXX_Merge(src proto.Message)

func (*CreateArtifactRequest) XXX_Size

func (m *CreateArtifactRequest) XXX_Size() int

func (*CreateArtifactRequest) XXX_Unmarshal

func (m *CreateArtifactRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the CreateIncident method.

func (*CreateIncidentRequest) Descriptor

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

func (*CreateIncidentRequest) GetIncident

func (m *CreateIncidentRequest) GetIncident() *Incident

func (*CreateIncidentRequest) GetParent

func (m *CreateIncidentRequest) GetParent() string

func (*CreateIncidentRequest) ProtoMessage

func (*CreateIncidentRequest) ProtoMessage()

func (*CreateIncidentRequest) Reset

func (m *CreateIncidentRequest) Reset()

func (*CreateIncidentRequest) String

func (m *CreateIncidentRequest) String() string

func (*CreateIncidentRequest) XXX_DiscardUnknown

func (m *CreateIncidentRequest) XXX_DiscardUnknown()

func (*CreateIncidentRequest) XXX_Marshal

func (m *CreateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateIncidentRequest) XXX_Merge

func (m *CreateIncidentRequest) XXX_Merge(src proto.Message)

func (*CreateIncidentRequest) XXX_Size

func (m *CreateIncidentRequest) XXX_Size() int

func (*CreateIncidentRequest) XXX_Unmarshal

func (m *CreateIncidentRequest) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral   struct{}                `json:"-"`
	XXX_unrecognized       []byte                  `json:"-"`
	XXX_sizecache          int32                   `json:"-"`
}

Request for creating a role assignment.

func (*CreateIncidentRoleAssignmentRequest) Descriptor

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

func (*CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment

func (m *CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment() *IncidentRoleAssignment

func (*CreateIncidentRoleAssignmentRequest) GetParent

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage()

func (*CreateIncidentRoleAssignmentRequest) Reset

func (*CreateIncidentRoleAssignmentRequest) String

func (*CreateIncidentRoleAssignmentRequest) XXX_DiscardUnknown

func (m *CreateIncidentRoleAssignmentRequest) XXX_DiscardUnknown()

func (*CreateIncidentRoleAssignmentRequest) XXX_Marshal

func (m *CreateIncidentRoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateIncidentRoleAssignmentRequest) XXX_Merge

func (*CreateIncidentRoleAssignmentRequest) XXX_Size

func (*CreateIncidentRoleAssignmentRequest) XXX_Unmarshal

func (m *CreateIncidentRoleAssignmentRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the CreateSignal method.

func (*CreateSignalRequest) Descriptor

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

func (*CreateSignalRequest) GetParent

func (m *CreateSignalRequest) GetParent() string

func (*CreateSignalRequest) GetSignal

func (m *CreateSignalRequest) GetSignal() *Signal

func (*CreateSignalRequest) ProtoMessage

func (*CreateSignalRequest) ProtoMessage()

func (*CreateSignalRequest) Reset

func (m *CreateSignalRequest) Reset()

func (*CreateSignalRequest) String

func (m *CreateSignalRequest) String() string

func (*CreateSignalRequest) XXX_DiscardUnknown

func (m *CreateSignalRequest) XXX_DiscardUnknown()

func (*CreateSignalRequest) XXX_Marshal

func (m *CreateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSignalRequest) XXX_Merge

func (m *CreateSignalRequest) XXX_Merge(src proto.Message)

func (*CreateSignalRequest) XXX_Size

func (m *CreateSignalRequest) XXX_Size() int

func (*CreateSignalRequest) XXX_Unmarshal

func (m *CreateSignalRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

Request for the CreateSubscription method.

func (*CreateSubscriptionRequest) Descriptor

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

func (*CreateSubscriptionRequest) GetParent

func (m *CreateSubscriptionRequest) GetParent() string

func (*CreateSubscriptionRequest) GetSubscription

func (m *CreateSubscriptionRequest) GetSubscription() *Subscription

func (*CreateSubscriptionRequest) ProtoMessage

func (*CreateSubscriptionRequest) ProtoMessage()

func (*CreateSubscriptionRequest) Reset

func (m *CreateSubscriptionRequest) Reset()

func (*CreateSubscriptionRequest) String

func (m *CreateSubscriptionRequest) String() string

func (*CreateSubscriptionRequest) XXX_DiscardUnknown

func (m *CreateSubscriptionRequest) XXX_DiscardUnknown()

func (*CreateSubscriptionRequest) XXX_Marshal

func (m *CreateSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSubscriptionRequest) XXX_Merge

func (m *CreateSubscriptionRequest) XXX_Merge(src proto.Message)

func (*CreateSubscriptionRequest) XXX_Size

func (m *CreateSubscriptionRequest) XXX_Size() int

func (*CreateSubscriptionRequest) XXX_Unmarshal

func (m *CreateSubscriptionRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the CreateTag method.

func (*CreateTagRequest) Descriptor

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

func (*CreateTagRequest) GetParent

func (m *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag

func (m *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) Reset

func (m *CreateTagRequest) Reset()

func (*CreateTagRequest) String

func (m *CreateTagRequest) String() string

func (*CreateTagRequest) XXX_DiscardUnknown

func (m *CreateTagRequest) XXX_DiscardUnknown()

func (*CreateTagRequest) XXX_Marshal

func (m *CreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTagRequest) XXX_Merge

func (m *CreateTagRequest) XXX_Merge(src proto.Message)

func (*CreateTagRequest) XXX_Size

func (m *CreateTagRequest) XXX_Size() int

func (*CreateTagRequest) XXX_Unmarshal

func (m *CreateTagRequest) XXX_Unmarshal(b []byte) error

type DeleteArtifactRequest

type DeleteArtifactRequest struct {
	// Required. Resource name of the artifact.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for deleting an artifact.

func (*DeleteArtifactRequest) Descriptor

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

func (*DeleteArtifactRequest) GetName

func (m *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) ProtoMessage

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) Reset

func (m *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String

func (m *DeleteArtifactRequest) String() string

func (*DeleteArtifactRequest) XXX_DiscardUnknown

func (m *DeleteArtifactRequest) XXX_DiscardUnknown()

func (*DeleteArtifactRequest) XXX_Marshal

func (m *DeleteArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteArtifactRequest) XXX_Merge

func (m *DeleteArtifactRequest) XXX_Merge(src proto.Message)

func (*DeleteArtifactRequest) XXX_Size

func (m *DeleteArtifactRequest) XXX_Size() int

func (*DeleteArtifactRequest) XXX_Unmarshal

func (m *DeleteArtifactRequest) XXX_Unmarshal(b []byte) error

type DeleteIncidentRoleAssignmentRequest

type DeleteIncidentRoleAssignmentRequest struct {
	// Required. Resource name of the role assignment.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for deleting a role assignment.

func (*DeleteIncidentRoleAssignmentRequest) Descriptor

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

func (*DeleteIncidentRoleAssignmentRequest) GetName

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage()

func (*DeleteIncidentRoleAssignmentRequest) Reset

func (*DeleteIncidentRoleAssignmentRequest) String

func (*DeleteIncidentRoleAssignmentRequest) XXX_DiscardUnknown

func (m *DeleteIncidentRoleAssignmentRequest) XXX_DiscardUnknown()

func (*DeleteIncidentRoleAssignmentRequest) XXX_Marshal

func (m *DeleteIncidentRoleAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteIncidentRoleAssignmentRequest) XXX_Merge

func (*DeleteIncidentRoleAssignmentRequest) XXX_Size

func (*DeleteIncidentRoleAssignmentRequest) XXX_Unmarshal

func (m *DeleteIncidentRoleAssignmentRequest) XXX_Unmarshal(b []byte) error

type DeleteSubscriptionRequest

type DeleteSubscriptionRequest struct {
	// Required. Resource name of the subscription.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for deleting a subscription.

func (*DeleteSubscriptionRequest) Descriptor

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

func (*DeleteSubscriptionRequest) GetName

func (m *DeleteSubscriptionRequest) GetName() string

func (*DeleteSubscriptionRequest) ProtoMessage

func (*DeleteSubscriptionRequest) ProtoMessage()

func (*DeleteSubscriptionRequest) Reset

func (m *DeleteSubscriptionRequest) Reset()

func (*DeleteSubscriptionRequest) String

func (m *DeleteSubscriptionRequest) String() string

func (*DeleteSubscriptionRequest) XXX_DiscardUnknown

func (m *DeleteSubscriptionRequest) XXX_DiscardUnknown()

func (*DeleteSubscriptionRequest) XXX_Marshal

func (m *DeleteSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteSubscriptionRequest) XXX_Merge

func (m *DeleteSubscriptionRequest) XXX_Merge(src proto.Message)

func (*DeleteSubscriptionRequest) XXX_Size

func (m *DeleteSubscriptionRequest) XXX_Size() int

func (*DeleteSubscriptionRequest) XXX_Unmarshal

func (m *DeleteSubscriptionRequest) XXX_Unmarshal(b []byte) error

type DeleteTagRequest

type DeleteTagRequest struct {
	// Required. Resource name of the tag.
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the DeleteTag method.

func (*DeleteTagRequest) Descriptor

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

func (*DeleteTagRequest) GetName

func (m *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) Reset

func (m *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String

func (m *DeleteTagRequest) String() string

func (*DeleteTagRequest) XXX_DiscardUnknown

func (m *DeleteTagRequest) XXX_DiscardUnknown()

func (*DeleteTagRequest) XXX_Marshal

func (m *DeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteTagRequest) XXX_Merge

func (m *DeleteTagRequest) XXX_Merge(src proto.Message)

func (*DeleteTagRequest) XXX_Size

func (m *DeleteTagRequest) XXX_Size() int

func (*DeleteTagRequest) XXX_Unmarshal

func (m *DeleteTagRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Request to escalate an incident.

func (*EscalateIncidentRequest) Descriptor

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

func (*EscalateIncidentRequest) GetArtifacts

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

func (*EscalateIncidentRequest) GetIncident

func (m *EscalateIncidentRequest) GetIncident() *Incident

func (*EscalateIncidentRequest) GetRoles

func (*EscalateIncidentRequest) GetSubscriptions

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

func (*EscalateIncidentRequest) GetTags

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

func (*EscalateIncidentRequest) GetUpdateMask

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

func (*EscalateIncidentRequest) ProtoMessage

func (*EscalateIncidentRequest) ProtoMessage()

func (*EscalateIncidentRequest) Reset

func (m *EscalateIncidentRequest) Reset()

func (*EscalateIncidentRequest) String

func (m *EscalateIncidentRequest) String() string

func (*EscalateIncidentRequest) XXX_DiscardUnknown

func (m *EscalateIncidentRequest) XXX_DiscardUnknown()

func (*EscalateIncidentRequest) XXX_Marshal

func (m *EscalateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EscalateIncidentRequest) XXX_Merge

func (m *EscalateIncidentRequest) XXX_Merge(src proto.Message)

func (*EscalateIncidentRequest) XXX_Size

func (m *EscalateIncidentRequest) XXX_Size() int

func (*EscalateIncidentRequest) XXX_Unmarshal

func (m *EscalateIncidentRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Response for EscalateIncident.

func (*EscalateIncidentResponse) Descriptor

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

func (*EscalateIncidentResponse) GetArtifacts

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

func (*EscalateIncidentResponse) GetIncident

func (m *EscalateIncidentResponse) GetIncident() *Incident

func (*EscalateIncidentResponse) GetRoles

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

func (*EscalateIncidentResponse) GetSubscriptions

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

func (*EscalateIncidentResponse) GetTags

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

func (*EscalateIncidentResponse) ProtoMessage

func (*EscalateIncidentResponse) ProtoMessage()

func (*EscalateIncidentResponse) Reset

func (m *EscalateIncidentResponse) Reset()

func (*EscalateIncidentResponse) String

func (m *EscalateIncidentResponse) String() string

func (*EscalateIncidentResponse) XXX_DiscardUnknown

func (m *EscalateIncidentResponse) XXX_DiscardUnknown()

func (*EscalateIncidentResponse) XXX_Marshal

func (m *EscalateIncidentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EscalateIncidentResponse) XXX_Merge

func (m *EscalateIncidentResponse) XXX_Merge(src proto.Message)

func (*EscalateIncidentResponse) XXX_Size

func (m *EscalateIncidentResponse) XXX_Size() int

func (*EscalateIncidentResponse) XXX_Unmarshal

func (m *EscalateIncidentResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to force a role handover.

func (*ForceIncidentRoleHandoverRequest) Descriptor

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

func (*ForceIncidentRoleHandoverRequest) GetName

func (*ForceIncidentRoleHandoverRequest) GetNewAssignee

func (m *ForceIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ForceIncidentRoleHandoverRequest) ProtoMessage

func (*ForceIncidentRoleHandoverRequest) ProtoMessage()

func (*ForceIncidentRoleHandoverRequest) Reset

func (*ForceIncidentRoleHandoverRequest) String

func (*ForceIncidentRoleHandoverRequest) XXX_DiscardUnknown

func (m *ForceIncidentRoleHandoverRequest) XXX_DiscardUnknown()

func (*ForceIncidentRoleHandoverRequest) XXX_Marshal

func (m *ForceIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForceIncidentRoleHandoverRequest) XXX_Merge

func (*ForceIncidentRoleHandoverRequest) XXX_Size

func (m *ForceIncidentRoleHandoverRequest) XXX_Size() int

func (*ForceIncidentRoleHandoverRequest) XXX_Unmarshal

func (m *ForceIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the GetIncident method.

func (*GetIncidentRequest) Descriptor

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

func (*GetIncidentRequest) GetName

func (m *GetIncidentRequest) GetName() string

func (*GetIncidentRequest) ProtoMessage

func (*GetIncidentRequest) ProtoMessage()

func (*GetIncidentRequest) Reset

func (m *GetIncidentRequest) Reset()

func (*GetIncidentRequest) String

func (m *GetIncidentRequest) String() string

func (*GetIncidentRequest) XXX_DiscardUnknown

func (m *GetIncidentRequest) XXX_DiscardUnknown()

func (*GetIncidentRequest) XXX_Marshal

func (m *GetIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetIncidentRequest) XXX_Merge

func (m *GetIncidentRequest) XXX_Merge(src proto.Message)

func (*GetIncidentRequest) XXX_Size

func (m *GetIncidentRequest) XXX_Size() int

func (*GetIncidentRequest) XXX_Unmarshal

func (m *GetIncidentRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the GetSignal method.

func (*GetSignalRequest) Descriptor

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

func (*GetSignalRequest) GetName

func (m *GetSignalRequest) GetName() string

func (*GetSignalRequest) ProtoMessage

func (*GetSignalRequest) ProtoMessage()

func (*GetSignalRequest) Reset

func (m *GetSignalRequest) Reset()

func (*GetSignalRequest) String

func (m *GetSignalRequest) String() string

func (*GetSignalRequest) XXX_DiscardUnknown

func (m *GetSignalRequest) XXX_DiscardUnknown()

func (*GetSignalRequest) XXX_Marshal

func (m *GetSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSignalRequest) XXX_Merge

func (m *GetSignalRequest) XXX_Merge(src proto.Message)

func (*GetSignalRequest) XXX_Size

func (m *GetSignalRequest) XXX_Size() int

func (*GetSignalRequest) XXX_Unmarshal

func (m *GetSignalRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

Representation of an incident.

func (*Incident) Descriptor

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

func (*Incident) GetCommunicationVenue

func (m *Incident) GetCommunicationVenue() *Incident_CommunicationVenue

func (*Incident) GetDuplicateIncident

func (m *Incident) GetDuplicateIncident() string

func (*Incident) GetEscalationLevel

func (m *Incident) GetEscalationLevel() Incident_EscalationLevel

func (*Incident) GetEtag

func (m *Incident) GetEtag() string

func (*Incident) GetName

func (m *Incident) GetName() string

func (*Incident) GetSeverity

func (m *Incident) GetSeverity() Incident_Severity

func (*Incident) GetStage

func (m *Incident) GetStage() Incident_Stage

func (*Incident) GetStartTime

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

func (*Incident) GetSynopsis

func (m *Incident) GetSynopsis() *Synopsis

func (*Incident) GetTitle

func (m *Incident) GetTitle() string

func (*Incident) ProtoMessage

func (*Incident) ProtoMessage()

func (*Incident) Reset

func (m *Incident) Reset()

func (*Incident) String

func (m *Incident) String() string

func (*Incident) XXX_DiscardUnknown

func (m *Incident) XXX_DiscardUnknown()

func (*Incident) XXX_Marshal

func (m *Incident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Incident) XXX_Merge

func (m *Incident) XXX_Merge(src proto.Message)

func (*Incident) XXX_Size

func (m *Incident) XXX_Size() int

func (*Incident) XXX_Unmarshal

func (m *Incident) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes a role that can be assigned to an incident.

func (*IncidentRole) Descriptor

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

func (*IncidentRole) GetDescription

func (m *IncidentRole) GetDescription() string

func (*IncidentRole) GetTitle

func (m *IncidentRole) GetTitle() string

func (*IncidentRole) GetType

func (m *IncidentRole) GetType() IncidentRole_Type

func (*IncidentRole) ProtoMessage

func (*IncidentRole) ProtoMessage()

func (*IncidentRole) Reset

func (m *IncidentRole) Reset()

func (*IncidentRole) String

func (m *IncidentRole) String() string

func (*IncidentRole) XXX_DiscardUnknown

func (m *IncidentRole) XXX_DiscardUnknown()

func (*IncidentRole) XXX_Marshal

func (m *IncidentRole) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncidentRole) XXX_Merge

func (m *IncidentRole) XXX_Merge(src proto.Message)

func (*IncidentRole) XXX_Size

func (m *IncidentRole) XXX_Size() int

func (*IncidentRole) XXX_Unmarshal

func (m *IncidentRole) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Stores the assignee of a role as well as the proposed next assignee.

func (*IncidentRoleAssignment) Descriptor

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

func (*IncidentRoleAssignment) GetAssignee

func (m *IncidentRoleAssignment) GetAssignee() *User

func (*IncidentRoleAssignment) GetEtag

func (m *IncidentRoleAssignment) GetEtag() string

func (*IncidentRoleAssignment) GetName

func (m *IncidentRoleAssignment) GetName() string

func (*IncidentRoleAssignment) GetProposedAssignee

func (m *IncidentRoleAssignment) GetProposedAssignee() *User

func (*IncidentRoleAssignment) GetRole

func (m *IncidentRoleAssignment) GetRole() *IncidentRole

func (*IncidentRoleAssignment) ProtoMessage

func (*IncidentRoleAssignment) ProtoMessage()

func (*IncidentRoleAssignment) Reset

func (m *IncidentRoleAssignment) Reset()

func (*IncidentRoleAssignment) String

func (m *IncidentRoleAssignment) String() string

func (*IncidentRoleAssignment) XXX_DiscardUnknown

func (m *IncidentRoleAssignment) XXX_DiscardUnknown()

func (*IncidentRoleAssignment) XXX_Marshal

func (m *IncidentRoleAssignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IncidentRoleAssignment) XXX_Merge

func (m *IncidentRoleAssignment) XXX_Merge(src proto.Message)

func (*IncidentRoleAssignment) XXX_Size

func (m *IncidentRoleAssignment) XXX_Size() int

func (*IncidentRoleAssignment) XXX_Unmarshal

func (m *IncidentRoleAssignment) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (IncidentRole_Type) String

func (x IncidentRole_Type) String() string

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 */
	XXX_NoUnkeyedLiteral struct{}                                `json:"-"`
	XXX_unrecognized     []byte                                  `json:"-"`
	XXX_sizecache        int32                                   `json:"-"`
}

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

func (*Incident_CommunicationVenue) Descriptor

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

func (*Incident_CommunicationVenue) GetChannelType

func (*Incident_CommunicationVenue) GetDisplayName

func (m *Incident_CommunicationVenue) GetDisplayName() string

func (*Incident_CommunicationVenue) GetUri

func (m *Incident_CommunicationVenue) GetUri() string

func (*Incident_CommunicationVenue) ProtoMessage

func (*Incident_CommunicationVenue) ProtoMessage()

func (*Incident_CommunicationVenue) Reset

func (m *Incident_CommunicationVenue) Reset()

func (*Incident_CommunicationVenue) String

func (m *Incident_CommunicationVenue) String() string

func (*Incident_CommunicationVenue) XXX_DiscardUnknown

func (m *Incident_CommunicationVenue) XXX_DiscardUnknown()

func (*Incident_CommunicationVenue) XXX_Marshal

func (m *Incident_CommunicationVenue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Incident_CommunicationVenue) XXX_Merge

func (m *Incident_CommunicationVenue) XXX_Merge(src proto.Message)

func (*Incident_CommunicationVenue) XXX_Size

func (m *Incident_CommunicationVenue) XXX_Size() int

func (*Incident_CommunicationVenue) XXX_Unmarshal

func (m *Incident_CommunicationVenue) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Incident_CommunicationVenue_ChannelType) String

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) EnumDescriptor

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

func (Incident_EscalationLevel) String

func (x Incident_EscalationLevel) String() string

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) EnumDescriptor

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

func (Incident_Severity) String

func (x Incident_Severity) String() string

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) EnumDescriptor

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

func (Incident_Stage) String

func (x Incident_Stage) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the ListAnnotations method.

func (*ListAnnotationsRequest) Descriptor

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

func (*ListAnnotationsRequest) GetPageSize

func (m *ListAnnotationsRequest) GetPageSize() int32

func (*ListAnnotationsRequest) GetPageToken

func (m *ListAnnotationsRequest) GetPageToken() string

func (*ListAnnotationsRequest) GetParent

func (m *ListAnnotationsRequest) GetParent() string

func (*ListAnnotationsRequest) ProtoMessage

func (*ListAnnotationsRequest) ProtoMessage()

func (*ListAnnotationsRequest) Reset

func (m *ListAnnotationsRequest) Reset()

func (*ListAnnotationsRequest) String

func (m *ListAnnotationsRequest) String() string

func (*ListAnnotationsRequest) XXX_DiscardUnknown

func (m *ListAnnotationsRequest) XXX_DiscardUnknown()

func (*ListAnnotationsRequest) XXX_Marshal

func (m *ListAnnotationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotationsRequest) XXX_Merge

func (m *ListAnnotationsRequest) XXX_Merge(src proto.Message)

func (*ListAnnotationsRequest) XXX_Size

func (m *ListAnnotationsRequest) XXX_Size() int

func (*ListAnnotationsRequest) XXX_Unmarshal

func (m *ListAnnotationsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the ListAnnotations method.

func (*ListAnnotationsResponse) Descriptor

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

func (*ListAnnotationsResponse) GetAnnotations

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

func (*ListAnnotationsResponse) GetNextPageToken

func (m *ListAnnotationsResponse) GetNextPageToken() string

func (*ListAnnotationsResponse) ProtoMessage

func (*ListAnnotationsResponse) ProtoMessage()

func (*ListAnnotationsResponse) Reset

func (m *ListAnnotationsResponse) Reset()

func (*ListAnnotationsResponse) String

func (m *ListAnnotationsResponse) String() string

func (*ListAnnotationsResponse) XXX_DiscardUnknown

func (m *ListAnnotationsResponse) XXX_DiscardUnknown()

func (*ListAnnotationsResponse) XXX_Marshal

func (m *ListAnnotationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListAnnotationsResponse) XXX_Merge

func (m *ListAnnotationsResponse) XXX_Merge(src proto.Message)

func (*ListAnnotationsResponse) XXX_Size

func (m *ListAnnotationsResponse) XXX_Size() int

func (*ListAnnotationsResponse) XXX_Unmarshal

func (m *ListAnnotationsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the ListArtifacts method.

func (*ListArtifactsRequest) Descriptor

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

func (*ListArtifactsRequest) GetPageSize

func (m *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken

func (m *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent

func (m *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) Reset

func (m *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String

func (m *ListArtifactsRequest) String() string

func (*ListArtifactsRequest) XXX_DiscardUnknown

func (m *ListArtifactsRequest) XXX_DiscardUnknown()

func (*ListArtifactsRequest) XXX_Marshal

func (m *ListArtifactsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListArtifactsRequest) XXX_Merge

func (m *ListArtifactsRequest) XXX_Merge(src proto.Message)

func (*ListArtifactsRequest) XXX_Size

func (m *ListArtifactsRequest) XXX_Size() int

func (*ListArtifactsRequest) XXX_Unmarshal

func (m *ListArtifactsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the ListArtifacts method.

func (*ListArtifactsResponse) Descriptor

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

func (*ListArtifactsResponse) GetArtifacts

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

func (*ListArtifactsResponse) GetNextPageToken

func (m *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) Reset

func (m *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String

func (m *ListArtifactsResponse) String() string

func (*ListArtifactsResponse) XXX_DiscardUnknown

func (m *ListArtifactsResponse) XXX_DiscardUnknown()

func (*ListArtifactsResponse) XXX_Marshal

func (m *ListArtifactsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListArtifactsResponse) XXX_Merge

func (m *ListArtifactsResponse) XXX_Merge(src proto.Message)

func (*ListArtifactsResponse) XXX_Size

func (m *ListArtifactsResponse) XXX_Size() int

func (*ListArtifactsResponse) XXX_Unmarshal

func (m *ListArtifactsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to list role assignments of an incident.

func (*ListIncidentRoleAssignmentsRequest) Descriptor

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

func (*ListIncidentRoleAssignmentsRequest) GetPageSize

func (m *ListIncidentRoleAssignmentsRequest) GetPageSize() int32

func (*ListIncidentRoleAssignmentsRequest) GetPageToken

func (m *ListIncidentRoleAssignmentsRequest) GetPageToken() string

func (*ListIncidentRoleAssignmentsRequest) GetParent

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage()

func (*ListIncidentRoleAssignmentsRequest) Reset

func (*ListIncidentRoleAssignmentsRequest) String

func (*ListIncidentRoleAssignmentsRequest) XXX_DiscardUnknown

func (m *ListIncidentRoleAssignmentsRequest) XXX_DiscardUnknown()

func (*ListIncidentRoleAssignmentsRequest) XXX_Marshal

func (m *ListIncidentRoleAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListIncidentRoleAssignmentsRequest) XXX_Merge

func (*ListIncidentRoleAssignmentsRequest) XXX_Size

func (*ListIncidentRoleAssignmentsRequest) XXX_Unmarshal

func (m *ListIncidentRoleAssignmentsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the ListIncidentRoleAssignments method.

func (*ListIncidentRoleAssignmentsResponse) Descriptor

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

func (*ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments

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

func (*ListIncidentRoleAssignmentsResponse) GetNextPageToken

func (m *ListIncidentRoleAssignmentsResponse) GetNextPageToken() string

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage()

func (*ListIncidentRoleAssignmentsResponse) Reset

func (*ListIncidentRoleAssignmentsResponse) String

func (*ListIncidentRoleAssignmentsResponse) XXX_DiscardUnknown

func (m *ListIncidentRoleAssignmentsResponse) XXX_DiscardUnknown()

func (*ListIncidentRoleAssignmentsResponse) XXX_Marshal

func (m *ListIncidentRoleAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListIncidentRoleAssignmentsResponse) XXX_Merge

func (*ListIncidentRoleAssignmentsResponse) XXX_Size

func (*ListIncidentRoleAssignmentsResponse) XXX_Unmarshal

func (m *ListIncidentRoleAssignmentsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the ListSubscriptions method.

func (*ListSubscriptionsRequest) Descriptor

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

func (*ListSubscriptionsRequest) GetPageSize

func (m *ListSubscriptionsRequest) GetPageSize() int32

func (*ListSubscriptionsRequest) GetPageToken

func (m *ListSubscriptionsRequest) GetPageToken() string

func (*ListSubscriptionsRequest) GetParent

func (m *ListSubscriptionsRequest) GetParent() string

func (*ListSubscriptionsRequest) ProtoMessage

func (*ListSubscriptionsRequest) ProtoMessage()

func (*ListSubscriptionsRequest) Reset

func (m *ListSubscriptionsRequest) Reset()

func (*ListSubscriptionsRequest) String

func (m *ListSubscriptionsRequest) String() string

func (*ListSubscriptionsRequest) XXX_DiscardUnknown

func (m *ListSubscriptionsRequest) XXX_DiscardUnknown()

func (*ListSubscriptionsRequest) XXX_Marshal

func (m *ListSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSubscriptionsRequest) XXX_Merge

func (m *ListSubscriptionsRequest) XXX_Merge(src proto.Message)

func (*ListSubscriptionsRequest) XXX_Size

func (m *ListSubscriptionsRequest) XXX_Size() int

func (*ListSubscriptionsRequest) XXX_Unmarshal

func (m *ListSubscriptionsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the ListSubscriptions method.

func (*ListSubscriptionsResponse) Descriptor

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

func (*ListSubscriptionsResponse) GetNextPageToken

func (m *ListSubscriptionsResponse) GetNextPageToken() string

func (*ListSubscriptionsResponse) GetSubscriptions

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

func (*ListSubscriptionsResponse) ProtoMessage

func (*ListSubscriptionsResponse) ProtoMessage()

func (*ListSubscriptionsResponse) Reset

func (m *ListSubscriptionsResponse) Reset()

func (*ListSubscriptionsResponse) String

func (m *ListSubscriptionsResponse) String() string

func (*ListSubscriptionsResponse) XXX_DiscardUnknown

func (m *ListSubscriptionsResponse) XXX_DiscardUnknown()

func (*ListSubscriptionsResponse) XXX_Marshal

func (m *ListSubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSubscriptionsResponse) XXX_Merge

func (m *ListSubscriptionsResponse) XXX_Merge(src proto.Message)

func (*ListSubscriptionsResponse) XXX_Size

func (m *ListSubscriptionsResponse) XXX_Size() int

func (*ListSubscriptionsResponse) XXX_Unmarshal

func (m *ListSubscriptionsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the ListTagsForIncident method.

func (*ListTagsRequest) Descriptor

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

func (*ListTagsRequest) GetPageSize

func (m *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken

func (m *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent

func (m *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) Reset

func (m *ListTagsRequest) Reset()

func (*ListTagsRequest) String

func (m *ListTagsRequest) String() string

func (*ListTagsRequest) XXX_DiscardUnknown

func (m *ListTagsRequest) XXX_DiscardUnknown()

func (*ListTagsRequest) XXX_Marshal

func (m *ListTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTagsRequest) XXX_Merge

func (m *ListTagsRequest) XXX_Merge(src proto.Message)

func (*ListTagsRequest) XXX_Size

func (m *ListTagsRequest) XXX_Size() int

func (*ListTagsRequest) XXX_Unmarshal

func (m *ListTagsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the ListTagsForIncident method.

func (*ListTagsResponse) Descriptor

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

func (*ListTagsResponse) GetNextPageToken

func (m *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags

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

func (*ListTagsResponse) ProtoMessage

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) Reset

func (m *ListTagsResponse) Reset()

func (*ListTagsResponse) String

func (m *ListTagsResponse) String() string

func (*ListTagsResponse) XXX_DiscardUnknown

func (m *ListTagsResponse) XXX_DiscardUnknown()

func (*ListTagsResponse) XXX_Marshal

func (m *ListTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListTagsResponse) XXX_Merge

func (m *ListTagsResponse) XXX_Merge(src proto.Message)

func (*ListTagsResponse) XXX_Size

func (m *ListTagsResponse) XXX_Size() int

func (*ListTagsResponse) XXX_Unmarshal

func (m *ListTagsResponse) XXX_Unmarshal(b []byte) error

type LookupSignalRequest

type LookupSignalRequest struct {
	// The ID to use for lookup.
	//
	// Types that are valid to be assigned to AlternateId:
	//	*LookupSignalRequest_CsccFinding
	//	*LookupSignalRequest_StackdriverNotificationId
	AlternateId          isLookupSignalRequest_AlternateId `protobuf_oneof:"alternate_id"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Request for the LookupSignal method.

func (*LookupSignalRequest) Descriptor

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

func (*LookupSignalRequest) GetAlternateId

func (m *LookupSignalRequest) GetAlternateId() isLookupSignalRequest_AlternateId

func (*LookupSignalRequest) GetCsccFinding

func (m *LookupSignalRequest) GetCsccFinding() string

func (*LookupSignalRequest) GetStackdriverNotificationId

func (m *LookupSignalRequest) GetStackdriverNotificationId() string

func (*LookupSignalRequest) ProtoMessage

func (*LookupSignalRequest) ProtoMessage()

func (*LookupSignalRequest) Reset

func (m *LookupSignalRequest) Reset()

func (*LookupSignalRequest) String

func (m *LookupSignalRequest) String() string

func (*LookupSignalRequest) XXX_DiscardUnknown

func (m *LookupSignalRequest) XXX_DiscardUnknown()

func (*LookupSignalRequest) XXX_Marshal

func (m *LookupSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LookupSignalRequest) XXX_Merge

func (m *LookupSignalRequest) XXX_Merge(src proto.Message)

func (*LookupSignalRequest) XXX_OneofWrappers

func (*LookupSignalRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*LookupSignalRequest) XXX_Size

func (m *LookupSignalRequest) XXX_Size() int

func (*LookupSignalRequest) XXX_Unmarshal

func (m *LookupSignalRequest) XXX_Unmarshal(b []byte) error

type LookupSignalRequest_CsccFinding

type LookupSignalRequest_CsccFinding struct {
	CsccFinding string `protobuf:"bytes,2,opt,name=cscc_finding,json=csccFinding,proto3,oneof"`
}

type LookupSignalRequest_StackdriverNotificationId

type LookupSignalRequest_StackdriverNotificationId struct {
	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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request to start a role handover.

func (*RequestIncidentRoleHandoverRequest) Descriptor

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

func (*RequestIncidentRoleHandoverRequest) GetName

func (*RequestIncidentRoleHandoverRequest) GetNewAssignee

func (m *RequestIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*RequestIncidentRoleHandoverRequest) ProtoMessage

func (*RequestIncidentRoleHandoverRequest) ProtoMessage()

func (*RequestIncidentRoleHandoverRequest) Reset

func (*RequestIncidentRoleHandoverRequest) String

func (*RequestIncidentRoleHandoverRequest) XXX_DiscardUnknown

func (m *RequestIncidentRoleHandoverRequest) XXX_DiscardUnknown()

func (*RequestIncidentRoleHandoverRequest) XXX_Marshal

func (m *RequestIncidentRoleHandoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestIncidentRoleHandoverRequest) XXX_Merge

func (*RequestIncidentRoleHandoverRequest) XXX_Size

func (*RequestIncidentRoleHandoverRequest) XXX_Unmarshal

func (m *RequestIncidentRoleHandoverRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the SearchIncidents method.

func (*SearchIncidentsRequest) Descriptor

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

func (*SearchIncidentsRequest) GetPageSize

func (m *SearchIncidentsRequest) GetPageSize() int32

func (*SearchIncidentsRequest) GetPageToken

func (m *SearchIncidentsRequest) GetPageToken() string

func (*SearchIncidentsRequest) GetParent

func (m *SearchIncidentsRequest) GetParent() string

func (*SearchIncidentsRequest) GetQuery

func (m *SearchIncidentsRequest) GetQuery() string

func (*SearchIncidentsRequest) GetTimeZone

func (m *SearchIncidentsRequest) GetTimeZone() string

func (*SearchIncidentsRequest) ProtoMessage

func (*SearchIncidentsRequest) ProtoMessage()

func (*SearchIncidentsRequest) Reset

func (m *SearchIncidentsRequest) Reset()

func (*SearchIncidentsRequest) String

func (m *SearchIncidentsRequest) String() string

func (*SearchIncidentsRequest) XXX_DiscardUnknown

func (m *SearchIncidentsRequest) XXX_DiscardUnknown()

func (*SearchIncidentsRequest) XXX_Marshal

func (m *SearchIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchIncidentsRequest) XXX_Merge

func (m *SearchIncidentsRequest) XXX_Merge(src proto.Message)

func (*SearchIncidentsRequest) XXX_Size

func (m *SearchIncidentsRequest) XXX_Size() int

func (*SearchIncidentsRequest) XXX_Unmarshal

func (m *SearchIncidentsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the SearchIncidents method.

func (*SearchIncidentsResponse) Descriptor

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

func (*SearchIncidentsResponse) GetIncidents

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

func (*SearchIncidentsResponse) GetNextPageToken

func (m *SearchIncidentsResponse) GetNextPageToken() string

func (*SearchIncidentsResponse) ProtoMessage

func (*SearchIncidentsResponse) ProtoMessage()

func (*SearchIncidentsResponse) Reset

func (m *SearchIncidentsResponse) Reset()

func (*SearchIncidentsResponse) String

func (m *SearchIncidentsResponse) String() string

func (*SearchIncidentsResponse) XXX_DiscardUnknown

func (m *SearchIncidentsResponse) XXX_DiscardUnknown()

func (*SearchIncidentsResponse) XXX_Marshal

func (m *SearchIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchIncidentsResponse) XXX_Merge

func (m *SearchIncidentsResponse) XXX_Merge(src proto.Message)

func (*SearchIncidentsResponse) XXX_Size

func (m *SearchIncidentsResponse) XXX_Size() int

func (*SearchIncidentsResponse) XXX_Unmarshal

func (m *SearchIncidentsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the SearchSignals method.

func (*SearchSignalsRequest) Descriptor

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

func (*SearchSignalsRequest) GetPageSize

func (m *SearchSignalsRequest) GetPageSize() int32

func (*SearchSignalsRequest) GetPageToken

func (m *SearchSignalsRequest) GetPageToken() string

func (*SearchSignalsRequest) GetParent

func (m *SearchSignalsRequest) GetParent() string

func (*SearchSignalsRequest) GetQuery

func (m *SearchSignalsRequest) GetQuery() string

func (*SearchSignalsRequest) ProtoMessage

func (*SearchSignalsRequest) ProtoMessage()

func (*SearchSignalsRequest) Reset

func (m *SearchSignalsRequest) Reset()

func (*SearchSignalsRequest) String

func (m *SearchSignalsRequest) String() string

func (*SearchSignalsRequest) XXX_DiscardUnknown

func (m *SearchSignalsRequest) XXX_DiscardUnknown()

func (*SearchSignalsRequest) XXX_Marshal

func (m *SearchSignalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSignalsRequest) XXX_Merge

func (m *SearchSignalsRequest) XXX_Merge(src proto.Message)

func (*SearchSignalsRequest) XXX_Size

func (m *SearchSignalsRequest) XXX_Size() int

func (*SearchSignalsRequest) XXX_Unmarshal

func (m *SearchSignalsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the SearchSignals method.

func (*SearchSignalsResponse) Descriptor

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

func (*SearchSignalsResponse) GetNextPageToken

func (m *SearchSignalsResponse) GetNextPageToken() string

func (*SearchSignalsResponse) GetSignals

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

func (*SearchSignalsResponse) ProtoMessage

func (*SearchSignalsResponse) ProtoMessage()

func (*SearchSignalsResponse) Reset

func (m *SearchSignalsResponse) Reset()

func (*SearchSignalsResponse) String

func (m *SearchSignalsResponse) String() string

func (*SearchSignalsResponse) XXX_DiscardUnknown

func (m *SearchSignalsResponse) XXX_DiscardUnknown()

func (*SearchSignalsResponse) XXX_Marshal

func (m *SearchSignalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSignalsResponse) XXX_Merge

func (m *SearchSignalsResponse) XXX_Merge(src proto.Message)

func (*SearchSignalsResponse) XXX_Size

func (m *SearchSignalsResponse) XXX_Size() int

func (*SearchSignalsResponse) XXX_Unmarshal

func (m *SearchSignalsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Request for the SearchSimilarIncidents method.

func (*SearchSimilarIncidentsRequest) Descriptor

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

func (*SearchSimilarIncidentsRequest) GetName

func (*SearchSimilarIncidentsRequest) GetPageSize

func (m *SearchSimilarIncidentsRequest) GetPageSize() int32

func (*SearchSimilarIncidentsRequest) GetPageToken

func (m *SearchSimilarIncidentsRequest) GetPageToken() string

func (*SearchSimilarIncidentsRequest) ProtoMessage

func (*SearchSimilarIncidentsRequest) ProtoMessage()

func (*SearchSimilarIncidentsRequest) Reset

func (m *SearchSimilarIncidentsRequest) Reset()

func (*SearchSimilarIncidentsRequest) String

func (*SearchSimilarIncidentsRequest) XXX_DiscardUnknown

func (m *SearchSimilarIncidentsRequest) XXX_DiscardUnknown()

func (*SearchSimilarIncidentsRequest) XXX_Marshal

func (m *SearchSimilarIncidentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSimilarIncidentsRequest) XXX_Merge

func (m *SearchSimilarIncidentsRequest) XXX_Merge(src proto.Message)

func (*SearchSimilarIncidentsRequest) XXX_Size

func (m *SearchSimilarIncidentsRequest) XXX_Size() int

func (*SearchSimilarIncidentsRequest) XXX_Unmarshal

func (m *SearchSimilarIncidentsRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response for the SearchSimilarIncidents method.

func (*SearchSimilarIncidentsResponse) Descriptor

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

func (*SearchSimilarIncidentsResponse) GetNextPageToken

func (m *SearchSimilarIncidentsResponse) GetNextPageToken() string

func (*SearchSimilarIncidentsResponse) GetResults

func (*SearchSimilarIncidentsResponse) ProtoMessage

func (*SearchSimilarIncidentsResponse) ProtoMessage()

func (*SearchSimilarIncidentsResponse) Reset

func (m *SearchSimilarIncidentsResponse) Reset()

func (*SearchSimilarIncidentsResponse) String

func (*SearchSimilarIncidentsResponse) XXX_DiscardUnknown

func (m *SearchSimilarIncidentsResponse) XXX_DiscardUnknown()

func (*SearchSimilarIncidentsResponse) XXX_Marshal

func (m *SearchSimilarIncidentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSimilarIncidentsResponse) XXX_Merge

func (m *SearchSimilarIncidentsResponse) XXX_Merge(src proto.Message)

func (*SearchSimilarIncidentsResponse) XXX_Size

func (m *SearchSimilarIncidentsResponse) XXX_Size() int

func (*SearchSimilarIncidentsResponse) XXX_Unmarshal

func (m *SearchSimilarIncidentsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

A single search result, i.e. an incident with (potentially) additional information.

func (*SearchSimilarIncidentsResponse_Result) Descriptor

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

func (*SearchSimilarIncidentsResponse_Result) GetIncident

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage()

func (*SearchSimilarIncidentsResponse_Result) Reset

func (*SearchSimilarIncidentsResponse_Result) String

func (*SearchSimilarIncidentsResponse_Result) XXX_DiscardUnknown

func (m *SearchSimilarIncidentsResponse_Result) XXX_DiscardUnknown()

func (*SearchSimilarIncidentsResponse_Result) XXX_Marshal

func (m *SearchSimilarIncidentsResponse_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SearchSimilarIncidentsResponse_Result) XXX_Merge

func (*SearchSimilarIncidentsResponse_Result) XXX_Size

func (*SearchSimilarIncidentsResponse_Result) XXX_Unmarshal

func (m *SearchSimilarIncidentsResponse_Result) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SendShiftHandoff and PreviewShiftHandoff RPC request.

func (*SendShiftHandoffRequest) Descriptor

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

func (*SendShiftHandoffRequest) GetCc

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

func (*SendShiftHandoffRequest) GetIncidents

func (*SendShiftHandoffRequest) GetNotesContent

func (m *SendShiftHandoffRequest) GetNotesContent() string

func (*SendShiftHandoffRequest) GetNotesContentType

func (m *SendShiftHandoffRequest) GetNotesContentType() string

func (*SendShiftHandoffRequest) GetParent

func (m *SendShiftHandoffRequest) GetParent() string

func (*SendShiftHandoffRequest) GetPreviewOnly

func (m *SendShiftHandoffRequest) GetPreviewOnly() bool

func (*SendShiftHandoffRequest) GetRecipients

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

func (*SendShiftHandoffRequest) GetSubject

func (m *SendShiftHandoffRequest) GetSubject() string

func (*SendShiftHandoffRequest) ProtoMessage

func (*SendShiftHandoffRequest) ProtoMessage()

func (*SendShiftHandoffRequest) Reset

func (m *SendShiftHandoffRequest) Reset()

func (*SendShiftHandoffRequest) String

func (m *SendShiftHandoffRequest) String() string

func (*SendShiftHandoffRequest) XXX_DiscardUnknown

func (m *SendShiftHandoffRequest) XXX_DiscardUnknown()

func (*SendShiftHandoffRequest) XXX_Marshal

func (m *SendShiftHandoffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendShiftHandoffRequest) XXX_Merge

func (m *SendShiftHandoffRequest) XXX_Merge(src proto.Message)

func (*SendShiftHandoffRequest) XXX_Size

func (m *SendShiftHandoffRequest) XXX_Size() int

func (*SendShiftHandoffRequest) XXX_Unmarshal

func (m *SendShiftHandoffRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*SendShiftHandoffRequest_Incident) GetName

func (*SendShiftHandoffRequest_Incident) ProtoMessage

func (*SendShiftHandoffRequest_Incident) ProtoMessage()

func (*SendShiftHandoffRequest_Incident) Reset

func (*SendShiftHandoffRequest_Incident) String

func (*SendShiftHandoffRequest_Incident) XXX_DiscardUnknown

func (m *SendShiftHandoffRequest_Incident) XXX_DiscardUnknown()

func (*SendShiftHandoffRequest_Incident) XXX_Marshal

func (m *SendShiftHandoffRequest_Incident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendShiftHandoffRequest_Incident) XXX_Merge

func (*SendShiftHandoffRequest_Incident) XXX_Size

func (m *SendShiftHandoffRequest_Incident) XXX_Size() int

func (*SendShiftHandoffRequest_Incident) XXX_Unmarshal

func (m *SendShiftHandoffRequest_Incident) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SendShiftHandoff and PreviewShiftHandoff RPC response.

func (*SendShiftHandoffResponse) Descriptor

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

func (*SendShiftHandoffResponse) GetContent

func (m *SendShiftHandoffResponse) GetContent() string

func (*SendShiftHandoffResponse) GetContentType

func (m *SendShiftHandoffResponse) GetContentType() string

func (*SendShiftHandoffResponse) ProtoMessage

func (*SendShiftHandoffResponse) ProtoMessage()

func (*SendShiftHandoffResponse) Reset

func (m *SendShiftHandoffResponse) Reset()

func (*SendShiftHandoffResponse) String

func (m *SendShiftHandoffResponse) String() string

func (*SendShiftHandoffResponse) XXX_DiscardUnknown

func (m *SendShiftHandoffResponse) XXX_DiscardUnknown()

func (*SendShiftHandoffResponse) XXX_Marshal

func (m *SendShiftHandoffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendShiftHandoffResponse) XXX_Merge

func (m *SendShiftHandoffResponse) XXX_Merge(src proto.Message)

func (*SendShiftHandoffResponse) XXX_Size

func (m *SendShiftHandoffResponse) XXX_Size() int

func (*SendShiftHandoffResponse) XXX_Unmarshal

func (m *SendShiftHandoffResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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)

func (*Signal) GetCloseTime

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

func (*Signal) GetContent

func (m *Signal) GetContent() string

func (*Signal) GetContentType

func (m *Signal) GetContentType() string

func (*Signal) GetCreateTime

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

func (*Signal) GetCreator

func (m *Signal) GetCreator() *User

func (*Signal) GetDetectTime

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

func (*Signal) GetEtag

func (m *Signal) GetEtag() string

func (*Signal) GetIncident

func (m *Signal) GetIncident() string

func (*Signal) GetName

func (m *Signal) GetName() string

func (*Signal) GetSignalArtifacts

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

func (*Signal) GetSignalState

func (m *Signal) GetSignalState() Signal_State

func (*Signal) GetTitle

func (m *Signal) GetTitle() string

func (*Signal) ProtoMessage

func (*Signal) ProtoMessage()

func (*Signal) Reset

func (m *Signal) Reset()

func (*Signal) String

func (m *Signal) String() string

func (*Signal) XXX_DiscardUnknown

func (m *Signal) XXX_DiscardUnknown()

func (*Signal) XXX_Marshal

func (m *Signal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signal) XXX_Merge

func (m *Signal) XXX_Merge(src proto.Message)

func (*Signal) XXX_Size

func (m *Signal) XXX_Size() int

func (*Signal) XXX_Unmarshal

func (m *Signal) XXX_Unmarshal(b []byte) error

type Signal_SignalArtifact

type Signal_SignalArtifact struct {
	// The type of resource linked to
	//
	// Types that are valid to be assigned 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An artifact associated with the Signal.

func (*Signal_SignalArtifact) Descriptor

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

func (*Signal_SignalArtifact) GetArtifactType

func (m *Signal_SignalArtifact) GetArtifactType() isSignal_SignalArtifact_ArtifactType

func (*Signal_SignalArtifact) GetUri

func (m *Signal_SignalArtifact) GetUri() string

func (*Signal_SignalArtifact) GetUserType

func (m *Signal_SignalArtifact) GetUserType() string

func (*Signal_SignalArtifact) ProtoMessage

func (*Signal_SignalArtifact) ProtoMessage()

func (*Signal_SignalArtifact) Reset

func (m *Signal_SignalArtifact) Reset()

func (*Signal_SignalArtifact) String

func (m *Signal_SignalArtifact) String() string

func (*Signal_SignalArtifact) XXX_DiscardUnknown

func (m *Signal_SignalArtifact) XXX_DiscardUnknown()

func (*Signal_SignalArtifact) XXX_Marshal

func (m *Signal_SignalArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signal_SignalArtifact) XXX_Merge

func (m *Signal_SignalArtifact) XXX_Merge(src proto.Message)

func (*Signal_SignalArtifact) XXX_OneofWrappers

func (*Signal_SignalArtifact) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Signal_SignalArtifact) XXX_Size

func (m *Signal_SignalArtifact) XXX_Size() int

func (*Signal_SignalArtifact) XXX_Unmarshal

func (m *Signal_SignalArtifact) XXX_Unmarshal(b []byte) error

type Signal_SignalArtifact_UserType

type Signal_SignalArtifact_UserType struct {
	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) EnumDescriptor

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

func (Signal_State) String

func (x Signal_State) String() string

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 */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

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

func (*Subscription) Descriptor

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

func (*Subscription) GetEtag

func (m *Subscription) GetEtag() string

func (*Subscription) GetEventTypes

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

func (*Subscription) GetName

func (m *Subscription) GetName() string

func (*Subscription) GetSubscriptionChannel

func (m *Subscription) GetSubscriptionChannel() *CommunicationChannel

func (*Subscription) ProtoMessage

func (*Subscription) ProtoMessage()

func (*Subscription) Reset

func (m *Subscription) Reset()

func (*Subscription) String

func (m *Subscription) String() string

func (*Subscription) XXX_DiscardUnknown

func (m *Subscription) XXX_DiscardUnknown()

func (*Subscription) XXX_Marshal

func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subscription) XXX_Merge

func (m *Subscription) XXX_Merge(src proto.Message)

func (*Subscription) XXX_Size

func (m *Subscription) XXX_Size() int

func (*Subscription) XXX_Unmarshal

func (m *Subscription) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (Subscription_EventType) String

func (x Subscription_EventType) String() string

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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)

func (*Synopsis) GetAuthor

func (m *Synopsis) GetAuthor() *User

func (*Synopsis) GetContent

func (m *Synopsis) GetContent() string

func (*Synopsis) GetContentType

func (m *Synopsis) GetContentType() string

func (*Synopsis) GetUpdateTime

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

func (*Synopsis) ProtoMessage

func (*Synopsis) ProtoMessage()

func (*Synopsis) Reset

func (m *Synopsis) Reset()

func (*Synopsis) String

func (m *Synopsis) String() string

func (*Synopsis) XXX_DiscardUnknown

func (m *Synopsis) XXX_DiscardUnknown()

func (*Synopsis) XXX_Marshal

func (m *Synopsis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Synopsis) XXX_Merge

func (m *Synopsis) XXX_Merge(src proto.Message)

func (*Synopsis) XXX_Size

func (m *Synopsis) XXX_Size() int

func (*Synopsis) XXX_Unmarshal

func (m *Synopsis) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A tag by a user.

func (*Tag) Descriptor

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

func (*Tag) GetDisplayName

func (m *Tag) GetDisplayName() string

func (*Tag) GetName

func (m *Tag) GetName() string

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) String

func (m *Tag) String() string

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tag) XXX_Merge

func (m *Tag) XXX_Merge(src proto.Message)

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

func (m *Tag) XXX_Unmarshal(b []byte) error

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) ListIncidentRoleAssignments

func (*UnimplementedIncidentServiceServer) ListSubscriptions

func (*UnimplementedIncidentServiceServer) ListTags

func (*UnimplementedIncidentServiceServer) LookupSignal

func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover

func (*UnimplementedIncidentServiceServer) SearchIncidents

func (*UnimplementedIncidentServiceServer) SearchSignals

func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request for the UpdateArtifact method.

func (*UpdateArtifactRequest) Descriptor

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

func (*UpdateArtifactRequest) GetArtifact

func (m *UpdateArtifactRequest) GetArtifact() *Artifact

func (*UpdateArtifactRequest) GetUpdateMask

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

func (*UpdateArtifactRequest) ProtoMessage

func (*UpdateArtifactRequest) ProtoMessage()

func (*UpdateArtifactRequest) Reset

func (m *UpdateArtifactRequest) Reset()

func (*UpdateArtifactRequest) String

func (m *UpdateArtifactRequest) String() string

func (*UpdateArtifactRequest) XXX_DiscardUnknown

func (m *UpdateArtifactRequest) XXX_DiscardUnknown()

func (*UpdateArtifactRequest) XXX_Marshal

func (m *UpdateArtifactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateArtifactRequest) XXX_Merge

func (m *UpdateArtifactRequest) XXX_Merge(src proto.Message)

func (*UpdateArtifactRequest) XXX_Size

func (m *UpdateArtifactRequest) XXX_Size() int

func (*UpdateArtifactRequest) XXX_Unmarshal

func (m *UpdateArtifactRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request for the UpdateIncident method.

func (*UpdateIncidentRequest) Descriptor

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

func (*UpdateIncidentRequest) GetIncident

func (m *UpdateIncidentRequest) GetIncident() *Incident

func (*UpdateIncidentRequest) GetUpdateMask

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

func (*UpdateIncidentRequest) ProtoMessage

func (*UpdateIncidentRequest) ProtoMessage()

func (*UpdateIncidentRequest) Reset

func (m *UpdateIncidentRequest) Reset()

func (*UpdateIncidentRequest) String

func (m *UpdateIncidentRequest) String() string

func (*UpdateIncidentRequest) XXX_DiscardUnknown

func (m *UpdateIncidentRequest) XXX_DiscardUnknown()

func (*UpdateIncidentRequest) XXX_Marshal

func (m *UpdateIncidentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateIncidentRequest) XXX_Merge

func (m *UpdateIncidentRequest) XXX_Merge(src proto.Message)

func (*UpdateIncidentRequest) XXX_Size

func (m *UpdateIncidentRequest) XXX_Size() int

func (*UpdateIncidentRequest) XXX_Unmarshal

func (m *UpdateIncidentRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request for the UpdateSignal method.

func (*UpdateSignalRequest) Descriptor

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

func (*UpdateSignalRequest) GetSignal

func (m *UpdateSignalRequest) GetSignal() *Signal

func (*UpdateSignalRequest) GetUpdateMask

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

func (*UpdateSignalRequest) ProtoMessage

func (*UpdateSignalRequest) ProtoMessage()

func (*UpdateSignalRequest) Reset

func (m *UpdateSignalRequest) Reset()

func (*UpdateSignalRequest) String

func (m *UpdateSignalRequest) String() string

func (*UpdateSignalRequest) XXX_DiscardUnknown

func (m *UpdateSignalRequest) XXX_DiscardUnknown()

func (*UpdateSignalRequest) XXX_Marshal

func (m *UpdateSignalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSignalRequest) XXX_Merge

func (m *UpdateSignalRequest) XXX_Merge(src proto.Message)

func (*UpdateSignalRequest) XXX_Size

func (m *UpdateSignalRequest) XXX_Size() int

func (*UpdateSignalRequest) XXX_Unmarshal

func (m *UpdateSignalRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request for the UpdateSubscription method.

func (*UpdateSubscriptionRequest) Descriptor

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

func (*UpdateSubscriptionRequest) GetSubscription

func (m *UpdateSubscriptionRequest) GetSubscription() *Subscription

func (*UpdateSubscriptionRequest) GetUpdateMask

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

func (*UpdateSubscriptionRequest) ProtoMessage

func (*UpdateSubscriptionRequest) ProtoMessage()

func (*UpdateSubscriptionRequest) Reset

func (m *UpdateSubscriptionRequest) Reset()

func (*UpdateSubscriptionRequest) String

func (m *UpdateSubscriptionRequest) String() string

func (*UpdateSubscriptionRequest) XXX_DiscardUnknown

func (m *UpdateSubscriptionRequest) XXX_DiscardUnknown()

func (*UpdateSubscriptionRequest) XXX_Marshal

func (m *UpdateSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSubscriptionRequest) XXX_Merge

func (m *UpdateSubscriptionRequest) XXX_Merge(src proto.Message)

func (*UpdateSubscriptionRequest) XXX_Size

func (m *UpdateSubscriptionRequest) XXX_Size() int

func (*UpdateSubscriptionRequest) XXX_Unmarshal

func (m *UpdateSubscriptionRequest) XXX_Unmarshal(b []byte) error

type User

type User struct {
	// One of several ways to uniquely identify a user.
	//
	// Types that are valid to be assigned to User:
	//	*User_UserId
	//	*User_Email
	User                 isUser_User `protobuf_oneof:"user"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

A user of the IRM app.

func (*User) Descriptor

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

func (*User) GetEmail

func (m *User) GetEmail() string

func (*User) GetUser

func (m *User) GetUser() isUser_User

func (*User) GetUserId

func (m *User) GetUserId() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*User) XXX_Merge

func (m *User) XXX_Merge(src proto.Message)

func (*User) XXX_OneofWrappers

func (*User) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

func (m *User) XXX_Unmarshal(b []byte) error

type User_Email

type User_Email struct {
	Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type User_UserId

type User_UserId struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL