Constructor
new Incident(propertiesopt)
Constructs a new Incident.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.irm.v1alpha2.IIncident |
<optional> |
Properties to set |
- Implements:
-
- IIncident
Classes
Members
(static) EscalationLevel :number
EscalationLevel enum.
Properties:
Name | Type | Description |
---|---|---|
ESCALATION_LEVEL_UNSPECIFIED |
number |
ESCALATION_LEVEL_UNSPECIFIED value |
ESCALATION_LEVEL_ORGANIZATION |
number |
ESCALATION_LEVEL_ORGANIZATION value |
(static) Severity :number
Severity enum.
Properties:
Name | Type | Description |
---|---|---|
SEVERITY_UNSPECIFIED |
number |
SEVERITY_UNSPECIFIED value |
SEVERITY_HUGE |
number |
SEVERITY_HUGE value |
SEVERITY_MAJOR |
number |
SEVERITY_MAJOR value |
SEVERITY_MEDIUM |
number |
SEVERITY_MEDIUM value |
SEVERITY_MINOR |
number |
SEVERITY_MINOR value |
SEVERITY_NEGLIGIBLE |
number |
SEVERITY_NEGLIGIBLE value |
(static) Stage :number
Stage enum.
Properties:
Name | Type | Description |
---|---|---|
STAGE_UNSPECIFIED |
number |
STAGE_UNSPECIFIED value |
STAGE_DETECTED |
number |
STAGE_DETECTED value |
STAGE_TRIAGED |
number |
STAGE_TRIAGED value |
STAGE_MITIGATED |
number |
STAGE_MITIGATED value |
STAGE_RESOLVED |
number |
STAGE_RESOLVED value |
STAGE_DOCUMENTED |
number |
STAGE_DOCUMENTED value |
STAGE_DUPLICATE |
number |
STAGE_DUPLICATE value |
communicationVenue :google.cloud.irm.v1alpha2.Incident.ICommunicationVenue|null|undefined
Incident communicationVenue.
duplicateIncident :string
Incident duplicateIncident.
escalationLevel :google.cloud.irm.v1alpha2.Incident.EscalationLevel
Incident escalationLevel.
etag :string
Incident etag.
name :string
Incident name.
severity :google.cloud.irm.v1alpha2.Incident.Severity
Incident severity.
stage :google.cloud.irm.v1alpha2.Incident.Stage
Incident stage.
startTime :google.protobuf.ITimestamp|null|undefined
Incident startTime.
synopsis :google.cloud.irm.v1alpha2.ISynopsis|null|undefined
Incident synopsis.
title :string
Incident title.
Methods
(static) create(propertiesopt) → {google.cloud.irm.v1alpha2.Incident}
Creates a new Incident instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.irm.v1alpha2.IIncident |
<optional> |
Properties to set |
(static) decode(reader, lengthopt) → {google.cloud.irm.v1alpha2.Incident}
Decodes an Incident message from the specified reader or buffer.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
|
length |
number |
<optional> |
Message length if known beforehand |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) decodeDelimited(reader) → {google.cloud.irm.v1alpha2.Incident}
Decodes an Incident message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Throws:
-
-
If the payload is not a reader or valid buffer
- Type
- Error
-
-
-
If required fields are missing
- Type
- $protobuf.util.ProtocolError
-
(static) encode(message, writeropt) → {$protobuf.Writer}
Encodes the specified Incident message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.irm.v1alpha2.IIncident |
Incident message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified Incident message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.irm.v1alpha2.IIncident |
Incident message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
(static) fromObject(object) → {google.cloud.irm.v1alpha2.Incident}
Creates an Incident message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from an Incident message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.irm.v1alpha2.Incident |
Incident |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
(static) verify(message) → {string|null}
Verifies an Incident message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
toJSON() → {Object.<string, *>}
Converts this Incident to JSON.