class Google::Apis::TranslateV3beta1::DocumentOutputConfig

A document translation request output config.

Attributes

gcs_destination[RW]

The Google Cloud Storage location for the output content. Corresponds to the JSON property `gcsDestination` @return [Google::Apis::TranslateV3beta1::GcsDestination]

mime_type[RW]

Optional. Specifies the translated document's mime_type. If not specified, the translated file's mime type will be the same as the input file's mime type. Currently only support the output mime type to be the same as input mime type.

  • application/pdf - application/vnd.openxmlformats-officedocument.

wordprocessingml.document - application/vnd.openxmlformats-officedocument. presentationml.presentation - application/vnd.openxmlformats-officedocument. spreadsheetml.sheet Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/translate_v3beta1/classes.rb, line 358
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/translate_v3beta1/classes.rb, line 363
def update!(**args)
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end