class Google::Apis::TranslateV2::ListDetectionsResponse

Attributes

detections[RW]

A detections contains detection results of several text Corresponds to the JSON property `detections` @return [Array<Array<Google::Apis::TranslateV2::DetectionsResource>>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/translate_v2/classes.rb, line 39
def update!(**args)
  @detections = args[:detections] if args.key?(:detections)
end