1414name : OnlineEvaluator
1515description : Description
1616base_url : projects/{{project}}/locations/{{region}}/onlineEvaluators
17+ min_version : beta
1718self_link : ' projects/{{project}}/locations/{{region}}/onlineEvaluators/{{name}}'
1819create_url : projects/{{project}}/locations/{{region}}/onlineEvaluators
1920update_mask : true
@@ -59,31 +60,37 @@ properties:
5960 type : String
6061 description : ' Optional log view that will be used to query logs.
6162 If empty, the `_Default` view will be used.'
63+ immutable : true
6264 - name : openTelemetry
6365 type : NestedObject
6466 description : Configuration for data source following OpenTelemetry.
67+ immutable : true
6568 properties :
6669 - name : semconvVersion
6770 type : String
6871 required : true
6972 description : ' Defines which version OTel Semantic Convention the data follows.
7073 Can be "1.39.0" or newer.'
74+ immutable : true
7175 - name : traceScope
7276 type : NestedObject
7377 description : ' If chosen, the online evaluator will evaluate single traces matching
7478 specified `filter`.'
79+ immutable : true
7580 properties :
7681 - name : filter
7782 type : Array
7883 description : ' A list of predicates to filter traces. Multiple predicates are
7984 combined using AND.
8085 The maximum number of predicates is 10.'
86+ immutable : true
8187 item_type :
8288 type : NestedObject
8389 properties :
8490 - name : duration
8591 type : NestedObject
8692 description : Defines a predicate for filtering based on a numeric value.
93+ immutable : true
8794 properties :
8895 - name : comparisonOperator
8996 type : String
@@ -96,13 +103,16 @@ properties:
96103 NOT_EQUAL
97104 GREATER_OR_EQUAL
98105 GREATER'
106+ immutable : true
99107 - name : value
100108 type : Double
101109 required : true
102110 description : The value to compare against.
111+ immutable : true
103112 - name : totalTokenUsage
104113 type : NestedObject
105114 description : Defines a predicate for filtering based on a numeric value.
115+ immutable : true
106116 properties :
107117 - name : comparisonOperator
108118 type : String
@@ -115,15 +125,18 @@ properties:
115125 NOT_EQUAL
116126 GREATER_OR_EQUAL
117127 GREATER'
128+ immutable : true
118129 - name : value
119130 type : Double
120131 required : true
121132 description : The value to compare against.
133+ immutable : true
122134 - name : traceView
123135 type : String
124136 description : ' Optional trace view that will be used to query traces.
125137 If empty, the `_Default` view will be used.
126138 NOTE: This field is not supported yet and will be ignored if set.'
139+ immutable : true
127140 required : true
128141 immutable : true
129142 - name : config
@@ -181,8 +194,8 @@ properties:
181194 - `multi_turn_task_success_v1`
182195 - `multi_turn_tool_use_quality_v1`
183196 - `multi_turn_trajectory_quality_v1`
184- custom_expand : ' templates/terraform/custom_expand/vertexai_online_evaluator_metric.go .tmpl'
185- custom_flatten : ' templates/terraform/custom_flatten/vertexai_online_evaluator_metric.go .tmpl'
197+ custom_expand : ' templates/terraform/custom_expand/json_value .tmpl'
198+ custom_flatten : ' templates/terraform/custom_flatten/json_schema .tmpl'
186199 - name : metricResourceName
187200 type : String
188201 description : Resource name for registered metric.
@@ -224,4 +237,4 @@ examples:
224237 primary_resource_id : ' evaluator'
225238 vars :
226239 evaluator_name : ' my-evaluator'
227- min_version : beta
240+ engine_name : ' my-engine '
0 commit comments