Google Cloud Advisory Notifications V1 Client - Class Csv (0.3.2)

Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Csv.

A representation of a CSV file attachment, as a list of column headers and a list of data rows.

Generated from protobuf message google.cloud.advisorynotifications.v1.Csv

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ headers
array

The list of headers for data columns in a CSV file.

↳ data_rows
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.

getHeaders

The list of headers for data columns in a CSV file.

Returns
Type
Description

setHeaders

The list of headers for data columns in a CSV file.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getDataRows

The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.

Returns
Type
Description

setDataRows

The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: