class Google::Apis::TranslateV3beta1::InputConfig

Input configuration for BatchTranslateText request.

Attributes

gcs_source[RW]

The Google Cloud Storage location for the input content. Corresponds to the JSON property `gcsSource` @return [Google::Apis::TranslateV3beta1::GcsSource]

mime_type[RW]

Optional. Can be “text/plain” or “text/html”. For `.tsv`, “text/html” is used if mime_type is missing. For `.html`, this field must be “text/html” or empty. For `.txt`, this field must be “text/plain” or empty. 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 554
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 559
def update!(**args)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end