/var/www/flurhymez/vendor/google/apiclient-services/src/DisplayVideo/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/DisplayVideo/Resource/Sdfdownloadtasks.php (2204B)
* $displayvideoService = new Google\Service\DisplayVideo(...);
* $sdfdownloadtasks = $displayvideoService->sdfdownloadtasks;
*
*/
class Sdfdownloadtasks extends \Google\Service\Resource
{
/**
* Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
* long-running, asynchronous operation. The metadata type of this operation is
* SdfDownloadTaskMetadata. If the request is successful, the response type of
* the operation is SdfDownloadTask. The response will not include the download
* files, which must be retrieved with media.download. The state of operation
* can be retrieved with sdfdownloadtask.operations.get. Any errors can be found
* in the error.message. Note that error.details is expected to be empty.
* (sdfdownloadtasks.create)
*
* @param CreateSdfDownloadTaskRequest $postBody
* @param array $optParams Optional parameters.
* @return Operation
*/
public function create(CreateSdfDownloadTaskRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], Operation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Sdfdownloadtasks::class, 'Google_Service_DisplayVideo_Resource_Sdfdownloadtasks');