Class: Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Attachment
- Inherits:
-
Object
- Object
- Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Attachment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/advisorynotifications_v1/classes.rb,
lib/google/apis/advisorynotifications_v1/representations.rb,
lib/google/apis/advisorynotifications_v1/representations.rb
Overview
Attachment with specific information about the issue.
Instance Attribute Summary collapse
-
#csv ⇒ Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Csv
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
-
#display_name ⇒ String
The title of the attachment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAdvisorynotificationsV1Attachment
constructor
A new instance of GoogleCloudAdvisorynotificationsV1Attachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAdvisorynotificationsV1Attachment
Returns a new instance of GoogleCloudAdvisorynotificationsV1Attachment.
40 41 42 |
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 40 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv ⇒ Google::Apis::AdvisorynotificationsV1::GoogleCloudAdvisorynotificationsV1Csv
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
33 34 35 |
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 33 def csv @csv end |
#display_name ⇒ String
The title of the attachment.
Corresponds to the JSON property displayName
38 39 40 |
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 38 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45 46 47 48 |
# File 'lib/google/apis/advisorynotifications_v1/classes.rb', line 45 def update!(**args) @csv = args[:csv] if args.key?(:csv) @display_name = args[:display_name] if args.key?(:display_name) end |