google-apis-healthcare_v1beta1 0.80.0 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,144 +257,6 @@ module Google
257
257
  end
258
258
  end
259
259
 
260
- # An annotation record.
261
- class Annotation
262
- include Google::Apis::Core::Hashable
263
-
264
- # AnnotationSource holds the source information of the annotation.
265
- # Corresponds to the JSON property `annotationSource`
266
- # @return [Google::Apis::HealthcareV1beta1::AnnotationSource]
267
- attr_accessor :annotation_source
268
-
269
- # Additional information for this annotation record, such as annotator and
270
- # verifier information or study campaign.
271
- # Corresponds to the JSON property `customData`
272
- # @return [Hash<String,String>]
273
- attr_accessor :custom_data
274
-
275
- # Image annotation.
276
- # Corresponds to the JSON property `imageAnnotation`
277
- # @return [Google::Apis::HealthcareV1beta1::ImageAnnotation]
278
- attr_accessor :image_annotation
279
-
280
- # Identifier. Resource name of the Annotation, of the form `projects/`project_id`
281
- # /locations/`location_id`/datasets/`dataset_id`/annotationStores/`
282
- # annotation_store_id`/annotations/`annotation_id``.
283
- # Corresponds to the JSON property `name`
284
- # @return [String]
285
- attr_accessor :name
286
-
287
- # Resource level annotation.
288
- # Corresponds to the JSON property `resourceAnnotation`
289
- # @return [Google::Apis::HealthcareV1beta1::ResourceAnnotation]
290
- attr_accessor :resource_annotation
291
-
292
- # A TextAnnotation specifies a text range that includes sensitive information.
293
- # Corresponds to the JSON property `textAnnotation`
294
- # @return [Google::Apis::HealthcareV1beta1::SensitiveTextAnnotation]
295
- attr_accessor :text_annotation
296
-
297
- def initialize(**args)
298
- update!(**args)
299
- end
300
-
301
- # Update properties of this object
302
- def update!(**args)
303
- @annotation_source = args[:annotation_source] if args.key?(:annotation_source)
304
- @custom_data = args[:custom_data] if args.key?(:custom_data)
305
- @image_annotation = args[:image_annotation] if args.key?(:image_annotation)
306
- @name = args[:name] if args.key?(:name)
307
- @resource_annotation = args[:resource_annotation] if args.key?(:resource_annotation)
308
- @text_annotation = args[:text_annotation] if args.key?(:text_annotation)
309
- end
310
- end
311
-
312
- # Specifies how to store annotations during de-identification operation.
313
- class AnnotationConfig
314
- include Google::Apis::Core::Hashable
315
-
316
- # The name of the annotation store, in the form `projects/`project_id`/locations/
317
- # `location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id``). *
318
- # The destination annotation store must be in the same project as the source
319
- # data. De-identifying data across multiple projects is not supported. * The
320
- # destination annotation store must exist when using DeidentifyDicomStore or
321
- # DeidentifyFhirStore. DeidentifyDataset automatically creates the destination
322
- # annotation store.
323
- # Corresponds to the JSON property `annotationStoreName`
324
- # @return [String]
325
- attr_accessor :annotation_store_name
326
-
327
- # If set to true, the sensitive texts are included in SensitiveTextAnnotation of
328
- # Annotation.
329
- # Corresponds to the JSON property `storeQuote`
330
- # @return [Boolean]
331
- attr_accessor :store_quote
332
- alias_method :store_quote?, :store_quote
333
-
334
- def initialize(**args)
335
- update!(**args)
336
- end
337
-
338
- # Update properties of this object
339
- def update!(**args)
340
- @annotation_store_name = args[:annotation_store_name] if args.key?(:annotation_store_name)
341
- @store_quote = args[:store_quote] if args.key?(:store_quote)
342
- end
343
- end
344
-
345
- # AnnotationSource holds the source information of the annotation.
346
- class AnnotationSource
347
- include Google::Apis::Core::Hashable
348
-
349
- # Cloud Healthcare API resource.
350
- # Corresponds to the JSON property `cloudHealthcareSource`
351
- # @return [Google::Apis::HealthcareV1beta1::CloudHealthcareSource]
352
- attr_accessor :cloud_healthcare_source
353
-
354
- def initialize(**args)
355
- update!(**args)
356
- end
357
-
358
- # Update properties of this object
359
- def update!(**args)
360
- @cloud_healthcare_source = args[:cloud_healthcare_source] if args.key?(:cloud_healthcare_source)
361
- end
362
- end
363
-
364
- # An Annotation store that can store annotation resources such as labels and
365
- # tags for text, image and audio.
366
- class AnnotationStore
367
- include Google::Apis::Core::Hashable
368
-
369
- # Optional. User-supplied key-value pairs used to organize Annotation stores.
370
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of
371
- # maximum 128 bytes, and must conform to the following PCRE regular expression: \
372
- # p`Ll`\p`Lo``0,62` Label values must be between 1 and 63 characters long, have
373
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
374
- # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
375
- # associated with a given store.
376
- # Corresponds to the JSON property `labels`
377
- # @return [Hash<String,String>]
378
- attr_accessor :labels
379
-
380
- # Identifier. Resource name of the Annotation store, of the form `projects/`
381
- # project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
382
- # annotation_store_id``.
383
- # Corresponds to the JSON property `name`
384
- # @return [String]
385
- attr_accessor :name
386
-
387
- def initialize(**args)
388
- update!(**args)
389
- end
390
-
391
- # Update properties of this object
392
- def update!(**args)
393
- @labels = args[:labels] if args.key?(:labels)
394
- @name = args[:name] if args.key?(:name)
395
- end
396
- end
397
-
398
260
  # Contains the error details of the unsupported admin Consent resources for when
