Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1AnnotateVideoProgress extends \Google\Collection
{
protected $collection_key = 'annotationProgress';
protected $annotationProgressType = GoogleCloudVideointelligenceV1VideoAnnotationProgress::class;
protected $annotationProgressDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1VideoAnnotationProgress[]
*/
public function setAnnotationProgress($annotationProgress)
{
$this->annotationProgress = $annotationProgress;
}
/**
* @return GoogleCloudVideointelligenceV1VideoAnnotationProgress[]
*/
public function getAnnotationProgress()
{
return $this->annotationProgress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1AnnotateVideoProgress::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1AnnotateVideoProgress');

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1AnnotateVideoRequest extends \Google\Collection
{
protected $collection_key = 'features';
/**
* @var string[]
*/
public $features;
/**
* @var string
*/
public $inputContent;
/**
* @var string
*/
public $inputUri;
/**
* @var string
*/
public $locationId;
/**
* @var string
*/
public $outputUri;
protected $videoContextType = GoogleCloudVideointelligenceV1VideoContext::class;
protected $videoContextDataType = '';
/**
* @param string[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return string[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param string
*/
public function setInputContent($inputContent)
{
$this->inputContent = $inputContent;
}
/**
* @return string
*/
public function getInputContent()
{
return $this->inputContent;
}
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param string
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
/**
* @param string
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
/**
* @param GoogleCloudVideointelligenceV1VideoContext
*/
public function setVideoContext(GoogleCloudVideointelligenceV1VideoContext $videoContext)
{
$this->videoContext = $videoContext;
}
/**
* @return GoogleCloudVideointelligenceV1VideoContext
*/
public function getVideoContext()
{
return $this->videoContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1AnnotateVideoRequest::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1AnnotateVideoRequest');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1AnnotateVideoResponse extends \Google\Collection
{
protected $collection_key = 'annotationResults';
protected $annotationResultsType = GoogleCloudVideointelligenceV1VideoAnnotationResults::class;
protected $annotationResultsDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1VideoAnnotationResults[]
*/
public function setAnnotationResults($annotationResults)
{
$this->annotationResults = $annotationResults;
}
/**
* @return GoogleCloudVideointelligenceV1VideoAnnotationResults[]
*/
public function getAnnotationResults()
{
return $this->annotationResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1AnnotateVideoResponse::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1AnnotateVideoResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1DetectedAttribute extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1DetectedAttribute::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1DetectedAttribute');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1DetectedLandmark extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
protected $pointType = GoogleCloudVideointelligenceV1NormalizedVertex::class;
protected $pointDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudVideointelligenceV1NormalizedVertex
*/
public function setPoint(GoogleCloudVideointelligenceV1NormalizedVertex $point)
{
$this->point = $point;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedVertex
*/
public function getPoint()
{
return $this->point;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1DetectedLandmark::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1DetectedLandmark');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1Entity extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $entityId;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1Entity::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1Entity');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ExplicitContentAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
protected $framesType = GoogleCloudVideointelligenceV1ExplicitContentFrame::class;
protected $framesDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1ExplicitContentFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1ExplicitContentFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ExplicitContentAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentAnnotation');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig extends \Google\Model
{
/**
* @var string
*/
public $model;
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ExplicitContentFrame extends \Google\Model
{
/**
* @var string
*/
public $pornographyLikelihood;
/**
* @var string
*/
public $timeOffset;
/**
* @param string
*/
public function setPornographyLikelihood($pornographyLikelihood)
{
$this->pornographyLikelihood = $pornographyLikelihood;
}
/**
* @return string
*/
public function getPornographyLikelihood()
{
return $this->pornographyLikelihood;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ExplicitContentFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ExplicitContentFrame');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $framesType = GoogleCloudVideointelligenceV1FaceFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1FaceSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $thumbnail;
/**
* @param GoogleCloudVideointelligenceV1FaceFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1FaceFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1FaceSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1FaceSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1FaceAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
/**
* @var string
*/
public $thumbnail;
protected $tracksType = GoogleCloudVideointelligenceV1Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
/**
* @param GoogleCloudVideointelligenceV1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1FaceDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceDetectionAnnotation');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1FaceDetectionConfig extends \Google\Model
{
/**
* @var bool
*/
public $includeAttributes;
/**
* @var bool
*/
public $includeBoundingBoxes;
/**
* @var string
*/
public $model;
/**
* @param bool
*/
public function setIncludeAttributes($includeAttributes)
{
$this->includeAttributes = $includeAttributes;
}
/**
* @return bool
*/
public function getIncludeAttributes()
{
return $this->includeAttributes;
}
/**
* @param bool
*/
public function setIncludeBoundingBoxes($includeBoundingBoxes)
{
$this->includeBoundingBoxes = $includeBoundingBoxes;
}
/**
* @return bool
*/
public function getIncludeBoundingBoxes()
{
return $this->includeBoundingBoxes;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1FaceDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceDetectionConfig');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1FaceFrame extends \Google\Collection
{
protected $collection_key = 'normalizedBoundingBoxes';
protected $normalizedBoundingBoxesType = GoogleCloudVideointelligenceV1NormalizedBoundingBox::class;
protected $normalizedBoundingBoxesDataType = 'array';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1NormalizedBoundingBox[]
*/
public function setNormalizedBoundingBoxes($normalizedBoundingBoxes)
{
$this->normalizedBoundingBoxes = $normalizedBoundingBoxes;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedBoundingBox[]
*/
public function getNormalizedBoundingBoxes()
{
return $this->normalizedBoundingBoxes;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1FaceFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceFrame');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1FaceSegment extends \Google\Model
{
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1FaceSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1FaceSegment');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1LabelAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $categoryEntitiesType = GoogleCloudVideointelligenceV1Entity::class;
protected $categoryEntitiesDataType = 'array';
protected $entityType = GoogleCloudVideointelligenceV1Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1LabelFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1LabelSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1Entity[]
*/
public function setCategoryEntities($categoryEntities)
{
$this->categoryEntities = $categoryEntities;
}
/**
* @return GoogleCloudVideointelligenceV1Entity[]
*/
public function getCategoryEntities()
{
return $this->categoryEntities;
}
/**
* @param GoogleCloudVideointelligenceV1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1LabelFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1LabelFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1LabelSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1LabelSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1LabelAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelAnnotation');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1LabelDetectionConfig extends \Google\Model
{
/**
* @var float
*/
public $frameConfidenceThreshold;
/**
* @var string
*/
public $labelDetectionMode;
/**
* @var string
*/
public $model;
/**
* @var bool
*/
public $stationaryCamera;
/**
* @var float
*/
public $videoConfidenceThreshold;
/**
* @param float
*/
public function setFrameConfidenceThreshold($frameConfidenceThreshold)
{
$this->frameConfidenceThreshold = $frameConfidenceThreshold;
}
/**
* @return float
*/
public function getFrameConfidenceThreshold()
{
return $this->frameConfidenceThreshold;
}
/**
* @param string
*/
public function setLabelDetectionMode($labelDetectionMode)
{
$this->labelDetectionMode = $labelDetectionMode;
}
/**
* @return string
*/
public function getLabelDetectionMode()
{
return $this->labelDetectionMode;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param bool
*/
public function setStationaryCamera($stationaryCamera)
{
$this->stationaryCamera = $stationaryCamera;
}
/**
* @return bool
*/
public function getStationaryCamera()
{
return $this->stationaryCamera;
}
/**
* @param float
*/
public function setVideoConfidenceThreshold($videoConfidenceThreshold)
{
$this->videoConfidenceThreshold = $videoConfidenceThreshold;
}
/**
* @return float
*/
public function getVideoConfidenceThreshold()
{
return $this->videoConfidenceThreshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1LabelDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelDetectionConfig');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1LabelFrame extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $timeOffset;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1LabelFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelFrame');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1LabelSegment extends \Google\Model
{
/**
* @var float
*/
public $confidence;
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1LabelSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1LabelSegment');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1LogoRecognitionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $entityType = GoogleCloudVideointelligenceV1Entity::class;
protected $entityDataType = '';
protected $segmentsType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentsDataType = 'array';
protected $tracksType = GoogleCloudVideointelligenceV1Track::class;
protected $tracksDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param GoogleCloudVideointelligenceV1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1LogoRecognitionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1LogoRecognitionAnnotation');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1NormalizedBoundingBox extends \Google\Model
{
/**
* @var float
*/
public $bottom;
/**
* @var float
*/
public $left;
/**
* @var float
*/
public $right;
/**
* @var float
*/
public $top;
/**
* @param float
*/
public function setBottom($bottom)
{
$this->bottom = $bottom;
}
/**
* @return float
*/
public function getBottom()
{
return $this->bottom;
}
/**
* @param float
*/
public function setLeft($left)
{
$this->left = $left;
}
/**
* @return float
*/
public function getLeft()
{
return $this->left;
}
/**
* @param float
*/
public function setRight($right)
{
$this->right = $right;
}
/**
* @return float
*/
public function getRight()
{
return $this->right;
}
/**
* @param float
*/
public function setTop($top)
{
$this->top = $top;
}
/**
* @return float
*/
public function getTop()
{
return $this->top;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1NormalizedBoundingBox::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1NormalizedBoundingBox');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1NormalizedBoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $verticesType = GoogleCloudVideointelligenceV1NormalizedVertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1NormalizedVertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedVertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1NormalizedBoundingPoly::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1NormalizedBoundingPoly');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1NormalizedVertex extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1NormalizedVertex::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1NormalizedVertex');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ObjectTrackingAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
/**
* @var float
*/
public $confidence;
protected $entityType = GoogleCloudVideointelligenceV1Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1ObjectTrackingFrame::class;
protected $framesDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
/**
* @var string
*/
public $trackId;
/**
* @var string
*/
public $version;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1ObjectTrackingFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1ObjectTrackingFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param string
*/
public function setTrackId($trackId)
{
$this->trackId = $trackId;
}
/**
* @return string
*/
public function getTrackId()
{
return $this->trackId;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ObjectTrackingAnnotation');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ObjectTrackingConfig extends \Google\Model
{
/**
* @var string
*/
public $model;
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ObjectTrackingConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ObjectTrackingConfig');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ObjectTrackingFrame extends \Google\Model
{
protected $normalizedBoundingBoxType = GoogleCloudVideointelligenceV1NormalizedBoundingBox::class;
protected $normalizedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1NormalizedBoundingBox
*/
public function setNormalizedBoundingBox(GoogleCloudVideointelligenceV1NormalizedBoundingBox $normalizedBoundingBox)
{
$this->normalizedBoundingBox = $normalizedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedBoundingBox
*/
public function getNormalizedBoundingBox()
{
return $this->normalizedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ObjectTrackingFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ObjectTrackingFrame');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1PersonDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $tracksType = GoogleCloudVideointelligenceV1Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1PersonDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1PersonDetectionAnnotation');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1PersonDetectionConfig extends \Google\Model
{
/**
* @var bool
*/
public $includeAttributes;
/**
* @var bool
*/
public $includeBoundingBoxes;
/**
* @var bool
*/
public $includePoseLandmarks;
/**
* @param bool
*/
public function setIncludeAttributes($includeAttributes)
{
$this->includeAttributes = $includeAttributes;
}
/**
* @return bool
*/
public function getIncludeAttributes()
{
return $this->includeAttributes;
}
/**
* @param bool
*/
public function setIncludeBoundingBoxes($includeBoundingBoxes)
{
$this->includeBoundingBoxes = $includeBoundingBoxes;
}
/**
* @return bool
*/
public function getIncludeBoundingBoxes()
{
return $this->includeBoundingBoxes;
}
/**
* @param bool
*/
public function setIncludePoseLandmarks($includePoseLandmarks)
{
$this->includePoseLandmarks = $includePoseLandmarks;
}
/**
* @return bool
*/
public function getIncludePoseLandmarks()
{
return $this->includePoseLandmarks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1PersonDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1PersonDetectionConfig');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig extends \Google\Model
{
/**
* @var string
*/
public $model;
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1ShotChangeDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1ShotChangeDetectionConfig');

View File

@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1SpeechContext extends \Google\Collection
{
protected $collection_key = 'phrases';
/**
* @var string[]
*/
public $phrases;
/**
* @param string[]
*/
public function setPhrases($phrases)
{
$this->phrases = $phrases;
}
/**
* @return string[]
*/
public function getPhrases()
{
return $this->phrases;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1SpeechContext::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1SpeechContext');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative extends \Google\Collection
{
protected $collection_key = 'words';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $transcript;
protected $wordsType = GoogleCloudVideointelligenceV1WordInfo::class;
protected $wordsDataType = 'array';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTranscript($transcript)
{
$this->transcript = $transcript;
}
/**
* @return string
*/
public function getTranscript()
{
return $this->transcript;
}
/**
* @param GoogleCloudVideointelligenceV1WordInfo[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return GoogleCloudVideointelligenceV1WordInfo[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1SpeechRecognitionAlternative::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1SpeechRecognitionAlternative');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1SpeechTranscription extends \Google\Collection
{
protected $collection_key = 'alternatives';
protected $alternativesType = GoogleCloudVideointelligenceV1SpeechRecognitionAlternative::class;
protected $alternativesDataType = 'array';
/**
* @var string
*/
public $languageCode;
/**
* @param GoogleCloudVideointelligenceV1SpeechRecognitionAlternative[]
*/
public function setAlternatives($alternatives)
{
$this->alternatives = $alternatives;
}
/**
* @return GoogleCloudVideointelligenceV1SpeechRecognitionAlternative[]
*/
public function getAlternatives()
{
return $this->alternatives;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1SpeechTranscription::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1SpeechTranscription');

View File

@@ -0,0 +1,187 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1SpeechTranscriptionConfig extends \Google\Collection
{
protected $collection_key = 'speechContexts';
/**
* @var int[]
*/
public $audioTracks;
/**
* @var int
*/
public $diarizationSpeakerCount;
/**
* @var bool
*/
public $enableAutomaticPunctuation;
/**
* @var bool
*/
public $enableSpeakerDiarization;
/**
* @var bool
*/
public $enableWordConfidence;
/**
* @var bool
*/
public $filterProfanity;
/**
* @var string
*/
public $languageCode;
/**
* @var int
*/
public $maxAlternatives;
protected $speechContextsType = GoogleCloudVideointelligenceV1SpeechContext::class;
protected $speechContextsDataType = 'array';
/**
* @param int[]
*/
public function setAudioTracks($audioTracks)
{
$this->audioTracks = $audioTracks;
}
/**
* @return int[]
*/
public function getAudioTracks()
{
return $this->audioTracks;
}
/**
* @param int
*/
public function setDiarizationSpeakerCount($diarizationSpeakerCount)
{
$this->diarizationSpeakerCount = $diarizationSpeakerCount;
}
/**
* @return int
*/
public function getDiarizationSpeakerCount()
{
return $this->diarizationSpeakerCount;
}
/**
* @param bool
*/
public function setEnableAutomaticPunctuation($enableAutomaticPunctuation)
{
$this->enableAutomaticPunctuation = $enableAutomaticPunctuation;
}
/**
* @return bool
*/
public function getEnableAutomaticPunctuation()
{
return $this->enableAutomaticPunctuation;
}
/**
* @param bool
*/
public function setEnableSpeakerDiarization($enableSpeakerDiarization)
{
$this->enableSpeakerDiarization = $enableSpeakerDiarization;
}
/**
* @return bool
*/
public function getEnableSpeakerDiarization()
{
return $this->enableSpeakerDiarization;
}
/**
* @param bool
*/
public function setEnableWordConfidence($enableWordConfidence)
{
$this->enableWordConfidence = $enableWordConfidence;
}
/**
* @return bool
*/
public function getEnableWordConfidence()
{
return $this->enableWordConfidence;
}
/**
* @param bool
*/
public function setFilterProfanity($filterProfanity)
{
$this->filterProfanity = $filterProfanity;
}
/**
* @return bool
*/
public function getFilterProfanity()
{
return $this->filterProfanity;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param int
*/
public function setMaxAlternatives($maxAlternatives)
{
$this->maxAlternatives = $maxAlternatives;
}
/**
* @return int
*/
public function getMaxAlternatives()
{
return $this->maxAlternatives;
}
/**
* @param GoogleCloudVideointelligenceV1SpeechContext[]
*/
public function setSpeechContexts($speechContexts)
{
$this->speechContexts = $speechContexts;
}
/**
* @return GoogleCloudVideointelligenceV1SpeechContext[]
*/
public function getSpeechContexts()
{
return $this->speechContexts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1SpeechTranscriptionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1SpeechTranscriptionConfig');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1TextAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $segmentsType = GoogleCloudVideointelligenceV1TextSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1TextSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1TextSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1TextAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TextAnnotation');

View File

@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1TextDetectionConfig extends \Google\Collection
{
protected $collection_key = 'languageHints';
/**
* @var string[]
*/
public $languageHints;
/**
* @var string
*/
public $model;
/**
* @param string[]
*/
public function setLanguageHints($languageHints)
{
$this->languageHints = $languageHints;
}
/**
* @return string[]
*/
public function getLanguageHints()
{
return $this->languageHints;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1TextDetectionConfig::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TextDetectionConfig');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1TextFrame extends \Google\Model
{
protected $rotatedBoundingBoxType = GoogleCloudVideointelligenceV1NormalizedBoundingPoly::class;
protected $rotatedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1NormalizedBoundingPoly
*/
public function setRotatedBoundingBox(GoogleCloudVideointelligenceV1NormalizedBoundingPoly $rotatedBoundingBox)
{
$this->rotatedBoundingBox = $rotatedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedBoundingPoly
*/
public function getRotatedBoundingBox()
{
return $this->rotatedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1TextFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TextFrame');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1TextSegment extends \Google\Collection
{
protected $collection_key = 'frames';
/**
* @var float
*/
public $confidence;
protected $framesType = GoogleCloudVideointelligenceV1TextFrame::class;
protected $framesDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1TextFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1TextFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1TextSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TextSegment');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1TimestampedObject extends \Google\Collection
{
protected $collection_key = 'landmarks';
protected $attributesType = GoogleCloudVideointelligenceV1DetectedAttribute::class;
protected $attributesDataType = 'array';
protected $landmarksType = GoogleCloudVideointelligenceV1DetectedLandmark::class;
protected $landmarksDataType = 'array';
protected $normalizedBoundingBoxType = GoogleCloudVideointelligenceV1NormalizedBoundingBox::class;
protected $normalizedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1DetectedAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudVideointelligenceV1DetectedAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param GoogleCloudVideointelligenceV1DetectedLandmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return GoogleCloudVideointelligenceV1DetectedLandmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
/**
* @param GoogleCloudVideointelligenceV1NormalizedBoundingBox
*/
public function setNormalizedBoundingBox(GoogleCloudVideointelligenceV1NormalizedBoundingBox $normalizedBoundingBox)
{
$this->normalizedBoundingBox = $normalizedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1NormalizedBoundingBox
*/
public function getNormalizedBoundingBox()
{
return $this->normalizedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1TimestampedObject::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1TimestampedObject');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1Track extends \Google\Collection
{
protected $collection_key = 'timestampedObjects';
protected $attributesType = GoogleCloudVideointelligenceV1DetectedAttribute::class;
protected $attributesDataType = 'array';
/**
* @var float
*/
public $confidence;
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
protected $timestampedObjectsType = GoogleCloudVideointelligenceV1TimestampedObject::class;
protected $timestampedObjectsDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1DetectedAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudVideointelligenceV1DetectedAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param GoogleCloudVideointelligenceV1TimestampedObject[]
*/
public function setTimestampedObjects($timestampedObjects)
{
$this->timestampedObjects = $timestampedObjects;
}
/**
* @return GoogleCloudVideointelligenceV1TimestampedObject[]
*/
public function getTimestampedObjects()
{
return $this->timestampedObjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1Track::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1Track');

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1VideoAnnotationProgress extends \Google\Model
{
/**
* @var string
*/
public $feature;
/**
* @var string
*/
public $inputUri;
/**
* @var int
*/
public $progressPercent;
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1VideoAnnotationProgress::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoAnnotationProgress');

View File

@@ -0,0 +1,301 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1VideoAnnotationResults extends \Google\Collection
{
protected $collection_key = 'textAnnotations';
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
protected $explicitAnnotationType = GoogleCloudVideointelligenceV1ExplicitContentAnnotation::class;
protected $explicitAnnotationDataType = '';
protected $faceAnnotationsType = GoogleCloudVideointelligenceV1FaceAnnotation::class;
protected $faceAnnotationsDataType = 'array';
protected $faceDetectionAnnotationsType = GoogleCloudVideointelligenceV1FaceDetectionAnnotation::class;
protected $faceDetectionAnnotationsDataType = 'array';
protected $frameLabelAnnotationsType = GoogleCloudVideointelligenceV1LabelAnnotation::class;
protected $frameLabelAnnotationsDataType = 'array';
/**
* @var string
*/
public $inputUri;
protected $logoRecognitionAnnotationsType = GoogleCloudVideointelligenceV1LogoRecognitionAnnotation::class;
protected $logoRecognitionAnnotationsDataType = 'array';
protected $objectAnnotationsType = GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::class;
protected $objectAnnotationsDataType = 'array';
protected $personDetectionAnnotationsType = GoogleCloudVideointelligenceV1PersonDetectionAnnotation::class;
protected $personDetectionAnnotationsDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentDataType = '';
protected $segmentLabelAnnotationsType = GoogleCloudVideointelligenceV1LabelAnnotation::class;
protected $segmentLabelAnnotationsDataType = 'array';
protected $segmentPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1LabelAnnotation::class;
protected $segmentPresenceLabelAnnotationsDataType = 'array';
protected $shotAnnotationsType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $shotAnnotationsDataType = 'array';
protected $shotLabelAnnotationsType = GoogleCloudVideointelligenceV1LabelAnnotation::class;
protected $shotLabelAnnotationsDataType = 'array';
protected $shotPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1LabelAnnotation::class;
protected $shotPresenceLabelAnnotationsDataType = 'array';
protected $speechTranscriptionsType = GoogleCloudVideointelligenceV1SpeechTranscription::class;
protected $speechTranscriptionsDataType = 'array';
protected $textAnnotationsType = GoogleCloudVideointelligenceV1TextAnnotation::class;
protected $textAnnotationsDataType = 'array';
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVideointelligenceV1ExplicitContentAnnotation
*/
public function setExplicitAnnotation(GoogleCloudVideointelligenceV1ExplicitContentAnnotation $explicitAnnotation)
{
$this->explicitAnnotation = $explicitAnnotation;
}
/**
* @return GoogleCloudVideointelligenceV1ExplicitContentAnnotation
*/
public function getExplicitAnnotation()
{
return $this->explicitAnnotation;
}
/**
* @param GoogleCloudVideointelligenceV1FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1FaceDetectionAnnotation[]
*/
public function setFaceDetectionAnnotations($faceDetectionAnnotations)
{
$this->faceDetectionAnnotations = $faceDetectionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1FaceDetectionAnnotation[]
*/
public function getFaceDetectionAnnotations()
{
return $this->faceDetectionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function setFrameLabelAnnotations($frameLabelAnnotations)
{
$this->frameLabelAnnotations = $frameLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function getFrameLabelAnnotations()
{
return $this->frameLabelAnnotations;
}
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param GoogleCloudVideointelligenceV1LogoRecognitionAnnotation[]
*/
public function setLogoRecognitionAnnotations($logoRecognitionAnnotations)
{
$this->logoRecognitionAnnotations = $logoRecognitionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LogoRecognitionAnnotation[]
*/
public function getLogoRecognitionAnnotations()
{
return $this->logoRecognitionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1ObjectTrackingAnnotation[]
*/
public function setObjectAnnotations($objectAnnotations)
{
$this->objectAnnotations = $objectAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1ObjectTrackingAnnotation[]
*/
public function getObjectAnnotations()
{
return $this->objectAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1PersonDetectionAnnotation[]
*/
public function setPersonDetectionAnnotations($personDetectionAnnotations)
{
$this->personDetectionAnnotations = $personDetectionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1PersonDetectionAnnotation[]
*/
public function getPersonDetectionAnnotations()
{
return $this->personDetectionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function setSegmentLabelAnnotations($segmentLabelAnnotations)
{
$this->segmentLabelAnnotations = $segmentLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function getSegmentLabelAnnotations()
{
return $this->segmentLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function setSegmentPresenceLabelAnnotations($segmentPresenceLabelAnnotations)
{
$this->segmentPresenceLabelAnnotations = $segmentPresenceLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function getSegmentPresenceLabelAnnotations()
{
return $this->segmentPresenceLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function setShotAnnotations($shotAnnotations)
{
$this->shotAnnotations = $shotAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function getShotAnnotations()
{
return $this->shotAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function setShotLabelAnnotations($shotLabelAnnotations)
{
$this->shotLabelAnnotations = $shotLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function getShotLabelAnnotations()
{
return $this->shotLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function setShotPresenceLabelAnnotations($shotPresenceLabelAnnotations)
{
$this->shotPresenceLabelAnnotations = $shotPresenceLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1LabelAnnotation[]
*/
public function getShotPresenceLabelAnnotations()
{
return $this->shotPresenceLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1SpeechTranscription[]
*/
public function setSpeechTranscriptions($speechTranscriptions)
{
$this->speechTranscriptions = $speechTranscriptions;
}
/**
* @return GoogleCloudVideointelligenceV1SpeechTranscription[]
*/
public function getSpeechTranscriptions()
{
return $this->speechTranscriptions;
}
/**
* @param GoogleCloudVideointelligenceV1TextAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1TextAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1VideoAnnotationResults::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoAnnotationResults');

View File

@@ -0,0 +1,171 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1VideoContext extends \Google\Collection
{
protected $collection_key = 'segments';
protected $explicitContentDetectionConfigType = GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig::class;
protected $explicitContentDetectionConfigDataType = '';
protected $faceDetectionConfigType = GoogleCloudVideointelligenceV1FaceDetectionConfig::class;
protected $faceDetectionConfigDataType = '';
protected $labelDetectionConfigType = GoogleCloudVideointelligenceV1LabelDetectionConfig::class;
protected $labelDetectionConfigDataType = '';
protected $objectTrackingConfigType = GoogleCloudVideointelligenceV1ObjectTrackingConfig::class;
protected $objectTrackingConfigDataType = '';
protected $personDetectionConfigType = GoogleCloudVideointelligenceV1PersonDetectionConfig::class;
protected $personDetectionConfigDataType = '';
protected $segmentsType = GoogleCloudVideointelligenceV1VideoSegment::class;
protected $segmentsDataType = 'array';
protected $shotChangeDetectionConfigType = GoogleCloudVideointelligenceV1ShotChangeDetectionConfig::class;
protected $shotChangeDetectionConfigDataType = '';
protected $speechTranscriptionConfigType = GoogleCloudVideointelligenceV1SpeechTranscriptionConfig::class;
protected $speechTranscriptionConfigDataType = '';
protected $textDetectionConfigType = GoogleCloudVideointelligenceV1TextDetectionConfig::class;
protected $textDetectionConfigDataType = '';
/**
* @param GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
*/
public function setExplicitContentDetectionConfig(GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig $explicitContentDetectionConfig)
{
$this->explicitContentDetectionConfig = $explicitContentDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig
*/
public function getExplicitContentDetectionConfig()
{
return $this->explicitContentDetectionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1FaceDetectionConfig
*/
public function setFaceDetectionConfig(GoogleCloudVideointelligenceV1FaceDetectionConfig $faceDetectionConfig)
{
$this->faceDetectionConfig = $faceDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1FaceDetectionConfig
*/
public function getFaceDetectionConfig()
{
return $this->faceDetectionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1LabelDetectionConfig
*/
public function setLabelDetectionConfig(GoogleCloudVideointelligenceV1LabelDetectionConfig $labelDetectionConfig)
{
$this->labelDetectionConfig = $labelDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1LabelDetectionConfig
*/
public function getLabelDetectionConfig()
{
return $this->labelDetectionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1ObjectTrackingConfig
*/
public function setObjectTrackingConfig(GoogleCloudVideointelligenceV1ObjectTrackingConfig $objectTrackingConfig)
{
$this->objectTrackingConfig = $objectTrackingConfig;
}
/**
* @return GoogleCloudVideointelligenceV1ObjectTrackingConfig
*/
public function getObjectTrackingConfig()
{
return $this->objectTrackingConfig;
}
/**
* @param GoogleCloudVideointelligenceV1PersonDetectionConfig
*/
public function setPersonDetectionConfig(GoogleCloudVideointelligenceV1PersonDetectionConfig $personDetectionConfig)
{
$this->personDetectionConfig = $personDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1PersonDetectionConfig
*/
public function getPersonDetectionConfig()
{
return $this->personDetectionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1VideoSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
*/
public function setShotChangeDetectionConfig(GoogleCloudVideointelligenceV1ShotChangeDetectionConfig $shotChangeDetectionConfig)
{
$this->shotChangeDetectionConfig = $shotChangeDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
*/
public function getShotChangeDetectionConfig()
{
return $this->shotChangeDetectionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
*/
public function setSpeechTranscriptionConfig(GoogleCloudVideointelligenceV1SpeechTranscriptionConfig $speechTranscriptionConfig)
{
$this->speechTranscriptionConfig = $speechTranscriptionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1SpeechTranscriptionConfig
*/
public function getSpeechTranscriptionConfig()
{
return $this->speechTranscriptionConfig;
}
/**
* @param GoogleCloudVideointelligenceV1TextDetectionConfig
*/
public function setTextDetectionConfig(GoogleCloudVideointelligenceV1TextDetectionConfig $textDetectionConfig)
{
$this->textDetectionConfig = $textDetectionConfig;
}
/**
* @return GoogleCloudVideointelligenceV1TextDetectionConfig
*/
public function getTextDetectionConfig()
{
return $this->textDetectionConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1VideoContext::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoContext');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1VideoSegment extends \Google\Model
{
/**
* @var string
*/
public $endTimeOffset;
/**
* @var string
*/
public $startTimeOffset;
/**
* @param string
*/
public function setEndTimeOffset($endTimeOffset)
{
$this->endTimeOffset = $endTimeOffset;
}
/**
* @return string
*/
public function getEndTimeOffset()
{
return $this->endTimeOffset;
}
/**
* @param string
*/
public function setStartTimeOffset($startTimeOffset)
{
$this->startTimeOffset = $startTimeOffset;
}
/**
* @return string
*/
public function getStartTimeOffset()
{
return $this->startTimeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1VideoSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1VideoSegment');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1WordInfo extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $endTime;
/**
* @var int
*/
public $speakerTag;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $word;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param int
*/
public function setSpeakerTag($speakerTag)
{
$this->speakerTag = $speakerTag;
}
/**
* @return int
*/
public function getSpeakerTag()
{
return $this->speakerTag;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setWord($word)
{
$this->word = $word;
}
/**
* @return string
*/
public function getWord()
{
return $this->word;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1WordInfo::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1WordInfo');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress extends \Google\Collection
{
protected $collection_key = 'annotationProgress';
protected $annotationProgressType = GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress::class;
protected $annotationProgressDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress[]
*/
public function setAnnotationProgress($annotationProgress)
{
$this->annotationProgress = $annotationProgress;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress[]
*/
public function getAnnotationProgress()
{
return $this->annotationProgress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse extends \Google\Collection
{
protected $collection_key = 'annotationResults';
protected $annotationResultsType = GoogleCloudVideointelligenceV1beta2VideoAnnotationResults::class;
protected $annotationResultsDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1beta2VideoAnnotationResults[]
*/
public function setAnnotationResults($annotationResults)
{
$this->annotationResults = $annotationResults;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoAnnotationResults[]
*/
public function getAnnotationResults()
{
return $this->annotationResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2DetectedAttribute extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2DetectedAttribute::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2DetectedAttribute');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2DetectedLandmark extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
protected $pointType = GoogleCloudVideointelligenceV1beta2NormalizedVertex::class;
protected $pointDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedVertex
*/
public function setPoint(GoogleCloudVideointelligenceV1beta2NormalizedVertex $point)
{
$this->point = $point;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedVertex
*/
public function getPoint()
{
return $this->point;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2DetectedLandmark::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2DetectedLandmark');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2Entity extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $entityId;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2Entity::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2Entity');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
protected $framesType = GoogleCloudVideointelligenceV1beta2ExplicitContentFrame::class;
protected $framesDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1beta2ExplicitContentFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1beta2ExplicitContentFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2ExplicitContentFrame extends \Google\Model
{
/**
* @var string
*/
public $pornographyLikelihood;
/**
* @var string
*/
public $timeOffset;
/**
* @param string
*/
public function setPornographyLikelihood($pornographyLikelihood)
{
$this->pornographyLikelihood = $pornographyLikelihood;
}
/**
* @return string
*/
public function getPornographyLikelihood()
{
return $this->pornographyLikelihood;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2ExplicitContentFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ExplicitContentFrame');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $framesType = GoogleCloudVideointelligenceV1beta2FaceFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1beta2FaceSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $thumbnail;
/**
* @param GoogleCloudVideointelligenceV1beta2FaceFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1beta2FaceFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1beta2FaceSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1beta2FaceSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2FaceAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
/**
* @var string
*/
public $thumbnail;
protected $tracksType = GoogleCloudVideointelligenceV1beta2Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
/**
* @param GoogleCloudVideointelligenceV1beta2Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2FaceFrame extends \Google\Collection
{
protected $collection_key = 'normalizedBoundingBoxes';
protected $normalizedBoundingBoxesType = GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::class;
protected $normalizedBoundingBoxesDataType = 'array';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox[]
*/
public function setNormalizedBoundingBoxes($normalizedBoundingBoxes)
{
$this->normalizedBoundingBoxes = $normalizedBoundingBoxes;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox[]
*/
public function getNormalizedBoundingBoxes()
{
return $this->normalizedBoundingBoxes;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2FaceFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceFrame');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2FaceSegment extends \Google\Model
{
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2FaceSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2FaceSegment');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2LabelAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $categoryEntitiesType = GoogleCloudVideointelligenceV1beta2Entity::class;
protected $categoryEntitiesDataType = 'array';
protected $entityType = GoogleCloudVideointelligenceV1beta2Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1beta2LabelFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1beta2LabelSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1beta2Entity[]
*/
public function setCategoryEntities($categoryEntities)
{
$this->categoryEntities = $categoryEntities;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Entity[]
*/
public function getCategoryEntities()
{
return $this->categoryEntities;
}
/**
* @param GoogleCloudVideointelligenceV1beta2Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1beta2Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2LabelAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelAnnotation');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2LabelFrame extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $timeOffset;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2LabelFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelFrame');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2LabelSegment extends \Google\Model
{
/**
* @var float
*/
public $confidence;
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2LabelSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LabelSegment');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $entityType = GoogleCloudVideointelligenceV1beta2Entity::class;
protected $entityDataType = '';
protected $segmentsType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentsDataType = 'array';
protected $tracksType = GoogleCloudVideointelligenceV1beta2Track::class;
protected $tracksDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1beta2Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1beta2Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param GoogleCloudVideointelligenceV1beta2Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Track[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox extends \Google\Model
{
/**
* @var float
*/
public $bottom;
/**
* @var float
*/
public $left;
/**
* @var float
*/
public $right;
/**
* @var float
*/
public $top;
/**
* @param float
*/
public function setBottom($bottom)
{
$this->bottom = $bottom;
}
/**
* @return float
*/
public function getBottom()
{
return $this->bottom;
}
/**
* @param float
*/
public function setLeft($left)
{
$this->left = $left;
}
/**
* @return float
*/
public function getLeft()
{
return $this->left;
}
/**
* @param float
*/
public function setRight($right)
{
$this->right = $right;
}
/**
* @return float
*/
public function getRight()
{
return $this->right;
}
/**
* @param float
*/
public function setTop($top)
{
$this->top = $top;
}
/**
* @return float
*/
public function getTop()
{
return $this->top;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $verticesType = GoogleCloudVideointelligenceV1beta2NormalizedVertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedVertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedVertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2NormalizedVertex extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2NormalizedVertex::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2NormalizedVertex');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
/**
* @var float
*/
public $confidence;
protected $entityType = GoogleCloudVideointelligenceV1beta2Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame::class;
protected $framesDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
/**
* @var string
*/
public $trackId;
/**
* @var string
*/
public $version;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1beta2Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1beta2Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param string
*/
public function setTrackId($trackId)
{
$this->trackId = $trackId;
}
/**
* @return string
*/
public function getTrackId()
{
return $this->trackId;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame extends \Google\Model
{
protected $normalizedBoundingBoxType = GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::class;
protected $normalizedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
*/
public function setNormalizedBoundingBox(GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox $normalizedBoundingBox)
{
$this->normalizedBoundingBox = $normalizedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
*/
public function getNormalizedBoundingBox()
{
return $this->normalizedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $tracksType = GoogleCloudVideointelligenceV1beta2Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1beta2Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1beta2Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative extends \Google\Collection
{
protected $collection_key = 'words';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $transcript;
protected $wordsType = GoogleCloudVideointelligenceV1beta2WordInfo::class;
protected $wordsDataType = 'array';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTranscript($transcript)
{
$this->transcript = $transcript;
}
/**
* @return string
*/
public function getTranscript()
{
return $this->transcript;
}
/**
* @param GoogleCloudVideointelligenceV1beta2WordInfo[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return GoogleCloudVideointelligenceV1beta2WordInfo[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2SpeechTranscription extends \Google\Collection
{
protected $collection_key = 'alternatives';
protected $alternativesType = GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative::class;
protected $alternativesDataType = 'array';
/**
* @var string
*/
public $languageCode;
/**
* @param GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative[]
*/
public function setAlternatives($alternatives)
{
$this->alternatives = $alternatives;
}
/**
* @return GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative[]
*/
public function getAlternatives()
{
return $this->alternatives;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2SpeechTranscription::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2SpeechTranscription');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2TextAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $segmentsType = GoogleCloudVideointelligenceV1beta2TextSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1beta2TextSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1beta2TextSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2TextAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2TextAnnotation');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2TextFrame extends \Google\Model
{
protected $rotatedBoundingBoxType = GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly::class;
protected $rotatedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly
*/
public function setRotatedBoundingBox(GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly $rotatedBoundingBox)
{
$this->rotatedBoundingBox = $rotatedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly
*/
public function getRotatedBoundingBox()
{
return $this->rotatedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2TextFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2TextFrame');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2TextSegment extends \Google\Collection
{
protected $collection_key = 'frames';
/**
* @var float
*/
public $confidence;
protected $framesType = GoogleCloudVideointelligenceV1beta2TextFrame::class;
protected $framesDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1beta2TextFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1beta2TextFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2TextSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2TextSegment');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2TimestampedObject extends \Google\Collection
{
protected $collection_key = 'landmarks';
protected $attributesType = GoogleCloudVideointelligenceV1beta2DetectedAttribute::class;
protected $attributesDataType = 'array';
protected $landmarksType = GoogleCloudVideointelligenceV1beta2DetectedLandmark::class;
protected $landmarksDataType = 'array';
protected $normalizedBoundingBoxType = GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::class;
protected $normalizedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1beta2DetectedAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudVideointelligenceV1beta2DetectedAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param GoogleCloudVideointelligenceV1beta2DetectedLandmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return GoogleCloudVideointelligenceV1beta2DetectedLandmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
/**
* @param GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
*/
public function setNormalizedBoundingBox(GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox $normalizedBoundingBox)
{
$this->normalizedBoundingBox = $normalizedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox
*/
public function getNormalizedBoundingBox()
{
return $this->normalizedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2TimestampedObject::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2TimestampedObject');

View File

@@ -0,0 +1,93 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2Track extends \Google\Collection
{
protected $collection_key = 'timestampedObjects';
protected $attributesType = GoogleCloudVideointelligenceV1beta2DetectedAttribute::class;
protected $attributesDataType = 'array';
/**
* @var float
*/
public $confidence;
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
protected $timestampedObjectsType = GoogleCloudVideointelligenceV1beta2TimestampedObject::class;
protected $timestampedObjectsDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1beta2DetectedAttribute[]
*/
public function setAttributes($attributes)
{
$this->attributes = $attributes;
}
/**
* @return GoogleCloudVideointelligenceV1beta2DetectedAttribute[]
*/
public function getAttributes()
{
return $this->attributes;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param GoogleCloudVideointelligenceV1beta2TimestampedObject[]
*/
public function setTimestampedObjects($timestampedObjects)
{
$this->timestampedObjects = $timestampedObjects;
}
/**
* @return GoogleCloudVideointelligenceV1beta2TimestampedObject[]
*/
public function getTimestampedObjects()
{
return $this->timestampedObjects;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2Track::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2Track');

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress extends \Google\Model
{
/**
* @var string
*/
public $feature;
/**
* @var string
*/
public $inputUri;
/**
* @var int
*/
public $progressPercent;
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress');

View File

@@ -0,0 +1,301 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults extends \Google\Collection
{
protected $collection_key = 'textAnnotations';
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
protected $explicitAnnotationType = GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::class;
protected $explicitAnnotationDataType = '';
protected $faceAnnotationsType = GoogleCloudVideointelligenceV1beta2FaceAnnotation::class;
protected $faceAnnotationsDataType = 'array';
protected $faceDetectionAnnotationsType = GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::class;
protected $faceDetectionAnnotationsDataType = 'array';
protected $frameLabelAnnotationsType = GoogleCloudVideointelligenceV1beta2LabelAnnotation::class;
protected $frameLabelAnnotationsDataType = 'array';
/**
* @var string
*/
public $inputUri;
protected $logoRecognitionAnnotationsType = GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation::class;
protected $logoRecognitionAnnotationsDataType = 'array';
protected $objectAnnotationsType = GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::class;
protected $objectAnnotationsDataType = 'array';
protected $personDetectionAnnotationsType = GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::class;
protected $personDetectionAnnotationsDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $segmentDataType = '';
protected $segmentLabelAnnotationsType = GoogleCloudVideointelligenceV1beta2LabelAnnotation::class;
protected $segmentLabelAnnotationsDataType = 'array';
protected $segmentPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1beta2LabelAnnotation::class;
protected $segmentPresenceLabelAnnotationsDataType = 'array';
protected $shotAnnotationsType = GoogleCloudVideointelligenceV1beta2VideoSegment::class;
protected $shotAnnotationsDataType = 'array';
protected $shotLabelAnnotationsType = GoogleCloudVideointelligenceV1beta2LabelAnnotation::class;
protected $shotLabelAnnotationsDataType = 'array';
protected $shotPresenceLabelAnnotationsType = GoogleCloudVideointelligenceV1beta2LabelAnnotation::class;
protected $shotPresenceLabelAnnotationsDataType = 'array';
protected $speechTranscriptionsType = GoogleCloudVideointelligenceV1beta2SpeechTranscription::class;
protected $speechTranscriptionsDataType = 'array';
protected $textAnnotationsType = GoogleCloudVideointelligenceV1beta2TextAnnotation::class;
protected $textAnnotationsDataType = 'array';
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
*/
public function setExplicitAnnotation(GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation $explicitAnnotation)
{
$this->explicitAnnotation = $explicitAnnotation;
}
/**
* @return GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
*/
public function getExplicitAnnotation()
{
return $this->explicitAnnotation;
}
/**
* @param GoogleCloudVideointelligenceV1beta2FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation[]
*/
public function setFaceDetectionAnnotations($faceDetectionAnnotations)
{
$this->faceDetectionAnnotations = $faceDetectionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation[]
*/
public function getFaceDetectionAnnotations()
{
return $this->faceDetectionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function setFrameLabelAnnotations($frameLabelAnnotations)
{
$this->frameLabelAnnotations = $frameLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function getFrameLabelAnnotations()
{
return $this->frameLabelAnnotations;
}
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation[]
*/
public function setLogoRecognitionAnnotations($logoRecognitionAnnotations)
{
$this->logoRecognitionAnnotations = $logoRecognitionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LogoRecognitionAnnotation[]
*/
public function getLogoRecognitionAnnotations()
{
return $this->logoRecognitionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation[]
*/
public function setObjectAnnotations($objectAnnotations)
{
$this->objectAnnotations = $objectAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation[]
*/
public function getObjectAnnotations()
{
return $this->objectAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation[]
*/
public function setPersonDetectionAnnotations($personDetectionAnnotations)
{
$this->personDetectionAnnotations = $personDetectionAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation[]
*/
public function getPersonDetectionAnnotations()
{
return $this->personDetectionAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1beta2VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function setSegmentLabelAnnotations($segmentLabelAnnotations)
{
$this->segmentLabelAnnotations = $segmentLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function getSegmentLabelAnnotations()
{
return $this->segmentLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function setSegmentPresenceLabelAnnotations($segmentPresenceLabelAnnotations)
{
$this->segmentPresenceLabelAnnotations = $segmentPresenceLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function getSegmentPresenceLabelAnnotations()
{
return $this->segmentPresenceLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2VideoSegment[]
*/
public function setShotAnnotations($shotAnnotations)
{
$this->shotAnnotations = $shotAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2VideoSegment[]
*/
public function getShotAnnotations()
{
return $this->shotAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function setShotLabelAnnotations($shotLabelAnnotations)
{
$this->shotLabelAnnotations = $shotLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function getShotLabelAnnotations()
{
return $this->shotLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function setShotPresenceLabelAnnotations($shotPresenceLabelAnnotations)
{
$this->shotPresenceLabelAnnotations = $shotPresenceLabelAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2LabelAnnotation[]
*/
public function getShotPresenceLabelAnnotations()
{
return $this->shotPresenceLabelAnnotations;
}
/**
* @param GoogleCloudVideointelligenceV1beta2SpeechTranscription[]
*/
public function setSpeechTranscriptions($speechTranscriptions)
{
$this->speechTranscriptions = $speechTranscriptions;
}
/**
* @return GoogleCloudVideointelligenceV1beta2SpeechTranscription[]
*/
public function getSpeechTranscriptions()
{
return $this->speechTranscriptions;
}
/**
* @param GoogleCloudVideointelligenceV1beta2TextAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return GoogleCloudVideointelligenceV1beta2TextAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2VideoAnnotationResults::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoAnnotationResults');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2VideoSegment extends \Google\Model
{
/**
* @var string
*/
public $endTimeOffset;
/**
* @var string
*/
public $startTimeOffset;
/**
* @param string
*/
public function setEndTimeOffset($endTimeOffset)
{
$this->endTimeOffset = $endTimeOffset;
}
/**
* @return string
*/
public function getEndTimeOffset()
{
return $this->endTimeOffset;
}
/**
* @param string
*/
public function setStartTimeOffset($startTimeOffset)
{
$this->startTimeOffset = $startTimeOffset;
}
/**
* @return string
*/
public function getStartTimeOffset()
{
return $this->startTimeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2VideoSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2VideoSegment');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1beta2WordInfo extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $endTime;
/**
* @var int
*/
public $speakerTag;
/**
* @var string
*/
public $startTime;
/**
* @var string
*/
public $word;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param int
*/
public function setSpeakerTag($speakerTag)
{
$this->speakerTag = $speakerTag;
}
/**
* @return int
*/
public function getSpeakerTag()
{
return $this->speakerTag;
}
/**
* @param string
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* @param string
*/
public function setWord($word)
{
$this->word = $word;
}
/**
* @return string
*/
public function getWord()
{
return $this->word;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1beta2WordInfo::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2WordInfo');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress extends \Google\Collection
{
protected $collection_key = 'annotationProgress';
protected $annotationProgressType = GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress::class;
protected $annotationProgressDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress[]
*/
public function setAnnotationProgress($annotationProgress)
{
$this->annotationProgress = $annotationProgress;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress[]
*/
public function getAnnotationProgress()
{
return $this->annotationProgress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1AnnotateVideoProgress');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse extends \Google\Collection
{
protected $collection_key = 'annotationResults';
protected $annotationResultsType = GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults::class;
protected $annotationResultsDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults[]
*/
public function setAnnotationResults($annotationResults)
{
$this->annotationResults = $annotationResults;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoAnnotationResults[]
*/
public function getAnnotationResults()
{
return $this->annotationResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1AnnotateVideoResponse');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1DetectedAttribute extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $value;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1DetectedAttribute::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1DetectedAttribute');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1DetectedLandmark extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $name;
protected $pointType = GoogleCloudVideointelligenceV1p1beta1NormalizedVertex::class;
protected $pointDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1NormalizedVertex
*/
public function setPoint(GoogleCloudVideointelligenceV1p1beta1NormalizedVertex $point)
{
$this->point = $point;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1NormalizedVertex
*/
public function getPoint()
{
return $this->point;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1DetectedLandmark::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1DetectedLandmark');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1Entity extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $entityId;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1Entity::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1Entity');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
protected $framesType = GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame::class;
protected $framesDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame extends \Google\Model
{
/**
* @var string
*/
public $pornographyLikelihood;
/**
* @var string
*/
public $timeOffset;
/**
* @param string
*/
public function setPornographyLikelihood($pornographyLikelihood)
{
$this->pornographyLikelihood = $pornographyLikelihood;
}
/**
* @return string
*/
public function getPornographyLikelihood()
{
return $this->pornographyLikelihood;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ExplicitContentFrame');

View File

@@ -0,0 +1,77 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $framesType = GoogleCloudVideointelligenceV1p1beta1FaceFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1p1beta1FaceSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $thumbnail;
/**
* @param GoogleCloudVideointelligenceV1p1beta1FaceFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1FaceFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1FaceSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1FaceSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
/**
* @var string
*/
public $thumbnail;
protected $tracksType = GoogleCloudVideointelligenceV1p1beta1Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1FaceFrame extends \Google\Collection
{
protected $collection_key = 'normalizedBoundingBoxes';
protected $normalizedBoundingBoxesType = GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::class;
protected $normalizedBoundingBoxesDataType = 'array';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox[]
*/
public function setNormalizedBoundingBoxes($normalizedBoundingBoxes)
{
$this->normalizedBoundingBoxes = $normalizedBoundingBoxes;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox[]
*/
public function getNormalizedBoundingBoxes()
{
return $this->normalizedBoundingBoxes;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1FaceFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceFrame');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1FaceSegment extends \Google\Model
{
protected $segmentType = GoogleCloudVideointelligenceV1p1beta1VideoSegment::class;
protected $segmentDataType = '';
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1p1beta1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1FaceSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1FaceSegment');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $categoryEntitiesType = GoogleCloudVideointelligenceV1p1beta1Entity::class;
protected $categoryEntitiesDataType = 'array';
protected $entityType = GoogleCloudVideointelligenceV1p1beta1Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1p1beta1LabelFrame::class;
protected $framesDataType = 'array';
protected $segmentsType = GoogleCloudVideointelligenceV1p1beta1LabelSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1p1beta1Entity[]
*/
public function setCategoryEntities($categoryEntities)
{
$this->categoryEntities = $categoryEntities;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Entity[]
*/
public function getCategoryEntities()
{
return $this->categoryEntities;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1p1beta1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1LabelFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1LabelFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1LabelSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1LabelSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1LabelAnnotation');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1LabelFrame extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $timeOffset;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1LabelFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1LabelFrame');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1LabelSegment extends \Google\Model
{
/**
* @var float
*/
public $confidence;
protected $segmentType = GoogleCloudVideointelligenceV1p1beta1VideoSegment::class;
protected $segmentDataType = '';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1p1beta1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1LabelSegment::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1LabelSegment');

View File

@@ -0,0 +1,75 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $entityType = GoogleCloudVideointelligenceV1p1beta1Entity::class;
protected $entityDataType = '';
protected $segmentsType = GoogleCloudVideointelligenceV1p1beta1VideoSegment::class;
protected $segmentsDataType = 'array';
protected $tracksType = GoogleCloudVideointelligenceV1p1beta1Track::class;
protected $tracksDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1p1beta1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1LogoRecognitionAnnotation');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox extends \Google\Model
{
/**
* @var float
*/
public $bottom;
/**
* @var float
*/
public $left;
/**
* @var float
*/
public $right;
/**
* @var float
*/
public $top;
/**
* @param float
*/
public function setBottom($bottom)
{
$this->bottom = $bottom;
}
/**
* @return float
*/
public function getBottom()
{
return $this->bottom;
}
/**
* @param float
*/
public function setLeft($left)
{
$this->left = $left;
}
/**
* @return float
*/
public function getLeft()
{
return $this->left;
}
/**
* @param float
*/
public function setRight($right)
{
$this->right = $right;
}
/**
* @return float
*/
public function getRight()
{
return $this->right;
}
/**
* @param float
*/
public function setTop($top)
{
$this->top = $top;
}
/**
* @return float
*/
public function getTop()
{
return $this->top;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $verticesType = GoogleCloudVideointelligenceV1p1beta1NormalizedVertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudVideointelligenceV1p1beta1NormalizedVertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1NormalizedVertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1NormalizedVertex extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1NormalizedVertex::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1NormalizedVertex');

View File

@@ -0,0 +1,129 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation extends \Google\Collection
{
protected $collection_key = 'frames';
/**
* @var float
*/
public $confidence;
protected $entityType = GoogleCloudVideointelligenceV1p1beta1Entity::class;
protected $entityDataType = '';
protected $framesType = GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame::class;
protected $framesDataType = 'array';
protected $segmentType = GoogleCloudVideointelligenceV1p1beta1VideoSegment::class;
protected $segmentDataType = '';
/**
* @var string
*/
public $trackId;
/**
* @var string
*/
public $version;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function setEntity(GoogleCloudVideointelligenceV1p1beta1Entity $entity)
{
$this->entity = $entity;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Entity
*/
public function getEntity()
{
return $this->entity;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame[]
*/
public function setFrames($frames)
{
$this->frames = $frames;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame[]
*/
public function getFrames()
{
return $this->frames;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function setSegment(GoogleCloudVideointelligenceV1p1beta1VideoSegment $segment)
{
$this->segment = $segment;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1VideoSegment
*/
public function getSegment()
{
return $this->segment;
}
/**
* @param string
*/
public function setTrackId($trackId)
{
$this->trackId = $trackId;
}
/**
* @return string
*/
public function getTrackId()
{
return $this->trackId;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame extends \Google\Model
{
protected $normalizedBoundingBoxType = GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::class;
protected $normalizedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
*/
public function setNormalizedBoundingBox(GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox $normalizedBoundingBox)
{
$this->normalizedBoundingBox = $normalizedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox
*/
public function getNormalizedBoundingBox()
{
return $this->normalizedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation extends \Google\Collection
{
protected $collection_key = 'tracks';
protected $tracksType = GoogleCloudVideointelligenceV1p1beta1Track::class;
protected $tracksDataType = 'array';
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function setTracks($tracks)
{
$this->tracks = $tracks;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1Track[]
*/
public function getTracks()
{
return $this->tracks;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative extends \Google\Collection
{
protected $collection_key = 'words';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $transcript;
protected $wordsType = GoogleCloudVideointelligenceV1p1beta1WordInfo::class;
protected $wordsDataType = 'array';
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setTranscript($transcript)
{
$this->transcript = $transcript;
}
/**
* @return string
*/
public function getTranscript()
{
return $this->transcript;
}
/**
* @param GoogleCloudVideointelligenceV1p1beta1WordInfo[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1WordInfo[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1SpeechTranscription extends \Google\Collection
{
protected $collection_key = 'alternatives';
protected $alternativesType = GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative::class;
protected $alternativesDataType = 'array';
/**
* @var string
*/
public $languageCode;
/**
* @param GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative[]
*/
public function setAlternatives($alternatives)
{
$this->alternatives = $alternatives;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative[]
*/
public function getAlternatives()
{
return $this->alternatives;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1SpeechTranscription');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1TextAnnotation extends \Google\Collection
{
protected $collection_key = 'segments';
protected $segmentsType = GoogleCloudVideointelligenceV1p1beta1TextSegment::class;
protected $segmentsDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @var string
*/
public $version;
/**
* @param GoogleCloudVideointelligenceV1p1beta1TextSegment[]
*/
public function setSegments($segments)
{
$this->segments = $segments;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1TextSegment[]
*/
public function getSegments()
{
return $this->segments;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param string
*/
public function setVersion($version)
{
$this->version = $version;
}
/**
* @return string
*/
public function getVersion()
{
return $this->version;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1TextAnnotation::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1TextAnnotation');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudVideoIntelligence;
class GoogleCloudVideointelligenceV1p1beta1TextFrame extends \Google\Model
{
protected $rotatedBoundingBoxType = GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly::class;
protected $rotatedBoundingBoxDataType = '';
/**
* @var string
*/
public $timeOffset;
/**
* @param GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly
*/
public function setRotatedBoundingBox(GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly $rotatedBoundingBox)
{
$this->rotatedBoundingBox = $rotatedBoundingBox;
}
/**
* @return GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly
*/
public function getRotatedBoundingBox()
{
return $this->rotatedBoundingBox;
}
/**
* @param string
*/
public function setTimeOffset($timeOffset)
{
$this->timeOffset = $timeOffset;
}
/**
* @return string
*/
public function getTimeOffset()
{
return $this->timeOffset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVideointelligenceV1p1beta1TextFrame::class, 'Google_Service_CloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1TextFrame');

Some files were not shown because too many files have changed in this diff Show More