source: vendor/google/apiclient-services/src/Vision/WebDetection.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\Vision;
19
20class WebDetection extends \Google\Collection
21{
22 protected $collection_key = 'webEntities';
23 protected $bestGuessLabelsType = WebLabel::class;
24 protected $bestGuessLabelsDataType = 'array';
25 protected $fullMatchingImagesType = WebImage::class;
26 protected $fullMatchingImagesDataType = 'array';
27 protected $pagesWithMatchingImagesType = WebPage::class;
28 protected $pagesWithMatchingImagesDataType = 'array';
29 protected $partialMatchingImagesType = WebImage::class;
30 protected $partialMatchingImagesDataType = 'array';
31 protected $visuallySimilarImagesType = WebImage::class;
32 protected $visuallySimilarImagesDataType = 'array';
33 protected $webEntitiesType = WebEntity::class;
34 protected $webEntitiesDataType = 'array';
35
36 /**
37 * @param WebLabel[]
38 */
39 public function setBestGuessLabels($bestGuessLabels)
40 {
41 $this->bestGuessLabels = $bestGuessLabels;
42 }
43 /**
44 * @return WebLabel[]
45 */
46 public function getBestGuessLabels()
47 {
48 return $this->bestGuessLabels;
49 }
50 /**
51 * @param WebImage[]
52 */
53 public function setFullMatchingImages($fullMatchingImages)
54 {
55 $this->fullMatchingImages = $fullMatchingImages;
56 }
57 /**
58 * @return WebImage[]
59 */
60 public function getFullMatchingImages()
61 {
62 return $this->fullMatchingImages;
63 }
64 /**
65 * @param WebPage[]
66 */
67 public function setPagesWithMatchingImages($pagesWithMatchingImages)
68 {
69 $this->pagesWithMatchingImages = $pagesWithMatchingImages;
70 }
71 /**
72 * @return WebPage[]
73 */
74 public function getPagesWithMatchingImages()
75 {
76 return $this->pagesWithMatchingImages;
77 }
78 /**
79 * @param WebImage[]
80 */
81 public function setPartialMatchingImages($partialMatchingImages)
82 {
83 $this->partialMatchingImages = $partialMatchingImages;
84 }
85 /**
86 * @return WebImage[]
87 */
88 public function getPartialMatchingImages()
89 {
90 return $this->partialMatchingImages;
91 }
92 /**
93 * @param WebImage[]
94 */
95 public function setVisuallySimilarImages($visuallySimilarImages)
96 {
97 $this->visuallySimilarImages = $visuallySimilarImages;
98 }
99 /**
100 * @return WebImage[]
101 */
102 public function getVisuallySimilarImages()
103 {
104 return $this->visuallySimilarImages;
105 }
106 /**
107 * @param WebEntity[]
108 */
109 public function setWebEntities($webEntities)
110 {
111 $this->webEntities = $webEntities;
112 }
113 /**
114 * @return WebEntity[]
115 */
116 public function getWebEntities()
117 {
118 return $this->webEntities;
119 }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(WebDetection::class, 'Google_Service_Vision_WebDetection');
Note: See TracBrowser for help on using the repository browser.