Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::AnnotateImageRequest.
Request for performing Google Cloud Vision API tasks over a user-provided image, with user-requested features, and with context information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#features
def features() -> ::Array<::Google::Cloud::Vision::V1p4beta1::Feature>
Returns
- (::Array<::Google::Cloud::Vision::V1p4beta1::Feature>) — Requested features.
#features=
def features=(value) -> ::Array<::Google::Cloud::Vision::V1p4beta1::Feature>
Parameter
- value (::Array<::Google::Cloud::Vision::V1p4beta1::Feature>) — Requested features.
Returns
- (::Array<::Google::Cloud::Vision::V1p4beta1::Feature>) — Requested features.
#image
def image() -> ::Google::Cloud::Vision::V1p4beta1::Image
Returns
- (::Google::Cloud::Vision::V1p4beta1::Image) — The image to be processed.
#image=
def image=(value) -> ::Google::Cloud::Vision::V1p4beta1::Image
Parameter
- value (::Google::Cloud::Vision::V1p4beta1::Image) — The image to be processed.
Returns
- (::Google::Cloud::Vision::V1p4beta1::Image) — The image to be processed.
#image_context
def image_context() -> ::Google::Cloud::Vision::V1p4beta1::ImageContext
Returns
- (::Google::Cloud::Vision::V1p4beta1::ImageContext) — Additional context that may accompany the image.
#image_context=
def image_context=(value) -> ::Google::Cloud::Vision::V1p4beta1::ImageContext
Parameter
- value (::Google::Cloud::Vision::V1p4beta1::ImageContext) — Additional context that may accompany the image.
Returns
- (::Google::Cloud::Vision::V1p4beta1::ImageContext) — Additional context that may accompany the image.