Skip to main content
No description provided.

Messages

Data models used across requests/responses.

CountTestMeasurementsRequest

Request message for CountTestMeasurements
FieldTypeLabelDescription
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are measurement_id, measurement_type, name, test_step_id, test_report_id, numeric_value, string_value, boolean_value, passed, timestamp, created_date, and modified_date. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.

CountTestMeasurementsResponse

Response message for CountTestMeasurements
FieldTypeLabelDescription
countint64The total count of test measurements matching the filter

CountTestStepsRequest

Request message for CountTestSteps
FieldTypeLabelDescription
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are test_step_id, test_report_id, parent_step_id, name, description, step_type, step_path, status, start_time, end_time, error_code, error_message, created_date, and modified_date. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.

CountTestStepsResponse

Response message for CountTestSteps
FieldTypeLabelDescription
countint64The total count of test steps matching the filter

CreateTestMeasurementRequest

Request message for CreateTestMeasurement
FieldTypeLabelDescription
test_measurementTestMeasurementThe test measurement to create

CreateTestMeasurementResponse

Response message for CreateTestMeasurement
FieldTypeLabelDescription
test_measurementTestMeasurementThe created test measurement

CreateTestMeasurementsRequest

Request message for CreateTestMeasurements
FieldTypeLabelDescription
test_measurementsTestMeasurementrepeatedThe test measurements to create

CreateTestMeasurementsResponse

Response message for CreateTestMeasurements
FieldTypeLabelDescription
measurements_created_countint32The number of test measurements successfully created
measurement_idsstringrepeatedThe IDs of the created test measurements

CreateTestReportRequest

Request message for CreateTestReport
FieldTypeLabelDescription
statusTestStatusThe status of the test run
namestringThe name of the test run
test_system_namestringThe name of the test system
test_casestringThe test case that was run
start_timegoogle.protobuf.TimestampThe start time of the test run
end_timegoogle.protobuf.TimestampThe end time of the test run
metadatasift.metadata.v1.MetadataValuerepeatedThe metadata values associated with this test run
serial_numberstringThe serial number for the DUT
part_numberstringThe part number for the DUT
system_operatorstringUnique identifier for user owner
run_idstringThe run ID for the test report

CreateTestReportResponse

Response message for CreateTestReport
FieldTypeLabelDescription
test_reportTestReportThe created test report

CreateTestStepRequest

Request message for CreateTestStep
FieldTypeLabelDescription
test_stepTestStepThe test step to create

CreateTestStepResponse

Response message for CreateTestStep
FieldTypeLabelDescription
test_stepTestStepThe created test step

DeleteTestMeasurementRequest

Request message for DeleteTestMeasurement
FieldTypeLabelDescription
measurement_idstringThe ID of the test measurement to delete

DeleteTestMeasurementResponse

Response message for DeleteTestMeasurement Empty response indicating successful deletion This message has no fields.

DeleteTestReportRequest

Request message for DeleteTestReport
FieldTypeLabelDescription
test_report_idstringThe ID of the test report to delete

DeleteTestReportResponse

Response message for DeleteTestReport Empty response indicating successful deletion This message has no fields.

DeleteTestStepRequest

Request message for DeleteTestStep
FieldTypeLabelDescription
test_step_idstringThe ID of the test step to delete

DeleteTestStepResponse

Response message for DeleteTestStep Empty response indicating successful deletion This message has no fields.

ErrorInfo

No description provided.
FieldTypeLabelDescription
error_codeint32
error_messagestring

GetTestReportRequest

Request message for GetTestReport
FieldTypeLabelDescription
test_report_idstringThe ID of the test report to get

GetTestReportResponse

Response message for GetTestReport
FieldTypeLabelDescription
test_reportTestReportThe test report

ImportTestReportRequest

Request message for ImportTestReport
FieldTypeLabelDescription
remote_file_idstringThe remote file ID containing the XML test data

ImportTestReportResponse

Response message for ImportTestReport
FieldTypeLabelDescription
test_reportTestReportThe imported test report

ListTestMeasurementsRequest

Request message for ListTestMeasurements
FieldTypeLabelDescription
page_sizeuint32The maximum number of test measurements to return. The service may return fewer than this value. If unspecified, at most 50 test measurements will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListTestMeasurements call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTestMeasurements must match the call that provided the page token.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are measurement_id, measurement_type, name, test_step_id, test_report_id, numeric_value, string_value, boolean_value, passed, timestamp, created_date, and modified_date. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
order_bystringHow to order the retrieved test measurements. Formatted as a comma-separated string i.e. “FIELD_NAME[ desc],…”. Available fields to order_by are measurement_id, name, measurement_type, test_step_id, test_report_id, passed, timestamp, created_date, and modified_date. If left empty, items are ordered by timestamp in ascending order. For more information about the format of this field, read this Example: “timestamp asc,name”

