Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ListModelsRequest.
Request message for ModelService.ListModels .
Generated from protobuf message google.cloud.aiplatform.v1.ListModelsRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the Location to list the Models from. Format: projects/{project}/locations/{location}
↳ filter
string
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, i.e. the last segment of the Model's resource 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" . *
base_model_name only supports = Some examples: *
model=1234 *
displayName="myDisplayName" *
labels.myKey="myValue" *
baseModelName="text-bison"`
↳ page_size
int
The standard list page size.
↳ page_token
string
The standard list page token. Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
↳ read_mask
↳ order_by
string
A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * * display_name
* * create_time
* * update_time
Example: display_name, create_time desc
.
getParent
Required. The resource name of the Location to list the Models from.
Format: projects/{project}/locations/{location}
string
setParent
Required. The resource name of the Location to list the Models from.
Format: projects/{project}/locations/{location}
var
string
$this
getFilter
An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
-
modelsupports = and !=.modelrepresents the Model ID, i.e. the last segment of the Model's resource name .-
display_namesupports = and != -
labelssupports 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".
-
-
base_model_nameonly supports = Some examples: -
model=1234 -
displayName="myDisplayName" -
labels.myKey="myValue" -
baseModelName="text-bison"
-
string
setFilter
An expression for filtering the results of the request. For field names both snake_case and camelCase are supported.
-
modelsupports = and !=.modelrepresents the Model ID, i.e. the last segment of the Model's resource name .-
display_namesupports = and != -
labelssupports 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".
-
-
base_model_nameonly supports = Some examples: -
model=1234 -
displayName="myDisplayName" -
labels.myKey="myValue" -
baseModelName="text-bison"
-
var
string
$this
getPageSize
The standard list page size.
int
setPageSize
The standard list page size.
var
int
$this
getPageToken
The standard list page token.
Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
string
setPageToken
The standard list page token.
Typically obtained via ListModelsResponse.next_page_token of the previous ModelService.ListModels call.
var
string
$this
getReadMask
Mask specifying which fields to read.
hasReadMask
clearReadMask
setReadMask
Mask specifying which fields to read.
$this
getOrderBy
A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending. Supported fields:
-
display_name -
create_time -
update_timeExample:display_name, create_time desc.
string
setOrderBy
A comma-separated list of fields to order by, sorted in ascending order.
Use "desc" after a field name for descending. Supported fields:
-
display_name -
create_time -
update_timeExample:display_name, create_time desc.
var
string
$this
static::build
parent
string
Required. The resource name of the Location to list the Models from.
Format: projects/{project}/locations/{location}
Please see ModelServiceClient::locationName()
for help formatting this field.

