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 GoogleCloudAiplatformV1ImportRagFilesConfig extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $gcsSourceType = GoogleCloudAiplatformV1GcsSource::class;
|
---|
23 | protected $gcsSourceDataType = '';
|
---|
24 | protected $googleDriveSourceType = GoogleCloudAiplatformV1GoogleDriveSource::class;
|
---|
25 | protected $googleDriveSourceDataType = '';
|
---|
26 | protected $jiraSourceType = GoogleCloudAiplatformV1JiraSource::class;
|
---|
27 | protected $jiraSourceDataType = '';
|
---|
28 | /**
|
---|
29 | * @var int
|
---|
30 | */
|
---|
31 | public $maxEmbeddingRequestsPerMin;
|
---|
32 | protected $partialFailureBigquerySinkType = GoogleCloudAiplatformV1BigQueryDestination::class;
|
---|
33 | protected $partialFailureBigquerySinkDataType = '';
|
---|
34 | protected $partialFailureGcsSinkType = GoogleCloudAiplatformV1GcsDestination::class;
|
---|
35 | protected $partialFailureGcsSinkDataType = '';
|
---|
36 | protected $ragFileTransformationConfigType = GoogleCloudAiplatformV1RagFileTransformationConfig::class;
|
---|
37 | protected $ragFileTransformationConfigDataType = '';
|
---|
38 | protected $slackSourceType = GoogleCloudAiplatformV1SlackSource::class;
|
---|
39 | protected $slackSourceDataType = '';
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param GoogleCloudAiplatformV1GcsSource
|
---|
43 | */
|
---|
44 | public function setGcsSource(GoogleCloudAiplatformV1GcsSource $gcsSource)
|
---|
45 | {
|
---|
46 | $this->gcsSource = $gcsSource;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return GoogleCloudAiplatformV1GcsSource
|
---|
50 | */
|
---|
51 | public function getGcsSource()
|
---|
52 | {
|
---|
53 | return $this->gcsSource;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param GoogleCloudAiplatformV1GoogleDriveSource
|
---|
57 | */
|
---|
58 | public function setGoogleDriveSource(GoogleCloudAiplatformV1GoogleDriveSource $googleDriveSource)
|
---|
59 | {
|
---|
60 | $this->googleDriveSource = $googleDriveSource;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return GoogleCloudAiplatformV1GoogleDriveSource
|
---|
64 | */
|
---|
65 | public function getGoogleDriveSource()
|
---|
66 | {
|
---|
67 | return $this->googleDriveSource;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param GoogleCloudAiplatformV1JiraSource
|
---|
71 | */
|
---|
72 | public function setJiraSource(GoogleCloudAiplatformV1JiraSource $jiraSource)
|
---|
73 | {
|
---|
74 | $this->jiraSource = $jiraSource;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return GoogleCloudAiplatformV1JiraSource
|
---|
78 | */
|
---|
79 | public function getJiraSource()
|
---|
80 | {
|
---|
81 | return $this->jiraSource;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param int
|
---|
85 | */
|
---|
86 | public function setMaxEmbeddingRequestsPerMin($maxEmbeddingRequestsPerMin)
|
---|
87 | {
|
---|
88 | $this->maxEmbeddingRequestsPerMin = $maxEmbeddingRequestsPerMin;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return int
|
---|
92 | */
|
---|
93 | public function getMaxEmbeddingRequestsPerMin()
|
---|
94 | {
|
---|
95 | return $this->maxEmbeddingRequestsPerMin;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param GoogleCloudAiplatformV1BigQueryDestination
|
---|
99 | */
|
---|
100 | public function setPartialFailureBigquerySink(GoogleCloudAiplatformV1BigQueryDestination $partialFailureBigquerySink)
|
---|
101 | {
|
---|
102 | $this->partialFailureBigquerySink = $partialFailureBigquerySink;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return GoogleCloudAiplatformV1BigQueryDestination
|
---|
106 | */
|
---|
107 | public function getPartialFailureBigquerySink()
|
---|
108 | {
|
---|
109 | return $this->partialFailureBigquerySink;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param GoogleCloudAiplatformV1GcsDestination
|
---|
113 | */
|
---|
114 | public function setPartialFailureGcsSink(GoogleCloudAiplatformV1GcsDestination $partialFailureGcsSink)
|
---|
115 | {
|
---|
116 | $this->partialFailureGcsSink = $partialFailureGcsSink;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return GoogleCloudAiplatformV1GcsDestination
|
---|
120 | */
|
---|
121 | public function getPartialFailureGcsSink()
|
---|
122 | {
|
---|
123 | return $this->partialFailureGcsSink;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param GoogleCloudAiplatformV1RagFileTransformationConfig
|
---|
127 | */
|
---|
128 | public function setRagFileTransformationConfig(GoogleCloudAiplatformV1RagFileTransformationConfig $ragFileTransformationConfig)
|
---|
129 | {
|
---|
130 | $this->ragFileTransformationConfig = $ragFileTransformationConfig;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return GoogleCloudAiplatformV1RagFileTransformationConfig
|
---|
134 | */
|
---|
135 | public function getRagFileTransformationConfig()
|
---|
136 | {
|
---|
137 | return $this->ragFileTransformationConfig;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param GoogleCloudAiplatformV1SlackSource
|
---|
141 | */
|
---|
142 | public function setSlackSource(GoogleCloudAiplatformV1SlackSource $slackSource)
|
---|
143 | {
|
---|
144 | $this->slackSource = $slackSource;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return GoogleCloudAiplatformV1SlackSource
|
---|
148 | */
|
---|
149 | public function getSlackSource()
|
---|
150 | {
|
---|
151 | return $this->slackSource;
|
---|
152 | }
|
---|
153 | }
|
---|
154 |
|
---|
155 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
156 | class_alias(GoogleCloudAiplatformV1ImportRagFilesConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ImportRagFilesConfig');
|
---|