Class: Google::Apis::AlertcenterV1beta1::GoogleOperations

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 incident reported by Google Operations for a Google Workspace application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleOperations

Returns a new instance of GoogleOperations.



962
963
964
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 962

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

Instance Attribute Details

#affected_user_emailsArray<String>

The list of emails which correspond to the users directly affected by the incident. Corresponds to the JSON property affectedUserEmails

Returns:

  • (Array<String>)


939
940
941
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 939

def affected_user_emails
  @affected_user_emails
end

#attachment_dataGoogle::Apis::AlertcenterV1beta1::Attachment

Attachment with application-specific information about an alert. Corresponds to the JSON property attachmentData



944
945
946
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 944

def attachment_data
  @attachment_data
end

#descriptionString

A detailed, freeform incident description. Corresponds to the JSON property description

Returns:

  • (String)


949
950
951
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 949

def description
  @description
end

#headerString

A header to display above the incident message. Typically used to attach a localized notice on the timeline for followup comms translations. Corresponds to the JSON property header

Returns:

  • (String)


955
956
957
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 955

def header
  @header
end

#titleString

A one-line incident description. Corresponds to the JSON property title

Returns:

  • (String)


960
961
962
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 960

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



967
968
969
970
971
972
973
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 967

def update!(**args)
  @affected_user_emails = args[:affected_user_emails] if args.key?(:affected_user_emails)
  @attachment_data = args[:attachment_data] if args.key?(:attachment_data)
  @description = args[:description] if args.key?(:description)
  @header = args[:header] if args.key?(:header)
  @title = args[:title] if args.key?(:title)
end