google-apis-healthcare_v1 0.49.0 → 0.51.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: 48dd75e142658f3a4ec647640c38e462c895de86698b546c7287db82c4b5bde2
4
- data.tar.gz: a1b3448a28dc06cb2c29ab40ff077467e5fa5c20b88e9eff1a168d85ec85ba0c
3
+ metadata.gz: f004ade76cba73c008e2b858fa78c802b766af247fb9f9edde7b2e32785b743a
4
+ data.tar.gz: b53c8188a9a95471676f136abb2970181b56b71d3e122f8450a28096f76d28be
5
5
  SHA512:
6
- metadata.gz: cac49d20031461b2f3af65ecb588aa376f8047bdd30693bfbd8cd0f88a192a7b261b44c1bde299a74963b103eb0fc5e49738a2956b9be6cf2a6b57037f9522c3
7
- data.tar.gz: e463c0164523a9fa857600658d5713d2c53aac1e481a54a761939b067f1bd47fd4cdf0e55c12a8582d7b65fb06fdc547bc7f5b157e8897a4fb59b6e85f0f377a
6
+ metadata.gz: eb584dd0962a76cde362e124d2beff50dbd5f1d80d08ddae5b93737ade12679c72d3beda411c8c8e037c329d6b5f1f7c4a9d31adb7c40ff0231671219884c1e5
7
+ data.tar.gz: 6c7cd3a6b39bf58e5d572152513fa72c532a321dee2449a1e69b85e2a0a9ae85d3607ed541c38e4c27108d3b632205e6ef9549a6dba3e64463b51d3efa5a6e0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.51.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231017
6
+
7
+ ### v0.50.0 (2023-10-15)
8
+
9
+ * Regenerated from discovery document revision 20231003
10
+
3
11
  ### v0.49.0 (2023-10-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20230921
@@ -1223,6 +1223,56 @@ module Google
1223
1223
  end
1224
1224
  end
1225
1225
 
1226
+ # DicomStoreMetrics contains metrics describing a DICOM store.
1227
+ class DicomStoreMetrics
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # Total blob storage bytes for all instances in the store.
1231
+ # Corresponds to the JSON property `blobStorageSizeBytes`
1232
+ # @return [Fixnum]
1233
+ attr_accessor :blob_storage_size_bytes
1234
+
1235
+ # Number of instances in the store.
1236
+ # Corresponds to the JSON property `instanceCount`
1237
+ # @return [Fixnum]
1238
+ attr_accessor :instance_count
1239
+
1240
+ # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
1241
+ # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
1242
+ # Corresponds to the JSON property `name`
1243
+ # @return [String]
1244
+ attr_accessor :name
1245
+
1246
+ # Number of series in the store.
1247
+ # Corresponds to the JSON property `seriesCount`
1248
+ # @return [Fixnum]
1249
+ attr_accessor :series_count
1250
+
1251
+ # Total structured storage bytes for all instances in the store.
1252
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
1253
+ # @return [Fixnum]
1254
+ attr_accessor :structured_storage_size_bytes
1255
+
1256
+ # Number of studies in the store.
1257
+ # Corresponds to the JSON property `studyCount`
1258
+ # @return [Fixnum]
1259
+ attr_accessor :study_count
1260
+
1261
+ def initialize(**args)
1262
+ update!(**args)
1263
+ end
1264
+
1265
+ # Update properties of this object
1266
+ def update!(**args)
1267
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
1268
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
1269
+ @name = args[:name] if args.key?(:name)
1270
+ @series_count = args[:series_count] if args.key?(:series_count)
1271
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
1272
+ @study_count = args[:study_count] if args.key?(:study_count)
1273
+ end
1274
+ end
1275
+
1226
1276
  # A generic empty message that you can re-use to avoid defining duplicated empty
1227
1277
  # messages in your APIs. A typical example is to use it as the request or the
1228
1278
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1523,42 +1573,41 @@ module Google
1523
1573
  attr_accessor :end_time
1524
1574
 
1525
1575
  # Restricts messages exported to those matching a filter, only applicable to
