google-apis-healthcare_v1 0.1.0 → 0.2.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: 9b41cff94f66c9cae9713edc92fde7cd5048e864e4ba81a865ce4d7f1525fb2c
4
- data.tar.gz: f68b907260cb9dde73cfb034bfe2014b7fb1607a75d1c6e9ff21dbe8fdf5f5f3
3
+ metadata.gz: 882ca8b6c1b528bea416ee217eccaed9044075d981943d62300091ef021f5d7b
4
+ data.tar.gz: b00068b7de55daec0c0b73905fa8a16f93635eaf3ddcd97e59c2ecb17acfbd22
5
5
  SHA512:
6
- metadata.gz: 1cb85c6f036047267c6eb14e0595ca63abcb65a3bf97cab0ff4d80f063334802eb2f7af640238d9fe52ca6be1e864821b25fd8025a6f8ccf89947b14c9f1f3fb
7
- data.tar.gz: 75b0b7a190330dd1c095363f7d0b94050cf4e59ae71d17ac4c82daee707f2f027df7831bf74d300d5159a961a3dc1bc1a07b3d131ff41aa0a8c99cc1d9a56041
6
+ metadata.gz: 705943a8d282166cb2af839dabe8965aa6b09fd3b4bbb5e25060fd5bc528413da00d1a2a8df5f6779f0888613d3b5064c74e6c1f88e7956f1daf393e28f4737d
7
+ data.tar.gz: 604d81c5e22cde796ec9fa6928fbf1b28f8c66131448680d2694d53c9ee7af1eb7475c79e7db544cda477106aeb777ecd8f4bc0e4e2da0e6066ec16d0ed015e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.2.0 (2021-02-05)
4
+
5
+ * Regenerated from discovery document revision 20210203
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -790,10 +790,11 @@ module Google
790
790
  # updateCreate). This determines if the client can use an Update operation to
791
791
  # create a new resource with a client-specified ID. If false, all IDs are server-
792
792
  # assigned through the Create operation and attempts to update a non-existent
793
- # resource return errors. Be careful with the audit logs if client-specified
794
- # resource IDs contain sensitive data such as patient identifiers, those IDs are
795
- # part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub
796
- # notifications.
793
+ # resource return errors. It is strongly advised not to include or encode any
794
+ # sensitive data such as patient identifiers in client-specified resource IDs.
795
+ # Those IDs are part of the FHIR resource path recorded in Cloud audit logs and
796
+ # Cloud Pub/Sub notifications. Those IDs can also be contained in reference
797
+ # fields within other resources.
797
798
  # Corresponds to the JSON property `enableUpdateCreate`
798
799
  # @return [Boolean]
799
800
  attr_accessor :enable_update_create
@@ -1037,7 +1038,10 @@ module Google
1037
1038
 
1038
1039
  # If this flag is `TRUE`, all tables are deleted from the dataset before the new
1039
1040
  # exported tables are written. If the flag is not set and the destination
1040
- # dataset contains tables, the export call returns an error.
1041
+ # dataset contains tables, the export call returns an error. If `
1042
+ # write_disposition` is specified, this parameter is ignored. force=false is
1043
+ # equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to
1044
+ # write_disposition=WRITE_TRUNCATE.
1041
1045
  # Corresponds to the JSON property `force`
1042
1046
  # @return [Boolean]
1043
1047
  attr_accessor :force
@@ -1049,6 +1053,13 @@ module Google
1049
1053
  # @return [Google::Apis::HealthcareV1::SchemaConfig]
1050
1054
  attr_accessor :schema_config
1051
1055
 
1056
+ # Determines whether existing tables in the destination dataset are overwritten
1057
+ # or appended to. If a write_disposition is specified, the `force` parameter is
1058
+ # ignored.
1059
+ # Corresponds to the JSON property `writeDisposition`
1060
+ # @return [String]
1061
+ attr_accessor :write_disposition
1062
+
1052
1063
  def initialize(**args)
1053
1064
  update!(**args)
1054
1065
  end
@@ -1058,6 +1069,7 @@ module Google
1058
1069
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
1059
1070
  @force = args[:force] if args.key?(:force)
1060
1071
  @schema_config = args[:schema_config] if args.key?(:schema_config)
1072
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1061
1073
  end
1062
1074
  end
1063
1075
 
@@ -1962,7 +1974,7 @@ module Google
1962
1974
  alias_method :allow_null_header?, :allow_null_header
1963
1975
 
1964
1976
  # Byte(s) to use as the segment terminator. If this is unset, '\r' is used as
1965
- # segment terminator.
1977
+ # segment terminator, matching the HL7 version 2 specification.
1966
1978
  # Corresponds to the JSON property `segmentTerminator`
1967
1979
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1968
1980
  # @return [String]
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201202"
25
+ REVISION = "20210203"
26
26
  end
27
27
  end
28
28
  end
@@ -758,6 +758,7 @@ module Google
758
758
  property :force, as: 'force'
759
759
  property :schema_config, as: 'schemaConfig', class: Google::Apis::HealthcareV1::SchemaConfig, decorator: Google::Apis::HealthcareV1::SchemaConfig::Representation
760
760
 
761
+ property :write_disposition, as: 'writeDisposition'
761
762
  end
762
763
  end
763
764
 
@@ -455,6 +455,121 @@ module Google
455
455
  execute_or_queue_command(command, &block)
456
456
  end
457
457
 
