google-apis-healthcare_v1beta1 0.55.0 → 0.57.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: d9317c5ef07706d461d6b2100223e00376363339432ef014067d702d1a47b0ed
4
- data.tar.gz: 9e7e6143d010d392ad8de3c5729c65dd619883f7b78dbd412ff0bcc97d282c16
3
+ metadata.gz: ba7d681f27fa13025b4730435a6a5db3d6aff6b1687d4a116524200caa97a2bd
4
+ data.tar.gz: 5d241a85f6c800c62a5baa3b9ab24ea3c3e1121404fdc247e3622a23df5eb8d0
5
5
  SHA512:
6
- metadata.gz: e3b40e7ca3d7645a1411c3d04bc04e75de9fce7663f04c458f3d105192db98d56d5ecaa08f1299607833883b8a7d6da29eef2bf4dcc01a0837c1236d6c76b623
7
- data.tar.gz: fd526f1fa522ef7fd21bebd0df13dd4a030cc893be8ddbbd7e608d557aa3a9ef3294ce76fbe0ab210f0eac4aaf154ba6a8a20935258cd92fdddcb9d45d6f1640
6
+ metadata.gz: 633734b41a30b249be124043d0fc3a9e6760fb41a5b221e2d0d0d93d66a93b0ab785f879c8c3eeead6337ab7ccb0006d5ebcc10d2abdeed9dc1a8249ee6d3ad6
7
+ data.tar.gz: 471eb764efe42a279bb297402e60979d15c4004873f69ee6bcf492a9b9c70dad2409d142d3be96559697875b2ae765cf34869cc53ec7774997e0c2531503e380
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.57.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231003
6
+
7
+ ### v0.56.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230921
10
+
3
11
  ### v0.55.0 (2023-09-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20230912
@@ -54,7 +54,7 @@ module Google
54
54
  # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
55
55
  attr_accessor :clean_image_tag
56
56
 
57
- # Inspect text and transform sensitive text. Configurable using `TextConfig`.
57
+ # Inspect text and transform sensitive text. Configurable using TextConfig.
58
58
  # Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/
59
59
  # output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT,
60
60
  # DA, DT, AS
@@ -1009,7 +1009,7 @@ module Google
1009
1009
  end
1010
1010
  end
1011
1011
 
1012
- # Inspect text and transform sensitive text. Configurable using `TextConfig`.
1012
+ # Inspect text and transform sensitive text. Configurable using TextConfig.
1013
1013
  # Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/
1014
1014
  # output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT,
1015
1015
  # DA, DT, AS
@@ -1647,9 +1647,9 @@ module Google
1647
1647
  # Ensures in-flight data remains in the region of origin during de-
1648
1648
  # identification. Using this option results in a significant reduction of
1649
1649
  # throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME`
1650
- # infoTypes. If the deprecated `DicomConfig` or `FhirConfig` are used, then `
1651
- # LOCATION` must be excluded within `TextConfig`, and must also be excluded
1652
- # within `ImageConfig` if image redaction is required.
1650
+ # infoTypes. If the deprecated DicomConfig or FhirConfig are used, then `
1651
+ # LOCATION` must be excluded within TextConfig, and must also be excluded within
1652
+ # ImageConfig if image redaction is required.
1653
1653
  # Corresponds to the JSON property `useRegionalDataProcessing`
1654
1654
  # @return [Boolean]
1655
1655
  attr_accessor :use_regional_data_processing
@@ -2005,6 +2005,56 @@ module Google
2005
2005
  end
2006
2006
  end
2007
2007
 
