Debian Codegraph @

docs/dyn/aiplatform_v1beta1.media.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="aiplatform_v1beta1.html">Agent Platform API</a> . <a href="aiplatform_v1beta1.media.html">media</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Upload a file into a RagCorpus.</p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="upload">upload(parent, body=None, media_body=None, media_mime_type=None, x__xgafv=None)</code>
91 <pre>Upload a file into a RagCorpus.
92
93 Args:
94 parent: string, Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` (required)
95 body: object, The request body.
96 The object takes the form of:
97
98 { # Request message for VertexRagDataService.UploadRagFile.
99 &quot;ragFile&quot;: { # A RagFile contains user data for chunking, embedding and indexing. # Required. The RagFile to upload.
100 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this RagFile was created.
101 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the RagFile.
102 &quot;directUploadSource&quot;: { # The input content is encapsulated and uploaded in the request. # Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
103 },
104 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
105 &quot;fileStatus&quot;: { # RagFile status. # Output only. State of the RagFile.
106 &quot;errorStatus&quot;: &quot;A String&quot;, # Output only. Only when the `state` field is ERROR.
107 &quot;state&quot;: &quot;A String&quot;, # Output only. RagFile state.
108 },
109 &quot;gcsSource&quot;: { # The Google Cloud Storage location for the input content. # Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.
110 &quot;uris&quot;: [ # Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
111 &quot;A String&quot;,
112 ],
113 },
114 &quot;googleDriveSource&quot;: { # The Google Drive location for the input content. # Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
115 &quot;resourceIds&quot;: [ # Required. Google Drive resource IDs.
116 { # The type and ID of the Google Drive resource.
117 &quot;resourceId&quot;: &quot;A String&quot;, # Required. The ID of the Google Drive resource.
118 &quot;resourceType&quot;: &quot;A String&quot;, # Required. The type of the Google Drive resource.
119 },
120 ],
121 },
122 &quot;jiraSource&quot;: { # The Jira source for the ImportRagFilesRequest. # The RagFile is imported from a Jira query.
123 &quot;jiraQueries&quot;: [ # Required. The Jira queries.
124 { # JiraQueries contains the Jira queries and corresponding authentication.
125 &quot;apiKeyConfig&quot;: { # The API secret. # Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Jira API key. See [Manage API tokens for your Atlassian account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
126 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
127 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
128 },
129 &quot;customQueries&quot;: [ # A list of custom Jira queries to import. For information about JQL (Jira Query Language), see https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
130 &quot;A String&quot;,
131 ],
132 &quot;email&quot;: &quot;A String&quot;, # Required. The Jira email address.
133 &quot;projects&quot;: [ # A list of Jira projects to import in their entirety.
134 &quot;A String&quot;,
135 ],
136 &quot;serverUri&quot;: &quot;A String&quot;, # Required. The Jira server URI.
137 },
138 ],
139 },
140 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the RagFile.
141 &quot;ragFileType&quot;: &quot;A String&quot;, # Output only. The type of the RagFile.
142 &quot;sharePointSources&quot;: { # The SharePointSources to pass to ImportRagFiles. # The RagFile is imported from a SharePoint source.
143 &quot;sharePointSources&quot;: [ # The SharePoint sources.
144 { # An individual SharePointSource.
145 &quot;clientId&quot;: &quot;A String&quot;, # The Application ID for the app registered in Microsoft Azure Portal. The application must also be configured with MS Graph permissions &quot;Files.ReadAll&quot;, &quot;Sites.ReadAll&quot; and BrowserSiteLists.Read.All.
146 &quot;clientSecret&quot;: { # The API secret. # The application secret for the app registered in Azure.
147 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
148 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
149 },
150 &quot;driveId&quot;: &quot;A String&quot;, # The ID of the drive to download from.
151 &quot;driveName&quot;: &quot;A String&quot;, # The name of the drive to download from.
152 &quot;fileId&quot;: &quot;A String&quot;, # Output only. The SharePoint file id. Output only.
153 &quot;sharepointFolderId&quot;: &quot;A String&quot;, # The ID of the SharePoint folder to download from.
154 &quot;sharepointFolderPath&quot;: &quot;A String&quot;, # The path of the SharePoint folder to download from.
155 &quot;sharepointSiteName&quot;: &quot;A String&quot;, # The name of the SharePoint site to download from. This can be the site name or the site id.
156 &quot;tenantId&quot;: &quot;A String&quot;, # Unique identifier of the Azure Active Directory Instance.
157 },
158 ],
159 },
160 &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the RagFile in bytes.
161 &quot;slackSource&quot;: { # The Slack source for the ImportRagFilesRequest. # The RagFile is imported from a Slack channel.
162 &quot;channels&quot;: [ # Required. The Slack channels.
163 { # SlackChannels contains the Slack channels and corresponding access token.
164 &quot;apiKeyConfig&quot;: { # The API secret. # Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token.
165 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
166 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
167 },
168 &quot;channels&quot;: [ # Required. The Slack channel IDs.
169 { # SlackChannel contains the Slack channel ID and the time range to import.
170 &quot;channelId&quot;: &quot;A String&quot;, # Required. The Slack channel ID.
171 &quot;endTime&quot;: &quot;A String&quot;, # Optional. The ending timestamp for messages to import.
172 &quot;startTime&quot;: &quot;A String&quot;, # Optional. The starting timestamp for messages to import.
173 },
174 ],
175 },
176 ],
177 },
178 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this RagFile was last updated.
179 &quot;userMetadata&quot;: &quot;A String&quot;, # Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format.
180 },
181 &quot;uploadRagFileConfig&quot;: { # Config for uploading RagFile. # Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.
182 &quot;ragFileChunkingConfig&quot;: { # Specifies the size and overlap of chunks for RagFiles. # Specifies the size and overlap of chunks after uploading RagFile.
183 &quot;chunkOverlap&quot;: 42, # The overlap between chunks.
184 &quot;chunkSize&quot;: 42, # The size of the chunks.
185 &quot;fixedLengthChunking&quot;: { # Specifies the fixed length chunking config. # Specifies the fixed length chunking config.
186 &quot;chunkOverlap&quot;: 42, # The overlap between chunks.
187 &quot;chunkSize&quot;: 42, # The size of the chunks.
188 },
189 },
190 &quot;ragFileMetadataConfig&quot;: { # Metadata config for RagFile. # Optional. Specifies the metadata config for RagFiles. Including paths for metadata schema and metadata. Alteratively, inline metadata schema and metadata can be provided. Deprecated: Not in use.
191 &quot;gcsMetadataSchemaSource&quot;: { # The Google Cloud Storage location for the input content. # Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/metadata_schema.json` - `gs://bucket_name/my_directory` If the user provides a directory, the metadata schema will be read from the files that ends with &quot;metadata_schema.json&quot; in the directory.
192 &quot;uris&quot;: [ # Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
193 &quot;A String&quot;,
194 ],
195 },
196 &quot;gcsMetadataSource&quot;: { # The Google Cloud Storage location for the input content. # Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/metadata.json` - `gs://bucket_name/my_directory` If the user provides a directory, the metadata will be read from the files that ends with &quot;metadata.json&quot; in the directory.
197 &quot;uris&quot;: [ # Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
198 &quot;A String&quot;,
199 ],
200 },
201 &quot;googleDriveMetadataSchemaSource&quot;: { # The Google Drive location for the input content. # Google Drive location. Supports importing individual files as well as Google Drive folders. If the user provides a folder, the metadata schema will be read from the files that ends with &quot;metadata_schema.json&quot; in the directory.
202 &quot;resourceIds&quot;: [ # Required. Google Drive resource IDs.
203 { # The type and ID of the Google Drive resource.
204 &quot;resourceId&quot;: &quot;A String&quot;, # Required. The ID of the Google Drive resource.
205 &quot;resourceType&quot;: &quot;A String&quot;, # Required. The type of the Google Drive resource.
206 },
207 ],
208 },
209 &quot;googleDriveMetadataSource&quot;: { # The Google Drive location for the input content. # Google Drive location. Supports importing individual files as well as Google Drive folders. If the user provides a directory, the metadata will be read from the files that ends with &quot;metadata.json&quot; in the directory.
210 &quot;resourceIds&quot;: [ # Required. Google Drive resource IDs.
211 { # The type and ID of the Google Drive resource.
212 &quot;resourceId&quot;: &quot;A String&quot;, # Required. The ID of the Google Drive resource.
213 &quot;resourceType&quot;: &quot;A String&quot;, # Required. The type of the Google Drive resource.
214 },
215 ],
216 },
217 &quot;inlineMetadataSchemaSource&quot;: &quot;A String&quot;, # Inline metadata schema source. Must be a JSON string.
218 &quot;inlineMetadataSource&quot;: &quot;A String&quot;, # Inline metadata source. Must be a JSON string.
219 },
220 &quot;ragFileParsingConfig&quot;: { # Specifies the parsing config for RagFiles. # Optional. Specifies the parsing config for RagFiles. RAG will use the default parser if this field is not set.
221 &quot;advancedParser&quot;: { # Specifies the advanced parsing for RagFiles. # The Advanced Parser to use for RagFiles.
222 &quot;useAdvancedPdfParsing&quot;: True or False, # Whether to use advanced PDF parsing.
223 },
224 &quot;layoutParser&quot;: { # Document AI Layout Parser config. # The Layout Parser to use for RagFiles.
225 &quot;globalMaxParsingRequestsPerMin&quot;: 42, # The maximum number of requests the job is allowed to make to the Document AI processor per minute in this project. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline as the global limit.
226 &quot;maxParsingRequestsPerMin&quot;: 42, # The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used.
227 &quot;processorName&quot;: &quot;A String&quot;, # The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}`
228 },
229 &quot;llmParser&quot;: { # Specifies the LLM parsing for RagFiles. # The LLM Parser to use for RagFiles.
230 &quot;customParsingPrompt&quot;: &quot;A String&quot;, # The prompt to use for parsing. If not specified, a default prompt will be used.
231 &quot;globalMaxParsingRequestsPerMin&quot;: 42, # The maximum number of requests the job is allowed to make to the LLM model per minute in this project. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline job as the global limit.
232 &quot;maxParsingRequestsPerMin&quot;: 42, # The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used.
233 &quot;modelName&quot;: &quot;A String&quot;, # The name of a LLM model used for parsing. Format: * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}`
234 },
235 &quot;useAdvancedPdfParsing&quot;: True or False, # Whether to use advanced PDF parsing.
236 },
237 &quot;ragFileTransformationConfig&quot;: { # Specifies the transformation config for RagFiles. # Specifies the transformation config for RagFiles.
238 &quot;ragFileChunkingConfig&quot;: { # Specifies the size and overlap of chunks for RagFiles. # Specifies the chunking config for RagFiles.
239 &quot;chunkOverlap&quot;: 42, # The overlap between chunks.
240 &quot;chunkSize&quot;: 42, # The size of the chunks.
241 &quot;fixedLengthChunking&quot;: { # Specifies the fixed length chunking config. # Specifies the fixed length chunking config.
242 &quot;chunkOverlap&quot;: 42, # The overlap between chunks.
243 &quot;chunkSize&quot;: 42, # The size of the chunks.
244 },
245 },
246 },
247 },
248 }
249
250 media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
251 media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # Response message for VertexRagDataService.UploadRagFile.
261 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error that occurred while processing the RagFile.
262 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
263 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
264 {
265 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
266 },
267 ],
268 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
269 },
270 &quot;ragFile&quot;: { # A RagFile contains user data for chunking, embedding and indexing. # The RagFile that had been uploaded into the RagCorpus.
271 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this RagFile was created.
272 &quot;description&quot;: &quot;A String&quot;, # Optional. The description of the RagFile.
273 &quot;directUploadSource&quot;: { # The input content is encapsulated and uploaded in the request. # Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
274 },
275 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.
276 &quot;fileStatus&quot;: { # RagFile status. # Output only. State of the RagFile.
277 &quot;errorStatus&quot;: &quot;A String&quot;, # Output only. Only when the `state` field is ERROR.
278 &quot;state&quot;: &quot;A String&quot;, # Output only. RagFile state.
279 },
280 &quot;gcsSource&quot;: { # The Google Cloud Storage location for the input content. # Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.
281 &quot;uris&quot;: [ # Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards.
282 &quot;A String&quot;,
283 ],
284 },
285 &quot;googleDriveSource&quot;: { # The Google Drive location for the input content. # Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
286 &quot;resourceIds&quot;: [ # Required. Google Drive resource IDs.
287 { # The type and ID of the Google Drive resource.
288 &quot;resourceId&quot;: &quot;A String&quot;, # Required. The ID of the Google Drive resource.
289 &quot;resourceType&quot;: &quot;A String&quot;, # Required. The type of the Google Drive resource.
290 },
291 ],
292 },
293 &quot;jiraSource&quot;: { # The Jira source for the ImportRagFilesRequest. # The RagFile is imported from a Jira query.
294 &quot;jiraQueries&quot;: [ # Required. The Jira queries.
295 { # JiraQueries contains the Jira queries and corresponding authentication.
296 &quot;apiKeyConfig&quot;: { # The API secret. # Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Jira API key. See [Manage API tokens for your Atlassian account](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/).
297 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
298 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
299 },
300 &quot;customQueries&quot;: [ # A list of custom Jira queries to import. For information about JQL (Jira Query Language), see https://support.atlassian.com/jira-service-management-cloud/docs/use-advanced-search-with-jira-query-language-jql/
301 &quot;A String&quot;,
302 ],
303 &quot;email&quot;: &quot;A String&quot;, # Required. The Jira email address.
304 &quot;projects&quot;: [ # A list of Jira projects to import in their entirety.
305 &quot;A String&quot;,
306 ],
307 &quot;serverUri&quot;: &quot;A String&quot;, # Required. The Jira server URI.
308 },
309 ],
310 },
311 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the RagFile.
312 &quot;ragFileType&quot;: &quot;A String&quot;, # Output only. The type of the RagFile.
313 &quot;sharePointSources&quot;: { # The SharePointSources to pass to ImportRagFiles. # The RagFile is imported from a SharePoint source.
314 &quot;sharePointSources&quot;: [ # The SharePoint sources.
315 { # An individual SharePointSource.
316 &quot;clientId&quot;: &quot;A String&quot;, # The Application ID for the app registered in Microsoft Azure Portal. The application must also be configured with MS Graph permissions &quot;Files.ReadAll&quot;, &quot;Sites.ReadAll&quot; and BrowserSiteLists.Read.All.
317 &quot;clientSecret&quot;: { # The API secret. # The application secret for the app registered in Azure.
318 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
319 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
320 },
321 &quot;driveId&quot;: &quot;A String&quot;, # The ID of the drive to download from.
322 &quot;driveName&quot;: &quot;A String&quot;, # The name of the drive to download from.
323 &quot;fileId&quot;: &quot;A String&quot;, # Output only. The SharePoint file id. Output only.
324 &quot;sharepointFolderId&quot;: &quot;A String&quot;, # The ID of the SharePoint folder to download from.
325 &quot;sharepointFolderPath&quot;: &quot;A String&quot;, # The path of the SharePoint folder to download from.
326 &quot;sharepointSiteName&quot;: &quot;A String&quot;, # The name of the SharePoint site to download from. This can be the site name or the site id.
327 &quot;tenantId&quot;: &quot;A String&quot;, # Unique identifier of the Azure Active Directory Instance.
328 },
329 ],
330 },
331 &quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the RagFile in bytes.
332 &quot;slackSource&quot;: { # The Slack source for the ImportRagFilesRequest. # The RagFile is imported from a Slack channel.
333 &quot;channels&quot;: [ # Required. The Slack channels.
334 { # SlackChannels contains the Slack channels and corresponding access token.
335 &quot;apiKeyConfig&quot;: { # The API secret. # Required. The SecretManager secret version resource name (e.g. projects/{project}/secrets/{secret}/versions/{version}) storing the Slack channel access token that has access to the slack channel IDs. See: https://api.slack.com/tutorials/tracks/getting-a-token.
336 &quot;apiKeySecretVersion&quot;: &quot;A String&quot;, # Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version}
337 &quot;apiKeyString&quot;: &quot;A String&quot;, # The API key string. Either this or `api_key_secret_version` must be set.
338 },
339 &quot;channels&quot;: [ # Required. The Slack channel IDs.
340 { # SlackChannel contains the Slack channel ID and the time range to import.
341 &quot;channelId&quot;: &quot;A String&quot;, # Required. The Slack channel ID.
342 &quot;endTime&quot;: &quot;A String&quot;, # Optional. The ending timestamp for messages to import.
343 &quot;startTime&quot;: &quot;A String&quot;, # Optional. The starting timestamp for messages to import.
344 },
345 ],
346 },
347 ],
348 },
349 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this RagFile was last updated.
350 &quot;userMetadata&quot;: &quot;A String&quot;, # Output only. The metadata for metadata search. The user_metadata Needs to be in JSON format.
351 },
352 }</pre>
353 </div>
354
355 </body></html>