399
261
  # the ApplyAdminConsents method fails to apply one or more Consent resources.
400
262
  class ApplyAdminConsentsErrorDetail
@@ -940,31 +802,6 @@ module Google
940
802
  end
941
803
  end
942
804
 
943
- # A bounding polygon for the detected image annotation.
944
- class BoundingPoly
945
- include Google::Apis::Core::Hashable
946
-
947
- # A description of this polygon.
948
- # Corresponds to the JSON property `label`
949
- # @return [String]
950
- attr_accessor :label
951
-
952
- # List of the vertices of this polygon.
953
- # Corresponds to the JSON property `vertices`
954
- # @return [Array<Google::Apis::HealthcareV1beta1::Vertex>]
955
- attr_accessor :vertices
956
-
957
- def initialize(**args)
958
- update!(**args)
959
- end
960
-
961
- # Update properties of this object
962
- def update!(**args)
963
- @label = args[:label] if args.key?(:label)
964
- @vertices = args[:vertices] if args.key?(:vertices)
965
- end
966
- end
967
-
968
805
  # The configuration for exporting to Cloud Storage using the bulk export API.
969
806
  class BulkExportGcsDestination
970
807
  include Google::Apis::Core::Hashable
@@ -1154,25 +991,6 @@ module Google
1154
991
  end
1155
992
  end
1156
993
 
1157
- # Cloud Healthcare API resource.
1158
- class CloudHealthcareSource
1159
- include Google::Apis::Core::Hashable
1160
-
1161
- # Full path of a Cloud Healthcare API resource.
1162
- # Corresponds to the JSON property `name`
1163
- # @return [String]
1164
- attr_accessor :name
1165
-
1166
- def initialize(**args)
1167
- update!(**args)
1168
- end
1169
-
1170
- # Update properties of this object
1171
- def update!(**args)
1172
- @name = args[:name] if args.key?(:name)
1173
- end
1174
- end
1175
-
1176
994
  # Request to configure the search parameters for the specified FHIR store.
1177
995
  class ConfigureSearchRequest
1178
996
  include Google::Apis::Core::Hashable
@@ -1825,11 +1643,6 @@ module Google
1825
1643
  class DeidentifyConfig
1826
1644
  include Google::Apis::Core::Hashable
1827
1645
 
1828
- # Specifies how to store annotations during de-identification operation.
1829
- # Corresponds to the JSON property `annotation`
1830
- # @return [Google::Apis::HealthcareV1beta1::AnnotationConfig]
1831
- attr_accessor :annotation
1832
-
1833
1646
  # Specifies the parameters needed for de-identification of DICOM stores.
1834
1647
  # Corresponds to the JSON property `dicom`
1835
1648
  # @return [Google::Apis::HealthcareV1beta1::DicomConfig]
@@ -1882,7 +1695,6 @@ module Google
1882
1695
 
1883
1696
  # Update properties of this object
1884
1697
  def update!(**args)
1885
- @annotation = args[:annotation] if args.key?(:annotation)
1886
1698
  @dicom = args[:dicom] if args.key?(:dicom)
1887
1699
  @dicom_tag_config = args[:dicom_tag_config] if args.key?(:dicom_tag_config)
1888
1700
  @fhir = args[:fhir] if args.key?(:fhir)
@@ -2088,25 +1900,6 @@ module Google
2088
1900
  end
2089
1901
  end
2090
1902
 
2091
- # Contains multiple sensitive information findings for each resource slice.
2092
- class Detail
2093
- include Google::Apis::Core::Hashable
2094
-
2095
- #
2096
- # Corresponds to the JSON property `findings`
2097
- # @return [Array<Google::Apis::HealthcareV1beta1::Finding>]
2098
- attr_accessor :findings
2099
-
2100
- def initialize(**args)
2101
- update!(**args)
2102
- end
2103
-
2104
- # Update properties of this object
2105
- def update!(**args)
2106
- @findings = args[:findings] if args.key?(:findings)
2107
- end
2108
- end
2109
-
2110
1903
  # Specifies the parameters needed for de-identification of DICOM stores.
2111
1904
  class DicomConfig
2112
1905
  include Google::Apis::Core::Hashable
@@ -2498,75 +2291,6 @@ module Google
2498
2291
  end
2499
2292
  end
2500
2293
 
2501
- # Request to evaluate an Annotation store against a ground truth [Annotation
2502
- # store].
2503
- class EvaluateAnnotationStoreRequest
2504
- include Google::Apis::Core::Hashable
2505
-
2506
- # The BigQuery table for export.
2507
- # Corresponds to the JSON property `bigqueryDestination`
2508
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination]
2509
- attr_accessor :bigquery_destination
2510
-
2511
- # Optional. InfoType mapping for `eval_store`. Different resources can map to
2512
- # the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and `HUMAN`
2513
- # are different. To map all of these into a single infoType (such as `
2514
- # PERSON_NAME`), specify the following mapping: ``` info_type_mapping["PERSON"] =
2515
- # "PERSON_NAME" info_type_mapping["NAME"] = "PERSON_NAME" info_type_mapping["
2516
- # HUMAN"] = "PERSON_NAME" ``` Unmentioned infoTypes, such as `DATE`, are treated
2517
- # as identity mapping. For example: ``` info_type_mapping["DATE"] = "DATE" ```
2518
- # InfoTypes are case-insensitive.
2519
- # Corresponds to the JSON property `evalInfoTypeMapping`
2520
- # @return [Hash<String,String>]
2521
- attr_accessor :eval_info_type_mapping
2522
-
2523
- # Optional. Similar to `eval_info_type_mapping`, infoType mapping for `
2524
- # golden_store`.
2525
- # Corresponds to the JSON property `goldenInfoTypeMapping`
2526
- # @return [Hash<String,String>]
2527
- attr_accessor :golden_info_type_mapping
2528
-
2529
- # Required. The Annotation store to use as ground truth, in the format of `
2530
- # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2531
- # annotationStores/`annotation_store_id``.
2532
- # Corresponds to the JSON property `goldenStore`
2533
- # @return [String]
2534
- attr_accessor :golden_store
2535
-
2536
- # Specifies how to use infoTypes for evaluation. For example, a user might only
2537
- # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
2538
- # Corresponds to the JSON property `infoTypeConfig`
2539
- # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
2540
- attr_accessor :info_type_config
2541
-
2542
- def initialize(**args)
2543
- update!(**args)
2544
- end
2545
-
2546
- # Update properties of this object
2547
- def update!(**args)
2548
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2549
- @eval_info_type_mapping = args[:eval_info_type_mapping] if args.key?(:eval_info_type_mapping)
2550
- @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
2551
- @golden_store = args[:golden_store] if args.key?(:golden_store)
2552
- @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
2553
- end
2554
- end
2555
-
2556
- # Response for successful Annotation store evaluation operations. This structure
2557
- # is included in the response upon operation completion.
2558
- class EvaluateAnnotationStoreResponse
2559
- include Google::Apis::Core::Hashable
2560
-
2561
- def initialize(**args)
2562
- update!(**args)
2563
- end
2564
-
2565
- # Update properties of this object
2566
- def update!(**args)
2567
- end
2568
- end
2569
-
2570
2294
  # Evaluate a user's Consents for all matching User data mappings. Note: User
2571
2295
  # data mappings are indexed asynchronously, causing slight delays between the
2572
2296
  # time mappings are created or updated and when they are included in
@@ -2788,46 +2512,6 @@ module Google
2788
2512
  end
2789
2513
  end
2790
2514
 
2791
- # Request to export Annotations. The export operation is not atomic. If a
2792
- # failure occurs, any annotations already exported are not removed.
2793
- class ExportAnnotationsRequest
2794
- include Google::Apis::Core::Hashable
2795
-
2796
- # The BigQuery table for export.
2797
- # Corresponds to the JSON property `bigqueryDestination`
2798
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination]
2799
- attr_accessor :bigquery_destination
2800
-
2801
- # The Cloud Storage location for export.
2802
- # Corresponds to the JSON property `gcsDestination`
2803
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
2804
- attr_accessor :gcs_destination
2805
-
2806
- def initialize(**args)
2807
- update!(**args)
2808
- end
2809
-
2810
- # Update properties of this object
2811
- def update!(**args)
2812
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2813
- @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2814
- end
2815
- end
2816
-
2817
- # Response for successful annotation export operations. This structure is
2818
- # included in response upon operation completion.
2819
- class ExportAnnotationsResponse
2820
- include Google::Apis::Core::Hashable
2821
-
2822
- def initialize(**args)
2823
- update!(**args)
2824
- end
2825
-
2826
- # Update properties of this object
2827
- def update!(**args)
2828
- end
2829
- end
2830
-
2831
2515
  # Exports data from the specified DICOM store. If a given resource, such as a
2832
2516
  # DICOM object with the same SOPInstance UID, already exists in the output, it
2833
2517
  # is overwritten with the version in the source dataset. Exported DICOM data
@@ -3338,7 +3022,7 @@ module Google
3338
3022
  # complex data types will not be parsed. New stores will have this value set to
3339
3023
  # ENABLED after a notification period. Warning: turning on this flag causes
3340
3024
  # processing existing resources to fail if they contain references to non-
3341
- # existent resources.
3025
+ # existent resources. Cannot be disabled in R5.
3342
3026
  # Corresponds to the JSON property `complexDataTypeReferenceParsing`
3343
3027
  # @return [String]
3344
3028
  attr_accessor :complex_data_type_reference_parsing
@@ -3635,65 +3319,6 @@ module Google
3635
3319
  end
3636
3320
  end
3637
3321
 
3638
- # List of infoTypes to be filtered.
3639
- class FilterList
3640
- include Google::Apis::Core::Hashable
3641
-
3642
- # These infoTypes are based on after the `eval_info_type_mapping` and `
3643
- # golden_info_type_mapping`.
3644
- # Corresponds to the JSON property `infoTypes`
3645
- # @return [Array<String>]
3646
- attr_accessor :info_types
3647
-
3648
- def initialize(**args)
3649
- update!(**args)
3650
- end
3651
-
3652
- # Update properties of this object
3653
- def update!(**args)
3654
- @info_types = args[:info_types] if args.key?(:info_types)
3655
- end
3656
- end
3657
-
3658
- #
3659
- class Finding
3660
- include Google::Apis::Core::Hashable
3661
-
3662
- # Zero-based ending index of the found text, exclusively.
3663
- # Corresponds to the JSON property `end`
3664
- # @return [Fixnum]
3665
- attr_accessor :end
3666
-
3667
- # The type of information stored in this text range. For example, HumanName,
3668
- # BirthDate, or Address.
3669
- # Corresponds to the JSON property `infoType`
3670
- # @return [String]
3671
- attr_accessor :info_type
3672
-
3673
- # The snippet of the sensitive text. This field is only populated during
3674
- # deidentification if `store_quote` is set to true in DeidentifyConfig.
3675
- # Corresponds to the JSON property `quote`
3676
- # @return [String]
3677
- attr_accessor :quote
3678
-
3679
- # Zero-based starting index of the found text, inclusively.
3680
- # Corresponds to the JSON property `start`
3681
- # @return [Fixnum]
3682
- attr_accessor :start
3683
-
3684
- def initialize(**args)
3685
- update!(**args)
3686
- end
3687
-
3688
- # Update properties of this object
3689
- def update!(**args)
3690
- @end = args[:end] if args.key?(:end)
3691
- @info_type = args[:info_type] if args.key?(:info_type)
3692
- @quote = args[:quote] if args.key?(:quote)
3693
- @start = args[:start] if args.key?(:start)
3694
- end
3695
- end
3696
-
3697
3322
  # The Cloud Storage output destination. The Cloud Healthcare Service Agent
