Class: Google::Apis::VisionV1::WebDetectionParams
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1::WebDetectionParams
- 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
-
#include_geo_results ⇒ Boolean
(also: #include_geo_results?)
Whether to include results derived from the geo information in the image.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebDetectionParams
constructor
A new instance of WebDetectionParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WebDetectionParams
Returns a new instance of WebDetectionParams.
10078 10079 10080 |
# File 'lib/google/apis/vision_v1/classes.rb', line 10078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_geo_results ⇒ Boolean Also known as: include_geo_results?
Whether to include results derived from the geo information in the image.
Corresponds to the JSON property includeGeoResults
10075 10076 10077 |
# File 'lib/google/apis/vision_v1/classes.rb', line 10075 def include_geo_results @include_geo_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10083 10084 10085 |
# File 'lib/google/apis/vision_v1/classes.rb', line 10083 def update!(**args) @include_geo_results = args[:include_geo_results] if args.key?(:include_geo_results) end |