2008
+ # DicomStoreMetrics contains metrics describing a DICOM store.
2009
+ class DicomStoreMetrics
2010
+ include Google::Apis::Core::Hashable
2011
+
2012
+ # Total blob storage bytes for all instances in the store.
2013
+ # Corresponds to the JSON property `blobStorageSizeBytes`
2014
+ # @return [Fixnum]
2015
+ attr_accessor :blob_storage_size_bytes
2016
+
2017
+ # Number of instances in the store.
2018
+ # Corresponds to the JSON property `instanceCount`
2019
+ # @return [Fixnum]
2020
+ attr_accessor :instance_count
2021
+
2022
+ # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
2023
+ # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
2024
+ # Corresponds to the JSON property `name`
2025
+ # @return [String]
2026
+ attr_accessor :name
2027
+
2028
+ # Number of series in the store.
2029
+ # Corresponds to the JSON property `seriesCount`
2030
+ # @return [Fixnum]
2031
+ attr_accessor :series_count
2032
+
2033
+ # Total structured storage bytes for all instances in the store.
2034
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
2035
+ # @return [Fixnum]
2036
+ attr_accessor :structured_storage_size_bytes
2037
+
2038
+ # Number of studies in the store.
2039
+ # Corresponds to the JSON property `studyCount`
2040
+ # @return [Fixnum]
2041
+ attr_accessor :study_count
2042
+
2043
+ def initialize(**args)
2044
+ update!(**args)
2045
+ end
2046
+
2047
+ # Update properties of this object
2048
+ def update!(**args)
2049
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
2050
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
2051
+ @name = args[:name] if args.key?(:name)
2052
+ @series_count = args[:series_count] if args.key?(:series_count)
2053
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
2054
+ @study_count = args[:study_count] if args.key?(:study_count)
2055
+ end
2056
+ end
2057
+
2008
2058
  # Specifies the parameters needed for the de-identification of DICOM stores.
2009
2059
  class DicomTagConfig
2010
2060
  include Google::Apis::Core::Hashable
@@ -2831,8 +2881,8 @@ module Google
2831
2881
  # healthcare.fhirResources.update permission on the destination store to your
2832
2882
  # project's **Cloud Healthcare Service Agent** [service account](https://cloud.
2833
2883
  # google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#
2834
- # the_cloud_healthcare_service_agent). The destination store must set `
2835
- # enable_update_create` to true. The destination store must use FHIR version R4.
2884
+ # the_cloud_healthcare_service_agent). The destination store must set
2885
+ # enableUpdateCreate to true. The destination store must use FHIR version R4.
2836
2886
  # Writing these resources will consume FHIR operations quota from the project
2837
2887
  # containing the source data. De-identify operation metadata is only generated
2838
2888
  # for DICOM de-identification operations.
@@ -4073,6 +4123,64 @@ module Google
4073
4123
  end
4074
4124
  end
4075
4125
 
4126
+ # Count of messages and total storage size by type for a given HL7 store.
4127
+ class Hl7V2StoreMetric
4128
+ include Google::Apis::Core::Hashable
4129
+
4130
+ # The total count of HL7v2 messages in the store for the given message type.
4131
+ # Corresponds to the JSON property `count`
4132
+ # @return [Fixnum]
4133
+ attr_accessor :count
4134
+
4135
+ # The Hl7v2 message type this metric applies to, such as `ADT` or `ORU`.
4136
+ # Corresponds to the JSON property `messageType`
4137
+ # @return [String]
4138
+ attr_accessor :message_type
4139
+
4140
+ # The total amount of structured storage used by HL7v2 messages of this message
4141
+ # type in the store.
4142
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
4143
+ # @return [Fixnum]
4144
+ attr_accessor :structured_storage_size_bytes
4145
+
4146
+ def initialize(**args)
4147
+ update!(**args)
4148
+ end
4149
+
4150
+ # Update properties of this object
4151
+ def update!(**args)
4152
+ @count = args[:count] if args.key?(:count)
4153
+ @message_type = args[:message_type] if args.key?(:message_type)
4154
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
4155
+ end
4156
+ end
4157
+
4158
+ # List of metrics for a given HL7v2 store.
4159
+ class Hl7V2StoreMetrics
4160
+ include Google::Apis::Core::Hashable
4161
+
4162
+ # List of HL7v2 store metrics by message type.
4163
+ # Corresponds to the JSON property `metrics`
4164
+ # @return [Array<Google::Apis::HealthcareV1beta1::Hl7V2StoreMetric>]
4165
+ attr_accessor :metrics
4166
+
4167
+ # The resource name of the HL7v2 store to get metrics for, in the format `
4168
+ # projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
4169
+ # Corresponds to the JSON property `name`
4170
+ # @return [String]
4171
+ attr_accessor :name
4172
+
4173
+ def initialize(**args)
4174
+ update!(**args)
4175
+ end
4176
+
4177
+ # Update properties of this object
4178
+ def update!(**args)
4179
+ @metrics = args[:metrics] if args.key?(:metrics)
4180
+ @name = args[:name] if args.key?(:name)
4181
+ end
4182
+ end
4183
+
4076
4184
  # Message that represents an arbitrary HTTP body. It should only be used for
4077
4185
  # payload formats that can't be represented as JSON, such as raw binary or an
4078
4186
  # HTML page. This message can be used both in streaming and non-streaming API
@@ -6199,6 +6307,45 @@ module Google
6199
6307
  end
6200
6308
  end
6201
6309
 
6310
+ # SeriesMetrics contains metrics describing a DICOM series.
6311
+ class SeriesMetrics
6312
+ include Google::Apis::Core::Hashable
6313
+
6314
+ # Total blob storage bytes for all instances in the series.
6315
+ # Corresponds to the JSON property `blobStorageSizeBytes`
6316
+ # @return [Fixnum]
6317
+ attr_accessor :blob_storage_size_bytes
6318
+
6319
+ # Number of instances in the series.
6320
+ # Corresponds to the JSON property `instanceCount`
6321
+ # @return [Fixnum]
6322
+ attr_accessor :instance_count
6323
+
6324
+ # The series resource path. For example, `projects/`project_id`/locations/`
6325
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
6326
+ # studies/`study_uid`/series/`series_uid``.
6327
+ # Corresponds to the JSON property `series`
6328
+ # @return [String]
6329
+ attr_accessor :series
6330
+
6331
+ # Total structured storage bytes for all instances in the series.
6332
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
6333
+ # @return [Fixnum]
6334
+ attr_accessor :structured_storage_size_bytes
6335
+
6336
+ def initialize(**args)
6337
+ update!(**args)
6338
+ end
6339
+
6340
+ # Update properties of this object
6341
+ def update!(**args)
6342
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
6343
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
6344
+ @series = args[:series] if args.key?(:series)
6345
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
6346
+ end
6347
+ end
6348
+
6202
6349
  # Request message for `SetIamPolicy` method.
6203
6350
  class SetIamPolicyRequest
6204
6351
  include Google::Apis::Core::Hashable
@@ -6363,6 +6510,51 @@ module Google
6363
6510
  end
6364
6511
  end
6365
6512
 
6513
+ # StudyMetrics contains metrics describing a DICOM study.
6514
+ class StudyMetrics
6515
+ include Google::Apis::Core::Hashable
6516
+
6517
+ # Total blob storage bytes for all instances in the study.
6518
+ # Corresponds to the JSON property `blobStorageSizeBytes`
6519
+ # @return [Fixnum]
6520
+ attr_accessor :blob_storage_size_bytes
6521
+
6522
+ # Number of instances in the study.
6523
+ # Corresponds to the JSON property `instanceCount`
6524
+ # @return [Fixnum]
6525
+ attr_accessor :instance_count
6526
+
6527
+ # Number of series in the study.
6528
+ # Corresponds to the JSON property `seriesCount`
6529
+ # @return [Fixnum]
6530
+ attr_accessor :series_count
6531
+
6532
+ # Total structured storage bytes for all instances in the study.
6533
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
6534
+ # @return [Fixnum]
6535
+ attr_accessor :structured_storage_size_bytes
6536
+
6537
+ # The study resource path. For example, `projects/`project_id`/locations/`
6538
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
6539
+ # studies/`study_uid``.
6540
+ # Corresponds to the JSON property `study`
6541
+ # @return [String]
6542
+ attr_accessor :study
6543
+
6544
+ def initialize(**args)
6545
+ update!(**args)
6546
+ end
6547
+
6548
+ # Update properties of this object
6549
+ def update!(**args)
6550
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
6551
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
6552
+ @series_count = args[:series_count] if args.key?(:series_count)
6553
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
6554
+ @study = args[:study] if args.key?(:study)
6555
+ end
6556
+ end
6557
+
6366
6558
  # List of tags to be filtered.
