@@ -196,9 +196,8 @@ export class Files extends APIResource {
196196 */
197197export interface File {
198198 /**
199- * Array of `AITags` associated with the image. If no `AITags` are set, it will be
200- * null. These tags can be added using the `google-auto-tagging` or
201- * `aws-auto-tagging` extensions.
199+ * Array of AI-generated tags associated with the image. If no AITags are set, it
200+ * will be null.
202201 */
203202 AITags ?: Array < File . AITag > | null ;
204203
@@ -224,11 +223,7 @@ export interface File {
224223 customCoordinates ?: string | null ;
225224
226225 /**
227- * A key-value data associated with the asset. Use `responseField` in API request
228- * to get `customMetadata` in the upload API response. Before setting any custom
229- * metadata on an asset, you have to create the field using custom metadata fields
230- * API. Send `customMetadata` in `responseFields` in API request to get the value
231- * of this field.
226+ * An object with custom metadata for the file.
232227 */
233228 customMetadata ?: { [ key : string ] : unknown } ;
234229
@@ -245,8 +240,7 @@ export interface File {
245240
246241 /**
247242 * Consolidated embedded metadata associated with the file. It includes exif, iptc,
248- * and xmp data. Send `embeddedMetadata` in `responseFields` in API request to get
249- * embeddedMetadata in the upload API response.
243+ * and xmp data.
250244 */
251245 embeddedMetadata ?: { [ key : string ] : unknown } ;
252246
@@ -343,7 +337,7 @@ export interface File {
343337 url ?: string ;
344338
345339 /**
346- * An object containing the file or file version's `id` (versionId) and `name` .
340+ * An object with details of the file version.
347341 */
348342 versionInfo ?: File . VersionInfo ;
349343
@@ -359,6 +353,10 @@ export interface File {
359353}
360354
361355export namespace File {
356+ /**
357+ * AI-generated tag associated with an image. These tags can be added using the
358+ * `google-auto-tagging` or `aws-auto-tagging` extensions.
359+ */
362360 export interface AITag {
363361 /**
364362 * Confidence score of the tag.
@@ -842,9 +840,7 @@ export interface FileRenameResponse {
842840 */
843841export interface FileUploadResponse {
844842 /**
845- * Array of `AITags` associated with the image. If no `AITags` are set, it will be
846- * null. These tags can be added using the `google-auto-tagging` or
847- * `aws-auto-tagging` extensions.
843+ * An array of tags assigned to the uploaded file by auto tagging.
848844 */
849845 AITags ?: Array < FileUploadResponse . AITag > | null ;
850846
@@ -1003,6 +999,10 @@ export interface FileUploadResponse {
1003999}
10041000
10051001export namespace FileUploadResponse {
1002+ /**
1003+ * AI-generated tag associated with an image. These tags can be added using the
1004+ * `google-auto-tagging` or `aws-auto-tagging` extensions.
1005+ */
10061006 export interface AITag {
10071007 /**
10081008 * Confidence score of the tag.
0 commit comments