3698
3323
  # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
3699
3324
  # location.
@@ -3759,101 +3384,6 @@ module Google
3759
3384
  end
3760
3385
  end
3761
3386
 
3762
- # The BigQuery table for export.
3763
- class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
3764
- include Google::Apis::Core::Hashable
3765
-
3766
- # Use `write_disposition` instead. If `write_disposition` is specified, this
3767
- # parameter is ignored. force=false is equivalent to write_disposition=
3768
- # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
3769
- # Corresponds to the JSON property `force`
3770
- # @return [Boolean]
3771
- attr_accessor :force
3772
- alias_method :force?, :force
3773
-
3774
- # Specifies the schema format to export.
3775
- # Corresponds to the JSON property `schemaType`
3776
- # @return [String]
3777
- attr_accessor :schema_type
3778
-
3779
- # BigQuery URI to a table, up to 2000 characters long, must be of the form bq://
3780
- # projectId.bqDatasetId.tableId.
3781
- # Corresponds to the JSON property `tableUri`
3782
- # @return [String]
3783
- attr_accessor :table_uri
3784
-
3785
- # Determines if existing data in the destination dataset is overwritten,
3786
- # appended to, or not written if the tables contain data. If a write_disposition
3787
- # is specified, the `force` parameter is ignored.
3788
- # Corresponds to the JSON property `writeDisposition`
3789
- # @return [String]
3790
- attr_accessor :write_disposition
3791
-
3792
- def initialize(**args)
3793
- update!(**args)
3794
- end
3795
-
3796
- # Update properties of this object
3797
- def update!(**args)
3798
- @force = args[:force] if args.key?(:force)
3799
- @schema_type = args[:schema_type] if args.key?(:schema_type)
3800
- @table_uri = args[:table_uri] if args.key?(:table_uri)
3801
- @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
3802
- end
3803
- end
3804
-
3805
- # The Cloud Storage location for export.
3806
- class GoogleCloudHealthcareV1beta1AnnotationGcsDestination
3807
- include Google::Apis::Core::Hashable
3808
-
3809
- # The Cloud Storage destination to export to. URI for a Cloud Storage directory
3810
- # where the server writes result files, in the format `gs://`bucket-id`/`path/to/
3811
- # destination/dir``. If there is no trailing slash, the service appends one when
3812
- # composing the object path. The user is responsible for creating the Cloud
3813
- # Storage bucket referenced in `uri_prefix`.
3814
- # Corresponds to the JSON property `uriPrefix`
3815
- # @return [String]
3816
- attr_accessor :uri_prefix
3817
-
3818
- def initialize(**args)
3819
- update!(**args)
3820
- end
3821
-
3822
- # Update properties of this object
3823
- def update!(**args)
3824
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
3825
- end
3826
- end
3827
-
3828
- # Specifies the configuration for importing data from Cloud Storage.
3829
- class GoogleCloudHealthcareV1beta1AnnotationGcsSource
3830
- include Google::Apis::Core::Hashable
3831
-
3832
- # Points to a Cloud Storage URI containing file(s) with content only. The URI
3833
- # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
3834
- # include wildcards in `object_id` and thus identify multiple files. Supported
3835
- # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
3836
- # more characters (including separators). Must be used at the end of a path and
3837
- # with no other wildcards in the path. Can also be used with a file extension (
3838
- # such as .dcm), which imports all files with the extension in the specified
3839
- # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
3840
- # .json` imports all files with .json extensions in `my-directory/` and its sub-
3841
- # directories. '?' to match 1 character All other URI formats are invalid. Files
3842
- # matching the wildcard are expected to contain content only, no metadata.
3843
- # Corresponds to the JSON property `uri`
3844
- # @return [String]
3845
- attr_accessor :uri
3846
-
3847
- def initialize(**args)
3848
- update!(**args)
3849
- end
3850
-
3851
- # Update properties of this object
3852
- def update!(**args)
3853
- @uri = args[:uri] if args.key?(:uri)
3854
- end
3855
- end
3856
-
3857
3387
  # The Cloud Storage location for export.
