google-apis-healthcare_v1beta1 0.58.0 → 0.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b290bec5221169aff70fe24479dbdb51a9fda7cb102606220f635d357619fcd1
4
- data.tar.gz: 88f696b4fdcde91413f0f70edbff00e65821ece3b0c09a08dfab64b583c4e1e3
3
+ metadata.gz: 19bb43b3698ba61ebc864b9eecc5ed17b461eb39392928f8d1f0c6f11b4f6b86
4
+ data.tar.gz: 7d0d8d3d60a4382c18ed009a0e4d8bd14a4d03035770a810679f55f68c717be3
5
5
  SHA512:
6
- metadata.gz: bc740884d295db6b219e75dea52f2ea7fdbc573be9db13e2b1da055d92a6624f355756b058455020f89d79524fc6b949e21849b4feb52b909e44bc10b0f8b0a2
7
- data.tar.gz: ffc692116971ffbc626e94c45b65483af35cd891440589d1f7402ff95fbac715b5404e5c133765834c7980cf3b8c68e362f2f7020a5d505724b41eaaf7e063bf
6
+ metadata.gz: d72efbb91483f47ec78591af123b4ae40afd5d1e90d46012e78879e85edd10dda46ab9aa4eb35f21fae2bb465ee6fccf233f0a0679f0be21f883ee4f70bead92
7
+ data.tar.gz: ff825c98f6d752c251f83ecbcdd7c97f3d3c24d84b12d4c73b991f56cd0e77d16c77387c3ad94b1358c9b54c01be44f73961f2b0d381531cb41902074cba2517
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.59.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231101
6
+
3
7
  ### v0.58.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231017
@@ -834,6 +834,59 @@ module Google
834
834
  end
835
835
  end
836
836
 
837
+ # BlobStorageInfo contains details about the data stored in Blob Storage for the
838
+ # referenced resource. Note: Storage class is only valid for DICOM and hence
839
+ # will only be populated for DICOM resources.
840
+ class BlobStorageInfo
841
+ include Google::Apis::Core::Hashable
842
+
843
+ # Size in bytes of data stored in Blob Storage.
844
+ # Corresponds to the JSON property `sizeBytes`
845
+ # @return [Fixnum]
846
+ attr_accessor :size_bytes
847
+
848
+ # The storage class in which the Blob data is stored.
849
+ # Corresponds to the JSON property `storageClass`
850
+ # @return [String]
851
+ attr_accessor :storage_class
852
+
853
+ # The time at which the storage class was updated. This is used to compute early
854
+ # deletion fees of the resource.
855
+ # Corresponds to the JSON property `storageClassUpdateTime`
856
+ # @return [String]
857
+ attr_accessor :storage_class_update_time
858
+
859
+ def initialize(**args)
860
+ update!(**args)
861
+ end
862
+
863
+ # Update properties of this object
864
+ def update!(**args)
865
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
866
+ @storage_class = args[:storage_class] if args.key?(:storage_class)
867
+ @storage_class_update_time = args[:storage_class_update_time] if args.key?(:storage_class_update_time)
868
+ end
869
+ end
870
+
871
+ # Settings for data stored in Blob storage.
872
+ class BlobStorageSettings
873
+ include Google::Apis::Core::Hashable
874
+
875
+ # The Storage class in which the Blob data is stored.
876
+ # Corresponds to the JSON property `blobStorageClass`
877
+ # @return [String]
878
+ attr_accessor :blob_storage_class
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @blob_storage_class = args[:blob_storage_class] if args.key?(:blob_storage_class)
887
+ end
888
+ end
889
+
837
890
  # A bounding polygon for the detected image annotation.
838
891
  class BoundingPoly
839
892
  include Google::Apis::Core::Hashable
@@ -4366,6 +4419,11 @@ module Google
4366
4419
  class ImportDicomDataRequest
4367
4420
  include Google::Apis::Core::Hashable
4368
4421
 
4422
+ # Settings for data stored in Blob storage.
4423
+ # Corresponds to the JSON property `blobStorageSettings`
4424
+ # @return [Google::Apis::HealthcareV1beta1::BlobStorageSettings]
4425
+ attr_accessor :blob_storage_settings
4426
+
4369
4427
  # Specifies the configuration for importing data from Cloud Storage.
4370
4428
  # Corresponds to the JSON property `gcsSource`
4371
4429
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource]
@@ -4377,6 +4435,7 @@ module Google
4377
4435
 
4378
4436
  # Update properties of this object
4379
4437
  def update!(**args)
4438
+ @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings)
4380
4439
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4381
4440
  end
4382
4441
  end
@@ -5983,12 +6042,12 @@ module Google
5983
6042
  class RollbackFhirResourceFilteringFields
