class Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak

Detected start or end of a structural component.

Attributes

is_prefix[RW]

True if break prepends the element. Corresponds to the JSON property `isPrefix` @return [Boolean]

is_prefix?[RW]

True if break prepends the element. Corresponds to the JSON property `isPrefix` @return [Boolean]

type[RW]

Detected break type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/vision_v1/classes.rb, line 2664
def update!(**args)
  @is_prefix = args[:is_prefix] if args.key?(:is_prefix)
  @type = args[:type] if args.key?(:type)
end