Class: Google::Apis::HealthcareV1::StudyMetrics

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb

Overview

StudyMetrics contains metrics describing a DICOM study.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StudyMetrics

Returns a new instance of StudyMetrics.



5203
5204
5205
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5203

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#blob_storage_size_bytesFixnum

Total blob storage bytes for all instances in the study. Corresponds to the JSON property blobStorageSizeBytes

Returns:

  • (Fixnum)


5179
5180
5181
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5179

def blob_storage_size_bytes
  @blob_storage_size_bytes
end

#instance_countFixnum

Number of instances in the study. Corresponds to the JSON property instanceCount

Returns:

  • (Fixnum)


5184
5185
5186
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5184

def instance_count
  @instance_count
end

#series_countFixnum

Number of series in the study. Corresponds to the JSON property seriesCount

Returns:

  • (Fixnum)


5189
5190
5191
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5189

def series_count
  @series_count
end

#structured_storage_size_bytesFixnum

Total structured storage bytes for all instances in the study. Corresponds to the JSON property structuredStorageSizeBytes

Returns:

  • (Fixnum)


5194
5195
5196
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5194

def structured_storage_size_bytes
  @structured_storage_size_bytes
end

#studyString

The study resource path. For example, projects/project_id/locations/ location_id/datasets/dataset_id/dicomStores/dicom_store_id/dicomWeb/ studies/study_uid`. Corresponds to the JSON propertystudy`

Returns:

  • (String)


5201
5202
5203
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5201

def study
  @study
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5208
5209
5210
5211
5212
5213
5214
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5208

def update!(**args)
  @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
  @instance_count = args[:instance_count] if args.key?(:instance_count)
  @series_count = args[:series_count] if args.key?(:series_count)
  @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
  @study = args[:study] if args.key?(:study)
end