Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAlertDefsServiceServer(s grpc.ServiceRegistrar, srv AlertDefsServiceServer)
- type ActivitySchedule
- func (*ActivitySchedule) Descriptor() ([]byte, []int)deprecated
- func (x *ActivitySchedule) GetDayOfWeek() []DayOfWeek
- func (x *ActivitySchedule) GetEndTime() *TimeOfDay
- func (x *ActivitySchedule) GetStartTime() *TimeOfDay
- func (*ActivitySchedule) ProtoMessage()
- func (x *ActivitySchedule) ProtoReflect() protoreflect.Message
- func (x *ActivitySchedule) Reset()
- func (x *ActivitySchedule) String() string
- type AlertDef
- func (*AlertDef) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDef) GetAlertDefProperties() *AlertDefProperties
- func (x *AlertDef) GetCreatedTime() *timestamppb.Timestamp
- func (x *AlertDef) GetId() *wrapperspb.StringValue
- func (x *AlertDef) GetUpdatedTime() *timestamppb.Timestamp
- func (*AlertDef) ProtoMessage()
- func (x *AlertDef) ProtoReflect() protoreflect.Message
- func (x *AlertDef) Reset()
- func (x *AlertDef) String() string
- type AlertDefAdvancedTargetSettings
- func (*AlertDefAdvancedTargetSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefAdvancedTargetSettings) GetIntegration() *IntegrationType
- func (x *AlertDefAdvancedTargetSettings) GetMinutes() *wrapperspb.UInt32Value
- func (x *AlertDefAdvancedTargetSettings) GetNotifyOn() NotifyOn
- func (m *AlertDefAdvancedTargetSettings) GetRetriggeringPeriod() isAlertDefAdvancedTargetSettings_RetriggeringPeriod
- func (*AlertDefAdvancedTargetSettings) ProtoMessage()
- func (x *AlertDefAdvancedTargetSettings) ProtoReflect() protoreflect.Message
- func (x *AlertDefAdvancedTargetSettings) Reset()
- func (x *AlertDefAdvancedTargetSettings) String() string
- type AlertDefAdvancedTargetSettings_Minutes
- type AlertDefAdvancedTargets
- func (*AlertDefAdvancedTargets) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefAdvancedTargets) GetAdvancedTargetsSettings() []*AlertDefAdvancedTargetSettings
- func (*AlertDefAdvancedTargets) ProtoMessage()
- func (x *AlertDefAdvancedTargets) ProtoReflect() protoreflect.Message
- func (x *AlertDefAdvancedTargets) Reset()
- func (x *AlertDefAdvancedTargets) String() string
- type AlertDefIncidentSettings
- func (*AlertDefIncidentSettings) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefIncidentSettings) GetMinutes() *wrapperspb.UInt32Value
- func (x *AlertDefIncidentSettings) GetNotifyOn() NotifyOn
- func (m *AlertDefIncidentSettings) GetRetriggeringPeriod() isAlertDefIncidentSettings_RetriggeringPeriod
- func (*AlertDefIncidentSettings) ProtoMessage()
- func (x *AlertDefIncidentSettings) ProtoReflect() protoreflect.Message
- func (x *AlertDefIncidentSettings) Reset()
- func (x *AlertDefIncidentSettings) String() string
- type AlertDefIncidentSettings_Minutes
- type AlertDefNotificationGroup
- func (*AlertDefNotificationGroup) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefNotificationGroup) GetAdvanced() *AlertDefAdvancedTargets
- func (x *AlertDefNotificationGroup) GetGroupByFields() []*wrapperspb.StringValue
- func (x *AlertDefNotificationGroup) GetSimple() *AlertDefTargetSimple
- func (m *AlertDefNotificationGroup) GetTargets() isAlertDefNotificationGroup_Targets
- func (*AlertDefNotificationGroup) ProtoMessage()
- func (x *AlertDefNotificationGroup) ProtoReflect() protoreflect.Message
- func (x *AlertDefNotificationGroup) Reset()
- func (x *AlertDefNotificationGroup) String() string
- type AlertDefNotificationGroup_Advanced
- type AlertDefNotificationGroup_Simple
- type AlertDefPriority
- func (AlertDefPriority) Descriptor() protoreflect.EnumDescriptor
- func (x AlertDefPriority) Enum() *AlertDefPriority
- func (AlertDefPriority) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlertDefPriority) Number() protoreflect.EnumNumber
- func (x AlertDefPriority) String() string
- func (AlertDefPriority) Type() protoreflect.EnumType
- type AlertDefProperties
- func (*AlertDefProperties) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefProperties) GetActiveOn() *ActivitySchedule
- func (x *AlertDefProperties) GetAlertDefType() AlertDefType
- func (x *AlertDefProperties) GetDescription() *wrapperspb.StringValue
- func (x *AlertDefProperties) GetEnabled() *wrapperspb.BoolValue
- func (x *AlertDefProperties) GetFlow() *flow.FlowTypeDefinition
- func (x *AlertDefProperties) GetGroupBy() []*wrapperspb.StringValue
- func (x *AlertDefProperties) GetIncidentsSettings() *AlertDefIncidentSettings
- func (x *AlertDefProperties) GetLabels() map[string]string
- func (x *AlertDefProperties) GetLogsImmediate() *standard.LogsImmediateTypeDefinition
- func (x *AlertDefProperties) GetLogsLessThan() *standard.LogsLessThanTypeDefinition
- func (x *AlertDefProperties) GetLogsMoreThan() *standard.LogsMoreThanTypeDefinition
- func (x *AlertDefProperties) GetLogsMoreThanUsual() *standard.LogsMoreThanUsualTypeDefinition
- func (x *AlertDefProperties) GetLogsNewValue() *new_value.LogsNewValueTypeDefinition
- func (x *AlertDefProperties) GetLogsRatioLessThan() *ratio.LogsRatioLessThanTypeDefinition
- func (x *AlertDefProperties) GetLogsRatioMoreThan() *ratio.LogsRatioMoreThanTypeDefinition
- func (x *AlertDefProperties) GetLogsTimeRelativeLessThan() *time_relative.LogsTimeRelativeLessThanTypeDefinition
- func (x *AlertDefProperties) GetLogsTimeRelativeMoreThan() *time_relative.LogsTimeRelativeMoreThanTypeDefinition
- func (x *AlertDefProperties) GetLogsUniqueCount() *unique_count.LogsUniqueCountTypeDefinition
- func (x *AlertDefProperties) GetMetricLessThan() *metric.MetricLessThanTypeDefinition
- func (x *AlertDefProperties) GetMetricLessThanOrEquals() *metric.MetricLessThanOrEqualsTypeDefinition
- func (x *AlertDefProperties) GetMetricLessThanUsual() *metric.MetricLessThanUsualTypeDefinition
- func (x *AlertDefProperties) GetMetricMoreThan() *metric.MetricMoreThanTypeDefinition
- func (x *AlertDefProperties) GetMetricMoreThanOrEquals() *metric.MetricMoreThanOrEqualsTypeDefinition
- func (x *AlertDefProperties) GetMetricMoreThanUsual() *metric.MetricMoreThanUsualTypeDefinition
- func (x *AlertDefProperties) GetName() *wrapperspb.StringValue
- func (x *AlertDefProperties) GetNotificationGroup() *AlertDefNotificationGroup
- func (x *AlertDefProperties) GetPhantomMode() *wrapperspb.BoolValue
- func (x *AlertDefProperties) GetPriority() AlertDefPriority
- func (m *AlertDefProperties) GetSchedule() isAlertDefProperties_Schedule
- func (x *AlertDefProperties) GetTracingImmediate() *tracing.TracingImmediateTypeDefinition
- func (x *AlertDefProperties) GetTracingMoreThan() *tracing.TracingMoreThanTypeDefinition
- func (m *AlertDefProperties) GetTypeDefinition() isAlertDefProperties_TypeDefinition
- func (*AlertDefProperties) ProtoMessage()
- func (x *AlertDefProperties) ProtoReflect() protoreflect.Message
- func (x *AlertDefProperties) Reset()
- func (x *AlertDefProperties) String() string
- type AlertDefProperties_ActiveOn
- type AlertDefProperties_Flow
- type AlertDefProperties_LogsImmediate
- type AlertDefProperties_LogsLessThan
- type AlertDefProperties_LogsMoreThan
- type AlertDefProperties_LogsMoreThanUsual
- type AlertDefProperties_LogsNewValue
- type AlertDefProperties_LogsRatioLessThan
- type AlertDefProperties_LogsRatioMoreThan
- type AlertDefProperties_LogsTimeRelativeLessThan
- type AlertDefProperties_LogsTimeRelativeMoreThan
- type AlertDefProperties_LogsUniqueCount
- type AlertDefProperties_MetricLessThan
- type AlertDefProperties_MetricLessThanOrEquals
- type AlertDefProperties_MetricLessThanUsual
- type AlertDefProperties_MetricMoreThan
- type AlertDefProperties_MetricMoreThanOrEquals
- type AlertDefProperties_MetricMoreThanUsual
- type AlertDefProperties_TracingImmediate
- type AlertDefProperties_TracingMoreThan
- type AlertDefTargetSimple
- func (*AlertDefTargetSimple) Descriptor() ([]byte, []int)deprecated
- func (x *AlertDefTargetSimple) GetIntegrations() []*IntegrationType
- func (*AlertDefTargetSimple) ProtoMessage()
- func (x *AlertDefTargetSimple) ProtoReflect() protoreflect.Message
- func (x *AlertDefTargetSimple) Reset()
- func (x *AlertDefTargetSimple) String() string
- type AlertDefType
- func (AlertDefType) Descriptor() protoreflect.EnumDescriptor
- func (x AlertDefType) Enum() *AlertDefType
- func (AlertDefType) EnumDescriptor() ([]byte, []int)deprecated
- func (x AlertDefType) Number() protoreflect.EnumNumber
- func (x AlertDefType) String() string
- func (AlertDefType) Type() protoreflect.EnumType
- type AlertDefsServiceClient
- type AlertDefsServiceServer
- type AuditLogDescription
- func (*AuditLogDescription) Descriptor() ([]byte, []int)deprecated
- func (x *AuditLogDescription) GetDescription() string
- func (*AuditLogDescription) ProtoMessage()
- func (x *AuditLogDescription) ProtoReflect() protoreflect.Message
- func (x *AuditLogDescription) Reset()
- func (x *AuditLogDescription) String() string
- type BatchGetAlertDefRequest
- func (*BatchGetAlertDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetAlertDefRequest) GetIds() []*wrapperspb.StringValue
- func (*BatchGetAlertDefRequest) ProtoMessage()
- func (x *BatchGetAlertDefRequest) ProtoReflect() protoreflect.Message
- func (x *BatchGetAlertDefRequest) Reset()
- func (x *BatchGetAlertDefRequest) String() string
- type BatchGetAlertDefResponse
- func (*BatchGetAlertDefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchGetAlertDefResponse) GetAlertDefs() map[string]*AlertDef
- func (x *BatchGetAlertDefResponse) GetNotFoundIds() []*wrapperspb.StringValue
- func (*BatchGetAlertDefResponse) ProtoMessage()
- func (x *BatchGetAlertDefResponse) ProtoReflect() protoreflect.Message
- func (x *BatchGetAlertDefResponse) Reset()
- func (x *BatchGetAlertDefResponse) String() string
- type CreateAlertDefRequest
- func (*CreateAlertDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlertDefRequest) GetAlertDefProperties() *AlertDefProperties
- func (*CreateAlertDefRequest) ProtoMessage()
- func (x *CreateAlertDefRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAlertDefRequest) Reset()
- func (x *CreateAlertDefRequest) String() string
- type CreateAlertDefResponse
- func (*CreateAlertDefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlertDefResponse) GetAlertDef() *AlertDef
- func (*CreateAlertDefResponse) ProtoMessage()
- func (x *CreateAlertDefResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAlertDefResponse) Reset()
- func (x *CreateAlertDefResponse) String() string
- type DayOfWeek
- type DeleteAlertDefRequest
- func (*DeleteAlertDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAlertDefRequest) GetId() *wrapperspb.StringValue
- func (*DeleteAlertDefRequest) ProtoMessage()
- func (x *DeleteAlertDefRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAlertDefRequest) Reset()
- func (x *DeleteAlertDefRequest) String() string
- type DeleteAlertDefResponse
- type GetAlertDefRequest
- func (*GetAlertDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertDefRequest) GetId() *wrapperspb.StringValue
- func (*GetAlertDefRequest) ProtoMessage()
- func (x *GetAlertDefRequest) ProtoReflect() protoreflect.Message
- func (x *GetAlertDefRequest) Reset()
- func (x *GetAlertDefRequest) String() string
- type GetAlertDefResponse
- func (*GetAlertDefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAlertDefResponse) GetAlertDef() *AlertDef
- func (*GetAlertDefResponse) ProtoMessage()
- func (x *GetAlertDefResponse) ProtoReflect() protoreflect.Message
- func (x *GetAlertDefResponse) Reset()
- func (x *GetAlertDefResponse) String() string
- type IntegrationType
- func (*IntegrationType) Descriptor() ([]byte, []int)deprecated
- func (x *IntegrationType) GetIntegrationId() *wrapperspb.UInt32Value
- func (m *IntegrationType) GetIntegrationType() isIntegrationType_IntegrationType
- func (x *IntegrationType) GetRecipients() *Recipients
- func (*IntegrationType) ProtoMessage()
- func (x *IntegrationType) ProtoReflect() protoreflect.Message
- func (x *IntegrationType) Reset()
- func (x *IntegrationType) String() string
- type IntegrationType_IntegrationId
- type IntegrationType_Recipients
- type ListAlertDefsRequest
- type ListAlertDefsResponse
- func (*ListAlertDefsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAlertDefsResponse) GetAlertDefs() []*AlertDef
- func (*ListAlertDefsResponse) ProtoMessage()
- func (x *ListAlertDefsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAlertDefsResponse) Reset()
- func (x *ListAlertDefsResponse) String() string
- type NotifyOn
- type OrderBy
- type OrderByDirection
- func (OrderByDirection) Descriptor() protoreflect.EnumDescriptor
- func (x OrderByDirection) Enum() *OrderByDirection
- func (OrderByDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderByDirection) Number() protoreflect.EnumNumber
- func (x OrderByDirection) String() string
- func (OrderByDirection) Type() protoreflect.EnumType
- type OrderByFields
- func (OrderByFields) Descriptor() protoreflect.EnumDescriptor
- func (x OrderByFields) Enum() *OrderByFields
- func (OrderByFields) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrderByFields) Number() protoreflect.EnumNumber
- func (x OrderByFields) String() string
- func (OrderByFields) Type() protoreflect.EnumType
- type Recipients
- type ReplaceAlertDefRequest
- func (*ReplaceAlertDefRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceAlertDefRequest) GetAlertDefProperties() *AlertDefProperties
- func (x *ReplaceAlertDefRequest) GetId() *wrapperspb.StringValue
- func (*ReplaceAlertDefRequest) ProtoMessage()
- func (x *ReplaceAlertDefRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceAlertDefRequest) Reset()
- func (x *ReplaceAlertDefRequest) String() string
- type ReplaceAlertDefResponse
- func (*ReplaceAlertDefResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceAlertDefResponse) GetAlertDef() *AlertDef
- func (*ReplaceAlertDefResponse) ProtoMessage()
- func (x *ReplaceAlertDefResponse) ProtoReflect() protoreflect.Message
- func (x *ReplaceAlertDefResponse) Reset()
- func (x *ReplaceAlertDefResponse) String() string
- type SetActiveRequest
- func (*SetActiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetActiveRequest) GetActive() *wrapperspb.BoolValue
- func (x *SetActiveRequest) GetId() *wrapperspb.StringValue
- func (*SetActiveRequest) ProtoMessage()
- func (x *SetActiveRequest) ProtoReflect() protoreflect.Message
- func (x *SetActiveRequest) Reset()
- func (x *SetActiveRequest) String() string
- type SetActiveResponse
- type TimeOfDay
- type UnimplementedAlertDefsServiceServer
- func (UnimplementedAlertDefsServiceServer) CreateAlertDef(context.Context, *CreateAlertDefRequest) (*CreateAlertDefResponse, error)
- func (UnimplementedAlertDefsServiceServer) DeleteAlertDef(context.Context, *DeleteAlertDefRequest) (*DeleteAlertDefResponse, error)
- func (UnimplementedAlertDefsServiceServer) GetAlertDef(context.Context, *GetAlertDefRequest) (*GetAlertDefResponse, error)
- func (UnimplementedAlertDefsServiceServer) ListAlertDefs(context.Context, *ListAlertDefsRequest) (*ListAlertDefsResponse, error)
- func (UnimplementedAlertDefsServiceServer) ReplaceAlertDef(context.Context, *ReplaceAlertDefRequest) (*ReplaceAlertDefResponse, error)
- func (UnimplementedAlertDefsServiceServer) SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error)
- type UnsafeAlertDefsServiceServer
Constants ¶
const ( AlertDefsService_GetAlertDef_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/GetAlertDef" AlertDefsService_CreateAlertDef_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/CreateAlertDef" AlertDefsService_ReplaceAlertDef_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/ReplaceAlertDef" AlertDefsService_ListAlertDefs_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/ListAlertDefs" AlertDefsService_DeleteAlertDef_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/DeleteAlertDef" AlertDefsService_SetActive_FullMethodName = "/com.coralogixapis.alerts.v3.AlertDefsService/SetActive" )
Variables ¶
var ( NotifyOn_name = map[int32]string{ 0: "NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED", 1: "NOTIFY_ON_TRIGGERED_AND_RESOLVED", } NotifyOn_value = map[string]int32{ "NOTIFY_ON_TRIGGERED_ONLY_UNSPECIFIED": 0, "NOTIFY_ON_TRIGGERED_AND_RESOLVED": 1, } )
Enum value maps for NotifyOn.
var ( AlertDefPriority_name = map[int32]string{ 0: "ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED", 1: "ALERT_DEF_PRIORITY_P4", 2: "ALERT_DEF_PRIORITY_P3", 3: "ALERT_DEF_PRIORITY_P2", 4: "ALERT_DEF_PRIORITY_P1", } AlertDefPriority_value = map[string]int32{ "ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED": 0, "ALERT_DEF_PRIORITY_P4": 1, "ALERT_DEF_PRIORITY_P3": 2, "ALERT_DEF_PRIORITY_P2": 3, "ALERT_DEF_PRIORITY_P1": 4, } )
Enum value maps for AlertDefPriority.
var ( DayOfWeek_name = map[int32]string{ 0: "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED", 1: "DAY_OF_WEEK_TUESDAY", 2: "DAY_OF_WEEK_WEDNESDAY", 3: "DAY_OF_WEEK_THURSDAY", 4: "DAY_OF_WEEK_FRIDAY", 5: "DAY_OF_WEEK_SATURDAY", 6: "DAY_OF_WEEK_SUNDAY", } DayOfWeek_value = map[string]int32{ "DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED": 0, "DAY_OF_WEEK_TUESDAY": 1, "DAY_OF_WEEK_WEDNESDAY": 2, "DAY_OF_WEEK_THURSDAY": 3, "DAY_OF_WEEK_FRIDAY": 4, "DAY_OF_WEEK_SATURDAY": 5, "DAY_OF_WEEK_SUNDAY": 6, } )
Enum value maps for DayOfWeek.
var ( AlertDefType_name = map[int32]string{ 0: "ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED", 1: "ALERT_DEF_TYPE_LOGS_MORE_THAN", 2: "ALERT_DEF_TYPE_LOGS_LESS_THAN", 3: "ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL", 4: "ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN", 5: "ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN", 6: "ALERT_DEF_TYPE_LOGS_NEW_VALUE", 7: "ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT", 8: "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN", 9: "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN", 10: "ALERT_DEF_TYPE_METRIC_MORE_THAN", 11: "ALERT_DEF_TYPE_METRIC_LESS_THAN", 14: "ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL", 15: "ALERT_DEF_TYPE_TRACING_IMMEDIATE", 16: "ALERT_DEF_TYPE_TRACING_MORE_THAN", 17: "ALERT_DEF_TYPE_FLOW", 18: "ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS", 19: "ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS", 21: "ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL", } AlertDefType_value = map[string]int32{ "ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED": 0, "ALERT_DEF_TYPE_LOGS_MORE_THAN": 1, "ALERT_DEF_TYPE_LOGS_LESS_THAN": 2, "ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL": 3, "ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN": 4, "ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN": 5, "ALERT_DEF_TYPE_LOGS_NEW_VALUE": 6, "ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT": 7, "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN": 8, "ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN": 9, "ALERT_DEF_TYPE_METRIC_MORE_THAN": 10, "ALERT_DEF_TYPE_METRIC_LESS_THAN": 11, "ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL": 14, "ALERT_DEF_TYPE_TRACING_IMMEDIATE": 15, "ALERT_DEF_TYPE_TRACING_MORE_THAN": 16, "ALERT_DEF_TYPE_FLOW": 17, "ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS": 18, "ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS": 19, "ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL": 21, } )
Enum value maps for AlertDefType.
var ( OrderByDirection_name = map[int32]string{ 0: "ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED", 1: "ORDER_BY_DIRECTION_DESC", } OrderByDirection_value = map[string]int32{ "ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED": 0, "ORDER_BY_DIRECTION_DESC": 1, } )
Enum value maps for OrderByDirection.
var ( OrderByFields_name = map[int32]string{ 0: "ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED", 1: "ORDER_BY_FIELDS_ID", 2: "ORDER_BY_FIELDS_SEVERITY", 3: "ORDER_BY_FIELDS_CREATED_TIME", 4: "ORDER_BY_FIELDS_UPDATED_TIME", } OrderByFields_value = map[string]int32{ "ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED": 0, "ORDER_BY_FIELDS_ID": 1, "ORDER_BY_FIELDS_SEVERITY": 2, "ORDER_BY_FIELDS_CREATED_TIME": 3, "ORDER_BY_FIELDS_UPDATED_TIME": 4, } )
Enum value maps for OrderByFields.
var AlertDefsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.coralogixapis.alerts.v3.AlertDefsService", HandlerType: (*AlertDefsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAlertDef", Handler: _AlertDefsService_GetAlertDef_Handler, }, { MethodName: "CreateAlertDef", Handler: _AlertDefsService_CreateAlertDef_Handler, }, { MethodName: "ReplaceAlertDef", Handler: _AlertDefsService_ReplaceAlertDef_Handler, }, { MethodName: "ListAlertDefs", Handler: _AlertDefsService_ListAlertDefs_Handler, }, { MethodName: "DeleteAlertDef", Handler: _AlertDefsService_DeleteAlertDef_Handler, }, { MethodName: "SetActive", Handler: _AlertDefsService_SetActive_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "com/coralogixapis/alerts/v3/alert_defs_service.proto", }
AlertDefsService_ServiceDesc is the grpc.ServiceDesc for AlertDefsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
// optional com.coralogixapis.alerts.v3.AuditLogDescription audit_log_description = 5000;
E_AuditLogDescription = &file_com_coralogixapis_alerts_v3_alert_defs_service_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
var File_com_coralogixapis_alerts_v3_alert_def_notification_group_proto protoreflect.FileDescriptor
var File_com_coralogixapis_alerts_v3_alert_def_priority_proto protoreflect.FileDescriptor
var File_com_coralogixapis_alerts_v3_alert_def_proto protoreflect.FileDescriptor
var File_com_coralogixapis_alerts_v3_alert_def_scheduling_proto protoreflect.FileDescriptor
var File_com_coralogixapis_alerts_v3_alert_def_type_proto protoreflect.FileDescriptor
var File_com_coralogixapis_alerts_v3_alert_defs_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAlertDefsServiceServer ¶
func RegisterAlertDefsServiceServer(s grpc.ServiceRegistrar, srv AlertDefsServiceServer)
Types ¶
type ActivitySchedule ¶
type ActivitySchedule struct { DayOfWeek []DayOfWeek `` /* 141-byte string literal not displayed */ StartTime *TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *TimeOfDay `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*ActivitySchedule) Descriptor
deprecated
func (*ActivitySchedule) Descriptor() ([]byte, []int)
Deprecated: Use ActivitySchedule.ProtoReflect.Descriptor instead.
func (*ActivitySchedule) GetDayOfWeek ¶
func (x *ActivitySchedule) GetDayOfWeek() []DayOfWeek
func (*ActivitySchedule) GetEndTime ¶
func (x *ActivitySchedule) GetEndTime() *TimeOfDay
func (*ActivitySchedule) GetStartTime ¶
func (x *ActivitySchedule) GetStartTime() *TimeOfDay
func (*ActivitySchedule) ProtoMessage ¶
func (*ActivitySchedule) ProtoMessage()
func (*ActivitySchedule) ProtoReflect ¶
func (x *ActivitySchedule) ProtoReflect() protoreflect.Message
func (*ActivitySchedule) Reset ¶
func (x *ActivitySchedule) Reset()
func (*ActivitySchedule) String ¶
func (x *ActivitySchedule) String() string
type AlertDef ¶
type AlertDef struct { AlertDefProperties *AlertDefProperties `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"` Id *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // This is the Alert Definition's Persistent ID (does not change on replace) , AKA UniqueIdentifier CreatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` // contains filtered or unexported fields }
* Represents An Existing or Created Alert Definition
func (*AlertDef) Descriptor
deprecated
func (*AlertDef) GetAlertDefProperties ¶
func (x *AlertDef) GetAlertDefProperties() *AlertDefProperties
func (*AlertDef) GetCreatedTime ¶
func (x *AlertDef) GetCreatedTime() *timestamppb.Timestamp
func (*AlertDef) GetId ¶
func (x *AlertDef) GetId() *wrapperspb.StringValue
func (*AlertDef) GetUpdatedTime ¶
func (x *AlertDef) GetUpdatedTime() *timestamppb.Timestamp
func (*AlertDef) ProtoMessage ¶
func (*AlertDef) ProtoMessage()
func (*AlertDef) ProtoReflect ¶
func (x *AlertDef) ProtoReflect() protoreflect.Message
type AlertDefAdvancedTargetSettings ¶
type AlertDefAdvancedTargetSettings struct { // Types that are assignable to RetriggeringPeriod: // // *AlertDefAdvancedTargetSettings_Minutes RetriggeringPeriod isAlertDefAdvancedTargetSettings_RetriggeringPeriod `protobuf_oneof:"retriggering_period"` NotifyOn *NotifyOn `` /* 134-byte string literal not displayed */ Integration *IntegrationType `protobuf:"bytes,2,opt,name=integration,proto3" json:"integration,omitempty"` // contains filtered or unexported fields }
func (*AlertDefAdvancedTargetSettings) Descriptor
deprecated
func (*AlertDefAdvancedTargetSettings) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefAdvancedTargetSettings.ProtoReflect.Descriptor instead.
func (*AlertDefAdvancedTargetSettings) GetIntegration ¶
func (x *AlertDefAdvancedTargetSettings) GetIntegration() *IntegrationType
func (*AlertDefAdvancedTargetSettings) GetMinutes ¶
func (x *AlertDefAdvancedTargetSettings) GetMinutes() *wrapperspb.UInt32Value
func (*AlertDefAdvancedTargetSettings) GetNotifyOn ¶
func (x *AlertDefAdvancedTargetSettings) GetNotifyOn() NotifyOn
func (*AlertDefAdvancedTargetSettings) GetRetriggeringPeriod ¶
func (m *AlertDefAdvancedTargetSettings) GetRetriggeringPeriod() isAlertDefAdvancedTargetSettings_RetriggeringPeriod
func (*AlertDefAdvancedTargetSettings) ProtoMessage ¶
func (*AlertDefAdvancedTargetSettings) ProtoMessage()
func (*AlertDefAdvancedTargetSettings) ProtoReflect ¶
func (x *AlertDefAdvancedTargetSettings) ProtoReflect() protoreflect.Message
func (*AlertDefAdvancedTargetSettings) Reset ¶
func (x *AlertDefAdvancedTargetSettings) Reset()
func (*AlertDefAdvancedTargetSettings) String ¶
func (x *AlertDefAdvancedTargetSettings) String() string
type AlertDefAdvancedTargetSettings_Minutes ¶
type AlertDefAdvancedTargetSettings_Minutes struct {
Minutes *wrapperspb.UInt32Value `protobuf:"bytes,100,opt,name=minutes,proto3,oneof"`
}
type AlertDefAdvancedTargets ¶
type AlertDefAdvancedTargets struct { AdvancedTargetsSettings []*AlertDefAdvancedTargetSettings `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AlertDefAdvancedTargets) Descriptor
deprecated
func (*AlertDefAdvancedTargets) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefAdvancedTargets.ProtoReflect.Descriptor instead.
func (*AlertDefAdvancedTargets) GetAdvancedTargetsSettings ¶
func (x *AlertDefAdvancedTargets) GetAdvancedTargetsSettings() []*AlertDefAdvancedTargetSettings
func (*AlertDefAdvancedTargets) ProtoMessage ¶
func (*AlertDefAdvancedTargets) ProtoMessage()
func (*AlertDefAdvancedTargets) ProtoReflect ¶
func (x *AlertDefAdvancedTargets) ProtoReflect() protoreflect.Message
func (*AlertDefAdvancedTargets) Reset ¶
func (x *AlertDefAdvancedTargets) Reset()
func (*AlertDefAdvancedTargets) String ¶
func (x *AlertDefAdvancedTargets) String() string
type AlertDefIncidentSettings ¶
type AlertDefIncidentSettings struct { // Types that are assignable to RetriggeringPeriod: // // *AlertDefIncidentSettings_Minutes RetriggeringPeriod isAlertDefIncidentSettings_RetriggeringPeriod `protobuf_oneof:"retriggering_period"` NotifyOn NotifyOn `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AlertDefIncidentSettings) Descriptor
deprecated
func (*AlertDefIncidentSettings) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefIncidentSettings.ProtoReflect.Descriptor instead.
func (*AlertDefIncidentSettings) GetMinutes ¶
func (x *AlertDefIncidentSettings) GetMinutes() *wrapperspb.UInt32Value
func (*AlertDefIncidentSettings) GetNotifyOn ¶
func (x *AlertDefIncidentSettings) GetNotifyOn() NotifyOn
func (*AlertDefIncidentSettings) GetRetriggeringPeriod ¶
func (m *AlertDefIncidentSettings) GetRetriggeringPeriod() isAlertDefIncidentSettings_RetriggeringPeriod
func (*AlertDefIncidentSettings) ProtoMessage ¶
func (*AlertDefIncidentSettings) ProtoMessage()
func (*AlertDefIncidentSettings) ProtoReflect ¶
func (x *AlertDefIncidentSettings) ProtoReflect() protoreflect.Message
func (*AlertDefIncidentSettings) Reset ¶
func (x *AlertDefIncidentSettings) Reset()
func (*AlertDefIncidentSettings) String ¶
func (x *AlertDefIncidentSettings) String() string
type AlertDefIncidentSettings_Minutes ¶
type AlertDefIncidentSettings_Minutes struct {
Minutes *wrapperspb.UInt32Value `protobuf:"bytes,100,opt,name=minutes,proto3,oneof"`
}
type AlertDefNotificationGroup ¶
type AlertDefNotificationGroup struct { GroupByFields []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=group_by_fields,json=groupByFields,proto3" json:"group_by_fields,omitempty"` // Types that are assignable to Targets: // // *AlertDefNotificationGroup_Advanced // *AlertDefNotificationGroup_Simple Targets isAlertDefNotificationGroup_Targets `protobuf_oneof:"targets"` // contains filtered or unexported fields }
func (*AlertDefNotificationGroup) Descriptor
deprecated
func (*AlertDefNotificationGroup) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefNotificationGroup.ProtoReflect.Descriptor instead.
func (*AlertDefNotificationGroup) GetAdvanced ¶
func (x *AlertDefNotificationGroup) GetAdvanced() *AlertDefAdvancedTargets
func (*AlertDefNotificationGroup) GetGroupByFields ¶
func (x *AlertDefNotificationGroup) GetGroupByFields() []*wrapperspb.StringValue
func (*AlertDefNotificationGroup) GetSimple ¶
func (x *AlertDefNotificationGroup) GetSimple() *AlertDefTargetSimple
func (*AlertDefNotificationGroup) GetTargets ¶
func (m *AlertDefNotificationGroup) GetTargets() isAlertDefNotificationGroup_Targets
func (*AlertDefNotificationGroup) ProtoMessage ¶
func (*AlertDefNotificationGroup) ProtoMessage()
func (*AlertDefNotificationGroup) ProtoReflect ¶
func (x *AlertDefNotificationGroup) ProtoReflect() protoreflect.Message
func (*AlertDefNotificationGroup) Reset ¶
func (x *AlertDefNotificationGroup) Reset()
func (*AlertDefNotificationGroup) String ¶
func (x *AlertDefNotificationGroup) String() string
type AlertDefNotificationGroup_Advanced ¶
type AlertDefNotificationGroup_Advanced struct {
Advanced *AlertDefAdvancedTargets `protobuf:"bytes,2,opt,name=advanced,proto3,oneof"`
}
type AlertDefNotificationGroup_Simple ¶
type AlertDefNotificationGroup_Simple struct {
Simple *AlertDefTargetSimple `protobuf:"bytes,3,opt,name=simple,proto3,oneof"`
}
type AlertDefPriority ¶
type AlertDefPriority int32
const ( AlertDefPriority_ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED AlertDefPriority = 0 AlertDefPriority_ALERT_DEF_PRIORITY_P4 AlertDefPriority = 1 AlertDefPriority_ALERT_DEF_PRIORITY_P3 AlertDefPriority = 2 AlertDefPriority_ALERT_DEF_PRIORITY_P2 AlertDefPriority = 3 AlertDefPriority_ALERT_DEF_PRIORITY_P1 AlertDefPriority = 4 )
func (AlertDefPriority) Descriptor ¶
func (AlertDefPriority) Descriptor() protoreflect.EnumDescriptor
func (AlertDefPriority) Enum ¶
func (x AlertDefPriority) Enum() *AlertDefPriority
func (AlertDefPriority) EnumDescriptor
deprecated
func (AlertDefPriority) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlertDefPriority.Descriptor instead.
func (AlertDefPriority) Number ¶
func (x AlertDefPriority) Number() protoreflect.EnumNumber
func (AlertDefPriority) String ¶
func (x AlertDefPriority) String() string
func (AlertDefPriority) Type ¶
func (AlertDefPriority) Type() protoreflect.EnumType
type AlertDefProperties ¶
type AlertDefProperties struct { Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Enabled *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=enabled,proto3" json:"enabled,omitempty"` Priority AlertDefPriority `protobuf:"varint,4,opt,name=priority,proto3,enum=com.coralogixapis.alerts.v3.AlertDefPriority" json:"priority,omitempty"` // Types that are assignable to Schedule: // // *AlertDefProperties_ActiveOn Schedule isAlertDefProperties_Schedule `protobuf_oneof:"schedule"` AlertDefType AlertDefType `` /* 146-byte string literal not displayed */ // Types that are assignable to TypeDefinition: // // *AlertDefProperties_LogsImmediate // *AlertDefProperties_LogsMoreThan // *AlertDefProperties_LogsLessThan // *AlertDefProperties_LogsMoreThanUsual // *AlertDefProperties_LogsRatioMoreThan // *AlertDefProperties_LogsRatioLessThan // *AlertDefProperties_LogsNewValue // *AlertDefProperties_LogsUniqueCount // *AlertDefProperties_LogsTimeRelativeMoreThan // *AlertDefProperties_LogsTimeRelativeLessThan // *AlertDefProperties_MetricMoreThan // *AlertDefProperties_MetricLessThan // *AlertDefProperties_MetricMoreThanUsual // *AlertDefProperties_TracingImmediate // *AlertDefProperties_TracingMoreThan // *AlertDefProperties_Flow // *AlertDefProperties_MetricLessThanUsual // *AlertDefProperties_MetricMoreThanOrEquals // *AlertDefProperties_MetricLessThanOrEquals TypeDefinition isAlertDefProperties_TypeDefinition `protobuf_oneof:"type_definition"` GroupBy []*wrapperspb.StringValue `protobuf:"bytes,7,rep,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` IncidentsSettings *AlertDefIncidentSettings `protobuf:"bytes,8,opt,name=incidents_settings,json=incidentsSettings,proto3" json:"incidents_settings,omitempty"` NotificationGroup *AlertDefNotificationGroup `protobuf:"bytes,9,opt,name=notification_group,json=notificationGroup,proto3" json:"notification_group,omitempty"` Labels map[string]string `` /* 154-byte string literal not displayed */ PhantomMode *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=phantom_mode,json=phantomMode,proto3" json:"phantom_mode,omitempty"` // contains filtered or unexported fields }
* Represents The non generated alert definition properties (the ones that are set by the user)
func (*AlertDefProperties) Descriptor
deprecated
func (*AlertDefProperties) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefProperties.ProtoReflect.Descriptor instead.
func (*AlertDefProperties) GetActiveOn ¶
func (x *AlertDefProperties) GetActiveOn() *ActivitySchedule
func (*AlertDefProperties) GetAlertDefType ¶
func (x *AlertDefProperties) GetAlertDefType() AlertDefType
func (*AlertDefProperties) GetDescription ¶
func (x *AlertDefProperties) GetDescription() *wrapperspb.StringValue
func (*AlertDefProperties) GetEnabled ¶
func (x *AlertDefProperties) GetEnabled() *wrapperspb.BoolValue
func (*AlertDefProperties) GetFlow ¶
func (x *AlertDefProperties) GetFlow() *flow.FlowTypeDefinition
func (*AlertDefProperties) GetGroupBy ¶
func (x *AlertDefProperties) GetGroupBy() []*wrapperspb.StringValue
func (*AlertDefProperties) GetIncidentsSettings ¶
func (x *AlertDefProperties) GetIncidentsSettings() *AlertDefIncidentSettings
func (*AlertDefProperties) GetLabels ¶
func (x *AlertDefProperties) GetLabels() map[string]string
func (*AlertDefProperties) GetLogsImmediate ¶
func (x *AlertDefProperties) GetLogsImmediate() *standard.LogsImmediateTypeDefinition
func (*AlertDefProperties) GetLogsLessThan ¶
func (x *AlertDefProperties) GetLogsLessThan() *standard.LogsLessThanTypeDefinition
func (*AlertDefProperties) GetLogsMoreThan ¶
func (x *AlertDefProperties) GetLogsMoreThan() *standard.LogsMoreThanTypeDefinition
func (*AlertDefProperties) GetLogsMoreThanUsual ¶
func (x *AlertDefProperties) GetLogsMoreThanUsual() *standard.LogsMoreThanUsualTypeDefinition
func (*AlertDefProperties) GetLogsNewValue ¶
func (x *AlertDefProperties) GetLogsNewValue() *new_value.LogsNewValueTypeDefinition
func (*AlertDefProperties) GetLogsRatioLessThan ¶
func (x *AlertDefProperties) GetLogsRatioLessThan() *ratio.LogsRatioLessThanTypeDefinition
func (*AlertDefProperties) GetLogsRatioMoreThan ¶
func (x *AlertDefProperties) GetLogsRatioMoreThan() *ratio.LogsRatioMoreThanTypeDefinition
func (*AlertDefProperties) GetLogsTimeRelativeLessThan ¶
func (x *AlertDefProperties) GetLogsTimeRelativeLessThan() *time_relative.LogsTimeRelativeLessThanTypeDefinition
func (*AlertDefProperties) GetLogsTimeRelativeMoreThan ¶
func (x *AlertDefProperties) GetLogsTimeRelativeMoreThan() *time_relative.LogsTimeRelativeMoreThanTypeDefinition
func (*AlertDefProperties) GetLogsUniqueCount ¶
func (x *AlertDefProperties) GetLogsUniqueCount() *unique_count.LogsUniqueCountTypeDefinition
func (*AlertDefProperties) GetMetricLessThan ¶
func (x *AlertDefProperties) GetMetricLessThan() *metric.MetricLessThanTypeDefinition
func (*AlertDefProperties) GetMetricLessThanOrEquals ¶
func (x *AlertDefProperties) GetMetricLessThanOrEquals() *metric.MetricLessThanOrEqualsTypeDefinition
func (*AlertDefProperties) GetMetricLessThanUsual ¶
func (x *AlertDefProperties) GetMetricLessThanUsual() *metric.MetricLessThanUsualTypeDefinition
func (*AlertDefProperties) GetMetricMoreThan ¶
func (x *AlertDefProperties) GetMetricMoreThan() *metric.MetricMoreThanTypeDefinition
func (*AlertDefProperties) GetMetricMoreThanOrEquals ¶
func (x *AlertDefProperties) GetMetricMoreThanOrEquals() *metric.MetricMoreThanOrEqualsTypeDefinition
func (*AlertDefProperties) GetMetricMoreThanUsual ¶
func (x *AlertDefProperties) GetMetricMoreThanUsual() *metric.MetricMoreThanUsualTypeDefinition
func (*AlertDefProperties) GetName ¶
func (x *AlertDefProperties) GetName() *wrapperspb.StringValue
func (*AlertDefProperties) GetNotificationGroup ¶
func (x *AlertDefProperties) GetNotificationGroup() *AlertDefNotificationGroup
func (*AlertDefProperties) GetPhantomMode ¶
func (x *AlertDefProperties) GetPhantomMode() *wrapperspb.BoolValue
func (*AlertDefProperties) GetPriority ¶
func (x *AlertDefProperties) GetPriority() AlertDefPriority
func (*AlertDefProperties) GetSchedule ¶
func (m *AlertDefProperties) GetSchedule() isAlertDefProperties_Schedule
func (*AlertDefProperties) GetTracingImmediate ¶
func (x *AlertDefProperties) GetTracingImmediate() *tracing.TracingImmediateTypeDefinition
func (*AlertDefProperties) GetTracingMoreThan ¶
func (x *AlertDefProperties) GetTracingMoreThan() *tracing.TracingMoreThanTypeDefinition
func (*AlertDefProperties) GetTypeDefinition ¶
func (m *AlertDefProperties) GetTypeDefinition() isAlertDefProperties_TypeDefinition
func (*AlertDefProperties) ProtoMessage ¶
func (*AlertDefProperties) ProtoMessage()
func (*AlertDefProperties) ProtoReflect ¶
func (x *AlertDefProperties) ProtoReflect() protoreflect.Message
func (*AlertDefProperties) Reset ¶
func (x *AlertDefProperties) Reset()
func (*AlertDefProperties) String ¶
func (x *AlertDefProperties) String() string
type AlertDefProperties_ActiveOn ¶
type AlertDefProperties_ActiveOn struct {
ActiveOn *ActivitySchedule `protobuf:"bytes,5,opt,name=active_on,json=activeOn,proto3,oneof"`
}
type AlertDefProperties_Flow ¶
type AlertDefProperties_Flow struct {
Flow *flow.FlowTypeDefinition `protobuf:"bytes,117,opt,name=flow,proto3,oneof"`
}
type AlertDefProperties_LogsImmediate ¶
type AlertDefProperties_LogsImmediate struct {
LogsImmediate *standard.LogsImmediateTypeDefinition `protobuf:"bytes,100,opt,name=logs_immediate,json=logsImmediate,proto3,oneof"`
}
type AlertDefProperties_LogsLessThan ¶
type AlertDefProperties_LogsLessThan struct {
LogsLessThan *standard.LogsLessThanTypeDefinition `protobuf:"bytes,102,opt,name=logs_less_than,json=logsLessThan,proto3,oneof"`
}
type AlertDefProperties_LogsMoreThan ¶
type AlertDefProperties_LogsMoreThan struct {
LogsMoreThan *standard.LogsMoreThanTypeDefinition `protobuf:"bytes,101,opt,name=logs_more_than,json=logsMoreThan,proto3,oneof"`
}
type AlertDefProperties_LogsMoreThanUsual ¶
type AlertDefProperties_LogsMoreThanUsual struct {
LogsMoreThanUsual *standard.LogsMoreThanUsualTypeDefinition `protobuf:"bytes,103,opt,name=logs_more_than_usual,json=logsMoreThanUsual,proto3,oneof"`
}
type AlertDefProperties_LogsNewValue ¶
type AlertDefProperties_LogsNewValue struct {
LogsNewValue *new_value.LogsNewValueTypeDefinition `protobuf:"bytes,106,opt,name=logs_new_value,json=logsNewValue,proto3,oneof"`
}
type AlertDefProperties_LogsRatioLessThan ¶
type AlertDefProperties_LogsRatioLessThan struct {
LogsRatioLessThan *ratio.LogsRatioLessThanTypeDefinition `protobuf:"bytes,105,opt,name=logs_ratio_less_than,json=logsRatioLessThan,proto3,oneof"`
}
type AlertDefProperties_LogsRatioMoreThan ¶
type AlertDefProperties_LogsRatioMoreThan struct {
LogsRatioMoreThan *ratio.LogsRatioMoreThanTypeDefinition `protobuf:"bytes,104,opt,name=logs_ratio_more_than,json=logsRatioMoreThan,proto3,oneof"`
}
type AlertDefProperties_LogsTimeRelativeLessThan ¶
type AlertDefProperties_LogsTimeRelativeLessThan struct {
LogsTimeRelativeLessThan *time_relative.LogsTimeRelativeLessThanTypeDefinition `protobuf:"bytes,109,opt,name=logs_time_relative_less_than,json=logsTimeRelativeLessThan,proto3,oneof"`
}
type AlertDefProperties_LogsTimeRelativeMoreThan ¶
type AlertDefProperties_LogsTimeRelativeMoreThan struct {
LogsTimeRelativeMoreThan *time_relative.LogsTimeRelativeMoreThanTypeDefinition `protobuf:"bytes,108,opt,name=logs_time_relative_more_than,json=logsTimeRelativeMoreThan,proto3,oneof"`
}
type AlertDefProperties_LogsUniqueCount ¶
type AlertDefProperties_LogsUniqueCount struct {
LogsUniqueCount *unique_count.LogsUniqueCountTypeDefinition `protobuf:"bytes,107,opt,name=logs_unique_count,json=logsUniqueCount,proto3,oneof"`
}
type AlertDefProperties_MetricLessThan ¶
type AlertDefProperties_MetricLessThan struct {
MetricLessThan *metric.MetricLessThanTypeDefinition `protobuf:"bytes,113,opt,name=metric_less_than,json=metricLessThan,proto3,oneof"`
}
type AlertDefProperties_MetricLessThanOrEquals ¶
type AlertDefProperties_MetricLessThanOrEquals struct {
MetricLessThanOrEquals *metric.MetricLessThanOrEqualsTypeDefinition `protobuf:"bytes,120,opt,name=metric_less_than_or_equals,json=metricLessThanOrEquals,proto3,oneof"`
}
type AlertDefProperties_MetricLessThanUsual ¶
type AlertDefProperties_MetricLessThanUsual struct {
MetricLessThanUsual *metric.MetricLessThanUsualTypeDefinition `protobuf:"bytes,118,opt,name=metric_less_than_usual,json=metricLessThanUsual,proto3,oneof"`
}
type AlertDefProperties_MetricMoreThan ¶
type AlertDefProperties_MetricMoreThan struct {
MetricMoreThan *metric.MetricMoreThanTypeDefinition `protobuf:"bytes,112,opt,name=metric_more_than,json=metricMoreThan,proto3,oneof"`
}
type AlertDefProperties_MetricMoreThanOrEquals ¶
type AlertDefProperties_MetricMoreThanOrEquals struct {
MetricMoreThanOrEquals *metric.MetricMoreThanOrEqualsTypeDefinition `protobuf:"bytes,119,opt,name=metric_more_than_or_equals,json=metricMoreThanOrEquals,proto3,oneof"`
}
type AlertDefProperties_MetricMoreThanUsual ¶
type AlertDefProperties_MetricMoreThanUsual struct {
MetricMoreThanUsual *metric.MetricMoreThanUsualTypeDefinition `protobuf:"bytes,114,opt,name=metric_more_than_usual,json=metricMoreThanUsual,proto3,oneof"`
}
type AlertDefProperties_TracingImmediate ¶
type AlertDefProperties_TracingImmediate struct {
TracingImmediate *tracing.TracingImmediateTypeDefinition `protobuf:"bytes,115,opt,name=tracing_immediate,json=tracingImmediate,proto3,oneof"`
}
type AlertDefProperties_TracingMoreThan ¶
type AlertDefProperties_TracingMoreThan struct {
TracingMoreThan *tracing.TracingMoreThanTypeDefinition `protobuf:"bytes,116,opt,name=tracing_more_than,json=tracingMoreThan,proto3,oneof"`
}
type AlertDefTargetSimple ¶
type AlertDefTargetSimple struct { Integrations []*IntegrationType `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"` // contains filtered or unexported fields }
func (*AlertDefTargetSimple) Descriptor
deprecated
func (*AlertDefTargetSimple) Descriptor() ([]byte, []int)
Deprecated: Use AlertDefTargetSimple.ProtoReflect.Descriptor instead.
func (*AlertDefTargetSimple) GetIntegrations ¶
func (x *AlertDefTargetSimple) GetIntegrations() []*IntegrationType
func (*AlertDefTargetSimple) ProtoMessage ¶
func (*AlertDefTargetSimple) ProtoMessage()
func (*AlertDefTargetSimple) ProtoReflect ¶
func (x *AlertDefTargetSimple) ProtoReflect() protoreflect.Message
func (*AlertDefTargetSimple) Reset ¶
func (x *AlertDefTargetSimple) Reset()
func (*AlertDefTargetSimple) String ¶
func (x *AlertDefTargetSimple) String() string
type AlertDefType ¶
type AlertDefType int32
const ( AlertDefType_ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED AlertDefType = 0 AlertDefType_ALERT_DEF_TYPE_LOGS_MORE_THAN AlertDefType = 1 AlertDefType_ALERT_DEF_TYPE_LOGS_LESS_THAN AlertDefType = 2 AlertDefType_ALERT_DEF_TYPE_LOGS_MORE_THAN_USUAL AlertDefType = 3 AlertDefType_ALERT_DEF_TYPE_LOGS_RATIO_MORE_THAN AlertDefType = 4 AlertDefType_ALERT_DEF_TYPE_LOGS_RATIO_LESS_THAN AlertDefType = 5 AlertDefType_ALERT_DEF_TYPE_LOGS_NEW_VALUE AlertDefType = 6 AlertDefType_ALERT_DEF_TYPE_LOGS_UNIQUE_COUNT AlertDefType = 7 AlertDefType_ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_MORE_THAN AlertDefType = 8 AlertDefType_ALERT_DEF_TYPE_LOGS_TIME_RELATIVE_LESS_THAN AlertDefType = 9 AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN AlertDefType = 10 AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN AlertDefType = 11 AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN_USUAL AlertDefType = 14 AlertDefType_ALERT_DEF_TYPE_TRACING_IMMEDIATE AlertDefType = 15 AlertDefType_ALERT_DEF_TYPE_TRACING_MORE_THAN AlertDefType = 16 AlertDefType_ALERT_DEF_TYPE_FLOW AlertDefType = 17 AlertDefType_ALERT_DEF_TYPE_METRIC_MORE_THAN_OR_EQUALS AlertDefType = 18 AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN_OR_EQUALS AlertDefType = 19 AlertDefType_ALERT_DEF_TYPE_METRIC_LESS_THAN_USUAL AlertDefType = 21 )
func (AlertDefType) Descriptor ¶
func (AlertDefType) Descriptor() protoreflect.EnumDescriptor
func (AlertDefType) Enum ¶
func (x AlertDefType) Enum() *AlertDefType
func (AlertDefType) EnumDescriptor
deprecated
func (AlertDefType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AlertDefType.Descriptor instead.
func (AlertDefType) Number ¶
func (x AlertDefType) Number() protoreflect.EnumNumber
func (AlertDefType) String ¶
func (x AlertDefType) String() string
func (AlertDefType) Type ¶
func (AlertDefType) Type() protoreflect.EnumType
type AlertDefsServiceClient ¶
type AlertDefsServiceClient interface { // Get Alert Def by non changing ID AKA UniqueIdentifier GetAlertDef(ctx context.Context, in *GetAlertDefRequest, opts ...grpc.CallOption) (*GetAlertDefResponse, error) CreateAlertDef(ctx context.Context, in *CreateAlertDefRequest, opts ...grpc.CallOption) (*CreateAlertDefResponse, error) ReplaceAlertDef(ctx context.Context, in *ReplaceAlertDefRequest, opts ...grpc.CallOption) (*ReplaceAlertDefResponse, error) ListAlertDefs(ctx context.Context, in *ListAlertDefsRequest, opts ...grpc.CallOption) (*ListAlertDefsResponse, error) DeleteAlertDef(ctx context.Context, in *DeleteAlertDefRequest, opts ...grpc.CallOption) (*DeleteAlertDefResponse, error) SetActive(ctx context.Context, in *SetActiveRequest, opts ...grpc.CallOption) (*SetActiveResponse, error) }
AlertDefsServiceClient is the client API for AlertDefsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAlertDefsServiceClient ¶
func NewAlertDefsServiceClient(cc grpc.ClientConnInterface) AlertDefsServiceClient
type AlertDefsServiceServer ¶
type AlertDefsServiceServer interface { // Get Alert Def by non changing ID AKA UniqueIdentifier GetAlertDef(context.Context, *GetAlertDefRequest) (*GetAlertDefResponse, error) CreateAlertDef(context.Context, *CreateAlertDefRequest) (*CreateAlertDefResponse, error) ReplaceAlertDef(context.Context, *ReplaceAlertDefRequest) (*ReplaceAlertDefResponse, error) ListAlertDefs(context.Context, *ListAlertDefsRequest) (*ListAlertDefsResponse, error) DeleteAlertDef(context.Context, *DeleteAlertDefRequest) (*DeleteAlertDefResponse, error) SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error) // contains filtered or unexported methods }
AlertDefsServiceServer is the server API for AlertDefsService service. All implementations must embed UnimplementedAlertDefsServiceServer for forward compatibility
type AuditLogDescription ¶
type AuditLogDescription struct { Description *string `protobuf:"bytes,1,opt,name=description,proto3,oneof" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AuditLogDescription) Descriptor
deprecated
func (*AuditLogDescription) Descriptor() ([]byte, []int)
Deprecated: Use AuditLogDescription.ProtoReflect.Descriptor instead.
func (*AuditLogDescription) GetDescription ¶
func (x *AuditLogDescription) GetDescription() string
func (*AuditLogDescription) ProtoMessage ¶
func (*AuditLogDescription) ProtoMessage()
func (*AuditLogDescription) ProtoReflect ¶
func (x *AuditLogDescription) ProtoReflect() protoreflect.Message
func (*AuditLogDescription) Reset ¶
func (x *AuditLogDescription) Reset()
func (*AuditLogDescription) String ¶
func (x *AuditLogDescription) String() string
type BatchGetAlertDefRequest ¶
type BatchGetAlertDefRequest struct { Ids []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*BatchGetAlertDefRequest) Descriptor
deprecated
func (*BatchGetAlertDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetAlertDefRequest.ProtoReflect.Descriptor instead.
func (*BatchGetAlertDefRequest) GetIds ¶
func (x *BatchGetAlertDefRequest) GetIds() []*wrapperspb.StringValue
func (*BatchGetAlertDefRequest) ProtoMessage ¶
func (*BatchGetAlertDefRequest) ProtoMessage()
func (*BatchGetAlertDefRequest) ProtoReflect ¶
func (x *BatchGetAlertDefRequest) ProtoReflect() protoreflect.Message
func (*BatchGetAlertDefRequest) Reset ¶
func (x *BatchGetAlertDefRequest) Reset()
func (*BatchGetAlertDefRequest) String ¶
func (x *BatchGetAlertDefRequest) String() string
type BatchGetAlertDefResponse ¶
type BatchGetAlertDefResponse struct { AlertDefs map[string]*AlertDef `` /* 176-byte string literal not displayed */ NotFoundIds []*wrapperspb.StringValue `protobuf:"bytes,2,rep,name=not_found_ids,json=notFoundIds,proto3" json:"not_found_ids,omitempty"` // contains filtered or unexported fields }
func (*BatchGetAlertDefResponse) Descriptor
deprecated
func (*BatchGetAlertDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchGetAlertDefResponse.ProtoReflect.Descriptor instead.
func (*BatchGetAlertDefResponse) GetAlertDefs ¶
func (x *BatchGetAlertDefResponse) GetAlertDefs() map[string]*AlertDef
func (*BatchGetAlertDefResponse) GetNotFoundIds ¶
func (x *BatchGetAlertDefResponse) GetNotFoundIds() []*wrapperspb.StringValue
func (*BatchGetAlertDefResponse) ProtoMessage ¶
func (*BatchGetAlertDefResponse) ProtoMessage()
func (*BatchGetAlertDefResponse) ProtoReflect ¶
func (x *BatchGetAlertDefResponse) ProtoReflect() protoreflect.Message
func (*BatchGetAlertDefResponse) Reset ¶
func (x *BatchGetAlertDefResponse) Reset()
func (*BatchGetAlertDefResponse) String ¶
func (x *BatchGetAlertDefResponse) String() string
type CreateAlertDefRequest ¶
type CreateAlertDefRequest struct { AlertDefProperties *AlertDefProperties `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"` // contains filtered or unexported fields }
func (*CreateAlertDefRequest) Descriptor
deprecated
func (*CreateAlertDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlertDefRequest.ProtoReflect.Descriptor instead.
func (*CreateAlertDefRequest) GetAlertDefProperties ¶
func (x *CreateAlertDefRequest) GetAlertDefProperties() *AlertDefProperties
func (*CreateAlertDefRequest) ProtoMessage ¶
func (*CreateAlertDefRequest) ProtoMessage()
func (*CreateAlertDefRequest) ProtoReflect ¶
func (x *CreateAlertDefRequest) ProtoReflect() protoreflect.Message
func (*CreateAlertDefRequest) Reset ¶
func (x *CreateAlertDefRequest) Reset()
func (*CreateAlertDefRequest) String ¶
func (x *CreateAlertDefRequest) String() string
type CreateAlertDefResponse ¶
type CreateAlertDefResponse struct { AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"` // contains filtered or unexported fields }
func (*CreateAlertDefResponse) Descriptor
deprecated
func (*CreateAlertDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlertDefResponse.ProtoReflect.Descriptor instead.
func (*CreateAlertDefResponse) GetAlertDef ¶
func (x *CreateAlertDefResponse) GetAlertDef() *AlertDef
func (*CreateAlertDefResponse) ProtoMessage ¶
func (*CreateAlertDefResponse) ProtoMessage()
func (*CreateAlertDefResponse) ProtoReflect ¶
func (x *CreateAlertDefResponse) ProtoReflect() protoreflect.Message
func (*CreateAlertDefResponse) Reset ¶
func (x *CreateAlertDefResponse) Reset()
func (*CreateAlertDefResponse) String ¶
func (x *CreateAlertDefResponse) String() string
type DayOfWeek ¶
type DayOfWeek int32
const ( DayOfWeek_DAY_OF_WEEK_MONDAY_OR_UNSPECIFIED DayOfWeek = 0 DayOfWeek_DAY_OF_WEEK_TUESDAY DayOfWeek = 1 DayOfWeek_DAY_OF_WEEK_WEDNESDAY DayOfWeek = 2 DayOfWeek_DAY_OF_WEEK_THURSDAY DayOfWeek = 3 DayOfWeek_DAY_OF_WEEK_FRIDAY DayOfWeek = 4 DayOfWeek_DAY_OF_WEEK_SATURDAY DayOfWeek = 5 DayOfWeek_DAY_OF_WEEK_SUNDAY DayOfWeek = 6 )
func (DayOfWeek) Descriptor ¶
func (DayOfWeek) Descriptor() protoreflect.EnumDescriptor
func (DayOfWeek) EnumDescriptor
deprecated
func (DayOfWeek) Number ¶
func (x DayOfWeek) Number() protoreflect.EnumNumber
func (DayOfWeek) Type ¶
func (DayOfWeek) Type() protoreflect.EnumType
type DeleteAlertDefRequest ¶
type DeleteAlertDefRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAlertDefRequest) Descriptor
deprecated
func (*DeleteAlertDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertDefRequest.ProtoReflect.Descriptor instead.
func (*DeleteAlertDefRequest) GetId ¶
func (x *DeleteAlertDefRequest) GetId() *wrapperspb.StringValue
func (*DeleteAlertDefRequest) ProtoMessage ¶
func (*DeleteAlertDefRequest) ProtoMessage()
func (*DeleteAlertDefRequest) ProtoReflect ¶
func (x *DeleteAlertDefRequest) ProtoReflect() protoreflect.Message
func (*DeleteAlertDefRequest) Reset ¶
func (x *DeleteAlertDefRequest) Reset()
func (*DeleteAlertDefRequest) String ¶
func (x *DeleteAlertDefRequest) String() string
type DeleteAlertDefResponse ¶
type DeleteAlertDefResponse struct {
// contains filtered or unexported fields
}
func (*DeleteAlertDefResponse) Descriptor
deprecated
func (*DeleteAlertDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlertDefResponse.ProtoReflect.Descriptor instead.
func (*DeleteAlertDefResponse) ProtoMessage ¶
func (*DeleteAlertDefResponse) ProtoMessage()
func (*DeleteAlertDefResponse) ProtoReflect ¶
func (x *DeleteAlertDefResponse) ProtoReflect() protoreflect.Message
func (*DeleteAlertDefResponse) Reset ¶
func (x *DeleteAlertDefResponse) Reset()
func (*DeleteAlertDefResponse) String ¶
func (x *DeleteAlertDefResponse) String() string
type GetAlertDefRequest ¶
type GetAlertDefRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The Alert's non changing ID // contains filtered or unexported fields }
func (*GetAlertDefRequest) Descriptor
deprecated
func (*GetAlertDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertDefRequest.ProtoReflect.Descriptor instead.
func (*GetAlertDefRequest) GetId ¶
func (x *GetAlertDefRequest) GetId() *wrapperspb.StringValue
func (*GetAlertDefRequest) ProtoMessage ¶
func (*GetAlertDefRequest) ProtoMessage()
func (*GetAlertDefRequest) ProtoReflect ¶
func (x *GetAlertDefRequest) ProtoReflect() protoreflect.Message
func (*GetAlertDefRequest) Reset ¶
func (x *GetAlertDefRequest) Reset()
func (*GetAlertDefRequest) String ¶
func (x *GetAlertDefRequest) String() string
type GetAlertDefResponse ¶
type GetAlertDefResponse struct { AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"` // contains filtered or unexported fields }
func (*GetAlertDefResponse) Descriptor
deprecated
func (*GetAlertDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAlertDefResponse.ProtoReflect.Descriptor instead.
func (*GetAlertDefResponse) GetAlertDef ¶
func (x *GetAlertDefResponse) GetAlertDef() *AlertDef
func (*GetAlertDefResponse) ProtoMessage ¶
func (*GetAlertDefResponse) ProtoMessage()
func (*GetAlertDefResponse) ProtoReflect ¶
func (x *GetAlertDefResponse) ProtoReflect() protoreflect.Message
func (*GetAlertDefResponse) Reset ¶
func (x *GetAlertDefResponse) Reset()
func (*GetAlertDefResponse) String ¶
func (x *GetAlertDefResponse) String() string
type IntegrationType ¶
type IntegrationType struct { // Types that are assignable to IntegrationType: // // *IntegrationType_IntegrationId // *IntegrationType_Recipients IntegrationType isIntegrationType_IntegrationType `protobuf_oneof:"integration_type"` // contains filtered or unexported fields }
func (*IntegrationType) Descriptor
deprecated
func (*IntegrationType) Descriptor() ([]byte, []int)
Deprecated: Use IntegrationType.ProtoReflect.Descriptor instead.
func (*IntegrationType) GetIntegrationId ¶
func (x *IntegrationType) GetIntegrationId() *wrapperspb.UInt32Value
func (*IntegrationType) GetIntegrationType ¶
func (m *IntegrationType) GetIntegrationType() isIntegrationType_IntegrationType
func (*IntegrationType) GetRecipients ¶
func (x *IntegrationType) GetRecipients() *Recipients
func (*IntegrationType) ProtoMessage ¶
func (*IntegrationType) ProtoMessage()
func (*IntegrationType) ProtoReflect ¶
func (x *IntegrationType) ProtoReflect() protoreflect.Message
func (*IntegrationType) Reset ¶
func (x *IntegrationType) Reset()
func (*IntegrationType) String ¶
func (x *IntegrationType) String() string
type IntegrationType_IntegrationId ¶
type IntegrationType_IntegrationId struct {
IntegrationId *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=integration_id,json=integrationId,proto3,oneof"`
}
type IntegrationType_Recipients ¶
type IntegrationType_Recipients struct {
Recipients *Recipients `protobuf:"bytes,3,opt,name=recipients,proto3,oneof"`
}
type ListAlertDefsRequest ¶
type ListAlertDefsRequest struct {
// contains filtered or unexported fields
}
func (*ListAlertDefsRequest) Descriptor
deprecated
func (*ListAlertDefsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertDefsRequest.ProtoReflect.Descriptor instead.
func (*ListAlertDefsRequest) ProtoMessage ¶
func (*ListAlertDefsRequest) ProtoMessage()
func (*ListAlertDefsRequest) ProtoReflect ¶
func (x *ListAlertDefsRequest) ProtoReflect() protoreflect.Message
func (*ListAlertDefsRequest) Reset ¶
func (x *ListAlertDefsRequest) Reset()
func (*ListAlertDefsRequest) String ¶
func (x *ListAlertDefsRequest) String() string
type ListAlertDefsResponse ¶
type ListAlertDefsResponse struct { AlertDefs []*AlertDef `protobuf:"bytes,1,rep,name=alert_defs,json=alertDefs,proto3" json:"alert_defs,omitempty"` // contains filtered or unexported fields }
func (*ListAlertDefsResponse) Descriptor
deprecated
func (*ListAlertDefsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAlertDefsResponse.ProtoReflect.Descriptor instead.
func (*ListAlertDefsResponse) GetAlertDefs ¶
func (x *ListAlertDefsResponse) GetAlertDefs() []*AlertDef
func (*ListAlertDefsResponse) ProtoMessage ¶
func (*ListAlertDefsResponse) ProtoMessage()
func (*ListAlertDefsResponse) ProtoReflect ¶
func (x *ListAlertDefsResponse) ProtoReflect() protoreflect.Message
func (*ListAlertDefsResponse) Reset ¶
func (x *ListAlertDefsResponse) Reset()
func (*ListAlertDefsResponse) String ¶
func (x *ListAlertDefsResponse) String() string
type NotifyOn ¶
type NotifyOn int32
func (NotifyOn) Descriptor ¶
func (NotifyOn) Descriptor() protoreflect.EnumDescriptor
func (NotifyOn) EnumDescriptor
deprecated
func (NotifyOn) Number ¶
func (x NotifyOn) Number() protoreflect.EnumNumber
func (NotifyOn) Type ¶
func (NotifyOn) Type() protoreflect.EnumType
type OrderBy ¶
type OrderBy struct { FieldName OrderByFields `` /* 136-byte string literal not displayed */ Direction OrderByDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=com.coralogixapis.alerts.v3.OrderByDirection" json:"direction,omitempty"` // contains filtered or unexported fields }
func (*OrderBy) Descriptor
deprecated
func (*OrderBy) GetDirection ¶
func (x *OrderBy) GetDirection() OrderByDirection
func (*OrderBy) GetFieldName ¶
func (x *OrderBy) GetFieldName() OrderByFields
func (*OrderBy) ProtoMessage ¶
func (*OrderBy) ProtoMessage()
func (*OrderBy) ProtoReflect ¶
func (x *OrderBy) ProtoReflect() protoreflect.Message
type OrderByDirection ¶
type OrderByDirection int32
const ( OrderByDirection_ORDER_BY_DIRECTION_ASC_OR_UNSPECIFIED OrderByDirection = 0 OrderByDirection_ORDER_BY_DIRECTION_DESC OrderByDirection = 1 )
func (OrderByDirection) Descriptor ¶
func (OrderByDirection) Descriptor() protoreflect.EnumDescriptor
func (OrderByDirection) Enum ¶
func (x OrderByDirection) Enum() *OrderByDirection
func (OrderByDirection) EnumDescriptor
deprecated
func (OrderByDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderByDirection.Descriptor instead.
func (OrderByDirection) Number ¶
func (x OrderByDirection) Number() protoreflect.EnumNumber
func (OrderByDirection) String ¶
func (x OrderByDirection) String() string
func (OrderByDirection) Type ¶
func (OrderByDirection) Type() protoreflect.EnumType
type OrderByFields ¶
type OrderByFields int32
const ( OrderByFields_ORDER_BY_FIELDS_NAME_OR_UNSPECIFIED OrderByFields = 0 OrderByFields_ORDER_BY_FIELDS_ID OrderByFields = 1 OrderByFields_ORDER_BY_FIELDS_SEVERITY OrderByFields = 2 OrderByFields_ORDER_BY_FIELDS_CREATED_TIME OrderByFields = 3 OrderByFields_ORDER_BY_FIELDS_UPDATED_TIME OrderByFields = 4 )
func (OrderByFields) Descriptor ¶
func (OrderByFields) Descriptor() protoreflect.EnumDescriptor
func (OrderByFields) Enum ¶
func (x OrderByFields) Enum() *OrderByFields
func (OrderByFields) EnumDescriptor
deprecated
func (OrderByFields) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrderByFields.Descriptor instead.
func (OrderByFields) Number ¶
func (x OrderByFields) Number() protoreflect.EnumNumber
func (OrderByFields) String ¶
func (x OrderByFields) String() string
func (OrderByFields) Type ¶
func (OrderByFields) Type() protoreflect.EnumType
type Recipients ¶
type Recipients struct { Emails []*wrapperspb.StringValue `protobuf:"bytes,1,rep,name=emails,proto3" json:"emails,omitempty"` // contains filtered or unexported fields }
func (*Recipients) Descriptor
deprecated
func (*Recipients) Descriptor() ([]byte, []int)
Deprecated: Use Recipients.ProtoReflect.Descriptor instead.
func (*Recipients) GetEmails ¶
func (x *Recipients) GetEmails() []*wrapperspb.StringValue
func (*Recipients) ProtoMessage ¶
func (*Recipients) ProtoMessage()
func (*Recipients) ProtoReflect ¶
func (x *Recipients) ProtoReflect() protoreflect.Message
func (*Recipients) Reset ¶
func (x *Recipients) Reset()
func (*Recipients) String ¶
func (x *Recipients) String() string
type ReplaceAlertDefRequest ¶
type ReplaceAlertDefRequest struct { AlertDefProperties *AlertDefProperties `protobuf:"bytes,1,opt,name=alert_def_properties,json=alertDefProperties,proto3" json:"alert_def_properties,omitempty"` Id *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The AlertDef's Id to be replaced // contains filtered or unexported fields }
func (*ReplaceAlertDefRequest) Descriptor
deprecated
func (*ReplaceAlertDefRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceAlertDefRequest.ProtoReflect.Descriptor instead.
func (*ReplaceAlertDefRequest) GetAlertDefProperties ¶
func (x *ReplaceAlertDefRequest) GetAlertDefProperties() *AlertDefProperties
func (*ReplaceAlertDefRequest) GetId ¶
func (x *ReplaceAlertDefRequest) GetId() *wrapperspb.StringValue
func (*ReplaceAlertDefRequest) ProtoMessage ¶
func (*ReplaceAlertDefRequest) ProtoMessage()
func (*ReplaceAlertDefRequest) ProtoReflect ¶
func (x *ReplaceAlertDefRequest) ProtoReflect() protoreflect.Message
func (*ReplaceAlertDefRequest) Reset ¶
func (x *ReplaceAlertDefRequest) Reset()
func (*ReplaceAlertDefRequest) String ¶
func (x *ReplaceAlertDefRequest) String() string
type ReplaceAlertDefResponse ¶
type ReplaceAlertDefResponse struct { AlertDef *AlertDef `protobuf:"bytes,1,opt,name=alert_def,json=alertDef,proto3" json:"alert_def,omitempty"` // contains filtered or unexported fields }
func (*ReplaceAlertDefResponse) Descriptor
deprecated
func (*ReplaceAlertDefResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReplaceAlertDefResponse.ProtoReflect.Descriptor instead.
func (*ReplaceAlertDefResponse) GetAlertDef ¶
func (x *ReplaceAlertDefResponse) GetAlertDef() *AlertDef
func (*ReplaceAlertDefResponse) ProtoMessage ¶
func (*ReplaceAlertDefResponse) ProtoMessage()
func (*ReplaceAlertDefResponse) ProtoReflect ¶
func (x *ReplaceAlertDefResponse) ProtoReflect() protoreflect.Message
func (*ReplaceAlertDefResponse) Reset ¶
func (x *ReplaceAlertDefResponse) Reset()
func (*ReplaceAlertDefResponse) String ¶
func (x *ReplaceAlertDefResponse) String() string
type SetActiveRequest ¶
type SetActiveRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Active *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=active,proto3" json:"active,omitempty"` // contains filtered or unexported fields }
message AlertExecutionRequest { oneof request { CreateAlertDefRequest create = 1; ReplaceAlertDefRequest replace = 2; DeleteAlertDefRequest delete = 3; } } message AlertExecutionResponse { oneof response { CreateAlertDefResponse create = 1; ReplaceAlertDefResponse replace = 2; DeleteAlertDefResponse delete = 3; } }
message GetLimitsRequest {}
message GetLimitsResponse { google.protobuf.StringValue company_id = 1; google.protobuf.Int32Value limit = 2; google.protobuf.Int32Value used = 3; } message ValidateAlertRequest { Alert alert = 1; } message ValidateAlertResponse { google.protobuf.BoolValue valid = 1; }
func (*SetActiveRequest) Descriptor
deprecated
func (*SetActiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetActiveRequest.ProtoReflect.Descriptor instead.
func (*SetActiveRequest) GetActive ¶
func (x *SetActiveRequest) GetActive() *wrapperspb.BoolValue
func (*SetActiveRequest) GetId ¶
func (x *SetActiveRequest) GetId() *wrapperspb.StringValue
func (*SetActiveRequest) ProtoMessage ¶
func (*SetActiveRequest) ProtoMessage()
func (*SetActiveRequest) ProtoReflect ¶
func (x *SetActiveRequest) ProtoReflect() protoreflect.Message
func (*SetActiveRequest) Reset ¶
func (x *SetActiveRequest) Reset()
func (*SetActiveRequest) String ¶
func (x *SetActiveRequest) String() string
type SetActiveResponse ¶
type SetActiveResponse struct {
// contains filtered or unexported fields
}
func (*SetActiveResponse) Descriptor
deprecated
func (*SetActiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetActiveResponse.ProtoReflect.Descriptor instead.
func (*SetActiveResponse) ProtoMessage ¶
func (*SetActiveResponse) ProtoMessage()
func (*SetActiveResponse) ProtoReflect ¶
func (x *SetActiveResponse) ProtoReflect() protoreflect.Message
func (*SetActiveResponse) Reset ¶
func (x *SetActiveResponse) Reset()
func (*SetActiveResponse) String ¶
func (x *SetActiveResponse) String() string
type TimeOfDay ¶
type TimeOfDay struct { // Hours of day in 24 hour format. Should be from 0 to 23. Hours int32 `protobuf:"varint,1,opt,name=hours,proto3" json:"hours,omitempty"` // Minutes of hour of day. Must be from 0 to 59. Minutes int32 `protobuf:"varint,2,opt,name=minutes,proto3" json:"minutes,omitempty"` // contains filtered or unexported fields }
func (*TimeOfDay) Descriptor
deprecated
func (*TimeOfDay) GetMinutes ¶
func (*TimeOfDay) ProtoMessage ¶
func (*TimeOfDay) ProtoMessage()
func (*TimeOfDay) ProtoReflect ¶
func (x *TimeOfDay) ProtoReflect() protoreflect.Message
type UnimplementedAlertDefsServiceServer ¶
type UnimplementedAlertDefsServiceServer struct { }
UnimplementedAlertDefsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAlertDefsServiceServer) CreateAlertDef ¶
func (UnimplementedAlertDefsServiceServer) CreateAlertDef(context.Context, *CreateAlertDefRequest) (*CreateAlertDefResponse, error)
func (UnimplementedAlertDefsServiceServer) DeleteAlertDef ¶
func (UnimplementedAlertDefsServiceServer) DeleteAlertDef(context.Context, *DeleteAlertDefRequest) (*DeleteAlertDefResponse, error)
func (UnimplementedAlertDefsServiceServer) GetAlertDef ¶
func (UnimplementedAlertDefsServiceServer) GetAlertDef(context.Context, *GetAlertDefRequest) (*GetAlertDefResponse, error)
func (UnimplementedAlertDefsServiceServer) ListAlertDefs ¶
func (UnimplementedAlertDefsServiceServer) ListAlertDefs(context.Context, *ListAlertDefsRequest) (*ListAlertDefsResponse, error)
func (UnimplementedAlertDefsServiceServer) ReplaceAlertDef ¶
func (UnimplementedAlertDefsServiceServer) ReplaceAlertDef(context.Context, *ReplaceAlertDefRequest) (*ReplaceAlertDefResponse, error)
func (UnimplementedAlertDefsServiceServer) SetActive ¶
func (UnimplementedAlertDefsServiceServer) SetActive(context.Context, *SetActiveRequest) (*SetActiveResponse, error)
type UnsafeAlertDefsServiceServer ¶
type UnsafeAlertDefsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAlertDefsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AlertDefsServiceServer will result in compilation errors.