Compute V1 Client - Class InterconnectOutageNotification (1.18.1)

Reference documentation and code samples for the Compute V1 Client class InterconnectOutageNotification.

Description of a planned outage on this Interconnect.

Generated from protobuf message google.cloud.compute.v1.InterconnectOutageNotification

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ affected_circuitsarray

If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.

↳ descriptionstring

A description about the purpose of the outage.

↳ end_timeint|string

Scheduled end time for the outage (milliseconds since Unix epoch).

↳ issue_typestring

Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. Check the IssueType enum for the list of possible values.

↳ namestring

Unique identifier for this outage notification.

↳ sourcestring

The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. Check the Source enum for the list of possible values.

↳ start_timeint|string

Scheduled start time for the outage (milliseconds since Unix epoch).

↳ statestring

State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. Check the State enum for the list of possible values.

getAffectedCircuits

If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAffectedCircuits

If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.

Parameter
NameDescription
varstring[]
Returns
TypeDescription
$this

getDescription

A description about the purpose of the outage.

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

A description about the purpose of the outage.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getEndTime

Scheduled end time for the outage (milliseconds since Unix epoch).

Returns
TypeDescription
int|string

hasEndTime

clearEndTime

setEndTime

Scheduled end time for the outage (milliseconds since Unix epoch).

Parameter
NameDescription
varint|string
Returns
TypeDescription
$this

getIssueType

Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values.

Check the IssueType enum for the list of possible values.

Returns
TypeDescription
string

hasIssueType

clearIssueType

setIssueType

Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values.

Check the IssueType enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getName

Unique identifier for this outage notification.

Returns
TypeDescription
string

hasName

clearName

setName

Unique identifier for this outage notification.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getSource

The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.

Check the Source enum for the list of possible values.

Returns
TypeDescription
string

hasSource

clearSource

setSource

The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.

Check the Source enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getStartTime

Scheduled start time for the outage (milliseconds since Unix epoch).

Returns
TypeDescription
int|string

hasStartTime

clearStartTime

setStartTime

Scheduled start time for the outage (milliseconds since Unix epoch).

Parameter
NameDescription
varint|string
Returns
TypeDescription
$this

getState

State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values.

Check the State enum for the list of possible values.

Returns
TypeDescription
string

hasState

clearState

setState

State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values.

Check the State enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this