[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::ListModelsRequest (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-ListModelsRequest)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-ListModelsRequest) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::ListModelsRequest.\n\nRequest message for [AutoMl.ListModels](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_list_models_instance_ \"Google::Cloud::AutoML::V1::AutoML::Client#list_models (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #filter\n\n def filter() -\u003e ::String\n\n**Returns**\n\n- (::String) --- An expression for filtering the results of the request.\n\n - `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`).\n - `dataset_id` - for = or !=. Some examples of using the filter are:\n\n - `image_classification_model_metadata:*` --\\\u003e The model has\n `image_classification_model_metadata`.\n\n - `dataset_id=5` --\\\u003e The model was created from a dataset with ID 5.\n\n### #filter=\n\n def filter=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n An expression for filtering the results of the request.\n - `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`).\n - `dataset_id` - for = or !=. Some examples of using the filter are:\n\n - `image_classification_model_metadata:*` --\\\u003e The model has\n `image_classification_model_metadata`.\n\n - `dataset_id=5` --\\\u003e The model was created from a dataset with ID 5.\n\n**Returns**\n\n- (::String) --- An expression for filtering the results of the request.\n\n - `model_metadata` - for existence of the case (e.g. `video_classification_model_metadata:*`).\n - `dataset_id` - for = or !=. Some examples of using the filter are:\n\n - `image_classification_model_metadata:*` --\\\u003e The model has\n `image_classification_model_metadata`.\n\n - `dataset_id=5` --\\\u003e The model was created from a dataset with ID 5.\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Requested page size.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Requested page size. \n**Returns**\n\n- (::Integer) --- Requested page size.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ListModelsResponse#Google__Cloud__AutoML__V1__ListModelsResponse_next_page_token_instance_ \"Google::Cloud::AutoML::V1::ListModelsResponse#next_page_token (method)\") of the previous [AutoMl.ListModels](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_list_models_instance_ \"Google::Cloud::AutoML::V1::AutoML::Client#list_models (method)\") call.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ListModelsResponse#Google__Cloud__AutoML__V1__ListModelsResponse_next_page_token_instance_ \"Google::Cloud::AutoML::V1::ListModelsResponse#next_page_token (method)\") of the previous [AutoMl.ListModels](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_list_models_instance_ \"Google::Cloud::AutoML::V1::AutoML::Client#list_models (method)\") call. \n**Returns**\n\n- (::String) --- A token identifying a page of results for the server to return Typically obtained via [ListModelsResponse.next_page_token](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-ListModelsResponse#Google__Cloud__AutoML__V1__ListModelsResponse_next_page_token_instance_ \"Google::Cloud::AutoML::V1::ListModelsResponse#next_page_token (method)\") of the previous [AutoMl.ListModels](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_list_models_instance_ \"Google::Cloud::AutoML::V1::AutoML::Client#list_models (method)\") call.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Resource name of the project, from which to list the models.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Resource name of the project, from which to list the models. \n**Returns**\n\n- (::String) --- Required. Resource name of the project, from which to list the models."]]