class_docstr: Lists Models in a Location.
  
  :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 retry: Designation of what errors, if any, should be retried.
  :param filter: An expression for filtering the results of the request. For field names both
      snake_case and camelCase are supported.
      -  ``model`` supports = and !=. ``model`` represents the Model ID,  Could be in format the
      last segment of the Model's [resource name][google.cloud.aiplatform.v1.Model.name].
      -  ``display_name`` supports = and !=
      -  ``labels`` supports general map functions that is:
      --  ``labels.key=value`` - key:value equality
      --  \`labels.key:\* or labels:key - key existence
      --  A key including a space must be quoted. ``labels."a key"``.
  :param page_size: The standard list page size.
  :param page_token: The standard list page token. Typically obtained via
      [ListModelsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelsResponse.next_page_token]
      of the previous
      [ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels]
      call.
  :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 timeout: The timeout for this request.
  :param metadata: Strings which should be sent along with the request as metadata.
  :param gcp_conn_id: The connection ID to use connecting to Google Cloud.
  :param impersonation_chain: Optional service account to impersonate using short-term
      credentials, or chained list of accounts required to get the access_token
      of the last account in the list, which will be impersonated in the request.
      If set as a string, the account must grant the originating account
      the Service Account Token Creator IAM role.
      If set as a sequence, the identities from the list must grant
      Service Account Token Creator IAM role to the directly preceding identity, with first
      account from the list granting this role to the originating account (templated).
class_docstr_tok: ["Lists","Models","in","a","Location",".",":","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","retry",":","Designation","of","what","errors",",","if","any",",","should","be","retried",".",":","param","filter",":","An","expression","for","filtering","the","results","of","the","request",".","For","field","names","both","snake_case","and","camelCase","are","supported",".","-","``","model","``","supports","=","and","!","=",".","``","model","``","represents","the","Model","ID",",","Could","be","in","format","the","last","segment","of","the","Model","'s","[","resource","name","]","[","google.cloud.aiplatform.v1.Model.name","]",".","-","``","display_name","``","supports","=","and","!","=","-","``","labels","``","supports","general","map","functions","that","is",":","--","``","labels.key=value","``","-","key",":","value","equality","--","\\","`","labels.key",":","\\","*","or","labels",":","key","-","key","existence","--","A","key","including","a","space","must","be","quoted",".","``","labels",".","``","a","key","''","``",".",":","param","page_size",":","The","standard","list","page","size",".",":","param","page_token",":","The","standard","list","page","token",".","Typically","obtained","via","[","ListModelsResponse.next_page_token","]","[","google.cloud.aiplatform.v1.ListModelsResponse.next_page_token","]","of","the","previous","[","ModelService.ListModels","]","[","google.cloud.aiplatform.v1.ModelService.ListModels","]","call",".",":","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","timeout",":","The","timeout","for","this","request",".",":","param","metadata",":","Strings","which","should","be","sent","along","with","the","request","as","metadata",".",":","param","gcp_conn_id",":","The","connection","ID","to","use","connecting","to","Google","Cloud",".",":","param","impersonation_chain",":","Optional","service","account","to","impersonate","using","short-term","credentials",",","or","chained","list","of","accounts","required","to","get","the","access_token","of","the","last","account","in","the","list",",","which","will","be","impersonated","in","the","request",".","If","set","as","a","string",",","the","account","must","grant","the","originating","account","the","Service","Account","Token","Creator","IAM","role",".","If","set","as","a","sequence",",","the","identities","from","the","list","must","grant","Service","Account","Token","Creator","IAM","role","to","the","directly","preceding","identity",",","with","first","account","from","the","list","granting","this","role","to","the","originating","account","(","templated",")","."]
code: def execute(self, context: Context):
      hook = ModelServiceHook(
          gcp_conn_id=self.gcp_conn_id,
          impersonation_chain=self.impersonation_chain,
      )
      results = hook.list_models(
          project_id=self.project_id,
          region=self.region,
          filter=self.filter,
          page_size=self.page_size,
          page_token=self.page_token,
          read_mask=self.read_mask,
          order_by=self.order_by,
          retry=self.retry,
          timeout=self.timeout,
          metadata=self.metadata,
      )
      VertexAIModelListLink.persist(context=context, task_instance=self)
      return [Model.to_dict(result) for result in results]
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.exceptions import NotFound
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.aiplatform_v1.types import Model, model_service
  from airflow.providers.google.cloud.hooks.vertex_ai.model_service import ModelServiceHook
  from airflow.providers.google.cloud.links.vertex_ai import VertexAIModelExportLink, VertexAIModelLink, VertexAIModelListLink
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
label_desc: Use image node_id 2 for calling the ListModelsOperator obj's underlying member method code with example usage: obj.execute(context) and returns: unknown