Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_AnnotateImageRequest extends Google_Collection
{
protected $collection_key = 'features';
protected $featuresType = 'Google_Service_Vision_Feature';
protected $featuresDataType = 'array';
protected $imageType = 'Google_Service_Vision_Image';
protected $imageDataType = '';
protected $imageContextType = 'Google_Service_Vision_ImageContext';
protected $imageContextDataType = '';
public function setFeatures($features)
{
$this->features = $features;
}
public function getFeatures()
{
return $this->features;
}
public function setImage(Google_Service_Vision_Image $image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
public function setImageContext(Google_Service_Vision_ImageContext $imageContext)
{
$this->imageContext = $imageContext;
}
public function getImageContext()
{
return $this->imageContext;
}
}

View File

@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $cropHintsAnnotationType = 'Google_Service_Vision_CropHintsAnnotation';
protected $cropHintsAnnotationDataType = '';
protected $errorType = 'Google_Service_Vision_Status';
protected $errorDataType = '';
protected $faceAnnotationsType = 'Google_Service_Vision_FaceAnnotation';
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = 'Google_Service_Vision_TextAnnotation';
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = 'Google_Service_Vision_ImageProperties';
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $safeSearchAnnotationType = 'Google_Service_Vision_SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = 'Google_Service_Vision_WebDetection';
protected $webDetectionDataType = '';
public function setCropHintsAnnotation(Google_Service_Vision_CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
public function getCropHintsAnnotation()
{
return $this->cropHintsAnnotation;
}
public function setError(Google_Service_Vision_Status $error)
{
$this->error = $error;
}
public function getError()
{
return $this->error;
}
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
public function setFullTextAnnotation(Google_Service_Vision_TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
public function setImagePropertiesAnnotation(Google_Service_Vision_ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
public function setSafeSearchAnnotation(Google_Service_Vision_SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
public function getTextAnnotations()
{
return $this->textAnnotations;
}
public function setWebDetection(Google_Service_Vision_WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
public function getWebDetection()
{
return $this->webDetection;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_BatchAnnotateImagesRequest extends Google_Collection
{
protected $collection_key = 'requests';
protected $requestsType = 'Google_Service_Vision_AnnotateImageRequest';
protected $requestsDataType = 'array';
public function setRequests($requests)
{
$this->requests = $requests;
}
public function getRequests()
{
return $this->requests;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_BatchAnnotateImagesResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_Vision_AnnotateImageResponse';
protected $responsesDataType = 'array';
public function setResponses($responses)
{
$this->responses = $responses;
}
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Block extends Google_Collection
{
protected $collection_key = 'paragraphs';
public $blockType;
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
protected $boundingBoxDataType = '';
protected $paragraphsType = 'Google_Service_Vision_Paragraph';
protected $paragraphsDataType = 'array';
protected $propertyType = 'Google_Service_Vision_TextProperty';
protected $propertyDataType = '';
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
public function getBlockType()
{
return $this->blockType;
}
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
public function getParagraphs()
{
return $this->paragraphs;
}
public function setProperty(Google_Service_Vision_TextProperty $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_BoundingPoly extends Google_Collection
{
protected $collection_key = 'vertices';
protected $verticesType = 'Google_Service_Vision_Vertex';
protected $verticesDataType = 'array';
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
public function getVertices()
{
return $this->vertices;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Color extends Google_Model
{
public $alpha;
public $blue;
public $green;
public $red;
public function setAlpha($alpha)
{
$this->alpha = $alpha;
}
public function getAlpha()
{
return $this->alpha;
}
public function setBlue($blue)
{
$this->blue = $blue;
}
public function getBlue()
{
return $this->blue;
}
public function setGreen($green)
{
$this->green = $green;
}
public function getGreen()
{
return $this->green;
}
public function setRed($red)
{
$this->red = $red;
}
public function getRed()
{
return $this->red;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_ColorInfo extends Google_Model
{
protected $colorType = 'Google_Service_Vision_Color';
protected $colorDataType = '';
public $pixelFraction;
public $score;
public function setColor(Google_Service_Vision_Color $color)
{
$this->color = $color;
}
public function getColor()
{
return $this->color;
}
public function setPixelFraction($pixelFraction)
{
$this->pixelFraction = $pixelFraction;
}
public function getPixelFraction()
{
return $this->pixelFraction;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_CropHint extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $importanceFraction;
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
public function setImportanceFraction($importanceFraction)
{
$this->importanceFraction = $importanceFraction;
}
public function getImportanceFraction()
{
return $this->importanceFraction;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_CropHintsAnnotation extends Google_Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = 'Google_Service_Vision_CropHint';
protected $cropHintsDataType = 'array';
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
public function getCropHints()
{
return $this->cropHints;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_CropHintsParams extends Google_Collection
{
protected $collection_key = 'aspectRatios';
public $aspectRatios;
public function setAspectRatios($aspectRatios)
{
$this->aspectRatios = $aspectRatios;
}
public function getAspectRatios()
{
return $this->aspectRatios;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_DetectedBreak extends Google_Model
{
public $isPrefix;
public $type;
public function setIsPrefix($isPrefix)
{
$this->isPrefix = $isPrefix;
}
public function getIsPrefix()
{
return $this->isPrefix;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_DetectedLanguage extends Google_Model
{
public $confidence;
public $languageCode;
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
}

View File

@@ -0,0 +1,32 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_DominantColorsAnnotation extends Google_Collection
{
protected $collection_key = 'colors';
protected $colorsType = 'Google_Service_Vision_ColorInfo';
protected $colorsDataType = 'array';
public function setColors($colors)
{
$this->colors = $colors;
}
public function getColors()
{
return $this->colors;
}
}

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_EntityAnnotation extends Google_Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $description;
public $locale;
protected $locationsType = 'Google_Service_Vision_LocationInfo';
protected $locationsDataType = 'array';
public $mid;
protected $propertiesType = 'Google_Service_Vision_Property';
protected $propertiesDataType = 'array';
public $score;
public $topicality;
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setLocale($locale)
{
$this->locale = $locale;
}
public function getLocale()
{
return $this->locale;
}
public function setLocations($locations)
{
$this->locations = $locations;
}
public function getLocations()
{
return $this->locations;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
public function setProperties($properties)
{
$this->properties = $properties;
}
public function getProperties()
{
return $this->properties;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
public function setTopicality($topicality)
{
$this->topicality = $topicality;
}
public function getTopicality()
{
return $this->topicality;
}
}

View File

@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_FaceAnnotation extends Google_Collection
{
protected $collection_key = 'landmarks';
public $angerLikelihood;
public $blurredLikelihood;
protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly';
protected $boundingPolyDataType = '';
public $detectionConfidence;
protected $fdBoundingPolyType = 'Google_Service_Vision_BoundingPoly';
protected $fdBoundingPolyDataType = '';
public $headwearLikelihood;
public $joyLikelihood;
public $landmarkingConfidence;
protected $landmarksType = 'Google_Service_Vision_Landmark';
protected $landmarksDataType = 'array';
public $panAngle;
public $rollAngle;
public $sorrowLikelihood;
public $surpriseLikelihood;
public $tiltAngle;
public $underExposedLikelihood;
public function setAngerLikelihood($angerLikelihood)
{
$this->angerLikelihood = $angerLikelihood;
}
public function getAngerLikelihood()
{
return $this->angerLikelihood;
}
public function setBlurredLikelihood($blurredLikelihood)
{
$this->blurredLikelihood = $blurredLikelihood;
}
public function getBlurredLikelihood()
{
return $this->blurredLikelihood;
}
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
public function setFdBoundingPoly(Google_Service_Vision_BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
public function getFdBoundingPoly()
{
return $this->fdBoundingPoly;
}
public function setHeadwearLikelihood($headwearLikelihood)
{
$this->headwearLikelihood = $headwearLikelihood;
}
public function getHeadwearLikelihood()
{
return $this->headwearLikelihood;
}
public function setJoyLikelihood($joyLikelihood)
{
$this->joyLikelihood = $joyLikelihood;
}
public function getJoyLikelihood()
{
return $this->joyLikelihood;
}
public function setLandmarkingConfidence($landmarkingConfidence)
{
$this->landmarkingConfidence = $landmarkingConfidence;
}
public function getLandmarkingConfidence()
{
return $this->landmarkingConfidence;
}
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
public function getLandmarks()
{
return $this->landmarks;
}
public function setPanAngle($panAngle)
{
$this->panAngle = $panAngle;
}
public function getPanAngle()
{
return $this->panAngle;
}
public function setRollAngle($rollAngle)
{
$this->rollAngle = $rollAngle;
}
public function getRollAngle()
{
return $this->rollAngle;
}
public function setSorrowLikelihood($sorrowLikelihood)
{
$this->sorrowLikelihood = $sorrowLikelihood;
}
public function getSorrowLikelihood()
{
return $this->sorrowLikelihood;
}
public function setSurpriseLikelihood($surpriseLikelihood)
{
$this->surpriseLikelihood = $surpriseLikelihood;
}
public function getSurpriseLikelihood()
{
return $this->surpriseLikelihood;
}
public function setTiltAngle($tiltAngle)
{
$this->tiltAngle = $tiltAngle;
}
public function getTiltAngle()
{
return $this->tiltAngle;
}
public function setUnderExposedLikelihood($underExposedLikelihood)
{
$this->underExposedLikelihood = $underExposedLikelihood;
}
public function getUnderExposedLikelihood()
{
return $this->underExposedLikelihood;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Feature extends Google_Model
{
public $maxResults;
public $type;
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
public function getMaxResults()
{
return $this->maxResults;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Image extends Google_Model
{
public $content;
protected $sourceType = 'Google_Service_Vision_ImageSource';
protected $sourceDataType = '';
public function setContent($content)
{
$this->content = $content;
}
public function getContent()
{
return $this->content;
}
public function setSource(Google_Service_Vision_ImageSource $source)
{
$this->source = $source;
}
public function getSource()
{
return $this->source;
}
}

View File

@@ -0,0 +1,51 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_ImageContext extends Google_Collection
{
protected $collection_key = 'languageHints';
protected $cropHintsParamsType = 'Google_Service_Vision_CropHintsParams';
protected $cropHintsParamsDataType = '';
public $languageHints;
protected $latLongRectType = 'Google_Service_Vision_LatLongRect';
protected $latLongRectDataType = '';
public function setCropHintsParams(Google_Service_Vision_CropHintsParams $cropHintsParams)
{
$this->cropHintsParams = $cropHintsParams;
}
public function getCropHintsParams()
{
return $this->cropHintsParams;
}
public function setLanguageHints($languageHints)
{
$this->languageHints = $languageHints;
}
public function getLanguageHints()
{
return $this->languageHints;
}
public function setLatLongRect(Google_Service_Vision_LatLongRect $latLongRect)
{
$this->latLongRect = $latLongRect;
}
public function getLatLongRect()
{
return $this->latLongRect;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_ImageProperties extends Google_Model
{
protected $dominantColorsType = 'Google_Service_Vision_DominantColorsAnnotation';
protected $dominantColorsDataType = '';
public function setDominantColors(Google_Service_Vision_DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
public function getDominantColors()
{
return $this->dominantColors;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_ImageSource extends Google_Model
{
public $gcsImageUri;
public $imageUri;
public function setGcsImageUri($gcsImageUri)
{
$this->gcsImageUri = $gcsImageUri;
}
public function getGcsImageUri()
{
return $this->gcsImageUri;
}
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
public function getImageUri()
{
return $this->imageUri;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Landmark extends Google_Model
{
protected $positionType = 'Google_Service_Vision_Position';
protected $positionDataType = '';
public $type;
public function setPosition(Google_Service_Vision_Position $position)
{
$this->position = $position;
}
public function getPosition()
{
return $this->position;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_LatLng extends Google_Model
{
public $latitude;
public $longitude;
public function setLatitude($latitude)
{
$this->latitude = $latitude;
}
public function getLatitude()
{
return $this->latitude;
}
public function setLongitude($longitude)
{
$this->longitude = $longitude;
}
public function getLongitude()
{
return $this->longitude;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_LatLongRect extends Google_Model
{
protected $maxLatLngType = 'Google_Service_Vision_LatLng';
protected $maxLatLngDataType = '';
protected $minLatLngType = 'Google_Service_Vision_LatLng';
protected $minLatLngDataType = '';
public function setMaxLatLng(Google_Service_Vision_LatLng $maxLatLng)
{
$this->maxLatLng = $maxLatLng;
}
public function getMaxLatLng()
{
return $this->maxLatLng;
}
public function setMinLatLng(Google_Service_Vision_LatLng $minLatLng)
{
$this->minLatLng = $minLatLng;
}
public function getMinLatLng()
{
return $this->minLatLng;
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_LocationInfo extends Google_Model
{
protected $latLngType = 'Google_Service_Vision_LatLng';
protected $latLngDataType = '';
public function setLatLng(Google_Service_Vision_LatLng $latLng)
{
$this->latLng = $latLng;
}
public function getLatLng()
{
return $this->latLng;
}
}

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Page extends Google_Collection
{
protected $collection_key = 'blocks';
protected $blocksType = 'Google_Service_Vision_Block';
protected $blocksDataType = 'array';
public $height;
protected $propertyType = 'Google_Service_Vision_TextProperty';
protected $propertyDataType = '';
public $width;
public function setBlocks($blocks)
{
$this->blocks = $blocks;
}
public function getBlocks()
{
return $this->blocks;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setProperty(Google_Service_Vision_TextProperty $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Paragraph extends Google_Collection
{
protected $collection_key = 'words';
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
protected $boundingBoxDataType = '';
protected $propertyType = 'Google_Service_Vision_TextProperty';
protected $propertyDataType = '';
protected $wordsType = 'Google_Service_Vision_Word';
protected $wordsDataType = 'array';
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setProperty(Google_Service_Vision_TextProperty $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
public function setWords($words)
{
$this->words = $words;
}
public function getWords()
{
return $this->words;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Position extends Google_Model
{
public $x;
public $y;
public $z;
public function setX($x)
{
$this->x = $x;
}
public function getX()
{
return $this->x;
}
public function setY($y)
{
$this->y = $y;
}
public function getY()
{
return $this->y;
}
public function setZ($z)
{
$this->z = $z;
}
public function getZ()
{
return $this->z;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Property extends Google_Model
{
public $name;
public $uint64Value;
public $value;
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUint64Value($uint64Value)
{
$this->uint64Value = $uint64Value;
}
public function getUint64Value()
{
return $this->uint64Value;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "images" collection of methods.
* Typical usage is:
* <code>
* $visionService = new Google_Service_Vision(...);
* $images = $visionService->images;
* </code>
*/
class Google_Service_Vision_Resource_Images extends Google_Service_Resource
{
/**
* Run image detection and annotation for a batch of images. (images.annotate)
*
* @param Google_Service_Vision_BatchAnnotateImagesRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Vision_BatchAnnotateImagesResponse
*/
public function annotate(Google_Service_Vision_BatchAnnotateImagesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('annotate', array($params), "Google_Service_Vision_BatchAnnotateImagesResponse");
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_SafeSearchAnnotation extends Google_Model
{
public $adult;
public $medical;
public $spoof;
public $violence;
public function setAdult($adult)
{
$this->adult = $adult;
}
public function getAdult()
{
return $this->adult;
}
public function setMedical($medical)
{
$this->medical = $medical;
}
public function getMedical()
{
return $this->medical;
}
public function setSpoof($spoof)
{
$this->spoof = $spoof;
}
public function getSpoof()
{
return $this->spoof;
}
public function setViolence($violence)
{
$this->violence = $violence;
}
public function getViolence()
{
return $this->violence;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Symbol extends Google_Model
{
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
protected $boundingBoxDataType = '';
protected $propertyType = 'Google_Service_Vision_TextProperty';
protected $propertyDataType = '';
public $text;
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setProperty(Google_Service_Vision_TextProperty $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_TextAnnotation extends Google_Collection
{
protected $collection_key = 'pages';
protected $pagesType = 'Google_Service_Vision_Page';
protected $pagesDataType = 'array';
public $text;
public function setPages($pages)
{
$this->pages = $pages;
}
public function getPages()
{
return $this->pages;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_TextProperty extends Google_Collection
{
protected $collection_key = 'detectedLanguages';
protected $detectedBreakType = 'Google_Service_Vision_DetectedBreak';
protected $detectedBreakDataType = '';
protected $detectedLanguagesType = 'Google_Service_Vision_DetectedLanguage';
protected $detectedLanguagesDataType = 'array';
public function setDetectedBreak(Google_Service_Vision_DetectedBreak $detectedBreak)
{
$this->detectedBreak = $detectedBreak;
}
public function getDetectedBreak()
{
return $this->detectedBreak;
}
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
public function getDetectedLanguages()
{
return $this->detectedLanguages;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Vertex extends Google_Model
{
public $x;
public $y;
public function setX($x)
{
$this->x = $x;
}
public function getX()
{
return $this->x;
}
public function setY($y)
{
$this->y = $y;
}
public function getY()
{
return $this->y;
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_WebDetection extends Google_Collection
{
protected $collection_key = 'webEntities';
protected $fullMatchingImagesType = 'Google_Service_Vision_WebImage';
protected $fullMatchingImagesDataType = 'array';
protected $pagesWithMatchingImagesType = 'Google_Service_Vision_WebPage';
protected $pagesWithMatchingImagesDataType = 'array';
protected $partialMatchingImagesType = 'Google_Service_Vision_WebImage';
protected $partialMatchingImagesDataType = 'array';
protected $webEntitiesType = 'Google_Service_Vision_WebEntity';
protected $webEntitiesDataType = 'array';
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
public function setPagesWithMatchingImages($pagesWithMatchingImages)
{
$this->pagesWithMatchingImages = $pagesWithMatchingImages;
}
public function getPagesWithMatchingImages()
{
return $this->pagesWithMatchingImages;
}
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
public function setWebEntities($webEntities)
{
$this->webEntities = $webEntities;
}
public function getWebEntities()
{
return $this->webEntities;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_WebEntity extends Google_Model
{
public $description;
public $entityId;
public $score;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
public function getEntityId()
{
return $this->entityId;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_WebImage extends Google_Model
{
public $score;
public $url;
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_WebPage extends Google_Model
{
public $score;
public $url;
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_Vision_Word extends Google_Collection
{
protected $collection_key = 'symbols';
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
protected $boundingBoxDataType = '';
protected $propertyType = 'Google_Service_Vision_TextProperty';
protected $propertyDataType = '';
protected $symbolsType = 'Google_Service_Vision_Symbol';
protected $symbolsDataType = 'array';
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setProperty(Google_Service_Vision_TextProperty $property)
{
$this->property = $property;
}
public function getProperty()
{
return $this->property;
}
public function setSymbols($symbols)
{
$this->symbols = $symbols;
}
public function getSymbols()
{
return $this->symbols;
}
}