Class ProjectsResource.EvaluationsResource.SearchRequest
Searches evaluations within a project.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.EvaluationsResource.SearchRequest : DataLabelingBaseServiceRequest<GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse>, IClientServiceRequest<GoogleCloudDatalabelingV1beta1SearchEvaluationsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, string)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
Filter
Optional. To search evaluations, you can filter by the following: * evaluation_job.evaluation_job_id
(the last part of EvaluationJob.name) * evaluation_job.model_id (the {model_name} portion of
EvaluationJob.modelVersion) * evaluation_job.evaluation_job_run_time_start (Minimum threshold for
the evaluationJobRunTime that created the evaluation) * evaluation_job.evaluation_job_run_time_end
(Maximum threshold for the evaluationJobRunTime that created the evaluation) *
evaluation_job.job_state (EvaluationJob.state) * annotation_spec.display_name (the Evaluation
contains a metric for the annotation spec with this displayName) To filter by multiple critiera, use
the AND
operator or the OR
operator. The following examples shows a string that filters by
several critiera: "evaluation_job.evaluation_job_id = {evaluation_job_id} AND
evaluation_job.model_id = {model_name} AND evaluation_job.evaluation_job_run_time_start =
{timestamp_1} AND evaluation_job.evaluation_job_run_time_end = {timestamp_2} AND
annotation_spec.display_name = {display_name}"
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. Requested page size. Server may return fewer results than requested. Default value is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A token identifying a page of results for the server to return. Typically obtained by the nextPageToken of the response to a previous search request. If you don't specify this field, the API call requests the first page of the search.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Evaluation search parent (project ID). Format: "projects/ {project_id}"
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()