google-apis-healthcare_v1beta1 0.69.0 → 0.70.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: b13954c83a93ce78732c93ed409b41c709ad9583970d418c123b24a1088b3425
4
- data.tar.gz: 63fc803c9c26ed71d15f5667d6f8000e2af060ef1f02aaa16eb87bbc923e1a66
3
+ metadata.gz: b04934346c8db9b24bfc0c5ab4e7e3831c10af991ff852f86d11091fe252c0be
4
+ data.tar.gz: 3ef927c2f11e775f34fdd0c14ee22f31460791bccc3acd3a4eb87b0af9195d37
5
5
  SHA512:
6
- metadata.gz: 392748b3ba6a889d7080d04be73f01d269d808557d444f3a072648cc9b43939e1f9970e3c9f31d93bd64f4d93890da49347e345a98548686b41a6bbab8c4a044
7
- data.tar.gz: a0413efe69d5bb3b24f4ba4d1850a2b581744d0241c19fbbcc57849bcdcbc0371d7e6b28671b9947bbeb529e3cd80c3b47d21d0dc070a7207bd3f75ae4e605a6
6
+ metadata.gz: 404043e1599060c12a44d4e3b90b3106916ea6332ba9cd0bf678d404405fce6947e7ec0b1d5bc8f0c6e1b0b17a751c9d021eec34dcfc8e569218e49bab4d2d5c
7
+ data.tar.gz: 6b79bea002bb3ed69a70098a6ce8d58ea696c2525dd405a23c4caf68bd9d13f7b1a8b858c0c8f425f0872fc92450e47bc8575453474c77021ae4914abe4d5647
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.70.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240508
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.69.0 (2024-04-28)
4
9
 
5
10
  * Regenerated from discovery document revision 20240425
@@ -2851,6 +2851,56 @@ module Google
2851
2851
  end
2852
2852
  end
2853
2853
 
2854
+ # Request to export the history of resources.
2855
+ class ExportResourcesHistoryRequest
2856
+ include Google::Apis::Core::Hashable
2857
+
2858
+ # If provided, only resources versions updated after this time are exported. The
2859
+ # time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For example, `2015-02-
2860
+ # 07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The time must be specified
2861
+ # to the second and include a time zone.
2862
+ # Corresponds to the JSON property `_since`
2863
+ # @return [String]
2864
+ attr_accessor :_since
2865
+
2866
+ # String of comma-delimited FHIR resource types. If provided, only resources of
2867
+ # the specified resource type(s) are exported.
2868
+ # Corresponds to the JSON property `_type`
2869
+ # @return [String]
2870
+ attr_accessor :_type
2871
+
2872
+ # The configuration for exporting to BigQuery.
2873
+ # Corresponds to the JSON property `bigqueryDestination`
2874
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination]
2875
+ attr_accessor :bigquery_destination
2876
+
2877
+ # The configuration for exporting to Cloud Storage.
2878
+ # Corresponds to the JSON property `gcsDestination`
2879
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
2880
+ attr_accessor :gcs_destination
2881
+
2882
+ # If provided and non-zero, places a limit on the number of resource versions
2883
+ # that are returned for a given resource. For example, if the limit is `100` and
2884
+ # a resource has over 100 versions, only the 100 most recent versions will be
2885
+ # returned. Must be positive.
2886
+ # Corresponds to the JSON property `maxResourceVersions`
2887
+ # @return [Fixnum]
2888
+ attr_accessor :max_resource_versions
2889
+
2890
+ def initialize(**args)
2891
+ update!(**args)
2892
+ end
2893
+
2894
+ # Update properties of this object
2895
+ def update!(**args)
2896
+ @_since = args[:_since] if args.key?(:_since)
2897
+ @_type = args[:_type] if args.key?(:_type)
2898
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2899
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2900
+ @max_resource_versions = args[:max_resource_versions] if args.key?(:max_resource_versions)
2901
+ end
2902
+ end
2903
+
2854
2904
  # Request to export resources.
2855
2905
  class ExportResourcesRequest
2856
2906
  include Google::Apis::Core::Hashable
@@ -4693,6 +4743,41 @@ module Google
4693
4743
  end
4694
4744
  end
4695
4745
 
4746
+ # Request to import the history of resources.
4747
+ class ImportResourcesHistoryRequest
4748
+ include Google::Apis::Core::Hashable
4749
+
4750
+ # The content structure in the source location. If not specified, the server
4751
+ # treats the input source files as BUNDLE.
4752
+ # Corresponds to the JSON property `contentStructure`
4753
+ # @return [String]
4754
+ attr_accessor :content_structure
4755
+
4756
+ # Specifies the configuration for importing data from Cloud Storage.
4757
+ # Corresponds to the JSON property `gcsSource`
4758
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
4759
+ attr_accessor :gcs_source
4760
+
4761
+ # The maximum number of errors before the server cancels the operation. If not
4762
+ # specified or set to 0, defaults to 100. -1 means no maximum, the server tries
4763
+ # to process all input. Since the server executes the operation in parallel, it
4764
+ # might not stop the operation after exactly this number of errors occur.
4765
+ # Corresponds to the JSON property `maxErrorCount`
4766
+ # @return [Fixnum]
4767
+ attr_accessor :max_error_count
4768
+
4769
+ def initialize(**args)
4770
+ update!(**args)
4771
+ end
4772
+
4773
+ # Update properties of this object
4774
+ def update!(**args)
4775
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
4776
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4777
+ @max_error_count = args[:max_error_count] if args.key?(:max_error_count)
4778
+ end
4779
+ end
4780
+
4696
4781
  # Request to import resources.
4697
4782
  class ImportResourcesRequest
4698
4783
  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.69.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240425"
25
+ REVISION = "20240508"
26
26
  end
27
27
  end
28
28
  end
@@ -508,6 +508,12 @@ module Google
508
508
  include Google::Apis::Core::JsonObjectSupport
509
509
  end
510
510
 
511
+ class ExportResourcesHistoryRequest
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
511
517
  class ExportResourcesRequest
512
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
519
 
@@ -820,6 +826,12 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class ImportResourcesHistoryRequest
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
823
835
  class ImportResourcesRequest
824
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
837
 
@@ -2118,6 +2130,19 @@ module Google
2118
2130
  end
2119
2131
  end
2120
2132
 
2133
+ class ExportResourcesHistoryRequest
2134
+ # @private
2135
+ class Representation < Google::Apis::Core::JsonRepresentation
2136
+ property :_since, as: '_since'
2137
+ property :_type, as: '_type'
2138
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination::Representation
2139
+
2140
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination::Representation
2141
+
2142
+ property :max_resource_versions, :numeric_string => true, as: 'maxResourceVersions'
2143
+ end
2144
+ end
2145
+
2121
2146
  class ExportResourcesRequest
2122
2147
  # @private
2123
2148
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2596,6 +2621,16 @@ module Google
2596
2621
  end
2597
2622
  end
2598
2623
 
2624
+ class ImportResourcesHistoryRequest
2625
+ # @private
2626
+ class Representation < Google::Apis::Core::JsonRepresentation
2627
+ property :content_structure, as: 'contentStructure'
2628
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource::Representation
2629
+
2630
+ property :max_error_count, :numeric_string => true, as: 'maxErrorCount'
2631
+ end
2632
+ end
2633
+
2599
2634
  class ImportResourcesRequest
2600
2635
  # @private
2601
2636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4577,6 +4577,50 @@ module Google
4577
4577
  execute_or_queue_command(command, &block)
4578
4578
  end
4579
4579
 
4580
+ # Export resources including historical versions from the FHIR store to the
4581
+ # specified destination. The exported resource, along with previous versions,
4582
+ # will be exported in one or more FHIR history bundles. This method returns an
4583
+ # Operation that can be used to track the status of the export by calling
4584
+ # GetOperation. Immediate fatal errors appear in the error field, errors are
4585
+ # also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https:/
4586
+ # /cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the
4587
+ # operation finishes, a detailed response of type ExportResourcesResponse is
4588
+ # returned in the response field. The metadata field type for this operation is
4589
+ # OperationMetadata.
4590
+ # @param [String] name
4591
+ # Required. The name of the FHIR store to export resource from, in the format `
4592
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
4593
+ # `fhir_store_id``.
4594
+ # @param [Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest] export_resources_history_request_object
4595
+ # @param [String] fields
4596
+ # Selector specifying which fields to include in a partial response.
4597
+ # @param [String] quota_user
4598
+ # Available to use for quota purposes for server-side applications. Can be any
4599
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4600
+ # @param [Google::Apis::RequestOptions] options
4601
+ # Request-specific options
4602
+ #
4603
+ # @yield [result, err] Result & error if block supplied
4604
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
4605
+ # @yieldparam err [StandardError] error object if request failed
4606
+ #
4607
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
4608
+ #
4609
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4610
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4611
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4612
+ def export_project_location_dataset_fhir_store_history(name, export_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4613
+ command = make_simple_command(:post, 'v1beta1/{+name}:exportHistory', options)
4614
+ command.request_representation = Google::Apis::HealthcareV1beta1::ExportResourcesHistoryRequest::Representation
4615
+ command.request_object = export_resources_history_request_object
4616
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
4617
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
4618
+ command.params['name'] = name unless name.nil?
4619
+ command.query['fields'] = fields unless fields.nil?
4620
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4621
+ execute_or_queue_command(command, &block)
4622
+ end
4623
+
4580
4624
  # Gets the configuration of the specified FHIR store.
4581
4625
  # @param [String] name
4582
4626
  # Required. The resource name of the FHIR store to get.
@@ -4769,6 +4813,50 @@ module Google
4769
4813
  execute_or_queue_command(command, &block)
4770
4814
  end
4771
4815
 
4816
+ # Import resource historical versions from Cloud Storage source to destination
4817
+ # fhir store. The exported resource, along with previous versions, will be
4818
+ # exported in one or more FHIR history bundles. This method returns an Operation
4819
+ # that can be used to track the status of the export by calling GetOperation.
4820
+ # Immediate fatal errors appear in the error field, errors are also logged to
4821
+ # Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.
4822
+ # com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes,
4823
+ # a detailed response of type ImportResourcesResponse is returned in the
4824
+ # response field. The metadata field type for this operation is
4825
+ # OperationMetadata.
4826
+ # @param [String] name
4827
+ # Required. The name of the FHIR store to import FHIR resources to, in the
4828
+ # format of `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
4829
+ # fhirStores/`fhir_store_id``.
4830
+ # @param [Google::Apis::HealthcareV1beta1::ImportResourcesHistoryRequest] import_resources_history_request_object
4831
+ # @param [String] fields
4832
+ # Selector specifying which fields to include in a partial response.
4833
+ # @param [String] quota_user
4834
+ # Available to use for quota purposes for server-side applications. Can be any
4835
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4836
+ # @param [Google::Apis::RequestOptions] options
4837
+ # Request-specific options
4838
+ #
4839
+ # @yield [result, err] Result & error if block supplied
4840
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
4841
+ # @yieldparam err [StandardError] error object if request failed
4842
+ #
4843
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
4844
+ #
4845
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4846
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4847
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4848
+ def import_project_location_dataset_fhir_store_history(name, import_resources_history_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4849
+ command = make_simple_command(:post, 'v1beta1/{+name}:importHistory', options)
4850
+ command.request_representation = Google::Apis::HealthcareV1beta1::ImportResourcesHistoryRequest::Representation
4851
+ command.request_object = import_resources_history_request_object
4852
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
4853
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
4854
+ command.params['name'] = name unless name.nil?
4855
+ command.query['fields'] = fields unless fields.nil?
4856
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4857
+ execute_or_queue_command(command, &block)
4858
+ end
4859
+
4772
4860
  # Lists the FHIR stores in the given dataset.
4773
4861
  # @param [String] parent
4774
4862
  # Required. Name of the dataset.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.69.0
4
+ version: 0.70.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: 2024-04-28 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.69.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []