Cloud AutoML V1beta1 Client - Class ListModelEvaluationsRequest (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1beta1 Client class ListModelEvaluationsRequest.

Request message for AutoMl.ListModelEvaluations.

Generated from protobuf message google.cloud.automl.v1beta1.ListModelEvaluationsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the model to list the model evaluations for. If modelId is set as "-", this will list model evaluations from across all models of the parent location.

↳ filter string

An expression for filtering the results of the request. * annotation_spec_id - for =, != or existence. See example below for the last. Some examples of using the filter are: * annotation_spec_id!=4 --> The model evaluation was done for annotation spec with ID different than 4. * NOT annotation_spec_id:* --> The model evaluation was done for aggregate of all annotation specs.

↳ page_size int

Requested page size.

↳ page_token string

A token identifying a page of results for the server to return. Typically obtained via ListModelEvaluationsResponse.next_page_token of the previous AutoMl.ListModelEvaluations call.

getParent

Required. Resource name of the model to list the model evaluations for.

If modelId is set as "-", this will list model evaluations from across all models of the parent location.

Returns
TypeDescription
string

setParent

Required. Resource name of the model to list the model evaluations for.

If modelId is set as "-", this will list model evaluations from across all models of the parent location.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

An expression for filtering the results of the request.

  • annotation_spec_id - for =, != or existence. See example below for the last. Some examples of using the filter are:
    • annotation_spec_id!=4 --> The model evaluation was done for annotation spec with ID different than 4.
    • NOT annotation_spec_id:* --> The model evaluation was done for aggregate of all annotation specs.
Returns
TypeDescription
string

setFilter

An expression for filtering the results of the request.

  • annotation_spec_id - for =, != or existence. See example below for the last. Some examples of using the filter are:
    • annotation_spec_id!=4 --> The model evaluation was done for annotation spec with ID different than 4.
    • NOT annotation_spec_id:* --> The model evaluation was done for aggregate of all annotation specs.
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size.

Returns
TypeDescription
int

setPageSize

Requested page size.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results for the server to return.

Typically obtained via ListModelEvaluationsResponse.next_page_token of the previous AutoMl.ListModelEvaluations call.

Returns
TypeDescription
string

setPageToken

A token identifying a page of results for the server to return.

Typically obtained via ListModelEvaluationsResponse.next_page_token of the previous AutoMl.ListModelEvaluations call.

Parameter
NameDescription
var string
Returns
TypeDescription
$this