ListTestMeasurementsResponse

Response message for ListTestMeasurements
FieldTypeLabelDescription
test_measurementsTestMeasurementrepeatedThe list of test measurements
next_page_tokenstringThe next page token for pagination

ListTestReportsRequest

Request message for ListTestReports
FieldTypeLabelDescription
page_sizeuint32The maximum number of test reports to return. The service may return fewer than this value. If unspecified, at most 50 test reports will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListTestReports call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTestReports must match the call that provided the page token.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are test_report_id, status, name, test_system_name, test_case, start_time, end_time, serial_number, created_by_user_id, modified_by_user_id, part_number, system_operator, run_id, archived_date, and metadata. Metadata can be used in filters by using metadata.{metadata_key_name} as the field name. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
order_bystringHow to order the retrieved test reports. Formatted as a comma-separated string i.e. “FIELD_NAME[ desc],…”. Available fields to order_by are test_report_id, name, test_system_name, test_case, start_time, end_time, created_date, and modified_date. If left empty, items are ordered by start_time in descending order (newest-first). For more information about the format of this field, read this Example: “start_time desc,name”

ListTestReportsResponse

Response message for ListTestReports
FieldTypeLabelDescription
test_reportsTestReportrepeatedThe list of test reports
next_page_tokenstringThe next page token for pagination

ListTestStepsRequest

Request message for ListTestSteps
FieldTypeLabelDescription
page_sizeuint32The maximum number of test steps to return. The service may return fewer than this value. If unspecified, at most 50 test steps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListTestSteps call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListTestSteps must match the call that provided the page token.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are test_step_id, test_report_id, parent_step_id, name, description, step_type, step_path, status, start_time, end_time, error_code, error_message, created_date, and modified_date. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
order_bystringHow to order the retrieved test steps. Formatted as a comma-separated string i.e. “FIELD_NAME[ desc],…”. Available fields to order_by are test_step_id, name, step_type, step_path, status, start_time, end_time, created_date, and modified_date. If left empty, items are ordered by step_path in ascending order. For more information about the format of this field, read this Example: “step_path asc,start_time desc”

ListTestStepsResponse

Response message for ListTestSteps
FieldTypeLabelDescription
test_stepsTestSteprepeatedThe list of test steps
next_page_tokenstringThe next page token for pagination

NumericBounds

No description provided.
FieldTypeLabelDescription
mindoubleoptional
maxdoubleoptional

StringBounds

No description provided.
FieldTypeLabelDescription
expected_valuestring

TestMeasurement

No description provided.
FieldTypeLabelDescription
measurement_idstring
measurement_typeTestMeasurementType
namestring
test_step_idstring
test_report_idstring
oneof value. numeric_valuedouble
oneof value. string_valuestring
oneof value. boolean_valuebool
unitsift.unit.v2.Unit
oneof bounds. numeric_boundsNumericBounds
oneof bounds. string_boundsStringBounds
passedbool
timestampgoogle.protobuf.Timestamp

TestReport

No description provided.
FieldTypeLabelDescription
test_report_idstringUnique identifier for the run
statusTestStatusThe status of the test run
namestringThe name of the test run
test_system_namestringThe name of the test system
test_casestringThe test case that was run
start_timegoogle.protobuf.TimestampThe start time of the test run
end_timegoogle.protobuf.TimestampThe end time of the test run
metadatasift.metadata.v1.MetadataValuerepeatedThe metadata values associated with this test run
serial_numberstringThe serial number for the DUT
part_numberstringThe part number for the DUT
system_operatorstringUnique identifier for user owner
archived_dategoogle.protobuf.TimestampThe date and time the test run was archived (internal)
is_archivedboolWhether the test run is archived (externally exposed)
run_idstringThe run ID for the test run

TestStep

No description provided.
FieldTypeLabelDescription
test_step_idstringunique identifier for the step
test_report_idstringpointer to overall test run
parent_step_idstringpointer to parent step, if any
namestringName of the test step for display
descriptionstringDescription of the test step from test controller
step_typeTestStepTypeSemantic type of the test step
step_pathstringHierarchical path (e.g., “1”, “1.1”, “1.2.3”)
statusTestStatusStatus of the test step
start_timegoogle.protobuf.TimestampStart time of the test step
end_timegoogle.protobuf.TimestampEnd time of the test step
error_infoErrorInfoError information of the test step

UpdateTestMeasurementRequest

