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

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

Overview

Parameters for web detection request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudVisionV1p2beta1WebDetectionParams

Returns a new instance of GoogleCloudVisionV1p2beta1WebDetectionParams



1794
1795
1796
# File 'generated/google/apis/vision_v1p2beta1/classes.rb', line 1794

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

Instance Attribute Details

#include_geo_resultsBoolean Also known as: include_geo_results?

Whether to include results derived from the geo information in the image. Corresponds to the JSON property includeGeoResults

Returns:

  • (Boolean)


1791
1792
1793
# File 'generated/google/apis/vision_v1p2beta1/classes.rb', line 1791

def include_geo_results
  @include_geo_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1799
1800
1801
# File 'generated/google/apis/vision_v1p2beta1/classes.rb', line 1799

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