google-apis-healthcare_v1beta1 0.6.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e3f477313206656b0736f715a3f03db5d40dd212df8cbb3bf10b1bcc3a0e5a7
4
- data.tar.gz: 5dbf14dbb2dcf7975f32e0eb0edc070ea6db302d1ac65a07c88d58e768cb9c90
3
+ metadata.gz: 43c499651163496b89f53c2f5448719c23809e43249d54a96af0ff9cef654017
4
+ data.tar.gz: b8cb27fe67c4a52354ee90e17a10395f0aad0368e0b4d2019e08ae4de818626f
5
5
  SHA512:
6
- metadata.gz: c313551e4065555e56adf8f08dbd65d9e3842e9fde534750250ac0a9d7a7ffb6fd9591831c816db5ac8c63fb664900cc57244b8d059cb1421dfd2fe78840d131
7
- data.tar.gz: f3f051da42ef81c3b220b7b14aad4015e413db73215f658c21b26c6c63485919adb9a2619b22cbbdc9068cddcf0a6dc5aaa135e9e1fa996809385eb7aff6b45d
6
+ metadata.gz: a95928451db4742e17fa764db1161c494987995c08ccc27821b0b0dabe241225d597204f64a0d067353e39beb12dae129fed8076288ea598fff497a7ddc864fb
7
+ data.tar.gz: 32af0a61baad477270ba82066d2387513f2fec8469f10954a4abb7abb7db6213faab80aeaabb1231c908ab0e559e941d107ab83d35d8bcd8f326a751fba52f0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.11.0 (2021-06-29)
4
+
5
+ * Regenerated from discovery document revision 20210621
6
+ * Regenerated using generator version 0.4.0
7
+
8
+ ### v0.10.0 (2021-06-24)
9
+
10
+ * Regenerated from discovery document revision 20210611
11
+
12
+ ### v0.9.0 (2021-06-15)
13
+
14
+ * Regenerated from discovery document revision 20210603
15
+ * Regenerated using generator version 0.3.0
16
+
17
+ ### v0.8.0 (2021-05-21)
18
+
19
+ * Regenerated from discovery document revision 20210507
20
+ * Unspecified changes
21
+
22
+ ### v0.7.0 (2021-04-28)
23
+
24
+ * Regenerated from discovery document revision 20210414
25
+
3
26
  ### v0.6.0 (2021-03-26)
4
27
 
5
28
  * Regenerated from discovery document revision 20210317
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta1'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
@@ -70,6 +70,12 @@ module Google
70
70
  # @return [String]
71
71
  attr_accessor :document_content
72
72
 
73
+ # A list of licensed vocabularies to use in the request, in addition to the
74
+ # default unlicensed vocabularies.
75
+ # Corresponds to the JSON property `licensedVocabularies`
76
+ # @return [Array<String>]
77
+ attr_accessor :licensed_vocabularies
78
+
73
79
  def initialize(**args)
74
80
  update!(**args)
75
81
  end
@@ -77,6 +83,7 @@ module Google
77
83
  # Update properties of this object
78
84
  def update!(**args)
79
85
  @document_content = args[:document_content] if args.key?(:document_content)
86
+ @licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
80
87
  end
81
88
  end
82
89
 
@@ -670,6 +677,36 @@ module Google
670
677
  end
671
678
  end
672
679
 
680
+ # Request to configure the search parameters for the specified FHIR store.
681
+ class ConfigureSearchRequest
682
+ include Google::Apis::Core::Hashable
683
+
684
+ # The canonical URLs of the search parameters that are intended to be used for
685
+ # the FHIR store. See https://www.hl7.org/fhir/references.html#canonical for
686
+ # explanation on FHIR canonical urls
687
+ # Corresponds to the JSON property `canonicalUrls`
688
+ # @return [Array<String>]
689
+ attr_accessor :canonical_urls
690
+
691
+ # If `validate_only` is set to true, the method will compile all the search
692
+ # parameters without actually setting the search config for the store and
693
+ # triggering the reindex.
694
+ # Corresponds to the JSON property `validateOnly`
695
+ # @return [Boolean]
696
+ attr_accessor :validate_only
697
+ alias_method :validate_only?, :validate_only
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ @canonical_urls = args[:canonical_urls] if args.key?(:canonical_urls)
706
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
707
+ end
708
+ end
709
+
673
710
  # Represents a user's consent.