Request message for UpdateTestMeasurement
FieldTypeLabelDescription
test_measurementTestMeasurementThe test measurement to update
update_maskgoogle.protobuf.FieldMaskThe field mask specifying which fields to update. The fields available to be updated are name, measurement_type, numeric_value, string_value, boolean_value, unit, numeric_bounds, string_bounds, passed, and timestamp.

UpdateTestMeasurementResponse

Response message for UpdateTestMeasurement
FieldTypeLabelDescription
test_measurementTestMeasurementThe updated test measurement

UpdateTestReportRequest

Request message for UpdateTestReport
FieldTypeLabelDescription
test_reportTestReportThe test report to update
update_maskgoogle.protobuf.FieldMaskThe field mask specifying which fields to update. The fields available to be updated are status, name, test_system_name, test_case, start_time, end_time, serial_number, part_number, system_operator, run_id, and is_archived.

UpdateTestReportResponse

Response message for UpdateTestReport
FieldTypeLabelDescription
test_reportTestReportThe updated test report

UpdateTestStepRequest

Request message for UpdateTestStep
FieldTypeLabelDescription
test_stepTestStepThe test step to update
update_maskgoogle.protobuf.FieldMaskThe field mask specifying which fields to update. The fields available to be updated are name, description, step_type, step_path, test_case, status, start_time, end_time, and error_info.

UpdateTestStepResponse

Response message for UpdateTestStep
FieldTypeLabelDescription
test_stepTestStepThe updated test step

Enums

Allowed constant values used in message fields.

TestMeasurementType

No description provided.
NameNumberDescription
TEST_MEASUREMENT_TYPE_UNSPECIFIED0
TEST_MEASUREMENT_TYPE_DOUBLE1
TEST_MEASUREMENT_TYPE_STRING3
TEST_MEASUREMENT_TYPE_BOOLEAN4
TEST_MEASUREMENT_TYPE_LIMIT5

TestStatus

No description provided.
NameNumberDescription
TEST_STATUS_UNSPECIFIED0
TEST_STATUS_DRAFT1Barebones test report created, waiting for file processing
TEST_STATUS_PASSED2
TEST_STATUS_FAILED3
TEST_STATUS_ABORTED4
TEST_STATUS_ERROR5
TEST_STATUS_IN_PROGRESS6
TEST_STATUS_SKIPPED7

TestStepType

No description provided.
NameNumberDescription
TEST_STEP_TYPE_UNSPECIFIED0
TEST_STEP_TYPE_SEQUENCE1ResultSet/MainSequence - top-level test sequence
TEST_STEP_TYPE_GROUP2TestGroup - logical grouping of test steps
TEST_STEP_TYPE_ACTION3SessionAction - individual executable action
TEST_STEP_TYPE_FLOW_CONTROL4Flow control elements (While, If, etc.)

Services

RPC methods exposed by this API.

TestReportService

No description provided.
MethodRequestResponseDescription
ImportTestReportImportTestReportRequestImportTestReportResponseImports a test report from an already-uploaded file
CreateTestReportCreateTestReportRequestCreateTestReportResponseCreates a test report
GetTestReportGetTestReportRequestGetTestReportResponseGets a single test report
ListTestReportsListTestReportsRequestListTestReportsResponseLists test reports with optional filtering
UpdateTestReportUpdateTestReportRequestUpdateTestReportResponseUpdates a test report
DeleteTestReportDeleteTestReportRequestDeleteTestReportResponseDeletes a test report
CreateTestStepCreateTestStepRequestCreateTestStepResponseCreates a test step
ListTestStepsListTestStepsRequestListTestStepsResponseLists test steps with optional filtering
UpdateTestStepUpdateTestStepRequestUpdateTestStepResponseUpdates a test step
DeleteTestStepDeleteTestStepRequestDeleteTestStepResponseDeletes a test step
CreateTestMeasurementCreateTestMeasurementRequestCreateTestMeasurementResponseCreates a test measurement
CreateTestMeasurementsCreateTestMeasurementsRequestCreateTestMeasurementsResponseCreates multiple test measurements in a single request
ListTestMeasurementsListTestMeasurementsRequestListTestMeasurementsResponseLists test measurements with optional filtering
CountTestStepsCountTestStepsRequestCountTestStepsResponseCounts test steps with optional filtering
CountTestMeasurementsCountTestMeasurementsRequestCountTestMeasurementsResponseCounts test measurements with optional filtering
UpdateTestMeasurementUpdateTestMeasurementRequestUpdateTestMeasurementResponseUpdates a test measurement
DeleteTestMeasurementDeleteTestMeasurementRequestDeleteTestMeasurementResponseDeletes a test measurement