Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery
- 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
-
#image_bytes ⇒ String
Base64 encoded image bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestImageQuery
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchRequestImageQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestImageQuery
Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestImageQuery.
8747 8748 8749 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8747 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
8745 8746 8747 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8745 def image_bytes @image_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8752 8753 8754 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8752 def update!(**args) @image_bytes = args[:image_bytes] if args.key?(:image_bytes) end |