5984
6043
  include Google::Apis::Core::Hashable
5985
6044
 
5986
- # Optional. A string to use for filtering resource metadata. Complies with AIP-
5987
- # 160 except without the has operator. Additionally, supports 2 functions:
5988
- # hastag("system") = "code" for tag filtering and extension_ts_value("uri") =
5989
- # timestamp for filtering extensions with timestamp, which is given as a unix
5990
- # timestamp. extension_ts_url can be used with >, <, <=, >=, != comparisons as
5991
- # well.
6045
+ # Optional. A filter expression that matches data in the `Resource.meta` element.
6046
+ # Supports all filters in [AIP-160](https://google.aip.dev/160) except the "has"
6047
+ # (`:`) operator. Supports the following custom functions: * `tag("") = ""` for
6048
+ # tag filtering. * `extension_value_ts("") = ` for filtering extensions with a
6049
+ # timestamp, where `` is a Unix timestamp. Supports the `>`, `<`, `<=`, `>=`,
6050
+ # and `!=` comparison operators.
5992
6051
  # Corresponds to the JSON property `metadataFilter`
5993
6052
  # @return [String]
5994
6053
  attr_accessor :metadata_filter
@@ -6460,6 +6519,45 @@ module Google
6460
6519
  end
6461
6520
  end
6462
6521
 
6522
+ # Request message for `SetBlobStorageSettings` method.
6523
+ class SetBlobStorageSettingsRequest
6524
+ include Google::Apis::Core::Hashable
6525
+
6526
+ # Settings for data stored in Blob storage.
6527
+ # Corresponds to the JSON property `blobStorageSettings`
6528
+ # @return [Google::Apis::HealthcareV1beta1::BlobStorageSettings]
6529
+ attr_accessor :blob_storage_settings
6530
+
6531
+ # Specifies the filter configuration for DICOM resources.
6532
+ # Corresponds to the JSON property `filterConfig`
6533
+ # @return [Google::Apis::HealthcareV1beta1::DicomFilterConfig]
6534
+ attr_accessor :filter_config
6535
+
6536
+ def initialize(**args)
6537
+ update!(**args)
6538
+ end
6539
+
6540
+ # Update properties of this object
6541
+ def update!(**args)
6542
+ @blob_storage_settings = args[:blob_storage_settings] if args.key?(:blob_storage_settings)
6543
+ @filter_config = args[:filter_config] if args.key?(:filter_config)
6544
+ end
6545
+ end
6546
+
6547
+ # Returns additional info in regards to a completed set blob storage settings
6548
+ # API.
6549
+ class SetBlobStorageSettingsResponse
6550
+ include Google::Apis::Core::Hashable
6551
+
6552
+ def initialize(**args)
6553
+ update!(**args)
6554
+ end
6555
+
6556
+ # Update properties of this object
6557
+ def update!(**args)
6558
+ end
6559
+ end
6560
+
6463
6561
  # Request message for `SetIamPolicy` method.
6464
6562
  class SetIamPolicyRequest
6465
6563
  include Google::Apis::Core::Hashable
@@ -6590,6 +6688,43 @@ module Google
6590
6688
  end
6591
6689
  end
6592
6690
 
6691
+ # StorageInfo encapsulates all the storage info of a resource.
6692
+ class StorageInfo
6693
+ include Google::Apis::Core::Hashable
6694
+
6695
+ # BlobStorageInfo contains details about the data stored in Blob Storage for the
6696
+ # referenced resource. Note: Storage class is only valid for DICOM and hence
6697
+ # will only be populated for DICOM resources.
6698
+ # Corresponds to the JSON property `blobStorageInfo`
6699
+ # @return [Google::Apis::HealthcareV1beta1::BlobStorageInfo]
6700
+ attr_accessor :blob_storage_info
6701
+
6702
+ # The resource whose storage info is returned. For example, to specify the
6703
+ # resource path of a DICOM Instance: `projects/`projectid`/datasets/`datasetid`/
6704
+ # dicomStores/`dicom_store_id`/dicomWeb/studi/`study_uid`/series/`series_uid`/
6705
+ # instances/`instance_uid``
6706
+ # Corresponds to the JSON property `referencedResource`
6707
+ # @return [String]
6708
+ attr_accessor :referenced_resource
6709
+
6710
+ # StructuredStorageInfo contains details about the data stored in Structured
6711
+ # Storage for the referenced resource.
6712
+ # Corresponds to the JSON property `structuredStorageInfo`
6713
+ # @return [Google::Apis::HealthcareV1beta1::StructuredStorageInfo]
6714
+ attr_accessor :structured_storage_info
6715
+
6716
+ def initialize(**args)
6717
+ update!(**args)
6718
+ end
6719
+
6720
+ # Update properties of this object
6721
+ def update!(**args)
6722
+ @blob_storage_info = args[:blob_storage_info] if args.key?(:blob_storage_info)
6723
+ @referenced_resource = args[:referenced_resource] if args.key?(:referenced_resource)
6724
+ @structured_storage_info = args[:structured_storage_info] if args.key?(:structured_storage_info)
6725
+ end
6726
+ end
6727
+
6593
6728
  # Contains configuration for streaming FHIR export.
