google-apis-healthcare_v1 0.64.0 → 0.66.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5dca70629a744a880127b897cfbd76b4565f41318958214ca52f5ad574bfc0b
4
- data.tar.gz: a84fd634414e2a83446e9253ad0d50b35d28b605eb66a9a4f673393eb06d4564
3
+ metadata.gz: 52e0d31fb13d5afe64d1e6bd100299eae71a6fbd207be7a0950c66bf9a98a1ff
4
+ data.tar.gz: c55b4ff5f461b632bc3aff6cbf3151b0a2d92d7a8520baaf8041781337577183
5
5
  SHA512:
6
- metadata.gz: 9b11edc2bf7e9585167c5ed4a8a8c7c4d8125e37a90e4f13c68c859707ee619a24c2dbcfea4b3340cdebe3ace794227f208e31ace9446bf76ebf35e1a1d18376
7
- data.tar.gz: d7a9ea5dcdb400fd2d7d5e94a9e810f9cc4a6430cb943c9d8220391290b5feac4b71cb6dcc0795d001c9d4076cebabd5f32c513c41a1fd665632bad535876613
6
+ metadata.gz: dd955a1d8d7049f92b291164ed01cbe3a723e96377554ff88b7c5fa6bef4ddbd207a24b12a54d897cbbadda71d9664811c654ad9204c86024c38d33c389eeb9c
7
+ data.tar.gz: 1dfb5f3938a8edcddb7ef7b0df2244d01c34cd5c5decc76b3f813ca15856213b107e8011ac90fea54b0208042fee3d2cb7f526a310899247a3a105fe84c9c539
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.66.0 (2024-09-08)
4
+
5
+ * Regenerated from discovery document revision 20240822
6
+
7
+ ### v0.65.0 (2024-09-01)
8
+
9
+ * Regenerated from discovery document revision 20240819
10
+
3
11
  ### v0.64.0 (2024-08-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240731
@@ -421,6 +421,59 @@ module Google
421
421
  end
422
422
  end
423
423
 
424
+ # BlobStorageInfo contains details about the data stored in Blob Storage for the
425
+ # referenced resource. Note: Storage class is only valid for DICOM and hence
426
+ # will only be populated for DICOM resources.
427
+ class BlobStorageInfo
428
+ include Google::Apis::Core::Hashable
429
+
430
+ # Size in bytes of data stored in Blob Storage.
431
+ # Corresponds to the JSON property `sizeBytes`
432
+ # @return [Fixnum]
433
+ attr_accessor :size_bytes
434
+
435
+ # The storage class in which the Blob data is stored.
436
+ # Corresponds to the JSON property `storageClass`
437
+ # @return [String]
438
+ attr_accessor :storage_class
439
+
440
+ # The time at which the storage class was updated. This is used to compute early
441
+ # deletion fees of the resource.
442
+ # Corresponds to the JSON property `storageClassUpdateTime`
443
+ # @return [String]
444
+ attr_accessor :storage_class_update_time
445
+
446
+ def initialize(**args)
447
+ update!(**args)
448
+ end
449
+
450
+ # Update properties of this object
451
+ def update!(**args)
452
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
453
+ @storage_class = args[:storage_class] if args.key?(:storage_class)
454
+ @storage_class_update_time = args[:storage_class_update_time] if args.key?(:storage_class_update_time)
455
+ end
456
+ end
457
+
458
+ # Settings for data stored in Blob storage.
459
+ class BlobStorageSettings
460
+ include Google::Apis::Core::Hashable
461
+
462
+ # The Storage class in which the Blob data is stored.
463
+ # Corresponds to the JSON property `blobStorageClass`
464
+ # @return [String]
465
+ attr_accessor :blob_storage_class
466
+
467
+ def initialize(**args)
468
+ update!(**args)
469
+ end
470
+
471
+ # Update properties of this object
472
+ def update!(**args)
473
+ @blob_storage_class = args[:blob_storage_class] if args.key?(:blob_storage_class)
474
+ end
475
+ end
476
+
424
477
  # The request message for Operations.CancelOperation.
425
478
  class CancelOperationRequest
426
479
  include Google::Apis::Core::Hashable
@@ -3013,6 +3066,11 @@ module Google
3013
3066
  class ImportDicomDataRequest
3014
3067
  include Google::Apis::Core::Hashable
3015
3068
 
3069
+ # Settings for data stored in Blob storage.
3070
+ # Corresponds to the JSON property `blobStorageSettings`
3071
+ # @return [Google::Apis::HealthcareV1::BlobStorageSettings]
3072
+ attr_accessor :blob_storage_settings
3073
+
3016
3074
  # Specifies the configuration for importing data from Cloud Storage.
3017
3075
  # Corresponds to the JSON property `gcsSource`
3018
3076
  # @return [Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsSource]
@@ -3024,6 +3082,7 @@ module Google
3024
3082
 
3025
3083
  # Update properties of this object
3026
3084
  def update!(**args)
3085
+ @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings)
3027
3086
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
3028
3087
  end
3029
3088
  end
@@ -4454,7 +4513,7 @@ module Google
4454
4513
  end
4455
4514
  end
4456
4515
 
4457
- # Filtering fields for an HL7 rollback. Currently only supports a list of
4516
+ # Filtering fields for an HL7v2 rollback. Currently only supports a list of
4458
4517
  # operation ids to roll back.
4459
4518
  class RollbackHl7MessagesFilteringFields
4460
4519
  include Google::Apis::Core::Hashable
@@ -4489,7 +4548,7 @@ module Google
4489
4548
  attr_accessor :exclude_rollbacks
4490
4549
  alias_method :exclude_rollbacks?, :exclude_rollbacks
4491
4550
 
4492
- # Filtering fields for an HL7 rollback. Currently only supports a list of
4551
+ # Filtering fields for an HL7v2 rollback. Currently only supports a list of
4493
4552
  # operation ids to roll back.
4494
4553
  # Corresponds to the JSON property `filteringFields`
4495
4554
  # @return [Google::Apis::HealthcareV1::RollbackHl7MessagesFilteringFields]
@@ -4537,8 +4596,9 @@ module Google
4537
4596
  class RollbackHl7V2MessagesResponse
4538
4597
  include Google::Apis::Core::Hashable
4539
4598
 
4540
- # The name of the HL7 store to rollback, in the format of "projects/`project_id`/
4541
- # locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`hl7v2_store_id`".
4599
+ # The name of the HL7v2 store to rollback, in the format of "projects/`
4600
+ # project_id`/locations/`location_id`/datasets/`dataset_id` /hl7v2Stores/`
4601
+ # hl7v2_store_id`".
4542
4602
  # Corresponds to the JSON property `hl7v2Store`
4543
4603
  # @return [String]
4544
4604
  attr_accessor :hl7v2_store
@@ -4848,6 +4908,45 @@ module Google
4848
4908
  end
4849
4909
  end
4850
4910
 
4911
+ # Request message for `SetBlobStorageSettings` method.
4912
+ class SetBlobStorageSettingsRequest
4913
+ include Google::Apis::Core::Hashable
4914
+
4915
+ # Settings for data stored in Blob storage.
4916
+ # Corresponds to the JSON property `blobStorageSettings`
4917
+ # @return [Google::Apis::HealthcareV1::BlobStorageSettings]
4918
+ attr_accessor :blob_storage_settings
4919
+
4920
+ # Specifies the filter configuration for DICOM resources.
4921
+ # Corresponds to the JSON property `filterConfig`
4922
+ # @return [Google::Apis::HealthcareV1::DicomFilterConfig]
4923
+ attr_accessor :filter_config
4924
+
4925
+ def initialize(**args)
4926
+ update!(**args)
4927
+ end
4928
+
4929
+ # Update properties of this object
4930
+ def update!(**args)
4931
+ @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings)
4932
+ @filter_config = args[:filter_config] if args.key?(:filter_config)
4933
+ end
4934
+ end
4935
+
4936
+ # Returns additional info in regards to a completed set blob storage settings
4937
+ # API.
4938
+ class SetBlobStorageSettingsResponse
4939
+ include Google::Apis::Core::Hashable
4940
+
4941
+ def initialize(**args)
4942
+ update!(**args)
4943
+ end
4944
+
4945
+ # Update properties of this object
4946
+ def update!(**args)
4947
+ end
4948
+ end
4949
+
4851
4950
  # Request message for `SetIamPolicy` method.
4852
4951
  class SetIamPolicyRequest
4853
4952
  include Google::Apis::Core::Hashable
@@ -4978,6 +5077,42 @@ module Google
4978
5077
  end
4979
5078
  end
4980
5079
 
5080
+ # StorageInfo encapsulates all the storage info of a resource.
5081
+ class StorageInfo
5082
+ include Google::Apis::Core::Hashable
5083
+
5084
+ # BlobStorageInfo contains details about the data stored in Blob Storage for the
5085
+ # referenced resource. Note: Storage class is only valid for DICOM and hence
5086
+ # will only be populated for DICOM resources.
5087
+ # Corresponds to the JSON property `blobStorageInfo`
5088
+ # @return [Google::Apis::HealthcareV1::BlobStorageInfo]
5089
+ attr_accessor :blob_storage_info
5090
+
5091
+ # The resource whose storage info is returned. For example: `projects/`projectID`
5092
+ # /locations/`locationID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
5093
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`instanceUID``
5094
+ # Corresponds to the JSON property `referencedResource`
5095
+ # @return [String]
5096
+ attr_accessor :referenced_resource
5097
+
5098
+ # StructuredStorageInfo contains details about the data stored in Structured
5099
+ # Storage for the referenced resource.
5100
+ # Corresponds to the JSON property `structuredStorageInfo`
5101
+ # @return [Google::Apis::HealthcareV1::StructuredStorageInfo]
5102
+ attr_accessor :structured_storage_info
5103
+
5104
+ def initialize(**args)
5105
+ update!(**args)
5106
+ end
5107
+
5108
+ # Update properties of this object
5109
+ def update!(**args)
5110
+ @blob_storage_info = args[:blob_storage_info] if args.key?(:blob_storage_info)
5111
+ @referenced_resource = args[:referenced_resource] if args.key?(:referenced_resource)
5112
+ @structured_storage_info = args[:structured_storage_info] if args.key?(:structured_storage_info)
5113
+ end
5114
+ end
5115
+
4981
5116
  # Contains configuration for streaming FHIR export.
4982
5117
  class StreamConfig
4983
5118
  include Google::Apis::Core::Hashable
@@ -5012,6 +5147,26 @@ module Google
5012
5147
  end
5013
5148
  end
5014
5149
 
5150
+ # StructuredStorageInfo contains details about the data stored in Structured
5151
+ # Storage for the referenced resource.
5152
+ class StructuredStorageInfo
5153
+ include Google::Apis::Core::Hashable
5154
+
5155
+ # Size in bytes of data stored in structured storage.
5156
+ # Corresponds to the JSON property `sizeBytes`
5157
+ # @return [Fixnum]
5158
+ attr_accessor :size_bytes
5159
+
5160
+ def initialize(**args)
5161
+ update!(**args)
5162
+ end
5163
+
5164
+ # Update properties of this object
5165
+ def update!(**args)
5166
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
5167
+ end
5168
+ end
5169
+
5015
5170
  # StudyMetrics contains metrics describing a DICOM study.
5016
5171
  class StudyMetrics
5017
5172
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1
18
18
  # Version of the google-apis-healthcare_v1 gem
19
- GEM_VERSION = "0.64.0"
19
+ GEM_VERSION = "0.66.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240731"
25
+ REVISION = "20240822"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class BlobStorageInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class BlobStorageSettings
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class CancelOperationRequest
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -838,6 +850,18 @@ module Google
838
850
  include Google::Apis::Core::JsonObjectSupport
839
851
  end
840
852
 
853
+ class SetBlobStorageSettingsRequest
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class SetBlobStorageSettingsResponse
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
841
865
  class SetIamPolicyRequest
842
866
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
867
 
@@ -856,12 +880,24 @@ module Google
856
880
  include Google::Apis::Core::JsonObjectSupport
857
881
  end
858
882
 
883
+ class StorageInfo
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
859
889
  class StreamConfig
860
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
891
 
862
892
  include Google::Apis::Core::JsonObjectSupport
863
893
  end
864
894
 
895
+ class StructuredStorageInfo
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
865
901
  class StudyMetrics
866
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
903
 
@@ -1018,6 +1054,22 @@ module Google
1018
1054
  end
1019
1055
  end
1020
1056
 
1057
+ class BlobStorageInfo
1058
+ # @private
1059
+ class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
1061
+ property :storage_class, as: 'storageClass'
1062
+ property :storage_class_update_time, as: 'storageClassUpdateTime'
1063
+ end
1064
+ end
1065
+
1066
+ class BlobStorageSettings
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ property :blob_storage_class, as: 'blobStorageClass'
1070
+ end
1071
+ end
1072
+
1021
1073
  class CancelOperationRequest
1022
1074
  # @private
1023
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1681,6 +1733,8 @@ module Google
1681
1733
  class ImportDicomDataRequest
1682
1734
  # @private
1683
1735
  class Representation < Google::Apis::Core::JsonRepresentation
1736
+ property :blob_storage_settings, as: 'blobStorageSettings', class: Google::Apis::HealthcareV1::BlobStorageSettings, decorator: Google::Apis::HealthcareV1::BlobStorageSettings::Representation
1737
+
1684
1738
  property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsSource, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomGcsSource::Representation
1685
1739
 
1686
1740
  end
@@ -2201,6 +2255,22 @@ module Google
2201
2255
  end
2202
2256
  end
2203
2257
 
2258
+ class SetBlobStorageSettingsRequest
2259
+ # @private
2260
+ class Representation < Google::Apis::Core::JsonRepresentation
2261
+ property :blob_storage_settings, as: 'blobStorageSettings', class: Google::Apis::HealthcareV1::BlobStorageSettings, decorator: Google::Apis::HealthcareV1::BlobStorageSettings::Representation
2262
+
2263
+ property :filter_config, as: 'filterConfig', class: Google::Apis::HealthcareV1::DicomFilterConfig, decorator: Google::Apis::HealthcareV1::DicomFilterConfig::Representation
2264
+
2265
+ end
2266
+ end
2267
+
2268
+ class SetBlobStorageSettingsResponse
2269
+ # @private
2270
+ class Representation < Google::Apis::Core::JsonRepresentation
2271
+ end
2272
+ end
2273
+
2204
2274
  class SetIamPolicyRequest
2205
2275
  # @private
2206
2276
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2230,6 +2300,17 @@ module Google
2230
2300
  end
2231
2301
  end
2232
2302
 
2303
+ class StorageInfo
2304
+ # @private
2305
+ class Representation < Google::Apis::Core::JsonRepresentation
2306
+ property :blob_storage_info, as: 'blobStorageInfo', class: Google::Apis::HealthcareV1::BlobStorageInfo, decorator: Google::Apis::HealthcareV1::BlobStorageInfo::Representation
2307
+
2308
+ property :referenced_resource, as: 'referencedResource'
2309
+ property :structured_storage_info, as: 'structuredStorageInfo', class: Google::Apis::HealthcareV1::StructuredStorageInfo, decorator: Google::Apis::HealthcareV1::StructuredStorageInfo::Representation
2310
+
2311
+ end
2312
+ end
2313
+
2233
2314
  class StreamConfig
2234
2315
  # @private
2235
2316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2241,6 +2322,13 @@ module Google
2241
2322
  end
2242
2323
  end
2243
2324
 
2325
+ class StructuredStorageInfo
2326
+ # @private
2327
+ class Representation < Google::Apis::Core::JsonRepresentation
2328
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
2329
+ end
2330
+ end
2331
+
2244
2332
  class StudyMetrics
2245
2333
  # @private
2246
2334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2549,6 +2549,49 @@ module Google
2549
2549
  execute_or_queue_command(command, &block)
2550
2550
  end
2551
2551
 
2552
+ # SetBlobStorageSettings sets the blob storage settings of the specified
2553
+ # resources.
2554
+ # @param [String] resource
2555
+ # Required. The path of the resource to update the blob storage settings in the
2556
+ # format of `projects/`projectID`/locations/`locationID`/datasets/`datasetID`/
2557
+ # dicomStores/`dicomStoreID`/dicomWeb/studies/`studyUID``, `projects/`projectID`/
2558
+ # locations/`locationID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
2559
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/`, or `projects/`projectID`/
2560
+ # locations/`locationID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
2561
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`instanceUID``. If `
2562
+ # filter_config` is specified, set the value of `resource` to the resource name
2563
+ # of a DICOM store in the format `projects/`projectID`/locations/`locationID`/
2564
+ # datasets/`datasetID`/dicomStores/`dicomStoreID``.
2565
+ # @param [Google::Apis::HealthcareV1::SetBlobStorageSettingsRequest] set_blob_storage_settings_request_object
2566
+ # @param [String] fields
2567
+ # Selector specifying which fields to include in a partial response.
2568
+ # @param [String] quota_user
2569
+ # Available to use for quota purposes for server-side applications. Can be any
2570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2571
+ # @param [Google::Apis::RequestOptions] options
2572
+ # Request-specific options
2573
+ #
2574
+ # @yield [result, err] Result & error if block supplied
2575
+ # @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
2576
+ # @yieldparam err [StandardError] error object if request failed
2577
+ #
2578
+ # @return [Google::Apis::HealthcareV1::Operation]
2579
+ #
2580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2583
+ def set_dicom_store_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2584
+ command = make_simple_command(:post, 'v1/{+resource}:setBlobStorageSettings', options)
2585
+ command.request_representation = Google::Apis::HealthcareV1::SetBlobStorageSettingsRequest::Representation
2586
+ command.request_object = set_blob_storage_settings_request_object
2587
+ command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
2588
+ command.response_class = Google::Apis::HealthcareV1::Operation
2589
+ command.params['resource'] = resource unless resource.nil?
2590
+ command.query['fields'] = fields unless fields.nil?
2591
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2592
+ execute_or_queue_command(command, &block)
2593
+ end
2594
+
2552
2595
  # Sets the access control policy on the specified resource. Replaces any
2553
2596
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2554
2597
  # PERMISSION_DENIED` errors.
@@ -2703,6 +2746,49 @@ module Google
2703
2746
  execute_or_queue_command(command, &block)
2704
2747
  end
2705
2748
 
2749
+ # SetBlobStorageSettings sets the blob storage settings of the specified
2750
+ # resources.
2751
+ # @param [String] resource
2752
+ # Required. The path of the resource to update the blob storage settings in the
2753
+ # format of `projects/`projectID`/locations/`locationID`/datasets/`datasetID`/
2754
+ # dicomStores/`dicomStoreID`/dicomWeb/studies/`studyUID``, `projects/`projectID`/
2755
+ # locations/`locationID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
2756
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/`, or `projects/`projectID`/
2757
+ # locations/`locationID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
2758
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`instanceUID``. If `
2759
+ # filter_config` is specified, set the value of `resource` to the resource name
2760
+ # of a DICOM store in the format `projects/`projectID`/locations/`locationID`/
2761
+ # datasets/`datasetID`/dicomStores/`dicomStoreID``.
2762
+ # @param [Google::Apis::HealthcareV1::SetBlobStorageSettingsRequest] set_blob_storage_settings_request_object
2763
+ # @param [String] fields
2764
+ # Selector specifying which fields to include in a partial response.
2765
+ # @param [String] quota_user
2766
+ # Available to use for quota purposes for server-side applications. Can be any
2767
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2768
+ # @param [Google::Apis::RequestOptions] options
2769
+ # Request-specific options
2770
+ #
2771
+ # @yield [result, err] Result & error if block supplied
2772
+ # @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
2773
+ # @yieldparam err [StandardError] error object if request failed
2774
+ #
2775
+ # @return [Google::Apis::HealthcareV1::Operation]
2776
+ #
2777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2780
+ def set_study_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2781
+ command = make_simple_command(:post, 'v1/{+resource}:setBlobStorageSettings', options)
2782
+ command.request_representation = Google::Apis::HealthcareV1::SetBlobStorageSettingsRequest::Representation
2783
+ command.request_object = set_blob_storage_settings_request_object
2784
+ command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
2785
+ command.response_class = Google::Apis::HealthcareV1::Operation
2786
+ command.params['resource'] = resource unless resource.nil?
2787
+ command.query['fields'] = fields unless fields.nil?
2788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2789
+ execute_or_queue_command(command, &block)
2790
+ end
2791
+
2706
2792
  # GetSeriesMetrics returns metrics for a series.
2707
2793
  # @param [String] series
2708
2794
  # Required. The series resource path. For example, `projects/`project_id`/
@@ -2735,6 +2821,39 @@ module Google
2735
2821
  execute_or_queue_command(command, &block)
2736
2822
  end
2737
2823
 
2824
+ # GetStorageInfo returns the storage info of the specified resource.
2825
+ # @param [String] resource
2826
+ # Required. The path of the instance to return storage info for, in the form: `
2827
+ # projects/`projectID`/locations/`locationID`/datasets/`datasetID`/dicomStores/`
2828
+ # dicomStoreID`/dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`
2829
+ # instanceUID``
2830
+ # @param [String] fields
2831
+ # Selector specifying which fields to include in a partial response.
2832
+ # @param [String] quota_user
2833
+ # Available to use for quota purposes for server-side applications. Can be any
2834
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2835
+ # @param [Google::Apis::RequestOptions] options
2836
+ # Request-specific options
2837
+ #
2838
+ # @yield [result, err] Result & error if block supplied
2839
+ # @yieldparam result [Google::Apis::HealthcareV1::StorageInfo] parsed result object
2840
+ # @yieldparam err [StandardError] error object if request failed
2841
+ #
2842
+ # @return [Google::Apis::HealthcareV1::StorageInfo]
2843
+ #
2844
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2845
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2846
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2847
+ def get_project_location_dataset_dicom_store_dicom_web_study_series_instance_storage_info(resource, fields: nil, quota_user: nil, options: nil, &block)
2848
+ command = make_simple_command(:get, 'v1/{+resource}:getStorageInfo', options)
2849
+ command.response_representation = Google::Apis::HealthcareV1::StorageInfo::Representation
2850
+ command.response_class = Google::Apis::HealthcareV1::StorageInfo
2851
+ command.params['resource'] = resource unless resource.nil?
2852
+ command.query['fields'] = fields unless fields.nil?
2853
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2854
+ execute_or_queue_command(command, &block)
2855
+ end
2856
+
2738
2857
  # DeleteStudy deletes all instances within the given study. Delete requests are
2739
2858
  # equivalent to the GET requests specified in the Retrieve transaction. The
2740
2859
  # method returns an Operation which will be marked successful when the deletion
@@ -3988,6 +4107,207 @@ module Google
3988
4107
  execute_or_queue_command(command, &block)
3989
4108
  end
3990
4109
 
4110
+ # Creates a FHIR Binary resource. This method can be used to create a Binary
4111
+ # resource either by using one of the accepted FHIR JSON content types, or as a
4112
+ # raw data stream. If a resource is created with this method using the FHIR
4113
+ # content type this method's behavior is the same as [`fhir.create`](https://
4114
+ # cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.
4115
+ # datasets.fhirStores.fhir/create). If a resource type other than Binary is used
4116
+ # in the request it's treated in the same way as non-FHIR data (e.g., images,
4117
+ # zip archives, pdf files, documents). When a non-FHIR content type is used in
4118
+ # the request, a Binary resource will be generated, and the uploaded data will
4119
+ # be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`
4120
+ # R4`). The Binary resource's `contentType` will be filled in using the value of
4121
+ # the `Content-Type` header, and the `securityContext` field (not present in `
4122
+ # DSTU2`) will be populated from the `X-Security-Context` header if it exists.
4123
+ # At this time `securityContext` has no special behavior in the Cloud Healthcare
4124
+ # API. Note: the limit on data ingested through this method is 2 GB. For best
4125
+ # performance, use a non-FHIR data type instead of wrapping the data in a Binary
4126
+ # resource. Some of the Healthcare API features, such as [exporting to BigQuery](
4127
+ # https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [
4128
+ # Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-
4129
+ # pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with
4130
+ # full resource content, do not support Binary resources that are larger than 10
4131
+ # MB. In these cases the resource's `data` field will be omitted. Instead, the "
4132
+ # http://hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
4133
+ # present to indicate that including the data is `unsupported`. On success, an
4134
+ # empty `201 Created` response is returned. The newly created resource's ID and
4135
+ # version are returned in the Location header. Using `Prefer: representation=
4136
+ # resource` is not allowed for this method. The definition of the Binary REST
4137
+ # API can be found at https://hl7.org/fhir/binary.html#rest.
4138
+ # @param [String] parent
4139
+ # Required. The name of the FHIR store this resource belongs to.
4140
+ # @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
4141
+ # @param [String] fields
4142
+ # Selector specifying which fields to include in a partial response.
4143
+ # @param [String] quota_user
4144
+ # Available to use for quota purposes for server-side applications. Can be any
4145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4146
+ # @param [Google::Apis::RequestOptions] options
4147
+ # Request-specific options
4148
+ #
4149
+ # @yield [result, err] Result & error if block supplied
4150
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
4151
+ # @yieldparam err [StandardError] error object if request failed
4152
+ #
4153
+ # @return [Google::Apis::HealthcareV1::HttpBody]
4154
+ #
4155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4158
+ def binary_project_location_dataset_fhir_store_fhir_create(parent, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4159
+ command = make_simple_command(:post, 'v1/{+parent}/fhir/Binary', options)
4160
+ command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4161
+ command.request_object = http_body_object
4162
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4163
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
4164
+ command.params['parent'] = parent unless parent.nil?
4165
+ command.query['fields'] = fields unless fields.nil?
4166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4167
+ execute_or_queue_command(command, &block)
4168
+ end
4169
+
4170
+ # Gets the contents of a FHIR Binary resource. This method can be used to
4171
+ # retrieve a Binary resource either by using the FHIR JSON mimetype as the value
4172
+ # for the Accept header, or as a raw data stream. If the FHIR Accept type is
4173
+ # used this method will return a Binary resource with the data base64-encoded,
4174
+ # regardless of how the resource was created. The resource data can be retrieved
4175
+ # in base64-decoded form if the Accept type of the request matches the value of
4176
+ # the resource's `contentType` field. The definition of the Binary REST API can
4177
+ # be found at https://hl7.org/fhir/binary.html#rest.
4178
+ # @param [String] name
4179
+ # Required. The name of the Binary resource to retrieve.
4180
+ # @param [String] fields
4181
+ # Selector specifying which fields to include in a partial response.
4182
+ # @param [String] quota_user
4183
+ # Available to use for quota purposes for server-side applications. Can be any
4184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4185
+ # @param [Google::Apis::RequestOptions] options
4186
+ # Request-specific options
4187
+ #
4188
+ # @yield [result, err] Result & error if block supplied
4189
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
4190
+ # @yieldparam err [StandardError] error object if request failed
4191
+ #
4192
+ # @return [Google::Apis::HealthcareV1::HttpBody]
4193
+ #
4194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4197
+ def binary_project_location_dataset_fhir_store_fhir_read(name, fields: nil, quota_user: nil, options: nil, &block)
4198
+ command = make_simple_command(:get, 'v1/{+name}', options)
4199
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4200
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
4201
+ command.params['name'] = name unless name.nil?
4202
+ command.query['fields'] = fields unless fields.nil?
4203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4204
+ execute_or_queue_command(command, &block)
4205
+ end
4206
+
4207
+ # Updates the entire contents of a Binary resource. If the specified resource
4208
+ # does not exist and the FHIR store has enable_update_create set, creates the
4209
+ # resource with the client-specified ID. It is strongly advised not to include
4210
+ # or encode any sensitive data such as patient identifiers in client-specified
4211
+ # resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud
4212
+ # Audit Logs and Pub/Sub notifications. Those IDs can also be contained in
4213
+ # reference fields within other resources. This method can be used to update a
4214
+ # Binary resource either by using one of the accepted FHIR JSON content types,
4215
+ # or as a raw data stream. If a resource is updated with this method using the
4216
+ # FHIR content type this method's behavior is the same as `update`. If a
4217
+ # resource type other than Binary is used in the request it will be treated in
4218
+ # the same way as non-FHIR data. When a non-FHIR content type is used in the
4219
+ # request, a Binary resource will be generated using the ID from the resource
4220
+ # path, and the uploaded data will be stored in the `content` field (`DSTU2` and
4221
+ # `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` will
4222
+ # be filled in using the value of the `Content-Type` header, and the `
4223
+ # securityContext` field (not present in `DSTU2`) will be populated from the `X-
4224
+ # Security-Context` header if it exists. At this time `securityContext` has no
4225
+ # special behavior in the Cloud Healthcare API. Note: the limit on data ingested
4226
+ # through this method is 2 GB. For best performance, use a non-FHIR data type
4227
+ # instead of wrapping the data in a Binary resource. Some of the Healthcare API
4228
+ # features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-
4229
+ # api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://
4230
+ # cloud.google.com/healthcare-api/docs/fhir-pubsub#
4231
+ # behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full
4232
+ # resource content, do not support Binary resources that are larger than 10 MB.
4233
+ # In these cases the resource's `data` field will be omitted. Instead, the "http:
4234
+ # //hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be
4235
+ # present to indicate that including the data is `unsupported`. On success, an
4236
+ # empty 200 OK response will be returned, or a 201 Created if the resource did
4237
+ # not exit. The resource's ID and version are returned in the Location header.
4238
+ # Using `Prefer: representation=resource` is not allowed for this method. The
4239
+ # definition of the Binary REST API can be found at https://hl7.org/fhir/binary.
4240
+ # html#rest.
4241
+ # @param [String] name
4242
+ # Required. The name of the resource to update.
4243
+ # @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
4244
+ # @param [String] fields
4245
+ # Selector specifying which fields to include in a partial response.
4246
+ # @param [String] quota_user
4247
+ # Available to use for quota purposes for server-side applications. Can be any
4248
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4249
+ # @param [Google::Apis::RequestOptions] options
4250
+ # Request-specific options
4251
+ #
4252
+ # @yield [result, err] Result & error if block supplied
4253
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
4254
+ # @yieldparam err [StandardError] error object if request failed
4255
+ #
4256
+ # @return [Google::Apis::HealthcareV1::HttpBody]
4257
+ #
4258
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4259
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4260
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4261
+ def binary_project_location_dataset_fhir_store_fhir_update(name, http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4262
+ command = make_simple_command(:put, 'v1/{+name}', options)
4263
+ command.request_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4264
+ command.request_object = http_body_object
4265
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4266
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
4267
+ command.params['name'] = name unless name.nil?
4268
+ command.query['fields'] = fields unless fields.nil?
4269
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4270
+ execute_or_queue_command(command, &block)
4271
+ end
4272
+
4273
+ # Gets the contents of a version (current or historical) of a FHIR Binary
4274
+ # resource by version ID. This method can be used to retrieve a Binary resource
4275
+ # version either by using the FHIR JSON mimetype as the value for the Accept
4276
+ # header, or as a raw data stream. If the FHIR Accept type is used this method
4277
+ # will return a Binary resource with the data base64-encoded, regardless of how
4278
+ # the resource version was created. The resource data can be retrieved in base64-
4279
+ # decoded form if the Accept type of the request matches the value of the
4280
+ # resource version's `contentType` field. The definition of the Binary REST API
4281
+ # can be found at https://hl7.org/fhir/binary.html#rest.
4282
+ # @param [String] name
4283
+ # Required. The name of the Binary resource version to retrieve.
4284
+ # @param [String] fields
4285
+ # Selector specifying which fields to include in a partial response.
4286
+ # @param [String] quota_user
4287
+ # Available to use for quota purposes for server-side applications. Can be any
4288
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4289
+ # @param [Google::Apis::RequestOptions] options
4290
+ # Request-specific options
4291
+ #
4292
+ # @yield [result, err] Result & error if block supplied
4293
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
4294
+ # @yieldparam err [StandardError] error object if request failed
4295
+ #
4296
+ # @return [Google::Apis::HealthcareV1::HttpBody]
4297
+ #
4298
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4299
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4300
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4301
+ def binary_project_location_dataset_fhir_store_fhir_vread(name, fields: nil, quota_user: nil, options: nil, &block)
4302
+ command = make_simple_command(:get, 'v1/{+name}', options)
4303
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4304
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
4305
+ command.params['name'] = name unless name.nil?
4306
+ command.query['fields'] = fields unless fields.nil?
4307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4308
+ execute_or_queue_command(command, &block)
4309
+ end
4310
+
3991
4311
  # Retrieves a Patient resource and resources related to that patient. Implements
3992
4312
  # the FHIR extended operation Patient-everything ([DSTU2](http://hl7.org/
3993
4313
  # implement/standards/fhir/DSTU2/patient-operations.html#everything), [STU3](
@@ -5373,7 +5693,7 @@ module Google
5373
5693
  execute_or_queue_command(command, &block)
5374
5694
  end
5375
5695
 
5376
- # Rolls back messages from the HL7 store to the specified time. This method
5696
+ # Rolls back messages from the HL7v2 store to the specified time. This method
5377
5697
  # returns an Operation that can be used to track the status of the rollback by
5378
5698
  # calling GetOperation. Immediate fatal errors appear in the error field, errors
5379
5699
  # are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0
4
+ version: 0.66.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.64.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.66.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
63
63
  post_install_message:
64
64
  rdoc_options: []