/var/www/flurhymez/vendor/google/apiclient-services/src/CloudSupport/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/CloudSupport/Resource/Attachments.php (1786B)
* $cloudsupportService = new Google\Service\CloudSupport(...);
* $attachments = $cloudsupportService->attachments;
*
*/
class Attachments extends \Google\Service\Resource
{
/**
* Create a file attachment on a case or Cloud resource. (attachments.create)
*
* @param string $parent Required. The resource name of the case to which
* attachment should be attached.
* @param CreateAttachmentRequest $postBody
* @param array $optParams Optional parameters.
* @return Attachment
*/
public function create($parent, CreateAttachmentRequest $postBody, $optParams = [])
{
$params = ['parent' => $parent, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Attachment::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Attachments::class, 'Google_Service_CloudSupport_Resource_Attachments');