Class: Google::Apis::HealthcareV1beta1::BlobStorageInfo
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::BlobStorageInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#size_bytes ⇒ Fixnum
Size in bytes of data stored in Blob Storage.
-
#storage_class ⇒ String
The storage class in which the Blob data is stored.
-
#storage_class_update_time ⇒ String
The time at which the storage class was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BlobStorageInfo
constructor
A new instance of BlobStorageInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BlobStorageInfo
Returns a new instance of BlobStorageInfo.
884 885 886 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 884 def initialize(**args) update!(**args) end |
Instance Attribute Details
#size_bytes ⇒ Fixnum
Size in bytes of data stored in Blob Storage.
Corresponds to the JSON property sizeBytes
871 872 873 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 871 def size_bytes @size_bytes end |
#storage_class ⇒ String
The storage class in which the Blob data is stored.
Corresponds to the JSON property storageClass
876 877 878 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 876 def storage_class @storage_class end |
#storage_class_update_time ⇒ String
The time at which the storage class was updated. This is used to compute early
deletion fees of the resource.
Corresponds to the JSON property storageClassUpdateTime
882 883 884 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 882 def storage_class_update_time @storage_class_update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
889 890 891 892 893 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 889 def update!(**args) @size_bytes = args[:size_bytes] if args.key?(:size_bytes) @storage_class = args[:storage_class] if args.key?(:storage_class) @storage_class_update_time = args[:storage_class_update_time] if args.key?(:storage_class_update_time) end |