Close httplib2 connections.
getStorageInfo(resource, x__xgafv=None)
GetStorageInfo returns the storage info of the specified resource.
close()
Close httplib2 connections.
getStorageInfo(resource, x__xgafv=None)
GetStorageInfo returns the storage info of the specified resource.
Args:
resource: string, Required. The path of the resource for which the storage info is requested (for exaxmple for a DICOM Instance: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreId}/dicomWeb/studies/{study_uid}/series/{series_uid}/instances/{instance_uid}`) (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # StorageInfo encapsulates all the storage info of a resource.
"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. # Info about the data stored in blob storage for the resource.
"sizeBytes": "A String", # Size in bytes of data stored in Blob Storage.
"storageClass": "A String", # The storage class in which the Blob data is stored.
"storageClassUpdateTime": "A String", # The time at which the storage class was updated. This is used to compute early deletion fees of the resource.
},
"referencedResource": "A String", # The resource whose storage info is returned. For example, to specify the resource path of a DICOM Instance: `projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicom_store_id}/dicomWeb/studi/{study_uid}/series/{series_uid}/instances/{instance_uid}`
"structuredStorageInfo": { # StructuredStorageInfo contains details about the data stored in Structured Storage for the referenced resource. # Info about the data stored in structured storage for the resource.
"sizeBytes": "A String", # Size in bytes of data stored in structured storage.
},
}