Class: Google::Apis::AlertcenterV1beta1::Attachment

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

Attachment with application-specific information about an alert.

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

Returns a new instance of Attachment



298
299
300
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 298

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

Instance Attribute Details

#csvGoogle::Apis::AlertcenterV1beta1::Csv

A representation of a CSV file attachment, as a list of column headers and a list of data rows. Corresponds to the JSON property csv



296
297
298
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 296

def csv
  @csv
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



303
304
305
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 303

def update!(**args)
  @csv = args[:csv] if args.key?(:csv)
end