google-apis-healthcare_v1beta1 0.10.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: 971bd102072b0fe4c5ea5ed4076ff0113bb80e31e8390741715d6ce720054d46
4
- data.tar.gz: a0cb4d4a6445f78c8675e23bf4f2caef451c0a57d2d479498d33feae32bdfefb
3
+ metadata.gz: 43c499651163496b89f53c2f5448719c23809e43249d54a96af0ff9cef654017
4
+ data.tar.gz: b8cb27fe67c4a52354ee90e17a10395f0aad0368e0b4d2019e08ae4de818626f
5
5
  SHA512:
6
- metadata.gz: 38d81bb199a0d9a81f99c892d4f9dec3090cfaaf030229cff80349831d54c6aad8f426b419154f7a959b4bdc5b98b6fa9a095cf626db692e4886facfb8c5cb7f
7
- data.tar.gz: b112f2a8fe95f64d980bdb355b7b59f8bfa55ac5cdd82f3407f5ddb5e9d67b9d547f0d4c0a1a6a1685d0b145880457c52964b34a25bc4fa0c184817656ff74b7
6
+ metadata.gz: a95928451db4742e17fa764db1161c494987995c08ccc27821b0b0dabe241225d597204f64a0d067353e39beb12dae129fed8076288ea598fff497a7ddc864fb
7
+ data.tar.gz: 32af0a61baad477270ba82066d2387513f2fec8469f10954a4abb7abb7db6213faab80aeaabb1231c908ab0e559e941d107ab83d35d8bcd8f326a751fba52f0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.10.0 (2021-06-24)
4
9
 
5
10
  * Regenerated from discovery document revision 20210611
@@ -677,6 +677,36 @@ module Google
677
677
  end
678
678
  end
679
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
+
680
710
  # Represents a user's consent.
681
711
  class Consent
682
712
  include Google::Apis::Core::Hashable
@@ -2007,6 +2037,11 @@ module Google
2007
2037
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
2008
2038
  attr_accessor :notification_config
2009
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
+
2010
2045
  # A list of streaming configs that configure the destinations of streaming
2011
2046
  # export for every resource mutation in this FHIR store. Each store is allowed
2012
2047
  # to have up to 10 streaming configs. After a new config is added, the next
@@ -2048,6 +2083,7 @@ module Google
2048
2083
  @labels = args[:labels] if args.key?(:labels)
2049
2084
  @name = args[:name] if args.key?(:name)
2050
2085
  @notification_config = args[:notification_config] if args.key?(:notification_config)
2086
+ @search_config = args[:search_config] if args.key?(:search_config)
2051
2087
  @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
2052
2088
  @validation_config = args[:validation_config] if args.key?(:validation_config)
2053
2089
  @version = args[:version] if args.key?(:version)
@@ -4635,6 +4671,56 @@ module Google
4635
4671
  end
4636
4672
  end
4637
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
+
4638
4724
  # Request to search the resources in the specified FHIR store.
4639
4725
  class SearchResourcesRequest
4640
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.10.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.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210611"
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
 
@@ -862,6 +868,18 @@ module Google
862
868
  include Google::Apis::Core::JsonObjectSupport
863
869
  end
864
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
+
865
883
  class SearchResourcesRequest
866
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
885
 
@@ -1149,6 +1167,14 @@ module Google
1149
1167
  end
1150
1168
  end
1151
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
+
1152
1178
  class Consent
1153
1179
  # @private
1154
1180
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1516,6 +1542,8 @@ module Google
1516
1542
  property :name, as: 'name'
1517
1543
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
1518
1544
 
1545
+ property :search_config, as: 'searchConfig', class: Google::Apis::HealthcareV1beta1::SearchConfig, decorator: Google::Apis::HealthcareV1beta1::SearchConfig::Representation
1546
+
1519
1547
  collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1beta1::StreamConfig, decorator: Google::Apis::HealthcareV1beta1::StreamConfig::Representation
1520
1548
 
1521
1549
  property :validation_config, as: 'validationConfig', class: Google::Apis::HealthcareV1beta1::ValidationConfig, decorator: Google::Apis::HealthcareV1beta1::ValidationConfig::Representation
@@ -2249,6 +2277,22 @@ module Google
2249
2277
  end
2250
2278
  end
2251
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
+
2252
2296
  class SearchResourcesRequest
2253
2297
  # @private
2254
2298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3853,6 +3853,46 @@ module Google
3853
3853
  execute_or_queue_command(command, &block)
3854
3854
  end
3855
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
+
3856
3896
  # Creates a new FHIR store within the parent dataset.
3857
3897
  # @param [String] parent
3858
3898
  # The name of the dataset this FHIR store belongs to.
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.10.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-06-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
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.3'
29
+ version: '0.4'
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/master/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []