Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ImageQuery (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ImageQuery.

Image query for search endpoint request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#asset

def asset() -> ::String
Returns
  • (::String) — Resource name of the asset. Only supported in IMAGE corpus type. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

#asset=

def asset=(value) -> ::String
Parameter
  • value (::String) — Resource name of the asset. Only supported in IMAGE corpus type. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
Returns
  • (::String) — Resource name of the asset. Only supported in IMAGE corpus type. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

#input_image

def input_image() -> ::String
Returns
  • (::String) — Input image in raw bytes.

#input_image=

def input_image=(value) -> ::String
Parameter
  • value (::String) — Input image in raw bytes.
Returns
  • (::String) — Input image in raw bytes.