Class: Google::Apis::AlertcenterV1beta1::GoogleOperations
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::GoogleOperations
- 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
-
#affected_user_emails ⇒ Array<String>
The list of emails which correspond to the users directly affected by the incident.
-
#attachment_data ⇒ Google::Apis::AlertcenterV1beta1::Attachment
Attachment with application-specific information about an alert.
-
#description ⇒ String
A detailed, freeform incident description.
-
#header ⇒ String
A header to display above the incident message.
-
#title ⇒ String
A one-line incident description.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleOperations
constructor
A new instance of GoogleOperations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleOperations
Returns a new instance of GoogleOperations.
1033 1034 1035 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_user_emails ⇒ Array<String>
The list of emails which correspond to the users directly affected by the
incident.
Corresponds to the JSON property affectedUserEmails
1010 1011 1012 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1010 def affected_user_emails @affected_user_emails end |
#attachment_data ⇒ Google::Apis::AlertcenterV1beta1::Attachment
Attachment with application-specific information about an alert.
Corresponds to the JSON property attachmentData
1015 1016 1017 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1015 def @attachment_data end |
#description ⇒ String
A detailed, freeform incident description.
Corresponds to the JSON property description
1020 1021 1022 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1020 def description @description end |
#header ⇒ String
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
1026 1027 1028 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1026 def header @header end |
#title ⇒ String
A one-line incident description.
Corresponds to the JSON property title
1031 1032 1033 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1031 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1038 1039 1040 1041 1042 1043 1044 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1038 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 |