Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery.
3585 3586 3587 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3585 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
3583 3584 3585 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3583 def image_bytes @image_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3590 3591 3592 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3590 def update!(**args) @image_bytes = args[:image_bytes] if args.key?(:image_bytes) end |