class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextMetadata
Metadata for the text.
Attributes
language_code[RW]
The language of this text, as a [BCP-47](www.rfc-editor.org/rfc/bcp/ bcp47.txt). Default value is en-US. Corresponds to the JSON property `languageCode` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4358 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4363 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) end