Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Specifies the image query input.
Instance Attribute Summary collapse
-
#image_bytes ⇒ String
Base64 encoded image bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery.
10308 10309 10310 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_bytes ⇒ String
Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.
Corresponds to the JSON property imageBytes
10306 10307 10308 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10306 def image_bytes @image_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10313 10314 10315 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10313 def update!(**args) @image_bytes = args[:image_bytes] if args.key?(:image_bytes) end |