6367
6559
  class TagFilterList
6368
6560
  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.55.0"
19
+ GEM_VERSION = "0.57.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 = "20230912"
25
+ REVISION = "20231003"
26
26
  end
27
27
  end
28
28
  end
@@ -376,6 +376,12 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class DicomStoreMetrics
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
379
385
  class DicomTagConfig
380
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
387
 
@@ -706,6 +712,18 @@ module Google
706
712
  include Google::Apis::Core::JsonObjectSupport
707
713
  end
708
714
 
715
+ class Hl7V2StoreMetric
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class Hl7V2StoreMetrics
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
709
727
  class HttpBody
710
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
729
 
@@ -1138,6 +1156,12 @@ module Google
1138
1156
  include Google::Apis::Core::JsonObjectSupport
1139
1157
  end
1140
1158
 
1159
+ class SeriesMetrics
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1141
1165
  class SetIamPolicyRequest
1142
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1143
1167
 
@@ -1162,6 +1186,12 @@ module Google
1162
1186
  include Google::Apis::Core::JsonObjectSupport
1163
1187
  end
1164
1188
 
1189
+ class StudyMetrics
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1165
1195
  class TagFilterList
1166
1196
  class Representation < Google::Apis::Core::JsonRepresentation; end
1167
1197
 
@@ -1786,6 +1816,18 @@ module Google
1786
1816
  end
1787
1817
  end
1788
1818
 
1819
+ class DicomStoreMetrics
1820
+ # @private
1821
+ class Representation < Google::Apis::Core::JsonRepresentation
1822
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
1823
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
1824
+ property :name, as: 'name'
1825
+ property :series_count, :numeric_string => true, as: 'seriesCount'
1826
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
1827
+ property :study_count, :numeric_string => true, as: 'studyCount'
1828
+ end
1829
+ end
1830
+
1789
1831
  class DicomTagConfig
1790
1832
  # @private
1791
1833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2317,6 +2359,24 @@ module Google
2317
2359
  end
2318
2360
  end
2319
2361
 
2362
+ class Hl7V2StoreMetric
2363
+ # @private
2364
+ class Representation < Google::Apis::Core::JsonRepresentation
2365
+ property :count, :numeric_string => true, as: 'count'
2366
+ property :message_type, as: 'messageType'
2367
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
2368
+ end
2369
+ end
2370
+
2371
+ class Hl7V2StoreMetrics
2372
+ # @private
2373
+ class Representation < Google::Apis::Core::JsonRepresentation
2374
+ collection :metrics, as: 'metrics', class: Google::Apis::HealthcareV1beta1::Hl7V2StoreMetric, decorator: Google::Apis::HealthcareV1beta1::Hl7V2StoreMetric::Representation
2375
+
2376
+ property :name, as: 'name'
2377
+ end
2378
+ end
2379
+
2320
2380
  class HttpBody
2321
2381
  # @private
2322
2382
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2943,6 +3003,16 @@ module Google
2943
3003
  end
2944
3004
  end
2945
3005
 
3006
+ class SeriesMetrics
3007
+ # @private
3008
+ class Representation < Google::Apis::Core::JsonRepresentation
3009
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
3010
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
3011
+ property :series, as: 'series'
3012
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
3013
+ end
3014
+ end
3015
+
2946
3016
  class SetIamPolicyRequest
2947
3017
  # @private