458
+ # Gets the access control policy for a resource. Returns an empty policy if the
459
+ # resource exists and does not have a policy set.
460
+ # @param [String] resource
461
+ # REQUIRED: The resource for which the policy is being requested. See the
462
+ # operation documentation for the appropriate value for this field.
463
+ # @param [Fixnum] options_requested_policy_version
464
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
465
+ # 3. Requests specifying an invalid value will be rejected. Requests for
466
+ # policies with any conditional bindings must specify version 3. Policies
467
+ # without any conditional bindings may specify any valid value or leave the
468
+ # field unset. To learn which resources support conditions in their IAM policies,
469
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
470
+ # resource-policies).
471
+ # @param [String] fields
472
+ # Selector specifying which fields to include in a partial response.
473
+ # @param [String] quota_user
474
+ # Available to use for quota purposes for server-side applications. Can be any
475
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
476
+ # @param [Google::Apis::RequestOptions] options
477
+ # Request-specific options
478
+ #
479
+ # @yield [result, err] Result & error if block supplied
480
+ # @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
481
+ # @yieldparam err [StandardError] error object if request failed
482
+ #
483
+ # @return [Google::Apis::HealthcareV1::Policy]
484
+ #
485
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
486
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
487
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
488
+ def get_project_location_dataset_consent_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
489
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
490
+ command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
491
+ command.response_class = Google::Apis::HealthcareV1::Policy
492
+ command.params['resource'] = resource unless resource.nil?
493
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
494
+ command.query['fields'] = fields unless fields.nil?
495
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
496
+ execute_or_queue_command(command, &block)
497
+ end
498
+
499
+ # Sets the access control policy on the specified resource. Replaces any
500
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
501
+ # PERMISSION_DENIED` errors.
502
+ # @param [String] resource
503
+ # REQUIRED: The resource for which the policy is being specified. See the
504
+ # operation documentation for the appropriate value for this field.
505
+ # @param [Google::Apis::HealthcareV1::SetIamPolicyRequest] set_iam_policy_request_object
506
+ # @param [String] fields
507
+ # Selector specifying which fields to include in a partial response.
508
+ # @param [String] quota_user
509
+ # Available to use for quota purposes for server-side applications. Can be any
510
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
511
+ # @param [Google::Apis::RequestOptions] options
512
+ # Request-specific options
513
+ #
514
+ # @yield [result, err] Result & error if block supplied
515
+ # @yieldparam result [Google::Apis::HealthcareV1::Policy] parsed result object
516
+ # @yieldparam err [StandardError] error object if request failed
517
+ #
518
+ # @return [Google::Apis::HealthcareV1::Policy]
519
+ #
520
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
521
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
522
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
523
+ def set_consent_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
524
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
525
+ command.request_representation = Google::Apis::HealthcareV1::SetIamPolicyRequest::Representation
526
+ command.request_object = set_iam_policy_request_object
527
+ command.response_representation = Google::Apis::HealthcareV1::Policy::Representation
528
+ command.response_class = Google::Apis::HealthcareV1::Policy
529
+ command.params['resource'] = resource unless resource.nil?
530
+ command.query['fields'] = fields unless fields.nil?
531
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
532
+ execute_or_queue_command(command, &block)
533
+ end
534
+
535
+ # Returns permissions that a caller has on the specified resource. If the
536
+ # resource does not exist, this will return an empty set of permissions, not a `
537
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
538
+ # permission-aware UIs and command-line tools, not for authorization checking.
539
+ # This operation may "fail open" without warning.
540
+ # @param [String] resource
541
+ # REQUIRED: The resource for which the policy detail is being requested. See the
542
+ # operation documentation for the appropriate value for this field.
543
+ # @param [Google::Apis::HealthcareV1::TestIamPermissionsRequest] test_iam_permissions_request_object
544
+ # @param [String] fields
545
+ # Selector specifying which fields to include in a partial response.
546
+ # @param [String] quota_user
547
+ # Available to use for quota purposes for server-side applications. Can be any
548
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
549
+ # @param [Google::Apis::RequestOptions] options
550
+ # Request-specific options
551
+ #
552
+ # @yield [result, err] Result & error if block supplied
553
+ # @yieldparam result [Google::Apis::HealthcareV1::TestIamPermissionsResponse] parsed result object
554
+ # @yieldparam err [StandardError] error object if request failed
555
+ #
556
+ # @return [Google::Apis::HealthcareV1::TestIamPermissionsResponse]
557
+ #
558
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
559
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
560
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
561
+ def test_consent_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
562
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
563
+ command.request_representation = Google::Apis::HealthcareV1::TestIamPermissionsRequest::Representation
564
+ command.request_object = test_iam_permissions_request_object
565
+ command.response_representation = Google::Apis::HealthcareV1::TestIamPermissionsResponse::Representation
566
+ command.response_class = Google::Apis::HealthcareV1::TestIamPermissionsResponse
567
+ command.params['resource'] = resource unless resource.nil?
568
+ command.query['fields'] = fields unless fields.nil?
569
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
570
+ execute_or_queue_command(command, &block)
571
+ end
572
+
458
573
  # Creates a new DICOM store within the parent dataset.
459
574
  # @param [String] parent
460
575
  # The name of the dataset this DICOM store belongs to.
@@ -1962,7 +2077,11 @@ module Google
1962
2077
  # method is not appropriate, consider using ExecuteBundle to load data. Every
1963
2078
  # resource in the input must contain a client-supplied ID. Each resource is
1964
2079
  # stored using the supplied ID regardless of the enable_update_create setting on
1965
- # the FHIR store. The import process does not enforce referential integrity,
2080
+ # the FHIR store. It is strongly advised not to include or encode any sensitive
2081
+ # data such as patient identifiers in client-specified resource IDs. Those IDs
2082
+ # are part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/
2083
+ # Sub notifications. Those IDs can also be contained in reference fields within
2084
+ # other resources. The import process does not enforce referential integrity,
1966
2085
  # regardless of the disable_referential_integrity setting on the FHIR store.
1967
2086
  # This allows the import of resources with arbitrary interdependencies without
1968
2087
  # considering grouping or ordering, but if the input data contains invalid
@@ -2661,37 +2780,39 @@ module Google
2661
2780
  # described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/
2662
2781
  # standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/
2663
2782
  # fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.
2664
- # html)). Supports three methods of search defined by the specification: * `GET [
2783
+ # html)). Supports four methods of search defined by the specification: * `GET [
2665
2784
  # base]?[parameters]` to search across all resources. * `GET [base]/[type]?[
2666
- # parameters]` to search resources of a specified type. * `POST [base]/[type]/
2667
- # _search?[parameters]` as an alternate form having the same semantics as the `
2668
- # GET` method. The `GET` methods do not support compartment searches. The `POST`
2669
- # method does not support `application/x-www-form-urlencoded` search parameters.
2670
- # On success, the response body will contain a JSON-encoded representation of a `
2671
- # Bundle` resource of type `searchset`, containing the results of the search.
2672
- # Errors generated by the FHIR store will contain a JSON-encoded `
2673
- # OperationOutcome` resource describing the reason for the error. If the request
2674
- # cannot be mapped to a valid API method on a FHIR store, a generic GCP error
2675
- # might be returned instead. The server's capability statement, retrieved
2676
- # through capabilities, indicates what search parameters are supported on each
2677
- # FHIR resource. A list of all search parameters defined by the specification
2678
- # can be found in the FHIR Search Parameter Registry ([STU3](http://hl7.org/
2679
- # implement/standards/fhir/STU3/searchparameter-registry.html), [R4](http://hl7.
2680
- # org/implement/standards/fhir/R4/searchparameter-registry.html)). FHIR search
2681
- # parameters for DSTU2 can be found on each resource's definition page.
2682
- # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `:in`,
2683
- # `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`. Supported
2684
- # search result parameters: `_sort`, `_count`, `_include`, `_revinclude`, `
2685
- # _summary=text`, `_summary=data`, and `_elements`. The maximum number of search
2686
- # results returned defaults to 100, which can be overridden by the `_count`
2687
- # parameter up to a maximum limit of 1000. If there are additional results, the
2688
- # returned `Bundle` will contain pagination links. Resources with a total size
2689
- # larger than 5MB or a field count larger than 50,000 might not be fully
2690
- # searchable as the server might trim its generated search index in those cases.
2691
- # Note: FHIR resources are indexed asynchronously, so there might be a slight
2692
- # delay between the time a resource is created or changes and when the change is
2693
- # reflected in search results. For samples and detailed information, see [
2694
- # Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [
2785
+ # parameters]` to search resources of a specified type. * `POST [base]/_search?[
2786
+ # parameters]` as an alternate form having the same semantics as the `GET`
2787
+ # method across all resources. * `POST [base]/[type]/_search?[parameters]` as an
2788
+ # alternate form having the same semantics as the `GET` method for the specified
2789
+ # type. The `GET` and `POST` methods do not support compartment searches. The `
2790
+ # POST` method does not support `application/x-www-form-urlencoded` search
2791
+ # parameters. On success, the response body will contain a JSON-encoded
2792
+ # representation of a `Bundle` resource of type `searchset`, containing the
2793
+ # results of the search. Errors generated by the FHIR store will contain a JSON-
2794
+ # encoded `OperationOutcome` resource describing the reason for the error. If
2795
+ # the request cannot be mapped to a valid API method on a FHIR store, a generic
2796
+ # GCP error might be returned instead. The server's capability statement,
2797
+ # retrieved through capabilities, indicates what search parameters are supported
2798
+ # on each FHIR resource. A list of all search parameters defined by the
2799
+ # specification can be found in the FHIR Search Parameter Registry ([STU3](http:/
2800
+ # /hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](
2801
+ # http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)).
2802
+ # FHIR search parameters for DSTU2 can be found on each resource's definition
2803
+ # page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `
2804
+ # :in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
2805
+ # Supported search result parameters: `_sort`, `_count`, `_include`, `
2806
+ # _revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum
2807
+ # number of search results returned defaults to 100, which can be overridden by
2808
+ # the `_count` parameter up to a maximum limit of 1000. If there are additional
2809
+ # results, the returned `Bundle` will contain pagination links. Resources with a
2810
+ # total size larger than 5MB or a field count larger than 50,000 might not be
2811
+ # fully searchable as the server might trim its generated search index in those
2812
+ # cases. Note: FHIR resources are indexed asynchronously, so there might be a
2813
+ # slight delay between the time a resource is created or changes and when the
2814
+ # change is reflected in search results. For samples and detailed information,
2815
+ # see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [
2695
2816
  # Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).
2696
2817
  # @param [String] parent
2697
2818
  # Name of the FHIR store to retrieve resources from.
@@ -2725,22 +2846,108 @@ module Google
2725
2846
  execute_or_queue_command(command, &block)
2726
2847
  end
2727
2848
 
2849
+ # Searches for resources in the given FHIR store according to criteria specified
2850
+ # as query parameters. Implements the FHIR standard search interaction ([DSTU2](
2851
+ # http://hl7.org/implement/standards/fhir/DSTU2/http.html#search), [STU3](http://
2852
+ # hl7.org/implement/standards/fhir/STU3/http.html#search), [R4](http://hl7.org/
2853
+ # implement/standards/fhir/R4/http.html#search)) using the search semantics
2854
+ # described in the FHIR Search specification ([DSTU2](http://hl7.org/implement/
2855
+ # standards/fhir/DSTU2/search.html), [STU3](http://hl7.org/implement/standards/
2856
+ # fhir/STU3/search.html), [R4](http://hl7.org/implement/standards/fhir/R4/search.
2857
+ # html)). Supports four methods of search defined by the specification: * `GET [
2858
+ # base]?[parameters]` to search across all resources. * `GET [base]/[type]?[
2859
+ # parameters]` to search resources of a specified type. * `POST [base]/_search?[
2860
+ # parameters]` as an alternate form having the same semantics as the `GET`
2861
+ # method across all resources. * `POST [base]/[type]/_search?[parameters]` as an
2862
+ # alternate form having the same semantics as the `GET` method for the specified
2863
+ # type. The `GET` and `POST` methods do not support compartment searches. The `
2864
+ # POST` method does not support `application/x-www-form-urlencoded` search
2865
+ # parameters. On success, the response body will contain a JSON-encoded
2866
+ # representation of a `Bundle` resource of type `searchset`, containing the
2867
+ # results of the search. Errors generated by the FHIR store will contain a JSON-
2868
+ # encoded `OperationOutcome` resource describing the reason for the error. If
2869
+ # the request cannot be mapped to a valid API method on a FHIR store, a generic
2870
+ # GCP error might be returned instead. The server's capability statement,
2871
+ # retrieved through capabilities, indicates what search parameters are supported
2872
+ # on each FHIR resource. A list of all search parameters defined by the
2873
+ # specification can be found in the FHIR Search Parameter Registry ([STU3](http:/
2874
+ # /hl7.org/implement/standards/fhir/STU3/searchparameter-registry.html), [R4](
2875
+ # http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)).
2876
+ # FHIR search parameters for DSTU2 can be found on each resource's definition
2877
+ # page. Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`, `
2878
+ # :in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
2879
+ # Supported search result parameters: `_sort`, `_count`, `_include`, `
2880
+ # _revinclude`, `_summary=text`, `_summary=data`, and `_elements`. The maximum
2881
+ # number of search results returned defaults to 100, which can be overridden by
2882
+ # the `_count` parameter up to a maximum limit of 1000. If there are additional
2883
+ # results, the returned `Bundle` will contain pagination links. Resources with a
2884
+ # total size larger than 5MB or a field count larger than 50,000 might not be
2885
+ # fully searchable as the server might trim its generated search index in those
2886
+ # cases. Note: FHIR resources are indexed asynchronously, so there might be a
2887
+ # slight delay between the time a resource is created or changes and when the
2888
+ # change is reflected in search results. For samples and detailed information,
2889
+ # see [Searching for FHIR resources](/healthcare/docs/how-tos/fhir-search) and [
2890
+ # Advanced FHIR search features](/healthcare/docs/how-tos/fhir-advanced-search).
2891
+ # @param [String] parent
2892
+ # Name of the FHIR store to retrieve resources from.
2893
+ # @param [String] resource_type
2894
+ # The FHIR resource type to search, such as Patient or Observation. For a
2895
+ # complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/
2896
+ # standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/
2897
+ # standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/
2898
+ # standards/fhir/R4/resourcelist.html)).
2899
+ # @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
2900
+ # @param [String] fields
2901
+ # Selector specifying which fields to include in a partial response.
2902
+ # @param [String] quota_user
2903
+ # Available to use for quota purposes for server-side applications. Can be any
2904
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2905
+ # @param [Google::Apis::RequestOptions] options
2906
+ # Request-specific options
2907
+ #
2908
+ # @yield [result, err] Result & error if block supplied
2909
+ # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
2910
+ # @yieldparam err [StandardError] error object if request failed
2911
+ #
2912
+ # @return [Google::Apis::HealthcareV1::HttpBody]
2913
+ #
2914
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2915
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2916
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2917
+ def search_project_location_dataset_fhir_store_fhir_type(parent, resource_type, search_resources_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2918
+ command = make_simple_command(:post, 'v1/{+parent}/fhir/{resourceType}/_search', options)
2919
+ command.request_representation = Google::Apis::HealthcareV1::SearchResourcesRequest::Representation
2920
+ command.request_object = search_resources_request_object
2921
+ command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
2922
+ command.response_class = Google::Apis::HealthcareV1::HttpBody
2923
+ command.params['parent'] = parent unless parent.nil?
2924
+ command.params['resourceType'] = resource_type unless resource_type.nil?
2925
+ command.query['fields'] = fields unless fields.nil?
2926
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2927
+ execute_or_queue_command(command, &block)
2928
+ end
2929
+
2728
2930
  # Updates the entire contents of a resource. Implements the FHIR standard update
2729
2931
  # interaction ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
2730
2932
  # update), [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update),
2731
2933
  # [R4](http://hl7.org/implement/standards/fhir/R4/http.html#update)). If the
2732
2934
  # specified resource does not exist and the FHIR store has enable_update_create
2733
- # set, creates the resource with the client-specified ID. The request body must
2734
- # contain a JSON-encoded FHIR resource, and the request headers must contain `
2735
- # Content-Type: application/fhir+json`. The resource must contain an `id`
2736
- # element having an identical value to the ID in the REST path of the request.
2737
- # On success, the response body will contain a JSON-encoded representation of
2738
- # the updated resource, including the server-assigned version ID. Errors
2739
- # generated by the FHIR store will contain a JSON-encoded `OperationOutcome`
2740
- # resource describing the reason for the error. If the request cannot be mapped
2741
- # to a valid API method on a FHIR store, a generic GCP error might be returned
2742
- # instead. For samples that show how to call `update`, see [Updating a FHIR
2743
- # resource](/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource).
2935
+ # set, creates the resource with the client-specified ID. It is strongly advised
2936
+ # not to include or encode any sensitive data such as patient identifiers in
2937
+ # client-specified resource IDs. Those IDs are part of the FHIR resource path
2938
+ # recorded in Cloud audit logs and Cloud Pub/Sub notifications. Those IDs can
2939
+ # also be contained in reference fields within other resources. The request body
2940
+ # must contain a JSON-encoded FHIR resource, and the request headers must
2941
+ # contain `Content-Type: application/fhir+json`. The resource must contain an `
2942
+ # id` element having an identical value to the ID in the REST path of the
2943
+ # request. On success, the response body will contain a JSON-encoded
2944
+ # representation of the updated resource, including the server-assigned version
2945
+ # ID. Errors generated by the FHIR store will contain a JSON-encoded `
2946
+ # OperationOutcome` resource describing the reason for the error. If the request
2947
+ # cannot be mapped to a valid API method on a FHIR store, a generic GCP error
2948
+ # might be returned instead. For samples that show how to call `update`, see [
2949
+ # Updating a FHIR resource](/healthcare/docs/how-tos/fhir-resources#
2950
+ # updating_a_fhir_resource).
2744
2951
  # @param [String] name
2745
2952
  # The name of the resource to update.
2746
2953
  # @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud Healthcare API V1