Class: Google::Apis::VisionV1::WebDetectionParams

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vision_v1/classes.rb,
lib/google/apis/vision_v1/representations.rb,
lib/google/apis/vision_v1/representations.rb

Overview

Parameters for web detection request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WebDetectionParams

Returns a new instance of WebDetectionParams.



10148
10149
10150
# File 'lib/google/apis/vision_v1/classes.rb', line 10148

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#include_geo_resultsBoolean Also known as: include_geo_results?

This field has no effect on results. Corresponds to the JSON property includeGeoResults

Returns:

  • (Boolean)


10145
10146
10147
# File 'lib/google/apis/vision_v1/classes.rb', line 10145

def include_geo_results
  @include_geo_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10153
10154
10155
# File 'lib/google/apis/vision_v1/classes.rb', line 10153

def update!(**args)
  @include_geo_results = args[:include_geo_results] if args.key?(:include_geo_results)
end