lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.64.0 vs lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.65.0

- old
+ new

@@ -419,10 +419,63 @@ @members = args[:members] if args.key?(:members) @role = args[:role] if args.key?(:role) end end + # 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. + class BlobStorageInfo + include Google::Apis::Core::Hashable + + # Size in bytes of data stored in Blob Storage. + # Corresponds to the JSON property `sizeBytes` + # @return [Fixnum] + attr_accessor :size_bytes + + # The storage class in which the Blob data is stored. + # Corresponds to the JSON property `storageClass` + # @return [String] + attr_accessor :storage_class + + # 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` + # @return [String] + attr_accessor :storage_class_update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + + # Settings for data stored in Blob storage. + class BlobStorageSettings + include Google::Apis::Core::Hashable + + # The Storage class in which the Blob data is stored. + # Corresponds to the JSON property `blobStorageClass` + # @return [String] + attr_accessor :blob_storage_class + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blob_storage_class = args[:blob_storage_class] if args.key?(:blob_storage_class) + end + end + # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable def initialize(**args) @@ -3011,10 +3064,15 @@ # files to import are not DICOM files. This API accepts duplicate DICOM # instances by ignoring the newly-pushed instance. It does not overwrite. class ImportDicomDataRequest include Google::Apis::Core::Hashable + # Settings for data stored in Blob storage. + # Corresponds to the JSON property `blobStorageSettings` + # @return [Google::Apis::HealthcareV1::BlobStorageSettings] + attr_accessor :blob_storage_settings + # Specifies the configuration for importing data from Cloud Storage. # Corresponds to the JSON property `gcsSource` # @return [Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsSource] attr_accessor :gcs_source @@ -3022,10 +3080,11 @@ update!(**args) end # Update properties of this object def update!(**args) + @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) end end # Returns additional information in regards to a completed DICOM store import. @@ -4452,11 +4511,11 @@ def update!(**args) @fhir_store = args[:fhir_store] if args.key?(:fhir_store) end end - # Filtering fields for an HL7 rollback. Currently only supports a list of + # Filtering fields for an HL7v2 rollback. Currently only supports a list of # operation ids to roll back. class RollbackHl7MessagesFilteringFields include Google::Apis::Core::Hashable # Optional. A list of operation IDs to roll back. @@ -4487,11 +4546,11 @@ # Corresponds to the JSON property `excludeRollbacks` # @return [Boolean] attr_accessor :exclude_rollbacks alias_method :exclude_rollbacks?, :exclude_rollbacks - # Filtering fields for an HL7 rollback. Currently only supports a list of + # Filtering fields for an HL7v2 rollback. Currently only supports a list of # operation ids to roll back. # Corresponds to the JSON property `filteringFields` # @return [Google::Apis::HealthcareV1::RollbackHl7MessagesFilteringFields] attr_accessor :filtering_fields @@ -4535,12 +4594,13 @@ # Final response of rollback HL7v2 messages request. class RollbackHl7V2MessagesResponse include Google::Apis::Core::Hashable - # The name of the HL7 store to rollback, in the format of "projects/`project_id`/ - # locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`hl7v2_store_id`". + # The name of the HL7v2 store to rollback, in the format of "projects/` + # project_id`/locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/` + # hl7v2_store_id`". # Corresponds to the JSON property `hl7v2Store` # @return [String] attr_accessor :hl7v2_store def initialize(**args) @@ -4846,10 +4906,49 @@ @series = args[:series] if args.key?(:series) @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes) end end + # Request message for `SetBlobStorageSettings` method. + class SetBlobStorageSettingsRequest + include Google::Apis::Core::Hashable + + # Settings for data stored in Blob storage. + # Corresponds to the JSON property `blobStorageSettings` + # @return [Google::Apis::HealthcareV1::BlobStorageSettings] + attr_accessor :blob_storage_settings + + # Specifies the filter configuration for DICOM resources. + # Corresponds to the JSON property `filterConfig` + # @return [Google::Apis::HealthcareV1::DicomFilterConfig] + attr_accessor :filter_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings) + @filter_config = args[:filter_config] if args.key?(:filter_config) + end + end + + # Returns additional info in regards to a completed set blob storage settings + # API. + class SetBlobStorageSettingsResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Request message for `SetIamPolicy` method. class SetIamPolicyRequest include Google::Apis::Core::Hashable # An Identity and Access Management (IAM) policy, which specifies access @@ -4976,10 +5075,46 @@ @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) end end + # StorageInfo encapsulates all the storage info of a resource. + class StorageInfo + include Google::Apis::Core::Hashable + + # 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` + # @return [Google::Apis::HealthcareV1::BlobStorageInfo] + attr_accessor :blob_storage_info + + # 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 property `referencedResource` + # @return [String] + attr_accessor :referenced_resource + + # StructuredStorageInfo contains details about the data stored in Structured + # Storage for the referenced resource. + # Corresponds to the JSON property `structuredStorageInfo` + # @return [Google::Apis::HealthcareV1::StructuredStorageInfo] + attr_accessor :structured_storage_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + 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 + end + # Contains configuration for streaming FHIR export. class StreamConfig include Google::Apis::Core::Hashable # The configuration for exporting to BigQuery. @@ -5007,9 +5142,29 @@ # Update properties of this object def update!(**args) @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination) @deidentified_store_destination = args[:deidentified_store_destination] if args.key?(:deidentified_store_destination) @resource_types = args[:resource_types] if args.key?(:resource_types) + end + end + + # StructuredStorageInfo contains details about the data stored in Structured + # Storage for the referenced resource. + class StructuredStorageInfo + include Google::Apis::Core::Hashable + + # Size in bytes of data stored in structured storage. + # Corresponds to the JSON property `sizeBytes` + # @return [Fixnum] + attr_accessor :size_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @size_bytes = args[:size_bytes] if args.key?(:size_bytes) end end # StudyMetrics contains metrics describing a DICOM study. class StudyMetrics