Class: Google::Apis::AlertcenterV1beta1::AppsOutage

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

An outage incident reported for a Google Workspace service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsOutage

Returns a new instance of AppsOutage.



516
517
518
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 516

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dashboard_uriString

Link to the outage event in Google Workspace Status Dashboard Corresponds to the JSON property dashboardUri

Returns:

  • (String)


493
494
495
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 493

def dashboard_uri
  @dashboard_uri
end

#next_update_timeString

Timestamp by which the next update is expected to arrive. Corresponds to the JSON property nextUpdateTime

Returns:

  • (String)


498
499
500
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 498

def next_update_time
  @next_update_time
end

#productsArray<String>

List of products impacted by the outage. Corresponds to the JSON property products

Returns:

  • (Array<String>)


503
504
505
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 503

def products
  @products
end

#resolution_timeString

Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known. Corresponds to the JSON property resolutionTime

Returns:

  • (String)


509
510
511
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 509

def resolution_time
  @resolution_time
end

#statusString

Current outage status. Corresponds to the JSON property status

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 514

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



521
522
523
524
525
526
527
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 521

def update!(**args)
  @dashboard_uri = args[:dashboard_uri] if args.key?(:dashboard_uri)
  @next_update_time = args[:next_update_time] if args.key?(:next_update_time)
  @products = args[:products] if args.key?(:products)
  @resolution_time = args[:resolution_time] if args.key?(:resolution_time)
  @status = args[:status] if args.key?(:status)
end