class Attachments extends Resource (View source)

The "attachments" collection of methods.

Typical usage is:

 $cloudsupportService = new Google\Service\CloudSupport(...);
 $attachments = $cloudsupportService->attachments;

Methods

create(string $parent, CreateAttachmentRequest $postBody, array $optParams = [])

Create a file attachment on a case or Cloud resource. The attachment object must have the following fields set: filename. (attachments.create)

Details

Attachment create(string $parent, CreateAttachmentRequest $postBody, array $optParams = [])

Create a file attachment on a case or Cloud resource. The attachment object must have the following fields set: filename. (attachments.create)

Parameters

string $parent

Required. The resource name of the case (or case parent) to which the attachment should be attached.

CreateAttachmentRequest $postBody
array $optParams

Optional parameters.

Return Value

Attachment