/var/www/flurhymez/vendor/google/apiclient-services/src/CloudVideoIntelligence/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/CloudVideoIntelligence/Resource/Videos.php (2029B)
* $videointelligenceService = new Google\Service\CloudVideoIntelligence(...);
* $videos = $videointelligenceService->videos;
*
*/
class Videos extends \Google\Service\Resource
{
/**
* Performs asynchronous video annotation. Progress and results can be retrieved
* through the `google.longrunning.Operations` interface. `Operation.metadata`
* contains `AnnotateVideoProgress` (progress). `Operation.response` contains
* `AnnotateVideoResponse` (results). (videos.annotate)
*
* @param GoogleCloudVideointelligenceV1AnnotateVideoRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleLongrunningOperation
*/
public function annotate(GoogleCloudVideointelligenceV1AnnotateVideoRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('annotate', [$params], GoogleLongrunningOperation::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Videos::class, 'Google_Service_CloudVideoIntelligence_Resource_Videos');