Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery.



16875
16876
16877
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16875

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

Instance Attribute Details

#image_bytesString

Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP. Corresponds to the JSON property imageBytes

Returns:

  • (String)


16873
16874
16875
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16873

def image_bytes
  @image_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16880
16881
16882
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16880

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