Vision AI V1 API - Class Google::Cloud::VisionAI::V1::UpdateAnnotationRequest (v0.1.0)

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

Request message for UpdateAnnotation API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotation

def annotation() -> ::Google::Cloud::VisionAI::V1::Annotation
Returns
  • (::Google::Cloud::VisionAI::V1::Annotation) — Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

#annotation=

def annotation=(value) -> ::Google::Cloud::VisionAI::V1::Annotation
Parameter
  • value (::Google::Cloud::VisionAI::V1::Annotation) — Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}
Returns
  • (::Google::Cloud::VisionAI::V1::Annotation) — Required. The annotation to update. The annotation's name field is used to identify the annotation to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}

#update_mask

def update_mask() -> ::Google::Protobuf::FieldMask
Returns

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns