Google Apps Chat V1 Client - Class UploadAttachmentRequest (0.4.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class UploadAttachmentRequest.

Request to upload an attachment.

Generated from protobuf message google.chat.v1.UploadAttachmentRequest

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

↳ filename string

Required. The filename of the attachment, including the file extension.

getParent

Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

Returns
Type Description
string

setParent

Required. Resource name of the Chat space in which the attachment is uploaded. Format "spaces/{space}".

Parameter
Name Description
var string
Returns
Type Description
$this

getFilename

Required. The filename of the attachment, including the file extension.

Returns
Type Description
string

setFilename

Required. The filename of the attachment, including the file extension.

Parameter
Name Description
var string
Returns
Type Description
$this