674
711
  class Consent
675
712
  include Google::Apis::Core::Hashable
@@ -1072,8 +1109,8 @@ module Google
1072
1109
 
1073
1110
  # The name of the dataset resource to create and write the redacted data to. *
1074
1111
  # The destination dataset must not exist. * The destination dataset must be in
1075
- # the same project and location as the source dataset. De-identifying data
1076
- # across multiple projects or locations is not supported.
1112
+ # the same location as the source dataset. De-identifying data across multiple
1113
+ # locations is not supported.
1077
1114
  # Corresponds to the JSON property `destinationDataset`
1078
1115
  # @return [String]
1079
1116
  attr_accessor :destination_dataset
@@ -1103,8 +1140,8 @@ module Google
1103
1140
  # The name of the DICOM store to create and write the redacted data to. For
1104
1141
  # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1105
1142
  # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
1106
- # source dataset and destination dataset must both reside in the same project.
1107
- # De-identifying data across multiple projects is not supported. * The
1143
+ # source dataset and destination dataset must both reside in the same location.
1144
+ # De-identifying data across multiple locations is not supported. * The
1108
1145
  # destination DICOM store must not exist. * The caller must have the necessary
1109
1146
  # permissions to create the destination DICOM store.
1110
1147
  # Corresponds to the JSON property `destinationStore`
@@ -1142,8 +1179,8 @@ module Google
1142
1179
  # The name of the FHIR store to create and write the redacted data to. For
1143
1180
  # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1144
1181
  # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
1145
- # source dataset and destination dataset must both reside in the same project.
1146
- # De-identifying data across multiple projects is not supported. * The
1182
+ # source dataset and destination dataset must both reside in the same location.
1183
+ # De-identifying data across multiple locations is not supported. * The
1147
1184
  # destination FHIR store must exist. * The caller must have the healthcare.
1148
1185
  # fhirResources.update permission to write to the destination FHIR store.
1149
1186
  # Corresponds to the JSON property `destinationStore`
@@ -2000,6 +2037,11 @@ module Google
2000
2037
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
2001
2038
  attr_accessor :notification_config
2002
2039
 
2040
+ # Contains the configuration for FHIR search.
2041
+ # Corresponds to the JSON property `searchConfig`
2042
+ # @return [Google::Apis::HealthcareV1beta1::SearchConfig]
2043
+ attr_accessor :search_config
2044
+
2003
2045
  # A list of streaming configs that configure the destinations of streaming
2004
2046
  # export for every resource mutation in this FHIR store. Each store is allowed
2005
2047
  # to have up to 10 streaming configs. After a new config is added, the next
@@ -2041,6 +2083,7 @@ module Google
2041
2083
  @labels = args[:labels] if args.key?(:labels)
2042
2084
  @name = args[:name] if args.key?(:name)
2043
2085
  @notification_config = args[:notification_config] if args.key?(:notification_config)
2086
+ @search_config = args[:search_config] if args.key?(:search_config)
2044
2087
  @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
2045
2088
  @validation_config = args[:validation_config] if args.key?(:validation_config)
2046
2089
  @version = args[:version] if args.key?(:version)
@@ -2278,9 +2321,9 @@ module Google
2278
2321
  # @return [String]
2279
2322
  attr_accessor :table_uri
2280
2323
 
2281
- # Determines whether existing tables in the destination dataset are overwritten
2282
- # or appended to. If a write_disposition is specified, the `force` parameter is
2283
- # ignored.
2324
+ # Determines if existing data in the destination dataset is overwritten,
2325
+ # appended to, or not written if the tables contain data. If a write_disposition
2326
+ # is specified, the `force` parameter is ignored.
2284
2327
  # Corresponds to the JSON property `writeDisposition`
2285
2328
  # @return [String]
2286
2329
  attr_accessor :write_disposition
@@ -2598,9 +2641,9 @@ module Google
2598
2641
  # @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
2599
2642
  attr_accessor :schema_config
2600
2643
 
2601
- # Determines whether existing tables in the destination dataset are overwritten
2602
- # or appended to. If a write_disposition is specified, the `force` parameter is
2603
- # ignored.
2644
+ # Determines if existing data in the destination dataset is overwritten,
2645
+ # appended to, or not written if the tables contain data. If a write_disposition
2646
+ # is specified, the `force` parameter is ignored.
2604
2647
  # Corresponds to the JSON property `writeDisposition`
2605
2648
  # @return [String]
2606
2649
  attr_accessor :write_disposition
@@ -4272,6 +4315,27 @@ module Google
4272
4315
  end
4273
4316
  end
4274
4317
 
4318
+ # Response for successful QueryAccessibleData operations. This structure is
4319
+ # included in the response upon operation completion.
4320
+ class QueryAccessibleDataResponse
4321
+ include Google::Apis::Core::Hashable
4322
+
4323
+ # List of files, each of which contains a list of data_id(s) that are consented
4324
+ # for a specified use in the request.
4325
+ # Corresponds to the JSON property `gcsUris`
4326
+ # @return [Array<String>]
4327
+ attr_accessor :gcs_uris
4328
+
4329
+ def initialize(**args)
4330
+ update!(**args)
4331
+ end
4332
+
4333
+ # Update properties of this object
4334
+ def update!(**args)
4335
+ @gcs_uris = args[:gcs_uris] if args.key?(:gcs_uris)
4336
+ end
4337
+ end
4338
+
4275
4339
  # Define how to redact sensitive values. Default behaviour is erase. For example,
4276
4340
  # "My name is Jane." becomes "My name is ."
4277
4341
  class RedactConfig
@@ -4607,6 +4671,56 @@ module Google
4607
4671
  end
4608
4672
  end
4609
4673
 
4674
+ # Contains the configuration for FHIR search.
4675
+ class SearchConfig
4676
+ include Google::Apis::Core::Hashable
4677
+
4678
+ # A list of search parameters in this FHIR store that are used to configure this
4679
+ # FHIR store.
4680
+ # Corresponds to the JSON property `searchParameters`
4681
+ # @return [Array<Google::Apis::HealthcareV1beta1::SearchParameter>]
4682
+ attr_accessor :search_parameters
4683
+
4684
+ def initialize(**args)
4685
+ update!(**args)
4686
+ end
4687
+
4688
+ # Update properties of this object
4689
+ def update!(**args)
4690
+ @search_parameters = args[:search_parameters] if args.key?(:search_parameters)
4691
+ end
4692
+ end
4693
+
4694
+ # Contains the versioned name and the URL for one SearchParameter.
4695
+ class SearchParameter
4696
+ include Google::Apis::Core::Hashable
4697
+
4698
+ # The canonical url of the search parameter resource.
4699
+ # Corresponds to the JSON property `canonicalUrl`
4700
+ # @return [String]
4701
+ attr_accessor :canonical_url
4702
+
4703
+ # The versioned name of the search parameter resource. The format is projects/`
4704
+ # project-id`/locations/`location`/datasets/`dataset-id`/fhirStores/`fhirStore-
4705
+ # id`/fhir/SearchParameter/`resource-id`/_history/`version-id` For fhir stores
4706
+ # with disable_resource_versioning=true, the format is projects/`project-id`/
4707
+ # locations/`location`/datasets/`dataset-id`/fhirStores/`fhirStore-id`/fhir/
4708
+ # SearchParameter/`resource-id`/
4709
+ # Corresponds to the JSON property `parameter`
4710
+ # @return [String]
4711
+ attr_accessor :parameter
4712
+
4713
+ def initialize(**args)
4714
+ update!(**args)
4715
+ end
4716
+
4717
+ # Update properties of this object
4718
+ def update!(**args)
4719
+ @canonical_url = args[:canonical_url] if args.key?(:canonical_url)
4720
+ @parameter = args[:parameter] if args.key?(:parameter)
4721
+ end
4722
+ end
4723
+
4610
4724
  # Request to search the resources in the specified FHIR store.
