Class: Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1WebDetectionParams

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

Overview

Parameters for web detection request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p2beta1WebDetectionParams

Returns a new instance of GoogleCloudVisionV1p2beta1WebDetectionParams.



4781
4782
4783
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 4781

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)


4778
4779
4780
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 4778

def include_geo_results
  @include_geo_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4786
4787
4788
# File 'lib/google/apis/vision_v1p2beta1/classes.rb', line 4786

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