3858
3388
  class GoogleCloudHealthcareV1beta1ConsentGcsDestination
3859
3389
  include Google::Apis::Core::Hashable
@@ -4747,32 +4277,6 @@ module Google
4747
4277
  end
4748
4278
  end
4749
4279
 
4750
- # Image annotation.
4751
- class ImageAnnotation
4752
- include Google::Apis::Core::Hashable
4753
-
4754
- # The list of polygons outlining the sensitive regions in the image.
4755
- # Corresponds to the JSON property `boundingPolys`
4756
- # @return [Array<Google::Apis::HealthcareV1beta1::BoundingPoly>]
4757
- attr_accessor :bounding_polys
4758
-
4759
- # 0-based index of the image frame. For example, an image frame in a DICOM
4760
- # instance.
4761
- # Corresponds to the JSON property `frameIndex`
4762
- # @return [Fixnum]
4763
- attr_accessor :frame_index
4764
-
4765
- def initialize(**args)
4766
- update!(**args)
4767
- end
4768
-
4769
- # Update properties of this object
4770
- def update!(**args)
4771
- @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys)
4772
- @frame_index = args[:frame_index] if args.key?(:frame_index)
4773
- end
4774
- end
4775
-
4776
4280
  # Specifies how to handle de-identification of image pixels.
4777
4281
  class ImageConfig
4778
4282
  include Google::Apis::Core::Hashable
@@ -4809,42 +4313,6 @@ module Google
4809
4313
  end
4810
4314
  end
4811
4315
 
4812
- # Request to import Annotations. The Annotations to be imported must have client-
4813
- # supplied resource names which indicate the annotation resource. The import
4814
- # operation is not atomic. If a failure occurs, any annotations already imported
4815
- # are not removed.
4816
- class ImportAnnotationsRequest
4817
- include Google::Apis::Core::Hashable
4818
-
4819
- # Specifies the configuration for importing data from Cloud Storage.
4820
- # Corresponds to the JSON property `gcsSource`
4821
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
4822
- attr_accessor :gcs_source
4823
-
4824
- def initialize(**args)
4825
- update!(**args)
4826
- end
4827
-
4828
- # Update properties of this object
4829
- def update!(**args)
4830
- @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4831
- end
4832
- end
4833
-
4834
- # Final response of importing Annotations in successful case. This structure is
4835
- # included in the response. It is only included when the operation finishes.
4836
- class ImportAnnotationsResponse
4837
- include Google::Apis::Core::Hashable
4838
-
4839
- def initialize(**args)
4840
- update!(**args)
4841
- end
4842
-
4843
- # Update properties of this object
4844
- def update!(**args)
4845
- end
4846
- end
4847
-
4848
4316
  # Imports data into the specified DICOM store. Returns an error if any of the
4849
4317
  # files to import are not DICOM files. This API accepts duplicate DICOM
4850
4318
  # instances by ignoring the newly-pushed instance. It does not overwrite.
@@ -4980,47 +4448,6 @@ module Google
4980
4448
  end
4981
4449
  end
4982
4450
 
