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

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

Overview

An incident reported by Google Operations for a G Suite application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleOperations

Returns a new instance of GoogleOperations.



954
955
956
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 954

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>)


937
938
939
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 937

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



942
943
944
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 942

def attachment_data
  @attachment_data
end

#descriptionString

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

Returns:

  • (String)


947
948
949
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 947

def description
  @description
end

#titleString

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

Returns:

  • (String)


952
953
954
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 952

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



959
960
961
962
963
964
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 959

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)
  @title = args[:title] if args.key?(:title)
end