/var/www/flurhymez/vendor/google/apiclient-services/src/ChromePolicy/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/ChromePolicy/Resource/Media.php (1952B)
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $media = $chromepolicyService->media;
*
*/
class Media extends \Google\Service\Resource
{
/**
* Creates an enterprise file from the content provided by user. Returns a
* public download url for end user. (media.upload)
*
* @param string $customer Required. The customer for which the file upload will
* apply.
* @param GoogleChromePolicyV1UploadPolicyFileRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyV1UploadPolicyFileResponse
*/
public function upload($customer, GoogleChromePolicyV1UploadPolicyFileRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('upload', [$params], GoogleChromePolicyV1UploadPolicyFileResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Media::class, 'Google_Service_ChromePolicy_Resource_Media');