6594
6729
  class StreamConfig
6595
6730
  include Google::Apis::Core::Hashable
@@ -6624,6 +6759,26 @@ module Google
6624
6759
  end
6625
6760
  end
6626
6761
 
6762
+ # StructuredStorageInfo contains details about the data stored in Structured
6763
+ # Storage for the referenced resource.
6764
+ class StructuredStorageInfo
6765
+ include Google::Apis::Core::Hashable
6766
+
6767
+ # Size in bytes of data stored in structured storage.
6768
+ # Corresponds to the JSON property `sizeBytes`
6769
+ # @return [Fixnum]
6770
+ attr_accessor :size_bytes
6771
+
6772
+ def initialize(**args)
6773
+ update!(**args)
6774
+ end
6775
+
6776
+ # Update properties of this object
6777
+ def update!(**args)
6778
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
6779
+ end
6780
+ end
6781
+
6627
6782
  # StudyMetrics contains metrics describing a DICOM study.
6628
6783
  class StudyMetrics
6629
6784
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.59.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231017"
25
+ REVISION = "20231101"
26
26
  end
27
27
  end
28
28
  end
@@ -154,6 +154,18 @@ module Google
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
+ class BlobStorageInfo
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class BlobStorageSettings
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class BoundingPoly
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -1180,6 +1192,18 @@ module Google
1180
1192
  include Google::Apis::Core::JsonObjectSupport
1181
1193
  end
1182
1194
 
1195
+ class SetBlobStorageSettingsRequest
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class SetBlobStorageSettingsResponse
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1183
1207
  class SetIamPolicyRequest
1184
1208
  class Representation < Google::Apis::Core::JsonRepresentation; end
1185
1209
 
@@ -1198,12 +1222,24 @@ module Google
1198
1222
  include Google::Apis::Core::JsonObjectSupport
1199
1223
  end
1200
1224
 
1225
+ class StorageInfo
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1201
1231
  class StreamConfig
1202
1232
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1233
 
1204
1234
  include Google::Apis::Core::JsonObjectSupport
1205
1235
  end
1206
1236
 
1237
+ class StructuredStorageInfo
1238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1239
+
1240
+ include Google::Apis::Core::JsonObjectSupport
1241
+ end
1242
+
1207
1243
  class StudyMetrics
1208
1244
  class Representation < Google::Apis::Core::JsonRepresentation; end
1209
1245
 
@@ -1496,6 +1532,22 @@ module Google
1496
1532
  end
1497
1533
  end
1498
1534
 
1535
+ class BlobStorageInfo
1536
+ # @private
1537
+ class Representation < Google::Apis::Core::JsonRepresentation
1538
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
1539
+ property :storage_class, as: 'storageClass'
1540
+ property :storage_class_update_time, as: 'storageClassUpdateTime'
1541
+ end
1542
+ end
1543
+
1544
+ class BlobStorageSettings
1545
+ # @private
1546
+ class Representation < Google::Apis::Core::JsonRepresentation
1547
+ property :blob_storage_class, as: 'blobStorageClass'
1548
+ end
1549
+ end
1550
+
1499
1551
  class BoundingPoly
1500
1552
  # @private
1501
1553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2447,6 +2499,8 @@ module Google
2447
2499
  class ImportDicomDataRequest
2448
2500
  # @private
2449
2501
  class Representation < Google::Apis::Core::JsonRepresentation
2502
+ property :blob_storage_settings, as: 'blobStorageSettings', class: Google::Apis::HealthcareV1beta1::BlobStorageSettings, decorator: Google::Apis::HealthcareV1beta1::BlobStorageSettings::Representation
2503
+
2450
2504
  property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomGcsSource::Representation
2451
2505
 
2452
2506
  end
@@ -3061,6 +3115,22 @@ module Google
3061
3115
  end
3062
3116
  end
3063
3117
 
