Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_CancelOperationRequest extends Google_Model
{
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateFileResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $inputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig';
protected $inputConfigDataType = '';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig
*/
public function setInputConfig(Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,214 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext';
protected $contextDataType = '';
protected $cropHintsAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation';
protected $cropHintsAnnotationDataType = '';
protected $errorType = 'Google_Service_Vision_Status';
protected $errorDataType = '';
protected $faceAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotation';
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotation';
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties';
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $safeSearchAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetection';
protected $webDetectionDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext
*/
public function setContext(Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation
*/
public function setCropHintsAnnotation(Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation
*/
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_GoogleCloudVisionV1p2beta1FaceAnnotation
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotation
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotation
*/
public function setFullTextAnnotation(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties
*/
public function setImagePropertiesAnnotation(Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetection
*/
public function setWebDetection(Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetection
*/
public function getWebDetection()
{
return $this->webDetection;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse extends Google_Model
{
protected $outputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1OutputConfig';
protected $outputConfigDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1OutputConfig
*/
public function setOutputConfig(Google_Service_Vision_GoogleCloudVisionV1p2beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Block extends Google_Collection
{
protected $collection_key = 'paragraphs';
public $blockType;
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $paragraphsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Paragraph';
protected $paragraphsDataType = 'array';
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
public function getBlockType()
{
return $this->blockType;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Paragraph
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Paragraph
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly extends Google_Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1NormalizedVertex';
protected $normalizedVerticesDataType = 'array';
protected $verticesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Vertex';
protected $verticesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1NormalizedVertex
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1NormalizedVertex
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Vertex
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Vertex
*/
public function getVertices()
{
return $this->vertices;
}
}

View File

@@ -0,0 +1,55 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1ColorInfo extends Google_Model
{
protected $colorType = 'Google_Service_Vision_Color';
protected $colorDataType = '';
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;
}
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,55 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHint extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $importanceFraction;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
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,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation extends Google_Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHint';
protected $cropHintsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHint
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHint
*/
public function getCropHints()
{
return $this->cropHints;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation extends Google_Collection
{
protected $collection_key = 'colors';
protected $colorsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ColorInfo';
protected $colorsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ColorInfo
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ColorInfo
*/
public function getColors()
{
return $this->colors;
}
}

View File

@@ -0,0 +1,124 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation extends Google_Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $description;
public $locale;
protected $locationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1LocationInfo';
protected $locationsDataType = 'array';
public $mid;
protected $propertiesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Property';
protected $propertiesDataType = 'array';
public $score;
public $topicality;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
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;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1LocationInfo
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1LocationInfo
*/
public function getLocations()
{
return $this->locations;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Property
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Property
*/
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,178 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotation extends Google_Collection
{
protected $collection_key = 'landmarks';
public $angerLikelihood;
public $blurredLikelihood;
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $detectionConfidence;
protected $fdBoundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $fdBoundingPolyDataType = '';
public $headwearLikelihood;
public $joyLikelihood;
public $landmarkingConfidence;
protected $landmarksType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotationLandmark';
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;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setFdBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
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;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotationLandmark
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotationLandmark
*/
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,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotationLandmark extends Google_Model
{
protected $positionType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Position';
protected $positionDataType = '';
public $type;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Position
*/
public function setPosition(Google_Service_Vision_GoogleCloudVisionV1p2beta1Position $position)
{
$this->position = $position;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Position
*/
public function getPosition()
{
return $this->position;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination extends Google_Model
{
public $uri;
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource extends Google_Model
{
public $uri;
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext extends Google_Model
{
public $pageNumber;
public $uri;
public function setPageNumber($pageNumber)
{
$this->pageNumber = $pageNumber;
}
public function getPageNumber()
{
return $this->pageNumber;
}
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties extends Google_Model
{
protected $dominantColorsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation';
protected $dominantColorsDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation
*/
public function setDominantColors(Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation
*/
public function getDominantColors()
{
return $this->dominantColors;
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig extends Google_Model
{
protected $gcsSourceType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource';
protected $gcsSourceDataType = '';
public $mimeType;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource
*/
public function setGcsSource(Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1LocationInfo 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;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1NormalizedVertex 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,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1OperationMetadata extends Google_Model
{
public $createTime;
public $state;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1OutputConfig extends Google_Model
{
public $batchSize;
protected $gcsDestinationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination';
protected $gcsDestinationDataType = '';
public function setBatchSize($batchSize)
{
$this->batchSize = $batchSize;
}
public function getBatchSize()
{
return $this->batchSize;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination
*/
public function setGcsDestination(Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
}

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Page extends Google_Collection
{
protected $collection_key = 'blocks';
protected $blocksType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Block';
protected $blocksDataType = 'array';
public $confidence;
public $height;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $width;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Block
*/
public function setBlocks($blocks)
{
$this->blocks = $blocks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Block
*/
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;
}
public function getHeight()
{
return $this->height;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Paragraph extends Google_Collection
{
protected $collection_key = 'words';
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
protected $wordsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Word';
protected $wordsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Word
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Word
*/
public function getWords()
{
return $this->words;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Position 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 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Property 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,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation extends Google_Model
{
public $adult;
public $medical;
public $racy;
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 setRacy($racy)
{
$this->racy = $racy;
}
public function getRacy()
{
return $this->racy;
}
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,71 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Symbol extends Google_Model
{
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $text;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotation extends Google_Collection
{
protected $collection_key = 'pages';
protected $pagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Page';
protected $pagesDataType = 'array';
public $text;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Page
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Page
*/
public function getPages()
{
return $this->pages;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak 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 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage 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,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty extends Google_Collection
{
protected $collection_key = 'detectedLanguages';
protected $detectedBreakType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak';
protected $detectedBreakDataType = '';
protected $detectedLanguagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage';
protected $detectedLanguagesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak
*/
public function setDetectedBreak(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak $detectedBreak)
{
$this->detectedBreak = $detectedBreak;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedBreak
*/
public function getDetectedBreak()
{
return $this->detectedBreak;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage
*/
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationDetectedLanguage
*/
public function getDetectedLanguages()
{
return $this->detectedLanguages;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Vertex 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,118 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetection extends Google_Collection
{
protected $collection_key = 'webEntities';
protected $bestGuessLabelsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebLabel';
protected $bestGuessLabelsDataType = 'array';
protected $fullMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage';
protected $fullMatchingImagesDataType = 'array';
protected $pagesWithMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebPage';
protected $pagesWithMatchingImagesDataType = 'array';
protected $partialMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage';
protected $partialMatchingImagesDataType = 'array';
protected $visuallySimilarImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage';
protected $visuallySimilarImagesDataType = 'array';
protected $webEntitiesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebEntity';
protected $webEntitiesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebLabel
*/
public function setBestGuessLabels($bestGuessLabels)
{
$this->bestGuessLabels = $bestGuessLabels;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebLabel
*/
public function getBestGuessLabels()
{
return $this->bestGuessLabels;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebPage
*/
public function setPagesWithMatchingImages($pagesWithMatchingImages)
{
$this->pagesWithMatchingImages = $pagesWithMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebPage
*/
public function getPagesWithMatchingImages()
{
return $this->pagesWithMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function setVisuallySimilarImages($visuallySimilarImages)
{
$this->visuallySimilarImages = $visuallySimilarImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function getVisuallySimilarImages()
{
return $this->visuallySimilarImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebEntity
*/
public function setWebEntities($webEntities)
{
$this->webEntities = $webEntities;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebEntity
*/
public function getWebEntities()
{
return $this->webEntities;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebEntity 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 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage 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 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebLabel extends Google_Model
{
public $label;
public $languageCode;
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
}

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebPage extends Google_Collection
{
protected $collection_key = 'partialMatchingImages';
protected $fullMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage';
protected $fullMatchingImagesDataType = 'array';
public $pageTitle;
protected $partialMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage';
protected $partialMatchingImagesDataType = 'array';
public $score;
public $url;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
public function setPageTitle($pageTitle)
{
$this->pageTitle = $pageTitle;
}
public function getPageTitle()
{
return $this->pageTitle;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1WebDetectionWebImage
*/
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
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,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_GoogleCloudVisionV1p2beta1Word extends Google_Collection
{
protected $collection_key = 'symbols';
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
protected $symbolsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Symbol';
protected $symbolsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Symbol
*/
public function setSymbols($symbols)
{
$this->symbols = $symbols;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Symbol
*/
public function getSymbols()
{
return $this->symbols;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_Vision_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_Vision_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_Vision_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_Vision_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @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;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "locations" collection of methods.
* Typical usage is:
* <code>
* $visionService = new Google_Service_Vision(...);
* $locations = $visionService->locations;
* </code>
*/
class Google_Service_Vision_Resource_Locations extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $visionService = new Google_Service_Vision(...);
* $operations = $visionService->operations;
* </code>
*/
class Google_Service_Vision_Resource_LocationsOperations extends Google_Service_Resource
{
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_Vision_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Vision_Operation");
}
}

View File

@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $visionService = new Google_Service_Vision(...);
* $operations = $visionService->operations;
* </code>
*/
class Google_Service_Vision_Resource_Operations extends Google_Service_Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param Google_Service_Vision_CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Vision_VisionEmpty
*/
public function cancel($name, Google_Service_Vision_CancelOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_Vision_VisionEmpty");
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_Vision_VisionEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Vision_VisionEmpty");
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_Vision_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Vision_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`.
*
* NOTE: the `name` binding allows API services to override the binding to use
* different resource name schemes, such as `users/operations`. To override the
* binding, API services can add a binding such as
* `"/v1/{name=users}/operations"` to their service configuration. For backwards
* compatibility, the default name includes the operations collection id,
* however overriding users must ensure the name binding is the parent resource,
* without the operations collection id. (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param string filter The standard list filter.
* @opt_param string pageToken The standard list page token.
* @opt_param int pageSize The standard list page size.
* @return Google_Service_Vision_ListOperationsResponse
*/
public function listOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Vision_ListOperationsResponse");
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_VisionEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_WebDetectionParams extends Google_Model
{
public $includeGeoResults;
public function setIncludeGeoResults($includeGeoResults)
{
$this->includeGeoResults = $includeGeoResults;
}
public function getIncludeGeoResults()
{
return $this->includeGeoResults;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_Vision_WebLabel extends Google_Model
{
public $label;
public $languageCode;
public function setLabel($label)
{
$this->label = $label;
}
public function getLabel()
{
return $this->label;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
}