google-api-client 0.30.10 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +42 -0
  3. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  4. data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
  5. data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
  6. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
  8. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
  9. data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
  13. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
  15. data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
  16. data/generated/google/apis/bigquery_v2.rb +1 -1
  17. data/generated/google/apis/bigquery_v2/classes.rb +15 -9
  18. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  19. data/generated/google/apis/bigquery_v2/service.rb +24 -24
  20. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  21. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
  22. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  23. data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
  24. data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
  25. data/generated/google/apis/calendar_v3.rb +1 -1
  26. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
  29. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  30. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
  31. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +20 -6
  35. data/generated/google/apis/compute_alpha/representations.rb +1 -0
  36. data/generated/google/apis/compute_beta.rb +1 -1
  37. data/generated/google/apis/compute_beta/classes.rb +112 -6
  38. data/generated/google/apis/compute_beta/representations.rb +58 -0
  39. data/generated/google/apis/compute_beta/service.rb +118 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +1095 -7
  42. data/generated/google/apis/compute_v1/representations.rb +483 -0
  43. data/generated/google/apis/compute_v1/service.rb +2307 -468
  44. data/generated/google/apis/container_v1.rb +1 -1
  45. data/generated/google/apis/container_v1/classes.rb +3 -3
  46. data/generated/google/apis/container_v1beta1.rb +1 -1
  47. data/generated/google/apis/container_v1beta1/classes.rb +108 -3
  48. data/generated/google/apis/container_v1beta1/representations.rb +35 -0
  49. data/generated/google/apis/dialogflow_v2.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
  51. data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
  52. data/generated/google/apis/dialogflow_v2/service.rb +78 -0
  53. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
  55. data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
  56. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
  57. data/generated/google/apis/dns_v1.rb +1 -1
  58. data/generated/google/apis/dns_v1/classes.rb +330 -4
  59. data/generated/google/apis/dns_v1/representations.rb +149 -0
  60. data/generated/google/apis/dns_v1/service.rb +246 -0
  61. data/generated/google/apis/dns_v1beta2.rb +1 -1
  62. data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
  63. data/generated/google/apis/dns_v2beta1.rb +1 -1
  64. data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
  65. data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
  66. data/generated/google/apis/dns_v2beta1/service.rb +246 -0
  67. data/generated/google/apis/iam_v1.rb +1 -1
  68. data/generated/google/apis/iam_v1/classes.rb +9 -1
  69. data/generated/google/apis/iam_v1/service.rb +5 -3
  70. data/generated/google/apis/iap_v1.rb +1 -1
  71. data/generated/google/apis/iap_v1/classes.rb +11 -4
  72. data/generated/google/apis/iap_v1beta1.rb +1 -1
  73. data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
  74. data/generated/google/apis/jobs_v3.rb +1 -1
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/logging_v2.rb +1 -1
  77. data/generated/google/apis/logging_v2/classes.rb +30 -0
  78. data/generated/google/apis/logging_v2/representations.rb +15 -0
  79. data/generated/google/apis/logging_v2/service.rb +30 -35
  80. data/generated/google/apis/monitoring_v3.rb +1 -1
  81. data/generated/google/apis/monitoring_v3/classes.rb +60 -59
  82. data/generated/google/apis/monitoring_v3/service.rb +18 -18
  83. data/generated/google/apis/people_v1.rb +1 -1
  84. data/generated/google/apis/people_v1/classes.rb +40 -40
  85. data/generated/google/apis/serviceusage_v1.rb +1 -1
  86. data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
  87. data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
  88. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  89. data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
  90. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
  91. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  92. data/generated/google/apis/videointelligence_v1.rb +1 -1
  93. data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
  94. data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
  95. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  96. data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
  97. data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
  98. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  99. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
  100. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
  101. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  102. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
  103. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
  104. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  105. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
  106. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
  107. data/lib/google/apis/version.rb +1 -1
  108. metadata +2 -6
  109. data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
  110. data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
  111. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
  112. data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -982,10 +982,14 @@ module Google
982
982
 
983
983
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
984
984
 
985
+ collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
986
+
985
987
  collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
986
988
 
987
989
  collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
988
990
 
991
+ collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
992
+
989
993
  collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1SpeechTranscription::Representation
990
994
 
991
995
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1TextAnnotation::Representation
@@ -1210,10 +1214,14 @@ module Google
1210
1214
 
1211
1215
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1212
1216
 
1217
+ collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1218
+
1213
1219
  collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1214
1220
 
1215
1221
  collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1216
1222
 
1223
+ collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1224
+
1217
1225
  collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2SpeechTranscription::Representation
1218
1226
 
1219
1227
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2TextAnnotation::Representation
@@ -1438,10 +1446,14 @@ module Google
1438
1446
 
1439
1447
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1440
1448
 
1449
+ collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1450
+
1441
1451
  collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1442
1452
 
1443
1453
  collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1444
1454
 
1455
+ collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1456
+
1445
1457
  collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1SpeechTranscription::Representation
1446
1458
 
1447
1459
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1TextAnnotation::Representation
@@ -1666,10 +1678,14 @@ module Google
1666
1678
 
1667
1679
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
1668
1680
 
1681
+ collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
1682
+
1669
1683
  collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
1670
1684
 
1671
1685
  collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
1672
1686
 
1687
+ collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
1688
+
1673
1689
  collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1SpeechTranscription::Representation
1674
1690
 
1675
1691
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1TextAnnotation::Representation
@@ -2042,10 +2058,14 @@ module Google
2042
2058
 
2043
2059
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2044
2060
 
2061
+ collection :segment_presence_label_annotations, as: 'segmentPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2062
+
2045
2063
  collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2046
2064
 
2047
2065
  collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2048
2066
 
2067
+ collection :shot_presence_label_annotations, as: 'shotPresenceLabelAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2068
+
2049
2069
  collection :speech_transcriptions, as: 'speechTranscriptions', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1SpeechTranscription::Representation
2050
2070
 
2051
2071
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation, decorator: Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1TextAnnotation::Representation
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.30.10'.freeze
18
+ VERSION = '0.31.0'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.10
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-09-11 00:00:00.000000000 Z
14
+ date: 2019-09-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -780,10 +780,6 @@ files:
780
780
  - generated/google/apis/groupssettings_v1/classes.rb
781
781
  - generated/google/apis/groupssettings_v1/representations.rb
782
782
  - generated/google/apis/groupssettings_v1/service.rb
783
- - generated/google/apis/healthcare_v1alpha2.rb
784
- - generated/google/apis/healthcare_v1alpha2/classes.rb
785
- - generated/google/apis/healthcare_v1alpha2/representations.rb
786
- - generated/google/apis/healthcare_v1alpha2/service.rb
787
783
  - generated/google/apis/healthcare_v1beta1.rb
788
784
  - generated/google/apis/healthcare_v1beta1/classes.rb
789
785
  - generated/google/apis/healthcare_v1beta1/representations.rb
@@ -1,34 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/healthcare_v1alpha2/service.rb'
16
- require 'google/apis/healthcare_v1alpha2/classes.rb'
17
- require 'google/apis/healthcare_v1alpha2/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Cloud Healthcare API
22
- #
23
- # Manage, store, and access healthcare data in Google Cloud Platform.
24
- #
25
- # @see https://cloud.google.com/healthcare
26
- module HealthcareV1alpha2
27
- VERSION = 'V1alpha2'
28
- REVISION = '20190901'
29
-
30
- # View and manage your data across Google Cloud Platform services
31
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
- end
33
- end
34
- end
@@ -1,2972 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module HealthcareV1alpha2
24
-
25
- # An annotation record.
26
- class Annotation
27
- include Google::Apis::Core::Hashable
28
-
29
- # AnnotationSource holds the source information of the annotation.
30
- # Corresponds to the JSON property `annotationSource`
31
- # @return [Google::Apis::HealthcareV1alpha2::AnnotationSource]
32
- attr_accessor :annotation_source
33
-
34
- # Image annotation.
35
- # Corresponds to the JSON property `imageAnnotation`
36
- # @return [Google::Apis::HealthcareV1alpha2::ImageAnnotation]
37
- attr_accessor :image_annotation
38
-
39
- # Output only. Resource name of the Annotation, of the form
40
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
41
- # annotationStores/`annotation_store_id`/annotations/`annotation_id``.
42
- # Corresponds to the JSON property `name`
43
- # @return [String]
44
- attr_accessor :name
45
-
46
- # Resource level annotation.
47
- # Corresponds to the JSON property `resourceAnnotation`
48
- # @return [Google::Apis::HealthcareV1alpha2::ResourceAnnotation]
49
- attr_accessor :resource_annotation
50
-
51
- # A TextAnnotation specifies a text range that includes sensitive information.
52
- # Corresponds to the JSON property `textAnnotation`
53
- # @return [Google::Apis::HealthcareV1alpha2::SensitiveTextAnnotation]
54
- attr_accessor :text_annotation
55
-
56
- def initialize(**args)
57
- update!(**args)
58
- end
59
-
60
- # Update properties of this object
61
- def update!(**args)
62
- @annotation_source = args[:annotation_source] if args.key?(:annotation_source)
63
- @image_annotation = args[:image_annotation] if args.key?(:image_annotation)
64
- @name = args[:name] if args.key?(:name)
65
- @resource_annotation = args[:resource_annotation] if args.key?(:resource_annotation)
66
- @text_annotation = args[:text_annotation] if args.key?(:text_annotation)
67
- end
68
- end
69
-
70
- # AnnotationSource holds the source information of the annotation.
71
- class AnnotationSource
72
- include Google::Apis::Core::Hashable
73
-
74
- # Cloud Healthcare API resource.
75
- # Corresponds to the JSON property `cloudHealthcareSource`
76
- # @return [Google::Apis::HealthcareV1alpha2::CloudHealthcareSource]
77
- attr_accessor :cloud_healthcare_source
78
-
79
- def initialize(**args)
80
- update!(**args)
81
- end
82
-
83
- # Update properties of this object
84
- def update!(**args)
85
- @cloud_healthcare_source = args[:cloud_healthcare_source] if args.key?(:cloud_healthcare_source)
86
- end
87
- end
88
-
89
- # An Annotation store that can store annotation resources such as
90
- # labels and tags for text, image and audio.
91
- class AnnotationStore
92
- include Google::Apis::Core::Hashable
93
-
94
- # User-supplied key-value pairs used to organize Annotation stores.
95
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
96
- # of maximum 128 bytes, and must conform to the
97
- # following PCRE regular expression:
98
- # \p`Ll`\p`Lo``0,62`
99
- # Label values are optional, must be between 1 and 63 characters long, have
100
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
101
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
102
- # No more than 64 labels can be associated with a given store.
103
- # Corresponds to the JSON property `labels`
104
- # @return [Hash<String,String>]
105
- attr_accessor :labels
106
-
107
- # Output only. Resource name of the Annotation store, of the form
108
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
109
- # annotationStores/`annotation_store_id``.
110
- # Corresponds to the JSON property `name`
111
- # @return [String]
112
- attr_accessor :name
113
-
114
- def initialize(**args)
115
- update!(**args)
116
- end
117
-
118
- # Update properties of this object
119
- def update!(**args)
120
- @labels = args[:labels] if args.key?(:labels)
121
- @name = args[:name] if args.key?(:name)
122
- end
123
- end
124
-
125
- # Specifies the audit configuration for a service.
126
- # The configuration determines which permission types are logged, and what
127
- # identities, if any, are exempted from logging.
128
- # An AuditConfig must have one or more AuditLogConfigs.
129
- # If there are AuditConfigs for both `allServices` and a specific service,
130
- # the union of the two AuditConfigs is used for that service: the log_types
131
- # specified in each AuditConfig are enabled, and the exempted_members in each
132
- # AuditLogConfig are exempted.
133
- # Example Policy with multiple AuditConfigs:
134
- # `
135
- # "audit_configs": [
136
- # `
137
- # "service": "allServices"
138
- # "audit_log_configs": [
139
- # `
140
- # "log_type": "DATA_READ",
141
- # "exempted_members": [
142
- # "user:jose@example.com"
143
- # ]
144
- # `,
145
- # `
146
- # "log_type": "DATA_WRITE",
147
- # `,
148
- # `
149
- # "log_type": "ADMIN_READ",
150
- # `
151
- # ]
152
- # `,
153
- # `
154
- # "service": "sampleservice.googleapis.com"
155
- # "audit_log_configs": [
156
- # `
157
- # "log_type": "DATA_READ",
158
- # `,
159
- # `
160
- # "log_type": "DATA_WRITE",
161
- # "exempted_members": [
162
- # "user:aliya@example.com"
163
- # ]
164
- # `
165
- # ]
166
- # `
167
- # ]
168
- # `
169
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
170
- # logging. It also exempts jose@example.com from DATA_READ logging, and
171
- # aliya@example.com from DATA_WRITE logging.
172
- class AuditConfig
173
- include Google::Apis::Core::Hashable
174
-
175
- # The configuration for logging of each type of permission.
176
- # Corresponds to the JSON property `auditLogConfigs`
177
- # @return [Array<Google::Apis::HealthcareV1alpha2::AuditLogConfig>]
178
- attr_accessor :audit_log_configs
179
-
180
- # Specifies a service that will be enabled for audit logging.
181
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
182
- # `allServices` is a special value that covers all services.
183
- # Corresponds to the JSON property `service`
184
- # @return [String]
185
- attr_accessor :service
186
-
187
- def initialize(**args)
188
- update!(**args)
189
- end
190
-
191
- # Update properties of this object
192
- def update!(**args)
193
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
194
- @service = args[:service] if args.key?(:service)
195
- end
196
- end
197
-
198
- # Provides the configuration for logging a type of permissions.
199
- # Example:
200
- # `
201
- # "audit_log_configs": [
202
- # `
203
- # "log_type": "DATA_READ",
204
- # "exempted_members": [
205
- # "user:jose@example.com"
206
- # ]
207
- # `,
208
- # `
209
- # "log_type": "DATA_WRITE",
210
- # `
211
- # ]
212
- # `
213
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
214
- # jose@example.com from DATA_READ logging.
215
- class AuditLogConfig
216
- include Google::Apis::Core::Hashable
217
-
218
- # Specifies the identities that do not cause logging for this type of
219
- # permission.
220
- # Follows the same format of Binding.members.
221
- # Corresponds to the JSON property `exemptedMembers`
222
- # @return [Array<String>]
223
- attr_accessor :exempted_members
224
-
225
- # The log type that this config enables.
226
- # Corresponds to the JSON property `logType`
227
- # @return [String]
228
- attr_accessor :log_type
229
-
230
- def initialize(**args)
231
- update!(**args)
232
- end
233
-
234
- # Update properties of this object
235
- def update!(**args)
236
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
237
- @log_type = args[:log_type] if args.key?(:log_type)
238
- end
239
- end
240
-
241
- # Associates `members` with a `role`.
242
- class Binding
243
- include Google::Apis::Core::Hashable
244
-
245
- # Represents an expression text. Example:
246
- # title: "User account presence"
247
- # description: "Determines whether the request has a user account"
248
- # expression: "size(request.user) > 0"
249
- # Corresponds to the JSON property `condition`
250
- # @return [Google::Apis::HealthcareV1alpha2::Expr]
251
- attr_accessor :condition
252
-
253
- # Specifies the identities requesting access for a Cloud Platform resource.
254
- # `members` can have the following values:
255
- # * `allUsers`: A special identifier that represents anyone who is
256
- # on the internet; with or without a Google account.
257
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
258
- # who is authenticated with a Google account or a service account.
259
- # * `user:`emailid``: An email address that represents a specific Google
260
- # account. For example, `alice@example.com` .
261
- # * `serviceAccount:`emailid``: An email address that represents a service
262
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
263
- # * `group:`emailid``: An email address that represents a Google group.
264
- # For example, `admins@example.com`.
265
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
266
- # users of that domain. For example, `google.com` or `example.com`.
267
- # Corresponds to the JSON property `members`
268
- # @return [Array<String>]
269
- attr_accessor :members
270
-
271
- # Role that is assigned to `members`.
272
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
273
- # Corresponds to the JSON property `role`
274
- # @return [String]
275
- attr_accessor :role
276
-
277
- def initialize(**args)
278
- update!(**args)
279
- end
280
-
281
- # Update properties of this object
282
- def update!(**args)
283
- @condition = args[:condition] if args.key?(:condition)
284
- @members = args[:members] if args.key?(:members)
285
- @role = args[:role] if args.key?(:role)
286
- end
287
- end
288
-
289
- # A bounding polygon for the detected image annotation.
290
- class BoundingPoly
291
- include Google::Apis::Core::Hashable
292
-
293
- #
294
- # Corresponds to the JSON property `label`
295
- # @return [String]
296
- attr_accessor :label
297
-
298
- #
299
- # Corresponds to the JSON property `vertices`
300
- # @return [Array<Google::Apis::HealthcareV1alpha2::Vertex>]
301
- attr_accessor :vertices
302
-
303
- def initialize(**args)
304
- update!(**args)
305
- end
306
-
307
- # Update properties of this object
308
- def update!(**args)
309
- @label = args[:label] if args.key?(:label)
310
- @vertices = args[:vertices] if args.key?(:vertices)
311
- end
312
- end
313
-
314
- # Masks a string by replacing its characters with a fixed character.
315
- class CharacterMaskConfig
316
- include Google::Apis::Core::Hashable
317
-
318
- # Character to mask the sensitive values. If not supplied, defaults to "*".
319
- # Corresponds to the JSON property `maskingCharacter`
320
- # @return [String]
321
- attr_accessor :masking_character
322
-
323
- def initialize(**args)
324
- update!(**args)
325
- end
326
-
327
- # Update properties of this object
328
- def update!(**args)
329
- @masking_character = args[:masking_character] if args.key?(:masking_character)
330
- end
331
- end
332
-
333
- # Cloud Healthcare API resource.
334
- class CloudHealthcareSource
335
- include Google::Apis::Core::Hashable
336
-
337
- # Full path of a Cloud Healthcare API resource.
338
- # Corresponds to the JSON property `name`
339
- # @return [String]
340
- attr_accessor :name
341
-
342
- def initialize(**args)
343
- update!(**args)
344
- end
345
-
346
- # Update properties of this object
347
- def update!(**args)
348
- @name = args[:name] if args.key?(:name)
349
- end
350
- end
351
-
352
- # Creates a new message.
353
- class CreateMessageRequest
354
- include Google::Apis::Core::Hashable
355
-
356
- # A complete HL7v2 message.
357
- # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
358
- # on the standard.
359
- # Corresponds to the JSON property `message`
360
- # @return [Google::Apis::HealthcareV1alpha2::Message]
361
- attr_accessor :message
362
-
363
- def initialize(**args)
364
- update!(**args)
365
- end
366
-
367
- # Update properties of this object
368
- def update!(**args)
369
- @message = args[:message] if args.key?(:message)
370
- end
371
- end
372
-
373
- # Pseudonymization method that generates surrogates using cryptographic
374
- # hashing. Uses SHA-256.
375
- # Outputs a base64-encoded representation of the hashed output.
376
- # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
377
- class CryptoHashConfig
378
- include Google::Apis::Core::Hashable
379
-
380
- # An AES 128/192/256 bit key. Causes the hash to be computed based on this
381
- # key. A default key is generated for each Deidentify operation and is
382
- # used when crypto_key is not specified.
383
- # Corresponds to the JSON property `cryptoKey`
384
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
385
- # @return [String]
386
- attr_accessor :crypto_key
387
-
388
- def initialize(**args)
389
- update!(**args)
390
- end
391
-
392
- # Update properties of this object
393
- def update!(**args)
394
- @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
395
- end
396
- end
397
-
398
- # A message representing a health dataset.
399
- # A health dataset represents a collection of healthcare data pertaining to one
400
- # or more patients. This may include multiple modalities of healthcare data,
401
- # such as electronic medical records or medical imaging data.
402
- class Dataset
403
- include Google::Apis::Core::Hashable
404
-
405
- # Output only. Resource name of the dataset, of the form
406
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
407
- # Corresponds to the JSON property `name`
408
- # @return [String]
409
- attr_accessor :name
410
-
411
- # The default timezone used by this dataset. Must be a either a valid IANA
412
- # time zone name such as "America/New_York" or empty, which defaults to UTC.
413
- # This is used for parsing times in resources (e.g., HL7 messages) where no
414
- # explicit timezone is specified.
415
- # Corresponds to the JSON property `timeZone`
416
- # @return [String]
417
- attr_accessor :time_zone
418
-
419
- def initialize(**args)
420
- update!(**args)
421
- end
422
-
423
- # Update properties of this object
424
- def update!(**args)
425
- @name = args[:name] if args.key?(:name)
426
- @time_zone = args[:time_zone] if args.key?(:time_zone)
427
- end
428
- end
429
-
430
- # Shifts a date forward or backward in time by a random amount that is
431
- # consistent for a given patient and crypto key combination.
432
- class DateShiftConfig
433
- include Google::Apis::Core::Hashable
434
-
435
- # An AES 128/192/256 bit key. Causes the shift to be computed based on this
436
- # key and the patient ID. A default key is generated for each
437
- # de-identification operation and is used when crypto_key is not
438
- # specified.
439
- # Corresponds to the JSON property `cryptoKey`
440
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
441
- # @return [String]
442
- attr_accessor :crypto_key
443
-
444
- def initialize(**args)
445
- update!(**args)
446
- end
447
-
448
- # Update properties of this object
449
- def update!(**args)
450
- @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
451
- end
452
- end
453
-
454
- # Configures de-id options specific to different types of content.
455
- # Each submessage customizes the handling of an
456
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
457
- # applied in a nested manner at runtime.
458
- class DeidentifyConfig
459
- include Google::Apis::Core::Hashable
460
-
461
- # Specifies the parameters needed for the de-identification of DICOM stores.
462
- # Corresponds to the JSON property `dicom`
463
- # @return [Google::Apis::HealthcareV1alpha2::DicomConfig]
464
- attr_accessor :dicom
465
-
466
- # Specifies how to handle the de-identification of a FHIR store.
467
- # Corresponds to the JSON property `fhir`
468
- # @return [Google::Apis::HealthcareV1alpha2::FhirConfig]
469
- attr_accessor :fhir
470
-
471
- # Specifies how to handle the de-identification of image pixels.
472
- # Corresponds to the JSON property `image`
473
- # @return [Google::Apis::HealthcareV1alpha2::ImageConfig]
474
- attr_accessor :image
475
-
476
- # Configures the de-identification of text in `source_dataset`.
477
- # Corresponds to the JSON property `text`
478
- # @return [Google::Apis::HealthcareV1alpha2::TextConfig]
479
- attr_accessor :text
480
-
481
- def initialize(**args)
482
- update!(**args)
483
- end
484
-
485
- # Update properties of this object
486
- def update!(**args)
487
- @dicom = args[:dicom] if args.key?(:dicom)
488
- @fhir = args[:fhir] if args.key?(:fhir)
489
- @image = args[:image] if args.key?(:image)
490
- @text = args[:text] if args.key?(:text)
491
- end
492
- end
493
-
494
- # Redacts identifying information from the specified dataset.
495
- class DeidentifyDatasetRequest
496
- include Google::Apis::Core::Hashable
497
-
498
- # Configures de-id options specific to different types of content.
499
- # Each submessage customizes the handling of an
500
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
501
- # applied in a nested manner at runtime.
502
- # Corresponds to the JSON property `config`
503
- # @return [Google::Apis::HealthcareV1alpha2::DeidentifyConfig]
504
- attr_accessor :config
505
-
506
- # The name of the dataset resource to create and write the redacted data to
507
- # (e.g.,
508
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``).
509
- # * The destination dataset must not exist.
510
- # * The destination dataset must be in the same project as the source
511
- # dataset. De-identifying data across multiple projects is not supported.
512
- # Corresponds to the JSON property `destinationDataset`
513
- # @return [String]
514
- attr_accessor :destination_dataset
515
-
516
- def initialize(**args)
517
- update!(**args)
518
- end
519
-
520
- # Update properties of this object
521
- def update!(**args)
522
- @config = args[:config] if args.key?(:config)
523
- @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
524
- end
525
- end
526
-
527
- # Contains the status of the Deidentify operation.
528
- class DeidentifyErrorDetails
529
- include Google::Apis::Core::Hashable
530
-
531
- # Number of resources failed to process.
532
- # Corresponds to the JSON property `failureResourceCount`
533
- # @return [Fixnum]
534
- attr_accessor :failure_resource_count
535
-
536
- # Number of stores failed to process.
537
- # Corresponds to the JSON property `failureStoreCount`
538
- # @return [Fixnum]
539
- attr_accessor :failure_store_count
540
-
541
- # Number of resources successfully processed.
542
- # Corresponds to the JSON property `successResourceCount`
543
- # @return [Fixnum]
544
- attr_accessor :success_resource_count
545
-
546
- # Number of stores successfully processed.
547
- # Corresponds to the JSON property `successStoreCount`
548
- # @return [Fixnum]
549
- attr_accessor :success_store_count
550
-
551
- def initialize(**args)
552
- update!(**args)
553
- end
554
-
555
- # Update properties of this object
556
- def update!(**args)
557
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
558
- @failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
559
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
560
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
561
- end
562
- end
563
-
564
- # Contains a detailed summary of the Deidentify operation.
565
- class DeidentifySummary
566
- include Google::Apis::Core::Hashable
567
-
568
- # Number of resources successfully processed.
569
- # Corresponds to the JSON property `successResourceCount`
570
- # @return [Fixnum]
571
- attr_accessor :success_resource_count
572
-
573
- # Number of stores successfully processed.
574
- # Corresponds to the JSON property `successStoreCount`
575
- # @return [Fixnum]
576
- attr_accessor :success_store_count
577
-
578
- def initialize(**args)
579
- update!(**args)
580
- end
581
-
582
- # Update properties of this object
583
- def update!(**args)
584
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
585
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
586
- end
587
- end
588
-
589
- # Contains multiple sensitive information findings for each resource slice.
590
- class Detail
591
- include Google::Apis::Core::Hashable
592
-
593
- #
594
- # Corresponds to the JSON property `findings`
595
- # @return [Array<Google::Apis::HealthcareV1alpha2::Finding>]
596
- attr_accessor :findings
597
-
598
- def initialize(**args)
599
- update!(**args)
600
- end
601
-
602
- # Update properties of this object
603
- def update!(**args)
604
- @findings = args[:findings] if args.key?(:findings)
605
- end
606
- end
607
-
608
- # Specifies the parameters needed for the de-identification of DICOM stores.
609
- class DicomConfig
610
- include Google::Apis::Core::Hashable
611
-
612
- # Tag filtering profile that determines the tags to keep or remove.
613
- # Corresponds to the JSON property `filterProfile`
614
- # @return [String]
615
- attr_accessor :filter_profile
616
-
617
- # List of tags to filter.
618
- # Corresponds to the JSON property `keepList`
619
- # @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
620
- attr_accessor :keep_list
621
-
622
- # List of tags to filter.
623
- # Corresponds to the JSON property `removeList`
624
- # @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
625
- attr_accessor :remove_list
626
-
627
- def initialize(**args)
628
- update!(**args)
629
- end
630
-
631
- # Update properties of this object
632
- def update!(**args)
633
- @filter_profile = args[:filter_profile] if args.key?(:filter_profile)
634
- @keep_list = args[:keep_list] if args.key?(:keep_list)
635
- @remove_list = args[:remove_list] if args.key?(:remove_list)
636
- end
637
- end
638
-
639
- # Represents a DICOM store.
640
- class DicomStore
641
- include Google::Apis::Core::Hashable
642
-
643
- # User-supplied key-value pairs used to organize DICOM stores.
644
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
645
- # of maximum 128 bytes, and must conform to the
646
- # following PCRE regular expression:
647
- # \p`Ll`\p`Lo``0,62`
648
- # Label values are optional, must be between 1 and 63 characters long, have
649
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
650
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
651
- # No more than 64 labels can be associated with a given store.
652
- # Corresponds to the JSON property `labels`
653
- # @return [Hash<String,String>]
654
- attr_accessor :labels
655
-
656
- # Output only. Resource name of the DICOM store, of the form
657
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
658
- # dicomStores/`dicom_store_id``.
659
- # Corresponds to the JSON property `name`
660
- # @return [String]
661
- attr_accessor :name
662
-
663
- # Specifies where notifications should be sent upon changes to a data store.
664
- # Corresponds to the JSON property `notificationConfig`
665
- # @return [Google::Apis::HealthcareV1alpha2::NotificationConfig]
666
- attr_accessor :notification_config
667
-
668
- def initialize(**args)
669
- update!(**args)
670
- end
671
-
672
- # Update properties of this object
673
- def update!(**args)
674
- @labels = args[:labels] if args.key?(:labels)
675
- @name = args[:name] if args.key?(:name)
676
- @notification_config = args[:notification_config] if args.key?(:notification_config)
677
- end
678
- end
679
-
680
- # A generic empty message that you can re-use to avoid defining duplicated
681
- # empty messages in your APIs. A typical example is to use it as the request
682
- # or the response type of an API method. For instance:
683
- # service Foo `
684
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
685
- # `
686
- # The JSON representation for `Empty` is empty JSON object ````.
687
- class Empty
688
- include Google::Apis::Core::Hashable
689
-
690
- def initialize(**args)
691
- update!(**args)
692
- end
693
-
694
- # Update properties of this object
695
- def update!(**args)
696
- end
697
- end
698
-
699
- # Structure to describe the error encountered during batch operation on one
700
- # resource. This is used both for sample errors in operation response, and
701
- # for format of errors in error reports.
702
- class ErrorDetail
703
- include Google::Apis::Core::Hashable
704
-
705
- # The `Status` type defines a logical error model that is suitable for
706
- # different programming environments, including REST APIs and RPC APIs. It is
707
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
708
- # three pieces of data: error code, error message, and error details.
709
- # You can find out more about this error model and how to work with it in the
710
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
711
- # Corresponds to the JSON property `error`
712
- # @return [Google::Apis::HealthcareV1alpha2::Status]
713
- attr_accessor :error
714
-
715
- # The identifier of the resource.
716
- # Corresponds to the JSON property `resource`
717
- # @return [String]
718
- attr_accessor :resource
719
-
720
- def initialize(**args)
721
- update!(**args)
722
- end
723
-
724
- # Update properties of this object
725
- def update!(**args)
726
- @error = args[:error] if args.key?(:error)
727
- @resource = args[:resource] if args.key?(:resource)
728
- end
729
- end
730
-
731
- # Exports data from the specified DICOM store.
732
- # If a given resource (e.g., a DICOM object with the same SOPInstance UID)
733
- # already exists in the output, it is overwritten with the version
734
- # in the source dataset.
735
- # Exported DICOM data will persist when the DICOM store from which it was
736
- # exported is deleted.
737
- class ExportDicomDataRequest
738
- include Google::Apis::Core::Hashable
739
-
740
- # The BigQuery table where the output should be written.
741
- # Corresponds to the JSON property `bigqueryDestination`
742
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2DicomBigQueryDestination]
743
- attr_accessor :bigquery_destination
744
-
745
- # The Cloud Storage location where the output should be written, and the export
746
- # configuration.
747
- # Corresponds to the JSON property `gcsDestination`
748
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2DicomGcsDestination]
749
- attr_accessor :gcs_destination
750
-
751
- def initialize(**args)
752
- update!(**args)
753
- end
754
-
755
- # Update properties of this object
756
- def update!(**args)
757
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
758
- @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
759
- end
760
- end
761
-
762
- # Request to export resources.
763
- class ExportResourcesRequest
764
- include Google::Apis::Core::Hashable
765
-
766
- # The configuration for exporting to BigQuery.
767
- # Corresponds to the JSON property `bigqueryDestination`
768
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirBigQueryDestination]
769
- attr_accessor :bigquery_destination
770
-
771
- # The configuration for exporting to Cloud Storage.
772
- # Corresponds to the JSON property `gcsDestination`
773
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsDestination]
774
- attr_accessor :gcs_destination
775
-
776
- def initialize(**args)
777
- update!(**args)
778
- end
779
-
780
- # Update properties of this object
781
- def update!(**args)
782
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
783
- @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
784
- end
785
- end
786
-
787
- # Represents an expression text. Example:
788
- # title: "User account presence"
789
- # description: "Determines whether the request has a user account"
790
- # expression: "size(request.user) > 0"
791
- class Expr
792
- include Google::Apis::Core::Hashable
793
-
794
- # An optional description of the expression. This is a longer text which
795
- # describes the expression, e.g. when hovered over it in a UI.
796
- # Corresponds to the JSON property `description`
797
- # @return [String]
798
- attr_accessor :description
799
-
800
- # Textual representation of an expression in
801
- # Common Expression Language syntax.
802
- # The application context of the containing message determines which
803
- # well-known feature set of CEL is supported.
804
- # Corresponds to the JSON property `expression`
805
- # @return [String]
806
- attr_accessor :expression
807
-
808
- # An optional string indicating the location of the expression for error
809
- # reporting, e.g. a file name and a position in the file.
810
- # Corresponds to the JSON property `location`
811
- # @return [String]
812
- attr_accessor :location
813
-
814
- # An optional title for the expression, i.e. a short string describing
815
- # its purpose. This can be used e.g. in UIs which allow to enter the
816
- # expression.
817
- # Corresponds to the JSON property `title`
818
- # @return [String]
819
- attr_accessor :title
820
-
821
- def initialize(**args)
822
- update!(**args)
823
- end
824
-
825
- # Update properties of this object
826
- def update!(**args)
827
- @description = args[:description] if args.key?(:description)
828
- @expression = args[:expression] if args.key?(:expression)
829
- @location = args[:location] if args.key?(:location)
830
- @title = args[:title] if args.key?(:title)
831
- end
832
- end
833
-
834
- # Specifies how to handle the de-identification of a FHIR store.
835
- class FhirConfig
836
- include Google::Apis::Core::Hashable
837
-
838
- # Specifies FHIR paths to match and how to transform them. Any field that
839
- # is not matched by a FieldMetadata is passed through to the output
840
- # dataset unmodified. All extensions are removed in the output.
841
- # Corresponds to the JSON property `fieldMetadataList`
842
- # @return [Array<Google::Apis::HealthcareV1alpha2::FieldMetadata>]
843
- attr_accessor :field_metadata_list
844
-
845
- def initialize(**args)
846
- update!(**args)
847
- end
848
-
849
- # Update properties of this object
850
- def update!(**args)
851
- @field_metadata_list = args[:field_metadata_list] if args.key?(:field_metadata_list)
852
- end
853
- end
854
-
855
- # Represents a FHIR store.
856
- class FhirStore
857
- include Google::Apis::Core::Hashable
858
-
859
- # Whether to disable referential integrity in this FHIR store. This field is
860
- # immutable after FHIR store creation.
861
- # The default value is false, meaning that the API will enforce referential
862
- # integrity and fail the requests that will result in inconsistent state in
863
- # the FHIR store.
864
- # When this field is set to true, the API will skip referential integrity
865
- # check. Consequently, operations that rely on references, such as
866
- # GetPatientEverything, will not return all the results if broken references
867
- # exist.
868
- # Corresponds to the JSON property `disableReferentialIntegrity`
869
- # @return [Boolean]
870
- attr_accessor :disable_referential_integrity
871
- alias_method :disable_referential_integrity?, :disable_referential_integrity
872
-
873
- # Whether to disable resource versioning for this FHIR store. This field can
874
- # not be changed after the creation of FHIR store.
875
- # If set to false, which is the default behavior, all write operations will
876
- # cause historical versions to be recorded automatically. The historical
877
- # versions can be fetched through the history APIs, but cannot be updated.
878
- # If set to true, no historical versions will be kept. The server will send
879
- # back errors for attempts to read the historical versions.
880
- # Corresponds to the JSON property `disableResourceVersioning`
881
- # @return [Boolean]
882
- attr_accessor :disable_resource_versioning
883
- alias_method :disable_resource_versioning?, :disable_resource_versioning
884
-
885
- # Whether to allow the bulk import API to accept history bundles and directly
886
- # insert historical resource versions into the FHIR store. Importing resource
887
- # histories creates resource interactions that appear to have occurred in the
888
- # past, which clients may not want to allow. If set to false, history bundles
889
- # within an import will fail with an error.
890
- # Corresponds to the JSON property `enableHistoryImport`
891
- # @return [Boolean]
892
- attr_accessor :enable_history_import
893
- alias_method :enable_history_import?, :enable_history_import
894
-
895
- # Whether this FHIR store has the [updateCreate
896
- # capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#
897
- # CapabilityStatement.rest.resource.updateCreate).
898
- # This determines if the client can use an Update operation to create a new
899
- # resource with a client-specified ID. If false, all IDs are server-assigned
900
- # through the Create operation and attempts to Update a non-existent resource
901
- # will return errors. Please treat the audit logs with appropriate levels of
902
- # care if client-specified resource IDs contain sensitive data such as
903
- # patient identifiers, those IDs will be part of the FHIR resource path
904
- # recorded in Cloud audit logs and Cloud Pub/Sub notifications.
905
- # Corresponds to the JSON property `enableUpdateCreate`
906
- # @return [Boolean]
907
- attr_accessor :enable_update_create
908
- alias_method :enable_update_create?, :enable_update_create
909
-
910
- # User-supplied key-value pairs used to organize FHIR stores.
911
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
912
- # of maximum 128 bytes, and must conform to the
913
- # following PCRE regular expression:
914
- # \p`Ll`\p`Lo``0,62`
915
- # Label values are optional, must be between 1 and 63 characters long, have
916
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
917
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
918
- # No more than 64 labels can be associated with a given store.
919
- # Corresponds to the JSON property `labels`
920
- # @return [Hash<String,String>]
921
- attr_accessor :labels
922
-
923
- # Output only. Resource name of the FHIR store, of the form
924
- # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
925
- # Corresponds to the JSON property `name`
926
- # @return [String]
927
- attr_accessor :name
928
-
929
- # Specifies where notifications should be sent upon changes to a data store.
930
- # Corresponds to the JSON property `notificationConfig`
931
- # @return [Google::Apis::HealthcareV1alpha2::NotificationConfig]
932
- attr_accessor :notification_config
933
-
934
- # A list of streaming configs that configure the destinations of streaming
935
- # export for every resource mutation in this FHIR store. Each store is
936
- # allowed to have up to 10 streaming configs.
937
- # After a new config is added, the next resource mutation will be streamed to
938
- # the new location in addition to the existing ones.
939
- # When a location is removed from the list, the server will simply stop
940
- # streaming to that location. Before adding a new config, you must add the
941
- # required
942
- # [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
943
- # bigquery.dataEditor)
944
- # role to your project's **Cloud Healthcare Service Agent**
945
- # [service account](https://cloud.google.com/iam/docs/service-accounts).
946
- # Some lag (typically on the order of dozens of seconds) is expected before
947
- # the results show up in the streaming destination.
948
- # Corresponds to the JSON property `streamConfigs`
949
- # @return [Array<Google::Apis::HealthcareV1alpha2::StreamConfig>]
950
- attr_accessor :stream_configs
951
-
952
- # Configuration of FHIR Subscription:
953
- # https://www.hl7.org/fhir/subscription.html.
954
- # Corresponds to the JSON property `subscriptionConfig`
955
- # @return [Google::Apis::HealthcareV1alpha2::SubscriptionConfig]
956
- attr_accessor :subscription_config
957
-
958
- # This structure contains the configuration for FHIR profiles and validation.
959
- # Corresponds to the JSON property `validationConfig`
960
- # @return [Google::Apis::HealthcareV1alpha2::ValidationConfig]
961
- attr_accessor :validation_config
962
-
963
- def initialize(**args)
964
- update!(**args)
965
- end
966
-
967
- # Update properties of this object
968
- def update!(**args)
969
- @disable_referential_integrity = args[:disable_referential_integrity] if args.key?(:disable_referential_integrity)
970
- @disable_resource_versioning = args[:disable_resource_versioning] if args.key?(:disable_resource_versioning)
971
- @enable_history_import = args[:enable_history_import] if args.key?(:enable_history_import)
972
- @enable_update_create = args[:enable_update_create] if args.key?(:enable_update_create)
973
- @labels = args[:labels] if args.key?(:labels)
974
- @name = args[:name] if args.key?(:name)
975
- @notification_config = args[:notification_config] if args.key?(:notification_config)
976
- @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
977
- @subscription_config = args[:subscription_config] if args.key?(:subscription_config)
978
- @validation_config = args[:validation_config] if args.key?(:validation_config)
979
- end
980
- end
981
-
982
- # Specifies FHIR paths to match and how to handle the de-identification of
983
- # matching fields.
984
- class FieldMetadata
985
- include Google::Apis::Core::Hashable
986
-
987
- # Deidentify action for one field.
988
- # Corresponds to the JSON property `action`
989
- # @return [String]
990
- attr_accessor :action
991
-
992
- # List of paths to FHIR fields to redact. Each path is a
993
- # period-separated list where each component is either a field name or
994
- # FHIR type name. For example: Patient, HumanName.
995
- # For "choice" types (those defined in the FHIR spec with the form:
996
- # field[x]), use two separate components. For example,
997
- # "deceasedAge.unit" is matched by "Deceased.Age.unit".
998
- # Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
999
- # Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid,
1000
- # String, Uri, Uuid, Xhtml.
1001
- # Corresponds to the JSON property `paths`
1002
- # @return [Array<String>]
1003
- attr_accessor :paths
1004
-
1005
- def initialize(**args)
1006
- update!(**args)
1007
- end
1008
-
1009
- # Update properties of this object
1010
- def update!(**args)
1011
- @action = args[:action] if args.key?(:action)
1012
- @paths = args[:paths] if args.key?(:paths)
1013
- end
1014
- end
1015
-
1016
- #
1017
- class Finding
1018
- include Google::Apis::Core::Hashable
1019
-
1020
- # Zero-based ending index of the found text, exclusively.
1021
- # Corresponds to the JSON property `end`
1022
- # @return [Fixnum]
1023
- attr_accessor :end
1024
-
1025
- # The type of information stored in this text range (e.g. HumanName,
1026
- # BirthDate, Address, etc.)
1027
- # Corresponds to the JSON property `infoType`
1028
- # @return [String]
1029
- attr_accessor :info_type
1030
-
1031
- # Zero-based starting index of the found text, inclusively.
1032
- # Corresponds to the JSON property `start`
1033
- # @return [Fixnum]
1034
- attr_accessor :start
1035
-
1036
- def initialize(**args)
1037
- update!(**args)
1038
- end
1039
-
1040
- # Update properties of this object
1041
- def update!(**args)
1042
- @end = args[:end] if args.key?(:end)
1043
- @info_type = args[:info_type] if args.key?(:info_type)
1044
- @start = args[:start] if args.key?(:start)
1045
- end
1046
- end
1047
-
1048
- # Request message for `GetIamPolicy` method.
1049
- class GetIamPolicyRequest
1050
- include Google::Apis::Core::Hashable
1051
-
1052
- # Encapsulates settings provided to GetIamPolicy.
1053
- # Corresponds to the JSON property `options`
1054
- # @return [Google::Apis::HealthcareV1alpha2::GetPolicyOptions]
1055
- attr_accessor :options
1056
-
1057
- def initialize(**args)
1058
- update!(**args)
1059
- end
1060
-
1061
- # Update properties of this object
1062
- def update!(**args)
1063
- @options = args[:options] if args.key?(:options)
1064
- end
1065
- end
1066
-
1067
- # Encapsulates settings provided to GetIamPolicy.
1068
- class GetPolicyOptions
1069
- include Google::Apis::Core::Hashable
1070
-
1071
- # Optional. The policy format version to be returned.
1072
- # Acceptable values are 0, 1, and 3.
1073
- # If the value is 0, or the field is omitted, policy format version 1 will be
1074
- # returned.
1075
- # Corresponds to the JSON property `requestedPolicyVersion`
1076
- # @return [Fixnum]
1077
- attr_accessor :requested_policy_version
1078
-
1079
- def initialize(**args)
1080
- update!(**args)
1081
- end
1082
-
1083
- # Update properties of this object
1084
- def update!(**args)
1085
- @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
1086
- end
1087
- end
1088
-
1089
- # The BigQuery table where the output should be written.
1090
- class GoogleCloudHealthcareV1alpha2DicomBigQueryDestination
1091
- include Google::Apis::Core::Hashable
1092
-
1093
- # If the destination table already exists and this flag is `TRUE`, the table
1094
- # will be overwritten by the contents of the DICOM store. If the flag is not
1095
- # set and the destination table already exists, the export call returns an
1096
- # error.
1097
- # Corresponds to the JSON property `force`
1098
- # @return [Boolean]
1099
- attr_accessor :force
1100
- alias_method :force?, :force
1101
-
1102
- # BigQuery URI to a table, up to 2000 characters long, in the format
1103
- # `bq://projectId.bqDatasetId.tableId`
1104
- # Corresponds to the JSON property `tableUri`
1105
- # @return [String]
1106
- attr_accessor :table_uri
1107
-
1108
- def initialize(**args)
1109
- update!(**args)
1110
- end
1111
-
1112
- # Update properties of this object
1113
- def update!(**args)
1114
- @force = args[:force] if args.key?(:force)
1115
- @table_uri = args[:table_uri] if args.key?(:table_uri)
1116
- end
1117
- end
1118
-
1119
- # The Cloud Storage location where the output should be written, and the export
1120
- # configuration.
1121
- class GoogleCloudHealthcareV1alpha2DicomGcsDestination
1122
- include Google::Apis::Core::Hashable
1123
-
1124
- # MIME types supported by DICOM spec.
1125
- # Each file will be written in the following format:
1126
- # `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
1127
- # The frame_number component will exist only for multi-frame instances.
1128
- # Refer to the DICOM conformance statement for permissible MIME types:
1129
- # https://cloud.google.com/healthcare/docs/dicom#wado-rs
1130
- # The following extensions will be used for output files:
1131
- # application/dicom -> .dcm
1132
- # image/jpeg -> .jpg
1133
- # image/png -> .png
1134
- # If unspecified, the instances will be exported in their original
1135
- # DICOM format.
1136
- # Corresponds to the JSON property `mimeType`
1137
- # @return [String]
1138
- attr_accessor :mime_type
1139
-
1140
- # The Cloud Storage destination to export to.
1141
- # URI for a Cloud Storage directory where result files should be written (in
1142
- # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
1143
- # trailing slash, the service will append one when composing the object path.
1144
- # The user is responsible for creating the Cloud Storage bucket referenced in
1145
- # `uri_prefix`.
1146
- # Corresponds to the JSON property `uriPrefix`
1147
- # @return [String]
1148
- attr_accessor :uri_prefix
1149
-
1150
- def initialize(**args)
1151
- update!(**args)
1152
- end
1153
-
1154
- # Update properties of this object
1155
- def update!(**args)
1156
- @mime_type = args[:mime_type] if args.key?(:mime_type)
1157
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1158
- end
1159
- end
1160
-
1161
- # Specifies the configuration for importing data from Cloud Storage.
1162
- class GoogleCloudHealthcareV1alpha2DicomGcsSource
1163
- include Google::Apis::Core::Hashable
1164
-
1165
- # Points to a Cloud Storage URI containing file(s) with
1166
- # content only. The URI must be in the following format:
1167
- # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
1168
- # `object_id` and thus identify multiple files. Supported wildcards:
1169
- # '*' to match 0 or more non-separator characters
1170
- # '**' to match 0 or more characters (including separators). Must be used at
1171
- # the end of a path and with no other wildcards in the
1172
- # path. Can also be used with a file extension (such as .dcm), which
1173
- # imports all files with the extension in the specified directory and
1174
- # its sub-directories. For example,
1175
- # `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm
1176
- # extensions in `my-directory/` and its sub-directories.
1177
- # '?' to match 1 character
1178
- # All other URI formats are invalid.
1179
- # Files matching the wildcard are expected to contain content only, no
1180
- # metadata.
1181
- # Corresponds to the JSON property `uri`
1182
- # @return [String]
1183
- attr_accessor :uri
1184
-
1185
- def initialize(**args)
1186
- update!(**args)
1187
- end
1188
-
1189
- # Update properties of this object
1190
- def update!(**args)
1191
- @uri = args[:uri] if args.key?(:uri)
1192
- end
1193
- end
1194
-
1195
- # The configuration for exporting to BigQuery.
1196
- class GoogleCloudHealthcareV1alpha2FhirBigQueryDestination
1197
- include Google::Apis::Core::Hashable
1198
-
1199
- # BigQuery URI to a dataset, up to 2000 characters long, in the format
1200
- # `bq://projectId.bqDatasetId`
1201
- # Corresponds to the JSON property `datasetUri`
1202
- # @return [String]
1203
- attr_accessor :dataset_uri
1204
-
1205
- # Configuration for the FHIR BigQuery and Cloud Storage schema. Determines
1206
- # how the server generates the schema.
1207
- # Corresponds to the JSON property `schemaConfig`
1208
- # @return [Google::Apis::HealthcareV1alpha2::SchemaConfig]
1209
- attr_accessor :schema_config
1210
-
1211
- def initialize(**args)
1212
- update!(**args)
1213
- end
1214
-
1215
- # Update properties of this object
1216
- def update!(**args)
1217
- @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
1218
- @schema_config = args[:schema_config] if args.key?(:schema_config)
1219
- end
1220
- end
1221
-
1222
- # Response when errors occur while exporting resources.
1223
- # This structure is included in the
1224
- # error details to describe the
1225
- # detailed outcome. It is only included when the operation finishes with
1226
- # errors.
1227
- class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesErrorDetails
1228
- include Google::Apis::Core::Hashable
1229
-
1230
- # The number of resources that had errors.
1231
- # Corresponds to the JSON property `errorCount`
1232
- # @return [Fixnum]
1233
- attr_accessor :error_count
1234
-
1235
- # The name of the FHIR store where resources have been exported, in the
1236
- # format
1237
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1238
- # fhirStores/`fhir_store_id``.
1239
- # Corresponds to the JSON property `fhirStore`
1240
- # @return [String]
1241
- attr_accessor :fhir_store
1242
-
1243
- # The total number of resources included in the export operation. This is
1244
- # the sum of the success and error counts.
1245
- # Corresponds to the JSON property `resourceCount`
1246
- # @return [Fixnum]
1247
- attr_accessor :resource_count
1248
-
1249
- # The number of resources that were exported.
1250
- # Corresponds to the JSON property `successCount`
1251
- # @return [Fixnum]
1252
- attr_accessor :success_count
1253
-
1254
- def initialize(**args)
1255
- update!(**args)
1256
- end
1257
-
1258
- # Update properties of this object
1259
- def update!(**args)
1260
- @error_count = args[:error_count] if args.key?(:error_count)
1261
- @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1262
- @resource_count = args[:resource_count] if args.key?(:resource_count)
1263
- @success_count = args[:success_count] if args.key?(:success_count)
1264
- end
1265
- end
1266
-
1267
- # Response when all resources export successfully.
1268
- # This structure will be included in the
1269
- # response to describe the detailed
1270
- # outcome. It will only be included when the operation finishes successfully.
1271
- class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesResponse
1272
- include Google::Apis::Core::Hashable
1273
-
1274
- # The name of the FHIR store where resources have been exported, in the
1275
- # format
1276
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1277
- # fhirStores/`fhir_store_id``.
1278
- # Corresponds to the JSON property `fhirStore`
1279
- # @return [String]
1280
- attr_accessor :fhir_store
1281
-
1282
- # The total number of resources exported from the requested FHIR store.
1283
- # Corresponds to the JSON property `resourceCount`
1284
- # @return [Fixnum]
1285
- attr_accessor :resource_count
1286
-
1287
- def initialize(**args)
1288
- update!(**args)
1289
- end
1290
-
1291
- # Update properties of this object
1292
- def update!(**args)
1293
- @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1294
- @resource_count = args[:resource_count] if args.key?(:resource_count)
1295
- end
1296
- end
1297
-
1298
- # The configuration for exporting to Cloud Storage.
1299
- class GoogleCloudHealthcareV1alpha2FhirRestGcsDestination
1300
- include Google::Apis::Core::Hashable
1301
-
1302
- # URI for a Cloud Storage directory where result files should be written (in
1303
- # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
1304
- # trailing slash, the service will append one when composing the object path.
1305
- # The user is responsible for creating the Cloud Storage bucket referenced in
1306
- # `uri_prefix`.
1307
- # Corresponds to the JSON property `uriPrefix`
1308
- # @return [String]
1309
- attr_accessor :uri_prefix
1310
-
1311
- def initialize(**args)
1312
- update!(**args)
1313
- end
1314
-
1315
- # Update properties of this object
1316
- def update!(**args)
1317
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1318
- end
1319
- end
1320
-
1321
- # Specifies the Cloud Storage destination where errors will be recorded.
1322
- class GoogleCloudHealthcareV1alpha2FhirRestGcsErrorDestination
1323
- include Google::Apis::Core::Hashable
1324
-
1325
- # URI for a Cloud Storage directory to which error report files should be
1326
- # written (in the format `gs://`bucket-id`/`path/to/destination/dir``). If
1327
- # there is no trailing slash, the service will append one when composing the
1328
- # object path. The user is responsible for creating the Cloud Storage bucket
1329
- # referenced in `uri_prefix`.
1330
- # Corresponds to the JSON property `uriPrefix`
1331
- # @return [String]
1332
- attr_accessor :uri_prefix
1333
-
1334
- def initialize(**args)
1335
- update!(**args)
1336
- end
1337
-
1338
- # Update properties of this object
1339
- def update!(**args)
1340
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1341
- end
1342
- end
1343
-
1344
- # Specifies the configuration for importing data from Cloud Storage.
1345
- class GoogleCloudHealthcareV1alpha2FhirRestGcsSource
1346
- include Google::Apis::Core::Hashable
1347
-
1348
- # Points to a Cloud Storage URI containing file(s) to import.
1349
- # The URI must be in the following format: `gs://`bucket_id`/`object_id``.
1350
- # The URI can include wildcards in `object_id` and thus identify multiple
1351
- # files. Supported wildcards:
1352
- # * `*` to match 0 or more non-separator characters
1353
- # * `**` to match 0 or more characters (including separators). Must be used
1354
- # at the end of a path and with no other wildcards in the
1355
- # path. Can also be used with a file extension (such as .ndjson), which
1356
- # imports all files with the extension in the specified directory and
1357
- # its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson`
1358
- # imports all files with `.ndjson` extensions in `my-directory/` and its
1359
- # sub-directories.
1360
- # * `?` to match 1 character
1361
- # Files matching the wildcard are expected to contain content only, no
1362
- # metadata.
1363
- # Corresponds to the JSON property `uri`
1364
- # @return [String]
1365
- attr_accessor :uri
1366
-
1367
- def initialize(**args)
1368
- update!(**args)
1369
- end
1370
-
1371
- # Update properties of this object
1372
- def update!(**args)
1373
- @uri = args[:uri] if args.key?(:uri)
1374
- end
1375
- end
1376
-
1377
- # Error response of importing resources.
1378
- # This structure will be included in the
1379
- # error details to describe the
1380
- # detailed error. It will only be included when the operation finishes with
1381
- # some failure.
1382
- class GoogleCloudHealthcareV1alpha2FhirRestImportResourcesErrorDetails
1383
- include Google::Apis::Core::Hashable
1384
-
1385
- # The number of resources that had errors.
1386
- # Corresponds to the JSON property `errorCount`
1387
- # @return [Fixnum]
1388
- attr_accessor :error_count
1389
-
1390
- # The name of the FHIR store where resources have been imported, in the
1391
- # format
1392
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1393
- # fhirStores/`fhir_store_id``.
1394
- # Corresponds to the JSON property `fhirStore`
1395
- # @return [String]
1396
- attr_accessor :fhir_store
1397
-
1398
- # The total number of resources included in the source data. This is the sum
1399
- # of the success and error counts.
1400
- # Corresponds to the JSON property `inputSize`
1401
- # @return [Fixnum]
1402
- attr_accessor :input_size
1403
-
1404
- # The number of resources that have been imported.
1405
- # Corresponds to the JSON property `successCount`
1406
- # @return [Fixnum]
1407
- attr_accessor :success_count
1408
-
1409
- def initialize(**args)
1410
- update!(**args)
1411
- end
1412
-
1413
- # Update properties of this object
1414
- def update!(**args)
1415
- @error_count = args[:error_count] if args.key?(:error_count)
1416
- @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1417
- @input_size = args[:input_size] if args.key?(:input_size)
1418
- @success_count = args[:success_count] if args.key?(:success_count)
1419
- end
1420
- end
1421
-
1422
- # Final response of importing resources.
1423
- # This structure will be included in the
1424
- # response to describe the detailed
1425
- # outcome. It will only be included when the operation finishes successfully.
1426
- class GoogleCloudHealthcareV1alpha2FhirRestImportResourcesResponse
1427
- include Google::Apis::Core::Hashable
1428
-
1429
- # The name of the FHIR store where the resources have been imported, in the
1430
- # format
1431
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1432
- # fhirStores/`fhir_store_id``.
1433
- # Corresponds to the JSON property `fhirStore`
1434
- # @return [String]
1435
- attr_accessor :fhir_store
1436
-
1437
- # The total number of resources included in the source data.
1438
- # Corresponds to the JSON property `inputSize`
1439
- # @return [Fixnum]
1440
- attr_accessor :input_size
1441
-
1442
- def initialize(**args)
1443
- update!(**args)
1444
- end
1445
-
1446
- # Update properties of this object
1447
- def update!(**args)
1448
- @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1449
- @input_size = args[:input_size] if args.key?(:input_size)
1450
- end
1451
- end
1452
-
1453
- # Represents an HL7v2 store.
1454
- class Hl7V2Store
1455
- include Google::Apis::Core::Hashable
1456
-
1457
- # User-supplied key-value pairs used to organize HL7v2 stores.
1458
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
1459
- # of maximum 128 bytes, and must conform to the
1460
- # following PCRE regular expression:
1461
- # \p`Ll`\p`Lo``0,62`
1462
- # Label values are optional, must be between 1 and 63 characters long, have
1463
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
1464
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
1465
- # No more than 64 labels can be associated with a given store.
1466
- # Corresponds to the JSON property `labels`
1467
- # @return [Hash<String,String>]
1468
- attr_accessor :labels
1469
-
1470
- # Output only. Resource name of the HL7v2 store, of the form
1471
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
1472
- # Corresponds to the JSON property `name`
1473
- # @return [String]
1474
- attr_accessor :name
1475
-
1476
- # Specifies where notifications should be sent upon changes to a data store.
1477
- # Corresponds to the JSON property `notificationConfig`
1478
- # @return [Google::Apis::HealthcareV1alpha2::NotificationConfig]
1479
- attr_accessor :notification_config
1480
-
1481
- # The configuration for the parser. It determines how the server parses the
1482
- # messages.
1483
- # Corresponds to the JSON property `parserConfig`
1484
- # @return [Google::Apis::HealthcareV1alpha2::ParserConfig]
1485
- attr_accessor :parser_config
1486
-
1487
- def initialize(**args)
1488
- update!(**args)
1489
- end
1490
-
1491
- # Update properties of this object
1492
- def update!(**args)
1493
- @labels = args[:labels] if args.key?(:labels)
1494
- @name = args[:name] if args.key?(:name)
1495
- @notification_config = args[:notification_config] if args.key?(:notification_config)
1496
- @parser_config = args[:parser_config] if args.key?(:parser_config)
1497
- end
1498
- end
1499
-
1500
- # Message that represents an arbitrary HTTP body. It should only be used for
1501
- # payload formats that can't be represented as JSON, such as raw binary or
1502
- # an HTML page.
1503
- # This message can be used both in streaming and non-streaming API methods in
1504
- # the request as well as the response.
1505
- # It can be used as a top-level request field, which is convenient if one
1506
- # wants to extract parameters from either the URL or HTTP template into the
1507
- # request fields and also want access to the raw HTTP body.
1508
- # Example:
1509
- # message GetResourceRequest `
1510
- # // A unique request id.
1511
- # string request_id = 1;
1512
- # // The raw HTTP body is bound to this field.
1513
- # google.api.HttpBody http_body = 2;
1514
- # `
1515
- # service ResourceService `
1516
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
1517
- # rpc UpdateResource(google.api.HttpBody) returns
1518
- # (google.protobuf.Empty);
1519
- # `
1520
- # Example with streaming methods:
1521
- # service CaldavService `
1522
- # rpc GetCalendar(stream google.api.HttpBody)
1523
- # returns (stream google.api.HttpBody);
1524
- # rpc UpdateCalendar(stream google.api.HttpBody)
1525
- # returns (stream google.api.HttpBody);
1526
- # `
1527
- # Use of this type only changes how the request and response bodies are
1528
- # handled, all other features will continue to work unchanged.
1529
- class HttpBody
1530
- include Google::Apis::Core::Hashable
1531
-
1532
- # The HTTP Content-Type header value specifying the content type of the body.
1533
- # Corresponds to the JSON property `contentType`
1534
- # @return [String]
1535
- attr_accessor :content_type
1536
-
1537
- # The HTTP request/response body as raw binary.
1538
- # Corresponds to the JSON property `data`
1539
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1540
- # @return [String]
1541
- attr_accessor :data
1542
-
1543
- # Application specific response metadata. Must be set in the first response
1544
- # for streaming APIs.
1545
- # Corresponds to the JSON property `extensions`
1546
- # @return [Array<Hash<String,Object>>]
1547
- attr_accessor :extensions
1548
-
1549
- def initialize(**args)
1550
- update!(**args)
1551
- end
1552
-
1553
- # Update properties of this object
1554
- def update!(**args)
1555
- @content_type = args[:content_type] if args.key?(:content_type)
1556
- @data = args[:data] if args.key?(:data)
1557
- @extensions = args[:extensions] if args.key?(:extensions)
1558
- end
1559
- end
1560
-
1561
- # Image annotation.
1562
- class ImageAnnotation
1563
- include Google::Apis::Core::Hashable
1564
-
1565
- # The list of polygons outlining the sensitive regions in the image.
1566
- # Corresponds to the JSON property `boundingPolys`
1567
- # @return [Array<Google::Apis::HealthcareV1alpha2::BoundingPoly>]
1568
- attr_accessor :bounding_polys
1569
-
1570
- def initialize(**args)
1571
- update!(**args)
1572
- end
1573
-
1574
- # Update properties of this object
1575
- def update!(**args)
1576
- @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys)
1577
- end
1578
- end
1579
-
1580
- # Specifies how to handle the de-identification of image pixels.
1581
- class ImageConfig
1582
- include Google::Apis::Core::Hashable
1583
-
1584
- # Determines how to redact text from images.
1585
- # Corresponds to the JSON property `textRedactionMode`
1586
- # @return [String]
1587
- attr_accessor :text_redaction_mode
1588
-
1589
- def initialize(**args)
1590
- update!(**args)
1591
- end
1592
-
1593
- # Update properties of this object
1594
- def update!(**args)
1595
- @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
1596
- end
1597
- end
1598
-
1599
- # Returns the errors encountered during DICOM store import.
1600
- class ImportDicomDataErrorDetails
1601
- include Google::Apis::Core::Hashable
1602
-
1603
- # Deprecated. Use only for debugging purposes.
1604
- # Contains sample errors encountered in imports of individual resources
1605
- # (for example, a Cloud Storage object).
1606
- # Corresponds to the JSON property `sampleErrors`
1607
- # @return [Array<Google::Apis::HealthcareV1alpha2::ErrorDetail>]
1608
- attr_accessor :sample_errors
1609
-
1610
- def initialize(**args)
1611
- update!(**args)
1612
- end
1613
-
1614
- # Update properties of this object
1615
- def update!(**args)
1616
- @sample_errors = args[:sample_errors] if args.key?(:sample_errors)
1617
- end
1618
- end
1619
-
1620
- # Imports data into the specified DICOM store.
1621
- # Returns an error if any of the files to import are not DICOM files. This
1622
- # API will accept duplicate DICOM instances, by simply ignoring the newly
1623
- # pushed instance (it will not overwrite).
1624
- class ImportDicomDataRequest
1625
- include Google::Apis::Core::Hashable
1626
-
1627
- # Specifies the configuration for importing data from Cloud Storage.
1628
- # Corresponds to the JSON property `gcsSource`
1629
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2DicomGcsSource]
1630
- attr_accessor :gcs_source
1631
-
1632
- def initialize(**args)
1633
- update!(**args)
1634
- end
1635
-
1636
- # Update properties of this object
1637
- def update!(**args)
1638
- @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1639
- end
1640
- end
1641
-
1642
- # Request to import resources.
1643
- class ImportResourcesRequest
1644
- include Google::Apis::Core::Hashable
1645
-
1646
- # The content structure in the source location. If not specified, the server
1647
- # treats the input source files as BUNDLE.
1648
- # Corresponds to the JSON property `contentStructure`
1649
- # @return [String]
1650
- attr_accessor :content_structure
1651
-
1652
- # Specifies the Cloud Storage destination where errors will be recorded.
1653
- # Corresponds to the JSON property `gcsErrorDestination`
1654
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsErrorDestination]
1655
- attr_accessor :gcs_error_destination
1656
-
1657
- # Specifies the configuration for importing data from Cloud Storage.
1658
- # Corresponds to the JSON property `gcsSource`
1659
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirRestGcsSource]
1660
- attr_accessor :gcs_source
1661
-
1662
- def initialize(**args)
1663
- update!(**args)
1664
- end
1665
-
1666
- # Update properties of this object
1667
- def update!(**args)
1668
- @content_structure = args[:content_structure] if args.key?(:content_structure)
1669
- @gcs_error_destination = args[:gcs_error_destination] if args.key?(:gcs_error_destination)
1670
- @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1671
- end
1672
- end
1673
-
1674
- # A transformation to apply to text that is identified as a specific
1675
- # info_type.
1676
- class InfoTypeTransformation
1677
- include Google::Apis::Core::Hashable
1678
-
1679
- # Masks a string by replacing its characters with a fixed character.
1680
- # Corresponds to the JSON property `characterMaskConfig`
1681
- # @return [Google::Apis::HealthcareV1alpha2::CharacterMaskConfig]
1682
- attr_accessor :character_mask_config
1683
-
1684
- # Pseudonymization method that generates surrogates using cryptographic
1685
- # hashing. Uses SHA-256.
1686
- # Outputs a base64-encoded representation of the hashed output.
1687
- # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
1688
- # Corresponds to the JSON property `cryptoHashConfig`
1689
- # @return [Google::Apis::HealthcareV1alpha2::CryptoHashConfig]
1690
- attr_accessor :crypto_hash_config
1691
-
1692
- # Shifts a date forward or backward in time by a random amount that is
1693
- # consistent for a given patient and crypto key combination.
1694
- # Corresponds to the JSON property `dateShiftConfig`
1695
- # @return [Google::Apis::HealthcareV1alpha2::DateShiftConfig]
1696
- attr_accessor :date_shift_config
1697
-
1698
- # InfoTypes to apply this transformation to. If this is not specified, the
1699
- # transformation applies to any info_type.
1700
- # Corresponds to the JSON property `infoTypes`
1701
- # @return [Array<String>]
1702
- attr_accessor :info_types
1703
-
1704
- # Defines how to redact sensitive values. Default behavior is erase.
1705
- # For example, "My name is Jake." becomes "My name is ."
1706
- # Corresponds to the JSON property `redactConfig`
1707
- # @return [Google::Apis::HealthcareV1alpha2::RedactConfig]
1708
- attr_accessor :redact_config
1709
-
1710
- # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
1711
- # the name of the `info_type`. For example, "My name is Jake" becomes "My name
1712
- # is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
1713
- # Corresponds to the JSON property `replaceWithInfoTypeConfig`
1714
- # @return [Google::Apis::HealthcareV1alpha2::ReplaceWithInfoTypeConfig]
1715
- attr_accessor :replace_with_info_type_config
1716
-
1717
- def initialize(**args)
1718
- update!(**args)
1719
- end
1720
-
1721
- # Update properties of this object
1722
- def update!(**args)
1723
- @character_mask_config = args[:character_mask_config] if args.key?(:character_mask_config)
1724
- @crypto_hash_config = args[:crypto_hash_config] if args.key?(:crypto_hash_config)
1725
- @date_shift_config = args[:date_shift_config] if args.key?(:date_shift_config)
1726
- @info_types = args[:info_types] if args.key?(:info_types)
1727
- @redact_config = args[:redact_config] if args.key?(:redact_config)
1728
- @replace_with_info_type_config = args[:replace_with_info_type_config] if args.key?(:replace_with_info_type_config)
1729
- end
1730
- end
1731
-
1732
- # Ingests a message into the specified HL7v2 store.
1733
- class IngestMessageRequest
1734
- include Google::Apis::Core::Hashable
1735
-
1736
- # A complete HL7v2 message.
1737
- # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
1738
- # on the standard.
1739
- # Corresponds to the JSON property `message`
1740
- # @return [Google::Apis::HealthcareV1alpha2::Message]
1741
- attr_accessor :message
1742
-
1743
- def initialize(**args)
1744
- update!(**args)
1745
- end
1746
-
1747
- # Update properties of this object
1748
- def update!(**args)
1749
- @message = args[:message] if args.key?(:message)
1750
- end
1751
- end
1752
-
1753
- # Acknowledges that a message has been ingested into the specified
1754
- # HL7v2 store.
1755
- class IngestMessageResponse
1756
- include Google::Apis::Core::Hashable
1757
-
1758
- # HL7v2 ACK message.
1759
- # Corresponds to the JSON property `hl7Ack`
1760
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1761
- # @return [String]
1762
- attr_accessor :hl7_ack
1763
-
1764
- # A complete HL7v2 message.
1765
- # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
1766
- # on the standard.
1767
- # Corresponds to the JSON property `message`
1768
- # @return [Google::Apis::HealthcareV1alpha2::Message]
1769
- attr_accessor :message
1770
-
1771
- def initialize(**args)
1772
- update!(**args)
1773
- end
1774
-
1775
- # Update properties of this object
1776
- def update!(**args)
1777
- @hl7_ack = args[:hl7_ack] if args.key?(:hl7_ack)
1778
- @message = args[:message] if args.key?(:message)
1779
- end
1780
- end
1781
-
1782
- # Lists the Annotation stores
1783
- # in the given dataset.
1784
- class ListAnnotationStoresResponse
1785
- include Google::Apis::Core::Hashable
1786
-
1787
- # The returned Annotation stores. Won't be more Annotation stores than the
1788
- # value of page_size in the request.
1789
- # Corresponds to the JSON property `annotationStores`
1790
- # @return [Array<Google::Apis::HealthcareV1alpha2::AnnotationStore>]
1791
- attr_accessor :annotation_stores
1792
-
1793
- # Token to retrieve the next page of results or empty if there are no more
1794
- # results in the list.
1795
- # Corresponds to the JSON property `nextPageToken`
1796
- # @return [String]
1797
- attr_accessor :next_page_token
1798
-
1799
- def initialize(**args)
1800
- update!(**args)
1801
- end
1802
-
1803
- # Update properties of this object
1804
- def update!(**args)
1805
- @annotation_stores = args[:annotation_stores] if args.key?(:annotation_stores)
1806
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1807
- end
1808
- end
1809
-
1810
- # Lists the Annotations in the specified
1811
- # Annotation store.
1812
- class ListAnnotationsResponse
1813
- include Google::Apis::Core::Hashable
1814
-
1815
- # The returned Annotations names. Won't be more values than the value of
1816
- # page_size in the request.
1817
- # Corresponds to the JSON property `annotations`
1818
- # @return [Array<String>]
1819
- attr_accessor :annotations
1820
-
1821
- # Token to retrieve the next page of results or empty if there are no more
1822
- # results in the list.
1823
- # Corresponds to the JSON property `nextPageToken`
1824
- # @return [String]
1825
- attr_accessor :next_page_token
1826
-
1827
- def initialize(**args)
1828
- update!(**args)
1829
- end
1830
-
1831
- # Update properties of this object
1832
- def update!(**args)
1833
- @annotations = args[:annotations] if args.key?(:annotations)
1834
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1835
- end
1836
- end
1837
-
1838
- # Lists the available datasets.
1839
- class ListDatasetsResponse
1840
- include Google::Apis::Core::Hashable
1841
-
1842
- # The first page of datasets.
1843
- # Corresponds to the JSON property `datasets`
1844
- # @return [Array<Google::Apis::HealthcareV1alpha2::Dataset>]
1845
- attr_accessor :datasets
1846
-
1847
- # Token to retrieve the next page of results, or empty if there are no
1848
- # more results in the list.
1849
- # Corresponds to the JSON property `nextPageToken`
1850
- # @return [String]
1851
- attr_accessor :next_page_token
1852
-
1853
- def initialize(**args)
1854
- update!(**args)
1855
- end
1856
-
1857
- # Update properties of this object
1858
- def update!(**args)
1859
- @datasets = args[:datasets] if args.key?(:datasets)
1860
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1861
- end
1862
- end
1863
-
1864
- # Lists the DICOM stores in the given dataset.
1865
- class ListDicomStoresResponse
1866
- include Google::Apis::Core::Hashable
1867
-
1868
- # The returned DICOM stores. Won't be more DICOM stores than the value of
1869
- # page_size in the request.
1870
- # Corresponds to the JSON property `dicomStores`
1871
- # @return [Array<Google::Apis::HealthcareV1alpha2::DicomStore>]
1872
- attr_accessor :dicom_stores
1873
-
1874
- # Token to retrieve the next page of results or empty if there are no more
1875
- # results in the list.
1876
- # Corresponds to the JSON property `nextPageToken`
1877
- # @return [String]
1878
- attr_accessor :next_page_token
1879
-
1880
- def initialize(**args)
1881
- update!(**args)
1882
- end
1883
-
1884
- # Update properties of this object
1885
- def update!(**args)
1886
- @dicom_stores = args[:dicom_stores] if args.key?(:dicom_stores)
1887
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1888
- end
1889
- end
1890
-
1891
- # Lists the FHIR stores in the given dataset.
1892
- class ListFhirStoresResponse
1893
- include Google::Apis::Core::Hashable
1894
-
1895
- # The returned FHIR stores. Won't be more FHIR stores than the value of
1896
- # page_size in the request.
1897
- # Corresponds to the JSON property `fhirStores`
1898
- # @return [Array<Google::Apis::HealthcareV1alpha2::FhirStore>]
1899
- attr_accessor :fhir_stores
1900
-
1901
- # Token to retrieve the next page of results or empty if there are no more
1902
- # results in the list.
1903
- # Corresponds to the JSON property `nextPageToken`
1904
- # @return [String]
1905
- attr_accessor :next_page_token
1906
-
1907
- def initialize(**args)
1908
- update!(**args)
1909
- end
1910
-
1911
- # Update properties of this object
1912
- def update!(**args)
1913
- @fhir_stores = args[:fhir_stores] if args.key?(:fhir_stores)
1914
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1915
- end
1916
- end
1917
-
1918
- # Lists the HL7v2 stores in the given dataset.
1919
- class ListHl7V2StoresResponse
1920
- include Google::Apis::Core::Hashable
1921
-
1922
- # The returned HL7v2 stores. Won't be more HL7v2 stores than the value of
1923
- # page_size in the request.
1924
- # Corresponds to the JSON property `hl7V2Stores`
1925
- # @return [Array<Google::Apis::HealthcareV1alpha2::Hl7V2Store>]
1926
- attr_accessor :hl7_v2_stores
1927
-
1928
- # Token to retrieve the next page of results or empty if there are no more
1929
- # results in the list.
1930
- # Corresponds to the JSON property `nextPageToken`
1931
- # @return [String]
1932
- attr_accessor :next_page_token
1933
-
1934
- def initialize(**args)
1935
- update!(**args)
1936
- end
1937
-
1938
- # Update properties of this object
1939
- def update!(**args)
1940
- @hl7_v2_stores = args[:hl7_v2_stores] if args.key?(:hl7_v2_stores)
1941
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1942
- end
1943
- end
1944
-
1945
- # The response message for Locations.ListLocations.
1946
- class ListLocationsResponse
1947
- include Google::Apis::Core::Hashable
1948
-
1949
- # A list of locations that matches the specified filter in the request.
1950
- # Corresponds to the JSON property `locations`
1951
- # @return [Array<Google::Apis::HealthcareV1alpha2::Location>]
1952
- attr_accessor :locations
1953
-
1954
- # The standard List next-page token.
1955
- # Corresponds to the JSON property `nextPageToken`
1956
- # @return [String]
1957
- attr_accessor :next_page_token
1958
-
1959
- def initialize(**args)
1960
- update!(**args)
1961
- end
1962
-
1963
- # Update properties of this object
1964
- def update!(**args)
1965
- @locations = args[:locations] if args.key?(:locations)
1966
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1967
- end
1968
- end
1969
-
1970
- # Lists the messages in the specified HL7v2 store.
1971
- class ListMessagesResponse
1972
- include Google::Apis::Core::Hashable
1973
-
1974
- # The returned message names. Won't be more values than the value of
1975
- # page_size in the request.
1976
- # Corresponds to the JSON property `messages`
1977
- # @return [Array<String>]
1978
- attr_accessor :messages
1979
-
1980
- # Token to retrieve the next page of results or empty if there are no more
1981
- # results in the list.
1982
- # Corresponds to the JSON property `nextPageToken`
1983
- # @return [String]
1984
- attr_accessor :next_page_token
1985
-
1986
- def initialize(**args)
1987
- update!(**args)
1988
- end
1989
-
1990
- # Update properties of this object
1991
- def update!(**args)
1992
- @messages = args[:messages] if args.key?(:messages)
1993
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1994
- end
1995
- end
1996
-
1997
- # The response message for Operations.ListOperations.
1998
- class ListOperationsResponse
1999
- include Google::Apis::Core::Hashable
2000
-
2001
- # The standard List next-page token.
2002
- # Corresponds to the JSON property `nextPageToken`
2003
- # @return [String]
2004
- attr_accessor :next_page_token
2005
-
2006
- # A list of operations that matches the specified filter in the request.
2007
- # Corresponds to the JSON property `operations`
2008
- # @return [Array<Google::Apis::HealthcareV1alpha2::Operation>]
2009
- attr_accessor :operations
2010
-
2011
- def initialize(**args)
2012
- update!(**args)
2013
- end
2014
-
2015
- # Update properties of this object
2016
- def update!(**args)
2017
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2018
- @operations = args[:operations] if args.key?(:operations)
2019
- end
2020
- end
2021
-
2022
- # A resource that represents Google Cloud Platform location.
2023
- class Location
2024
- include Google::Apis::Core::Hashable
2025
-
2026
- # The friendly name for this location, typically a nearby city name.
2027
- # For example, "Tokyo".
2028
- # Corresponds to the JSON property `displayName`
2029
- # @return [String]
2030
- attr_accessor :display_name
2031
-
2032
- # Cross-service attributes for the location. For example
2033
- # `"cloud.googleapis.com/region": "us-east1"`
2034
- # Corresponds to the JSON property `labels`
2035
- # @return [Hash<String,String>]
2036
- attr_accessor :labels
2037
-
2038
- # The canonical id for this location. For example: `"us-east1"`.
2039
- # Corresponds to the JSON property `locationId`
2040
- # @return [String]
2041
- attr_accessor :location_id
2042
-
2043
- # Service-specific metadata. For example the available capacity at the given
2044
- # location.
2045
- # Corresponds to the JSON property `metadata`
2046
- # @return [Hash<String,Object>]
2047
- attr_accessor :metadata
2048
-
2049
- # Resource name for the location, which may vary between implementations.
2050
- # For example: `"projects/example-project/locations/us-east1"`
2051
- # Corresponds to the JSON property `name`
2052
- # @return [String]
2053
- attr_accessor :name
2054
-
2055
- def initialize(**args)
2056
- update!(**args)
2057
- end
2058
-
2059
- # Update properties of this object
2060
- def update!(**args)
2061
- @display_name = args[:display_name] if args.key?(:display_name)
2062
- @labels = args[:labels] if args.key?(:labels)
2063
- @location_id = args[:location_id] if args.key?(:location_id)
2064
- @metadata = args[:metadata] if args.key?(:metadata)
2065
- @name = args[:name] if args.key?(:name)
2066
- end
2067
- end
2068
-
2069
- # A complete HL7v2 message.
2070
- # See http://www.hl7.org/implement/standards/index.cfm?ref=common for details
2071
- # on the standard.
2072
- class Message
2073
- include Google::Apis::Core::Hashable
2074
-
2075
- # Output only. The datetime when the message was created. Set by the server.
2076
- # Corresponds to the JSON property `createTime`
2077
- # @return [String]
2078
- attr_accessor :create_time
2079
-
2080
- # Raw message bytes.
2081
- # Corresponds to the JSON property `data`
2082
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2083
- # @return [String]
2084
- attr_accessor :data
2085
-
2086
- # User-supplied key-value pairs used to organize HL7v2 stores.
2087
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
2088
- # of maximum 128 bytes, and must conform to the
2089
- # following PCRE regular expression:
2090
- # \p`Ll`\p`Lo``0,62`
2091
- # Label values are optional, must be between 1 and 63 characters long, have
2092
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
2093
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
2094
- # No more than 64 labels can be associated with a given store.
2095
- # Corresponds to the JSON property `labels`
2096
- # @return [Hash<String,String>]
2097
- attr_accessor :labels
2098
-
2099
- # The message type and trigger event for this message. MSH-9.
2100
- # Corresponds to the JSON property `messageType`
2101
- # @return [String]
2102
- attr_accessor :message_type
2103
-
2104
- # Resource name of the Message, of the form
2105
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
2106
- # messages/`message_id``.
2107
- # Assigned by the server.
2108
- # Corresponds to the JSON property `name`
2109
- # @return [String]
2110
- attr_accessor :name
2111
-
2112
- # The content of a HL7v2 message in a structured format.
2113
- # Corresponds to the JSON property `parsedData`
2114
- # @return [Google::Apis::HealthcareV1alpha2::ParsedData]
2115
- attr_accessor :parsed_data
2116
-
2117
- # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this
2118
- # message.
2119
- # Corresponds to the JSON property `patientIds`
2120
- # @return [Array<Google::Apis::HealthcareV1alpha2::PatientId>]
2121
- attr_accessor :patient_ids
2122
-
2123
- # The hospital that this message came from. MSH-4.
2124
- # Corresponds to the JSON property `sendFacility`
2125
- # @return [String]
2126
- attr_accessor :send_facility
2127
-
2128
- # The datetime the sending application sent this message. MSH-7.
2129
- # Corresponds to the JSON property `sendTime`
2130
- # @return [String]
2131
- attr_accessor :send_time
2132
-
2133
- def initialize(**args)
2134
- update!(**args)
2135
- end
2136
-
2137
- # Update properties of this object
2138
- def update!(**args)
2139
- @create_time = args[:create_time] if args.key?(:create_time)
2140
- @data = args[:data] if args.key?(:data)
2141
- @labels = args[:labels] if args.key?(:labels)
2142
- @message_type = args[:message_type] if args.key?(:message_type)
2143
- @name = args[:name] if args.key?(:name)
2144
- @parsed_data = args[:parsed_data] if args.key?(:parsed_data)
2145
- @patient_ids = args[:patient_ids] if args.key?(:patient_ids)
2146
- @send_facility = args[:send_facility] if args.key?(:send_facility)
2147
- @send_time = args[:send_time] if args.key?(:send_time)
2148
- end
2149
- end
2150
-
2151
- # Specifies where notifications should be sent upon changes to a data store.
2152
- class NotificationConfig
2153
- include Google::Apis::Core::Hashable
2154
-
2155
- # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
2156
- # notifications of changes are published on. Supplied by the client.
2157
- # PubsubMessage.Data will contain the resource name.
2158
- # PubsubMessage.MessageId is the ID of this message. It is guaranteed to be
2159
- # unique within the topic.
2160
- # PubsubMessage.PublishTime is the time at which the message was published.
2161
- # Notifications are only sent if the topic is
2162
- # non-empty. [Topic
2163
- # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
2164
- # to a project. cloud-healthcare@system.gserviceaccount.com must have
2165
- # publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
2166
- # permissions will cause the calls that send notifications to fail.
2167
- # Corresponds to the JSON property `pubsubTopic`
2168
- # @return [String]
2169
- attr_accessor :pubsub_topic
2170
-
2171
- def initialize(**args)
2172
- update!(**args)
2173
- end
2174
-
2175
- # Update properties of this object
2176
- def update!(**args)
2177
- @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
2178
- end
2179
- end
2180
-
2181
- # This resource represents a long-running operation that is the result of a
2182
- # network API call.
2183
- class Operation
2184
- include Google::Apis::Core::Hashable
2185
-
2186
- # If the value is `false`, it means the operation is still in progress.
2187
- # If `true`, the operation is completed, and either `error` or `response` is
2188
- # available.
2189
- # Corresponds to the JSON property `done`
2190
- # @return [Boolean]
2191
- attr_accessor :done
2192
- alias_method :done?, :done
2193
-
2194
- # The `Status` type defines a logical error model that is suitable for
2195
- # different programming environments, including REST APIs and RPC APIs. It is
2196
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2197
- # three pieces of data: error code, error message, and error details.
2198
- # You can find out more about this error model and how to work with it in the
2199
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2200
- # Corresponds to the JSON property `error`
2201
- # @return [Google::Apis::HealthcareV1alpha2::Status]
2202
- attr_accessor :error
2203
-
2204
- # Service-specific metadata associated with the operation. It typically
2205
- # contains progress information and common metadata such as create time.
2206
- # Some services might not provide such metadata. Any method that returns a
2207
- # long-running operation should document the metadata type, if any.
2208
- # Corresponds to the JSON property `metadata`
2209
- # @return [Hash<String,Object>]
2210
- attr_accessor :metadata
2211
-
2212
- # The server-assigned name, which is only unique within the same service that
2213
- # originally returns it. If you use the default HTTP mapping, the
2214
- # `name` should be a resource name ending with `operations/`unique_id``.
2215
- # Corresponds to the JSON property `name`
2216
- # @return [String]
2217
- attr_accessor :name
2218
-
2219
- # The normal response of the operation in case of success. If the original
2220
- # method returns no data on success, such as `Delete`, the response is
2221
- # `google.protobuf.Empty`. If the original method is standard
2222
- # `Get`/`Create`/`Update`, the response should be the resource. For other
2223
- # methods, the response should have the type `XxxResponse`, where `Xxx`
2224
- # is the original method name. For example, if the original method name
2225
- # is `TakeSnapshot()`, the inferred response type is
2226
- # `TakeSnapshotResponse`.
2227
- # Corresponds to the JSON property `response`
2228
- # @return [Hash<String,Object>]
2229
- attr_accessor :response
2230
-
2231
- def initialize(**args)
2232
- update!(**args)
2233
- end
2234
-
2235
- # Update properties of this object
2236
- def update!(**args)
2237
- @done = args[:done] if args.key?(:done)
2238
- @error = args[:error] if args.key?(:error)
2239
- @metadata = args[:metadata] if args.key?(:metadata)
2240
- @name = args[:name] if args.key?(:name)
2241
- @response = args[:response] if args.key?(:response)
2242
- end
2243
- end
2244
-
2245
- # OperationMetadata provides information about the operation execution.
2246
- # Returned in the long-running operation's metadata field.
2247
- class OperationMetadata
2248
- include Google::Apis::Core::Hashable
2249
-
2250
- # The name of the API method that initiated the operation.
2251
- # Corresponds to the JSON property `apiMethodName`
2252
- # @return [String]
2253
- attr_accessor :api_method_name
2254
-
2255
- # ProgressCounter provides counters to describe an operation's progress.
2256
- # Corresponds to the JSON property `counter`
2257
- # @return [Google::Apis::HealthcareV1alpha2::ProgressCounter]
2258
- attr_accessor :counter
2259
-
2260
- # The time at which the operation was created by the API.
2261
- # Corresponds to the JSON property `createTime`
2262
- # @return [String]
2263
- attr_accessor :create_time
2264
-
2265
- # The time at which execution was completed.
2266
- # Corresponds to the JSON property `endTime`
2267
- # @return [String]
2268
- attr_accessor :end_time
2269
-
2270
- def initialize(**args)
2271
- update!(**args)
2272
- end
2273
-
2274
- # Update properties of this object
2275
- def update!(**args)
2276
- @api_method_name = args[:api_method_name] if args.key?(:api_method_name)
2277
- @counter = args[:counter] if args.key?(:counter)
2278
- @create_time = args[:create_time] if args.key?(:create_time)
2279
- @end_time = args[:end_time] if args.key?(:end_time)
2280
- end
2281
- end
2282
-
2283
- # The content of a HL7v2 message in a structured format.
2284
- class ParsedData
2285
- include Google::Apis::Core::Hashable
2286
-
2287
- #
2288
- # Corresponds to the JSON property `segments`
2289
- # @return [Array<Google::Apis::HealthcareV1alpha2::Segment>]
2290
- attr_accessor :segments
2291
-
2292
- def initialize(**args)
2293
- update!(**args)
2294
- end
2295
-
2296
- # Update properties of this object
2297
- def update!(**args)
2298
- @segments = args[:segments] if args.key?(:segments)
2299
- end
2300
- end
2301
-
2302
- # The configuration for the parser. It determines how the server parses the
2303
- # messages.
2304
- class ParserConfig
2305
- include Google::Apis::Core::Hashable
2306
-
2307
- # Determines whether messages with no header are allowed.
2308
- # Corresponds to the JSON property `allowNullHeader`
2309
- # @return [Boolean]
2310
- attr_accessor :allow_null_header
2311
- alias_method :allow_null_header?, :allow_null_header
2312
-
2313
- # Byte(s) to be used as the segment terminator. If this is unset, '\r' will
2314
- # be used as the segment terminator, matching the HL7 version 2
2315
- # specification.
2316
- # Corresponds to the JSON property `segmentTerminator`
2317
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2318
- # @return [String]
2319
- attr_accessor :segment_terminator
2320
-
2321
- def initialize(**args)
2322
- update!(**args)
2323
- end
2324
-
2325
- # Update properties of this object
2326
- def update!(**args)
2327
- @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
2328
- @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
2329
- end
2330
- end
2331
-
2332
- # A patient identifier and associated type.
2333
- class PatientId
2334
- include Google::Apis::Core::Hashable
2335
-
2336
- # ID type, e.g. MRN or NHS.
2337
- # Corresponds to the JSON property `type`
2338
- # @return [String]
2339
- attr_accessor :type
2340
-
2341
- # The patient's unique identifier.
2342
- # Corresponds to the JSON property `value`
2343
- # @return [String]
2344
- attr_accessor :value
2345
-
2346
- def initialize(**args)
2347
- update!(**args)
2348
- end
2349
-
2350
- # Update properties of this object
2351
- def update!(**args)
2352
- @type = args[:type] if args.key?(:type)
2353
- @value = args[:value] if args.key?(:value)
2354
- end
2355
- end
2356
-
2357
- # Defines an Identity and Access Management (IAM) policy. It is used to
2358
- # specify access control policies for Cloud Platform resources.
2359
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2360
- # `members` to a `role`, where the members can be user accounts, Google groups,
2361
- # Google domains, and service accounts. A `role` is a named list of permissions
2362
- # defined by IAM.
2363
- # **JSON Example**
2364
- # `
2365
- # "bindings": [
2366
- # `
2367
- # "role": "roles/owner",
2368
- # "members": [
2369
- # "user:mike@example.com",
2370
- # "group:admins@example.com",
2371
- # "domain:google.com",
2372
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2373
- # ]
2374
- # `,
2375
- # `
2376
- # "role": "roles/viewer",
2377
- # "members": ["user:sean@example.com"]
2378
- # `
2379
- # ]
2380
- # `
2381
- # **YAML Example**
2382
- # bindings:
2383
- # - members:
2384
- # - user:mike@example.com
2385
- # - group:admins@example.com
2386
- # - domain:google.com
2387
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2388
- # role: roles/owner
2389
- # - members:
2390
- # - user:sean@example.com
2391
- # role: roles/viewer
2392
- # For a description of IAM and its features, see the
2393
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2394
- class Policy
2395
- include Google::Apis::Core::Hashable
2396
-
2397
- # Specifies cloud audit logging configuration for this policy.
2398
- # Corresponds to the JSON property `auditConfigs`
2399
- # @return [Array<Google::Apis::HealthcareV1alpha2::AuditConfig>]
2400
- attr_accessor :audit_configs
2401
-
2402
- # Associates a list of `members` to a `role`.
2403
- # `bindings` with no members will result in an error.
2404
- # Corresponds to the JSON property `bindings`
2405
- # @return [Array<Google::Apis::HealthcareV1alpha2::Binding>]
2406
- attr_accessor :bindings
2407
-
2408
- # `etag` is used for optimistic concurrency control as a way to help
2409
- # prevent simultaneous updates of a policy from overwriting each other.
2410
- # It is strongly suggested that systems make use of the `etag` in the
2411
- # read-modify-write cycle to perform policy updates in order to avoid race
2412
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2413
- # systems are expected to put that etag in the request to `setIamPolicy` to
2414
- # ensure that their change will be applied to the same version of the policy.
2415
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2416
- # policy is overwritten.
2417
- # Corresponds to the JSON property `etag`
2418
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2419
- # @return [String]
2420
- attr_accessor :etag
2421
-
2422
- # Deprecated.
2423
- # Corresponds to the JSON property `version`
2424
- # @return [Fixnum]
2425
- attr_accessor :version
2426
-
2427
- def initialize(**args)
2428
- update!(**args)
2429
- end
2430
-
2431
- # Update properties of this object
2432
- def update!(**args)
2433
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
2434
- @bindings = args[:bindings] if args.key?(:bindings)
2435
- @etag = args[:etag] if args.key?(:etag)
2436
- @version = args[:version] if args.key?(:version)
2437
- end
2438
- end
2439
-
2440
- # ProgressCounter provides counters to describe an operation's progress.
2441
- class ProgressCounter
2442
- include Google::Apis::Core::Hashable
2443
-
2444
- # The number of units that failed in the operation.
2445
- # Corresponds to the JSON property `failure`
2446
- # @return [Fixnum]
2447
- attr_accessor :failure
2448
-
2449
- # The number of units that are pending in the operation.
2450
- # Corresponds to the JSON property `pending`
2451
- # @return [Fixnum]
2452
- attr_accessor :pending
2453
-
2454
- # The number of units that succeeded in the operation.
2455
- # Corresponds to the JSON property `success`
2456
- # @return [Fixnum]
2457
- attr_accessor :success
2458
-
2459
- def initialize(**args)
2460
- update!(**args)
2461
- end
2462
-
2463
- # Update properties of this object
2464
- def update!(**args)
2465
- @failure = args[:failure] if args.key?(:failure)
2466
- @pending = args[:pending] if args.key?(:pending)
2467
- @success = args[:success] if args.key?(:success)
2468
- end
2469
- end
2470
-
2471
- # Defines how to redact sensitive values. Default behavior is erase.
2472
- # For example, "My name is Jake." becomes "My name is ."
2473
- class RedactConfig
2474
- include Google::Apis::Core::Hashable
2475
-
2476
- def initialize(**args)
2477
- update!(**args)
2478
- end
2479
-
2480
- # Update properties of this object
2481
- def update!(**args)
2482
- end
2483
- end
2484
-
2485
- # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
2486
- # the name of the `info_type`. For example, "My name is Jake" becomes "My name
2487
- # is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2488
- class ReplaceWithInfoTypeConfig
2489
- include Google::Apis::Core::Hashable
2490
-
2491
- def initialize(**args)
2492
- update!(**args)
2493
- end
2494
-
2495
- # Update properties of this object
2496
- def update!(**args)
2497
- end
2498
- end
2499
-
2500
- # Resource level annotation.
2501
- class ResourceAnnotation
2502
- include Google::Apis::Core::Hashable
2503
-
2504
- #
2505
- # Corresponds to the JSON property `label`
2506
- # @return [String]
2507
- attr_accessor :label
2508
-
2509
- def initialize(**args)
2510
- update!(**args)
2511
- end
2512
-
2513
- # Update properties of this object
2514
- def update!(**args)
2515
- @label = args[:label] if args.key?(:label)
2516
- end
2517
- end
2518
-
2519
- # Configuration for the FHIR BigQuery and Cloud Storage schema. Determines
2520
- # how the server generates the schema.
2521
- class SchemaConfig
2522
- include Google::Apis::Core::Hashable
2523
-
2524
- # The depth for all recursive structures in the output analytics
2525
- # schema. For example, `concept` in the CodeSystem resource is a recursive
2526
- # structure; when the depth is 2, the CodeSystem table will have a column
2527
- # called `concept.concept` but not `concept.concept.concept`. If not
2528
- # specified or set to 0, the server will use the default value 2.
2529
- # Corresponds to the JSON property `recursiveStructureDepth`
2530
- # @return [Fixnum]
2531
- attr_accessor :recursive_structure_depth
2532
-
2533
- # Specifies the output schema type. If unspecified, the default is
2534
- # `LOSSLESS`.
2535
- # Corresponds to the JSON property `schemaType`
2536
- # @return [String]
2537
- attr_accessor :schema_type
2538
-
2539
- def initialize(**args)
2540
- update!(**args)
2541
- end
2542
-
2543
- # Update properties of this object
2544
- def update!(**args)
2545
- @recursive_structure_depth = args[:recursive_structure_depth] if args.key?(:recursive_structure_depth)
2546
- @schema_type = args[:schema_type] if args.key?(:schema_type)
2547
- end
2548
- end
2549
-
2550
- # Request to search the resources in the specified FHIR store.
2551
- class SearchResourcesRequest
2552
- include Google::Apis::Core::Hashable
2553
-
2554
- # The FHIR resource type to search, such as Patient or Observation. For a
2555
- # complete list, see the FHIR Resource Index
2556
- # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2557
- # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2558
- # Corresponds to the JSON property `resourceType`
2559
- # @return [String]
2560
- attr_accessor :resource_type
2561
-
2562
- def initialize(**args)
2563
- update!(**args)
2564
- end
2565
-
2566
- # Update properties of this object
2567
- def update!(**args)
2568
- @resource_type = args[:resource_type] if args.key?(:resource_type)
2569
- end
2570
- end
2571
-
2572
- # A segment in a structured format.
2573
- class Segment
2574
- include Google::Apis::Core::Hashable
2575
-
2576
- # A mapping from the positional location to the value.
2577
- # The key string uses zero-based indexes separated by dots to identify
2578
- # Fields, components and sub-components. A bracket notation is also used to
2579
- # identify different instances of a repeated field.
2580
- # Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)?
2581
- # Examples of (key, value) pairs:
2582
- # - (0.1, "foo"): Component 1 of Field 0 has the value "foo".
2583
- # - (1.1.2, "bar"): Sub-component 2 of Component 1 of field 1 has the value
2584
- # "bar".
2585
- # - (1[2].1, "baz"): Component 1 of Instance 2 of Field 1, which is repeated,
2586
- # has the value "baz".
2587
- # Corresponds to the JSON property `fields`
2588
- # @return [Hash<String,String>]
2589
- attr_accessor :fields
2590
-
2591
- # A string that indicates the type of segment, e.g., EVN, PID.
2592
- # Corresponds to the JSON property `segmentId`
2593
- # @return [String]
2594
- attr_accessor :segment_id
2595
-
2596
- # Set ID for segments that can be in a set. This can be empty if it is
2597
- # missing or it is not applicable.
2598
- # Corresponds to the JSON property `setId`
2599
- # @return [String]
2600
- attr_accessor :set_id
2601
-
2602
- def initialize(**args)
2603
- update!(**args)
2604
- end
2605
-
2606
- # Update properties of this object
2607
- def update!(**args)
2608
- @fields = args[:fields] if args.key?(:fields)
2609
- @segment_id = args[:segment_id] if args.key?(:segment_id)
2610
- @set_id = args[:set_id] if args.key?(:set_id)
2611
- end
2612
- end
2613
-
2614
- # A TextAnnotation specifies a text range that includes sensitive information.
2615
- class SensitiveTextAnnotation
2616
- include Google::Apis::Core::Hashable
2617
-
2618
- # Maps from a resource slice (e.g. FHIR resource field path) to a set of
2619
- # sensitive text findings. For example,
2620
- # Appointment.Narrative text1 --> `findings_1, findings_2, findings_3`
2621
- # Corresponds to the JSON property `details`
2622
- # @return [Hash<String,Google::Apis::HealthcareV1alpha2::Detail>]
2623
- attr_accessor :details
2624
-
2625
- def initialize(**args)
2626
- update!(**args)
2627
- end
2628
-
2629
- # Update properties of this object
2630
- def update!(**args)
2631
- @details = args[:details] if args.key?(:details)
2632
- end
2633
- end
2634
-
2635
- # Request message for `SetIamPolicy` method.
2636
- class SetIamPolicyRequest
2637
- include Google::Apis::Core::Hashable
2638
-
2639
- # Defines an Identity and Access Management (IAM) policy. It is used to
2640
- # specify access control policies for Cloud Platform resources.
2641
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
2642
- # `members` to a `role`, where the members can be user accounts, Google groups,
2643
- # Google domains, and service accounts. A `role` is a named list of permissions
2644
- # defined by IAM.
2645
- # **JSON Example**
2646
- # `
2647
- # "bindings": [
2648
- # `
2649
- # "role": "roles/owner",
2650
- # "members": [
2651
- # "user:mike@example.com",
2652
- # "group:admins@example.com",
2653
- # "domain:google.com",
2654
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2655
- # ]
2656
- # `,
2657
- # `
2658
- # "role": "roles/viewer",
2659
- # "members": ["user:sean@example.com"]
2660
- # `
2661
- # ]
2662
- # `
2663
- # **YAML Example**
2664
- # bindings:
2665
- # - members:
2666
- # - user:mike@example.com
2667
- # - group:admins@example.com
2668
- # - domain:google.com
2669
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2670
- # role: roles/owner
2671
- # - members:
2672
- # - user:sean@example.com
2673
- # role: roles/viewer
2674
- # For a description of IAM and its features, see the
2675
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2676
- # Corresponds to the JSON property `policy`
2677
- # @return [Google::Apis::HealthcareV1alpha2::Policy]
2678
- attr_accessor :policy
2679
-
2680
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2681
- # the fields in the mask will be modified. If no mask is provided, the
2682
- # following default mask is used:
2683
- # paths: "bindings, etag"
2684
- # This field is only used by Cloud IAM.
2685
- # Corresponds to the JSON property `updateMask`
2686
- # @return [String]
2687
- attr_accessor :update_mask
2688
-
2689
- def initialize(**args)
2690
- update!(**args)
2691
- end
2692
-
2693
- # Update properties of this object
2694
- def update!(**args)
2695
- @policy = args[:policy] if args.key?(:policy)
2696
- @update_mask = args[:update_mask] if args.key?(:update_mask)
2697
- end
2698
- end
2699
-
2700
- # The `Status` type defines a logical error model that is suitable for
2701
- # different programming environments, including REST APIs and RPC APIs. It is
2702
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2703
- # three pieces of data: error code, error message, and error details.
2704
- # You can find out more about this error model and how to work with it in the
2705
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2706
- class Status
2707
- include Google::Apis::Core::Hashable
2708
-
2709
- # The status code, which should be an enum value of google.rpc.Code.
2710
- # Corresponds to the JSON property `code`
2711
- # @return [Fixnum]
2712
- attr_accessor :code
2713
-
2714
- # A list of messages that carry the error details. There is a common set of
2715
- # message types for APIs to use.
2716
- # Corresponds to the JSON property `details`
2717
- # @return [Array<Hash<String,Object>>]
2718
- attr_accessor :details
2719
-
2720
- # A developer-facing error message, which should be in English. Any
2721
- # user-facing error message should be localized and sent in the
2722
- # google.rpc.Status.details field, or localized by the client.
2723
- # Corresponds to the JSON property `message`
2724
- # @return [String]
2725
- attr_accessor :message
2726
-
2727
- def initialize(**args)
2728
- update!(**args)
2729
- end
2730
-
2731
- # Update properties of this object
2732
- def update!(**args)
2733
- @code = args[:code] if args.key?(:code)
2734
- @details = args[:details] if args.key?(:details)
2735
- @message = args[:message] if args.key?(:message)
2736
- end
2737
- end
2738
-
2739
- # This structure contains configuration for streaming FHIR export.
2740
- class StreamConfig
2741
- include Google::Apis::Core::Hashable
2742
-
2743
- # The configuration for exporting to BigQuery.
2744
- # Corresponds to the JSON property `bigqueryDestination`
2745
- # @return [Google::Apis::HealthcareV1alpha2::GoogleCloudHealthcareV1alpha2FhirBigQueryDestination]
2746
- attr_accessor :bigquery_destination
2747
-
2748
- # Supply a FHIR resource type (such as "Patient" or "Observation").
2749
- # See https://www.hl7.org/fhir/valueset-resource-types.html for a list of
2750
- # all FHIR resource types.
2751
- # The server will treat an empty list as an intent to stream all the
2752
- # supported resource types in this FHIR store.
2753
- # Corresponds to the JSON property `resourceTypes`
2754
- # @return [Array<String>]
2755
- attr_accessor :resource_types
2756
-
2757
- def initialize(**args)
2758
- update!(**args)
2759
- end
2760
-
2761
- # Update properties of this object
2762
- def update!(**args)
2763
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2764
- @resource_types = args[:resource_types] if args.key?(:resource_types)
2765
- end
2766
- end
2767
-
2768
- # Configuration of FHIR Subscription:
2769
- # https://www.hl7.org/fhir/subscription.html.
2770
- class SubscriptionConfig
2771
- include Google::Apis::Core::Hashable
2772
-
2773
- # REST hook endpoints that are allowed to receive subscription notifications.
2774
- # The create or update operation on a FHIR Subscription resource will fail if
2775
- # the FHIR Subscription resource contains a REST hook endpoint that is not in
2776
- # this list.
2777
- # A subscription notification push will fail if the FHIR Subscription
2778
- # resource contains a REST hook endpoint that is not in this list.
2779
- # The REST hook endpoint in a subscription resource will be compared with the
2780
- # endpoints in this list by exact matching.
2781
- # Users must verify their ownership of the domain of an endpoint before
2782
- # adding it to this list. To verify domain ownership, go to
2783
- # https://search.google.com/search-console/welcome.
2784
- # Corresponds to the JSON property `allowedRestHookEndpoints`
2785
- # @return [Array<Google::Apis::HealthcareV1alpha2::SubscriptionRestHookEndpoint>]
2786
- attr_accessor :allowed_rest_hook_endpoints
2787
-
2788
- def initialize(**args)
2789
- update!(**args)
2790
- end
2791
-
2792
- # Update properties of this object
2793
- def update!(**args)
2794
- @allowed_rest_hook_endpoints = args[:allowed_rest_hook_endpoints] if args.key?(:allowed_rest_hook_endpoints)
2795
- end
2796
- end
2797
-
2798
- # REST hook endpoint of FHIR Subscription.
2799
- class SubscriptionRestHookEndpoint
2800
- include Google::Apis::Core::Hashable
2801
-
2802
- # Whether this endpoint is allowed to receive full resource payloads. If set
2803
- # to false, the subscription notificiation sending to this endpoint with full
2804
- # resource payload will be blocked.
2805
- # Corresponds to the JSON property `allowResourcePayload`
2806
- # @return [Boolean]
2807
- attr_accessor :allow_resource_payload
2808
- alias_method :allow_resource_payload?, :allow_resource_payload
2809
-
2810
- # Address of the REST hook endpoint. It must be a valid HTTPS URL with TLS
2811
- # certificate.
2812
- # Corresponds to the JSON property `endpoint`
2813
- # @return [String]
2814
- attr_accessor :endpoint
2815
-
2816
- def initialize(**args)
2817
- update!(**args)
2818
- end
2819
-
2820
- # Update properties of this object
2821
- def update!(**args)
2822
- @allow_resource_payload = args[:allow_resource_payload] if args.key?(:allow_resource_payload)
2823
- @endpoint = args[:endpoint] if args.key?(:endpoint)
2824
- end
2825
- end
2826
-
2827
- # List of tags to filter.
2828
- class TagFilterList
2829
- include Google::Apis::Core::Hashable
2830
-
2831
- # Tags to filter. Tags must be DICOM Data Elements, File Meta
2832
- # Elements, or Directory Structuring Elements, as defined at:
2833
- # http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
2834
- # They may be provided by "Keyword" or "Tag". For example, "PatientID",
2835
- # "00100010".
2836
- # Corresponds to the JSON property `tags`
2837
- # @return [Array<String>]
2838
- attr_accessor :tags
2839
-
2840
- def initialize(**args)
2841
- update!(**args)
2842
- end
2843
-
2844
- # Update properties of this object
2845
- def update!(**args)
2846
- @tags = args[:tags] if args.key?(:tags)
2847
- end
2848
- end
2849
-
2850
- # Request message for `TestIamPermissions` method.
2851
- class TestIamPermissionsRequest
2852
- include Google::Apis::Core::Hashable
2853
-
2854
- # The set of permissions to check for the `resource`. Permissions with
2855
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
2856
- # information see
2857
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2858
- # Corresponds to the JSON property `permissions`
2859
- # @return [Array<String>]
2860
- attr_accessor :permissions
2861
-
2862
- def initialize(**args)
2863
- update!(**args)
2864
- end
2865
-
2866
- # Update properties of this object
2867
- def update!(**args)
2868
- @permissions = args[:permissions] if args.key?(:permissions)
2869
- end
2870
- end
2871
-
2872
- # Response message for `TestIamPermissions` method.
2873
- class TestIamPermissionsResponse
2874
- include Google::Apis::Core::Hashable
2875
-
2876
- # A subset of `TestPermissionsRequest.permissions` that the caller is
2877
- # allowed.
2878
- # Corresponds to the JSON property `permissions`
2879
- # @return [Array<String>]
2880
- attr_accessor :permissions
2881
-
2882
- def initialize(**args)
2883
- update!(**args)
2884
- end
2885
-
2886
- # Update properties of this object
2887
- def update!(**args)
2888
- @permissions = args[:permissions] if args.key?(:permissions)
2889
- end
2890
- end
2891
-
2892
- #
2893
- class TextConfig
2894
- include Google::Apis::Core::Hashable
2895
-
2896
- # The transformations to apply to the detected data.
2897
- # Corresponds to the JSON property `transformations`
2898
- # @return [Array<Google::Apis::HealthcareV1alpha2::InfoTypeTransformation>]
2899
- attr_accessor :transformations
2900
-
2901
- def initialize(**args)
2902
- update!(**args)
2903
- end
2904
-
2905
- # Update properties of this object
2906
- def update!(**args)
2907
- @transformations = args[:transformations] if args.key?(:transformations)
2908
- end
2909
- end
2910
-
2911
- # This structure contains the configuration for FHIR profiles and validation.
2912
- class ValidationConfig
2913
- include Google::Apis::Core::Hashable
2914
-
2915
- # Whether profile validation should be disabled for this FHIR store. Set
2916
- # this to true to disable checking incoming resources for conformance
2917
- # against StructureDefinitions in this FHIR store.
2918
- # Corresponds to the JSON property `disableProfileValidation`
2919
- # @return [Boolean]
2920
- attr_accessor :disable_profile_validation
2921
- alias_method :disable_profile_validation?, :disable_profile_validation
2922
-
2923
- # A list of ImplementationGuide IDs in this FHIR store that will be used to
2924
- # configure which profiles are used for validation. For example, to enable
2925
- # an implementation guide with ID 1 set `enabled_implementation_guides` to
2926
- # `["1"]`. If `enabled_implementation_guides` is empty or omitted then
2927
- # incoming resources will only be required to conform to the base FHIR
2928
- # profiles. Otherwise, a resource must conform to at least one profile
2929
- # listed in the `global` property of one of the enabled
2930
- # ImplementationGuides.
2931
- # Corresponds to the JSON property `enabledImplementationGuides`
2932
- # @return [Array<String>]
2933
- attr_accessor :enabled_implementation_guides
2934
-
2935
- def initialize(**args)
2936
- update!(**args)
2937
- end
2938
-
2939
- # Update properties of this object
2940
- def update!(**args)
2941
- @disable_profile_validation = args[:disable_profile_validation] if args.key?(:disable_profile_validation)
2942
- @enabled_implementation_guides = args[:enabled_implementation_guides] if args.key?(:enabled_implementation_guides)
2943
- end
2944
- end
2945
-
2946
- # A 2D coordinate in an image. The origin is the top-left.
2947
- class Vertex
2948
- include Google::Apis::Core::Hashable
2949
-
2950
- # X coordinate.
2951
- # Corresponds to the JSON property `x`
2952
- # @return [Float]
2953
- attr_accessor :x
2954
-
2955
- # Y coordinate.
2956
- # Corresponds to the JSON property `y`
2957
- # @return [Float]
2958
- attr_accessor :y
2959
-
2960
- def initialize(**args)
2961
- update!(**args)
2962
- end
2963
-
2964
- # Update properties of this object
2965
- def update!(**args)
2966
- @x = args[:x] if args.key?(:x)
2967
- @y = args[:y] if args.key?(:y)
2968
- end
2969
- end
2970
- end
2971
- end
2972
- end