2948
3018
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2983,6 +3053,17 @@ module Google
2983
3053
  end
2984
3054
  end
2985
3055
 
3056
+ class StudyMetrics
3057
+ # @private
3058
+ class Representation < Google::Apis::Core::JsonRepresentation
3059
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
3060
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
3061
+ property :series_count, :numeric_string => true, as: 'seriesCount'
3062
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
3063
+ property :study, as: 'study'
3064
+ end
3065
+ end
3066
+
2986
3067
  class TagFilterList
2987
3068
  # @private
2988
3069
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2747,6 +2747,36 @@ module Google
2747
2747
  execute_or_queue_command(command, &block)
2748
2748
  end
2749
2749
 
2750
+ # Gets metrics associated with the DICOM store.
2751
+ # @param [String] name
2752
+ # The resource name of the DICOM store to get metrics for.
2753
+ # @param [String] fields
2754
+ # Selector specifying which fields to include in a partial response.
2755
+ # @param [String] quota_user
2756
+ # Available to use for quota purposes for server-side applications. Can be any
2757
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2758
+ # @param [Google::Apis::RequestOptions] options
2759
+ # Request-specific options
2760
+ #
2761
+ # @yield [result, err] Result & error if block supplied
2762
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::DicomStoreMetrics] parsed result object
2763
+ # @yieldparam err [StandardError] error object if request failed
2764
+ #
2765
+ # @return [Google::Apis::HealthcareV1beta1::DicomStoreMetrics]
2766
+ #
2767
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2768
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2769
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2770
+ def get_project_location_dataset_dicom_store_dicom_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
2771
+ command = make_simple_command(:get, 'v1beta1/{+name}:getDICOMStoreMetrics', options)
2772
+ command.response_representation = Google::Apis::HealthcareV1beta1::DicomStoreMetrics::Representation
2773
+ command.response_class = Google::Apis::HealthcareV1beta1::DicomStoreMetrics
2774
+ command.params['name'] = name unless name.nil?
2775
+ command.query['fields'] = fields unless fields.nil?
2776
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2777
+ execute_or_queue_command(command, &block)
2778
+ end
2779
+
2750
2780
  # Gets the access control policy for a resource. Returns an empty policy if the
2751
2781
  # resource exists and does not have a policy set.
2752
2782
  # @param [String] resource
@@ -3182,6 +3212,70 @@ module Google
3182
3212
  execute_or_queue_command(command, &block)
3183
3213
  end
3184
3214
 
