Mise à jour des librairies vendor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -25,26 +25,44 @@ class Google_Service_Vision_AnnotateImageRequest extends Google_Collection
|
||||
protected $imageContextType = 'Google_Service_Vision_ImageContext';
|
||||
protected $imageContextDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Feature
|
||||
*/
|
||||
public function setFeatures($features)
|
||||
{
|
||||
$this->features = $features;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Feature
|
||||
*/
|
||||
public function getFeatures()
|
||||
{
|
||||
return $this->features;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Image
|
||||
*/
|
||||
public function setImage(Google_Service_Vision_Image $image)
|
||||
{
|
||||
$this->image = $image;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Image
|
||||
*/
|
||||
public function getImage()
|
||||
{
|
||||
return $this->image;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_ImageContext
|
||||
*/
|
||||
public function setImageContext(Google_Service_Vision_ImageContext $imageContext)
|
||||
{
|
||||
$this->imageContext = $imageContext;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_ImageContext
|
||||
*/
|
||||
public function getImageContext()
|
||||
{
|
||||
return $this->imageContext;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -41,90 +41,156 @@ class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
|
||||
protected $webDetectionType = 'Google_Service_Vision_WebDetection';
|
||||
protected $webDetectionDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_CropHintsAnnotation
|
||||
*/
|
||||
public function setCropHintsAnnotation(Google_Service_Vision_CropHintsAnnotation $cropHintsAnnotation)
|
||||
{
|
||||
$this->cropHintsAnnotation = $cropHintsAnnotation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_CropHintsAnnotation
|
||||
*/
|
||||
public function getCropHintsAnnotation()
|
||||
{
|
||||
return $this->cropHintsAnnotation;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Status
|
||||
*/
|
||||
public function setError(Google_Service_Vision_Status $error)
|
||||
{
|
||||
$this->error = $error;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Status
|
||||
*/
|
||||
public function getError()
|
||||
{
|
||||
return $this->error;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_FaceAnnotation
|
||||
*/
|
||||
public function setFaceAnnotations($faceAnnotations)
|
||||
{
|
||||
$this->faceAnnotations = $faceAnnotations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_FaceAnnotation
|
||||
*/
|
||||
public function getFaceAnnotations()
|
||||
{
|
||||
return $this->faceAnnotations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextAnnotation
|
||||
*/
|
||||
public function setFullTextAnnotation(Google_Service_Vision_TextAnnotation $fullTextAnnotation)
|
||||
{
|
||||
$this->fullTextAnnotation = $fullTextAnnotation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextAnnotation
|
||||
*/
|
||||
public function getFullTextAnnotation()
|
||||
{
|
||||
return $this->fullTextAnnotation;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_ImageProperties
|
||||
*/
|
||||
public function setImagePropertiesAnnotation(Google_Service_Vision_ImageProperties $imagePropertiesAnnotation)
|
||||
{
|
||||
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_ImageProperties
|
||||
*/
|
||||
public function getImagePropertiesAnnotation()
|
||||
{
|
||||
return $this->imagePropertiesAnnotation;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function setLabelAnnotations($labelAnnotations)
|
||||
{
|
||||
$this->labelAnnotations = $labelAnnotations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function getLabelAnnotations()
|
||||
{
|
||||
return $this->labelAnnotations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function setLandmarkAnnotations($landmarkAnnotations)
|
||||
{
|
||||
$this->landmarkAnnotations = $landmarkAnnotations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function getLandmarkAnnotations()
|
||||
{
|
||||
return $this->landmarkAnnotations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function setLogoAnnotations($logoAnnotations)
|
||||
{
|
||||
$this->logoAnnotations = $logoAnnotations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function getLogoAnnotations()
|
||||
{
|
||||
return $this->logoAnnotations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_SafeSearchAnnotation
|
||||
*/
|
||||
public function setSafeSearchAnnotation(Google_Service_Vision_SafeSearchAnnotation $safeSearchAnnotation)
|
||||
{
|
||||
$this->safeSearchAnnotation = $safeSearchAnnotation;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_SafeSearchAnnotation
|
||||
*/
|
||||
public function getSafeSearchAnnotation()
|
||||
{
|
||||
return $this->safeSearchAnnotation;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function setTextAnnotations($textAnnotations)
|
||||
{
|
||||
$this->textAnnotations = $textAnnotations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_EntityAnnotation
|
||||
*/
|
||||
public function getTextAnnotations()
|
||||
{
|
||||
return $this->textAnnotations;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebDetection
|
||||
*/
|
||||
public function setWebDetection(Google_Service_Vision_WebDetection $webDetection)
|
||||
{
|
||||
$this->webDetection = $webDetection;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebDetection
|
||||
*/
|
||||
public function getWebDetection()
|
||||
{
|
||||
return $this->webDetection;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_BatchAnnotateImagesRequest extends Google_Collection
|
||||
protected $requestsType = 'Google_Service_Vision_AnnotateImageRequest';
|
||||
protected $requestsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_AnnotateImageRequest
|
||||
*/
|
||||
public function setRequests($requests)
|
||||
{
|
||||
$this->requests = $requests;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_AnnotateImageRequest
|
||||
*/
|
||||
public function getRequests()
|
||||
{
|
||||
return $this->requests;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_BatchAnnotateImagesResponse extends Google_Collectio
|
||||
protected $responsesType = 'Google_Service_Vision_AnnotateImageResponse';
|
||||
protected $responsesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_AnnotateImageResponse
|
||||
*/
|
||||
public function setResponses($responses)
|
||||
{
|
||||
$this->responses = $responses;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_AnnotateImageResponse
|
||||
*/
|
||||
public function getResponses()
|
||||
{
|
||||
return $this->responses;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,6 +21,7 @@ class Google_Service_Vision_Block extends Google_Collection
|
||||
public $blockType;
|
||||
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
|
||||
protected $boundingBoxDataType = '';
|
||||
public $confidence;
|
||||
protected $paragraphsType = 'Google_Service_Vision_Paragraph';
|
||||
protected $paragraphsDataType = 'array';
|
||||
protected $propertyType = 'Google_Service_Vision_TextProperty';
|
||||
@@ -34,26 +35,52 @@ class Google_Service_Vision_Block extends Google_Collection
|
||||
{
|
||||
return $this->blockType;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
|
||||
{
|
||||
$this->boundingBox = $boundingBox;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingBox()
|
||||
{
|
||||
return $this->boundingBox;
|
||||
}
|
||||
public function setConfidence($confidence)
|
||||
{
|
||||
$this->confidence = $confidence;
|
||||
}
|
||||
public function getConfidence()
|
||||
{
|
||||
return $this->confidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Paragraph
|
||||
*/
|
||||
public function setParagraphs($paragraphs)
|
||||
{
|
||||
$this->paragraphs = $paragraphs;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Paragraph
|
||||
*/
|
||||
public function getParagraphs()
|
||||
{
|
||||
return $this->paragraphs;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function setProperty(Google_Service_Vision_TextProperty $property)
|
||||
{
|
||||
$this->property = $property;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function getProperty()
|
||||
{
|
||||
return $this->property;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_BoundingPoly extends Google_Collection
|
||||
protected $verticesType = 'Google_Service_Vision_Vertex';
|
||||
protected $verticesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Vertex
|
||||
*/
|
||||
public function setVertices($vertices)
|
||||
{
|
||||
$this->vertices = $vertices;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Vertex
|
||||
*/
|
||||
public function getVertices()
|
||||
{
|
||||
return $this->vertices;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Vision_ColorInfo extends Google_Model
|
||||
public $pixelFraction;
|
||||
public $score;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Color
|
||||
*/
|
||||
public function setColor(Google_Service_Vision_Color $color)
|
||||
{
|
||||
$this->color = $color;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Color
|
||||
*/
|
||||
public function getColor()
|
||||
{
|
||||
return $this->color;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Vision_CropHint extends Google_Model
|
||||
public $confidence;
|
||||
public $importanceFraction;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
|
||||
{
|
||||
$this->boundingPoly = $boundingPoly;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingPoly()
|
||||
{
|
||||
return $this->boundingPoly;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_CropHintsAnnotation extends Google_Collection
|
||||
protected $cropHintsType = 'Google_Service_Vision_CropHint';
|
||||
protected $cropHintsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_CropHint
|
||||
*/
|
||||
public function setCropHints($cropHints)
|
||||
{
|
||||
$this->cropHints = $cropHints;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_CropHint
|
||||
*/
|
||||
public function getCropHints()
|
||||
{
|
||||
return $this->cropHints;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_DominantColorsAnnotation extends Google_Collection
|
||||
protected $colorsType = 'Google_Service_Vision_ColorInfo';
|
||||
protected $colorsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_ColorInfo
|
||||
*/
|
||||
public function setColors($colors)
|
||||
{
|
||||
$this->colors = $colors;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_ColorInfo
|
||||
*/
|
||||
public function getColors()
|
||||
{
|
||||
return $this->colors;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -31,10 +31,16 @@ class Google_Service_Vision_EntityAnnotation extends Google_Collection
|
||||
public $score;
|
||||
public $topicality;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
|
||||
{
|
||||
$this->boundingPoly = $boundingPoly;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingPoly()
|
||||
{
|
||||
return $this->boundingPoly;
|
||||
@@ -63,10 +69,16 @@ class Google_Service_Vision_EntityAnnotation extends Google_Collection
|
||||
{
|
||||
return $this->locale;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_LocationInfo
|
||||
*/
|
||||
public function setLocations($locations)
|
||||
{
|
||||
$this->locations = $locations;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_LocationInfo
|
||||
*/
|
||||
public function getLocations()
|
||||
{
|
||||
return $this->locations;
|
||||
@@ -79,10 +91,16 @@ class Google_Service_Vision_EntityAnnotation extends Google_Collection
|
||||
{
|
||||
return $this->mid;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Property
|
||||
*/
|
||||
public function setProperties($properties)
|
||||
{
|
||||
$this->properties = $properties;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Property
|
||||
*/
|
||||
public function getProperties()
|
||||
{
|
||||
return $this->properties;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -53,10 +53,16 @@ class Google_Service_Vision_FaceAnnotation extends Google_Collection
|
||||
{
|
||||
return $this->blurredLikelihood;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly)
|
||||
{
|
||||
$this->boundingPoly = $boundingPoly;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingPoly()
|
||||
{
|
||||
return $this->boundingPoly;
|
||||
@@ -69,10 +75,16 @@ class Google_Service_Vision_FaceAnnotation extends Google_Collection
|
||||
{
|
||||
return $this->detectionConfidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setFdBoundingPoly(Google_Service_Vision_BoundingPoly $fdBoundingPoly)
|
||||
{
|
||||
$this->fdBoundingPoly = $fdBoundingPoly;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getFdBoundingPoly()
|
||||
{
|
||||
return $this->fdBoundingPoly;
|
||||
@@ -101,10 +113,16 @@ class Google_Service_Vision_FaceAnnotation extends Google_Collection
|
||||
{
|
||||
return $this->landmarkingConfidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Landmark
|
||||
*/
|
||||
public function setLandmarks($landmarks)
|
||||
{
|
||||
$this->landmarks = $landmarks;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Landmark
|
||||
*/
|
||||
public function getLandmarks()
|
||||
{
|
||||
return $this->landmarks;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -18,6 +18,7 @@
|
||||
class Google_Service_Vision_Feature extends Google_Model
|
||||
{
|
||||
public $maxResults;
|
||||
public $model;
|
||||
public $type;
|
||||
|
||||
public function setMaxResults($maxResults)
|
||||
@@ -28,6 +29,14 @@ class Google_Service_Vision_Feature extends Google_Model
|
||||
{
|
||||
return $this->maxResults;
|
||||
}
|
||||
public function setModel($model)
|
||||
{
|
||||
$this->model = $model;
|
||||
}
|
||||
public function getModel()
|
||||
{
|
||||
return $this->model;
|
||||
}
|
||||
public function setType($type)
|
||||
{
|
||||
$this->type = $type;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -29,10 +29,16 @@ class Google_Service_Vision_Image extends Google_Model
|
||||
{
|
||||
return $this->content;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_ImageSource
|
||||
*/
|
||||
public function setSource(Google_Service_Vision_ImageSource $source)
|
||||
{
|
||||
$this->source = $source;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_ImageSource
|
||||
*/
|
||||
public function getSource()
|
||||
{
|
||||
return $this->source;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -23,11 +23,19 @@ class Google_Service_Vision_ImageContext extends Google_Collection
|
||||
public $languageHints;
|
||||
protected $latLongRectType = 'Google_Service_Vision_LatLongRect';
|
||||
protected $latLongRectDataType = '';
|
||||
protected $webDetectionParamsType = 'Google_Service_Vision_WebDetectionParams';
|
||||
protected $webDetectionParamsDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_CropHintsParams
|
||||
*/
|
||||
public function setCropHintsParams(Google_Service_Vision_CropHintsParams $cropHintsParams)
|
||||
{
|
||||
$this->cropHintsParams = $cropHintsParams;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_CropHintsParams
|
||||
*/
|
||||
public function getCropHintsParams()
|
||||
{
|
||||
return $this->cropHintsParams;
|
||||
@@ -40,12 +48,32 @@ class Google_Service_Vision_ImageContext extends Google_Collection
|
||||
{
|
||||
return $this->languageHints;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_LatLongRect
|
||||
*/
|
||||
public function setLatLongRect(Google_Service_Vision_LatLongRect $latLongRect)
|
||||
{
|
||||
$this->latLongRect = $latLongRect;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_LatLongRect
|
||||
*/
|
||||
public function getLatLongRect()
|
||||
{
|
||||
return $this->latLongRect;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebDetectionParams
|
||||
*/
|
||||
public function setWebDetectionParams(Google_Service_Vision_WebDetectionParams $webDetectionParams)
|
||||
{
|
||||
$this->webDetectionParams = $webDetectionParams;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebDetectionParams
|
||||
*/
|
||||
public function getWebDetectionParams()
|
||||
{
|
||||
return $this->webDetectionParams;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,10 +20,16 @@ class Google_Service_Vision_ImageProperties extends Google_Model
|
||||
protected $dominantColorsType = 'Google_Service_Vision_DominantColorsAnnotation';
|
||||
protected $dominantColorsDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_DominantColorsAnnotation
|
||||
*/
|
||||
public function setDominantColors(Google_Service_Vision_DominantColorsAnnotation $dominantColors)
|
||||
{
|
||||
$this->dominantColors = $dominantColors;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_DominantColorsAnnotation
|
||||
*/
|
||||
public function getDominantColors()
|
||||
{
|
||||
return $this->dominantColors;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -21,10 +21,16 @@ class Google_Service_Vision_Landmark extends Google_Model
|
||||
protected $positionDataType = '';
|
||||
public $type;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Position
|
||||
*/
|
||||
public function setPosition(Google_Service_Vision_Position $position)
|
||||
{
|
||||
$this->position = $position;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Position
|
||||
*/
|
||||
public function getPosition()
|
||||
{
|
||||
return $this->position;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -22,18 +22,30 @@ class Google_Service_Vision_LatLongRect extends Google_Model
|
||||
protected $minLatLngType = 'Google_Service_Vision_LatLng';
|
||||
protected $minLatLngDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function setMaxLatLng(Google_Service_Vision_LatLng $maxLatLng)
|
||||
{
|
||||
$this->maxLatLng = $maxLatLng;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function getMaxLatLng()
|
||||
{
|
||||
return $this->maxLatLng;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function setMinLatLng(Google_Service_Vision_LatLng $minLatLng)
|
||||
{
|
||||
$this->minLatLng = $minLatLng;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function getMinLatLng()
|
||||
{
|
||||
return $this->minLatLng;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,10 +20,16 @@ class Google_Service_Vision_LocationInfo extends Google_Model
|
||||
protected $latLngType = 'Google_Service_Vision_LatLng';
|
||||
protected $latLngDataType = '';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function setLatLng(Google_Service_Vision_LatLng $latLng)
|
||||
{
|
||||
$this->latLng = $latLng;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_LatLng
|
||||
*/
|
||||
public function getLatLng()
|
||||
{
|
||||
return $this->latLng;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,19 +20,34 @@ class Google_Service_Vision_Page extends Google_Collection
|
||||
protected $collection_key = 'blocks';
|
||||
protected $blocksType = 'Google_Service_Vision_Block';
|
||||
protected $blocksDataType = 'array';
|
||||
public $confidence;
|
||||
public $height;
|
||||
protected $propertyType = 'Google_Service_Vision_TextProperty';
|
||||
protected $propertyDataType = '';
|
||||
public $width;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Block
|
||||
*/
|
||||
public function setBlocks($blocks)
|
||||
{
|
||||
$this->blocks = $blocks;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Block
|
||||
*/
|
||||
public function getBlocks()
|
||||
{
|
||||
return $this->blocks;
|
||||
}
|
||||
public function setConfidence($confidence)
|
||||
{
|
||||
$this->confidence = $confidence;
|
||||
}
|
||||
public function getConfidence()
|
||||
{
|
||||
return $this->confidence;
|
||||
}
|
||||
public function setHeight($height)
|
||||
{
|
||||
$this->height = $height;
|
||||
@@ -41,10 +56,16 @@ class Google_Service_Vision_Page extends Google_Collection
|
||||
{
|
||||
return $this->height;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function setProperty(Google_Service_Vision_TextProperty $property)
|
||||
{
|
||||
$this->property = $property;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function getProperty()
|
||||
{
|
||||
return $this->property;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,31 +20,58 @@ class Google_Service_Vision_Paragraph extends Google_Collection
|
||||
protected $collection_key = 'words';
|
||||
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
|
||||
protected $boundingBoxDataType = '';
|
||||
public $confidence;
|
||||
protected $propertyType = 'Google_Service_Vision_TextProperty';
|
||||
protected $propertyDataType = '';
|
||||
protected $wordsType = 'Google_Service_Vision_Word';
|
||||
protected $wordsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
|
||||
{
|
||||
$this->boundingBox = $boundingBox;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingBox()
|
||||
{
|
||||
return $this->boundingBox;
|
||||
}
|
||||
public function setConfidence($confidence)
|
||||
{
|
||||
$this->confidence = $confidence;
|
||||
}
|
||||
public function getConfidence()
|
||||
{
|
||||
return $this->confidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function setProperty(Google_Service_Vision_TextProperty $property)
|
||||
{
|
||||
$this->property = $property;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function getProperty()
|
||||
{
|
||||
return $this->property;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Word
|
||||
*/
|
||||
public function setWords($words)
|
||||
{
|
||||
$this->words = $words;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Word
|
||||
*/
|
||||
public function getWords()
|
||||
{
|
||||
return $this->words;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -19,6 +19,7 @@ class Google_Service_Vision_SafeSearchAnnotation extends Google_Model
|
||||
{
|
||||
public $adult;
|
||||
public $medical;
|
||||
public $racy;
|
||||
public $spoof;
|
||||
public $violence;
|
||||
|
||||
@@ -38,6 +39,14 @@ class Google_Service_Vision_SafeSearchAnnotation extends Google_Model
|
||||
{
|
||||
return $this->medical;
|
||||
}
|
||||
public function setRacy($racy)
|
||||
{
|
||||
$this->racy = $racy;
|
||||
}
|
||||
public function getRacy()
|
||||
{
|
||||
return $this->racy;
|
||||
}
|
||||
public function setSpoof($spoof)
|
||||
{
|
||||
$this->spoof = $spoof;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -19,22 +19,43 @@ class Google_Service_Vision_Symbol extends Google_Model
|
||||
{
|
||||
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
|
||||
protected $boundingBoxDataType = '';
|
||||
public $confidence;
|
||||
protected $propertyType = 'Google_Service_Vision_TextProperty';
|
||||
protected $propertyDataType = '';
|
||||
public $text;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
|
||||
{
|
||||
$this->boundingBox = $boundingBox;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingBox()
|
||||
{
|
||||
return $this->boundingBox;
|
||||
}
|
||||
public function setConfidence($confidence)
|
||||
{
|
||||
$this->confidence = $confidence;
|
||||
}
|
||||
public function getConfidence()
|
||||
{
|
||||
return $this->confidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function setProperty(Google_Service_Vision_TextProperty $property)
|
||||
{
|
||||
$this->property = $property;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function getProperty()
|
||||
{
|
||||
return $this->property;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -22,10 +22,16 @@ class Google_Service_Vision_TextAnnotation extends Google_Collection
|
||||
protected $pagesDataType = 'array';
|
||||
public $text;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_Page
|
||||
*/
|
||||
public function setPages($pages)
|
||||
{
|
||||
$this->pages = $pages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Page
|
||||
*/
|
||||
public function getPages()
|
||||
{
|
||||
return $this->pages;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -23,18 +23,30 @@ class Google_Service_Vision_TextProperty extends Google_Collection
|
||||
protected $detectedLanguagesType = 'Google_Service_Vision_DetectedLanguage';
|
||||
protected $detectedLanguagesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_DetectedBreak
|
||||
*/
|
||||
public function setDetectedBreak(Google_Service_Vision_DetectedBreak $detectedBreak)
|
||||
{
|
||||
$this->detectedBreak = $detectedBreak;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_DetectedBreak
|
||||
*/
|
||||
public function getDetectedBreak()
|
||||
{
|
||||
return $this->detectedBreak;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_DetectedLanguage
|
||||
*/
|
||||
public function setDetectedLanguages($detectedLanguages)
|
||||
{
|
||||
$this->detectedLanguages = $detectedLanguages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_DetectedLanguage
|
||||
*/
|
||||
public function getDetectedLanguages()
|
||||
{
|
||||
return $this->detectedLanguages;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -18,43 +18,99 @@
|
||||
class Google_Service_Vision_WebDetection extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'webEntities';
|
||||
protected $bestGuessLabelsType = 'Google_Service_Vision_WebLabel';
|
||||
protected $bestGuessLabelsDataType = 'array';
|
||||
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 $visuallySimilarImagesType = 'Google_Service_Vision_WebImage';
|
||||
protected $visuallySimilarImagesDataType = 'array';
|
||||
protected $webEntitiesType = 'Google_Service_Vision_WebEntity';
|
||||
protected $webEntitiesDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_WebLabel
|
||||
*/
|
||||
public function setBestGuessLabels($bestGuessLabels)
|
||||
{
|
||||
$this->bestGuessLabels = $bestGuessLabels;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebLabel
|
||||
*/
|
||||
public function getBestGuessLabels()
|
||||
{
|
||||
return $this->bestGuessLabels;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function setFullMatchingImages($fullMatchingImages)
|
||||
{
|
||||
$this->fullMatchingImages = $fullMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function getFullMatchingImages()
|
||||
{
|
||||
return $this->fullMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebPage
|
||||
*/
|
||||
public function setPagesWithMatchingImages($pagesWithMatchingImages)
|
||||
{
|
||||
$this->pagesWithMatchingImages = $pagesWithMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebPage
|
||||
*/
|
||||
public function getPagesWithMatchingImages()
|
||||
{
|
||||
return $this->pagesWithMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function setPartialMatchingImages($partialMatchingImages)
|
||||
{
|
||||
$this->partialMatchingImages = $partialMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function getPartialMatchingImages()
|
||||
{
|
||||
return $this->partialMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function setVisuallySimilarImages($visuallySimilarImages)
|
||||
{
|
||||
$this->visuallySimilarImages = $visuallySimilarImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function getVisuallySimilarImages()
|
||||
{
|
||||
return $this->visuallySimilarImages;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebEntity
|
||||
*/
|
||||
public function setWebEntities($webEntities)
|
||||
{
|
||||
$this->webEntities = $webEntities;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebEntity
|
||||
*/
|
||||
public function getWebEntities()
|
||||
{
|
||||
return $this->webEntities;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -15,11 +15,53 @@
|
||||
* the License.
|
||||
*/
|
||||
|
||||
class Google_Service_Vision_WebPage extends Google_Model
|
||||
class Google_Service_Vision_WebPage extends Google_Collection
|
||||
{
|
||||
protected $collection_key = 'partialMatchingImages';
|
||||
protected $fullMatchingImagesType = 'Google_Service_Vision_WebImage';
|
||||
protected $fullMatchingImagesDataType = 'array';
|
||||
public $pageTitle;
|
||||
protected $partialMatchingImagesType = 'Google_Service_Vision_WebImage';
|
||||
protected $partialMatchingImagesDataType = 'array';
|
||||
public $score;
|
||||
public $url;
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function setFullMatchingImages($fullMatchingImages)
|
||||
{
|
||||
$this->fullMatchingImages = $fullMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function getFullMatchingImages()
|
||||
{
|
||||
return $this->fullMatchingImages;
|
||||
}
|
||||
public function setPageTitle($pageTitle)
|
||||
{
|
||||
$this->pageTitle = $pageTitle;
|
||||
}
|
||||
public function getPageTitle()
|
||||
{
|
||||
return $this->pageTitle;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function setPartialMatchingImages($partialMatchingImages)
|
||||
{
|
||||
$this->partialMatchingImages = $partialMatchingImages;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_WebImage
|
||||
*/
|
||||
public function getPartialMatchingImages()
|
||||
{
|
||||
return $this->partialMatchingImages;
|
||||
}
|
||||
public function setScore($score)
|
||||
{
|
||||
$this->score = $score;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* 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
|
||||
@@ -20,31 +20,58 @@ class Google_Service_Vision_Word extends Google_Collection
|
||||
protected $collection_key = 'symbols';
|
||||
protected $boundingBoxType = 'Google_Service_Vision_BoundingPoly';
|
||||
protected $boundingBoxDataType = '';
|
||||
public $confidence;
|
||||
protected $propertyType = 'Google_Service_Vision_TextProperty';
|
||||
protected $propertyDataType = '';
|
||||
protected $symbolsType = 'Google_Service_Vision_Symbol';
|
||||
protected $symbolsDataType = 'array';
|
||||
|
||||
/**
|
||||
* @param Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function setBoundingBox(Google_Service_Vision_BoundingPoly $boundingBox)
|
||||
{
|
||||
$this->boundingBox = $boundingBox;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_BoundingPoly
|
||||
*/
|
||||
public function getBoundingBox()
|
||||
{
|
||||
return $this->boundingBox;
|
||||
}
|
||||
public function setConfidence($confidence)
|
||||
{
|
||||
$this->confidence = $confidence;
|
||||
}
|
||||
public function getConfidence()
|
||||
{
|
||||
return $this->confidence;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function setProperty(Google_Service_Vision_TextProperty $property)
|
||||
{
|
||||
$this->property = $property;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_TextProperty
|
||||
*/
|
||||
public function getProperty()
|
||||
{
|
||||
return $this->property;
|
||||
}
|
||||
/**
|
||||
* @param Google_Service_Vision_Symbol
|
||||
*/
|
||||
public function setSymbols($symbols)
|
||||
{
|
||||
$this->symbols = $symbols;
|
||||
}
|
||||
/**
|
||||
* @return Google_Service_Vision_Symbol
|
||||
*/
|
||||
public function getSymbols()
|
||||
{
|
||||
return $this->symbols;
|
||||
|
||||
Reference in New Issue
Block a user