Skip to main content

study_metrics

Creates, updates, deletes, gets or lists a study_metrics resource.

Overview

Namestudy_metrics
TypeResource
Idgoogle.healthcare.study_metrics

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
blobStorageSizeBytesstring (int64)Total blob storage bytes for all instances in the study.
instanceCountstring (int64)Number of instances in the study.
seriesCountstring (int64)Number of series in the study.
structuredStorageSizeBytesstring (int64)Total structured storage bytes for all instances in the study.
studystringThe study resource path. For example, projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_study_metricsselectprojectsId, locationsId, datasetsId, dicomStoresId, studiesIdGetStudyMetrics returns metrics for a study.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
datasetsIdstring
dicomStoresIdstring
locationsIdstring
projectsIdstring
studiesIdstring

SELECT examples

GetStudyMetrics returns metrics for a study.

SELECT
blobStorageSizeBytes,
instanceCount,
seriesCount,
structuredStorageSizeBytes,
study
FROM google.healthcare.study_metrics
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND datasetsId = '{{ datasetsId }}' -- required
AND dicomStoresId = '{{ dicomStoresId }}' -- required
AND studiesId = '{{ studiesId }}' -- required;