4983
- # Specifies how to use infoTypes for evaluation. For example, a user might only
4984
- # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
4985
- class InfoTypeConfig
4986
- include Google::Apis::Core::Hashable
4987
-
4988
- # List of infoTypes to be filtered.
4989
- # Corresponds to the JSON property `evaluateList`
4990
- # @return [Google::Apis::HealthcareV1beta1::FilterList]
4991
- attr_accessor :evaluate_list
4992
-
4993
- # List of infoTypes to be filtered.
4994
- # Corresponds to the JSON property `ignoreList`
4995
- # @return [Google::Apis::HealthcareV1beta1::FilterList]
4996
- attr_accessor :ignore_list
4997
-
4998
- # If `TRUE`, infoTypes described by `filter` are used for evaluation. Otherwise,
4999
- # infoTypes are not considered for evaluation. For example: * Annotated text: "
5000
- # Toronto is a location" * Finding 1: ``"infoType": "PERSON", "quote": "Toronto",
5001
- # "start": 0, "end": 7`` * Finding 2: ``"infoType": "CITY", "quote": "Toronto",
5002
- # "start": 0, "end": 7`` * Finding 3: ```` * Ground truth: ``"infoType": "
5003
- # LOCATION", "quote": "Toronto", "start": 0, "end": 7`` When `strict_matching`
5004
- # is `TRUE`: * Finding 1: 1 false positive * Finding 2: 1 false positive *
5005
- # Finding 3: 1 false negative When `strict_matching` is `FALSE`: * Finding 1: 1
5006
- # true positive * Finding 2: 1 true positive * Finding 3: 1 false negative
5007
- # Corresponds to the JSON property `strictMatching`
5008
- # @return [Boolean]
5009
- attr_accessor :strict_matching
5010
- alias_method :strict_matching?, :strict_matching
5011
-
5012
- def initialize(**args)
5013
- update!(**args)
5014
- end
5015
-
5016
- # Update properties of this object
5017
- def update!(**args)
5018
- @evaluate_list = args[:evaluate_list] if args.key?(:evaluate_list)
5019
- @ignore_list = args[:ignore_list] if args.key?(:ignore_list)
5020
- @strict_matching = args[:strict_matching] if args.key?(:strict_matching)
5021
- end
5022
- end
5023
-
5024
4451
  # A transformation to apply to text that is identified as a specific info_type.
5025
4452
  class InfoTypeTransformation
5026
4453
  include Google::Apis::Core::Hashable
@@ -5222,60 +4649,6 @@ module Google
5222
4649
  end
5223
4650
  end
5224
4651
 
5225
- # Lists the Annotation stores in the given dataset.
5226
- class ListAnnotationStoresResponse
5227
- include Google::Apis::Core::Hashable
5228
-
5229
- # The returned Annotation stores. Won't be more Annotation stores than the value
5230
- # of page_size in the request.
5231
- # Corresponds to the JSON property `annotationStores`
5232
- # @return [Array<Google::Apis::HealthcareV1beta1::AnnotationStore>]
5233
- attr_accessor :annotation_stores
5234
-
5235
- # Token to retrieve the next page of results or empty if there are no more
5236
- # results in the list.
5237
- # Corresponds to the JSON property `nextPageToken`
5238
- # @return [String]
5239
- attr_accessor :next_page_token
5240
-
5241
- def initialize(**args)
5242
- update!(**args)
5243
- end
5244
-
5245
- # Update properties of this object
5246
- def update!(**args)
5247
- @annotation_stores = args[:annotation_stores] if args.key?(:annotation_stores)
5248
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5249
- end
5250
- end
5251
-
5252
- # Lists the Annotations in the specified Annotation store.
5253
- class ListAnnotationsResponse
5254
- include Google::Apis::Core::Hashable
5255
-
5256
- # The returned Annotations. Won't be more values than the value of page_size in
5257
- # the request. See `AnnotationView` in the request for populated fields.
5258
- # Corresponds to the JSON property `annotations`
5259
- # @return [Array<Google::Apis::HealthcareV1beta1::Annotation>]
5260
- attr_accessor :annotations
5261
-
5262
- # Token to retrieve the next page of results or empty if there are no more
5263
- # results in the list.
5264
- # Corresponds to the JSON property `nextPageToken`
5265
- # @return [String]
5266
- attr_accessor :next_page_token
5267
-
5268
- def initialize(**args)
5269
- update!(**args)
5270
- end
5271
-
5272
- # Update properties of this object
5273
- def update!(**args)
5274
- @annotations = args[:annotations] if args.key?(:annotations)
5275
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5276
- end
5277
- end
5278
-
5279
4652
  #
5280
4653
  class ListAttributeDefinitionsResponse
5281
4654
  include Google::Apis::Core::Hashable
@@ -6411,25 +5784,6 @@ module Google
6411
5784
  end
6412
5785
  end
6413
5786
 
6414
- # Resource level annotation.
6415
- class ResourceAnnotation
6416
- include Google::Apis::Core::Hashable
6417
-
6418
- # A description of the annotation record.
6419
- # Corresponds to the JSON property `label`
6420
- # @return [String]
6421
- attr_accessor :label
6422
-
6423
- def initialize(**args)
6424
- update!(**args)
6425
- end
6426
-
6427
- # Update properties of this object
6428
- def update!(**args)
6429
- @label = args[:label] if args.key?(:label)
6430
- end
6431
- end
6432
-
6433
5787
  # A list of FHIR resources.
6434
5788
  class Resources
6435
5789
  include Google::Apis::Core::Hashable
@@ -6968,10 +6322,10 @@ module Google
6968
6322
  include Google::Apis::Core::Hashable
6969
6323
 
6970
6324
  # Optional. The FHIR resource type to search, such as Patient or Observation.
6971
- # For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/
6972
- # implement/standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/
6973
- # implement/standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/
6974
- # implement/standards/fhir/R4/resourcelist.html)).
6325
+ # For a complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/fhir/
6326
+ # DSTU2/resourcelist.html), [STU3](https://hl7.org/fhir/STU3/resourcelist.html),
6327
+ # [R4](https://hl7.org/fhir/R4/resourcelist.html), [R5](https://hl7.org/fhir/R5/
6328
+ # resourcelist.html)).
6975
6329
  # Corresponds to the JSON property `resourceType`
6976
6330
  # @return [String]
6977
6331
  attr_accessor :resource_type
@@ -7026,27 +6380,6 @@ module Google
7026
6380
  end
7027
6381
  end
7028
6382
 
7029
- # A TextAnnotation specifies a text range that includes sensitive information.
7030
- class SensitiveTextAnnotation
7031
- include Google::Apis::Core::Hashable
7032
-
7033
- # Maps from a resource slice. For example, FHIR resource field path to a set of
7034
- # sensitive text findings. For example, Appointment.Narrative text1 --> `
7035
- # findings_1, findings_2, findings_3`
7036
- # Corresponds to the JSON property `details`
7037
- # @return [Hash<String,Google::Apis::HealthcareV1beta1::Detail>]
7038
- attr_accessor :details
7039
-
7040
- def initialize(**args)
7041
- update!(**args)
7042
- end
7043
-
7044
- # Update properties of this object
7045
- def update!(**args)
7046
- @details = args[:details] if args.key?(:details)
7047
- end
7048
- end
7049
-
7050
6383
  # SeriesMetrics contains metrics describing a DICOM series.
7051
6384
  class SeriesMetrics
7052
6385
  include Google::Apis::Core::Hashable
@@ -7757,31 +7090,6 @@ module Google
7757
7090
  @value = args[:value] if args.key?(:value)
7758
7091
  end
7759
7092
  end
7760
-
7761
- # A 2D coordinate in an image. The origin is the top-left.
7762
- class Vertex
7763
- include Google::Apis::Core::Hashable
7764
-
7765
- # X coordinate.
7766
- # Corresponds to the JSON property `x`
7767
- # @return [Float]
7768
- attr_accessor :x
7769
-
7770
- # Y coordinate.
7771
- # Corresponds to the JSON property `y`
7772
- # @return [Float]
7773
- attr_accessor :y
7774
-
7775
- def initialize(**args)
7776
- update!(**args)
7777
- end
7778
-
7779
- # Update properties of this object
7780
- def update!(**args)
7781
- @x = args[:x] if args.key?(:x)
7782
- @y = args[:y] if args.key?(:y)
7783
- end
7784
- end
7785
7093
  end
7786
7094
  end
7787
7095
  end