1526
- # PubsubDestination and GcsDestination. The following syntax is available: * A
1527
- # string field value can be written as text inside quotation marks, for example `
1528
- # "query text"`. The only valid relational operation for text fields is equality
1529
- # (`=`), where text is searched within the field, rather than having the field
1530
- # be equal to the text. For example, `"Comment = great"` returns messages with `
1531
- # great` in the comment field. * A number field value can be written as an
1532
- # integer, a decimal, or an exponential. The valid relational operators for
1533
- # number fields are the equality operator (`=`), along with the less than/
1534
- # greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1535
- # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1536
- # expression to negate it. * A date field value must be written in the `yyyy-mm-
1537
- # dd` format. Fields with date and time use the RFC3339 time format. Leading
1538
- # zeros are required for one-digit months and days. The valid relational
1539
- # operators for date fields are the equality operator (`=`) , along with the
1540
- # less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1541
- # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1542
- # expression to negate it. * Multiple field query expressions can be combined in
1543
- # one query by adding `AND` or `OR` operators between the expressions. If a
1544
- # boolean operator appears within a quoted string, it is not treated as special,
1545
- # and is just another part of the character string to be matched. You can
1546
- # prepend the `NOT` operator to an expression to negate it. The following fields
1547
- # and functions are available for filtering: * `message_type`, from the MSH-9.1
1548
- # field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`,
1549
- # the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from
1550
- # the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the
1551
- # timestamp when the message was sent, using the RFC3339 time format for
1552
- # comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:
1553
- # 00:00-05:00"`. * `create_time`, the timestamp when the message was created in
1554
- # the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `
1555
- # create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center
1556
- # that the message came from, from the MSH-4 segment. For example, `
1557
- # send_facility = "ABC"`. Note: The filter will be applied to every message in
1558
- # the HL7v2 store whose `send_time` lies in the range defined by the `start_time`
1559
- # and the `end_time`. Even if the filter only matches a small set of messages,
1560
- # the export operation can still take a long time to finish when a lot of
1561
- # messages are between the specified `start_time` and `end_time` range.
1576
+ # PubsubDestination. The following syntax is available: * A string field value
1577
+ # can be written as text inside quotation marks, for example `"query text"`. The
1578
+ # only valid relational operation for text fields is equality (`=`), where text
1579
+ # is searched within the field, rather than having the field be equal to the
1580
+ # text. For example, `"Comment = great"` returns messages with `great` in the
1581
+ # comment field. * A number field value can be written as an integer, a decimal,
1582
+ # or an exponential. The valid relational operators for number fields are the
1583
+ # equality operator (`=`), along with the less than/greater than operators (`<`,
1584
+ # `<=`, `>`, `>=`). Note that there is no inequality (`!=`) operator. You can
1585
+ # prepend the `NOT` operator to an expression to negate it. * A date field value
1586
+ # must be written in the `yyyy-mm-dd` format. Fields with date and time use the
1587
+ # RFC3339 time format. Leading zeros are required for one-digit months and days.
1588
+ # The valid relational operators for date fields are the equality operator (`=`)
1589
+ # , along with the less than/greater than operators (`<`, `<=`, `>`, `>=`). Note
1590
+ # that there is no inequality (`!=`) operator. You can prepend the `NOT`
1591
+ # operator to an expression to negate it. * Multiple field query expressions can
1592
+ # be combined in one query by adding `AND` or `OR` operators between the
1593
+ # expressions. If a boolean operator appears within a quoted string, it is not
1594
+ # treated as special, and is just another part of the character string to be
1595
+ # matched. You can prepend the `NOT` operator to an expression to negate it. The
1596
+ # following fields and functions are available for filtering: * `message_type`,
1597
+ # from the MSH-9.1 field. For example, `NOT message_type = "ADT"`. * `send_date`
1598
+ # or `sendDate`, the `yyyy-mm-dd` date the message was sent in the dataset's
1599
+ # time_zone, from the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `
1600
+ # send_time`, the timestamp when the message was sent, using the RFC3339 time
1601
+ # format for comparisons, from the MSH-7 segment. For example, `send_time < "
1602
+ # 2017-01-02T00:00:00-05:00"`. * `create_time`, the timestamp when the message
1603
+ # was created in the HL7v2 store. Use the RFC3339 time format for comparisons.
1604
+ # For example, `create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`,
1605
+ # the care center that the message came from, from the MSH-4 segment. For
1606
+ # example, `send_facility = "ABC"`. Note: The filter will be applied to every
1607
+ # message in the HL7v2 store whose `send_time` lies in the range defined by the `
1608
+ # start_time` and the `end_time`. Even if the filter only matches a small set of
1609
+ # messages, the export operation can still take a long time to finish when a lot
1610
+ # of messages are between the specified `start_time` and `end_time` range.
1562
1611
  # Corresponds to the JSON property `filter`
