This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
str
The content of the input in string format.
Cloud audit logging exempt since it is based on
user data.
This field is a member of oneof_ source.
gcs_content_uri
str
The Google Cloud Storage URI where the file content is
located. This URI must be of the form:
gs://bucket_name/object_name. For more details, see
https://cloud.google.com/storage/docs/reference-uris. NOTE:
Cloud Storage object versioning is not supported.
This field is a member of oneof_ source.
language_code
str
Optional. The language of the document (if not specified,
the language is automatically detected). Both ISO and BCP-47
language codes are accepted. `Language
Support
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class Document (2.17.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.2 (latest)](/python/docs/reference/language/latest/google.cloud.language_v2.types.Document)\n- [2.17.0](/python/docs/reference/language/2.17.0/google.cloud.language_v2.types.Document)\n- [2.16.0](/python/docs/reference/language/2.16.0/google.cloud.language_v2.types.Document)\n- [2.15.1](/python/docs/reference/language/2.15.1/google.cloud.language_v2.types.Document)\n- [2.14.0](/python/docs/reference/language/2.14.0/google.cloud.language_v2.types.Document)\n- [2.13.4](/python/docs/reference/language/2.13.4/google.cloud.language_v2.types.Document)\n- [2.12.0](/python/docs/reference/language/2.12.0/google.cloud.language_v2.types.Document)\n- [2.11.0](/python/docs/reference/language/2.11.0/google.cloud.language_v2.types.Document)\n- [2.10.1](/python/docs/reference/language/2.10.1/google.cloud.language_v2.types.Document)\n- [2.9.1](/python/docs/reference/language/2.9.1/google.cloud.language_v2.types.Document)\n- [2.8.1](/python/docs/reference/language/2.8.1/google.cloud.language_v2.types.Document)\n- [2.7.0](/python/docs/reference/language/2.7.0/google.cloud.language_v2.types.Document)\n- [2.6.1](/python/docs/reference/language/2.6.1/google.cloud.language_v2.types.Document)\n- [2.5.2](/python/docs/reference/language/2.5.2/google.cloud.language_v2.types.Document)\n- [2.4.3](/python/docs/reference/language/2.4.3/google.cloud.language_v2.types.Document)\n- [2.3.2](/python/docs/reference/language/2.3.2/google.cloud.language_v2.types.Document)\n- [2.2.2](/python/docs/reference/language/2.2.2/google.cloud.language_v2.types.Document)\n- [2.1.0](/python/docs/reference/language/2.1.0/google.cloud.language_v2.types.Document)\n- [2.0.0](/python/docs/reference/language/2.0.0/google.cloud.language_v2.types.Document)\n- [1.3.2](/python/docs/reference/language/1.3.2/google.cloud.language_v2.types.Document) \n\n Document(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRepresents the input to API methods.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### Type\n\n Type(value)\n\nThe document types enum."]]