google-apis-healthcare_v1beta1 0.42.0 → 0.44.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: 6a4fe400c23994a44f3357a294f0baa320a4db0d8652c42d522b780e0ba6ba5b
4
- data.tar.gz: ed9a5a656d6b45687b79264d1a6cb01185b2db97c74671c81d5da6bc66893275
3
+ metadata.gz: 100d6f2e029d8c2159389cec2e71706dd3fec13ce89a324cd1ca3f670ea2478a
4
+ data.tar.gz: f86d0a02914ebb20bf751eb685337ceffb75f5481ccd2e83a2a173443bd9073d
5
5
  SHA512:
6
- metadata.gz: ebe1f2d943269154a27fa2ce66bd26546a6c04135fd62bb11148c82c7ad4c23b646bfb978b0cff64823dfab8ad93ab8367fd3ea9e0fe0975545008252ec13269
7
- data.tar.gz: 4fa1c1352a3f5b1922e97f4ccd278faee128dce80c9abd0db43c6d4902ed21c4925bc7e4b387cd57d0c27befc4582eee47f9d2abf6572b99892c9e072c98a027
6
+ metadata.gz: 3f8354649aed96fc0bfbcfa544b53ea9cbbc57986ad6f3bf08bf49f516bc7d7f3bad09c576304ae63550b12dbe7680eb714e712e439d849b6929452aed1dbd8a
7
+ data.tar.gz: 3f52691fbd535671f168182c3171a93a6ee46be1348dff15823e59cf5ffaa3d3c10ba02afbe9ff2221f52763fbcd8d8ba3e58e72fb0a63e4547a1527c94f6223
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.44.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
7
+ ### v0.43.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230223
10
+
3
11
  ### v0.42.0 (2023-02-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230207
@@ -2403,10 +2403,12 @@ module Google
2403
2403
  # overview#names) must be scoped to a project. The Cloud Healthcare API service
2404
2404
  # account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have
2405
2405
  # publisher permissions on the given Pub/Sub topic. Not having adequate
2406
- # permissions causes the calls that send notifications to fail. If a
2407
- # notification can't be published to Pub/Sub, errors are logged to Cloud Logging.
2408
- # For more information, see [Viewing error logs in Cloud Logging](https://cloud.
2409
- # google.com/healthcare-api/docs/how-tos/logging).
2406
+ # permissions causes the calls that send notifications to fail (https://cloud.
2407
+ # google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#
2408
+ # dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't
2409
+ # be published to Pub/Sub, errors are logged to Cloud Logging. For more
2410
+ # information, see [Viewing error logs in Cloud Logging](https://cloud.google.
2411
+ # com/healthcare-api/docs/how-tos/logging).
2410
2412
  # Corresponds to the JSON property `pubsubTopic`
2411
2413
  # @return [String]
2412
2414
  attr_accessor :pubsub_topic
@@ -2609,6 +2611,64 @@ module Google
2609
2611
  end
2610
2612
  end
2611
2613
 
2614
+ # Count of resources and total storage size by type for a given FHIR store.
2615
+ class FhirStoreMetric
2616
+ include Google::Apis::Core::Hashable
2617
+
2618
+ # The total count of FHIR resources in the store of this resource type.
2619
+ # Corresponds to the JSON property `count`
2620
+ # @return [Fixnum]
2621
+ attr_accessor :count
2622
+
2623
+ # The FHIR resource type this metric applies to.
2624
+ # Corresponds to the JSON property `resourceType`
2625
+ # @return [String]
2626
+ attr_accessor :resource_type
2627
+
2628
+ # The total amount of structured storage used by FHIR resources of this resource
2629
+ # type in the store.
2630
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
2631
+ # @return [Fixnum]
2632
+ attr_accessor :structured_storage_size_bytes
2633
+
2634
+ def initialize(**args)
2635
+ update!(**args)
2636
+ end
2637
+
2638
+ # Update properties of this object
2639
+ def update!(**args)
2640
+ @count = args[:count] if args.key?(:count)
2641
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
2642
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
2643
+ end
2644
+ end
2645
+
2646
+ # List of metrics for a given FHIR store.
2647
+ class FhirStoreMetrics
2648
+ include Google::Apis::Core::Hashable
2649
+
2650
+ # List of FhirStoreMetric by resource type.
2651
+ # Corresponds to the JSON property `metrics`
2652
+ # @return [Array<Google::Apis::HealthcareV1beta1::FhirStoreMetric>]
2653
+ attr_accessor :metrics
2654
+
2655
+ # The resource name of the FHIR store to get metrics for, in the format `
2656
+ # projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
2657
+ # Corresponds to the JSON property `name`
2658
+ # @return [String]
2659
+ attr_accessor :name
2660
+
2661
+ def initialize(**args)
2662
+ update!(**args)
2663
+ end
2664
+
2665
+ # Update properties of this object
2666
+ def update!(**args)
2667
+ @metrics = args[:metrics] if args.key?(:metrics)
2668
+ @name = args[:name] if args.key?(:name)
2669
+ end
2670
+ end
2671
+
2612
2672
  # A (sub) field of a type.
2613
2673
  class Field
2614
2674
  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.42.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230207"
25
+ REVISION = "20230310"
26
26
  end
27
27
  end
28
28
  end
@@ -472,6 +472,18 @@ module Google
472
472
  include Google::Apis::Core::JsonObjectSupport
473
473
  end
474
474
 
475
+ class FhirStoreMetric
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class FhirStoreMetrics
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
475
487
  class Field
476
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
489
 
@@ -1875,6 +1887,24 @@ module Google
1875
1887
  end
1876
1888
  end
1877
1889
 
1890
+ class FhirStoreMetric
1891
+ # @private
1892
+ class Representation < Google::Apis::Core::JsonRepresentation
1893
+ property :count, :numeric_string => true, as: 'count'
1894
+ property :resource_type, as: 'resourceType'
1895
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
1896
+ end
1897
+ end
1898
+
1899
+ class FhirStoreMetrics
1900
+ # @private
1901
+ class Representation < Google::Apis::Core::JsonRepresentation
1902
+ collection :metrics, as: 'metrics', class: Google::Apis::HealthcareV1beta1::FhirStoreMetric, decorator: Google::Apis::HealthcareV1beta1::FhirStoreMetric::Representation
1903
+
1904
+ property :name, as: 'name'
1905
+ end
1906
+ end
1907
+
1878
1908
  class Field
1879
1909
  # @private
1880
1910
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4095,6 +4095,36 @@ module Google
4095
4095
  execute_or_queue_command(command, &block)
4096
4096
  end
4097
4097
 
4098
+ # Gets metrics associated with the FHIR store.
4099
+ # @param [String] name
4100
+ # The resource name of the FHIR store to get metrics for.
4101
+ # @param [String] fields
4102
+ # Selector specifying which fields to include in a partial response.
4103
+ # @param [String] quota_user
4104
+ # Available to use for quota purposes for server-side applications. Can be any
4105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4106
+ # @param [Google::Apis::RequestOptions] options
4107
+ # Request-specific options
4108
+ #
4109
+ # @yield [result, err] Result & error if block supplied
4110
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::FhirStoreMetrics] parsed result object
4111
+ # @yieldparam err [StandardError] error object if request failed
4112
+ #
4113
+ # @return [Google::Apis::HealthcareV1beta1::FhirStoreMetrics]
4114
+ #
4115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4118
+ def get_project_location_dataset_fhir_store_fhir_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
4119
+ command = make_simple_command(:get, 'v1beta1/{+name}:getFHIRStoreMetrics', options)
4120
+ command.response_representation = Google::Apis::HealthcareV1beta1::FhirStoreMetrics::Representation
4121
+ command.response_class = Google::Apis::HealthcareV1beta1::FhirStoreMetrics
4122
+ command.params['name'] = name unless name.nil?
4123
+ command.query['fields'] = fields unless fields.nil?
4124
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4125
+ execute_or_queue_command(command, &block)
4126
+ end
4127
+
4098
4128
  # Gets the access control policy for a resource. Returns an empty policy if the
4099
4129
  # resource exists and does not have a policy set.
4100
4130
  # @param [String] resource
@@ -4607,7 +4637,9 @@ module Google
4607
4637
  # second and include a time zone.
4608
4638
  # @param [String] _type
4609
4639
  # String of comma-delimited FHIR resource types. If provided, only resources of
4610
- # the specified resource type(s) are returned.
4640
+ # the specified resource type(s) are returned. Specifying multiple `_type`
4641
+ # parameters isn't supported. For example, the result of `_type=Observation&
4642
+ # _type=Encounter` is undefined. Use `_type=Observation,Encounter` instead.
4611
4643
  # @param [String] end_
4612
4644
  # The response includes records prior to the end date. The date uses the format
4613
4645
  # YYYY-MM-DD. If no end date is provided, all records subsequent to the start
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.42.0
4
+ version: 0.44.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: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2023-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.44.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: []