class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextPayload

Container of information about a piece of text.

Attributes

text_content[RW]

Text content. Corresponds to the JSON property `textContent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4377
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 4382
def update!(**args)
  @text_content = args[:text_content] if args.key?(:text_content)
end