Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1WebDetectionParams
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1p1beta1/classes.rb,
generated/google/apis/vision_v1p1beta1/representations.rb,
generated/google/apis/vision_v1p1beta1/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) ⇒ GoogleCloudVisionV1p1beta1WebDetectionParams
constructor
A new instance of GoogleCloudVisionV1p1beta1WebDetectionParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p1beta1WebDetectionParams
Returns a new instance of GoogleCloudVisionV1p1beta1WebDetectionParams.
2979 2980 2981 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 2979 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
2976 2977 2978 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 2976 def include_geo_results @include_geo_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2984 2985 2986 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 2984 def update!(**args) @include_geo_results = args[:include_geo_results] if args.key?(:include_geo_results) end |