class_docstr: Hook for Google Cloud Vertex AI Dataset APIs.
class_docstr_tok: ["Hook","for","Google","Cloud","Vertex","AI","Dataset","APIs","."]
docstr: Lists Annotations belongs to a data item.
  
  :param project_id: Required. The ID of the Google Cloud project that the service belongs to.
  :param region: Required. The ID of the Google Cloud region that the service belongs to.
  :param dataset: Required. The ID of the Dataset.
  :param data_item: Required. The ID of the DataItem to list Annotations from.
  :param filter: The standard list filter.
  :param page_size: The standard list page size.
  :param page_token: The standard list page token.
  :param read_mask: Mask specifying which fields to read.
  :param order_by: A comma-separated list of fields to order by, sorted in ascending order. Use "desc"
      after a field name for descending.
  :param retry: Designation of what errors, if any, should be retried.
  :param timeout: The timeout for this request.
  :param metadata: Strings which should be sent along with the request as metadata.
docstr_tok: ["Lists","Annotations","belongs","to","a","data","item",".",":","param","project_id",":","Required",".","The","ID","of","the","Google","Cloud","project","that","the","service","belongs","to",".",":","param","region",":","Required",".","The","ID","of","the","Google","Cloud","region","that","the","service","belongs","to",".",":","param","dataset",":","Required",".","The","ID","of","the","Dataset",".",":","param","data_item",":","Required",".","The","ID","of","the","DataItem","to","list","Annotations","from",".",":","param","filter",":","The","standard","list","filter",".",":","param","page_size",":","The","standard","list","page","size",".",":","param","page_token",":","The","standard","list","page","token",".",":","param","read_mask",":","Mask","specifying","which","fields","to","read",".",":","param","order_by",":","A","comma-separated","list","of","fields","to","order","by",",","sorted","in","ascending","order",".","Use","``","desc","''","after","a","field","name","for","descending",".",":","param","retry",":","Designation","of","what","errors",",","if","any",",","should","be","retried",".",":","param","timeout",":","The","timeout","for","this","request",".",":","param","metadata",":","Strings","which","should","be","sent","along","with","the","request","as","metadata","."]
code: def list_annotations(
      self,
      project_id: str,
      region: str,
      dataset: str,
      data_item: str,
      filter: str | None = None,
      page_size: int | None = None,
      page_token: str | None = None,
      read_mask: str | None = None,
      order_by: str | None = None,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ) -> ListAnnotationsPager:
      """
      Lists Annotations belongs to a data item.
  
      :param project_id: Required. The ID of the Google Cloud project that the service belongs to.
      :param region: Required. The ID of the Google Cloud region that the service belongs to.
      :param dataset: Required. The ID of the Dataset.
      :param data_item: Required. The ID of the DataItem to list Annotations from.
      :param filter: The standard list filter.
      :param page_size: The standard list page size.
      :param page_token: The standard list page token.
      :param read_mask: Mask specifying which fields to read.
      :param order_by: A comma-separated list of fields to order by, sorted in ascending order. Use "desc"
          after a field name for descending.
      :param retry: Designation of what errors, if any, should be retried.
      :param timeout: The timeout for this request.
      :param metadata: Strings which should be sent along with the request as metadata.
      """
      client = self.get_dataset_service_client(region)
      parent = client.data_item_path(
          project_id, region, dataset, data_item
      )
  
      result = client.list_annotations(
          request={
              "parent": parent,
              "filter": filter,
              "page_size": page_size,
              "page_token": page_token,
              "read_mask": read_mask,
              "order_by": order_by,
          },
          retry=retry,
          timeout=timeout,
          metadata=metadata,
      )
      return result
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.client_options import ClientOptions
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.aiplatform_v1 import DatasetServiceClient
  from airflow.exceptions import AirflowException
  from airflow.providers.google.common.consts import CLIENT_INFO
  from airflow.providers.google.common.hooks.base_google import GoogleBaseHook
label_desc: Use image node_id 11 for calling the DatasetHook obj's underlying member method code with example usage: obj.list_annotations(project_id, region, dataset, data_item, filter, page_size, page_token, read_mask, order_by, retry, timeout, metadata) and returns: result