Constructor
new InterconnectOutageNotification(propertiesopt)
Constructs a new InterconnectOutageNotification.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IInterconnectOutageNotification |
<optional> |
Properties to set |
- Implements:
-
- IInterconnectOutageNotification
Members
_description
InterconnectOutageNotification _description.
_endTime
InterconnectOutageNotification _endTime.
_issueType
InterconnectOutageNotification _issueType.
_name
InterconnectOutageNotification _name.
_source
InterconnectOutageNotification _source.
_startTime
InterconnectOutageNotification _startTime.
_state
InterconnectOutageNotification _state.
affectedCircuits
InterconnectOutageNotification affectedCircuits.
description
InterconnectOutageNotification description.
endTime
InterconnectOutageNotification endTime.
issueType
InterconnectOutageNotification issueType.
name
InterconnectOutageNotification name.
source
InterconnectOutageNotification source.
startTime
InterconnectOutageNotification startTime.
state
InterconnectOutageNotification state.
IssueType
IssueType enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_ISSUE_TYPE |
number |
UNDEFINED_ISSUE_TYPE value |
IT_OUTAGE |
number |
IT_OUTAGE value |
IT_PARTIAL_OUTAGE |
number |
IT_PARTIAL_OUTAGE value |
OUTAGE |
number |
OUTAGE value |
PARTIAL_OUTAGE |
number |
PARTIAL_OUTAGE value |
Source
Source enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_SOURCE |
number |
UNDEFINED_SOURCE value |
GOOGLE |
number |
GOOGLE value |
NSRC_GOOGLE |
number |
NSRC_GOOGLE value |
State
State enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_STATE |
number |
UNDEFINED_STATE value |
ACTIVE |
number |
ACTIVE value |
CANCELLED |
number |
CANCELLED value |
COMPLETED |
number |
COMPLETED value |
NS_ACTIVE |
number |
NS_ACTIVE value |
NS_CANCELED |
number |
NS_CANCELED value |
Methods
toJSON() → {Object.<string, *>}
Converts this InterconnectOutageNotification to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.compute.v1.InterconnectOutageNotification}
Creates a new InterconnectOutageNotification instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IInterconnectOutageNotification |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.InterconnectOutageNotification |
InterconnectOutageNotification instance |
(static) decode(reader, lengthopt) → {google.cloud.compute.v1.InterconnectOutageNotification}
Decodes an InterconnectOutageNotification 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 |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.InterconnectOutageNotification |
InterconnectOutageNotification |
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.compute.v1.InterconnectOutageNotification}
Decodes an InterconnectOutageNotification message from the specified reader or buffer, length delimited.
Parameters:
Name | Type | Description |
---|---|---|
reader |
$protobuf.Reader | Uint8Array |
Reader or buffer to decode from |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.InterconnectOutageNotification |
InterconnectOutageNotification |
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 InterconnectOutageNotification message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IInterconnectOutageNotification |
InterconnectOutageNotification message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}
Encodes the specified InterconnectOutageNotification message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IInterconnectOutageNotification |
InterconnectOutageNotification message or plain object to encode |
|
writer |
$protobuf.Writer |
<optional> |
Writer to encode to |
Returns:
Type | Description |
---|---|
$protobuf.Writer |
Writer |
(static) fromObject(object) → {google.cloud.compute.v1.InterconnectOutageNotification}
Creates an InterconnectOutageNotification message from a plain object. Also converts values to their respective internal types.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object.<string, *> |
Plain object |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.InterconnectOutageNotification |
InterconnectOutageNotification |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for InterconnectOutageNotification
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
typeUrlPrefix |
string |
<optional> |
your custom typeUrlPrefix(default "type.googleapis.com") |
Returns:
Type | Description |
---|---|
string |
The default type url |
(static) toObject(message, optionsopt) → {Object.<string, *>}
Creates a plain object from an InterconnectOutageNotification message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.InterconnectOutageNotification |
InterconnectOutageNotification |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies an InterconnectOutageNotification message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|