Google Cloud Storage location for the source input. This can be a single file (for example,gs://translation-test/input.docx) or a wildcard (for example,gs://translation-test/*). File mime type is determined based on extension. Supported mime type includes: -pdf, application/pdf -docx, application/vnd.openxmlformats-officedocument.wordprocessingml.document -pptx, application/vnd.openxmlformats-officedocument.presentationml.presentation -xlsx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet The max file size to support for.docx,.pptxand.xlsxis 100MB. The max file size to support for.pdfis 1GB and the max page limit is 1000 pages. The max file size to support for all input documents is 1GB.
getGcsSource
Google Cloud Storage location for the source input.
This can be a single file (for example,gs://translation-test/input.docx) or a wildcard (for example,gs://translation-test/*).
File mime type is determined based on extension. Supported mime type
includes:
xlsx,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The max file size to support for.docx,.pptxand.xlsxis 100MB.
The max file size to support for.pdfis 1GB and the max page limit is
1000 pages.
The max file size to support for all input documents is 1GB.
Google Cloud Storage location for the source input.
This can be a single file (for example,gs://translation-test/input.docx) or a wildcard (for example,gs://translation-test/*).
File mime type is determined based on extension. Supported mime type
includes:
xlsx,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
The max file size to support for.docx,.pptxand.xlsxis 100MB.
The max file size to support for.pdfis 1GB and the max page limit is
1000 pages.
The max file size to support for all input documents is 1GB.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Translation V3 Client - Class BatchDocumentInputConfig (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.BatchDocumentInputConfig)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.BatchDocumentInputConfig)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.BatchDocumentInputConfig)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.BatchDocumentInputConfig)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.BatchDocumentInputConfig)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.BatchDocumentInputConfig)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.BatchDocumentInputConfig)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.BatchDocumentInputConfig)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.BatchDocumentInputConfig)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.BatchDocumentInputConfig)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.BatchDocumentInputConfig)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.BatchDocumentInputConfig) \nReference documentation and code samples for the Cloud Translation V3 Client class BatchDocumentInputConfig.\n\nInput configuration for BatchTranslateDocument request.\n\nGenerated from protobuf message `google.cloud.translation.v3.BatchDocumentInputConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGcsSource\n\nGoogle Cloud Storage location for the source input.\n\nThis can be a single file (for example,\n`gs://translation-test/input.docx`) or a wildcard (for example,\n`gs://translation-test/*`).\nFile mime type is determined based on extension. Supported mime type\nincludes:\n\n- `pdf`, application/pdf\n- `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document\n- `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation\n- `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB. The max file size to support for `.pdf` is 1GB and the max page limit is 1000 pages. The max file size to support for all input documents is 1GB.\n\n### hasGcsSource\n\n### setGcsSource\n\nGoogle Cloud Storage location for the source input.\n\nThis can be a single file (for example,\n`gs://translation-test/input.docx`) or a wildcard (for example,\n`gs://translation-test/*`).\nFile mime type is determined based on extension. Supported mime type\nincludes:\n\n- `pdf`, application/pdf\n- `docx`, application/vnd.openxmlformats-officedocument.wordprocessingml.document\n- `pptx`, application/vnd.openxmlformats-officedocument.presentationml.presentation\n- `xlsx`, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet The max file size to support for `.docx`, `.pptx` and `.xlsx` is 100MB. The max file size to support for `.pdf` is 1GB and the max page limit is 1000 pages. The max file size to support for all input documents is 1GB.\n\n### getSource"]]