class Google::Apis::ComputeV1::InterconnectOutageNotification

Description of a planned outage on this Interconnect.

Attributes

affected_circuits[RW]

If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. Corresponds to the JSON property `affectedCircuits` @return [Array<String>]

description[RW]

A description about the purpose of the outage. Corresponds to the JSON property `description` @return [String]

end_time[RW]

Scheduled end time for the outage (milliseconds since Unix epoch). Corresponds to the JSON property `endTime` @return [Fixnum]

issue_type[RW]

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. Corresponds to the JSON property `issueType` @return [String]

name[RW]

Unique identifier for this outage notification. Corresponds to the JSON property `name` @return [String]

source[RW]

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. Corresponds to the JSON property `source` @return [String]

start_time[RW]

Scheduled start time for the outage (milliseconds since Unix epoch). Corresponds to the JSON property `startTime` @return [Fixnum]

state[RW]

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. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 16658
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 16663
def update!(**args)
  @affected_circuits = args[:affected_circuits] if args.key?(:affected_circuits)
  @description = args[:description] if args.key?(:description)
  @end_time = args[:end_time] if args.key?(:end_time)
  @issue_type = args[:issue_type] if args.key?(:issue_type)
  @name = args[:name] if args.key?(:name)
  @source = args[:source] if args.key?(:source)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end