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 GoogleCloudAiplatformV1RagFile extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $createTime;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $description;
|
---|
30 | protected $directUploadSourceType = GoogleCloudAiplatformV1DirectUploadSource::class;
|
---|
31 | protected $directUploadSourceDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $displayName;
|
---|
36 | protected $fileStatusType = GoogleCloudAiplatformV1FileStatus::class;
|
---|
37 | protected $fileStatusDataType = '';
|
---|
38 | protected $gcsSourceType = GoogleCloudAiplatformV1GcsSource::class;
|
---|
39 | protected $gcsSourceDataType = '';
|
---|
40 | protected $googleDriveSourceType = GoogleCloudAiplatformV1GoogleDriveSource::class;
|
---|
41 | protected $googleDriveSourceDataType = '';
|
---|
42 | protected $jiraSourceType = GoogleCloudAiplatformV1JiraSource::class;
|
---|
43 | protected $jiraSourceDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $name;
|
---|
48 | protected $slackSourceType = GoogleCloudAiplatformV1SlackSource::class;
|
---|
49 | protected $slackSourceDataType = '';
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $updateTime;
|
---|
54 |
|
---|
55 | /**
|
---|
56 | * @param string
|
---|
57 | */
|
---|
58 | public function setCreateTime($createTime)
|
---|
59 | {
|
---|
60 | $this->createTime = $createTime;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return string
|
---|
64 | */
|
---|
65 | public function getCreateTime()
|
---|
66 | {
|
---|
67 | return $this->createTime;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param string
|
---|
71 | */
|
---|
72 | public function setDescription($description)
|
---|
73 | {
|
---|
74 | $this->description = $description;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return string
|
---|
78 | */
|
---|
79 | public function getDescription()
|
---|
80 | {
|
---|
81 | return $this->description;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param GoogleCloudAiplatformV1DirectUploadSource
|
---|
85 | */
|
---|
86 | public function setDirectUploadSource(GoogleCloudAiplatformV1DirectUploadSource $directUploadSource)
|
---|
87 | {
|
---|
88 | $this->directUploadSource = $directUploadSource;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return GoogleCloudAiplatformV1DirectUploadSource
|
---|
92 | */
|
---|
93 | public function getDirectUploadSource()
|
---|
94 | {
|
---|
95 | return $this->directUploadSource;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param string
|
---|
99 | */
|
---|
100 | public function setDisplayName($displayName)
|
---|
101 | {
|
---|
102 | $this->displayName = $displayName;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return string
|
---|
106 | */
|
---|
107 | public function getDisplayName()
|
---|
108 | {
|
---|
109 | return $this->displayName;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param GoogleCloudAiplatformV1FileStatus
|
---|
113 | */
|
---|
114 | public function setFileStatus(GoogleCloudAiplatformV1FileStatus $fileStatus)
|
---|
115 | {
|
---|
116 | $this->fileStatus = $fileStatus;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return GoogleCloudAiplatformV1FileStatus
|
---|
120 | */
|
---|
121 | public function getFileStatus()
|
---|
122 | {
|
---|
123 | return $this->fileStatus;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param GoogleCloudAiplatformV1GcsSource
|
---|
127 | */
|
---|
128 | public function setGcsSource(GoogleCloudAiplatformV1GcsSource $gcsSource)
|
---|
129 | {
|
---|
130 | $this->gcsSource = $gcsSource;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return GoogleCloudAiplatformV1GcsSource
|
---|
134 | */
|
---|
135 | public function getGcsSource()
|
---|
136 | {
|
---|
137 | return $this->gcsSource;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param GoogleCloudAiplatformV1GoogleDriveSource
|
---|
141 | */
|
---|
142 | public function setGoogleDriveSource(GoogleCloudAiplatformV1GoogleDriveSource $googleDriveSource)
|
---|
143 | {
|
---|
144 | $this->googleDriveSource = $googleDriveSource;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return GoogleCloudAiplatformV1GoogleDriveSource
|
---|
148 | */
|
---|
149 | public function getGoogleDriveSource()
|
---|
150 | {
|
---|
151 | return $this->googleDriveSource;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @param GoogleCloudAiplatformV1JiraSource
|
---|
155 | */
|
---|
156 | public function setJiraSource(GoogleCloudAiplatformV1JiraSource $jiraSource)
|
---|
157 | {
|
---|
158 | $this->jiraSource = $jiraSource;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @return GoogleCloudAiplatformV1JiraSource
|
---|
162 | */
|
---|
163 | public function getJiraSource()
|
---|
164 | {
|
---|
165 | return $this->jiraSource;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @param string
|
---|
169 | */
|
---|
170 | public function setName($name)
|
---|
171 | {
|
---|
172 | $this->name = $name;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @return string
|
---|
176 | */
|
---|
177 | public function getName()
|
---|
178 | {
|
---|
179 | return $this->name;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @param GoogleCloudAiplatformV1SlackSource
|
---|
183 | */
|
---|
184 | public function setSlackSource(GoogleCloudAiplatformV1SlackSource $slackSource)
|
---|
185 | {
|
---|
186 | $this->slackSource = $slackSource;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @return GoogleCloudAiplatformV1SlackSource
|
---|
190 | */
|
---|
191 | public function getSlackSource()
|
---|
192 | {
|
---|
193 | return $this->slackSource;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @param string
|
---|
197 | */
|
---|
198 | public function setUpdateTime($updateTime)
|
---|
199 | {
|
---|
200 | $this->updateTime = $updateTime;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @return string
|
---|
204 | */
|
---|
205 | public function getUpdateTime()
|
---|
206 | {
|
---|
207 | return $this->updateTime;
|
---|
208 | }
|
---|
209 | }
|
---|
210 |
|
---|
211 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
212 | class_alias(GoogleCloudAiplatformV1RagFile::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1RagFile');
|
---|