Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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.



17426
17427
17428
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17426

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)


17424
17425
17426
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17424

def image_bytes
  @image_bytes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17431
17432
17433
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 17431

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