source: vendor/google/apiclient-services/src/DiscoveryEngine/GoogleCloudDiscoveryengineV1betaQualityMetrics.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.4 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 GoogleCloudDiscoveryengineV1betaQualityMetrics extends \Google\Model
21{
22 protected $docNdcgType = GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics::class;
23 protected $docNdcgDataType = '';
24 protected $docPrecisionType = GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics::class;
25 protected $docPrecisionDataType = '';
26 protected $docRecallType = GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics::class;
27 protected $docRecallDataType = '';
28 protected $pageNdcgType = GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics::class;
29 protected $pageNdcgDataType = '';
30 protected $pageRecallType = GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics::class;
31 protected $pageRecallDataType = '';
32
33 /**
34 * @param GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
35 */
36 public function setDocNdcg(GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics $docNdcg)
37 {
38 $this->docNdcg = $docNdcg;
39 }
40 /**
41 * @return GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
42 */
43 public function getDocNdcg()
44 {
45 return $this->docNdcg;
46 }
47 /**
48 * @param GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
49 */
50 public function setDocPrecision(GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics $docPrecision)
51 {
52 $this->docPrecision = $docPrecision;
53 }
54 /**
55 * @return GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
56 */
57 public function getDocPrecision()
58 {
59 return $this->docPrecision;
60 }
61 /**
62 * @param GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
63 */
64 public function setDocRecall(GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics $docRecall)
65 {
66 $this->docRecall = $docRecall;
67 }
68 /**
69 * @return GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
70 */
71 public function getDocRecall()
72 {
73 return $this->docRecall;
74 }
75 /**
76 * @param GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
77 */
78 public function setPageNdcg(GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics $pageNdcg)
79 {
80 $this->pageNdcg = $pageNdcg;
81 }
82 /**
83 * @return GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
84 */
85 public function getPageNdcg()
86 {
87 return $this->pageNdcg;
88 }
89 /**
90 * @param GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
91 */
92 public function setPageRecall(GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics $pageRecall)
93 {
94 $this->pageRecall = $pageRecall;
95 }
96 /**
97 * @return GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
98 */
99 public function getPageRecall()
100 {
101 return $this->pageRecall;
102 }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(GoogleCloudDiscoveryengineV1betaQualityMetrics::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaQualityMetrics');
Note: See TracBrowser for help on using the repository browser.