3118
+ class SetBlobStorageSettingsRequest
3119
+ # @private
3120
+ class Representation < Google::Apis::Core::JsonRepresentation
3121
+ property :blob_storage_settings, as: 'blobStorageSettings', class: Google::Apis::HealthcareV1beta1::BlobStorageSettings, decorator: Google::Apis::HealthcareV1beta1::BlobStorageSettings::Representation
3122
+
3123
+ property :filter_config, as: 'filterConfig', class: Google::Apis::HealthcareV1beta1::DicomFilterConfig, decorator: Google::Apis::HealthcareV1beta1::DicomFilterConfig::Representation
3124
+
3125
+ end
3126
+ end
3127
+
3128
+ class SetBlobStorageSettingsResponse
3129
+ # @private
3130
+ class Representation < Google::Apis::Core::JsonRepresentation
3131
+ end
3132
+ end
3133
+
3064
3134
  class SetIamPolicyRequest
3065
3135
  # @private
3066
3136
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3090,6 +3160,17 @@ module Google
3090
3160
  end
3091
3161
  end
3092
3162
 
3163
+ class StorageInfo
3164
+ # @private
3165
+ class Representation < Google::Apis::Core::JsonRepresentation
3166
+ property :blob_storage_info, as: 'blobStorageInfo', class: Google::Apis::HealthcareV1beta1::BlobStorageInfo, decorator: Google::Apis::HealthcareV1beta1::BlobStorageInfo::Representation
3167
+
3168
+ property :referenced_resource, as: 'referencedResource'
3169
+ property :structured_storage_info, as: 'structuredStorageInfo', class: Google::Apis::HealthcareV1beta1::StructuredStorageInfo, decorator: Google::Apis::HealthcareV1beta1::StructuredStorageInfo::Representation
3170
+
3171
+ end
3172
+ end
3173
+
3093
3174
  class StreamConfig
3094
3175
  # @private
3095
3176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3101,6 +3182,13 @@ module Google
3101
3182
  end
3102
3183
  end
3103
3184
 
3185
+ class StructuredStorageInfo
3186
+ # @private
3187
+ class Representation < Google::Apis::Core::JsonRepresentation
3188
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
3189
+ end
3190
+ end
3191
+
3104
3192
  class StudyMetrics
3105
3193
  # @private
3106
3194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2966,9 +2966,8 @@ module Google
2966
2966
  # SearchForInstances, see [Search transaction](https://cloud.google.com/
2967
2967
  # healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
2968
2968
  # conformance statement. For samples that show how to call SearchForInstances,
2969
- # see [Searching for studies, series, instances, and frames](https://cloud.
2970
- # google.com/healthcare/docs/how-tos/dicomweb#
2971
- # searching_for_studies_series_instances_and_frames).
2969
+ # see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
2970
+ # dicomweb#search-dicom).
2972
2971
  # @param [String] parent
2973
2972
  # The name of the DICOM store that is being accessed. For example, `projects/`
2974
2973
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3010,9 +3009,8 @@ module Google
3010
3009
  # For details on the implementation of SearchForSeries, see [Search transaction]
3011
3010
  # (https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the
3012
3011
  # Cloud Healthcare API conformance statement. For samples that show how to call
3013
- # SearchForSeries, see [Searching for studies, series, instances, and frames](
3014
- # https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3015
- # searching_for_studies_series_instances_and_frames).
3012
+ # SearchForSeries, see [Search for DICOM data](https://cloud.google.com/
3013
+ # healthcare/docs/how-tos/dicomweb#search-dicom).
3016
3014
  # @param [String] parent
3017
3015
  # The name of the DICOM store that is being accessed. For example, `projects/`
3018
3016
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3053,9 +3051,8 @@ module Google
3053
3051
  # For details on the implementation of SearchForStudies, see [Search
3054
3052
  # transaction](https://cloud.google.com/healthcare/docs/dicom#search_transaction)
3055
3053
  # in the Cloud Healthcare API conformance statement. For samples that show how
3056
- # to call SearchForStudies, see [Searching for studies, series, instances, and
3057
- # frames](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3058
- # searching_for_studies_series_instances_and_frames).
3054
+ # to call SearchForStudies, see [Search for DICOM data](https://cloud.google.com/
3055
+ # healthcare/docs/how-tos/dicomweb#search-dicom).
3059
3056
  # @param [String] parent
3060
3057
  # The name of the DICOM store that is being accessed. For example, `projects/`
3061
3058
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3090,6 +3087,48 @@ module Google
3090
3087
  execute_or_queue_command(command, &block)
3091
3088
  end
3092
3089
 
