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 |
|
---|
18 | namespace Google\Service\Aiplatform;
|
---|
19 |
|
---|
20 | class GoogleCloudAiplatformV1Attribution extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'outputIndex';
|
---|
23 | public $approximationError;
|
---|
24 | public $baselineOutputValue;
|
---|
25 | /**
|
---|
26 | * @var array
|
---|
27 | */
|
---|
28 | public $featureAttributions;
|
---|
29 | public $instanceOutputValue;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $outputDisplayName;
|
---|
34 | /**
|
---|
35 | * @var int[]
|
---|
36 | */
|
---|
37 | public $outputIndex;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $outputName;
|
---|
42 |
|
---|
43 | public function setApproximationError($approximationError)
|
---|
44 | {
|
---|
45 | $this->approximationError = $approximationError;
|
---|
46 | }
|
---|
47 | public function getApproximationError()
|
---|
48 | {
|
---|
49 | return $this->approximationError;
|
---|
50 | }
|
---|
51 | public function setBaselineOutputValue($baselineOutputValue)
|
---|
52 | {
|
---|
53 | $this->baselineOutputValue = $baselineOutputValue;
|
---|
54 | }
|
---|
55 | public function getBaselineOutputValue()
|
---|
56 | {
|
---|
57 | return $this->baselineOutputValue;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @param array
|
---|
61 | */
|
---|
62 | public function setFeatureAttributions($featureAttributions)
|
---|
63 | {
|
---|
64 | $this->featureAttributions = $featureAttributions;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @return array
|
---|
68 | */
|
---|
69 | public function getFeatureAttributions()
|
---|
70 | {
|
---|
71 | return $this->featureAttributions;
|
---|
72 | }
|
---|
73 | public function setInstanceOutputValue($instanceOutputValue)
|
---|
74 | {
|
---|
75 | $this->instanceOutputValue = $instanceOutputValue;
|
---|
76 | }
|
---|
77 | public function getInstanceOutputValue()
|
---|
78 | {
|
---|
79 | return $this->instanceOutputValue;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setOutputDisplayName($outputDisplayName)
|
---|
85 | {
|
---|
86 | $this->outputDisplayName = $outputDisplayName;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getOutputDisplayName()
|
---|
92 | {
|
---|
93 | return $this->outputDisplayName;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param int[]
|
---|
97 | */
|
---|
98 | public function setOutputIndex($outputIndex)
|
---|
99 | {
|
---|
100 | $this->outputIndex = $outputIndex;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return int[]
|
---|
104 | */
|
---|
105 | public function getOutputIndex()
|
---|
106 | {
|
---|
107 | return $this->outputIndex;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setOutputName($outputName)
|
---|
113 | {
|
---|
114 | $this->outputName = $outputName;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getOutputName()
|
---|
120 | {
|
---|
121 | return $this->outputName;
|
---|
122 | }
|
---|
123 | }
|
---|
124 |
|
---|
125 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
126 | class_alias(GoogleCloudAiplatformV1Attribution::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Attribution');
|
---|