Google Cloud Advisory Notifications V1 Client - Class Attachment (0.8.3)

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

Attachment with specific information about the issue.

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

Namespace

Google \ Cloud \ AdvisoryNotifications \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ csv Google\Cloud\AdvisoryNotifications\V1\Csv

A CSV file attachment. Max size is 10 MB.

↳ display_name string

The title of the attachment.

getCsv

A CSV file attachment. Max size is 10 MB.

Returns
Type Description
Google\Cloud\AdvisoryNotifications\V1\Csv|null

hasCsv

setCsv

A CSV file attachment. Max size is 10 MB.

Parameter
Name Description
var Google\Cloud\AdvisoryNotifications\V1\Csv
Returns
Type Description
$this

getDisplayName

The title of the attachment.

Returns
Type Description
string

setDisplayName

The title of the attachment.

Parameter
Name Description
var string
Returns
Type Description
$this

getData

Returns
Type Description
string