3090
+ # SetBlobStorageSettings sets the blob storage settings of the specified
3091
+ # resources.
3092
+ # @param [String] resource
3093
+ # Required. The path of the resource to update the blob storage settings in the
3094
+ # format of `projects/`projectID`/datasets/`datasetID`/dicomStores/`dicomStoreID`
3095
+ # /dicomWeb/studies/`studyUID``, `projects/`projectID`/datasets/`datasetID`/
3096
+ # dicomStores/`dicomStoreID`/dicomWeb/studies/`studyUID`/series/`seriesUID`/`,
3097
+ # or `projects/`projectID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
3098
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`instanceUID``. If `
3099
+ # filter_config` is specified, set the value of `resource` to the resource name
3100
+ # of a DICOM store in the format `projects/`projectID`/datasets/`datasetID`/
3101
+ # dicomStores/`dicomStoreID``.
3102
+ # @param [Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest] set_blob_storage_settings_request_object
3103
+ # @param [String] fields
3104
+ # Selector specifying which fields to include in a partial response.
3105
+ # @param [String] quota_user
3106
+ # Available to use for quota purposes for server-side applications. Can be any
3107
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3108
+ # @param [Google::Apis::RequestOptions] options
3109
+ # Request-specific options
3110
+ #
3111
+ # @yield [result, err] Result & error if block supplied
3112
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
3113
+ # @yieldparam err [StandardError] error object if request failed
3114
+ #
3115
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
3116
+ #
3117
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3118
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3119
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3120
+ def set_dicom_store_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3121
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setBlobStorageSettings', options)
3122
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest::Representation
3123
+ command.request_object = set_blob_storage_settings_request_object
3124
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
3125
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
3126
+ command.params['resource'] = resource unless resource.nil?
3127
+ command.query['fields'] = fields unless fields.nil?
3128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3129
+ execute_or_queue_command(command, &block)
3130
+ end
3131
+
3093
3132
  # Sets the access control policy on the specified resource. Replaces any
3094
3133
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
3095
3134
  # PERMISSION_DENIED` errors.
@@ -3133,8 +3172,8 @@ module Google
3133
3172
  # implementation of StoreInstances, see [Store transaction](https://cloud.google.
3134
3173
  # com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API
3135
3174
  # conformance statement. For samples that show how to call StoreInstances, see [
3136
- # Storing DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3137
- # storing_dicom_data).
3175
+ # Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3176
+ # store-dicom).
3138
3177
  # @param [String] parent
3139
3178
  # The name of the DICOM store that is being accessed. For example, `projects/`
3140
3179
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3244,6 +3283,48 @@ module Google
3244
3283
  execute_or_queue_command(command, &block)
3245
3284
  end
3246
3285
 
3286
+ # SetBlobStorageSettings sets the blob storage settings of the specified
3287
+ # resources.
3288
+ # @param [String] resource
3289
+ # Required. The path of the resource to update the blob storage settings in the
3290
+ # format of `projects/`projectID`/datasets/`datasetID`/dicomStores/`dicomStoreID`
3291
+ # /dicomWeb/studies/`studyUID``, `projects/`projectID`/datasets/`datasetID`/
3292
+ # dicomStores/`dicomStoreID`/dicomWeb/studies/`studyUID`/series/`seriesUID`/`,
3293
+ # or `projects/`projectID`/datasets/`datasetID`/dicomStores/`dicomStoreID`/
3294
+ # dicomWeb/studies/`studyUID`/series/`seriesUID`/instances/`instanceUID``. If `
3295
+ # filter_config` is specified, set the value of `resource` to the resource name
3296
+ # of a DICOM store in the format `projects/`projectID`/datasets/`datasetID`/
3297
+ # dicomStores/`dicomStoreID``.
3298
+ # @param [Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest] set_blob_storage_settings_request_object
3299
+ # @param [String] fields
3300
+ # Selector specifying which fields to include in a partial response.
3301
+ # @param [String] quota_user
3302
+ # Available to use for quota purposes for server-side applications. Can be any
3303
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3304
+ # @param [Google::Apis::RequestOptions] options
3305
+ # Request-specific options
3306
+ #
3307
+ # @yield [result, err] Result & error if block supplied
3308
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
3309
+ # @yieldparam err [StandardError] error object if request failed
3310
+ #
3311
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
3312
+ #
3313
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3314
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3315
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3316
+ def set_study_blob_storage_settings(resource, set_blob_storage_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3317
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setBlobStorageSettings', options)
3318
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetBlobStorageSettingsRequest::Representation
3319
+ command.request_object = set_blob_storage_settings_request_object
3320
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
3321
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
3322
+ command.params['resource'] = resource unless resource.nil?
3323
+ command.query['fields'] = fields unless fields.nil?
3324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3325
+ execute_or_queue_command(command, &block)
3326
+ end
3327
+
3247
3328
  # GetSeriesMetrics returns metrics for a series.
3248
3329
  # @param [String] series
3249
3330
  # The series resource path. For example, `projects/`project_id`/locations/`
@@ -3276,13 +3357,46 @@ module Google
3276
3357
  execute_or_queue_command(command, &block)
3277
3358
  end
3278
3359
 
3360
+ # GetStorageInfo returns the storage info of the specified resource.
3361
+ # @param [String] resource
3362
+ # Required. The path of the resource for which the storage info is requested (
3363
+ # for exaxmple for a DICOM Instance: `projects/`projectid`/datasets/`datasetid`/
3364
+ # dicomStores/`dicomStoreId`/dicomWeb/studies/`study_uid`/series/`series_uid`/
3365
+ # instances/`instance_uid``)
3366
+ # @param [String] fields
3367
+ # Selector specifying which fields to include in a partial response.
3368
+ # @param [String] quota_user
3369
+ # Available to use for quota purposes for server-side applications. Can be any
3370
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3371
+ # @param [Google::Apis::RequestOptions] options
3372
+ # Request-specific options
3373
+ #
3374
+ # @yield [result, err] Result & error if block supplied
3375
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::StorageInfo] parsed result object
3376
+ # @yieldparam err [StandardError] error object if request failed
3377
+ #
3378
+ # @return [Google::Apis::HealthcareV1beta1::StorageInfo]
3379
+ #
3380
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3381
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3382
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3383
+ def get_project_location_dataset_dicom_store_dicom_web_study_series_instance_storage_info(resource, fields: nil, quota_user: nil, options: nil, &block)
3384
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getStorageInfo', options)
3385
+ command.response_representation = Google::Apis::HealthcareV1beta1::StorageInfo::Representation
3386
+ command.response_class = Google::Apis::HealthcareV1beta1::StorageInfo
3387
+ command.params['resource'] = resource unless resource.nil?
3388
+ command.query['fields'] = fields unless fields.nil?
3389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3390
+ execute_or_queue_command(command, &block)
3391
+ end
3392
+
3279
3393
  # DeleteStudy deletes all instances within the given study using a long running
3280
3394
  # operation. The method returns an Operation which will be marked successful
3281
3395
  # when the deletion is complete. Warning: Instances cannot be inserted into a
3282
3396
  # study that is being deleted by an operation until the operation completes. For
3283
- # samples that show how to call DeleteStudy, see [Deleting a study, series, or
3284
- # instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3285
- # deleting_a_study_series_or_instance).
3397
+ # samples that show how to call DeleteStudy, see [Delete a study, series, or
3398
+ # instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#delete-
3399
+ # dicom).
3286
3400
  # @param [String] parent
3287
3401
  # @param [String] dicom_web_path
3288
3402
  # The path of the DeleteStudy request. For example, `studies/`study_uid``.
@@ -3320,8 +3434,8 @@ module Google
3320
3434
  # For details on the implementation of RetrieveStudyMetadata, see [Metadata
3321
3435
  # resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources)
3322
3436
  # in the Cloud Healthcare API conformance statement. For samples that show how
3323
- # to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud.google.
3324
- # com/healthcare/docs/how-tos/dicomweb#retrieving_metadata).
3437
+ # to call RetrieveStudyMetadata, see [Retrieve metadata](https://cloud.google.
3438
+ # com/healthcare/docs/how-tos/dicomweb#retrieve-metadata).
3325
3439
  # @param [String] parent
3326
3440
  # The name of the DICOM store that is being accessed. For example, `projects/`
3327
3441
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3362,9 +3476,9 @@ module Google
3362
3476
  # part18.html#sect_10.4). For details on the implementation of RetrieveStudy,
3363
3477
  # see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
3364
3478
  # dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
3365
- # statement. For samples that show how to call RetrieveStudy, see [Retrieving
3366
- # DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3367
- # retrieving_dicom_data).
3479
+ # statement. For samples that show how to call RetrieveStudy, see [Retrieve
3480
+ # DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-
3481
+ # dicom).
3368
3482
  # @param [String] parent
3369
3483
  # The name of the DICOM store that is being accessed. For example, `projects/`
3370
3484
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3406,9 +3520,8 @@ module Google
3406
3520
  # SearchForInstances, see [Search transaction](https://cloud.google.com/
3407
3521
  # healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
3408
3522
  # conformance statement. For samples that show how to call SearchForInstances,
3409
- # see [Searching for studies, series, instances, and frames](https://cloud.
3410
- # google.com/healthcare/docs/how-tos/dicomweb#
3411
- # searching_for_studies_series_instances_and_frames).
3523
+ # see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
3524
+ # dicomweb#search-dicom).
3412
3525
  # @param [String] parent
3413
3526
  # The name of the DICOM store that is being accessed. For example, `projects/`
3414
3527
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3450,9 +3563,8 @@ module Google
3450
3563
  # For details on the implementation of SearchForSeries, see [Search transaction]
3451
3564
  # (https://cloud.google.com/healthcare/docs/dicom#search_transaction) in the
