Class Document (1.3.2)

Represents the input to API methods.

The source of the document: a string containing the content or a Google Cloud Storage URI.

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.