4611
4725
  class SearchResourcesRequest
4612
4726
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210317"
25
+ REVISION = "20210621"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class ConfigureSearchRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class Consent
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -784,6 +790,12 @@ module Google
784
790
  include Google::Apis::Core::JsonObjectSupport
785
791
  end
786
792
 
793
+ class QueryAccessibleDataResponse
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
787
799
  class RedactConfig
788
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
801
 
@@ -856,6 +868,18 @@ module Google
856
868
  include Google::Apis::Core::JsonObjectSupport
857
869
  end
858
870
 
871
+ class SearchConfig
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class SearchParameter
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
859
883
  class SearchResourcesRequest
860
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
885
 
@@ -971,6 +995,7 @@ module Google
971
995
  # @private
972
996
  class Representation < Google::Apis::Core::JsonRepresentation
973
997
  property :document_content, as: 'documentContent'
998
+ collection :licensed_vocabularies, as: 'licensedVocabularies'
974
999
  end
975
1000
  end
976
1001
 
@@ -1142,6 +1167,14 @@ module Google
1142
1167
  end
1143
1168
  end
1144
1169
 
1170
+ class ConfigureSearchRequest
1171
+ # @private
1172
+ class Representation < Google::Apis::Core::JsonRepresentation
1173
+ collection :canonical_urls, as: 'canonicalUrls'
1174
+ property :validate_only, as: 'validateOnly'
1175
+ end
1176
+ end
1177
+
1145
1178
  class Consent
1146
1179
  # @private
1147
1180
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1509,6 +1542,8 @@ module Google
1509
1542
  property :name, as: 'name'
1510
1543
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
1511
1544
 
1545
+ property :search_config, as: 'searchConfig', class: Google::Apis::HealthcareV1beta1::SearchConfig, decorator: Google::Apis::HealthcareV1beta1::SearchConfig::Representation
1546
+
1512
1547
  collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1beta1::StreamConfig, decorator: Google::Apis::HealthcareV1beta1::StreamConfig::Representation
1513
1548
 
1514
1549
  property :validation_config, as: 'validationConfig', class: Google::Apis::HealthcareV1beta1::ValidationConfig, decorator: Google::Apis::HealthcareV1beta1::ValidationConfig::Representation
@@ -2135,6 +2170,13 @@ module Google
2135
2170
  end
2136
2171
  end
2137
2172
 
2173
+ class QueryAccessibleDataResponse
2174
+ # @private
2175
+ class Representation < Google::Apis::Core::JsonRepresentation
2176
+ collection :gcs_uris, as: 'gcsUris'
2177
+ end
2178
+ end
2179
+
2138
2180
  class RedactConfig
2139
2181
  # @private
2140
2182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2235,6 +2277,22 @@ module Google
2235
2277
  end
2236
2278
  end
2237
2279
 
2280
+ class SearchConfig
2281
+ # @private
2282
+ class Representation < Google::Apis::Core::JsonRepresentation
2283
+ collection :search_parameters, as: 'searchParameters', class: Google::Apis::HealthcareV1beta1::SearchParameter, decorator: Google::Apis::HealthcareV1beta1::SearchParameter::Representation
2284
+
2285
+ end
2286
+ end
2287
+
2288
+ class SearchParameter
2289
+ # @private
2290
+ class Representation < Google::Apis::Core::JsonRepresentation
2291
+ property :canonical_url, as: 'canonicalUrl'
2292
+ property :parameter, as: 'parameter'
2293
+ end
2294
+ end
2295
+
2238
2296
  class SearchResourcesRequest
2239
2297
  # @private
2240
2298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -87,7 +87,7 @@ module Google
87
87
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
88
  # AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
- # The maximum number of results to return. If not set, the service will select a
90
+ # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
92
92
  # @param [String] page_token
93
93
  # A page token received from the `next_page_token` field in the response. Send
@@ -1396,23 +1396,26 @@ module Google
1396
1396
  # Queries all data_ids that are consented for a specified use in the given
1397
1397
  # consent store and writes them to a specified destination. The returned
1398
1398
  # Operation includes a progress counter for the number of User data mappings
1399
- # processed. Errors are logged to Cloud Logging (see [Viewing error logs in
1400
- # Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). For
1401
- # example, the following sample log entry shows a `failed to evaluate consent
1402
- # policy` error that occurred during a QueryAccessibleData call to consent store
1403
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1404
- # consentStores/`consent_store_id``. ```json jsonPayload: ` @type: "type.
1405
- # googleapis.com/google.cloud.healthcare.logging.QueryAccessibleDataLogEntry"
1406
- # error: ` code: 9 message: "failed to evaluate consent policy" ` resourceName: "
1407
- # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1408
- # consentStores/`consent_store_id`/consents/`consent_id`" ` logName: "projects/`
1409
- # project_id`/logs/healthcare.googleapis.com%2Fquery_accessible_data" operation:
1410
- # ` id: "projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1411
- # operations/`operation_id`" producer: "healthcare.googleapis.com/
1412
- # QueryAccessibleData" ` receiveTimestamp: "TIMESTAMP" resource: ` labels: `
1413
- # consent_store_id: "`consent_store_id`" dataset_id: "`dataset_id`" location: "`
1414
- # location_id`" project_id: "`project_id`" ` type: "healthcare_consent_store" `
1415
- # severity: "ERROR" timestamp: "TIMESTAMP" ```
1399
+ # processed. If the request is successful, a detailed response is returned of
1400
+ # type QueryAccessibleDataResponse, contained in the response field when the
1401
+ # operation finishes. The metadata field type is OperationMetadata. Errors are
1402
+ # logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://
1403
+ # cloud.google.com/healthcare/docs/how-tos/logging)). For example, the following
1404
+ # sample log entry shows a `failed to evaluate consent policy` error that
1405
+ # occurred during a QueryAccessibleData call to consent store `projects/`
1406
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
1407
+ # consent_store_id``. ```json jsonPayload: ` @type: "type.googleapis.com/google.
1408
+ # cloud.healthcare.logging.QueryAccessibleDataLogEntry" error: ` code: 9 message:
1409
+ # "failed to evaluate consent policy" ` resourceName: "projects/`project_id`/
1410
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
1411
+ # consents/`consent_id`" ` logName: "projects/`project_id`/logs/healthcare.
1412
+ # googleapis.com%2Fquery_accessible_data" operation: ` id: "projects/`project_id`
1413
+ # /locations/`location_id`/datasets/`dataset_id`/operations/`operation_id`"
1414
+ # producer: "healthcare.googleapis.com/QueryAccessibleData" ` receiveTimestamp: "
1415
+ # TIMESTAMP" resource: ` labels: ` consent_store_id: "`consent_store_id`"
1416
+ # dataset_id: "`dataset_id`" location: "`location_id`" project_id: "`project_id`"
1417
+ # ` type: "healthcare_consent_store" ` severity: "ERROR" timestamp: "TIMESTAMP"
1418
+ # ```
1416
1419
  # @param [String] consent_store
1417
1420
  # Required. Name of the consent store to retrieve User data mappings from.
1418
1421
  # @param [Google::Apis::HealthcareV1beta1::QueryAccessibleDataRequest] query_accessible_data_request_object
@@ -3157,11 +3160,10 @@ module Google
3157
3160
 
3158
3161
  # DeleteStudy deletes all instances within the given study using a long running
3159
3162
  # operation. The method returns an Operation which will be marked successful
3160
- # when the deletion is complete. Warning: If you insert instances into a study
3161
- # while a delete operation is running for that study, the instances you insert
3162
- # might not appear in search results until after the deletion operation finishes.
3163
- # For samples that show how to call DeleteStudy, see [Deleting a study, series,
3164
- # or instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3163
+ # when the deletion is complete. Warning: Instances cannot be inserted into a
3164
+ # study that is being deleted by an operation until the operation completes. For
3165
+ # samples that show how to call DeleteStudy, see [Deleting a study, series, or
3166
+ # instance](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#
3165
3167
  # deleting_a_study_series_or_instance).
3166
3168
  # @param [String] parent
3167
3169
  # @param [String] dicom_web_path
@@ -3416,12 +3418,11 @@ module Google
3416
3418
 
3417
3419
  # DeleteSeries deletes all instances within the given study and series using a
3418
3420
  # long running operation. The method returns an Operation which will be marked
3419
- # successful when the deletion is complete. Warning: If you insert instances
3420
- # into a series while a delete operation is running for that series, the
3421
- # instances you insert might not appear in search results until after the
3422
- # deletion operation finishes. For samples that show how to call DeleteSeries,
3423
- # see [Deleting a study, series, or instance](https://cloud.google.com/
3424
- # healthcare/docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
3421
+ # successful when the deletion is complete. Warning: Instances cannot be
3422
+ # inserted into a series that is being deleted by an operation until the
3423
+ # operation completes. For samples that show how to call DeleteSeries, see [
3424
+ # Deleting a study, series, or instance](https://cloud.google.com/healthcare/
3425
+ # docs/how-tos/dicomweb#deleting_a_study_series_or_instance).
3425
3426
  # @param [String] parent
3426
3427
  # The name of the DICOM store that is being accessed. For example, `projects/`
3427
3428
  # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
@@ -3852,6 +3853,46 @@ module Google
3852
3853
  execute_or_queue_command(command, &block)
3853
3854
  end
3854
3855
 
3856
+ # Configure the search parameters for the FHIR store and reindex resources in
3857
+ # the FHIR store according to the defined search parameters. The search
3858
+ # parameters provided in this request will replace any previous search
3859
+ # configuration. The target SearchParameter resources need to exist in the store
3860
+ # before calling ConfigureSearch, otherwise an error will occur. This method
3861
+ # returns an Operation that can be used to track the progress of the reindexing
3862
+ # by calling GetOperation.
3863
+ # @param [String] name
3864
+ # The name of the FHIR store to configure, in the format `projects/`project_id`/
3865
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
3866
+ # @param [Google::Apis::HealthcareV1beta1::ConfigureSearchRequest] configure_search_request_object
3867
+ # @param [String] fields
3868
+ # Selector specifying which fields to include in a partial response.
3869
+ # @param [String] quota_user
3870
+ # Available to use for quota purposes for server-side applications. Can be any
3871
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3872
+ # @param [Google::Apis::RequestOptions] options
3873
+ # Request-specific options
3874
+ #
3875
+ # @yield [result, err] Result & error if block supplied
3876
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
3877
+ # @yieldparam err [StandardError] error object if request failed
3878
+ #
3879
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
3880
+ #
3881
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3882
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3883
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3884
+ def configure_fhir_store_search(name, configure_search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3885
+ command = make_simple_command(:post, 'v1beta1/{+name}:configureSearch', options)
3886
+ command.request_representation = Google::Apis::HealthcareV1beta1::ConfigureSearchRequest::Representation
3887
+ command.request_object = configure_search_request_object
3888
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
3889
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
3890
+ command.params['name'] = name unless name.nil?
3891
+ command.query['fields'] = fields unless fields.nil?
3892
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3893
+ execute_or_queue_command(command, &block)
3894
+ end
3895
+
3855
3896
  # Creates a new FHIR store within the parent dataset.
3856
3897
  # @param [String] parent
3857
3898
  # The name of the dataset this FHIR store belongs to.
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Healthcare API V1beta1. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.11.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1beta1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Cloud Healthcare API V1beta1