Class: Google::Apis::HealthcareV1::StorageInfo

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

StorageInfo encapsulates all the storage info of a resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageInfo

Returns a new instance of StorageInfo.



5106
5107
5108
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5106

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

Instance Attribute Details

#blob_storage_infoGoogle::Apis::HealthcareV1::BlobStorageInfo

BlobStorageInfo contains details about the data stored in Blob Storage for the referenced resource. Note: Storage class is only valid for DICOM and hence will only be populated for DICOM resources. Corresponds to the JSON property blobStorageInfo



5091
5092
5093
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5091

def blob_storage_info
  @blob_storage_info
end

#referenced_resourceString

The resource whose storage info is returned. For example: projects/projectID /locations/locationID/datasets/datasetID/dicomStores/dicomStoreID/ dicomWeb/studies/studyUID/series/seriesUID/instances/instanceUID` Corresponds to the JSON propertyreferencedResource`

Returns:

  • (String)


5098
5099
5100
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5098

def referenced_resource
  @referenced_resource
end

#structured_storage_infoGoogle::Apis::HealthcareV1::StructuredStorageInfo

StructuredStorageInfo contains details about the data stored in Structured Storage for the referenced resource. Corresponds to the JSON property structuredStorageInfo



5104
5105
5106
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5104

def structured_storage_info
  @structured_storage_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5111
5112
5113
5114
5115
# File 'lib/google/apis/healthcare_v1/classes.rb', line 5111

def update!(**args)
  @blob_storage_info = args[:blob_storage_info] if args.key?(:blob_storage_info)
  @referenced_resource = args[:referenced_resource] if args.key?(:referenced_resource)
  @structured_storage_info = args[:structured_storage_info] if args.key?(:structured_storage_info)
end