1563
1612
  # @return [String]
1564
1613
  attr_accessor :filter
@@ -2739,6 +2788,64 @@ module Google
2739
2788
  end
2740
2789
  end
2741
2790
 
2791
+ # Count of messages and total storage size by type for a given HL7 store.
2792
+ class Hl7V2StoreMetric
2793
+ include Google::Apis::Core::Hashable
2794
+
2795
+ # The total count of HL7v2 messages in the store for the given message type.
2796
+ # Corresponds to the JSON property `count`
2797
+ # @return [Fixnum]
2798
+ attr_accessor :count
2799
+
2800
+ # The Hl7v2 message type this metric applies to, such as `ADT` or `ORU`.
2801
+ # Corresponds to the JSON property `messageType`
2802
+ # @return [String]
2803
+ attr_accessor :message_type
2804
+
2805
+ # The total amount of structured storage used by HL7v2 messages of this message
2806
+ # type in the store.
2807
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
2808
+ # @return [Fixnum]
2809
+ attr_accessor :structured_storage_size_bytes
2810
+
2811
+ def initialize(**args)
2812
+ update!(**args)
2813
+ end
2814
+
2815
+ # Update properties of this object
2816
+ def update!(**args)
2817
+ @count = args[:count] if args.key?(:count)
2818
+ @message_type = args[:message_type] if args.key?(:message_type)
2819
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
2820
+ end
2821
+ end
2822
+
2823
+ # List of metrics for a given HL7v2 store.
2824
+ class Hl7V2StoreMetrics
2825
+ include Google::Apis::Core::Hashable
2826
+
2827
+ # List of HL7v2 store metrics by message type.
2828
+ # Corresponds to the JSON property `metrics`
2829
+ # @return [Array<Google::Apis::HealthcareV1::Hl7V2StoreMetric>]
2830
+ attr_accessor :metrics
2831
+
2832
+ # The resource name of the HL7v2 store to get metrics for, in the format `
2833
+ # projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2834
+ # Corresponds to the JSON property `name`
2835
+ # @return [String]
2836
+ attr_accessor :name
2837
+
2838
+ def initialize(**args)
2839
+ update!(**args)
2840
+ end
2841
+
2842
+ # Update properties of this object
2843
+ def update!(**args)
2844
+ @metrics = args[:metrics] if args.key?(:metrics)
2845
+ @name = args[:name] if args.key?(:name)
2846
+ end
2847
+ end
2848
+
2742
2849
  # Message that represents an arbitrary HTTP body. It should only be used for
2743
2850
  # payload formats that can't be represented as JSON, such as raw binary or an
2744
2851
  # HTML page. This message can be used both in streaming and non-streaming API
@@ -4428,6 +4535,45 @@ module Google
4428
4535
  end
4429
4536
  end
4430
4537
 
4538
+ # SeriesMetrics contains metrics describing a DICOM series.
4539
+ class SeriesMetrics
4540
+ include Google::Apis::Core::Hashable
4541
+
4542
+ # Total blob storage bytes for all instances in the series.
4543
+ # Corresponds to the JSON property `blobStorageSizeBytes`
4544
+ # @return [Fixnum]
4545
+ attr_accessor :blob_storage_size_bytes
4546
+
4547
+ # Number of instances in the series.
4548
+ # Corresponds to the JSON property `instanceCount`
4549
+ # @return [Fixnum]
4550
+ attr_accessor :instance_count
4551
+
4552
+ # The series resource path. For example, `projects/`project_id`/locations/`
4553
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
4554
+ # studies/`study_uid`/series/`series_uid``.
4555
+ # Corresponds to the JSON property `series`
4556
+ # @return [String]
4557
+ attr_accessor :series
4558
+
4559
+ # Total structured storage bytes for all instances in the series.
4560
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
4561
+ # @return [Fixnum]
4562
+ attr_accessor :structured_storage_size_bytes
4563
+
4564
+ def initialize(**args)
4565
+ update!(**args)
4566
+ end
4567
+
4568
+ # Update properties of this object
4569
+ def update!(**args)
4570
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
4571
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
4572
+ @series = args[:series] if args.key?(:series)
4573
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
4574
+ end
4575
+ end
4576
+
4431
4577
  # Request message for `SetIamPolicy` method.
