Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::AnnotateImageResponse (v0.12.2)

Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::AnnotateImageResponse.

Response to an image annotation request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context

def context() -> ::Google::Cloud::Vision::V1p3beta1::ImageAnnotationContext
Returns

#context=

def context=(value) -> ::Google::Cloud::Vision::V1p3beta1::ImageAnnotationContext
Parameter
Returns

#crop_hints_annotation

def crop_hints_annotation() -> ::Google::Cloud::Vision::V1p3beta1::CropHintsAnnotation
Returns

#crop_hints_annotation=

def crop_hints_annotation=(value) -> ::Google::Cloud::Vision::V1p3beta1::CropHintsAnnotation
Parameter
Returns

#error

def error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when error is set.

#error=

def error=(value) -> ::Google::Rpc::Status
Parameter
  • value (::Google::Rpc::Status) — If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when error is set.
Returns
  • (::Google::Rpc::Status) — If set, represents the error message for the operation. Note that filled-in image annotations are guaranteed to be correct, even when error is set.

#face_annotations

def face_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::FaceAnnotation>
Returns

#face_annotations=

def face_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::FaceAnnotation>
Parameter
Returns

#full_text_annotation

def full_text_annotation() -> ::Google::Cloud::Vision::V1p3beta1::TextAnnotation
Returns

#full_text_annotation=

def full_text_annotation=(value) -> ::Google::Cloud::Vision::V1p3beta1::TextAnnotation
Parameter
Returns

#image_properties_annotation

def image_properties_annotation() -> ::Google::Cloud::Vision::V1p3beta1::ImageProperties
Returns

#image_properties_annotation=

def image_properties_annotation=(value) -> ::Google::Cloud::Vision::V1p3beta1::ImageProperties
Parameter
Returns

#label_annotations

def label_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Returns

#label_annotations=

def label_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Parameter
Returns

#landmark_annotations

def landmark_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Returns

#landmark_annotations=

def landmark_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Parameter
Returns

#localized_object_annotations

def localized_object_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::LocalizedObjectAnnotation>
Returns

#localized_object_annotations=

def localized_object_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::LocalizedObjectAnnotation>
Parameter
Returns

#logo_annotations

def logo_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Returns

#logo_annotations=

def logo_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Parameter
Returns

#product_search_results

def product_search_results() -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchResults
Returns

#product_search_results=

def product_search_results=(value) -> ::Google::Cloud::Vision::V1p3beta1::ProductSearchResults
Parameter
Returns

#safe_search_annotation

def safe_search_annotation() -> ::Google::Cloud::Vision::V1p3beta1::SafeSearchAnnotation
Returns

#safe_search_annotation=

def safe_search_annotation=(value) -> ::Google::Cloud::Vision::V1p3beta1::SafeSearchAnnotation
Parameter
Returns

#text_annotations

def text_annotations() -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Returns

#text_annotations=

def text_annotations=(value) -> ::Array<::Google::Cloud::Vision::V1p3beta1::EntityAnnotation>
Parameter
Returns

#web_detection

def web_detection() -> ::Google::Cloud::Vision::V1p3beta1::WebDetection
Returns

#web_detection=

def web_detection=(value) -> ::Google::Cloud::Vision::V1p3beta1::WebDetection
Parameter
Returns