3452
3565
  # Cloud Healthcare API conformance statement. For samples that show how to call
3453
- # SearchForSeries, see [Searching for studies, series, instances, and frames](
3454
- # https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3455
- # searching_for_studies_series_instances_and_frames).
3566
+ # SearchForSeries, see [Search for DICOM data](https://cloud.google.com/
3567
+ # healthcare/docs/how-tos/dicomweb#search-dicom).
3456
3568
  # @param [String] parent
3457
3569
  # The name of the DICOM store that is being accessed. For example, `projects/`
3458
3570
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3494,8 +3606,8 @@ module Google
3494
3606
  # implementation of StoreInstances, see [Store transaction](https://cloud.google.
3495
3607
  # com/healthcare/docs/dicom#store_transaction) in the Cloud Healthcare API
3496
3608
  # conformance statement. For samples that show how to call StoreInstances, see [
3497
- # Storing DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3498
- # storing_dicom_data).
3609
+ # Store DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3610
+ # store-dicom).
3499
3611
  # @param [String] parent
3500
3612
  # The name of the DICOM store that is being accessed. For example, `projects/`
3501
3613
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3539,8 +3651,8 @@ module Google
3539
3651
  # successful when the deletion is complete. Warning: Instances cannot be
3540
3652
  # inserted into a series that is being deleted by an operation until the
3541
3653
  # operation completes. For samples that show how to call DeleteSeries, see [
3542
- # Deleting a study, series, or instance](https://cloud.google.com/healthcare/
3543
- # docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
3654
+ # Delete a study, series, or instance](https://cloud.google.com/healthcare/docs/
3655
+ # how-tos/dicomweb#delete-dicom).
3544
3656
  # @param [String] parent
3545
3657
  # The name of the DICOM store that is being accessed. For example, `projects/`
3546
3658
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3583,8 +3695,8 @@ module Google
3583
3695
  # RetrieveSeriesMetadata, see [Metadata resources](https://cloud.google.com/
3584
3696
  # healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
3585
3697
  # conformance statement. For samples that show how to call
3586
- # RetrieveSeriesMetadata, see [Retrieving metadata](https://cloud.google.com/
3587
- # healthcare/docs/how-tos/dicomweb#retrieving_metadata).
3698
+ # RetrieveSeriesMetadata, see [Retrieve metadata](https://cloud.google.com/
3699
+ # healthcare/docs/how-tos/dicomweb#retrieve-metadata).
3588
3700
  # @param [String] parent
3589
3701
  # The name of the DICOM store that is being accessed. For example, `projects/`
3590
3702
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3625,9 +3737,9 @@ module Google
3625
3737
  # part18.html#sect_10.4). For details on the implementation of RetrieveSeries,
3626
3738
  # see [DICOM study/series/instances](https://cloud.google.com/healthcare/docs/
3627
3739
  # dicom#dicom_studyseriesinstances) in the Cloud Healthcare API conformance
3628
- # statement. For samples that show how to call RetrieveSeries, see [Retrieving
3629
- # DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3630
- # retrieving_dicom_data).
3740
+ # statement. For samples that show how to call RetrieveSeries, see [Retrieve
3741
+ # DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-
3742
+ # dicom).
3631
3743
  # @param [String] parent
3632
3744
  # The name of the DICOM store that is being accessed. For example, `projects/`
3633
3745
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3669,9 +3781,8 @@ module Google
3669
3781
  # SearchForInstances, see [Search transaction](https://cloud.google.com/
3670
3782
  # healthcare/docs/dicom#search_transaction) in the Cloud Healthcare API
3671
3783
  # conformance statement. For samples that show how to call SearchForInstances,
3672
- # see [Searching for studies, series, instances, and frames](https://cloud.
3673
- # google.com/healthcare/docs/how-tos/dicomweb#
3674
- # searching_for_studies_series_instances_and_frames).
3784
+ # see [Search for DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
3785
+ # dicomweb#search-dicom).
3675
3786
  # @param [String] parent
3676
3787
  # The name of the DICOM store that is being accessed. For example, `projects/`
3677
3788
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3712,9 +3823,9 @@ module Google
3712
3823
  # and SOP Instance UID. Delete requests are equivalent to the GET requests
3713
3824
  # specified in the Retrieve transaction. Study and series search results can
3714
3825
  # take a few seconds to be updated after an instance is deleted using
3715
- # DeleteInstance. For samples that show how to call DeleteInstance, see [
3716
- # Deleting a study, series, or instance](https://cloud.google.com/healthcare/
3717
- # docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
3826
+ # DeleteInstance. For samples that show how to call DeleteInstance, see [Delete
3827
+ # a study, series, or instance](https://cloud.google.com/healthcare/docs/how-tos/
3828
+ # dicomweb#delete-dicom).
3718
3829
  # @param [String] parent