4432
4578
  class SetIamPolicyRequest
4433
4579
  include Google::Apis::Core::Hashable
@@ -4592,6 +4738,51 @@ module Google
4592
4738
  end
4593
4739
  end
4594
4740
 
4741
+ # StudyMetrics contains metrics describing a DICOM study.
4742
+ class StudyMetrics
4743
+ include Google::Apis::Core::Hashable
4744
+
4745
+ # Total blob storage bytes for all instances in the study.
4746
+ # Corresponds to the JSON property `blobStorageSizeBytes`
4747
+ # @return [Fixnum]
4748
+ attr_accessor :blob_storage_size_bytes
4749
+
4750
+ # Number of instances in the study.
4751
+ # Corresponds to the JSON property `instanceCount`
4752
+ # @return [Fixnum]
4753
+ attr_accessor :instance_count
4754
+
4755
+ # Number of series in the study.
4756
+ # Corresponds to the JSON property `seriesCount`
4757
+ # @return [Fixnum]
4758
+ attr_accessor :series_count
4759
+
4760
+ # Total structured storage bytes for all instances in the study.
4761
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
4762
+ # @return [Fixnum]
4763
+ attr_accessor :structured_storage_size_bytes
4764
+
4765
+ # The study resource path. For example, `projects/`project_id`/locations/`
4766
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
4767
+ # studies/`study_uid``.
4768
+ # Corresponds to the JSON property `study`
4769
+ # @return [String]
4770
+ attr_accessor :study
4771
+
4772
+ def initialize(**args)
4773
+ update!(**args)
4774
+ end
4775
+
4776
+ # Update properties of this object
4777
+ def update!(**args)
4778
+ @blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
4779
+ @instance_count = args[:instance_count] if args.key?(:instance_count)
4780
+ @series_count = args[:series_count] if args.key?(:series_count)
4781
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
4782
+ @study = args[:study] if args.key?(:study)
4783
+ end
4784
+ end
4785
+
4595
4786
  # List of tags to be filtered.
4596
4787
  class TagFilterList
4597
4788
  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.49.0"
19
+ GEM_VERSION = "0.51.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 = "20230921"
25
+ REVISION = "20231017"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class DicomStoreMetrics
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class Empty
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -454,6 +460,18 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class Hl7V2StoreMetric
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class Hl7V2StoreMetrics
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
457
475
  class HttpBody
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -772,6 +790,12 @@ module Google
772
790
  include Google::Apis::Core::JsonObjectSupport
773
791
  end
774
792
 
793
+ class SeriesMetrics
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
775
799
  class SetIamPolicyRequest
776
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
801
 
@@ -796,6 +820,12 @@ module Google
796
820
  include Google::Apis::Core::JsonObjectSupport
797
821
  end
798
822
 
823
+ class StudyMetrics
824
+ class Representation < Google::Apis::Core::JsonRepresentation; end
825
+
826
+ include Google::Apis::Core::JsonObjectSupport
827
+ end
828
+
799
829
  class TagFilterList
800
830
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
831
 
@@ -1168,6 +1198,18 @@ module Google
1168
1198
  end
1169
1199
  end
1170
1200
 
1201
+ class DicomStoreMetrics
1202
+ # @private
1203
+ class Representation < Google::Apis::Core::JsonRepresentation
1204
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
1205
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
1206
+ property :name, as: 'name'
1207
+ property :series_count, :numeric_string => true, as: 'seriesCount'
1208
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
1209
+ property :study_count, :numeric_string => true, as: 'studyCount'
1210
+ end
1211
+ end
1212
+
1171
1213
  class Empty
1172
1214
  # @private
1173
1215
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1543,6 +1585,24 @@ module Google
1543
1585
  end
1544
1586
  end
1545
1587
 
1588
+ class Hl7V2StoreMetric
1589
+ # @private
1590
+ class Representation < Google::Apis::Core::JsonRepresentation
1591
+ property :count, :numeric_string => true, as: 'count'
1592
+ property :message_type, as: 'messageType'
1593
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
1594
+ end
1595
+ end
1596
+
1597
+ class Hl7V2StoreMetrics
1598
+ # @private
1599
+ class Representation < Google::Apis::Core::JsonRepresentation
1600
+ collection :metrics, as: 'metrics', class: Google::Apis::HealthcareV1::Hl7V2StoreMetric, decorator: Google::Apis::HealthcareV1::Hl7V2StoreMetric::Representation
1601
+
1602
+ property :name, as: 'name'
1603
+ end
1604
+ end
1605
+
1546
1606
  class HttpBody
1547
1607
  # @private
1548
1608
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2022,6 +2082,16 @@ module Google
2022
2082
  end
2023
2083
  end
2024
2084
 
2085
+ class SeriesMetrics
2086
+ # @private
2087
+ class Representation < Google::Apis::Core::JsonRepresentation
2088
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
2089
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
2090
+ property :series, as: 'series'
2091
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
2092
+ end
2093
+ end
2094
+
2025
2095
  class SetIamPolicyRequest
2026
2096
  # @private
2027
2097
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2062,6 +2132,17 @@ module Google
2062
2132
  end
2063
2133
  end
2064
2134
 
2135
+ class StudyMetrics
2136
+ # @private
2137
+ class Representation < Google::Apis::Core::JsonRepresentation
2138
+ property :blob_storage_size_bytes, :numeric_string => true, as: 'blobStorageSizeBytes'
2139
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
2140
+ property :series_count, :numeric_string => true, as: 'seriesCount'
2141
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
2142
+ property :study, as: 'study'
2143
+ end
2144
+ end
2145
+
2065
2146
  class TagFilterList
2066
2147
  # @private
2067
2148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2085,6 +2085,36 @@ module Google
2085
2085
  execute_or_queue_command(command, &block)
2086
2086
  end
2087
2087
 
2088
+ # Gets metrics associated with the DICOM store.
2089
+ # @param [String] name
2090
+ # The resource name of the DICOM store to get metrics for.
2091
+ # @param [String] fields
2092
+ # Selector specifying which fields to include in a partial response.
2093
+ # @param [String] quota_user
2094
+ # Available to use for quota purposes for server-side applications. Can be any
2095
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2096
+ # @param [Google::Apis::RequestOptions] options
2097
+ # Request-specific options
2098
+ #
2099
+ # @yield [result, err] Result & error if block supplied
2100
+ # @yieldparam result [Google::Apis::HealthcareV1::DicomStoreMetrics] parsed result object
2101
+ # @yieldparam err [StandardError] error object if request failed
2102
+ #
2103
+ # @return [Google::Apis::HealthcareV1::DicomStoreMetrics]
2104
+ #
2105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2108
+ def get_project_location_dataset_dicom_store_dicom_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
2109
+ command = make_simple_command(:get, 'v1/{+name}:getDICOMStoreMetrics', options)
2110
+ command.response_representation = Google::Apis::HealthcareV1::DicomStoreMetrics::Representation
2111
+ command.response_class = Google::Apis::HealthcareV1::DicomStoreMetrics
2112
+ command.params['name'] = name unless name.nil?
2113
+ command.query['fields'] = fields unless fields.nil?
2114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2115
+ execute_or_queue_command(command, &block)
2116
+ end
2117
+
2088
2118
  # Gets the access control policy for a resource. Returns an empty policy if the
2089
2119
  # resource exists and does not have a policy set.
2090
2120
  # @param [String] resource
@@ -2519,6 +2549,70 @@ module Google
2519
2549
  execute_or_queue_command(command, &block)
2520
2550
  end
2521
2551
 
2552
+ # GetStudyMetrics returns metrics for a study.
2553
+ # @param [String] study
2554
+ # The study resource path. For example, `projects/`project_id`/locations/`
2555
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
2556
+ # studies/`study_uid``.
2557
+ # @param [String] fields
2558
+ # Selector specifying which fields to include in a partial response.
2559
+ # @param [String] quota_user
2560
+ # Available to use for quota purposes for server-side applications. Can be any
2561
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2562
+ # @param [Google::Apis::RequestOptions] options
2563
+ # Request-specific options
2564
+ #
2565
+ # @yield [result, err] Result & error if block supplied
2566
+ # @yieldparam result [Google::Apis::HealthcareV1::StudyMetrics] parsed result object
2567
+ # @yieldparam err [StandardError] error object if request failed
2568
+ #
2569
+ # @return [Google::Apis::HealthcareV1::StudyMetrics]
2570
+ #
2571
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2572
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2573
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2574
+ def get_project_location_dataset_dicom_store_dicom_web_study_study_metrics(study, fields: nil, quota_user: nil, options: nil, &block)
2575
+ command = make_simple_command(:get, 'v1/{+study}:getStudyMetrics', options)
2576
+ command.response_representation = Google::Apis::HealthcareV1::StudyMetrics::Representation
2577
+ command.response_class = Google::Apis::HealthcareV1::StudyMetrics
2578
+ command.params['study'] = study unless study.nil?
2579
+ command.query['fields'] = fields unless fields.nil?
2580
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2581
+ execute_or_queue_command(command, &block)
2582
+ end
2583
+
2584
+ # GetSeriesMetrics returns metrics for a series.
2585
+ # @param [String] series
2586
+ # The series resource path. For example, `projects/`project_id`/locations/`
2587
+ # location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
2588
+ # studies/`study_uid`/series/`series_uid``.
2589
+ # @param [String] fields
2590
+ # Selector specifying which fields to include in a partial response.
2591
+ # @param [String] quota_user
2592
+ # Available to use for quota purposes for server-side applications. Can be any
2593
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2594
+ # @param [Google::Apis::RequestOptions] options
2595
+ # Request-specific options
2596
+ #
2597
+ # @yield [result, err] Result & error if block supplied
2598
+ # @yieldparam result [Google::Apis::HealthcareV1::SeriesMetrics] parsed result object
2599
+ # @yieldparam err [StandardError] error object if request failed
2600
+ #
2601
+ # @return [Google::Apis::HealthcareV1::SeriesMetrics]
2602
+ #
2603
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2604
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2605
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2606
+ def get_project_location_dataset_dicom_store_dicom_web_study_series_series_metrics(series, fields: nil, quota_user: nil, options: nil, &block)
2607
+ command = make_simple_command(:get, 'v1/{+series}:getSeriesMetrics', options)
2608
+ command.response_representation = Google::Apis::HealthcareV1::SeriesMetrics::Representation
2609
+ command.response_class = Google::Apis::HealthcareV1::SeriesMetrics
2610
+ command.params['series'] = series unless series.nil?
2611
+ command.query['fields'] = fields unless fields.nil?
2612
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2613
+ execute_or_queue_command(command, &block)
2614
+ end
2615
+
2522
2616
  # DeleteStudy deletes all instances within the given study. Delete requests are
2523
2617
  # equivalent to the GET requests specified in the Retrieve transaction. The
2524
2618
  # method returns an Operation which will be marked successful when the deletion
@@ -4491,10 +4585,26 @@ module Google
4491
4585
  # 50,000 might not be fully searchable as the server might trim its generated
4492
4586
  # search index in those cases. Note: FHIR resources are indexed asynchronously,
4493
4587
  # so there might be a slight delay between the time a resource is created or
4494
- # changes and when the change is reflected in search results. For samples and
4495
- # detailed information, see [Searching for FHIR resources](https://cloud.google.
4496
- # com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](
4497
- # https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).
4588
+ # changed, and the time when the change reflects in search results. The only
4589
+ # exception is resource identifier data, which is indexed synchronously as a
4590
+ # special index. As a result, searching using resource identifier is not subject
4591
+ # to indexing delay. To use the special synchronous index, the search term for
4592
+ # identifier should be in the pattern `identifier=[system]|[value]` or `
4593
+ # identifier=[value]`, and any of the following search result parameters can be
4594
+ # used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If
4595
+ # your query contains any other search parameters, the standard asynchronous
4596
+ # index will be used instead. Note that searching against the special index is
4597
+ # optimized for resolving a small number of matches. The search isn't optimized
4598
+ # if your identifier search criteria matches a large number (i.e. more than 2,
4599
+ # 000) of resources. For a search query that will match a large number of
4600
+ # resources, you can avoiding using the special synchronous index by including
4601
+ # an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if
4602
+ # you want to keep the default sorting order. Note: The special synchronous
4603
+ # identifier index are currently disabled for DocumentReference and
4604
+ # DocumentManifest searches. For samples and detailed information, see [
4605
+ # Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/
4606
+ # fhir-search) and [Advanced FHIR search features](https://cloud.google.com/
4607
+ # healthcare/docs/how-tos/fhir-advanced-search).
4498
4608
  # @param [String] parent
4499
4609
  # Name of the FHIR store to retrieve resources from.
4500
4610
  # @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
@@ -4569,10 +4679,26 @@ module Google
4569
4679
  # 50,000 might not be fully searchable as the server might trim its generated
4570
4680
  # search index in those cases. Note: FHIR resources are indexed asynchronously,
4571
4681
  # so there might be a slight delay between the time a resource is created or
4572
- # changes and when the change is reflected in search results. For samples and
4573
- # detailed information, see [Searching for FHIR resources](https://cloud.google.
4574
- # com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](
4575
- # https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).
4682
+ # changed, and the time when the change reflects in search results. The only
4683
+ # exception is resource identifier data, which is indexed synchronously as a
4684
+ # special index. As a result, searching using resource identifier is not subject
4685
+ # to indexing delay. To use the special synchronous index, the search term for
4686
+ # identifier should be in the pattern `identifier=[system]|[value]` or `
4687
+ # identifier=[value]`, and any of the following search result parameters can be
4688
+ # used: * `_count` * `_include` * `_revinclude` * `_summary` * `_elements` If
4689
+ # your query contains any other search parameters, the standard asynchronous
4690
+ # index will be used instead. Note that searching against the special index is
4691
+ # optimized for resolving a small number of matches. The search isn't optimized
4692
+ # if your identifier search criteria matches a large number (i.e. more than 2,
4693
+ # 000) of resources. For a search query that will match a large number of
4694
+ # resources, you can avoiding using the special synchronous index by including
4695
+ # an additional `_sort` parameter in your query. Use `_sort=-_lastUpdated` if
4696
+ # you want to keep the default sorting order. Note: The special synchronous
4697
+ # identifier index are currently disabled for DocumentReference and
4698
+ # DocumentManifest searches. For samples and detailed information, see [
4699
+ # Searching for FHIR resources](https://cloud.google.com/healthcare/docs/how-tos/
4700
+ # fhir-search) and [Advanced FHIR search features](https://cloud.google.com/
4701
+ # healthcare/docs/how-tos/fhir-advanced-search).
4576
4702
  # @param [String] parent
4577
4703
  # Name of the FHIR store to retrieve resources from.
4578
4704
  # @param [String] resource_type
@@ -4843,6 +4969,38 @@ module Google
4843
4969
  execute_or_queue_command(command, &block)
4844
4970
  end
4845
4971
 
4972
+ # Gets metrics asssociated with the HL7v2 store.
4973
+ # @param [String] name
4974
+ # The resource name of the HL7v2 store to get metrics for, in the format `
4975
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
4976
+ # hl7V2Stores/`hl7v2_store_id``.
4977
+ # @param [String] fields
4978
+ # Selector specifying which fields to include in a partial response.
4979
+ # @param [String] quota_user
4980
+ # Available to use for quota purposes for server-side applications. Can be any
4981
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4982
+ # @param [Google::Apis::RequestOptions] options
4983
+ # Request-specific options
4984
+ #
4985
+ # @yield [result, err] Result & error if block supplied
4986
+ # @yieldparam result [Google::Apis::HealthcareV1::Hl7V2StoreMetrics] parsed result object
4987
+ # @yieldparam err [StandardError] error object if request failed
4988
+ #
4989
+ # @return [Google::Apis::HealthcareV1::Hl7V2StoreMetrics]
4990
+ #
4991
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4992
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4993
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4994
+ def get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
4995
+ command = make_simple_command(:get, 'v1/{+name}:getHL7v2StoreMetrics', options)
4996
+ command.response_representation = Google::Apis::HealthcareV1::Hl7V2StoreMetrics::Representation
4997
+ command.response_class = Google::Apis::HealthcareV1::Hl7V2StoreMetrics
4998
+ command.params['name'] = name unless name.nil?
4999
+ command.query['fields'] = fields unless fields.nil?
5000
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5001
+ execute_or_queue_command(command, &block)
5002
+ end
5003
+
4846
5004
  # Gets the access control policy for a resource. Returns an empty policy if the
4847
5005
  # resource exists and does not have a policy set.
4848
5006
  # @param [String] resource
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.49.0
4
+ version: 0.51.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-01 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.51.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: []