Reference documentation and code samples for the Cloud AutoML V1 Client class ListModelsRequest.
Request message for AutoMl.ListModels.
Generated from protobuf message google.cloud.automl.v1.ListModelsRequest
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Resource name of the project, from which to list the models. |
↳ filter |
string
An expression for filtering the results of the request. * * |
↳ page_size |
int
Requested page size. |
↳ page_token |
string
A token identifying a page of results for the server to return Typically obtained via ListModelsResponse.next_page_token of the previous AutoMl.ListModels call. |
getParent
Required. Resource name of the project, from which to list the models.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. Resource name of the project, from which to list the models.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
An expression for filtering the results of the request.
model_metadata
- for existence of the case (e.g.video_classification_model_metadata:*
).dataset_id
- for = or !=. Some examples of using the filter are:image_classification_model_metadata:*
--> The model hasimage_classification_model_metadata
.dataset_id=5
--> The model was created from a dataset with ID 5.
Returns | |
---|---|
Type | Description |
string |
setFilter
An expression for filtering the results of the request.
model_metadata
- for existence of the case (e.g.video_classification_model_metadata:*
).dataset_id
- for = or !=. Some examples of using the filter are:image_classification_model_metadata:*
--> The model hasimage_classification_model_metadata
.dataset_id=5
--> The model was created from a dataset with ID 5.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
Requested page size.
Returns | |
---|---|
Type | Description |
int |
setPageSize
Requested page size.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
A token identifying a page of results for the server to return Typically obtained via ListModelsResponse.next_page_token of the previous AutoMl.ListModels call.
Returns | |
---|---|
Type | Description |
string |
setPageToken
A token identifying a page of results for the server to return Typically obtained via ListModelsResponse.next_page_token of the previous AutoMl.ListModels call.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. Resource name of the project, from which to list the models. Please see AutoMlClient::locationName() for help formatting this field. |
Returns | |
---|---|
Type | Description |
ListModelsRequest |