source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1alphaEvaluation.php

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

Upload project files

  • Property mode set to 100644
File size: 3.6 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\DiscoveryEngine;
19
20class GoogleCloudDiscoveryengineV1alphaEvaluation extends \Google\Collection
21{
22 protected $collection_key = 'errorSamples';
23 /**
24 * @var string
25 */
26 public $createTime;
27 /**
28 * @var string
29 */
30 public $endTime;
31 protected $errorType = GoogleRpcStatus::class;
32 protected $errorDataType = '';
33 protected $errorSamplesType = GoogleRpcStatus::class;
34 protected $errorSamplesDataType = 'array';
35 protected $evaluationSpecType = GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec::class;
36 protected $evaluationSpecDataType = '';
37 /**
38 * @var string
39 */
40 public $name;
41 protected $qualityMetricsType = GoogleCloudDiscoveryengineV1alphaQualityMetrics::class;
42 protected $qualityMetricsDataType = '';
43 /**
44 * @var string
45 */
46 public $state;
47
48 /**
49 * @param string
50 */
51 public function setCreateTime($createTime)
52 {
53 $this->createTime = $createTime;
54 }
55 /**
56 * @return string
57 */
58 public function getCreateTime()
59 {
60 return $this->createTime;
61 }
62 /**
63 * @param string
64 */
65 public function setEndTime($endTime)
66 {
67 $this->endTime = $endTime;
68 }
69 /**
70 * @return string
71 */
72 public function getEndTime()
73 {
74 return $this->endTime;
75 }
76 /**
77 * @param GoogleRpcStatus
78 */
79 public function setError(GoogleRpcStatus $error)
80 {
81 $this->error = $error;
82 }
83 /**
84 * @return GoogleRpcStatus
85 */
86 public function getError()
87 {
88 return $this->error;
89 }
90 /**
91 * @param GoogleRpcStatus[]
92 */
93 public function setErrorSamples($errorSamples)
94 {
95 $this->errorSamples = $errorSamples;
96 }
97 /**
98 * @return GoogleRpcStatus[]
99 */
100 public function getErrorSamples()
101 {
102 return $this->errorSamples;
103 }
104 /**
105 * @param GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec
106 */
107 public function setEvaluationSpec(GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec $evaluationSpec)
108 {
109 $this->evaluationSpec = $evaluationSpec;
110 }
111 /**
112 * @return GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec
113 */
114 public function getEvaluationSpec()
115 {
116 return $this->evaluationSpec;
117 }
118 /**
119 * @param string
120 */
121 public function setName($name)
122 {
123 $this->name = $name;
124 }
125 /**
126 * @return string
127 */
128 public function getName()
129 {
130 return $this->name;
131 }
132 /**
133 * @param GoogleCloudDiscoveryengineV1alphaQualityMetrics
134 */
135 public function setQualityMetrics(GoogleCloudDiscoveryengineV1alphaQualityMetrics $qualityMetrics)
136 {
137 $this->qualityMetrics = $qualityMetrics;
138 }
139 /**
140 * @return GoogleCloudDiscoveryengineV1alphaQualityMetrics
141 */
142 public function getQualityMetrics()
143 {
144 return $this->qualityMetrics;
145 }
146 /**
147 * @param string
148 */
149 public function setState($state)
150 {
151 $this->state = $state;
152 }
153 /**
154 * @return string
155 */
156 public function getState()
157 {
158 return $this->state;
159 }
160}
161
162// Adding a class alias for backwards compatibility with the previous class name.
163class_alias(GoogleCloudDiscoveryengineV1alphaEvaluation::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation');
Note: See TracBrowser for help on using the repository browser.