Class: Google::Apis::AlertcenterV1beta1::Attachment
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::Attachment
- 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
Attachment with application-specific information about an alert.
Instance Attribute Summary collapse
-
#csv ⇒ Google::Apis::AlertcenterV1beta1::Csv
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attachment
constructor
A new instance of Attachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Attachment
Returns a new instance of Attachment.
681 682 683 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv ⇒ Google::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
679 680 681 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 679 def csv @csv end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
686 687 688 |
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 686 def update!(**args) @csv = args[:csv] if args.key?(:csv) end |