google-apis-healthcare_v1beta1 0.69.0 → 0.71.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: b13954c83a93ce78732c93ed409b41c709ad9583970d418c123b24a1088b3425
4
- data.tar.gz: 63fc803c9c26ed71d15f5667d6f8000e2af060ef1f02aaa16eb87bbc923e1a66
3
+ metadata.gz: ebef2bab845ab0fc1e90e2c808645c3b4888b7b3951d94c908dd7f281aa1a12d
4
+ data.tar.gz: c88728280a17bb46b8d17000f96e10cb9b981a98e027d4d7f4f776e4f4e0695d
5
5
  SHA512:
6
- metadata.gz: 392748b3ba6a889d7080d04be73f01d269d808557d444f3a072648cc9b43939e1f9970e3c9f31d93bd64f4d93890da49347e345a98548686b41a6bbab8c4a044
7
- data.tar.gz: a0413efe69d5bb3b24f4ba4d1850a2b581744d0241c19fbbcc57849bcdcbc0371d7e6b28671b9947bbeb529e3cd80c3b47d21d0dc070a7207bd3f75ae4e605a6
6
+ metadata.gz: f291f1f6a8fd5b593342971deafa613f6eba6f1fa6e7e8db01a97e095d893309b1fd5d45b6cb7c96d3c9860b950def389b9ae21b9a22d6077add023fde41101e
7
+ data.tar.gz: 57f25cd809af6802abf84c86ee9fcc3f5e5cd4285b85f07e3fe7a1cde0bd85d2024e58065fa255c57dd2303950473aa672e5dcf5bf47030bd5d34c19eaec9037
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.71.0 (2024-06-02)
4
+
5
+ * Regenerated from discovery document revision 20240521
6
+
7
+ ### v0.70.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240508
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.69.0 (2024-04-28)
4
13
 
5
14
  * Regenerated from discovery document revision 20240425
@@ -2851,6 +2851,50 @@ 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 Cloud Storage.
2873
+ # Corresponds to the JSON property `gcsDestination`
2874
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
2875
+ attr_accessor :gcs_destination
2876
+
2877
+ # If provided and non-zero, places a limit on the number of resource versions
2878
+ # that are returned for a given resource. For example, if the limit is `100` and
2879
+ # a resource has over 100 versions, only the 100 most recent versions will be
2880
+ # returned. Must be positive.
2881
+ # Corresponds to the JSON property `maxResourceVersions`
2882
+ # @return [Fixnum]
2883
+ attr_accessor :max_resource_versions
2884
+
2885
+ def initialize(**args)
2886
+ update!(**args)
2887
+ end
2888
+
2889
+ # Update properties of this object
2890
+ def update!(**args)
2891
+ @_since = args[:_since] if args.key?(:_since)
2892
+ @_type = args[:_type] if args.key?(:_type)
2893
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2894
+ @max_resource_versions = args[:max_resource_versions] if args.key?(:max_resource_versions)
2895
+ end
2896
+ end
2897
+
2854
2898
  # Request to export resources.
2855
2899
  class ExportResourcesRequest
2856
2900
  include Google::Apis::Core::Hashable
@@ -4693,6 +4737,41 @@ module Google
4693
4737
  end
4694
4738
  end
4695
4739
 
4740
+ # Request to import the history of resources.
4741
+ class ImportResourcesHistoryRequest
4742
+ include Google::Apis::Core::Hashable
4743
+
4744
+ # The content structure in the source location. If not specified, the server
4745
+ # treats the input source files as BUNDLE.
4746
+ # Corresponds to the JSON property `contentStructure`
4747
+ # @return [String]
4748
+ attr_accessor :content_structure
4749
+
4750
+ # Specifies the configuration for importing data from Cloud Storage.
4751
+ # Corresponds to the JSON property `gcsSource`
4752
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
4753
+ attr_accessor :gcs_source
4754
+
4755
+ # The maximum number of errors before the server cancels the operation. If not
4756
+ # specified or set to 0, defaults to 100. -1 means no maximum, the server tries
4757
+ # to process all input. Since the server executes the operation in parallel, it
4758
+ # might not stop the operation after exactly this number of errors occur.
4759
+ # Corresponds to the JSON property `maxErrorCount`
4760
+ # @return [Fixnum]
4761
+ attr_accessor :max_error_count
4762
+
4763
+ def initialize(**args)
4764
+ update!(**args)
4765
+ end
4766
+
4767
+ # Update properties of this object
4768
+ def update!(**args)
4769
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
4770
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
4771
+ @max_error_count = args[:max_error_count] if args.key?(:max_error_count)
4772
+ end
4773
+ end
4774
+
4696
4775
  # Request to import resources.
4697
4776
  class ImportResourcesRequest
4698
4777
  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.71.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 = "20240521"
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,17 @@ 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 :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination::Representation
2139
+
2140
+ property :max_resource_versions, :numeric_string => true, as: 'maxResourceVersions'
2141
+ end
2142
+ end
2143
+
2121
2144
  class ExportResourcesRequest
2122
2145
  # @private
2123
2146
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2596,6 +2619,16 @@ module Google
2596
2619
  end
2597
2620
  end
2598
2621
 
2622
+ class ImportResourcesHistoryRequest
2623
+ # @private
2624
+ class Representation < Google::Apis::Core::JsonRepresentation
2625
+ property :content_structure, as: 'contentStructure'
2626
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource::Representation
2627
+
2628
+ property :max_error_count, :numeric_string => true, as: 'maxErrorCount'
2629
+ end
2630
+ end
2631
+
2599
2632
  class ImportResourcesRequest
2600
2633
  # @private
2601
2634
  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.71.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-06-02 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.71.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: []