google-apis-healthcare_v1 0.70.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c91b47e3aa1385e9898b9830d9ca1739db9647ee51b05b5f5d7500f46e1259e
4
- data.tar.gz: bb1474d3499e0f124f9cbf1b7b5451f188827da613c8b06d8c193bf34d33ed96
3
+ metadata.gz: 02f378bb1af2ad8dcd275341c965252b8356ecee8d14a1ca94850e29716ff865
4
+ data.tar.gz: c974bf8ae21d210ab23304e25a188b7ab19baaca8d9fd83d07bf61def4575dba
5
5
  SHA512:
6
- metadata.gz: c3190995c70d3c93cf2d58e2debc337bf6a447eb3853adda7dfe523860ac8d9f8d791be328c44f53d40fc0dcabf58dcad3e747c228de1f6599d72aef797f608b
7
- data.tar.gz: c6f118a92f7ba94c5efa27a99b551389ea9f1cb431171ab5978186060385710aab99283a4beb2ff938d469e09a691567df6e8ce7dd67ff6aa4613fa1eb8d254c
6
+ metadata.gz: ebb95047c848d1177661b1a9ed29cdb48cfb99a06abff6947fc3e4afed82205d5f4be4eae393beffbf60871747633af37ec5a2b73ef98d3dc72afebcef300b87
7
+ data.tar.gz: 6fdd3ec53a85187f4a6f42f59e1ee70ccb7bc8388e56c8be5f9096bc94f1560ec348ac60253be707754e1657019145daff14950861e9a5bc020cd269422096eb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.71.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250218
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.70.0 (2024-12-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20241205
@@ -709,6 +709,29 @@ module Google
709
709
  end
710
710
  end
711
711
 
712
+ # The configuration for exporting to Cloud Storage using the bulk export API.
713
+ class BulkExportGcsDestination
714
+ include Google::Apis::Core::Hashable
715
+
716
+ # Optional. URI for a Cloud Storage directory where the server writes result
717
+ # files, in the format `gs://`bucket-id`/`path/to/destination/dir``. If there is
718
+ # no trailing slash, the service appends one when composing the object path. The
719
+ # user is responsible for creating the Cloud Storage bucket referenced in `
720
+ # uri_prefix`.
721
+ # Corresponds to the JSON property `uriPrefix`
722
+ # @return [String]
723
+ attr_accessor :uri_prefix
724
+
725
+ def initialize(**args)
726
+ update!(**args)
727
+ end
728
+
729
+ # Update properties of this object
730
+ def update!(**args)
731
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
732
+ end
733
+ end
734
+
712
735
  # The request message for Operations.CancelOperation.
713
736
  class CancelOperationRequest
714
737
  include Google::Apis::Core::Hashable
@@ -910,12 +933,13 @@ module Google
910
933
  attr_accessor :actor
911
934
 
912
935
  # An abstract identifier that describes the environment or conditions under
913
- # which the accessor is acting. Can be "*" if it applies to all environments.
936
+ # which the accessor is acting. If it's not specified, it applies to all
937
+ # environments.
914
938
  # Corresponds to the JSON property `environment`
915
939
  # @return [String]
916
940
  attr_accessor :environment
917
941
 
918
- # The intent of data use. Can be "*" if it applies to all purposes.
942
+ # The intent of data use. If it's not specified, it applies to all purposes.
919
943
  # Corresponds to the JSON property `purpose`
920
944
  # @return [String]
921
945
  attr_accessor :purpose
@@ -2539,6 +2563,11 @@ module Google
2539
2563
  class FhirStore
2540
2564
  include Google::Apis::Core::Hashable
2541
2565
 
2566
+ # The configuration for exporting to Cloud Storage using the bulk export API.
2567
+ # Corresponds to the JSON property `bulkExportGcsDestination`
2568
+ # @return [Google::Apis::HealthcareV1::BulkExportGcsDestination]
2569
+ attr_accessor :bulk_export_gcs_destination
2570
+
2542
2571
  # Optional. Enable parsing of references within complex FHIR data types such as
2543
2572
  # Extensions. If this value is set to ENABLED, then features like referential
2544
2573
  # integrity and Bundle reference rewriting apply to all references. If this flag
@@ -2669,6 +2698,7 @@ module Google
2669
2698
 
2670
2699
  # Update properties of this object
2671
2700
  def update!(**args)
2701
+ @bulk_export_gcs_destination = args[:bulk_export_gcs_destination] if args.key?(:bulk_export_gcs_destination)
2672
2702
  @complex_data_type_reference_parsing = args[:complex_data_type_reference_parsing] if args.key?(:complex_data_type_reference_parsing)
2673
2703
  @consent_config = args[:consent_config] if args.key?(:consent_config)
2674
2704
  @default_search_handling_strict = args[:default_search_handling_strict] if args.key?(:default_search_handling_strict)
@@ -5359,7 +5389,7 @@ module Google
5359
5389
  class SearchResourcesRequest
5360
5390
  include Google::Apis::Core::Hashable
5361
5391
 
5362
- # Required. The FHIR resource type to search, such as Patient or Observation.
5392
+ # Optional. The FHIR resource type to search, such as Patient or Observation.
5363
5393
  # For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/
5364
5394
  # implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/
5365
5395
  # implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1
18
18
  # Version of the google-apis-healthcare_v1 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241205"
25
+ REVISION = "20250218"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class BulkExportGcsDestination
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class CancelOperationRequest
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -1228,6 +1234,13 @@ module Google
1228
1234
  end
1229
1235
  end
1230
1236
 
1237
+ class BulkExportGcsDestination
1238
+ # @private
1239
+ class Representation < Google::Apis::Core::JsonRepresentation
1240
+ property :uri_prefix, as: 'uriPrefix'
1241
+ end
1242
+ end
1243
+
1231
1244
  class CancelOperationRequest
1232
1245
  # @private
1233
1246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1711,6 +1724,8 @@ module Google
1711
1724
  class FhirStore
1712
1725
  # @private
1713
1726
  class Representation < Google::Apis::Core::JsonRepresentation
1727
+ property :bulk_export_gcs_destination, as: 'bulkExportGcsDestination', class: Google::Apis::HealthcareV1::BulkExportGcsDestination, decorator: Google::Apis::HealthcareV1::BulkExportGcsDestination::Representation
1728
+
1714
1729
  property :complex_data_type_reference_parsing, as: 'complexDataTypeReferenceParsing'
1715
1730
  property :consent_config, as: 'consentConfig', class: Google::Apis::HealthcareV1::ConsentConfig, decorator: Google::Apis::HealthcareV1::ConsentConfig::Representation
1716
1731
 
@@ -3431,6 +3431,9 @@ module Google
3431
3431
  # Required. The path of the RetrieveRenderedInstance DICOMweb request. For
3432
3432
  # example, `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/
3433
3433
  # rendered`.
3434
+ # @param [String] viewport
3435
+ # Optional. The viewport setting to use as specified in https://dicom.nema.org/
3436
+ # medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3
3434
3437
  # @param [String] fields
3435
3438
  # Selector specifying which fields to include in a partial response.
3436
3439
  # @param [String] quota_user
@@ -3448,12 +3451,13 @@ module Google
3448
3451
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3449
3452
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3450
3453
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3451
- def retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
3454
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil, &block)
3452
3455
  command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
3453
3456
  command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
3454
3457
  command.response_class = Google::Apis::HealthcareV1::HttpBody
3455
3458
  command.params['parent'] = parent unless parent.nil?
3456
3459
  command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
3460
+ command.query['viewport'] = viewport unless viewport.nil?
3457
3461
  command.query['fields'] = fields unless fields.nil?
3458
3462
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3459
3463
  execute_or_queue_command(command, &block)
@@ -3520,6 +3524,9 @@ module Google
3520
3524
  # Required. The path of the RetrieveRenderedFrames DICOMweb request. For example,
3521
3525
  # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
3522
3526
  # frame_list`/rendered`.
3527
+ # @param [String] viewport
3528
+ # Optional. The viewport setting to use as specified in https://dicom.nema.org/
3529
+ # medical/dicom/current/output/chtml/part18/sect_8.3.5.html#sect_8.3.5.1.3
3523
3530
  # @param [String] fields
3524
3531
  # Selector specifying which fields to include in a partial response.
3525
3532
  # @param [String] quota_user
@@ -3537,12 +3544,13 @@ module Google
3537
3544
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3538
3545
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3539
3546
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3540
- def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
3547
+ def retrieve_project_location_dataset_dicom_store_study_series_instance_frame_rendered(parent, dicom_web_path, viewport: nil, fields: nil, quota_user: nil, options: nil, &block)
3541
3548
  command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
3542
3549
  command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
3543
3550
  command.response_class = Google::Apis::HealthcareV1::HttpBody
3544
3551
  command.params['parent'] = parent unless parent.nil?
3545
3552
  command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
3553
+ command.query['viewport'] = viewport unless viewport.nil?
3546
3554
  command.query['fields'] = fields unless fields.nil?
3547
3555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3548
3556
  execute_or_queue_command(command, &block)
@@ -3643,6 +3651,94 @@ module Google
3643
3651
  execute_or_queue_command(command, &block)
3644
3652
  end
3645
3653
 
3654
+ # Bulk exports a Group resource and resources in the member field, including
3655
+ # related resources for each Patient member. The export for each Patient is
3656
+ # identical to a GetPatientEverything request. Implements the FHIR
3657
+ # implementation guide [$export group of patients](https://build.fhir.org/ig/HL7/
3658
+ # bulk-data/export.html#endpoint---group-of-patients). The following headers
3659
+ # must be set in the request: * `Accept`: specifies the format of the `
3660
+ # OperationOutcome` response. Only `application/fhir+json` is supported. * `
3661
+ # Prefer`: specifies whether the response is immediate or asynchronous. Must be
3662
+ # to `respond-async` because only asynchronous responses are supported. Specify
3663
+ # the destination for the server to write result files by setting the Cloud
3664
+ # Storage location bulk_export_gcs_destination on the FHIR store. URI of an
3665
+ # existing Cloud Storage directory where the server writes result files, in the
3666
+ # format gs://`bucket-id`/`path/to/destination/dir`. If there is no trailing
3667
+ # slash, the service appends one when composing the object path. The user is
3668
+ # responsible for creating the Cloud Storage bucket referenced. Supports the
3669
+ # following query parameters: * `_type`: string of comma-delimited FHIR resource
3670
+ # types. If provided, only resources of the specified type(s) are exported. * `
3671
+ # _since`: if provided, only resources updated after the specified time are
3672
+ # exported. * `_outputFormat`: optional, specify ndjson to export data in NDJSON
3673
+ # format. Exported file names use the format: `export_id`_`resource_type`.ndjson.
3674
+ # * `organizeOutputBy`: resource type to organize the output by. Required and
3675
+ # must be set to `Patient`. When specified, output files are organized by
3676
+ # instances of the specified resource type, including the resource, referenced
3677
+ # resources, and resources that contain references to that resource. On success,
3678
+ # the `Content-Location` header of response is set to a URL that you can use to
3679
+ # query the status of the export. The URL is in the format `projects/`project_id`
3680
+ # /locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/
3681
+ # operations/`export_id``. See get-fhir-operation-status for more information.
3682
+ # Errors generated by the FHIR store contain a JSON-encoded `OperationOutcome`
3683
+ # resource describing the reason for the error.
3684
+ # @param [String] name
3685
+ # Required. Name of the Group resource that is exported, in format `projects/`
3686
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/`
3687
+ # fhir_store_id`/fhir/Group/`group_id``.
3688
+ # @param [String] _since
3689
+ # Optional. If provided, only resources updated after this time are exported.
3690
+ # The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-
3691
+ # 07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified
3692
+ # to the second and include a time zone.
3693
+ # @param [String] _type
3694
+ # Optional. String of comma-delimited FHIR resource types. If provided, only
3695
+ # resources of the specified resource type(s) are exported.
3696
+ # @param [String] organize_output_by
3697
+ # Optional. Required. The FHIR resource type used to organize exported resources.
3698
+ # Only supports "Patient". When organized by Patient resource, output files are
3699
+ # grouped as follows: * Patient file(s) containing the Patient resources. Each
3700
+ # Patient is sequentially followed by all resources the Patient references, and
3701
+ # all resources that reference the Patient (equivalent to a GetPatientEverything
3702
+ # request). * Individual files grouped by resource type for resources in the
3703
+ # Group's member field and the Group resource itself. Resources may be
3704
+ # duplicated across multiple Patients. For example, if two Patient resources
3705
+ # reference the same Organization resource, it will appear twice, once after
3706
+ # each Patient. The Group resource from the request does not appear in the
3707
+ # Patient files.
3708
+ # @param [String] output_format
3709
+ # Optional. Output format of the export. This field is optional and only `
3710
+ # application/fhir+ndjson` is supported.
3711
+ # @param [String] fields
3712
+ # Selector specifying which fields to include in a partial response.
3713
+ # @param [String] quota_user
3714
+ # Available to use for quota purposes for server-side applications. Can be any
3715
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3716
+ # @param [Google::Apis::RequestOptions] options
3717
+ # Request-specific options
3718
+ #
3719
+ # @yield [result, err] Result & error if block supplied
3720
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
3721
+ # @yieldparam err [StandardError] error object if request failed
3722
+ #
3723
+ # @return [Google::Apis::HealthcareV1::HttpBody]
3724
+ #
3725
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3726
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3727
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3728
+ def bulk_project_location_dataset_fhir_store_export_group(name, _since: nil, _type: nil, organize_output_by: nil, output_format: nil, fields: nil, quota_user: nil, options: nil, &block)
3729
+ command = make_simple_command(:get, 'v1/{+name}/$export', options)
3730
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
3731
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
3732
+ command.params['name'] = name unless name.nil?
3733
+ command.query['_since'] = _since unless _since.nil?
3734
+ command.query['_type'] = _type unless _type.nil?
3735
+ command.query['organizeOutputBy'] = organize_output_by unless organize_output_by.nil?
3736
+ command.query['outputFormat'] = output_format unless output_format.nil?
3737
+ command.query['fields'] = fields unless fields.nil?
3738
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3739
+ execute_or_queue_command(command, &block)
3740
+ end
3741
+
3646
3742
  # Creates a new FHIR store within the parent dataset.
3647
3743
  # @param [String] parent
3648
3744
  # Required. The name of the dataset this FHIR store belongs to.
@@ -4670,7 +4766,7 @@ module Google
4670
4766
  # provided content.
4671
4767
  # @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
4672
4768
  # @param [String] profile
4673
- # Required. The canonical URL of a profile that this resource should be
4769
+ # Optional. The canonical URL of a profile that this resource should be
4674
4770
  # validated against. For example, to validate a Patient resource against the US
4675
4771
  # Core Patient profile this parameter would be `http://hl7.org/fhir/us/core/
4676
4772
  # StructureDefinition/us-core-patient`. A StructureDefinition with this
@@ -4706,6 +4802,76 @@ module Google
4706
4802
  execute_or_queue_command(command, &block)
4707
4803
  end
4708
4804
 
4805
+ # Bulk exports all resources from the FHIR store to the specified destination.
4806
+ # Implements the FHIR implementation guide [system level $export](https://build.
4807
+ # fhir.org/ig/HL7/bulk-data/export.html#endpoint---system-level-export. The
4808
+ # following headers must be set in the request: * `Accept`: specifies the format
4809
+ # of the `OperationOutcome` response. Only `application/fhir+json` is supported.
4810
+ # * `Prefer`: specifies whether the response is immediate or asynchronous. Must
4811
+ # be to `respond-async` because only asynchronous responses are supported.
4812
+ # Specify the destination for the server to write result files by setting the
4813
+ # Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of
4814
+ # an existing Cloud Storage directory where the server writes result files, in
4815
+ # the format gs://`bucket-id`/`path/to/destination/dir`. If there is no trailing
4816
+ # slash, the service appends one when composing the object path. The user is
4817
+ # responsible for creating the Cloud Storage bucket referenced. Supports the
4818
+ # following query parameters: * `_type`: string of comma-delimited FHIR resource
4819
+ # types. If provided, only the resources of the specified type(s) are exported. *
4820
+ # `_since`: if provided, only the resources that are updated after the
4821
+ # specified time are exported. * `_outputFormat`: optional, specify ndjson to
4822
+ # export data in NDJSON format. Exported file names use the format: `export_id`_`
4823
+ # resource_type`.ndjson. On success, the `Content-Location` header of the
4824
+ # response is set to a URL that the user can use to query the status of the
4825
+ # export. The URL is in the format: `projects/`project_id`/locations/`
4826
+ # location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/operations/`
4827
+ # export_id``. See get-fhir-operation-status for more information. Errors
4828
+ # generated by the FHIR store contain a JSON-encoded `OperationOutcome` resource
4829
+ # describing the reason for the error.
4830
+ # @param [String] name
4831
+ # Required. The name of the FHIR store to export resources from, in the format `
4832
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
4833
+ # `fhir_store_id``.
4834
+ # @param [String] _since
4835
+ # Optional. If provided, only resources updated after this time are exported.
4836
+ # The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-
4837
+ # 07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified
4838
+ # to the second and include a time zone.
4839
+ # @param [String] _type
4840
+ # Optional. String of comma-delimited FHIR resource types. If provided, only
4841
+ # resources of the specified resource type(s) are exported.
4842
+ # @param [String] output_format
4843
+ # Optional. Output format of the export. This field is optional and only `
4844
+ # application/fhir+ndjson` is supported.
4845
+ # @param [String] fields
4846
+ # Selector specifying which fields to include in a partial response.
4847
+ # @param [String] quota_user
4848
+ # Available to use for quota purposes for server-side applications. Can be any
4849
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4850
+ # @param [Google::Apis::RequestOptions] options
4851
+ # Request-specific options
4852
+ #
4853
+ # @yield [result, err] Result & error if block supplied
4854
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
4855
+ # @yieldparam err [StandardError] error object if request failed
4856
+ #
4857
+ # @return [Google::Apis::HealthcareV1::HttpBody]
4858
+ #
4859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4862
+ def bulk_project_location_dataset_fhir_store_fhir_export(name, _since: nil, _type: nil, output_format: nil, fields: nil, quota_user: nil, options: nil, &block)
4863
+ command = make_simple_command(:get, 'v1/{+name}/fhir/$export', options)
4864
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
4865
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
4866
+ command.params['name'] = name unless name.nil?
4867
+ command.query['_since'] = _since unless _since.nil?
4868
+ command.query['_type'] = _type unless _type.nil?
4869
+ command.query['outputFormat'] = output_format unless output_format.nil?
4870
+ command.query['fields'] = fields unless fields.nil?
4871
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4872
+ execute_or_queue_command(command, &block)
4873
+ end
4874
+
4709
4875
  # Gets the FHIR capability statement ([STU3](http://hl7.org/implement/standards/
4710
4876
  # fhir/STU3/capabilitystatement.html), [R4](http://hl7.org/implement/standards/
4711
4877
  # fhir/R4/capabilitystatement.html)), or the [conformance statement](http://hl7.
@@ -5404,7 +5570,7 @@ module Google
5404
5570
  # @param [String] parent
5405
5571
  # Required. Name of the FHIR store to retrieve resources from.
5406
5572
  # @param [String] resource_type
5407
- # Required. The FHIR resource type to search, such as Patient or Observation.
5573
+ # Optional. The FHIR resource type to search, such as Patient or Observation.
5408
5574
  # For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/
5409
5575
  # implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/
5410
5576
  # implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/
@@ -5534,6 +5700,83 @@ module Google
5534
5700
  execute_or_queue_command(command, &block)
5535
5701
  end
5536
5702
 
5703
+ # Deletes operations as defined in the FHIR specification. Implements the FHIR
5704
+ # implementation guide [bulk data delete request](https://build.fhir.org/ig/HL7/
5705
+ # bulk-data/export.html#bulk-data-delete-request). Returns success if the
5706
+ # operation was successfully cancelled. If the operation is complete, or has
5707
+ # already been cancelled, returns an error response.
5708
+ # @param [String] name
5709
+ # Required. Name of the operation to be deleted, in the format `projects/`
5710
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/`
5711
+ # fhir_store_id`/operations/`operation_id``.
5712
+ # @param [String] fields
5713
+ # Selector specifying which fields to include in a partial response.
5714
+ # @param [String] quota_user
5715
+ # Available to use for quota purposes for server-side applications. Can be any
5716
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5717
+ # @param [Google::Apis::RequestOptions] options
5718
+ # Request-specific options
5719
+ #
5720
+ # @yield [result, err] Result & error if block supplied
5721
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
5722
+ # @yieldparam err [StandardError] error object if request failed
5723
+ #
5724
+ # @return [Google::Apis::HealthcareV1::HttpBody]
5725
+ #
5726
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5727
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5728
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5729
+ def delete_project_location_dataset_fhir_store_operation_fhir_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5730
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5731
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
5732
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
5733
+ command.params['name'] = name unless name.nil?
5734
+ command.query['fields'] = fields unless fields.nil?
5735
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5736
+ execute_or_queue_command(command, &block)
5737
+ end
5738
+
5739
+ # Gets the status of operations as defined in the FHIR specification. Implements
5740
+ # the FHIR implementation guide [bulk data status request](https://build.fhir.
5741
+ # org/ig/HL7/bulk-data/export.html#bulk-data-status-request). Operations can
5742
+ # have one of these states: * in-progress: response status code is `202` and `X-
5743
+ # Progress` header is set to `in progress`. * complete: response status code is `
5744
+ # 200` and the body is a JSON-encoded operation response as defined by the spec.
5745
+ # For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/
5746
+ # bulk-data/export.html#response---complete-status. * error: response status
5747
+ # code is `5XX`, and the body is a JSON-encoded `OperationOutcome` resource
5748
+ # describing the reason for the error.
5749
+ # @param [String] name
5750
+ # Required. Name of the operation to query, in the format `projects/`project_id`/
5751
+ # locations/`location_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id`/
5752
+ # operations/`operation_id``.
5753
+ # @param [String] fields
5754
+ # Selector specifying which fields to include in a partial response.
5755
+ # @param [String] quota_user
5756
+ # Available to use for quota purposes for server-side applications. Can be any
5757
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5758
+ # @param [Google::Apis::RequestOptions] options
5759
+ # Request-specific options
5760
+ #
5761
+ # @yield [result, err] Result & error if block supplied
5762
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
5763
+ # @yieldparam err [StandardError] error object if request failed
5764
+ #
5765
+ # @return [Google::Apis::HealthcareV1::HttpBody]
5766
+ #
5767
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5768
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5769
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5770
+ def get_project_location_dataset_fhir_store_operation_fhir_operation_status(name, fields: nil, quota_user: nil, options: nil, &block)
5771
+ command = make_simple_command(:get, 'v1/{+name}', options)
5772
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
5773
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
5774
+ command.params['name'] = name unless name.nil?
5775
+ command.query['fields'] = fields unless fields.nil?
5776
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5777
+ execute_or_queue_command(command, &block)
5778
+ end
5779
+
5537
5780
  # Creates a new HL7v2 store within the parent dataset.
5538
5781
  # @param [String] parent
5539
5782
  # Required. The name of the dataset this HL7v2 store belongs to.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.71.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Healthcare API V1
82
79
  test_files: []