Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::Csv.
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data_rows
def data_rows() -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Csv::CsvRow>
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Csv::CsvRow>) — The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
#data_rows=
def data_rows=(value) -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Csv::CsvRow>
Parameter
- value (::Array<::Google::Cloud::AdvisoryNotifications::V1::Csv::CsvRow>) — The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Csv::CsvRow>) — The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
#headers
def headers() -> ::Array<::String>
Returns
- (::Array<::String>) — The list of headers for data columns in a CSV file.
#headers=
def headers=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The list of headers for data columns in a CSV file.
Returns
- (::Array<::String>) — The list of headers for data columns in a CSV file.