google-apis-healthcare_v1 0.48.0 → 0.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/healthcare_v1/classes.rb +194 -2
- data/lib/google/apis/healthcare_v1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1/representations.rb +81 -0
- data/lib/google/apis/healthcare_v1/service.rb +126 -0
- data/lib/google/apis/healthcare_v1.rb +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2557af71b5219308eb1693becd925597fa631bfdd62ee3539f9b74700d85a786
|
4
|
+
data.tar.gz: '037883fa2377469b3a02ef4fe4e03f62d482ebcdaccf2051021748b504e3c2a3'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5f07b28043d86e1ba36de62a6392b5f213280e41bd9063800746b06c7210c56424232e54d676551b125d39728eeacfce123272acbfb1bdf2e77c8e9b3e8dfe4
|
7
|
+
data.tar.gz: 3c6199ec1724d46e647f7f18aaf27d8ec7037d7042af23d8ed00f4b61f40520434aa49a27b065bf72e9e2c2ae32f4683595e5021dca4209c445805d2e2a2f6cb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-10-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231003
|
6
|
+
|
7
|
+
### v0.49.0 (2023-10-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230921
|
10
|
+
|
3
11
|
### v0.48.0 (2023-09-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230830
|
@@ -921,8 +921,8 @@ module Google
|
|
921
921
|
# Ensures in-flight data remains in the region of origin during de-
|
922
922
|
# identification. Using this option results in a significant reduction of
|
923
923
|
# throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME`
|
924
|
-
# infoTypes. `LOCATION` must be excluded within
|
925
|
-
# excluded within
|
924
|
+
# infoTypes. `LOCATION` must be excluded within TextConfig, and must also be
|
925
|
+
# excluded within ImageConfig if image redaction is required.
|
926
926
|
# Corresponds to the JSON property `useRegionalDataProcessing`
|
927
927
|
# @return [Boolean]
|
928
928
|
attr_accessor :use_regional_data_processing
|
@@ -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.
|
@@ -2739,6 +2789,64 @@ module Google
|
|
2739
2789
|
end
|
2740
2790
|
end
|
2741
2791
|
|
2792
|
+
# Count of messages and total storage size by type for a given HL7 store.
|
2793
|
+
class Hl7V2StoreMetric
|
2794
|
+
include Google::Apis::Core::Hashable
|
2795
|
+
|
2796
|
+
# The total count of HL7v2 messages in the store for the given message type.
|
2797
|
+
# Corresponds to the JSON property `count`
|
2798
|
+
# @return [Fixnum]
|
2799
|
+
attr_accessor :count
|
2800
|
+
|
2801
|
+
# The Hl7v2 message type this metric applies to, such as `ADT` or `ORU`.
|
2802
|
+
# Corresponds to the JSON property `messageType`
|
2803
|
+
# @return [String]
|
2804
|
+
attr_accessor :message_type
|
2805
|
+
|
2806
|
+
# The total amount of structured storage used by HL7v2 messages of this message
|
2807
|
+
# type in the store.
|
2808
|
+
# Corresponds to the JSON property `structuredStorageSizeBytes`
|
2809
|
+
# @return [Fixnum]
|
2810
|
+
attr_accessor :structured_storage_size_bytes
|
2811
|
+
|
2812
|
+
def initialize(**args)
|
2813
|
+
update!(**args)
|
2814
|
+
end
|
2815
|
+
|
2816
|
+
# Update properties of this object
|
2817
|
+
def update!(**args)
|
2818
|
+
@count = args[:count] if args.key?(:count)
|
2819
|
+
@message_type = args[:message_type] if args.key?(:message_type)
|
2820
|
+
@structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
|
2821
|
+
end
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
# List of metrics for a given HL7v2 store.
|
2825
|
+
class Hl7V2StoreMetrics
|
2826
|
+
include Google::Apis::Core::Hashable
|
2827
|
+
|
2828
|
+
# List of HL7v2 store metrics by message type.
|
2829
|
+
# Corresponds to the JSON property `metrics`
|
2830
|
+
# @return [Array<Google::Apis::HealthcareV1::Hl7V2StoreMetric>]
|
2831
|
+
attr_accessor :metrics
|
2832
|
+
|
2833
|
+
# The resource name of the HL7v2 store to get metrics for, in the format `
|
2834
|
+
# projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
|
2835
|
+
# Corresponds to the JSON property `name`
|
2836
|
+
# @return [String]
|
2837
|
+
attr_accessor :name
|
2838
|
+
|
2839
|
+
def initialize(**args)
|
2840
|
+
update!(**args)
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
# Update properties of this object
|
2844
|
+
def update!(**args)
|
2845
|
+
@metrics = args[:metrics] if args.key?(:metrics)
|
2846
|
+
@name = args[:name] if args.key?(:name)
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
|
2742
2850
|
# Message that represents an arbitrary HTTP body. It should only be used for
|
2743
2851
|
# payload formats that can't be represented as JSON, such as raw binary or an
|
2744
2852
|
# HTML page. This message can be used both in streaming and non-streaming API
|
@@ -4428,6 +4536,45 @@ module Google
|
|
4428
4536
|
end
|
4429
4537
|
end
|
4430
4538
|
|
4539
|
+
# SeriesMetrics contains metrics describing a DICOM series.
|
4540
|
+
class SeriesMetrics
|
4541
|
+
include Google::Apis::Core::Hashable
|
4542
|
+
|
4543
|
+
# Total blob storage bytes for all instances in the series.
|
4544
|
+
# Corresponds to the JSON property `blobStorageSizeBytes`
|
4545
|
+
# @return [Fixnum]
|
4546
|
+
attr_accessor :blob_storage_size_bytes
|
4547
|
+
|
4548
|
+
# Number of instances in the series.
|
4549
|
+
# Corresponds to the JSON property `instanceCount`
|
4550
|
+
# @return [Fixnum]
|
4551
|
+
attr_accessor :instance_count
|
4552
|
+
|
4553
|
+
# The series resource path. For example, `projects/`project_id`/locations/`
|
4554
|
+
# location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
|
4555
|
+
# studies/`study_uid`/series/`series_uid``.
|
4556
|
+
# Corresponds to the JSON property `series`
|
4557
|
+
# @return [String]
|
4558
|
+
attr_accessor :series
|
4559
|
+
|
4560
|
+
# Total structured storage bytes for all instances in the series.
|
4561
|
+
# Corresponds to the JSON property `structuredStorageSizeBytes`
|
4562
|
+
# @return [Fixnum]
|
4563
|
+
attr_accessor :structured_storage_size_bytes
|
4564
|
+
|
4565
|
+
def initialize(**args)
|
4566
|
+
update!(**args)
|
4567
|
+
end
|
4568
|
+
|
4569
|
+
# Update properties of this object
|
4570
|
+
def update!(**args)
|
4571
|
+
@blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
|
4572
|
+
@instance_count = args[:instance_count] if args.key?(:instance_count)
|
4573
|
+
@series = args[:series] if args.key?(:series)
|
4574
|
+
@structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
|
4575
|
+
end
|
4576
|
+
end
|
4577
|
+
|
4431
4578
|
# Request message for `SetIamPolicy` method.
|
4432
4579
|
class SetIamPolicyRequest
|
4433
4580
|
include Google::Apis::Core::Hashable
|
@@ -4592,6 +4739,51 @@ module Google
|
|
4592
4739
|
end
|
4593
4740
|
end
|
4594
4741
|
|
4742
|
+
# StudyMetrics contains metrics describing a DICOM study.
|
4743
|
+
class StudyMetrics
|
4744
|
+
include Google::Apis::Core::Hashable
|
4745
|
+
|
4746
|
+
# Total blob storage bytes for all instances in the study.
|
4747
|
+
# Corresponds to the JSON property `blobStorageSizeBytes`
|
4748
|
+
# @return [Fixnum]
|
4749
|
+
attr_accessor :blob_storage_size_bytes
|
4750
|
+
|
4751
|
+
# Number of instances in the study.
|
4752
|
+
# Corresponds to the JSON property `instanceCount`
|
4753
|
+
# @return [Fixnum]
|
4754
|
+
attr_accessor :instance_count
|
4755
|
+
|
4756
|
+
# Number of series in the study.
|
4757
|
+
# Corresponds to the JSON property `seriesCount`
|
4758
|
+
# @return [Fixnum]
|
4759
|
+
attr_accessor :series_count
|
4760
|
+
|
4761
|
+
# Total structured storage bytes for all instances in the study.
|
4762
|
+
# Corresponds to the JSON property `structuredStorageSizeBytes`
|
4763
|
+
# @return [Fixnum]
|
4764
|
+
attr_accessor :structured_storage_size_bytes
|
4765
|
+
|
4766
|
+
# The study resource path. For example, `projects/`project_id`/locations/`
|
4767
|
+
# location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id`/dicomWeb/
|
4768
|
+
# studies/`study_uid``.
|
4769
|
+
# Corresponds to the JSON property `study`
|
4770
|
+
# @return [String]
|
4771
|
+
attr_accessor :study
|
4772
|
+
|
4773
|
+
def initialize(**args)
|
4774
|
+
update!(**args)
|
4775
|
+
end
|
4776
|
+
|
4777
|
+
# Update properties of this object
|
4778
|
+
def update!(**args)
|
4779
|
+
@blob_storage_size_bytes = args[:blob_storage_size_bytes] if args.key?(:blob_storage_size_bytes)
|
4780
|
+
@instance_count = args[:instance_count] if args.key?(:instance_count)
|
4781
|
+
@series_count = args[:series_count] if args.key?(:series_count)
|
4782
|
+
@structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
|
4783
|
+
@study = args[:study] if args.key?(:study)
|
4784
|
+
end
|
4785
|
+
end
|
4786
|
+
|
4595
4787
|
# List of tags to be filtered.
|
4596
4788
|
class TagFilterList
|
4597
4789
|
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.
|
19
|
+
GEM_VERSION = "0.50.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 = "
|
25
|
+
REVISION = "20231003"
|
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
|
@@ -4843,6 +4937,38 @@ module Google
|
|
4843
4937
|
execute_or_queue_command(command, &block)
|
4844
4938
|
end
|
4845
4939
|
|
4940
|
+
# Gets metrics asssociated with the HL7v2 store.
|
4941
|
+
# @param [String] name
|
4942
|
+
# The resource name of the HL7v2 store to get metrics for, in the format `
|
4943
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
4944
|
+
# hl7V2Stores/`hl7v2_store_id``.
|
4945
|
+
# @param [String] fields
|
4946
|
+
# Selector specifying which fields to include in a partial response.
|
4947
|
+
# @param [String] quota_user
|
4948
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4949
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4950
|
+
# @param [Google::Apis::RequestOptions] options
|
4951
|
+
# Request-specific options
|
4952
|
+
#
|
4953
|
+
# @yield [result, err] Result & error if block supplied
|
4954
|
+
# @yieldparam result [Google::Apis::HealthcareV1::Hl7V2StoreMetrics] parsed result object
|
4955
|
+
# @yieldparam err [StandardError] error object if request failed
|
4956
|
+
#
|
4957
|
+
# @return [Google::Apis::HealthcareV1::Hl7V2StoreMetrics]
|
4958
|
+
#
|
4959
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4960
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4961
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4962
|
+
def get_project_location_dataset_hl7_v2_store_hl7v2_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
|
4963
|
+
command = make_simple_command(:get, 'v1/{+name}:getHL7v2StoreMetrics', options)
|
4964
|
+
command.response_representation = Google::Apis::HealthcareV1::Hl7V2StoreMetrics::Representation
|
4965
|
+
command.response_class = Google::Apis::HealthcareV1::Hl7V2StoreMetrics
|
4966
|
+
command.params['name'] = name unless name.nil?
|
4967
|
+
command.query['fields'] = fields unless fields.nil?
|
4968
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4969
|
+
execute_or_queue_command(command, &block)
|
4970
|
+
end
|
4971
|
+
|
4846
4972
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
4847
4973
|
# resource exists and does not have a policy set.
|
4848
4974
|
# @param [String] resource
|
@@ -29,6 +29,9 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.50.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-
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.50.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: []
|