3719
3830
  # The name of the DICOM store that is being accessed. For example, `projects/`
3720
3831
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3757,8 +3868,8 @@ module Google
3757
3868
  # cloud.google.com/healthcare/docs/dicom#dicom_studyseriesinstances) and [DICOM
3758
3869
  # instances](https://cloud.google.com/healthcare/docs/dicom#dicom_instances) in
3759
3870
  # the Cloud Healthcare API conformance statement. For samples that show how to
3760
- # call RetrieveInstance, see [Retrieving an instance](https://cloud.google.com/
3761
- # healthcare/docs/how-tos/dicomweb#retrieving_an_instance).
3871
+ # call RetrieveInstance, see [Retrieve an instance](https://cloud.google.com/
3872
+ # healthcare/docs/how-tos/dicomweb#retrieve-instance).
3762
3873
  # @param [String] parent
3763
3874
  # The name of the DICOM store that is being accessed. For example, `projects/`
3764
3875
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3801,8 +3912,8 @@ module Google
3801
3912
  # RetrieveInstanceMetadata, see [Metadata resources](https://cloud.google.com/
3802
3913
  # healthcare/docs/dicom#metadata_resources) in the Cloud Healthcare API
3803
3914
  # conformance statement. For samples that show how to call
3804
- # RetrieveInstanceMetadata, see [Retrieving metadata](https://cloud.google.com/
3805
- # healthcare/docs/how-tos/dicomweb#retrieving_metadata).
3915
+ # RetrieveInstanceMetadata, see [Retrieve metadata](https://cloud.google.com/
3916
+ # healthcare/docs/how-tos/dicomweb#retrieve-metadata).
3806
3917
  # @param [String] parent
3807
3918
  # The name of the DICOM store that is being accessed. For example, `projects/`
3808
3919
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3845,9 +3956,8 @@ module Google
3845
3956
  # RetrieveRenderedInstance, see [Rendered resources](https://cloud.google.com/
3846
3957
  # healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
3847
3958
  # conformance statement. For samples that show how to call
3848
- # RetrieveRenderedInstance, see [Retrieving consumer image formats](https://
3849
- # cloud.google.com/healthcare/docs/how-tos/dicomweb#
3850
- # retrieving_consumer_image_formats).
3959
+ # RetrieveRenderedInstance, see [Retrieve consumer image formats](https://cloud.
3960
+ # google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).
3851
3961
  # @param [String] parent
3852
3962
  # The name of the DICOM store that is being accessed. For example, `projects/`
3853
3963
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3889,8 +3999,8 @@ module Google
3889
3999
  # the implementation of RetrieveFrames, see [DICOM frames](https://cloud.google.
3890
4000
  # com/healthcare/docs/dicom#dicom_frames) in the Cloud Healthcare API
3891
4001
  # conformance statement. For samples that show how to call RetrieveFrames, see [
3892
- # Retrieving DICOM data](https://cloud.google.com/healthcare/docs/how-tos/
3893
- # dicomweb#retrieving_dicom_data).
4002
+ # Retrieve DICOM data](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
4003
+ # retrieve-dicom).
3894
4004
  # @param [String] parent
3895
4005
  # The name of the DICOM store that is being accessed. For example, `projects/`
3896
4006
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3933,8 +4043,8 @@ module Google
3933
4043
  # RetrieveRenderedFrames, see [Rendered resources](https://cloud.google.com/
3934
4044
  # healthcare/docs/dicom#rendered_resources) in the Cloud Healthcare API
3935
4045
  # conformance statement. For samples that show how to call
3936
- # RetrieveRenderedFrames, see [Retrieving consumer image formats](https://cloud.
3937
- # google.com/healthcare/docs/how-tos/dicomweb#retrieving_consumer_image_formats).
4046
+ # RetrieveRenderedFrames, see [Retrieve consumer image formats](https://cloud.
4047
+ # google.com/healthcare/docs/how-tos/dicomweb#retrieve-consumer).
3938
4048
  # @param [String] parent
3939
4049
  # The name of the DICOM store that is being accessed. For example, `projects/`
3940
4050
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -6131,7 +6241,7 @@ module Google
6131
6241
  execute_or_queue_command(command, &block)
6132
6242
  end
6133
6243
 
6134
- # Gets metrics asssociated with the HL7v2 store.
6244
+ # Gets metrics associated with the HL7v2 store.
6135
6245
  # @param [String] name
6136
6246
  # The resource name of the HL7v2 store to get metrics for, in the format `
6137
6247
  # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.59.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: 2023-10-22 00:00:00.000000000 Z
11
+ date: 2023-11-05 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.59.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []