Mise à jour des librairies

This commit is contained in:
lars
2019-03-10 23:30:23 +01:00
parent 2040b7be39
commit 7df3d72953
3603 changed files with 233169 additions and 107764 deletions

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_AddProductToProductSetRequest extends Google_Model
{
public $product;
public function setProduct($product)
{
$this->product = $product;
}
public function getProduct()
{
return $this->product;
}
}

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_AnnotateFileResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $inputConfigType = 'Google_Service_Vision_InputConfig';
protected $inputConfigDataType = '';
protected $responsesType = 'Google_Service_Vision_AnnotateImageResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_InputConfig
*/
public function setInputConfig(Google_Service_Vision_InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return Google_Service_Vision_InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param Google_Service_Vision_AnnotateImageResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_AnnotateImageResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -18,6 +18,8 @@
class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = 'Google_Service_Vision_ImageAnnotationContext';
protected $contextDataType = '';
protected $cropHintsAnnotationType = 'Google_Service_Vision_CropHintsAnnotation';
protected $cropHintsAnnotationDataType = '';
protected $errorType = 'Google_Service_Vision_Status';
@@ -32,8 +34,12 @@ class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = 'Google_Service_Vision_LocalizedObjectAnnotation';
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = 'Google_Service_Vision_ProductSearchResults';
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = 'Google_Service_Vision_SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_EntityAnnotation';
@@ -41,6 +47,20 @@ class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
protected $webDetectionType = 'Google_Service_Vision_WebDetection';
protected $webDetectionDataType = '';
/**
* @param Google_Service_Vision_ImageAnnotationContext
*/
public function setContext(Google_Service_Vision_ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return Google_Service_Vision_ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_Vision_CropHintsAnnotation
*/
@@ -139,6 +159,20 @@ class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
{
return $this->landmarkAnnotations;
}
/**
* @param Google_Service_Vision_LocalizedObjectAnnotation
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return Google_Service_Vision_LocalizedObjectAnnotation
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param Google_Service_Vision_EntityAnnotation
*/
@@ -153,6 +187,20 @@ class Google_Service_Vision_AnnotateImageResponse extends Google_Collection
{
return $this->logoAnnotations;
}
/**
* @param Google_Service_Vision_ProductSearchResults
*/
public function setProductSearchResults(Google_Service_Vision_ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return Google_Service_Vision_ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param Google_Service_Vision_SafeSearchAnnotation
*/

View File

@@ -0,0 +1,86 @@
<?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_AsyncAnnotateFileRequest extends Google_Collection
{
protected $collection_key = 'features';
protected $featuresType = 'Google_Service_Vision_Feature';
protected $featuresDataType = 'array';
protected $imageContextType = 'Google_Service_Vision_ImageContext';
protected $imageContextDataType = '';
protected $inputConfigType = 'Google_Service_Vision_InputConfig';
protected $inputConfigDataType = '';
protected $outputConfigType = 'Google_Service_Vision_OutputConfig';
protected $outputConfigDataType = '';
/**
* @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_ImageContext
*/
public function setImageContext(Google_Service_Vision_ImageContext $imageContext)
{
$this->imageContext = $imageContext;
}
/**
* @return Google_Service_Vision_ImageContext
*/
public function getImageContext()
{
return $this->imageContext;
}
/**
* @param Google_Service_Vision_InputConfig
*/
public function setInputConfig(Google_Service_Vision_InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return Google_Service_Vision_InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param Google_Service_Vision_OutputConfig
*/
public function setOutputConfig(Google_Service_Vision_OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return Google_Service_Vision_OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}

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_AsyncAnnotateFileResponse extends Google_Model
{
protected $outputConfigType = 'Google_Service_Vision_OutputConfig';
protected $outputConfigDataType = '';
/**
* @param Google_Service_Vision_OutputConfig
*/
public function setOutputConfig(Google_Service_Vision_OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return Google_Service_Vision_OutputConfig
*/
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_AsyncBatchAnnotateFilesRequest extends Google_Collection
{
protected $collection_key = 'requests';
protected $requestsType = 'Google_Service_Vision_AsyncAnnotateFileRequest';
protected $requestsDataType = 'array';
/**
* @param Google_Service_Vision_AsyncAnnotateFileRequest
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return Google_Service_Vision_AsyncAnnotateFileRequest
*/
public function getRequests()
{
return $this->requests;
}
}

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_AsyncBatchAnnotateFilesResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_Vision_AsyncAnnotateFileResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_AsyncAnnotateFileResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_AsyncAnnotateFileResponse
*/
public function getResponses()
{
return $this->responses;
}
}

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_BatchOperationMetadata extends Google_Model
{
public $endTime;
public $state;
public $submitTime;
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setSubmitTime($submitTime)
{
$this->submitTime = $submitTime;
}
public function getSubmitTime()
{
return $this->submitTime;
}
}

View File

@@ -18,9 +18,25 @@
class Google_Service_Vision_BoundingPoly extends Google_Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = 'Google_Service_Vision_NormalizedVertex';
protected $normalizedVerticesDataType = 'array';
protected $verticesType = 'Google_Service_Vision_Vertex';
protected $verticesDataType = 'array';
/**
* @param Google_Service_Vision_NormalizedVertex
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return Google_Service_Vision_NormalizedVertex
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param Google_Service_Vision_Vertex
*/

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_GcsDestination 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_GcsSource extends Google_Model
{
public $uri;
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

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_GoogleCloudVisionV1p1beta1AnnotateFileResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $inputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1InputConfig';
protected $inputConfigDataType = '';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AnnotateImageResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1InputConfig
*/
public function setInputConfig(Google_Service_Vision_GoogleCloudVisionV1p1beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1AnnotateImageResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1AnnotateImageResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,246 @@
<?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_GoogleCloudVisionV1p1beta1AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageAnnotationContext';
protected $contextDataType = '';
protected $cropHintsAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHintsAnnotation';
protected $cropHintsAnnotationDataType = '';
protected $errorType = 'Google_Service_Vision_Status';
protected $errorDataType = '';
protected $faceAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotation';
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotation';
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageProperties';
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation';
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation';
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResults';
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation';
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetection';
protected $webDetectionDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageAnnotationContext
*/
public function setContext(Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHintsAnnotation
*/
public function setCropHintsAnnotation(Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHintsAnnotation
*/
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_GoogleCloudVisionV1p1beta1FaceAnnotation
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotation
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotation
*/
public function setFullTextAnnotation(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageProperties
*/
public function setImagePropertiesAnnotation(Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResults
*/
public function setProductSearchResults(Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(Google_Service_Vision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetection
*/
public function setWebDetection(Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetection
*/
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_GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse extends Google_Model
{
protected $outputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1OutputConfig';
protected $outputConfigDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1OutputConfig
*/
public function setOutputConfig(Google_Service_Vision_GoogleCloudVisionV1p1beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1OutputConfig
*/
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_GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse
*/
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_GoogleCloudVisionV1p1beta1Block extends Google_Collection
{
protected $collection_key = 'paragraphs';
public $blockType;
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $paragraphsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Paragraph';
protected $paragraphsDataType = 'array';
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
public function getBlockType()
{
return $this->blockType;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Paragraph
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Paragraph
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
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_GoogleCloudVisionV1p1beta1BoundingPoly extends Google_Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1NormalizedVertex';
protected $normalizedVerticesDataType = 'array';
protected $verticesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Vertex';
protected $verticesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1NormalizedVertex
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1NormalizedVertex
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Vertex
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Vertex
*/
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_GoogleCloudVisionV1p1beta1ColorInfo 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_GoogleCloudVisionV1p1beta1CropHint extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $importanceFraction;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
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_GoogleCloudVisionV1p1beta1CropHintsAnnotation extends Google_Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHint';
protected $cropHintsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHint
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHint
*/
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_GoogleCloudVisionV1p1beta1DominantColorsAnnotation extends Google_Collection
{
protected $collection_key = 'colors';
protected $colorsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ColorInfo';
protected $colorsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ColorInfo
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ColorInfo
*/
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_GoogleCloudVisionV1p1beta1EntityAnnotation extends Google_Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $description;
public $locale;
protected $locationsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1LocationInfo';
protected $locationsDataType = 'array';
public $mid;
protected $propertiesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Property';
protected $propertiesDataType = 'array';
public $score;
public $topicality;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
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_GoogleCloudVisionV1p1beta1LocationInfo
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1LocationInfo
*/
public function getLocations()
{
return $this->locations;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Property
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Property
*/
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_GoogleCloudVisionV1p1beta1FaceAnnotation extends Google_Collection
{
protected $collection_key = 'landmarks';
public $angerLikelihood;
public $blurredLikelihood;
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $detectionConfidence;
protected $fdBoundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $fdBoundingPolyDataType = '';
public $headwearLikelihood;
public $joyLikelihood;
public $landmarkingConfidence;
protected $landmarksType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotationLandmark';
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_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setFdBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
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_GoogleCloudVisionV1p1beta1FaceAnnotationLandmark
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotationLandmark
*/
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_GoogleCloudVisionV1p1beta1FaceAnnotationLandmark extends Google_Model
{
protected $positionType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Position';
protected $positionDataType = '';
public $type;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Position
*/
public function setPosition(Google_Service_Vision_GoogleCloudVisionV1p1beta1Position $position)
{
$this->position = $position;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Position
*/
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_GoogleCloudVisionV1p1beta1GcsDestination 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_GoogleCloudVisionV1p1beta1GcsSource 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_GoogleCloudVisionV1p1beta1ImageAnnotationContext 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_GoogleCloudVisionV1p1beta1ImageProperties extends Google_Model
{
protected $dominantColorsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1DominantColorsAnnotation';
protected $dominantColorsDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1DominantColorsAnnotation
*/
public function setDominantColors(Google_Service_Vision_GoogleCloudVisionV1p1beta1DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1DominantColorsAnnotation
*/
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_GoogleCloudVisionV1p1beta1InputConfig extends Google_Model
{
protected $gcsSourceType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsSource';
protected $gcsSourceDataType = '';
public $mimeType;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsSource
*/
public function setGcsSource(Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
}

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_GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $languageCode;
public $mid;
public $name;
public $score;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

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_GoogleCloudVisionV1p1beta1LocationInfo 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_GoogleCloudVisionV1p1beta1NormalizedVertex 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_GoogleCloudVisionV1p1beta1OperationMetadata 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_GoogleCloudVisionV1p1beta1OutputConfig extends Google_Model
{
public $batchSize;
protected $gcsDestinationType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsDestination';
protected $gcsDestinationDataType = '';
public function setBatchSize($batchSize)
{
$this->batchSize = $batchSize;
}
public function getBatchSize()
{
return $this->batchSize;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsDestination
*/
public function setGcsDestination(Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsDestination
*/
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_GoogleCloudVisionV1p1beta1Page extends Google_Collection
{
protected $collection_key = 'blocks';
protected $blocksType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Block';
protected $blocksDataType = 'array';
public $confidence;
public $height;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $width;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Block
*/
public function setBlocks($blocks)
{
$this->blocks = $blocks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Block
*/
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_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
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_GoogleCloudVisionV1p1beta1Paragraph extends Google_Collection
{
protected $collection_key = 'words';
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
protected $wordsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Word';
protected $wordsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Word
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Word
*/
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_GoogleCloudVisionV1p1beta1Position 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,74 @@
<?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_GoogleCloudVisionV1p1beta1Product extends Google_Collection
{
protected $collection_key = 'productLabels';
public $description;
public $displayName;
public $name;
public $productCategory;
protected $productLabelsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductKeyValue';
protected $productLabelsDataType = 'array';
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProductCategory($productCategory)
{
$this->productCategory = $productCategory;
}
public function getProductCategory()
{
return $this->productCategory;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductKeyValue
*/
public function setProductLabels($productLabels)
{
$this->productLabels = $productLabels;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductKeyValue
*/
public function getProductLabels()
{
return $this->productLabels;
}
}

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_GoogleCloudVisionV1p1beta1ProductKeyValue extends Google_Model
{
public $key;
public $value;
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

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

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_GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult extends Google_Collection
{
protected $collection_key = 'results';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingPolyDataType = '';
protected $resultsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult';
protected $resultsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult
*/
public function getResults()
{
return $this->results;
}
}

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_GoogleCloudVisionV1p1beta1ProductSearchResultsResult extends Google_Model
{
public $image;
protected $productType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Product';
protected $productDataType = '';
public $score;
public function setImage($image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Product
*/
public function setProduct(Google_Service_Vision_GoogleCloudVisionV1p1beta1Product $product)
{
$this->product = $product;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Product
*/
public function getProduct()
{
return $this->product;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

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_GoogleCloudVisionV1p1beta1Property 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_GoogleCloudVisionV1p1beta1SafeSearchAnnotation 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_GoogleCloudVisionV1p1beta1Symbol extends Google_Model
{
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $text;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
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_GoogleCloudVisionV1p1beta1TextAnnotation extends Google_Collection
{
protected $collection_key = 'pages';
protected $pagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Page';
protected $pagesDataType = 'array';
public $text;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Page
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Page
*/
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_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak 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_GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage 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_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty extends Google_Collection
{
protected $collection_key = 'detectedLanguages';
protected $detectedBreakType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak';
protected $detectedBreakDataType = '';
protected $detectedLanguagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage';
protected $detectedLanguagesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
*/
public function setDetectedBreak(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak $detectedBreak)
{
$this->detectedBreak = $detectedBreak;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
*/
public function getDetectedBreak()
{
return $this->detectedBreak;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage
*/
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage
*/
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_GoogleCloudVisionV1p1beta1Vertex 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_GoogleCloudVisionV1p1beta1WebDetection extends Google_Collection
{
protected $collection_key = 'webEntities';
protected $bestGuessLabelsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebLabel';
protected $bestGuessLabelsDataType = 'array';
protected $fullMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage';
protected $fullMatchingImagesDataType = 'array';
protected $pagesWithMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebPage';
protected $pagesWithMatchingImagesDataType = 'array';
protected $partialMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage';
protected $partialMatchingImagesDataType = 'array';
protected $visuallySimilarImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage';
protected $visuallySimilarImagesDataType = 'array';
protected $webEntitiesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebEntity';
protected $webEntitiesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebLabel
*/
public function setBestGuessLabels($bestGuessLabels)
{
$this->bestGuessLabels = $bestGuessLabels;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebLabel
*/
public function getBestGuessLabels()
{
return $this->bestGuessLabels;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebPage
*/
public function setPagesWithMatchingImages($pagesWithMatchingImages)
{
$this->pagesWithMatchingImages = $pagesWithMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebPage
*/
public function getPagesWithMatchingImages()
{
return $this->pagesWithMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function setVisuallySimilarImages($visuallySimilarImages)
{
$this->visuallySimilarImages = $visuallySimilarImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function getVisuallySimilarImages()
{
return $this->visuallySimilarImages;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebEntity
*/
public function setWebEntities($webEntities)
{
$this->webEntities = $webEntities;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebEntity
*/
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_GoogleCloudVisionV1p1beta1WebDetectionWebEntity 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_GoogleCloudVisionV1p1beta1WebDetectionWebImage 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_GoogleCloudVisionV1p1beta1WebDetectionWebLabel 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_GoogleCloudVisionV1p1beta1WebDetectionWebPage extends Google_Collection
{
protected $collection_key = 'partialMatchingImages';
protected $fullMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage';
protected $fullMatchingImagesDataType = 'array';
public $pageTitle;
protected $partialMatchingImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage';
protected $partialMatchingImagesDataType = 'array';
public $score;
public $url;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
public function setPageTitle($pageTitle)
{
$this->pageTitle = $pageTitle;
}
public function getPageTitle()
{
return $this->pageTitle;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage
*/
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_GoogleCloudVisionV1p1beta1Word extends Google_Collection
{
protected $collection_key = 'symbols';
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
protected $symbolsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Symbol';
protected $symbolsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Symbol
*/
public function setSymbols($symbols)
{
$this->symbols = $symbols;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Symbol
*/
public function getSymbols()
{
return $this->symbols;
}
}

View File

@@ -34,8 +34,12 @@ class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse exte
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation';
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResults';
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation';
@@ -155,6 +159,20 @@ class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse exte
{
return $this->landmarkAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation
*/
@@ -169,6 +187,20 @@ class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse exte
{
return $this->logoAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResults
*/
public function setProductSearchResults(Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1SafeSearchAnnotation
*/

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_GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $languageCode;
public $mid;
public $name;
public $score;
/**
* @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 setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

View File

@@ -0,0 +1,74 @@
<?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_GoogleCloudVisionV1p2beta1Product extends Google_Collection
{
protected $collection_key = 'productLabels';
public $description;
public $displayName;
public $name;
public $productCategory;
protected $productLabelsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductKeyValue';
protected $productLabelsDataType = 'array';
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProductCategory($productCategory)
{
$this->productCategory = $productCategory;
}
public function getProductCategory()
{
return $this->productCategory;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductKeyValue
*/
public function setProductLabels($productLabels)
{
$this->productLabels = $productLabels;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductKeyValue
*/
public function getProductLabels()
{
return $this->productLabels;
}
}

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_GoogleCloudVisionV1p2beta1ProductKeyValue extends Google_Model
{
public $key;
public $value;
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

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

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_GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult extends Google_Collection
{
protected $collection_key = 'results';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly';
protected $boundingPolyDataType = '';
protected $resultsType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult';
protected $resultsDataType = 'array';
/**
* @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;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1ProductSearchResultsResult
*/
public function getResults()
{
return $this->results;
}
}

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_GoogleCloudVisionV1p2beta1ProductSearchResultsResult extends Google_Model
{
public $image;
protected $productType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Product';
protected $productDataType = '';
public $score;
public function setImage($image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Product
*/
public function setProduct(Google_Service_Vision_GoogleCloudVisionV1p2beta1Product $product)
{
$this->product = $product;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Product
*/
public function getProduct()
{
return $this->product;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

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_GoogleCloudVisionV1p3beta1AnnotateFileResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $inputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1InputConfig';
protected $inputConfigDataType = '';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1AnnotateImageResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1InputConfig
*/
public function setInputConfig(Google_Service_Vision_GoogleCloudVisionV1p3beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1AnnotateImageResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1AnnotateImageResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,246 @@
<?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_GoogleCloudVisionV1p3beta1AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageAnnotationContext';
protected $contextDataType = '';
protected $cropHintsAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHintsAnnotation';
protected $cropHintsAnnotationDataType = '';
protected $errorType = 'Google_Service_Vision_Status';
protected $errorDataType = '';
protected $faceAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1FaceAnnotation';
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotation';
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageProperties';
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation';
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation';
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation';
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation';
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResults';
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation';
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation';
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1WebDetection';
protected $webDetectionDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageAnnotationContext
*/
public function setContext(Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHintsAnnotation
*/
public function setCropHintsAnnotation(Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHintsAnnotation
*/
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_GoogleCloudVisionV1p3beta1FaceAnnotation
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1FaceAnnotation
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotation
*/
public function setFullTextAnnotation(Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageProperties
*/
public function setImagePropertiesAnnotation(Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResults
*/
public function setProductSearchResults(Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(Google_Service_Vision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1EntityAnnotation
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1WebDetection
*/
public function setWebDetection(Google_Service_Vision_GoogleCloudVisionV1p3beta1WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1WebDetection
*/
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_GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse extends Google_Model
{
protected $outputConfigType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1OutputConfig';
protected $outputConfigDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1OutputConfig
*/
public function setOutputConfig(Google_Service_Vision_GoogleCloudVisionV1p3beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1OutputConfig
*/
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_GoogleCloudVisionV1p3beta1AsyncBatchAnnotateFilesResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1AsyncAnnotateFileResponse
*/
public function getResponses()
{
return $this->responses;
}
}

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_GoogleCloudVisionV1p3beta1BatchOperationMetadata extends Google_Model
{
public $endTime;
public $state;
public $submitTime;
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
public function getEndTime()
{
return $this->endTime;
}
public function setState($state)
{
$this->state = $state;
}
public function getState()
{
return $this->state;
}
public function setSubmitTime($submitTime)
{
$this->submitTime = $submitTime;
}
public function getSubmitTime()
{
return $this->submitTime;
}
}

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_GoogleCloudVisionV1p3beta1Block extends Google_Collection
{
protected $collection_key = 'paragraphs';
public $blockType;
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $paragraphsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Paragraph';
protected $paragraphsDataType = 'array';
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
public function getBlockType()
{
return $this->blockType;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Paragraph
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Paragraph
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
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_GoogleCloudVisionV1p3beta1BoundingPoly extends Google_Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1NormalizedVertex';
protected $normalizedVerticesDataType = 'array';
protected $verticesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Vertex';
protected $verticesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1NormalizedVertex
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1NormalizedVertex
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Vertex
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Vertex
*/
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_GoogleCloudVisionV1p3beta1ColorInfo 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_GoogleCloudVisionV1p3beta1CropHint extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $importanceFraction;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
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_GoogleCloudVisionV1p3beta1CropHintsAnnotation extends Google_Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHint';
protected $cropHintsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHint
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1CropHint
*/
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_GoogleCloudVisionV1p3beta1DominantColorsAnnotation extends Google_Collection
{
protected $collection_key = 'colors';
protected $colorsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ColorInfo';
protected $colorsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ColorInfo
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ColorInfo
*/
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_GoogleCloudVisionV1p3beta1EntityAnnotation extends Google_Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $confidence;
public $description;
public $locale;
protected $locationsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1LocationInfo';
protected $locationsDataType = 'array';
public $mid;
protected $propertiesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Property';
protected $propertiesDataType = 'array';
public $score;
public $topicality;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
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_GoogleCloudVisionV1p3beta1LocationInfo
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1LocationInfo
*/
public function getLocations()
{
return $this->locations;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Property
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Property
*/
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_GoogleCloudVisionV1p3beta1FaceAnnotation extends Google_Collection
{
protected $collection_key = 'landmarks';
public $angerLikelihood;
public $blurredLikelihood;
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $detectionConfidence;
protected $fdBoundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $fdBoundingPolyDataType = '';
public $headwearLikelihood;
public $joyLikelihood;
public $landmarkingConfidence;
protected $landmarksType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1FaceAnnotationLandmark';
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_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setFdBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
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_GoogleCloudVisionV1p3beta1FaceAnnotationLandmark
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1FaceAnnotationLandmark
*/
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_GoogleCloudVisionV1p3beta1FaceAnnotationLandmark extends Google_Model
{
protected $positionType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Position';
protected $positionDataType = '';
public $type;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Position
*/
public function setPosition(Google_Service_Vision_GoogleCloudVisionV1p3beta1Position $position)
{
$this->position = $position;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Position
*/
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_GoogleCloudVisionV1p3beta1GcsDestination 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_GoogleCloudVisionV1p3beta1GcsSource 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_GoogleCloudVisionV1p3beta1ImageAnnotationContext 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_GoogleCloudVisionV1p3beta1ImageProperties extends Google_Model
{
protected $dominantColorsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1DominantColorsAnnotation';
protected $dominantColorsDataType = '';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1DominantColorsAnnotation
*/
public function setDominantColors(Google_Service_Vision_GoogleCloudVisionV1p3beta1DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1DominantColorsAnnotation
*/
public function getDominantColors()
{
return $this->dominantColors;
}
}

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_GoogleCloudVisionV1p3beta1ImportProductSetsResponse extends Google_Collection
{
protected $collection_key = 'statuses';
protected $referenceImagesType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ReferenceImage';
protected $referenceImagesDataType = 'array';
protected $statusesType = 'Google_Service_Vision_Status';
protected $statusesDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ReferenceImage
*/
public function setReferenceImages($referenceImages)
{
$this->referenceImages = $referenceImages;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ReferenceImage
*/
public function getReferenceImages()
{
return $this->referenceImages;
}
/**
* @param Google_Service_Vision_Status
*/
public function setStatuses($statuses)
{
$this->statuses = $statuses;
}
/**
* @return Google_Service_Vision_Status
*/
public function getStatuses()
{
return $this->statuses;
}
}

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_GoogleCloudVisionV1p3beta1InputConfig extends Google_Model
{
protected $gcsSourceType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsSource';
protected $gcsSourceDataType = '';
public $mimeType;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsSource
*/
public function setGcsSource(Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
public function getMimeType()
{
return $this->mimeType;
}
}

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_GoogleCloudVisionV1p3beta1LocalizedObjectAnnotation extends Google_Model
{
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolyDataType = '';
public $languageCode;
public $mid;
public $name;
public $score;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
public function getLanguageCode()
{
return $this->languageCode;
}
public function setMid($mid)
{
$this->mid = $mid;
}
public function getMid()
{
return $this->mid;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

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_GoogleCloudVisionV1p3beta1LocationInfo 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_GoogleCloudVisionV1p3beta1NormalizedVertex 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_GoogleCloudVisionV1p3beta1OperationMetadata 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_GoogleCloudVisionV1p3beta1OutputConfig extends Google_Model
{
public $batchSize;
protected $gcsDestinationType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsDestination';
protected $gcsDestinationDataType = '';
public function setBatchSize($batchSize)
{
$this->batchSize = $batchSize;
}
public function getBatchSize()
{
return $this->batchSize;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsDestination
*/
public function setGcsDestination(Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1GcsDestination
*/
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_GoogleCloudVisionV1p3beta1Page extends Google_Collection
{
protected $collection_key = 'blocks';
protected $blocksType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Block';
protected $blocksDataType = 'array';
public $confidence;
public $height;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $width;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Block
*/
public function setBlocks($blocks)
{
$this->blocks = $blocks;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Block
*/
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_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
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_GoogleCloudVisionV1p3beta1Paragraph extends Google_Collection
{
protected $collection_key = 'words';
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
protected $wordsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Word';
protected $wordsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Word
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Word
*/
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_GoogleCloudVisionV1p3beta1Position 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,74 @@
<?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_GoogleCloudVisionV1p3beta1Product extends Google_Collection
{
protected $collection_key = 'productLabels';
public $description;
public $displayName;
public $name;
public $productCategory;
protected $productLabelsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductKeyValue';
protected $productLabelsDataType = 'array';
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setProductCategory($productCategory)
{
$this->productCategory = $productCategory;
}
public function getProductCategory()
{
return $this->productCategory;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductKeyValue
*/
public function setProductLabels($productLabels)
{
$this->productLabels = $productLabels;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductKeyValue
*/
public function getProductLabels()
{
return $this->productLabels;
}
}

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_GoogleCloudVisionV1p3beta1ProductKeyValue extends Google_Model
{
public $key;
public $value;
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

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

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_GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult extends Google_Collection
{
protected $collection_key = 'results';
protected $boundingPolyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolyDataType = '';
protected $resultsType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult';
protected $resultsDataType = 'array';
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPoly(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1ProductSearchResultsResult
*/
public function getResults()
{
return $this->results;
}
}

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_GoogleCloudVisionV1p3beta1ProductSearchResultsResult extends Google_Model
{
public $image;
protected $productType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1Product';
protected $productDataType = '';
public $score;
public function setImage($image)
{
$this->image = $image;
}
public function getImage()
{
return $this->image;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1Product
*/
public function setProduct(Google_Service_Vision_GoogleCloudVisionV1p3beta1Product $product)
{
$this->product = $product;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1Product
*/
public function getProduct()
{
return $this->product;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}

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_GoogleCloudVisionV1p3beta1Property 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,56 @@
<?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_GoogleCloudVisionV1p3beta1ReferenceImage extends Google_Collection
{
protected $collection_key = 'boundingPolys';
protected $boundingPolysType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingPolysDataType = 'array';
public $name;
public $uri;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingPolys($boundingPolys)
{
$this->boundingPolys = $boundingPolys;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingPolys()
{
return $this->boundingPolys;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setUri($uri)
{
$this->uri = $uri;
}
public function getUri()
{
return $this->uri;
}
}

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_GoogleCloudVisionV1p3beta1SafeSearchAnnotation 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_GoogleCloudVisionV1p3beta1Symbol extends Google_Model
{
protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly';
protected $boundingBoxDataType = '';
public $confidence;
protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty';
protected $propertyDataType = '';
public $text;
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return Google_Service_Vision_GoogleCloudVisionV1p3beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

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