3215
+ # GetStudyMetrics returns metrics for a study.
3216
+ # @param [String] study
3217
+ # The study resource path. For example, `projects/`project_id`/locations/`
3218
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
3219
+ # studies/`study_uid``.
3220
+ # @param [String] fields
3221
+ # Selector specifying which fields to include in a partial response.
3222
+ # @param [String] quota_user
3223
+ # Available to use for quota purposes for server-side applications. Can be any
3224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3225
+ # @param [Google::Apis::RequestOptions] options
3226
+ # Request-specific options
3227
+ #
3228
+ # @yield [result, err] Result & error if block supplied
3229
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::StudyMetrics] parsed result object
3230
+ # @yieldparam err [StandardError] error object if request failed
3231
+ #
3232
+ # @return [Google::Apis::HealthcareV1beta1::StudyMetrics]
3233
+ #
3234
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3235
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3236
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3237
+ def get_project_location_dataset_dicom_store_dicom_web_study_study_metrics(study, fields: nil, quota_user: nil, options: nil, &block)
3238
+ command = make_simple_command(:get, 'v1beta1/{+study}:getStudyMetrics', options)
3239
+ command.response_representation = Google::Apis::HealthcareV1beta1::StudyMetrics::Representation
3240
+ command.response_class = Google::Apis::HealthcareV1beta1::StudyMetrics
3241
+ command.params['study'] = study unless study.nil?
3242
+ command.query['fields'] = fields unless fields.nil?
3243
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3244
+ execute_or_queue_command(command, &block)
3245
+ end
3246
+
3247
+ # GetSeriesMetrics returns metrics for a series.
3248
+ # @param [String] series
3249
+ # The series resource path. For example, `projects/`project_id`/locations/`
3250
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
3251
+ # studies/`study_uid`/series/`series_uid``.
3252
+ # @param [String] fields
3253
+ # Selector specifying which fields to include in a partial response.
3254
+ # @param [String] quota_user
3255
+ # Available to use for quota purposes for server-side applications. Can be any
3256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3257
+ # @param [Google::Apis::RequestOptions] options
3258
+ # Request-specific options
3259
+ #
3260
+ # @yield [result, err] Result & error if block supplied
3261
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::SeriesMetrics] parsed result object
3262
+ # @yieldparam err [StandardError] error object if request failed
3263
+ #
3264
+ # @return [Google::Apis::HealthcareV1beta1::SeriesMetrics]
3265
+ #
3266
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3267
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3268
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3269
+ def get_project_location_dataset_dicom_store_dicom_web_study_series_series_metrics(series, fields: nil, quota_user: nil, options: nil, &block)
3270
+ command = make_simple_command(:get, 'v1beta1/{+series}:getSeriesMetrics', options)
3271
+ command.response_representation = Google::Apis::HealthcareV1beta1::SeriesMetrics::Representation
3272
+ command.response_class = Google::Apis::HealthcareV1beta1::SeriesMetrics
3273
+ command.params['series'] = series unless series.nil?
3274
+ command.query['fields'] = fields unless fields.nil?
3275
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3276
+ execute_or_queue_command(command, &block)
3277
+ end
3278
+
3185
3279
  # DeleteStudy deletes all instances within the given study using a long running
3186
3280
  # operation. The method returns an Operation which will be marked successful
3187
3281
  # when the deletion is complete. Warning: Instances cannot be inserted into a
@@ -5963,6 +6057,38 @@ module Google
5963
6057
  execute_or_queue_command(command, &block)
5964
6058
  end
5965
6059
 
6060
+ # Gets metrics asssociated with the HL7v2 store.
6061
+ # @param [String] name
6062
+ # The resource name of the HL7v2 store to get metrics for, in the format `
6063
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
6064
+ # hl7V2Stores/`hl7v2_store_id``.
6065
+ # @param [String] fields
6066
+ # Selector specifying which fields to include in a partial response.
6067
+ # @param [String] quota_user
6068
+ # Available to use for quota purposes for server-side applications. Can be any
6069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6070
+ # @param [Google::Apis::RequestOptions] options
6071
+ # Request-specific options
6072
+ #
6073
+ # @yield [result, err] Result & error if block supplied
6074
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics] parsed result object
6075
+ # @yieldparam err [StandardError] error object if request failed
6076
+ #
6077
+ # @return [Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics]
6078
+ #
6079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6082
+ def get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
6083
+ command = make_simple_command(:get, 'v1beta1/{+name}:getHL7v2StoreMetrics', options)
6084
+ command.response_representation = Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics::Representation
6085
+ command.response_class = Google::Apis::HealthcareV1beta1::Hl7V2StoreMetrics
6086
+ command.params['name'] = name unless name.nil?
6087
+ command.query['fields'] = fields unless fields.nil?
6088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6089
+ execute_or_queue_command(command, &block)
6090
+ end
6091
+
5966
6092
  # Gets the access control policy for a resource. Returns an empty policy if the
5967
6093
  # resource exists and does not have a policy set.
5968
6094
  # @param [String] resource
@@ -29,6 +29,9 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
+ # Read, write and manage healthcare data
33
+ AUTH_CLOUD_HEALTHCARE = 'https://www.googleapis.com/auth/cloud-healthcare'
34
+
32
35
  # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
37
  end
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.55.0
4
+ version: 0.57.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-09-24 00:00:00.000000000 Z
11
+ date: 2023-10-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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.57.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: []