genproto: google.golang.org/genproto/googleapis/cloud/irm/v1alpha2 Index | Files

package irm

import "google.golang.org/genproto/googleapis/cloud/irm/v1alpha2"

Index

Package Files

incidents.pb.go incidents_service.pb.go

Variables

var (
    Signal_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "STATE_OPEN",
        2:  "STATE_CLOSED",
    }
    Signal_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "STATE_OPEN":        1,
        "STATE_CLOSED":      2,
    }
)

Enum value maps for Signal_State.

var (
    Incident_EscalationLevel_name = map[int32]string{
        0:  "ESCALATION_LEVEL_UNSPECIFIED",
        1:  "ESCALATION_LEVEL_ORGANIZATION",
    }
    Incident_EscalationLevel_value = map[string]int32{
        "ESCALATION_LEVEL_UNSPECIFIED":  0,
        "ESCALATION_LEVEL_ORGANIZATION": 1,
    }
)

Enum value maps for Incident_EscalationLevel.

var (
    Incident_Severity_name = map[int32]string{
        0:  "SEVERITY_UNSPECIFIED",
        1:  "SEVERITY_HUGE",
        2:  "SEVERITY_MAJOR",
        3:  "SEVERITY_MEDIUM",
        4:  "SEVERITY_MINOR",
        5:  "SEVERITY_NEGLIGIBLE",
    }
    Incident_Severity_value = map[string]int32{
        "SEVERITY_UNSPECIFIED": 0,
        "SEVERITY_HUGE":        1,
        "SEVERITY_MAJOR":       2,
        "SEVERITY_MEDIUM":      3,
        "SEVERITY_MINOR":       4,
        "SEVERITY_NEGLIGIBLE":  5,
    }
)

Enum value maps for Incident_Severity.

var (
    Incident_Stage_name = map[int32]string{
        0:  "STAGE_UNSPECIFIED",
        4:  "STAGE_DETECTED",
        1:  "STAGE_TRIAGED",
        2:  "STAGE_MITIGATED",
        3:  "STAGE_RESOLVED",
        5:  "STAGE_DOCUMENTED",
        6:  "STAGE_DUPLICATE",
    }
    Incident_Stage_value = map[string]int32{
        "STAGE_UNSPECIFIED": 0,
        "STAGE_DETECTED":    4,
        "STAGE_TRIAGED":     1,
        "STAGE_MITIGATED":   2,
        "STAGE_RESOLVED":    3,
        "STAGE_DOCUMENTED":  5,
        "STAGE_DUPLICATE":   6,
    }
)

Enum value maps for Incident_Stage.

var (
    Incident_CommunicationVenue_ChannelType_name = map[int32]string{
        0:  "CHANNEL_TYPE_UNSPECIFIED",
        1:  "CHANNEL_TYPE_URI",
        5:  "CHANNEL_TYPE_SLACK",
    }
    Incident_CommunicationVenue_ChannelType_value = map[string]int32{
        "CHANNEL_TYPE_UNSPECIFIED": 0,
        "CHANNEL_TYPE_URI":         1,
        "CHANNEL_TYPE_SLACK":       5,
    }
)

Enum value maps for Incident_CommunicationVenue_ChannelType.

var (
    IncidentRole_Type_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "TYPE_INCIDENT_COMMANDER",
        2:  "TYPE_COMMUNICATIONS_LEAD",
        3:  "TYPE_OPERATIONS_LEAD",
        4:  "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD",
        5:  "TYPE_PRIMARY_ONCALL",
        6:  "TYPE_SECONDARY_ONCALL",
        7:  "TYPE_OTHER",
    }
    IncidentRole_Type_value = map[string]int32{
        "TYPE_UNSPECIFIED":                           0,
        "TYPE_INCIDENT_COMMANDER":                    1,
        "TYPE_COMMUNICATIONS_LEAD":                   2,
        "TYPE_OPERATIONS_LEAD":                       3,
        "TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD": 4,
        "TYPE_PRIMARY_ONCALL":                        5,
        "TYPE_SECONDARY_ONCALL":                      6,
        "TYPE_OTHER":                                 7,
    }
)

Enum value maps for IncidentRole_Type.

var (
    Artifact_Type_name = map[int32]string{
        0:  "TYPE_UNSPECIFIED",
        1:  "TYPE_URL",
        4:  "TYPE_JIRA_ISSUE",
    }
    Artifact_Type_value = map[string]int32{
        "TYPE_UNSPECIFIED": 0,
        "TYPE_URL":         1,
        "TYPE_JIRA_ISSUE":  4,
    }
)

Enum value maps for Artifact_Type.

var (
    Subscription_EventType_name = map[int32]string{
        0:  "EVENT_TYPE_UNSPECIFIED",
        1:  "EVENT_TYPE_TITLE_CHANGE",
        2:  "EVENT_TYPE_SYNOPSIS_CHANGE",
        3:  "EVENT_TYPE_STAGE_CHANGE",
        4:  "EVENT_TYPE_SEVERITY_CHANGE",
        5:  "EVENT_TYPE_ANNOTATION_ADD",
        6:  "EVENT_TYPE_ANNOTATION_CHANGE",
    }
    Subscription_EventType_value = map[string]int32{
        "EVENT_TYPE_UNSPECIFIED":       0,
        "EVENT_TYPE_TITLE_CHANGE":      1,
        "EVENT_TYPE_SYNOPSIS_CHANGE":   2,
        "EVENT_TYPE_STAGE_CHANGE":      3,
        "EVENT_TYPE_SEVERITY_CHANGE":   4,
        "EVENT_TYPE_ANNOTATION_ADD":    5,
        "EVENT_TYPE_ANNOTATION_CHANGE": 6,
    }
)

Enum value maps for Subscription_EventType.

var File_google_cloud_irm_v1alpha2_incidents_proto protoreflect.FileDescriptor
var File_google_cloud_irm_v1alpha2_incidents_service_proto protoreflect.FileDescriptor

func RegisterIncidentServiceServer Uses

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

type Annotation Uses

type Annotation struct {

    // Resource name of the annotation, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}/annotations/{annotation_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Output only. Author of the annotation.
    Author *User `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`
    // Output only. Time the annotation was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Content of the annotation.
    Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
    // Content type of the annotation, for example, 'text/plain'
    // or 'text/markdown'.
    ContentType string `protobuf:"bytes,5,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // contains filtered or unexported fields
}

A text annotation by a user.

func (*Annotation) Descriptor Uses

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

Deprecated: Use Annotation.ProtoReflect.Descriptor instead.

func (*Annotation) GetAuthor Uses

func (x *Annotation) GetAuthor() *User

func (*Annotation) GetContent Uses

func (x *Annotation) GetContent() string

func (*Annotation) GetContentType Uses

func (x *Annotation) GetContentType() string

func (*Annotation) GetCreateTime Uses

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

func (*Annotation) GetName Uses

func (x *Annotation) GetName() string

func (*Annotation) ProtoMessage Uses

func (*Annotation) ProtoMessage()

func (*Annotation) ProtoReflect Uses

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

func (*Annotation) Reset Uses

func (x *Annotation) Reset()

func (*Annotation) String Uses

func (x *Annotation) String() string

type Artifact Uses

type Artifact struct {

    // Output only. Resource name such as
    // "projects/{project_id_or_number}/incidents/{incident_id}/artifacts/{artifact_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // User provided name of an artifact.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Output only. Etag for this version of the resource. Must be specified in
    // update requests and match the current version in storage. Must not be
    // modified by the client.
    Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
    // URL to access the artifact.
    Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
    // Type of this artifact.
    Type Artifact_Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.Artifact_Type" json:"type,omitempty"`
    // contains filtered or unexported fields
}

External artifact associated to an incident.

func (*Artifact) Descriptor Uses

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

Deprecated: Use Artifact.ProtoReflect.Descriptor instead.

func (*Artifact) GetDisplayName Uses

func (x *Artifact) GetDisplayName() string

func (*Artifact) GetEtag Uses

func (x *Artifact) GetEtag() string

func (*Artifact) GetName Uses

func (x *Artifact) GetName() string

func (*Artifact) GetType Uses

func (x *Artifact) GetType() Artifact_Type

func (*Artifact) GetUrl Uses

func (x *Artifact) GetUrl() string

func (*Artifact) ProtoMessage Uses

func (*Artifact) ProtoMessage()

func (*Artifact) ProtoReflect Uses

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

func (*Artifact) Reset Uses

func (x *Artifact) Reset()

func (*Artifact) String Uses

func (x *Artifact) String() string

type Artifact_Type Uses

type Artifact_Type int32

Possible types of an artifact.

const (
    // External type is unspecified.
    Artifact_TYPE_UNSPECIFIED Artifact_Type = 0
    // URL.
    Artifact_TYPE_URL Artifact_Type = 1
    // A JIRA issue.
    Artifact_TYPE_JIRA_ISSUE Artifact_Type = 4
)

func (Artifact_Type) Descriptor Uses

func (Artifact_Type) Descriptor() protoreflect.EnumDescriptor

func (Artifact_Type) Enum Uses

func (x Artifact_Type) Enum() *Artifact_Type

func (Artifact_Type) EnumDescriptor Uses

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

Deprecated: Use Artifact_Type.Descriptor instead.

func (Artifact_Type) Number Uses

func (x Artifact_Type) Number() protoreflect.EnumNumber

func (Artifact_Type) String Uses

func (x Artifact_Type) String() string

func (Artifact_Type) Type Uses

func (Artifact_Type) Type() protoreflect.EnumType

type CancelIncidentRoleHandoverRequest Uses

type CancelIncidentRoleHandoverRequest struct {

    // Required. Resource name of the role assignment.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. Person who was proposed as the next assignee (i.e.
    // IncidentRoleAssignment.proposed_assignee) and whose proposal is being
    // cancelled.
    NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"`
    // contains filtered or unexported fields
}

Request to cancel a role handover.

func (*CancelIncidentRoleHandoverRequest) Descriptor Uses

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

Deprecated: Use CancelIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*CancelIncidentRoleHandoverRequest) GetName Uses

func (x *CancelIncidentRoleHandoverRequest) GetName() string

func (*CancelIncidentRoleHandoverRequest) GetNewAssignee Uses

func (x *CancelIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*CancelIncidentRoleHandoverRequest) ProtoMessage Uses

func (*CancelIncidentRoleHandoverRequest) ProtoMessage()

func (*CancelIncidentRoleHandoverRequest) ProtoReflect Uses

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

func (*CancelIncidentRoleHandoverRequest) Reset Uses

func (x *CancelIncidentRoleHandoverRequest) Reset()

func (*CancelIncidentRoleHandoverRequest) String Uses

func (x *CancelIncidentRoleHandoverRequest) String() string

type CommunicationChannel Uses

type CommunicationChannel struct {

    // An endpoint describes how messages will be delivered.
    //
    // Types that are assignable to Endpoint:
    //	*CommunicationChannel_Email_
    //	*CommunicationChannel_NotificationChannel_
    Endpoint isCommunicationChannel_Endpoint `protobuf_oneof:"endpoint"`
    // contains filtered or unexported fields
}

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

func (*CommunicationChannel) Descriptor Uses

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

Deprecated: Use CommunicationChannel.ProtoReflect.Descriptor instead.

func (*CommunicationChannel) GetEmail Uses

func (x *CommunicationChannel) GetEmail() *CommunicationChannel_Email

func (*CommunicationChannel) GetEndpoint Uses

func (m *CommunicationChannel) GetEndpoint() isCommunicationChannel_Endpoint

func (*CommunicationChannel) GetNotificationChannel Uses

func (x *CommunicationChannel) GetNotificationChannel() *CommunicationChannel_NotificationChannel

func (*CommunicationChannel) ProtoMessage Uses

func (*CommunicationChannel) ProtoMessage()

func (*CommunicationChannel) ProtoReflect Uses

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

func (*CommunicationChannel) Reset Uses

func (x *CommunicationChannel) Reset()

func (*CommunicationChannel) String Uses

func (x *CommunicationChannel) String() string

type CommunicationChannel_Email Uses

type CommunicationChannel_Email struct {

    // The email address, for example, "user@example.com".
    Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
    // contains filtered or unexported fields
}

A communication channel that delivers messages to an email address.

func (*CommunicationChannel_Email) Descriptor Uses

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

Deprecated: Use CommunicationChannel_Email.ProtoReflect.Descriptor instead.

func (*CommunicationChannel_Email) GetAddress Uses

func (x *CommunicationChannel_Email) GetAddress() string

func (*CommunicationChannel_Email) ProtoMessage Uses

func (*CommunicationChannel_Email) ProtoMessage()

func (*CommunicationChannel_Email) ProtoReflect Uses

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

func (*CommunicationChannel_Email) Reset Uses

func (x *CommunicationChannel_Email) Reset()

func (*CommunicationChannel_Email) String Uses

func (x *CommunicationChannel_Email) String() string

type CommunicationChannel_Email_ Uses

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

type CommunicationChannel_NotificationChannel Uses

type CommunicationChannel_NotificationChannel struct {

    // Stackdriver notification channel name.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CommunicationChannel_NotificationChannel) Descriptor Uses

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

Deprecated: Use CommunicationChannel_NotificationChannel.ProtoReflect.Descriptor instead.

func (*CommunicationChannel_NotificationChannel) GetName Uses

func (x *CommunicationChannel_NotificationChannel) GetName() string

func (*CommunicationChannel_NotificationChannel) ProtoMessage Uses

func (*CommunicationChannel_NotificationChannel) ProtoMessage()

func (*CommunicationChannel_NotificationChannel) ProtoReflect Uses

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

func (*CommunicationChannel_NotificationChannel) Reset Uses

func (x *CommunicationChannel_NotificationChannel) Reset()

func (*CommunicationChannel_NotificationChannel) String Uses

func (x *CommunicationChannel_NotificationChannel) String() string

type CommunicationChannel_NotificationChannel_ Uses

type CommunicationChannel_NotificationChannel_ struct {
    // Messages will be delivered via a Stackdriver notification channel.
    NotificationChannel *CommunicationChannel_NotificationChannel `protobuf:"bytes,2,opt,name=notification_channel,json=notificationChannel,proto3,oneof"`
}

type ConfirmIncidentRoleHandoverRequest Uses

type ConfirmIncidentRoleHandoverRequest struct {

    // Required. Resource name of the role assignment.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The proposed assignee, who will now be the assignee. This should be the
    // current user; otherwise ForceRoleHandover should be called.
    NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"`
    // contains filtered or unexported fields
}

Request to confirm a role handover.

func (*ConfirmIncidentRoleHandoverRequest) Descriptor Uses

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

Deprecated: Use ConfirmIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*ConfirmIncidentRoleHandoverRequest) GetName Uses

func (x *ConfirmIncidentRoleHandoverRequest) GetName() string

func (*ConfirmIncidentRoleHandoverRequest) GetNewAssignee Uses

func (x *ConfirmIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage Uses

func (*ConfirmIncidentRoleHandoverRequest) ProtoMessage()

func (*ConfirmIncidentRoleHandoverRequest) ProtoReflect Uses

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

func (*ConfirmIncidentRoleHandoverRequest) Reset Uses

func (x *ConfirmIncidentRoleHandoverRequest) Reset()

func (*ConfirmIncidentRoleHandoverRequest) String Uses

func (x *ConfirmIncidentRoleHandoverRequest) String() string

type CreateAnnotationRequest Uses

type CreateAnnotationRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Only annotation.content is an input argument.
    Annotation *Annotation `protobuf:"bytes,2,opt,name=annotation,proto3" json:"annotation,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateAnnotation method.

func (*CreateAnnotationRequest) Descriptor Uses

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

Deprecated: Use CreateAnnotationRequest.ProtoReflect.Descriptor instead.

func (*CreateAnnotationRequest) GetAnnotation Uses

func (x *CreateAnnotationRequest) GetAnnotation() *Annotation

func (*CreateAnnotationRequest) GetParent Uses

func (x *CreateAnnotationRequest) GetParent() string

func (*CreateAnnotationRequest) ProtoMessage Uses

func (*CreateAnnotationRequest) ProtoMessage()

func (*CreateAnnotationRequest) ProtoReflect Uses

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

func (*CreateAnnotationRequest) Reset Uses

func (x *CreateAnnotationRequest) Reset()

func (*CreateAnnotationRequest) String Uses

func (x *CreateAnnotationRequest) String() string

type CreateArtifactRequest Uses

type CreateArtifactRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The artifact to create.
    Artifact *Artifact `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateArtifact method.

func (*CreateArtifactRequest) Descriptor Uses

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

Deprecated: Use CreateArtifactRequest.ProtoReflect.Descriptor instead.

func (*CreateArtifactRequest) GetArtifact Uses

func (x *CreateArtifactRequest) GetArtifact() *Artifact

func (*CreateArtifactRequest) GetParent Uses

func (x *CreateArtifactRequest) GetParent() string

func (*CreateArtifactRequest) ProtoMessage Uses

func (*CreateArtifactRequest) ProtoMessage()

func (*CreateArtifactRequest) ProtoReflect Uses

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

func (*CreateArtifactRequest) Reset Uses

func (x *CreateArtifactRequest) Reset()

func (*CreateArtifactRequest) String Uses

func (x *CreateArtifactRequest) String() string

type CreateIncidentRequest Uses

type CreateIncidentRequest struct {

    // Required. The incident to create.
    Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
    // Required. The resource name of the hosting Stackdriver project which the incident
    // belongs to.
    // The name is of the form `projects/{project_id_or_number}`
    // .
    Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateIncident method.

func (*CreateIncidentRequest) Descriptor Uses

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

Deprecated: Use CreateIncidentRequest.ProtoReflect.Descriptor instead.

func (*CreateIncidentRequest) GetIncident Uses

func (x *CreateIncidentRequest) GetIncident() *Incident

func (*CreateIncidentRequest) GetParent Uses

func (x *CreateIncidentRequest) GetParent() string

func (*CreateIncidentRequest) ProtoMessage Uses

func (*CreateIncidentRequest) ProtoMessage()

func (*CreateIncidentRequest) ProtoReflect Uses

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

func (*CreateIncidentRequest) Reset Uses

func (x *CreateIncidentRequest) Reset()

func (*CreateIncidentRequest) String Uses

func (x *CreateIncidentRequest) String() string

type CreateIncidentRoleAssignmentRequest Uses

type CreateIncidentRoleAssignmentRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Role assignment to create.
    IncidentRoleAssignment *IncidentRoleAssignment `protobuf:"bytes,2,opt,name=incident_role_assignment,json=incidentRoleAssignment,proto3" json:"incident_role_assignment,omitempty"`
    // contains filtered or unexported fields
}

Request for creating a role assignment.

func (*CreateIncidentRoleAssignmentRequest) Descriptor Uses

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

Deprecated: Use CreateIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.

func (*CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment Uses

func (x *CreateIncidentRoleAssignmentRequest) GetIncidentRoleAssignment() *IncidentRoleAssignment

func (*CreateIncidentRoleAssignmentRequest) GetParent Uses

func (x *CreateIncidentRoleAssignmentRequest) GetParent() string

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage Uses

func (*CreateIncidentRoleAssignmentRequest) ProtoMessage()

func (*CreateIncidentRoleAssignmentRequest) ProtoReflect Uses

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

func (*CreateIncidentRoleAssignmentRequest) Reset Uses

func (x *CreateIncidentRoleAssignmentRequest) Reset()

func (*CreateIncidentRoleAssignmentRequest) String Uses

func (x *CreateIncidentRoleAssignmentRequest) String() string

type CreateSignalRequest Uses

type CreateSignalRequest struct {

    // Required. The resource name of the hosting Stackdriver project which requested
    // signal belongs to.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The signal to create.
    Signal *Signal `protobuf:"bytes,2,opt,name=signal,proto3" json:"signal,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateSignal method.

func (*CreateSignalRequest) Descriptor Uses

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

Deprecated: Use CreateSignalRequest.ProtoReflect.Descriptor instead.

func (*CreateSignalRequest) GetParent Uses

func (x *CreateSignalRequest) GetParent() string

func (*CreateSignalRequest) GetSignal Uses

func (x *CreateSignalRequest) GetSignal() *Signal

func (*CreateSignalRequest) ProtoMessage Uses

func (*CreateSignalRequest) ProtoMessage()

func (*CreateSignalRequest) ProtoReflect Uses

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

func (*CreateSignalRequest) Reset Uses

func (x *CreateSignalRequest) Reset()

func (*CreateSignalRequest) String Uses

func (x *CreateSignalRequest) String() string

type CreateSubscriptionRequest Uses

type CreateSubscriptionRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The subscription to create.
    Subscription *Subscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateSubscription method.

func (*CreateSubscriptionRequest) Descriptor Uses

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

Deprecated: Use CreateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*CreateSubscriptionRequest) GetParent Uses

func (x *CreateSubscriptionRequest) GetParent() string

func (*CreateSubscriptionRequest) GetSubscription Uses

func (x *CreateSubscriptionRequest) GetSubscription() *Subscription

func (*CreateSubscriptionRequest) ProtoMessage Uses

func (*CreateSubscriptionRequest) ProtoMessage()

func (*CreateSubscriptionRequest) ProtoReflect Uses

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

func (*CreateSubscriptionRequest) Reset Uses

func (x *CreateSubscriptionRequest) Reset()

func (*CreateSubscriptionRequest) String Uses

func (x *CreateSubscriptionRequest) String() string

type CreateTagRequest Uses

type CreateTagRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Tag to create. Only tag.display_name is an input argument.
    Tag *Tag `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
    // contains filtered or unexported fields
}

Request for the CreateTag method.

func (*CreateTagRequest) Descriptor Uses

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

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetParent Uses

func (x *CreateTagRequest) GetParent() string

func (*CreateTagRequest) GetTag Uses

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage Uses

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect Uses

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

func (*CreateTagRequest) Reset Uses

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String Uses

func (x *CreateTagRequest) String() string

type DeleteArtifactRequest Uses

type DeleteArtifactRequest struct {

    // Required. Resource name of the artifact.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for deleting an artifact.

func (*DeleteArtifactRequest) Descriptor Uses

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

Deprecated: Use DeleteArtifactRequest.ProtoReflect.Descriptor instead.

func (*DeleteArtifactRequest) GetName Uses

func (x *DeleteArtifactRequest) GetName() string

func (*DeleteArtifactRequest) ProtoMessage Uses

func (*DeleteArtifactRequest) ProtoMessage()

func (*DeleteArtifactRequest) ProtoReflect Uses

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

func (*DeleteArtifactRequest) Reset Uses

func (x *DeleteArtifactRequest) Reset()

func (*DeleteArtifactRequest) String Uses

func (x *DeleteArtifactRequest) String() string

type DeleteIncidentRoleAssignmentRequest Uses

type DeleteIncidentRoleAssignmentRequest struct {

    // Required. Resource name of the role assignment.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for deleting a role assignment.

func (*DeleteIncidentRoleAssignmentRequest) Descriptor Uses

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

Deprecated: Use DeleteIncidentRoleAssignmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIncidentRoleAssignmentRequest) GetName Uses

func (x *DeleteIncidentRoleAssignmentRequest) GetName() string

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage Uses

func (*DeleteIncidentRoleAssignmentRequest) ProtoMessage()

func (*DeleteIncidentRoleAssignmentRequest) ProtoReflect Uses

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

func (*DeleteIncidentRoleAssignmentRequest) Reset Uses

func (x *DeleteIncidentRoleAssignmentRequest) Reset()

func (*DeleteIncidentRoleAssignmentRequest) String Uses

func (x *DeleteIncidentRoleAssignmentRequest) String() string

type DeleteSubscriptionRequest Uses

type DeleteSubscriptionRequest struct {

    // Required. Resource name of the subscription.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for deleting a subscription.

func (*DeleteSubscriptionRequest) Descriptor Uses

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

Deprecated: Use DeleteSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*DeleteSubscriptionRequest) GetName Uses

func (x *DeleteSubscriptionRequest) GetName() string

func (*DeleteSubscriptionRequest) ProtoMessage Uses

func (*DeleteSubscriptionRequest) ProtoMessage()

func (*DeleteSubscriptionRequest) ProtoReflect Uses

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

func (*DeleteSubscriptionRequest) Reset Uses

func (x *DeleteSubscriptionRequest) Reset()

func (*DeleteSubscriptionRequest) String Uses

func (x *DeleteSubscriptionRequest) String() string

type DeleteTagRequest Uses

type DeleteTagRequest struct {

    // Required. Resource name of the tag.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for the DeleteTag method.

func (*DeleteTagRequest) Descriptor Uses

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

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetName Uses

func (x *DeleteTagRequest) GetName() string

func (*DeleteTagRequest) ProtoMessage Uses

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect Uses

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

func (*DeleteTagRequest) Reset Uses

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String Uses

func (x *DeleteTagRequest) String() string

type EscalateIncidentRequest Uses

type EscalateIncidentRequest struct {

    // Required. The incident to escalate with the new values.
    Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
    // List of fields that should be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // Subscriptions to add or update. Existing subscriptions with the same
    // channel and address as a subscription in the list will be updated.
    Subscriptions []*Subscription `protobuf:"bytes,3,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
    // Tags to add. Tags identical to existing tags will be ignored.
    Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
    // Roles to add or update. Existing roles with the same type (and title, for
    // TYPE_OTHER roles) will be updated.
    Roles []*IncidentRoleAssignment `protobuf:"bytes,5,rep,name=roles,proto3" json:"roles,omitempty"`
    // Artifacts to add. All artifacts are added without checking for duplicates.
    Artifacts []*Artifact `protobuf:"bytes,6,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
    // contains filtered or unexported fields
}

Request to escalate an incident.

func (*EscalateIncidentRequest) Descriptor Uses

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

Deprecated: Use EscalateIncidentRequest.ProtoReflect.Descriptor instead.

func (*EscalateIncidentRequest) GetArtifacts Uses

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

func (*EscalateIncidentRequest) GetIncident Uses

func (x *EscalateIncidentRequest) GetIncident() *Incident

func (*EscalateIncidentRequest) GetRoles Uses

func (x *EscalateIncidentRequest) GetRoles() []*IncidentRoleAssignment

func (*EscalateIncidentRequest) GetSubscriptions Uses

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

func (*EscalateIncidentRequest) GetTags Uses

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

func (*EscalateIncidentRequest) GetUpdateMask Uses

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

func (*EscalateIncidentRequest) ProtoMessage Uses

func (*EscalateIncidentRequest) ProtoMessage()

func (*EscalateIncidentRequest) ProtoReflect Uses

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

func (*EscalateIncidentRequest) Reset Uses

func (x *EscalateIncidentRequest) Reset()

func (*EscalateIncidentRequest) String Uses

func (x *EscalateIncidentRequest) String() string

type EscalateIncidentResponse Uses

type EscalateIncidentResponse struct {

    // The escalated incident.
    Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
    // New or modified subscriptions.
    Subscriptions []*Subscription `protobuf:"bytes,2,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
    // New or modified tags.
    Tags []*Tag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
    // New or modified roles.
    Roles []*IncidentRole `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
    // New or modified artifacts.
    Artifacts []*Artifact `protobuf:"bytes,5,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
    // contains filtered or unexported fields
}

Response for EscalateIncident.

func (*EscalateIncidentResponse) Descriptor Uses

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

Deprecated: Use EscalateIncidentResponse.ProtoReflect.Descriptor instead.

func (*EscalateIncidentResponse) GetArtifacts Uses

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

func (*EscalateIncidentResponse) GetIncident Uses

func (x *EscalateIncidentResponse) GetIncident() *Incident

func (*EscalateIncidentResponse) GetRoles Uses

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

func (*EscalateIncidentResponse) GetSubscriptions Uses

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

func (*EscalateIncidentResponse) GetTags Uses

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

func (*EscalateIncidentResponse) ProtoMessage Uses

func (*EscalateIncidentResponse) ProtoMessage()

func (*EscalateIncidentResponse) ProtoReflect Uses

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

func (*EscalateIncidentResponse) Reset Uses

func (x *EscalateIncidentResponse) Reset()

func (*EscalateIncidentResponse) String Uses

func (x *EscalateIncidentResponse) String() string

type ForceIncidentRoleHandoverRequest Uses

type ForceIncidentRoleHandoverRequest struct {

    // Required. Resource name of the role assignment.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The proposed assignee, who will now be the assignee. This should not be
    // the current user; otherwise ConfirmRoleHandover should be called.
    NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"`
    // contains filtered or unexported fields
}

Request to force a role handover.

func (*ForceIncidentRoleHandoverRequest) Descriptor Uses

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

Deprecated: Use ForceIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*ForceIncidentRoleHandoverRequest) GetName Uses

func (x *ForceIncidentRoleHandoverRequest) GetName() string

func (*ForceIncidentRoleHandoverRequest) GetNewAssignee Uses

func (x *ForceIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*ForceIncidentRoleHandoverRequest) ProtoMessage Uses

func (*ForceIncidentRoleHandoverRequest) ProtoMessage()

func (*ForceIncidentRoleHandoverRequest) ProtoReflect Uses

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

func (*ForceIncidentRoleHandoverRequest) Reset Uses

func (x *ForceIncidentRoleHandoverRequest) Reset()

func (*ForceIncidentRoleHandoverRequest) String Uses

func (x *ForceIncidentRoleHandoverRequest) String() string

type GetIncidentRequest Uses

type GetIncidentRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for the GetIncident method.

func (*GetIncidentRequest) Descriptor Uses

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

Deprecated: Use GetIncidentRequest.ProtoReflect.Descriptor instead.

func (*GetIncidentRequest) GetName Uses

func (x *GetIncidentRequest) GetName() string

func (*GetIncidentRequest) ProtoMessage Uses

func (*GetIncidentRequest) ProtoMessage()

func (*GetIncidentRequest) ProtoReflect Uses

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

func (*GetIncidentRequest) Reset Uses

func (x *GetIncidentRequest) Reset()

func (*GetIncidentRequest) String Uses

func (x *GetIncidentRequest) String() string

type GetSignalRequest Uses

type GetSignalRequest struct {

    // Required. Resource name of the Signal resource, for example,
    // "projects/{project_id_or_number}/signals/{signal_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Request for the GetSignal method.

func (*GetSignalRequest) Descriptor Uses

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

Deprecated: Use GetSignalRequest.ProtoReflect.Descriptor instead.

func (*GetSignalRequest) GetName Uses

func (x *GetSignalRequest) GetName() string

func (*GetSignalRequest) ProtoMessage Uses

func (*GetSignalRequest) ProtoMessage()

func (*GetSignalRequest) ProtoReflect Uses

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

func (*GetSignalRequest) Reset Uses

func (x *GetSignalRequest) Reset()

func (*GetSignalRequest) String Uses

func (x *GetSignalRequest) String() string

type Incident Uses

type Incident struct {

    // Output only. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // One-line summary of the incident.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // Escalation level of the incident.
    EscalationLevel Incident_EscalationLevel `protobuf:"varint,3,opt,name=escalation_level,json=escalationLevel,proto3,enum=google.cloud.irm.v1alpha2.Incident_EscalationLevel" json:"escalation_level,omitempty"`
    // Etag to validate the object is unchanged for a read-modify-write operation.
    // An empty etag will overwrite other changes.
    Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
    // Severity of the incident.
    Severity Incident_Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.cloud.irm.v1alpha2.Incident_Severity" json:"severity,omitempty"`
    // Stage of the incident.
    Stage Incident_Stage `protobuf:"varint,6,opt,name=stage,proto3,enum=google.cloud.irm.v1alpha2.Incident_Stage" json:"stage,omitempty"`
    // Resource name of the incident this incident is a duplicate of. Empty if
    // this incident is not a duplicate.
    // An incident can only be a duplicate of an incident that is not marked as a
    // duplicate already. Setting this to a non-empty value must also set the
    // stage to `STAGE_DUPLICATE`. Unsetting this value value must also update
    // `stage` to a value other than `STAGE_DUPLICATE`.
    DuplicateIncident string `protobuf:"bytes,9,opt,name=duplicate_incident,json=duplicateIncident,proto3" json:"duplicate_incident,omitempty"`
    // Output only. Time this incident started. Used to measure the 'elapsed
    // time'. Start time of an incident is the earliest creation time of any of
    // its Signals or the create time of the incident if no Signals are assigned.
    StartTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // Output only. Synopsis of this incident.
    Synopsis *Synopsis `protobuf:"bytes,8,opt,name=synopsis,proto3" json:"synopsis,omitempty"`
    // Location of communications for this incident. This is informational
    // only; IRM does not use this to send messages.
    CommunicationVenue *Incident_CommunicationVenue `protobuf:"bytes,10,opt,name=communication_venue,json=communicationVenue,proto3" json:"communication_venue,omitempty"`
    // contains filtered or unexported fields
}

Representation of an incident.

func (*Incident) Descriptor Uses

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

Deprecated: Use Incident.ProtoReflect.Descriptor instead.

func (*Incident) GetCommunicationVenue Uses

func (x *Incident) GetCommunicationVenue() *Incident_CommunicationVenue

func (*Incident) GetDuplicateIncident Uses

func (x *Incident) GetDuplicateIncident() string

func (*Incident) GetEscalationLevel Uses

func (x *Incident) GetEscalationLevel() Incident_EscalationLevel

func (*Incident) GetEtag Uses

func (x *Incident) GetEtag() string

func (*Incident) GetName Uses

func (x *Incident) GetName() string

func (*Incident) GetSeverity Uses

func (x *Incident) GetSeverity() Incident_Severity

func (*Incident) GetStage Uses

func (x *Incident) GetStage() Incident_Stage

func (*Incident) GetStartTime Uses

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

func (*Incident) GetSynopsis Uses

func (x *Incident) GetSynopsis() *Synopsis

func (*Incident) GetTitle Uses

func (x *Incident) GetTitle() string

func (*Incident) ProtoMessage Uses

func (*Incident) ProtoMessage()

func (*Incident) ProtoReflect Uses

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

func (*Incident) Reset Uses

func (x *Incident) Reset()

func (*Incident) String Uses

func (x *Incident) String() string

type IncidentRole Uses

type IncidentRole struct {

    // The type of role. The role type is immutable in role assignments. Each role
    // type can only be used once per incident, except for TYPE_OTHER.
    Type IncidentRole_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.irm.v1alpha2.IncidentRole_Type" json:"type,omitempty"`
    // Output only and empty unless TYPE_OTHER is used. Title of the role. For
    // TYPE_OTHER, must be unique within an incident.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // Output only and empty unless TYPE_OTHER is used. Description of the role.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

Describes a role that can be assigned to an incident.

func (*IncidentRole) Descriptor Uses

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

Deprecated: Use IncidentRole.ProtoReflect.Descriptor instead.

func (*IncidentRole) GetDescription Uses

func (x *IncidentRole) GetDescription() string

func (*IncidentRole) GetTitle Uses

func (x *IncidentRole) GetTitle() string

func (*IncidentRole) GetType Uses

func (x *IncidentRole) GetType() IncidentRole_Type

func (*IncidentRole) ProtoMessage Uses

func (*IncidentRole) ProtoMessage()

func (*IncidentRole) ProtoReflect Uses

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

func (*IncidentRole) Reset Uses

func (x *IncidentRole) Reset()

func (*IncidentRole) String Uses

func (x *IncidentRole) String() string

type IncidentRoleAssignment Uses

type IncidentRoleAssignment struct {

    // Output only. Resource name such as
    // "projects/{project_id_or_number}/incidents/{incident_id}/role_assignments/{role_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Output only. Etag for this version of the resource. Must be specified in
    // update requests and match the current version in storage. Must not be
    // modified by the client.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // The role that is or will be assigned.
    Role *IncidentRole `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
    // The user this role is assigned to. This field can only be directly set
    // during creation request. Subsequent updates are done via the
    // IncidentRoleHandover methods.
    Assignee *User `protobuf:"bytes,4,opt,name=assignee,proto3" json:"assignee,omitempty"`
    // The recipient of a requested role handoff. This field can only be directly
    // set during creation request. Subsequent updates are done via the
    // IncidentRoleHandover methods.
    //
    // `assignee` is always the current role-holder, and `proposed_assignee` is
    // used to track unfinished assignments and handoffs. Let's say Bob assigns
    // Alice to a role. Then the fields are:
    //   `assignee`: nil, `proposed_assignee`: Alice
    // If Alice accepts, then the fields are:
    //   `assignee`: Alice, `proposed_assignee`: nil
    // If she cancels, then the RoleAssignment is deleted.
    // Let's say Alice has the role. Then the fields are:
    //   `assignee`: Alice, `proposed_assignee`: nil
    // If Alice becomes incapacitated and Bob requests Carol to take over, then
    // the fields are:
    //   `assignee`: Alice, `proposed_assignee`: Carol
    // After Carol accepts the handover, the fields are:
    //   `assignee`: Carol, `proposed_assignee`: nil
    // Or if Carol refuses the handover, the fields are:
    //   `assignee`: Alice, `proposed_assignee`: nil
    ProposedAssignee *User `protobuf:"bytes,5,opt,name=proposed_assignee,json=proposedAssignee,proto3" json:"proposed_assignee,omitempty"`
    // contains filtered or unexported fields
}

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

func (*IncidentRoleAssignment) Descriptor Uses

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

Deprecated: Use IncidentRoleAssignment.ProtoReflect.Descriptor instead.

func (*IncidentRoleAssignment) GetAssignee Uses

func (x *IncidentRoleAssignment) GetAssignee() *User

func (*IncidentRoleAssignment) GetEtag Uses

func (x *IncidentRoleAssignment) GetEtag() string

func (*IncidentRoleAssignment) GetName Uses

func (x *IncidentRoleAssignment) GetName() string

func (*IncidentRoleAssignment) GetProposedAssignee Uses

func (x *IncidentRoleAssignment) GetProposedAssignee() *User

func (*IncidentRoleAssignment) GetRole Uses

func (x *IncidentRoleAssignment) GetRole() *IncidentRole

func (*IncidentRoleAssignment) ProtoMessage Uses

func (*IncidentRoleAssignment) ProtoMessage()

func (*IncidentRoleAssignment) ProtoReflect Uses

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

func (*IncidentRoleAssignment) Reset Uses

func (x *IncidentRoleAssignment) Reset()

func (*IncidentRoleAssignment) String Uses

func (x *IncidentRoleAssignment) String() string

type IncidentRole_Type Uses

type IncidentRole_Type int32

List of possible roles.

const (
    // The role is unspecified.
    IncidentRole_TYPE_UNSPECIFIED IncidentRole_Type = 0
    // Incident Commander: Manages response plan, near-term and long-term
    // objectives, establishes priorities, and delegates tasks as needed.
    IncidentRole_TYPE_INCIDENT_COMMANDER IncidentRole_Type = 1
    // Communications Lead: Keeps everybody outside and within the response team
    // informed.
    IncidentRole_TYPE_COMMUNICATIONS_LEAD IncidentRole_Type = 2
    // Operations Lead: Figures out what to do, and gets it done.
    IncidentRole_TYPE_OPERATIONS_LEAD IncidentRole_Type = 3
    // External Customer Communications Lead: Responsible for communicating
    // incident details to customers/public.
    IncidentRole_TYPE_EXTERNAL_CUSTOMER_COMMUNICATIONS_LEAD IncidentRole_Type = 4
    // Primary Oncall: Responds to the initial page and handles all
    // responsibilities for pre-escalated incidents.
    IncidentRole_TYPE_PRIMARY_ONCALL IncidentRole_Type = 5
    // Secondary Oncall: Helps the primary oncall if necessary; mostly useful
    // for pre-escalated incidents.
    IncidentRole_TYPE_SECONDARY_ONCALL IncidentRole_Type = 6
    // User-specified roles. One example is a Planning Lead, who keeps track of
    // the incident. Another is an assistant Incident Commander.
    IncidentRole_TYPE_OTHER IncidentRole_Type = 7
)

func (IncidentRole_Type) Descriptor Uses

func (IncidentRole_Type) Descriptor() protoreflect.EnumDescriptor

func (IncidentRole_Type) Enum Uses

func (x IncidentRole_Type) Enum() *IncidentRole_Type

func (IncidentRole_Type) EnumDescriptor Uses

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

Deprecated: Use IncidentRole_Type.Descriptor instead.

func (IncidentRole_Type) Number Uses

func (x IncidentRole_Type) Number() protoreflect.EnumNumber

func (IncidentRole_Type) String Uses

func (x IncidentRole_Type) String() string

func (IncidentRole_Type) Type Uses

func (IncidentRole_Type) Type() protoreflect.EnumType

type IncidentServiceClient Uses

type IncidentServiceClient interface {
    // Creates a new incident.
    CreateIncident(ctx context.Context, in *CreateIncidentRequest, opts ...grpc.CallOption) (*Incident, error)
    // Returns an incident by name.
    GetIncident(ctx context.Context, in *GetIncidentRequest, opts ...grpc.CallOption) (*Incident, error)
    // Returns a list of incidents.
    // Incidents are ordered by start time, with the most recent incidents first.
    SearchIncidents(ctx context.Context, in *SearchIncidentsRequest, opts ...grpc.CallOption) (*SearchIncidentsResponse, error)
    // Updates an existing incident.
    UpdateIncident(ctx context.Context, in *UpdateIncidentRequest, opts ...grpc.CallOption) (*Incident, error)
    // Returns a list of incidents that are "similar" to the specified incident
    // or signal. This functionality is provided on a best-effort basis and the
    // definition of "similar" is subject to change.
    SearchSimilarIncidents(ctx context.Context, in *SearchSimilarIncidentsRequest, opts ...grpc.CallOption) (*SearchSimilarIncidentsResponse, error)
    // Creates an annotation on an existing incident. Only 'text/plain' and
    // 'text/markdown' annotations can be created via this method.
    CreateAnnotation(ctx context.Context, in *CreateAnnotationRequest, opts ...grpc.CallOption) (*Annotation, error)
    // Lists annotations that are part of an incident. No assumptions should be
    // made on the content-type of the annotation returned.
    ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error)
    // Creates a tag on an existing incident.
    CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error)
    // Deletes an existing tag.
    DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists tags that are part of an incident.
    ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
    // Creates a new signal.
    CreateSignal(ctx context.Context, in *CreateSignalRequest, opts ...grpc.CallOption) (*Signal, error)
    // Lists signals that are part of an incident.
    // Signals are returned in reverse chronological order.
    // Note that search should not be relied on for critical functionality.  It
    // has lower availability guarantees and might fail to return valid results.
    // Returned results might include stale or extraneous entries.
    SearchSignals(ctx context.Context, in *SearchSignalsRequest, opts ...grpc.CallOption) (*SearchSignalsResponse, error)
    // Finds a signal by other unique IDs.
    LookupSignal(ctx context.Context, in *LookupSignalRequest, opts ...grpc.CallOption) (*Signal, error)
    // Returns a signal by name.
    GetSignal(ctx context.Context, in *GetSignalRequest, opts ...grpc.CallOption) (*Signal, error)
    // Updates an existing signal (for example, to assign/unassign it to an
    // incident).
    UpdateSignal(ctx context.Context, in *UpdateSignalRequest, opts ...grpc.CallOption) (*Signal, error)
    // Escalates an incident.
    EscalateIncident(ctx context.Context, in *EscalateIncidentRequest, opts ...grpc.CallOption) (*EscalateIncidentResponse, error)
    // Creates a new artifact.
    CreateArtifact(ctx context.Context, in *CreateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
    // Returns a list of artifacts for an incident.
    ListArtifacts(ctx context.Context, in *ListArtifactsRequest, opts ...grpc.CallOption) (*ListArtifactsResponse, error)
    // Updates an existing artifact.
    UpdateArtifact(ctx context.Context, in *UpdateArtifactRequest, opts ...grpc.CallOption) (*Artifact, error)
    // Deletes an existing artifact.
    DeleteArtifact(ctx context.Context, in *DeleteArtifactRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Sends a summary of the shift for oncall handoff.
    SendShiftHandoff(ctx context.Context, in *SendShiftHandoffRequest, opts ...grpc.CallOption) (*SendShiftHandoffResponse, error)
    // Creates a new subscription.
    // This will fail if:
    //    a. there are too many (50) subscriptions in the incident already
    //    b. a subscription using the given channel already exists
    CreateSubscription(ctx context.Context, in *CreateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error)
    // Updates a subscription.
    UpdateSubscription(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*Subscription, error)
    // Returns a list of subscriptions for an incident.
    ListSubscriptions(ctx context.Context, in *ListSubscriptionsRequest, opts ...grpc.CallOption) (*ListSubscriptionsResponse, error)
    // Deletes an existing subscription.
    DeleteSubscription(ctx context.Context, in *DeleteSubscriptionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Creates a role assignment on an existing incident. Normally, the user field
    // will be set when assigning a role to oneself, and the next field will be
    // set when proposing another user as the assignee. Setting the next field
    // directly to a user other than oneself is equivalent to proposing and
    // force-assigning the role to the user.
    CreateIncidentRoleAssignment(ctx context.Context, in *CreateIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error)
    // Deletes an existing role assignment.
    DeleteIncidentRoleAssignment(ctx context.Context, in *DeleteIncidentRoleAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Lists role assignments that are part of an incident.
    ListIncidentRoleAssignments(ctx context.Context, in *ListIncidentRoleAssignmentsRequest, opts ...grpc.CallOption) (*ListIncidentRoleAssignmentsResponse, error)
    // Starts a role handover. The proposed assignee will receive an email
    // notifying them of the assignment. This will fail if a role handover is
    // already pending.
    // Handover to an oncall ladder is not permitted. Use
    // CreateIncidentRoleAssignment instead.
    RequestIncidentRoleHandover(ctx context.Context, in *RequestIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error)
    // Confirms a role handover. This will fail if the 'proposed_assignee' field
    // of the IncidentRoleAssignment is not equal to the 'new_assignee' field of
    // the request. If the caller is not the new_assignee,
    // ForceIncidentRoleHandover should be used instead.
    ConfirmIncidentRoleHandover(ctx context.Context, in *ConfirmIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error)
    // Forces a role handover. This will fail if the 'proposed_assignee' field of
    // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the
    // request. If the caller is the new_assignee, ConfirmIncidentRoleHandover
    // should be used instead.
    ForceIncidentRoleHandover(ctx context.Context, in *ForceIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error)
    // Cancels a role handover. This will fail if the 'proposed_assignee' field of
    // the IncidentRoleAssignment is not equal to the 'new_assignee' field of the
    // request.
    CancelIncidentRoleHandover(ctx context.Context, in *CancelIncidentRoleHandoverRequest, opts ...grpc.CallOption) (*IncidentRoleAssignment, error)
}

IncidentServiceClient is the client API for IncidentService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIncidentServiceClient Uses

func NewIncidentServiceClient(cc grpc.ClientConnInterface) IncidentServiceClient

type IncidentServiceServer Uses

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 Uses

type Incident_CommunicationVenue struct {

    // A URI to the web interface of the channel.
    Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
    // A name representing the channel in IRM UI.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The type of channel/venue for incident communications.
    ChannelType Incident_CommunicationVenue_ChannelType `protobuf:"varint,3,opt,name=channel_type,json=channelType,proto3,enum=google.cloud.irm.v1alpha2.Incident_CommunicationVenue_ChannelType" json:"channel_type,omitempty"`
    // contains filtered or unexported fields
}

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

func (*Incident_CommunicationVenue) Descriptor Uses

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

Deprecated: Use Incident_CommunicationVenue.ProtoReflect.Descriptor instead.

func (*Incident_CommunicationVenue) GetChannelType Uses

func (x *Incident_CommunicationVenue) GetChannelType() Incident_CommunicationVenue_ChannelType

func (*Incident_CommunicationVenue) GetDisplayName Uses

func (x *Incident_CommunicationVenue) GetDisplayName() string

func (*Incident_CommunicationVenue) GetUri Uses

func (x *Incident_CommunicationVenue) GetUri() string

func (*Incident_CommunicationVenue) ProtoMessage Uses

func (*Incident_CommunicationVenue) ProtoMessage()

func (*Incident_CommunicationVenue) ProtoReflect Uses

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

func (*Incident_CommunicationVenue) Reset Uses

func (x *Incident_CommunicationVenue) Reset()

func (*Incident_CommunicationVenue) String Uses

func (x *Incident_CommunicationVenue) String() string

type Incident_CommunicationVenue_ChannelType Uses

type Incident_CommunicationVenue_ChannelType int32

The type of channel/venue for incident communications.

const (
    // An unspecified communication channel.
    Incident_CommunicationVenue_CHANNEL_TYPE_UNSPECIFIED Incident_CommunicationVenue_ChannelType = 0
    // A communication channel that is represented by a generic URI.
    Incident_CommunicationVenue_CHANNEL_TYPE_URI Incident_CommunicationVenue_ChannelType = 1
    // A communication channel that represents a Slack channel.
    Incident_CommunicationVenue_CHANNEL_TYPE_SLACK Incident_CommunicationVenue_ChannelType = 5
)

func (Incident_CommunicationVenue_ChannelType) Descriptor Uses

func (Incident_CommunicationVenue_ChannelType) Descriptor() protoreflect.EnumDescriptor

func (Incident_CommunicationVenue_ChannelType) Enum Uses

func (x Incident_CommunicationVenue_ChannelType) Enum() *Incident_CommunicationVenue_ChannelType

func (Incident_CommunicationVenue_ChannelType) EnumDescriptor Uses

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

Deprecated: Use Incident_CommunicationVenue_ChannelType.Descriptor instead.

func (Incident_CommunicationVenue_ChannelType) Number Uses

func (x Incident_CommunicationVenue_ChannelType) Number() protoreflect.EnumNumber

func (Incident_CommunicationVenue_ChannelType) String Uses

func (x Incident_CommunicationVenue_ChannelType) String() string

func (Incident_CommunicationVenue_ChannelType) Type Uses

func (Incident_CommunicationVenue_ChannelType) Type() protoreflect.EnumType

type Incident_EscalationLevel Uses

type Incident_EscalationLevel int32

Specifies the escalation level of this incident, within the IRM protocol for handling incidents.

const (
    // The incident has not been escalated. This is the value used by all new
    // and legacy incidents.
    Incident_ESCALATION_LEVEL_UNSPECIFIED Incident_EscalationLevel = 0
    // The incident has been escalated to the organizational level.
    Incident_ESCALATION_LEVEL_ORGANIZATION Incident_EscalationLevel = 1
)

func (Incident_EscalationLevel) Descriptor Uses

func (Incident_EscalationLevel) Descriptor() protoreflect.EnumDescriptor

func (Incident_EscalationLevel) Enum Uses

func (x Incident_EscalationLevel) Enum() *Incident_EscalationLevel

func (Incident_EscalationLevel) EnumDescriptor Uses

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

Deprecated: Use Incident_EscalationLevel.Descriptor instead.

func (Incident_EscalationLevel) Number Uses

func (x Incident_EscalationLevel) Number() protoreflect.EnumNumber

func (Incident_EscalationLevel) String Uses

func (x Incident_EscalationLevel) String() string

func (Incident_EscalationLevel) Type Uses

func (Incident_EscalationLevel) Type() protoreflect.EnumType

type Incident_Severity Uses

type Incident_Severity int32

Severity of an incident.

const (
    // Severity is not specified.
    Incident_SEVERITY_UNSPECIFIED Incident_Severity = 0
    // Huge incident.
    Incident_SEVERITY_HUGE Incident_Severity = 1
    // Major incident.
    Incident_SEVERITY_MAJOR Incident_Severity = 2
    // Medium incident.
    Incident_SEVERITY_MEDIUM Incident_Severity = 3
    // Minor incident.
    Incident_SEVERITY_MINOR Incident_Severity = 4
    // Negligible incident.
    Incident_SEVERITY_NEGLIGIBLE Incident_Severity = 5
)

func (Incident_Severity) Descriptor Uses

func (Incident_Severity) Descriptor() protoreflect.EnumDescriptor

func (Incident_Severity) Enum Uses

func (x Incident_Severity) Enum() *Incident_Severity

func (Incident_Severity) EnumDescriptor Uses

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

Deprecated: Use Incident_Severity.Descriptor instead.

func (Incident_Severity) Number Uses

func (x Incident_Severity) Number() protoreflect.EnumNumber

func (Incident_Severity) String Uses

func (x Incident_Severity) String() string

func (Incident_Severity) Type Uses

func (Incident_Severity) Type() protoreflect.EnumType

type Incident_Stage Uses

type Incident_Stage int32

Stage of an incident.

const (
    // This is the default value if no stage has been specified.
    // Note: The caller of the API should set the stage to DETECTED.
    Incident_STAGE_UNSPECIFIED Incident_Stage = 0
    // The incident has been detected. This is the initial stage of a new
    // incident.
    // Note: The caller still has to set the stage manually.
    Incident_STAGE_DETECTED Incident_Stage = 4
    // This incident has been formally characterized.
    Incident_STAGE_TRIAGED Incident_Stage = 1
    // This incident has been mitigated, i.e. does not affect the service level
    // anymore.
    Incident_STAGE_MITIGATED Incident_Stage = 2
    // This incident has been fully resolved, i.e. there are no immediate
    // follow-up tasks.
    Incident_STAGE_RESOLVED Incident_Stage = 3
    // Postmortem for the incident was written.
    Incident_STAGE_DOCUMENTED Incident_Stage = 5
    // Stage for an incident with `duplicate_incident`. This incident is not
    // authoritative anymore and the `duplicate_incident` should be used to
    // determine the stage.
    Incident_STAGE_DUPLICATE Incident_Stage = 6
)

func (Incident_Stage) Descriptor Uses

func (Incident_Stage) Descriptor() protoreflect.EnumDescriptor

func (Incident_Stage) Enum Uses

func (x Incident_Stage) Enum() *Incident_Stage

func (Incident_Stage) EnumDescriptor Uses

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

Deprecated: Use Incident_Stage.Descriptor instead.

func (Incident_Stage) Number Uses

func (x Incident_Stage) Number() protoreflect.EnumNumber

func (Incident_Stage) String Uses

func (x Incident_Stage) String() string

func (Incident_Stage) Type Uses

func (Incident_Stage) Type() protoreflect.EnumType

type ListAnnotationsRequest Uses

type ListAnnotationsRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Number of annotations to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the ListAnnotations method.

func (*ListAnnotationsRequest) Descriptor Uses

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

Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.

func (*ListAnnotationsRequest) GetPageSize Uses

func (x *ListAnnotationsRequest) GetPageSize() int32

func (*ListAnnotationsRequest) GetPageToken Uses

func (x *ListAnnotationsRequest) GetPageToken() string

func (*ListAnnotationsRequest) GetParent Uses

func (x *ListAnnotationsRequest) GetParent() string

func (*ListAnnotationsRequest) ProtoMessage Uses

func (*ListAnnotationsRequest) ProtoMessage()

func (*ListAnnotationsRequest) ProtoReflect Uses

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

func (*ListAnnotationsRequest) Reset Uses

func (x *ListAnnotationsRequest) Reset()

func (*ListAnnotationsRequest) String Uses

func (x *ListAnnotationsRequest) String() string

type ListAnnotationsResponse Uses

type ListAnnotationsResponse struct {

    // List of annotations.
    Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"`
    // Page token to fetch the next set of annotations.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the ListAnnotations method.

func (*ListAnnotationsResponse) Descriptor Uses

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

Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.

func (*ListAnnotationsResponse) GetAnnotations Uses

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

func (*ListAnnotationsResponse) GetNextPageToken Uses

func (x *ListAnnotationsResponse) GetNextPageToken() string

func (*ListAnnotationsResponse) ProtoMessage Uses

func (*ListAnnotationsResponse) ProtoMessage()

func (*ListAnnotationsResponse) ProtoReflect Uses

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

func (*ListAnnotationsResponse) Reset Uses

func (x *ListAnnotationsResponse) Reset()

func (*ListAnnotationsResponse) String Uses

func (x *ListAnnotationsResponse) String() string

type ListArtifactsRequest Uses

type ListArtifactsRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Number of artifacts to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the ListArtifacts method.

func (*ListArtifactsRequest) Descriptor Uses

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

Deprecated: Use ListArtifactsRequest.ProtoReflect.Descriptor instead.

func (*ListArtifactsRequest) GetPageSize Uses

func (x *ListArtifactsRequest) GetPageSize() int32

func (*ListArtifactsRequest) GetPageToken Uses

func (x *ListArtifactsRequest) GetPageToken() string

func (*ListArtifactsRequest) GetParent Uses

func (x *ListArtifactsRequest) GetParent() string

func (*ListArtifactsRequest) ProtoMessage Uses

func (*ListArtifactsRequest) ProtoMessage()

func (*ListArtifactsRequest) ProtoReflect Uses

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

func (*ListArtifactsRequest) Reset Uses

func (x *ListArtifactsRequest) Reset()

func (*ListArtifactsRequest) String Uses

func (x *ListArtifactsRequest) String() string

type ListArtifactsResponse Uses

type ListArtifactsResponse struct {

    // List of artifacts.
    Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
    // Page token to fetch the next set of artifacts.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the ListArtifacts method.

func (*ListArtifactsResponse) Descriptor Uses

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

Deprecated: Use ListArtifactsResponse.ProtoReflect.Descriptor instead.

func (*ListArtifactsResponse) GetArtifacts Uses

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

func (*ListArtifactsResponse) GetNextPageToken Uses

func (x *ListArtifactsResponse) GetNextPageToken() string

func (*ListArtifactsResponse) ProtoMessage Uses

func (*ListArtifactsResponse) ProtoMessage()

func (*ListArtifactsResponse) ProtoReflect Uses

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

func (*ListArtifactsResponse) Reset Uses

func (x *ListArtifactsResponse) Reset()

func (*ListArtifactsResponse) String Uses

func (x *ListArtifactsResponse) String() string

type ListIncidentRoleAssignmentsRequest Uses

type ListIncidentRoleAssignmentsRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Number of assignments to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request to list role assignments of an incident.

func (*ListIncidentRoleAssignmentsRequest) Descriptor Uses

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

Deprecated: Use ListIncidentRoleAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListIncidentRoleAssignmentsRequest) GetPageSize Uses

func (x *ListIncidentRoleAssignmentsRequest) GetPageSize() int32

func (*ListIncidentRoleAssignmentsRequest) GetPageToken Uses

func (x *ListIncidentRoleAssignmentsRequest) GetPageToken() string

func (*ListIncidentRoleAssignmentsRequest) GetParent Uses

func (x *ListIncidentRoleAssignmentsRequest) GetParent() string

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage Uses

func (*ListIncidentRoleAssignmentsRequest) ProtoMessage()

func (*ListIncidentRoleAssignmentsRequest) ProtoReflect Uses

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

func (*ListIncidentRoleAssignmentsRequest) Reset Uses

func (x *ListIncidentRoleAssignmentsRequest) Reset()

func (*ListIncidentRoleAssignmentsRequest) String Uses

func (x *ListIncidentRoleAssignmentsRequest) String() string

type ListIncidentRoleAssignmentsResponse Uses

type ListIncidentRoleAssignmentsResponse struct {

    // List of assignments.
    IncidentRoleAssignments []*IncidentRoleAssignment `protobuf:"bytes,1,rep,name=incident_role_assignments,json=incidentRoleAssignments,proto3" json:"incident_role_assignments,omitempty"`
    // Page token to fetch the next set of assignments.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the ListIncidentRoleAssignments method.

func (*ListIncidentRoleAssignmentsResponse) Descriptor Uses

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

Deprecated: Use ListIncidentRoleAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListIncidentRoleAssignmentsResponse) GetIncidentRoleAssignments Uses

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

func (*ListIncidentRoleAssignmentsResponse) GetNextPageToken Uses

func (x *ListIncidentRoleAssignmentsResponse) GetNextPageToken() string

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage Uses

func (*ListIncidentRoleAssignmentsResponse) ProtoMessage()

func (*ListIncidentRoleAssignmentsResponse) ProtoReflect Uses

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

func (*ListIncidentRoleAssignmentsResponse) Reset Uses

func (x *ListIncidentRoleAssignmentsResponse) Reset()

func (*ListIncidentRoleAssignmentsResponse) String Uses

func (x *ListIncidentRoleAssignmentsResponse) String() string

type ListSubscriptionsRequest Uses

type ListSubscriptionsRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Number of subscriptions to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the ListSubscriptions method.

func (*ListSubscriptionsRequest) Descriptor Uses

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

Deprecated: Use ListSubscriptionsRequest.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsRequest) GetPageSize Uses

func (x *ListSubscriptionsRequest) GetPageSize() int32

func (*ListSubscriptionsRequest) GetPageToken Uses

func (x *ListSubscriptionsRequest) GetPageToken() string

func (*ListSubscriptionsRequest) GetParent Uses

func (x *ListSubscriptionsRequest) GetParent() string

func (*ListSubscriptionsRequest) ProtoMessage Uses

func (*ListSubscriptionsRequest) ProtoMessage()

func (*ListSubscriptionsRequest) ProtoReflect Uses

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

func (*ListSubscriptionsRequest) Reset Uses

func (x *ListSubscriptionsRequest) Reset()

func (*ListSubscriptionsRequest) String Uses

func (x *ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse Uses

type ListSubscriptionsResponse struct {

    // List of subscriptions.
    Subscriptions []*Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
    // Page token to fetch the next set of subscriptions.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the ListSubscriptions method.

func (*ListSubscriptionsResponse) Descriptor Uses

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

Deprecated: Use ListSubscriptionsResponse.ProtoReflect.Descriptor instead.

func (*ListSubscriptionsResponse) GetNextPageToken Uses

func (x *ListSubscriptionsResponse) GetNextPageToken() string

func (*ListSubscriptionsResponse) GetSubscriptions Uses

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

func (*ListSubscriptionsResponse) ProtoMessage Uses

func (*ListSubscriptionsResponse) ProtoMessage()

func (*ListSubscriptionsResponse) ProtoReflect Uses

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

func (*ListSubscriptionsResponse) Reset Uses

func (x *ListSubscriptionsResponse) Reset()

func (*ListSubscriptionsResponse) String Uses

func (x *ListSubscriptionsResponse) String() string

type ListTagsRequest Uses

type ListTagsRequest struct {

    // Required. Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Number of tags to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the ListTagsForIncident method.

func (*ListTagsRequest) Descriptor Uses

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

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetPageSize Uses

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken Uses

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) GetParent Uses

func (x *ListTagsRequest) GetParent() string

func (*ListTagsRequest) ProtoMessage Uses

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect Uses

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

func (*ListTagsRequest) Reset Uses

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String Uses

func (x *ListTagsRequest) String() string

type ListTagsResponse Uses

type ListTagsResponse struct {

    // Tags.
    Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
    // Page token to fetch the next set of tags.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the ListTagsForIncident method.

func (*ListTagsResponse) Descriptor Uses

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

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken Uses

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags Uses

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

func (*ListTagsResponse) ProtoMessage Uses

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect Uses

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

func (*ListTagsResponse) Reset Uses

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String Uses

func (x *ListTagsResponse) String() string

type LookupSignalRequest Uses

type LookupSignalRequest struct {

    // The ID to use for lookup.
    //
    // Types that are assignable to AlternateId:
    //	*LookupSignalRequest_CsccFinding
    //	*LookupSignalRequest_StackdriverNotificationId
    AlternateId isLookupSignalRequest_AlternateId `protobuf_oneof:"alternate_id"`
    // contains filtered or unexported fields
}

Request for the LookupSignal method.

func (*LookupSignalRequest) Descriptor Uses

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

Deprecated: Use LookupSignalRequest.ProtoReflect.Descriptor instead.

func (*LookupSignalRequest) GetAlternateId Uses

func (m *LookupSignalRequest) GetAlternateId() isLookupSignalRequest_AlternateId

func (*LookupSignalRequest) GetCsccFinding Uses

func (x *LookupSignalRequest) GetCsccFinding() string

func (*LookupSignalRequest) GetStackdriverNotificationId Uses

func (x *LookupSignalRequest) GetStackdriverNotificationId() string

func (*LookupSignalRequest) ProtoMessage Uses

func (*LookupSignalRequest) ProtoMessage()

func (*LookupSignalRequest) ProtoReflect Uses

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

func (*LookupSignalRequest) Reset Uses

func (x *LookupSignalRequest) Reset()

func (*LookupSignalRequest) String Uses

func (x *LookupSignalRequest) String() string

type LookupSignalRequest_CsccFinding Uses

type LookupSignalRequest_CsccFinding struct {
    // Required. Full resource name of the CSCC finding id this signal refers to (e.g.
    // "organizations/abc/sources/123/findings/xyz")
    CsccFinding string `protobuf:"bytes,2,opt,name=cscc_finding,json=csccFinding,proto3,oneof"`
}

type LookupSignalRequest_StackdriverNotificationId Uses

type LookupSignalRequest_StackdriverNotificationId struct {
    // The ID from the Stackdriver Alerting notification.
    StackdriverNotificationId string `protobuf:"bytes,3,opt,name=stackdriver_notification_id,json=stackdriverNotificationId,proto3,oneof"`
}

type RequestIncidentRoleHandoverRequest Uses

type RequestIncidentRoleHandoverRequest struct {

    // Required. Resource name of the role assignment.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The proposed assignee.
    NewAssignee *User `protobuf:"bytes,2,opt,name=new_assignee,json=newAssignee,proto3" json:"new_assignee,omitempty"`
    // contains filtered or unexported fields
}

Request to start a role handover.

func (*RequestIncidentRoleHandoverRequest) Descriptor Uses

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

Deprecated: Use RequestIncidentRoleHandoverRequest.ProtoReflect.Descriptor instead.

func (*RequestIncidentRoleHandoverRequest) GetName Uses

func (x *RequestIncidentRoleHandoverRequest) GetName() string

func (*RequestIncidentRoleHandoverRequest) GetNewAssignee Uses

func (x *RequestIncidentRoleHandoverRequest) GetNewAssignee() *User

func (*RequestIncidentRoleHandoverRequest) ProtoMessage Uses

func (*RequestIncidentRoleHandoverRequest) ProtoMessage()

func (*RequestIncidentRoleHandoverRequest) ProtoReflect Uses

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

func (*RequestIncidentRoleHandoverRequest) Reset Uses

func (x *RequestIncidentRoleHandoverRequest) Reset()

func (*RequestIncidentRoleHandoverRequest) String Uses

func (x *RequestIncidentRoleHandoverRequest) String() string

type SearchIncidentsRequest Uses

type SearchIncidentsRequest struct {

    // Required. The resource name of the hosting Stackdriver project which requested
    // incidents belong to.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // An expression that defines which incidents to return.
    //
    // Search atoms can be used to match certain specific fields.  Otherwise,
    // plain text will match text fields in the incident.
    //
    // Search atoms:
    // * `start` - (timestamp) The time the incident started.
    // * `stage` - The stage of the incident, one of detected, triaged, mitigated,
    //   resolved, documented, or duplicate (which correspond to values in the
    //   Incident.Stage enum). These are ordered, so `stage<resolved` is
    //   equivalent to `stage:detected OR stage:triaged OR stage:mitigated`.
    // * `severity` - (Incident.Severity) The severity of the incident.
    //    + Supports matching on a specific severity (for example,
    //    `severity:major`) or on a range (for example, `severity>medium`,
    //    `severity<=minor`, etc.).
    //
    // Timestamp formats:
    // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window.
    //   In other words, the "<" operator will match dates before that date, the
    //   ">" operator will match dates after that date, and the ":" or "="
    //   operators will match the entire day.
    // * Nd (for example, 7d) - a relative number of days ago, treated as a moment
    //   in time (as opposed to a day-wide span). A multiple of 24 hours ago (as
    //   opposed to calendar days).  In the case of daylight savings time, it will
    //   apply the current timezone to both ends of the range.  Note that exact
    //   matching (for example, `start:7d`) is unlikely to be useful because that
    //   would only match incidents created precisely at a particular instant in
    //   time.
    //
    // Examples:
    //
    // * `foo` - matches incidents containing the word "foo"
    // * `"foo bar"` - matches incidents containing the phrase "foo bar"
    // * `foo bar` or `foo AND bar` - matches incidents containing the words "foo"
    //   and "bar"
    // * `foo -bar` or `foo AND NOT bar` - matches incidents containing the word
    //   "foo" but not the word "bar"
    // * `foo OR bar` - matches incidents containing the word "foo" or the word
    //   "bar"
    // * `start>2018-11-28` - matches incidents which started after November 11,
    //   2018.
    // * `start<=2018-11-28` - matches incidents which started on or before
    //   November 11, 2018.
    // * `start:2018-11-28` - matches incidents which started on November 11,
    //   2018.
    // * `start>7d` - matches incidents which started after the point in time 7*24
    //   hours ago
    // * `start>180d` - similar to 7d, but likely to cross the daylight savings
    //   time boundary, so the end time will be 1 hour different from "now."
    // * `foo AND start>90d AND stage<resolved` - unresolved incidents from the
    //   past 90 days containing the word "foo"
    Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
    // Number of incidents to return.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`.
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // The time zone name. It should be an IANA TZ name, such as
    // "America/Los_Angeles". For more information,
    // see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
    // If no time zone is specified, the default is UTC.
    TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
    // contains filtered or unexported fields
}

Request for the SearchIncidents method.

func (*SearchIncidentsRequest) Descriptor Uses

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

Deprecated: Use SearchIncidentsRequest.ProtoReflect.Descriptor instead.

func (*SearchIncidentsRequest) GetPageSize Uses

func (x *SearchIncidentsRequest) GetPageSize() int32

func (*SearchIncidentsRequest) GetPageToken Uses

func (x *SearchIncidentsRequest) GetPageToken() string

func (*SearchIncidentsRequest) GetParent Uses

func (x *SearchIncidentsRequest) GetParent() string

func (*SearchIncidentsRequest) GetQuery Uses

func (x *SearchIncidentsRequest) GetQuery() string

func (*SearchIncidentsRequest) GetTimeZone Uses

func (x *SearchIncidentsRequest) GetTimeZone() string

func (*SearchIncidentsRequest) ProtoMessage Uses

func (*SearchIncidentsRequest) ProtoMessage()

func (*SearchIncidentsRequest) ProtoReflect Uses

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

func (*SearchIncidentsRequest) Reset Uses

func (x *SearchIncidentsRequest) Reset()

func (*SearchIncidentsRequest) String Uses

func (x *SearchIncidentsRequest) String() string

type SearchIncidentsResponse Uses

type SearchIncidentsResponse struct {

    // Incidents.
    Incidents []*Incident `protobuf:"bytes,1,rep,name=incidents,proto3" json:"incidents,omitempty"`
    // Page token to fetch the next set of incidents.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the SearchIncidents method.

func (*SearchIncidentsResponse) Descriptor Uses

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

Deprecated: Use SearchIncidentsResponse.ProtoReflect.Descriptor instead.

func (*SearchIncidentsResponse) GetIncidents Uses

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

func (*SearchIncidentsResponse) GetNextPageToken Uses

func (x *SearchIncidentsResponse) GetNextPageToken() string

func (*SearchIncidentsResponse) ProtoMessage Uses

func (*SearchIncidentsResponse) ProtoMessage()

func (*SearchIncidentsResponse) ProtoReflect Uses

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

func (*SearchIncidentsResponse) Reset Uses

func (x *SearchIncidentsResponse) Reset()

func (*SearchIncidentsResponse) String Uses

func (x *SearchIncidentsResponse) String() string

type SearchSignalsRequest Uses

type SearchSignalsRequest struct {

    // Required. The resource name of the hosting Stackdriver project which requested
    // incidents belong to.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // An expression that defines which signals to return.
    //
    // Search atoms can be used to match certain specific fields.  Otherwise,
    // plain text will match text fields in the signal.
    //
    // Search atoms:
    //
    // * `start` - (timestamp) The time the signal was created.
    // * `title` - The title of the signal.
    // * `signal_state` - `open` or `closed`. State of the signal.
    //   (e.g., `signal_state:open`)
    //
    // Timestamp formats:
    //
    // * yyyy-MM-dd - an absolute date, treated as a calendar-day-wide window.
    //   In other words, the "<" operator will match dates before that date, the
    //   ">" operator will match dates after that date, and the ":" operator will
    //   match the entire day.
    // * yyyy-MM-ddTHH:mm - Same as above, but with minute resolution.
    // * yyyy-MM-ddTHH:mm:ss - Same as above, but with second resolution.
    // * Nd (e.g. 7d) - a relative number of days ago, treated as a moment in time
    //   (as opposed to a day-wide span) a multiple of 24 hours ago (as opposed to
    //   calendar days).  In the case of daylight savings time, it will apply the
    //   current timezone to both ends of the range.  Note that exact matching
    //   (e.g. `start:7d`) is unlikely to be useful because that would only match
    //   signals created precisely at a particular instant in time.
    //
    // The absolute timestamp formats (everything starting with a year) can
    // optionally be followed with a UTC offset in +/-hh:mm format.  Also, the 'T'
    // separating dates and times can optionally be replaced with a space. Note
    // that any timestamp containing a space or colon will need to be quoted.
    //
    // Examples:
    //
    // * `foo` - matches signals containing the word "foo"
    // * `"foo bar"` - matches signals containing the phrase "foo bar"
    // * `foo bar` or `foo AND bar` - matches signals containing the words
    //   "foo" and "bar"
    // * `foo -bar` or `foo AND NOT bar` - matches signals containing the
    //   word
    //   "foo" but not the word "bar"
    // * `foo OR bar` - matches signals containing the word "foo" or the
    //   word "bar"
    // * `start>2018-11-28` - matches signals which started after November
    //   11, 2018.
    // * `start<=2018-11-28` - matches signals which started on or before
    //   November 11, 2018.
    // * `start:2018-11-28` - matches signals which started on November 11,
    //   2018.
    // * `start>"2018-11-28 01:02:03+04:00"` - matches signals which started
    //   after November 11, 2018 at 1:02:03 AM according to the UTC+04 time
    //   zone.
    // * `start>7d` - matches signals which started after the point in time
    //   7*24 hours ago
    // * `start>180d` - similar to 7d, but likely to cross the daylight savings
    //   time boundary, so the end time will be 1 hour different from "now."
    // * `foo AND start>90d AND stage<resolved` - unresolved signals from
    //   the past 90 days containing the word "foo"
    Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
    // Maximum number of `signals` to return in the response.
    PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in `next_page_token`. All
    // field values except for page_size and page_token should be the same as the
    // original query (may return an error or unexpected data otherwise).
    PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the SearchSignals method.

func (*SearchSignalsRequest) Descriptor Uses

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

Deprecated: Use SearchSignalsRequest.ProtoReflect.Descriptor instead.

func (*SearchSignalsRequest) GetPageSize Uses

func (x *SearchSignalsRequest) GetPageSize() int32

func (*SearchSignalsRequest) GetPageToken Uses

func (x *SearchSignalsRequest) GetPageToken() string

func (*SearchSignalsRequest) GetParent Uses

func (x *SearchSignalsRequest) GetParent() string

func (*SearchSignalsRequest) GetQuery Uses

func (x *SearchSignalsRequest) GetQuery() string

func (*SearchSignalsRequest) ProtoMessage Uses

func (*SearchSignalsRequest) ProtoMessage()

func (*SearchSignalsRequest) ProtoReflect Uses

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

func (*SearchSignalsRequest) Reset Uses

func (x *SearchSignalsRequest) Reset()

func (*SearchSignalsRequest) String Uses

func (x *SearchSignalsRequest) String() string

type SearchSignalsResponse Uses

type SearchSignalsResponse struct {

    // Signals that matched the query in the request.
    Signals []*Signal `protobuf:"bytes,1,rep,name=signals,proto3" json:"signals,omitempty"`
    // Page token to fetch the next set of signals.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the SearchSignals method.

func (*SearchSignalsResponse) Descriptor Uses

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

Deprecated: Use SearchSignalsResponse.ProtoReflect.Descriptor instead.

func (*SearchSignalsResponse) GetNextPageToken Uses

func (x *SearchSignalsResponse) GetNextPageToken() string

func (*SearchSignalsResponse) GetSignals Uses

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

func (*SearchSignalsResponse) ProtoMessage Uses

func (*SearchSignalsResponse) ProtoMessage()

func (*SearchSignalsResponse) ProtoReflect Uses

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

func (*SearchSignalsResponse) Reset Uses

func (x *SearchSignalsResponse) Reset()

func (*SearchSignalsResponse) String Uses

func (x *SearchSignalsResponse) String() string

type SearchSimilarIncidentsRequest Uses

type SearchSimilarIncidentsRequest struct {

    // Required. Resource name of the incident or signal, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Number of similar incidents to return.
    PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
    // Page token from an earlier query, as returned in 'next_page_token'.
    PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // contains filtered or unexported fields
}

Request for the SearchSimilarIncidents method.

func (*SearchSimilarIncidentsRequest) Descriptor Uses

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

Deprecated: Use SearchSimilarIncidentsRequest.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsRequest) GetName Uses

func (x *SearchSimilarIncidentsRequest) GetName() string

func (*SearchSimilarIncidentsRequest) GetPageSize Uses

func (x *SearchSimilarIncidentsRequest) GetPageSize() int32

func (*SearchSimilarIncidentsRequest) GetPageToken Uses

func (x *SearchSimilarIncidentsRequest) GetPageToken() string

func (*SearchSimilarIncidentsRequest) ProtoMessage Uses

func (*SearchSimilarIncidentsRequest) ProtoMessage()

func (*SearchSimilarIncidentsRequest) ProtoReflect Uses

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

func (*SearchSimilarIncidentsRequest) Reset Uses

func (x *SearchSimilarIncidentsRequest) Reset()

func (*SearchSimilarIncidentsRequest) String Uses

func (x *SearchSimilarIncidentsRequest) String() string

type SearchSimilarIncidentsResponse Uses

type SearchSimilarIncidentsResponse struct {

    // The search results, ordered by descending relevance.
    Results []*SearchSimilarIncidentsResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
    // Page token to fetch the next set of similar incidents.
    NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
    // contains filtered or unexported fields
}

Response for the SearchSimilarIncidents method.

func (*SearchSimilarIncidentsResponse) Descriptor Uses

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

Deprecated: Use SearchSimilarIncidentsResponse.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsResponse) GetNextPageToken Uses

func (x *SearchSimilarIncidentsResponse) GetNextPageToken() string

func (*SearchSimilarIncidentsResponse) GetResults Uses

func (x *SearchSimilarIncidentsResponse) GetResults() []*SearchSimilarIncidentsResponse_Result

func (*SearchSimilarIncidentsResponse) ProtoMessage Uses

func (*SearchSimilarIncidentsResponse) ProtoMessage()

func (*SearchSimilarIncidentsResponse) ProtoReflect Uses

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

func (*SearchSimilarIncidentsResponse) Reset Uses

func (x *SearchSimilarIncidentsResponse) Reset()

func (*SearchSimilarIncidentsResponse) String Uses

func (x *SearchSimilarIncidentsResponse) String() string

type SearchSimilarIncidentsResponse_Result Uses

type SearchSimilarIncidentsResponse_Result struct {

    // An incident that is "similar" to the incident or signal specified in the
    // request.
    Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
    // contains filtered or unexported fields
}

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

func (*SearchSimilarIncidentsResponse_Result) Descriptor Uses

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

Deprecated: Use SearchSimilarIncidentsResponse_Result.ProtoReflect.Descriptor instead.

func (*SearchSimilarIncidentsResponse_Result) GetIncident Uses

func (x *SearchSimilarIncidentsResponse_Result) GetIncident() *Incident

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage Uses

func (*SearchSimilarIncidentsResponse_Result) ProtoMessage()

func (*SearchSimilarIncidentsResponse_Result) ProtoReflect Uses

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

func (*SearchSimilarIncidentsResponse_Result) Reset Uses

func (x *SearchSimilarIncidentsResponse_Result) Reset()

func (*SearchSimilarIncidentsResponse_Result) String Uses

func (x *SearchSimilarIncidentsResponse_Result) String() string

type SendShiftHandoffRequest Uses

type SendShiftHandoffRequest struct {

    // Required. The resource name of the Stackdriver project that the handoff is being sent
    // from. for example, `projects/{project_id_or_number}`
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. Email addresses of the recipients of the handoff, for example,
    // "user@example.com". Must contain at least one entry.
    Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"`
    // Optional. Email addresses that should be CC'd on the handoff.
    Cc  []string `protobuf:"bytes,3,rep,name=cc,proto3" json:"cc,omitempty"`
    // Required. The subject of the email.
    Subject string `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
    // Content type string, for example, 'text/plain' or 'text/html'.
    NotesContentType string `protobuf:"bytes,5,opt,name=notes_content_type,json=notesContentType,proto3" json:"notes_content_type,omitempty"`
    // Optional. Additional notes to be included in the handoff.
    NotesContent string `protobuf:"bytes,6,opt,name=notes_content,json=notesContent,proto3" json:"notes_content,omitempty"`
    // Optional. The set of incidents that should be included in the handoff.
    Incidents []*SendShiftHandoffRequest_Incident `protobuf:"bytes,7,rep,name=incidents,proto3" json:"incidents,omitempty"`
    // If set to true a ShiftHandoffResponse will be returned but the handoff
    // will not actually be sent.
    PreviewOnly bool `protobuf:"varint,8,opt,name=preview_only,json=previewOnly,proto3" json:"preview_only,omitempty"`
    // contains filtered or unexported fields
}

SendShiftHandoff and PreviewShiftHandoff RPC request.

func (*SendShiftHandoffRequest) Descriptor Uses

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

Deprecated: Use SendShiftHandoffRequest.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffRequest) GetCc Uses

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

func (*SendShiftHandoffRequest) GetIncidents Uses

func (x *SendShiftHandoffRequest) GetIncidents() []*SendShiftHandoffRequest_Incident

func (*SendShiftHandoffRequest) GetNotesContent Uses

func (x *SendShiftHandoffRequest) GetNotesContent() string

func (*SendShiftHandoffRequest) GetNotesContentType Uses

func (x *SendShiftHandoffRequest) GetNotesContentType() string

func (*SendShiftHandoffRequest) GetParent Uses

func (x *SendShiftHandoffRequest) GetParent() string

func (*SendShiftHandoffRequest) GetPreviewOnly Uses

func (x *SendShiftHandoffRequest) GetPreviewOnly() bool

func (*SendShiftHandoffRequest) GetRecipients Uses

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

func (*SendShiftHandoffRequest) GetSubject Uses

func (x *SendShiftHandoffRequest) GetSubject() string

func (*SendShiftHandoffRequest) ProtoMessage Uses

func (*SendShiftHandoffRequest) ProtoMessage()

func (*SendShiftHandoffRequest) ProtoReflect Uses

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

func (*SendShiftHandoffRequest) Reset Uses

func (x *SendShiftHandoffRequest) Reset()

func (*SendShiftHandoffRequest) String Uses

func (x *SendShiftHandoffRequest) String() string

type SendShiftHandoffRequest_Incident Uses

type SendShiftHandoffRequest_Incident struct {

    // Resource name of the incident, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

Describes an incident for inclusion in the handoff. This is wrapped in a message to provide flexibility for potentially attaching additional data to each incident in the future.

func (*SendShiftHandoffRequest_Incident) Descriptor Uses

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

Deprecated: Use SendShiftHandoffRequest_Incident.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffRequest_Incident) GetName Uses

func (x *SendShiftHandoffRequest_Incident) GetName() string

func (*SendShiftHandoffRequest_Incident) ProtoMessage Uses

func (*SendShiftHandoffRequest_Incident) ProtoMessage()

func (*SendShiftHandoffRequest_Incident) ProtoReflect Uses

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

func (*SendShiftHandoffRequest_Incident) Reset Uses

func (x *SendShiftHandoffRequest_Incident) Reset()

func (*SendShiftHandoffRequest_Incident) String Uses

func (x *SendShiftHandoffRequest_Incident) String() string

type SendShiftHandoffResponse Uses

type SendShiftHandoffResponse struct {

    // Content type string, for example, 'text/plain' or 'text/html'.
    ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // The contents of the handoff that was sent or would have been sent (if the
    // request was preview_only).
    // This will typically contain a full HTML document.
    Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
    // contains filtered or unexported fields
}

SendShiftHandoff and PreviewShiftHandoff RPC response.

func (*SendShiftHandoffResponse) Descriptor Uses

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

Deprecated: Use SendShiftHandoffResponse.ProtoReflect.Descriptor instead.

func (*SendShiftHandoffResponse) GetContent Uses

func (x *SendShiftHandoffResponse) GetContent() string

func (*SendShiftHandoffResponse) GetContentType Uses

func (x *SendShiftHandoffResponse) GetContentType() string

func (*SendShiftHandoffResponse) ProtoMessage Uses

func (*SendShiftHandoffResponse) ProtoMessage()

func (*SendShiftHandoffResponse) ProtoReflect Uses

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

func (*SendShiftHandoffResponse) Reset Uses

func (x *SendShiftHandoffResponse) Reset()

func (*SendShiftHandoffResponse) String Uses

func (x *SendShiftHandoffResponse) String() string

type Signal Uses

type Signal struct {

    // Resource name of the signal, for example,
    // "projects/{project_id_or_number}/signals/{signal_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Etag to validate the object is unchanged for a read-modify-write operation.
    // An empty etag will overwrite other changes.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // Resource name of the incident this signal is currently assigned to.
    // May be empty if signal is unassigned.
    Incident string `protobuf:"bytes,3,opt,name=incident,proto3" json:"incident,omitempty"`
    // Output only. Time this signal was created.
    CreateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Output only. Time this signal was closed. This field is not populated
    // while the signal is still firing.
    CloseTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"`
    // The time this Signal was first detected. This is identical to create_time
    // for Signals created by Stackdriver Alerting.
    DetectTime *timestamp.Timestamp `protobuf:"bytes,15,opt,name=detect_time,json=detectTime,proto3" json:"detect_time,omitempty"`
    // Output only. The user that created this signal for manually created
    // signals. Empty if this signal was generated by a system (for example,
    // Stackdriver Alerting).
    Creator *User `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
    // One-line summary of the signal.
    // Immutable.
    Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
    // Content type string. 'text/plain' is currently the only supported content
    // type for Signals created via the API. Signals created by Stackdriver
    // Alerting support 'text/html' as well. Immutable for Signals created by
    // Stackdriver Alerting.
    ContentType string `protobuf:"bytes,7,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // Full message of the signal.
    // Immutable for Signals created by Stackdriver Alerting.
    Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
    // The state of this signal.
    // For Signals created by Stackdriver Alerting this field is output only.
    SignalState Signal_State `protobuf:"varint,9,opt,name=signal_state,json=signalState,proto3,enum=google.cloud.irm.v1alpha2.Signal_State" json:"signal_state,omitempty"`
    // A set of artifacts to additional resources for this Signal. For example, a
    // link to Stackdriver logging for the Signal.
    // Immutable for Signals created by Stackdriver Alerting.
    SignalArtifacts []*Signal_SignalArtifact `protobuf:"bytes,16,rep,name=signal_artifacts,json=signalArtifacts,proto3" json:"signal_artifacts,omitempty"`
    // contains filtered or unexported fields
}

A signal is a message calling attention to a (potential) incident. An example is a page based on a Stackdriver Alerting policy.

func (*Signal) Descriptor Uses

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

Deprecated: Use Signal.ProtoReflect.Descriptor instead.

func (*Signal) GetCloseTime Uses

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

func (*Signal) GetContent Uses

func (x *Signal) GetContent() string

func (*Signal) GetContentType Uses

func (x *Signal) GetContentType() string

func (*Signal) GetCreateTime Uses

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

func (*Signal) GetCreator Uses

func (x *Signal) GetCreator() *User

func (*Signal) GetDetectTime Uses

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

func (*Signal) GetEtag Uses

func (x *Signal) GetEtag() string

func (*Signal) GetIncident Uses

func (x *Signal) GetIncident() string

func (*Signal) GetName Uses

func (x *Signal) GetName() string

func (*Signal) GetSignalArtifacts Uses

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

func (*Signal) GetSignalState Uses

func (x *Signal) GetSignalState() Signal_State

func (*Signal) GetTitle Uses

func (x *Signal) GetTitle() string

func (*Signal) ProtoMessage Uses

func (*Signal) ProtoMessage()

func (*Signal) ProtoReflect Uses

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

func (*Signal) Reset Uses

func (x *Signal) Reset()

func (*Signal) String Uses

func (x *Signal) String() string

type Signal_SignalArtifact Uses

type Signal_SignalArtifact struct {

    // The type of resource linked to
    //
    // Types that are assignable to ArtifactType:
    //	*Signal_SignalArtifact_UserType
    ArtifactType isSignal_SignalArtifact_ArtifactType `protobuf_oneof:"artifact_type"`
    // The URI for the artifact.
    Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
    // contains filtered or unexported fields
}

An artifact associated with the Signal.

func (*Signal_SignalArtifact) Descriptor Uses

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

Deprecated: Use Signal_SignalArtifact.ProtoReflect.Descriptor instead.

func (*Signal_SignalArtifact) GetArtifactType Uses

func (m *Signal_SignalArtifact) GetArtifactType() isSignal_SignalArtifact_ArtifactType

func (*Signal_SignalArtifact) GetUri Uses

func (x *Signal_SignalArtifact) GetUri() string

func (*Signal_SignalArtifact) GetUserType Uses

func (x *Signal_SignalArtifact) GetUserType() string

func (*Signal_SignalArtifact) ProtoMessage Uses

func (*Signal_SignalArtifact) ProtoMessage()

func (*Signal_SignalArtifact) ProtoReflect Uses

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

func (*Signal_SignalArtifact) Reset Uses

func (x *Signal_SignalArtifact) Reset()

func (*Signal_SignalArtifact) String Uses

func (x *Signal_SignalArtifact) String() string

type Signal_SignalArtifact_UserType Uses

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

type Signal_State Uses

type Signal_State int32

Describes whether the alerting condition is still firing.

const (
    // Unspecified
    Signal_STATE_UNSPECIFIED Signal_State = 0
    // Firing
    Signal_STATE_OPEN Signal_State = 1
    // Non-firing
    Signal_STATE_CLOSED Signal_State = 2
)

func (Signal_State) Descriptor Uses

func (Signal_State) Descriptor() protoreflect.EnumDescriptor

func (Signal_State) Enum Uses

func (x Signal_State) Enum() *Signal_State

func (Signal_State) EnumDescriptor Uses

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

Deprecated: Use Signal_State.Descriptor instead.

func (Signal_State) Number Uses

func (x Signal_State) Number() protoreflect.EnumNumber

func (Signal_State) String Uses

func (x Signal_State) String() string

func (Signal_State) Type Uses

func (Signal_State) Type() protoreflect.EnumType

type Subscription Uses

type Subscription struct {

    // Output only. Resource name such as
    // "projects/{project_id_or_number}/incidents/{incident_id}/subscriptions/{subscription_id}".
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Output only. Etag for this version of the resource. Must be specified in
    // update requests and match the current version in storage. Must not be
    // modified by the client.
    Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
    // A communications channel to send subscription messages to.
    SubscriptionChannel *CommunicationChannel `protobuf:"bytes,3,opt,name=subscription_channel,json=subscriptionChannel,proto3" json:"subscription_channel,omitempty"`
    // Types of events this subscription receives notifications for.
    EventTypes []Subscription_EventType `protobuf:"varint,4,rep,packed,name=event_types,json=eventTypes,proto3,enum=google.cloud.irm.v1alpha2.Subscription_EventType" json:"event_types,omitempty"`
    // contains filtered or unexported fields
}

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

func (*Subscription) Descriptor Uses

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

Deprecated: Use Subscription.ProtoReflect.Descriptor instead.

func (*Subscription) GetEtag Uses

func (x *Subscription) GetEtag() string

func (*Subscription) GetEventTypes Uses

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

func (*Subscription) GetName Uses

func (x *Subscription) GetName() string

func (*Subscription) GetSubscriptionChannel Uses

func (x *Subscription) GetSubscriptionChannel() *CommunicationChannel

func (*Subscription) ProtoMessage Uses

func (*Subscription) ProtoMessage()

func (*Subscription) ProtoReflect Uses

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

func (*Subscription) Reset Uses

func (x *Subscription) Reset()

func (*Subscription) String Uses

func (x *Subscription) String() string

type Subscription_EventType Uses

type Subscription_EventType int32

Types of changes that users can subscribe to in an incident.

const (
    // An event_type that's not specified is an error.
    Subscription_EVENT_TYPE_UNSPECIFIED Subscription_EventType = 0
    // The incident's title has changed.
    Subscription_EVENT_TYPE_TITLE_CHANGE Subscription_EventType = 1
    // The incident's synopsis has changed.
    Subscription_EVENT_TYPE_SYNOPSIS_CHANGE Subscription_EventType = 2
    // The incident's stage has changed.
    Subscription_EVENT_TYPE_STAGE_CHANGE Subscription_EventType = 3
    // The incident's severity has changed.
    Subscription_EVENT_TYPE_SEVERITY_CHANGE Subscription_EventType = 4
    // A new annotation has been added to the incident.
    Subscription_EVENT_TYPE_ANNOTATION_ADD Subscription_EventType = 5
    // An annotation has been modified.
    Subscription_EVENT_TYPE_ANNOTATION_CHANGE Subscription_EventType = 6
)

func (Subscription_EventType) Descriptor Uses

func (Subscription_EventType) Descriptor() protoreflect.EnumDescriptor

func (Subscription_EventType) Enum Uses

func (x Subscription_EventType) Enum() *Subscription_EventType

func (Subscription_EventType) EnumDescriptor Uses

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

Deprecated: Use Subscription_EventType.Descriptor instead.

func (Subscription_EventType) Number Uses

func (x Subscription_EventType) Number() protoreflect.EnumNumber

func (Subscription_EventType) String Uses

func (x Subscription_EventType) String() string

func (Subscription_EventType) Type Uses

func (Subscription_EventType) Type() protoreflect.EnumType

type Synopsis Uses

type Synopsis struct {

    // Content type string, for example, 'text/plain' or 'text/markdown'.
    ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // Textual content of the synopsis. It can be plain text or markdown as
    // indicated by the content_type.
    Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
    // Last updated timestamp.
    UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // Author of the synopsis.
    Author *User `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
    // contains filtered or unexported fields
}

Synopsis is a summary of an incident and it contains a textual content, an author and a last updated timestamp.

func (*Synopsis) Descriptor Uses

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

Deprecated: Use Synopsis.ProtoReflect.Descriptor instead.

func (*Synopsis) GetAuthor Uses

func (x *Synopsis) GetAuthor() *User

func (*Synopsis) GetContent Uses

func (x *Synopsis) GetContent() string

func (*Synopsis) GetContentType Uses

func (x *Synopsis) GetContentType() string

func (*Synopsis) GetUpdateTime Uses

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

func (*Synopsis) ProtoMessage Uses

func (*Synopsis) ProtoMessage()

func (*Synopsis) ProtoReflect Uses

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

func (*Synopsis) Reset Uses

func (x *Synopsis) Reset()

func (*Synopsis) String Uses

func (x *Synopsis) String() string

type Tag Uses

type Tag struct {

    // Resource name of a tag, for example,
    // "projects/{project_id_or_number}/incidents/{incident_id}/tags/{tag_id}"
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Display name of the resource (for example, "cause:rollout"). Immutable.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // contains filtered or unexported fields
}

A tag by a user.

func (*Tag) Descriptor Uses

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

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetDisplayName Uses

func (x *Tag) GetDisplayName() string

func (*Tag) GetName Uses

func (x *Tag) GetName() string

func (*Tag) ProtoMessage Uses

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect Uses

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

func (*Tag) Reset Uses

func (x *Tag) Reset()

func (*Tag) String Uses

func (x *Tag) String() string

type UnimplementedIncidentServiceServer Uses

type UnimplementedIncidentServiceServer struct {
}

UnimplementedIncidentServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover Uses

func (*UnimplementedIncidentServiceServer) CancelIncidentRoleHandover(context.Context, *CancelIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)

func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover Uses

func (*UnimplementedIncidentServiceServer) ConfirmIncidentRoleHandover(context.Context, *ConfirmIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)

func (*UnimplementedIncidentServiceServer) CreateAnnotation Uses

func (*UnimplementedIncidentServiceServer) CreateAnnotation(context.Context, *CreateAnnotationRequest) (*Annotation, error)

func (*UnimplementedIncidentServiceServer) CreateArtifact Uses

func (*UnimplementedIncidentServiceServer) CreateArtifact(context.Context, *CreateArtifactRequest) (*Artifact, error)

func (*UnimplementedIncidentServiceServer) CreateIncident Uses

func (*UnimplementedIncidentServiceServer) CreateIncident(context.Context, *CreateIncidentRequest) (*Incident, error)

func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment Uses

func (*UnimplementedIncidentServiceServer) CreateIncidentRoleAssignment(context.Context, *CreateIncidentRoleAssignmentRequest) (*IncidentRoleAssignment, error)

func (*UnimplementedIncidentServiceServer) CreateSignal Uses

func (*UnimplementedIncidentServiceServer) CreateSignal(context.Context, *CreateSignalRequest) (*Signal, error)

func (*UnimplementedIncidentServiceServer) CreateSubscription Uses

func (*UnimplementedIncidentServiceServer) CreateSubscription(context.Context, *CreateSubscriptionRequest) (*Subscription, error)

func (*UnimplementedIncidentServiceServer) CreateTag Uses

func (*UnimplementedIncidentServiceServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)

func (*UnimplementedIncidentServiceServer) DeleteArtifact Uses

func (*UnimplementedIncidentServiceServer) DeleteArtifact(context.Context, *DeleteArtifactRequest) (*empty.Empty, error)

func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment Uses

func (*UnimplementedIncidentServiceServer) DeleteIncidentRoleAssignment(context.Context, *DeleteIncidentRoleAssignmentRequest) (*empty.Empty, error)

func (*UnimplementedIncidentServiceServer) DeleteSubscription Uses

func (*UnimplementedIncidentServiceServer) DeleteSubscription(context.Context, *DeleteSubscriptionRequest) (*empty.Empty, error)

func (*UnimplementedIncidentServiceServer) DeleteTag Uses

func (*UnimplementedIncidentServiceServer) DeleteTag(context.Context, *DeleteTagRequest) (*empty.Empty, error)

func (*UnimplementedIncidentServiceServer) EscalateIncident Uses

func (*UnimplementedIncidentServiceServer) EscalateIncident(context.Context, *EscalateIncidentRequest) (*EscalateIncidentResponse, error)

func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover Uses

func (*UnimplementedIncidentServiceServer) ForceIncidentRoleHandover(context.Context, *ForceIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)

func (*UnimplementedIncidentServiceServer) GetIncident Uses

func (*UnimplementedIncidentServiceServer) GetIncident(context.Context, *GetIncidentRequest) (*Incident, error)

func (*UnimplementedIncidentServiceServer) GetSignal Uses

func (*UnimplementedIncidentServiceServer) GetSignal(context.Context, *GetSignalRequest) (*Signal, error)

func (*UnimplementedIncidentServiceServer) ListAnnotations Uses

func (*UnimplementedIncidentServiceServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)

func (*UnimplementedIncidentServiceServer) ListArtifacts Uses

func (*UnimplementedIncidentServiceServer) ListArtifacts(context.Context, *ListArtifactsRequest) (*ListArtifactsResponse, error)

func (*UnimplementedIncidentServiceServer) ListIncidentRoleAssignments Uses

func (*UnimplementedIncidentServiceServer) ListIncidentRoleAssignments(context.Context, *ListIncidentRoleAssignmentsRequest) (*ListIncidentRoleAssignmentsResponse, error)

func (*UnimplementedIncidentServiceServer) ListSubscriptions Uses

func (*UnimplementedIncidentServiceServer) ListSubscriptions(context.Context, *ListSubscriptionsRequest) (*ListSubscriptionsResponse, error)

func (*UnimplementedIncidentServiceServer) ListTags Uses

func (*UnimplementedIncidentServiceServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)

func (*UnimplementedIncidentServiceServer) LookupSignal Uses

func (*UnimplementedIncidentServiceServer) LookupSignal(context.Context, *LookupSignalRequest) (*Signal, error)

func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover Uses

func (*UnimplementedIncidentServiceServer) RequestIncidentRoleHandover(context.Context, *RequestIncidentRoleHandoverRequest) (*IncidentRoleAssignment, error)

func (*UnimplementedIncidentServiceServer) SearchIncidents Uses

func (*UnimplementedIncidentServiceServer) SearchIncidents(context.Context, *SearchIncidentsRequest) (*SearchIncidentsResponse, error)

func (*UnimplementedIncidentServiceServer) SearchSignals Uses

func (*UnimplementedIncidentServiceServer) SearchSignals(context.Context, *SearchSignalsRequest) (*SearchSignalsResponse, error)

func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents Uses

func (*UnimplementedIncidentServiceServer) SearchSimilarIncidents(context.Context, *SearchSimilarIncidentsRequest) (*SearchSimilarIncidentsResponse, error)

func (*UnimplementedIncidentServiceServer) SendShiftHandoff Uses

func (*UnimplementedIncidentServiceServer) SendShiftHandoff(context.Context, *SendShiftHandoffRequest) (*SendShiftHandoffResponse, error)

func (*UnimplementedIncidentServiceServer) UpdateArtifact Uses

func (*UnimplementedIncidentServiceServer) UpdateArtifact(context.Context, *UpdateArtifactRequest) (*Artifact, error)

func (*UnimplementedIncidentServiceServer) UpdateIncident Uses

func (*UnimplementedIncidentServiceServer) UpdateIncident(context.Context, *UpdateIncidentRequest) (*Incident, error)

func (*UnimplementedIncidentServiceServer) UpdateSignal Uses

func (*UnimplementedIncidentServiceServer) UpdateSignal(context.Context, *UpdateSignalRequest) (*Signal, error)

func (*UnimplementedIncidentServiceServer) UpdateSubscription Uses

func (*UnimplementedIncidentServiceServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*Subscription, error)

type UpdateArtifactRequest Uses

type UpdateArtifactRequest struct {

    // Required. The artifact to update with the new values.
    Artifact *Artifact `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
    // List of fields that should be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request for the UpdateArtifact method.

func (*UpdateArtifactRequest) Descriptor Uses

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

Deprecated: Use UpdateArtifactRequest.ProtoReflect.Descriptor instead.

func (*UpdateArtifactRequest) GetArtifact Uses

func (x *UpdateArtifactRequest) GetArtifact() *Artifact

func (*UpdateArtifactRequest) GetUpdateMask Uses

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

func (*UpdateArtifactRequest) ProtoMessage Uses

func (*UpdateArtifactRequest) ProtoMessage()

func (*UpdateArtifactRequest) ProtoReflect Uses

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

func (*UpdateArtifactRequest) Reset Uses

func (x *UpdateArtifactRequest) Reset()

func (*UpdateArtifactRequest) String Uses

func (x *UpdateArtifactRequest) String() string

type UpdateIncidentRequest Uses

type UpdateIncidentRequest struct {

    // Required. The incident to update with the new values.
    Incident *Incident `protobuf:"bytes,1,opt,name=incident,proto3" json:"incident,omitempty"`
    // List of fields that should be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request for the UpdateIncident method.

func (*UpdateIncidentRequest) Descriptor Uses

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

Deprecated: Use UpdateIncidentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIncidentRequest) GetIncident Uses

func (x *UpdateIncidentRequest) GetIncident() *Incident

func (*UpdateIncidentRequest) GetUpdateMask Uses

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

func (*UpdateIncidentRequest) ProtoMessage Uses

func (*UpdateIncidentRequest) ProtoMessage()

func (*UpdateIncidentRequest) ProtoReflect Uses

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

func (*UpdateIncidentRequest) Reset Uses

func (x *UpdateIncidentRequest) Reset()

func (*UpdateIncidentRequest) String Uses

func (x *UpdateIncidentRequest) String() string

type UpdateSignalRequest Uses

type UpdateSignalRequest struct {

    // Required. The signal to update with the new values.
    Signal *Signal `protobuf:"bytes,1,opt,name=signal,proto3" json:"signal,omitempty"`
    // List of fields that should be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request for the UpdateSignal method.

func (*UpdateSignalRequest) Descriptor Uses

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

Deprecated: Use UpdateSignalRequest.ProtoReflect.Descriptor instead.

func (*UpdateSignalRequest) GetSignal Uses

func (x *UpdateSignalRequest) GetSignal() *Signal

func (*UpdateSignalRequest) GetUpdateMask Uses

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

func (*UpdateSignalRequest) ProtoMessage Uses

func (*UpdateSignalRequest) ProtoMessage()

func (*UpdateSignalRequest) ProtoReflect Uses

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

func (*UpdateSignalRequest) Reset Uses

func (x *UpdateSignalRequest) Reset()

func (*UpdateSignalRequest) String Uses

func (x *UpdateSignalRequest) String() string

type UpdateSubscriptionRequest Uses

type UpdateSubscriptionRequest struct {

    // Required. The subscription to update, with new values.
    Subscription *Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
    // List of fields that should be updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

Request for the UpdateSubscription method.

func (*UpdateSubscriptionRequest) Descriptor Uses

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

Deprecated: Use UpdateSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*UpdateSubscriptionRequest) GetSubscription Uses

func (x *UpdateSubscriptionRequest) GetSubscription() *Subscription

func (*UpdateSubscriptionRequest) GetUpdateMask Uses

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

func (*UpdateSubscriptionRequest) ProtoMessage Uses

func (*UpdateSubscriptionRequest) ProtoMessage()

func (*UpdateSubscriptionRequest) ProtoReflect Uses

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

func (*UpdateSubscriptionRequest) Reset Uses

func (x *UpdateSubscriptionRequest) Reset()

func (*UpdateSubscriptionRequest) String Uses

func (x *UpdateSubscriptionRequest) String() string

type User Uses

type User struct {

    // One of several ways to uniquely identify a user.
    //
    // Types that are assignable to User:
    //	*User_UserId
    //	*User_Email
    User isUser_User `protobuf_oneof:"user"`
    // contains filtered or unexported fields
}

A user of the IRM app.

func (*User) Descriptor Uses

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail Uses

func (x *User) GetEmail() string

func (*User) GetUser Uses

func (m *User) GetUser() isUser_User

func (*User) GetUserId Uses

func (x *User) GetUserId() string

func (*User) ProtoMessage Uses

func (*User) ProtoMessage()

func (*User) ProtoReflect Uses

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

func (*User) Reset Uses

func (x *User) Reset()

func (*User) String Uses

func (x *User) String() string

type User_Email Uses

type User_Email struct {
    // Email address of the user. This must be associated with a Google account.
    // This field will be set if the user is explicitly identified (verbatim) by
    // email address in an API request (potentially sometime in the past). It
    // will not be populated based on the credentials of a caller of the API.
    Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type User_UserId Uses

type User_UserId struct {
    // Output only. User id that will allow to get additional information from
    // People API. This field will be populated implicitly if the caller creates
    // or edits a resource (for example, posts an annotation).
    UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3,oneof"`
}

Package irm imports 13 packages (graph). Updated 2020-06-16. Refresh now. Tools for package owners.