v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Creates an OnlineEvaluator in the given project and location.

post/v1/{+parent}/onlineEvaluators

Path parameters

parentstring required

Required. The parent resource where the OnlineEvaluator will be created. Format: projects/{project}/locations/{location}.

Request body

namestring

Identifier. The resource name of the OnlineEvaluator. Format: projects/{project}/locations/{location}/onlineEvaluators/{id}.

createTimestring google-datetime

Output only. Timestamp when the OnlineEvaluator was created.

displayNamestring

Optional. Human-readable name for the OnlineEvaluator. The name doesn't have to be unique. The name can consist of any UTF-8 characters. The maximum length is 63 characters. If the display name exceeds max characters, an INVALID_ARGUMENT error is returned.

state'STATE_UNSPECIFIED' | 'ACTIVE' | 'SUSPENDED' | 'FAILED' | 'WARNING'

Output only. The state of the OnlineEvaluator.

agentResourcestring

Required. Immutable. The name of the agent that the OnlineEvaluator evaluates periodically. This value is used to filter the traces with a matching cloud.resource_id and link the evaluation results with relevant dashboards/UIs. This field is immutable. Once set, it cannot be changed.

updateTimestring google-datetime

Output only. Timestamp when the OnlineEvaluator was last updated.

Response

Successful response