google-apis-healthcare_v1beta1 0.41.0 → 0.43.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: 5eb61447fafc3869bbf7e4767cc6b820ab804154b2b6b327d325710e9dbee579
4
- data.tar.gz: 222710015c675aeaa83008ecc623300d3802d4ae04799abd683399989f38b80f
3
+ metadata.gz: 43dbe883413887ba2fa370f87f3470df55c528c8db3f5c527194ae00e6a953f4
4
+ data.tar.gz: 69fc5d92ab5f1dfbdd0c2a4bfa08a51be6e029148e0557f1ba1981b2266bf5f1
5
5
  SHA512:
6
- metadata.gz: 3a32bec84c2680aec31a16b8d32f4509d95cde56df9086e410b5c4d21b2105862aa2b5f03547a7318b3056f84eeed9b7469320b5351404f5f6bd213d4d27cb4f
7
- data.tar.gz: 5da054c282de5bc45f0b1f3d9ab2acb65fbf6f8b257d80944d43e21d637cd042238b08a1fbe2d9026a1d29f23df57e58ba78a2833bf5c2cb0925bbedfff4a1e2
6
+ metadata.gz: f56c5a3a02979994091434e873b484b2bd180ee7aaf343c54bd9822abfd452a2b4f367264205dc8c7a5ce34027f8ed702c07e8b0392bed5c3bfbbf26e5880711
7
+ data.tar.gz: 94833331c71ac3f567b069006cfaaa24603e94307a9fbab579dd21790f6fecf6fa28a22c3eb3c2fa7e86fb4865846f6d8d2aa3e8c9a1c11fe8fe0e053dcaec1e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.43.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230223
6
+
7
+ ### v0.42.0 (2023-02-26)
8
+
9
+ * Regenerated from discovery document revision 20230207
10
+ * Regenerated using generator version 0.12.0
11
+
3
12
  ### v0.41.0 (2022-12-16)
4
13
 
5
14
  * Regenerated from discovery document revision 20221207
@@ -576,22 +576,22 @@ module Google
576
576
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
577
577
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
578
578
  # email address that represents a Google group. For example, `admins@example.com`
579
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
580
- # identifier) representing a user that has been recently deleted. For example, `
581
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
582
- # value reverts to `user:`emailid`` and the recovered user retains the role in
583
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
584
- # address (plus unique identifier) representing a service account that has been
585
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
579
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
580
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
581
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
582
+ # representing a user that has been recently deleted. For example, `alice@
583
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
584
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
585
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
586
+ # (plus unique identifier) representing a service account that has been recently
587
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
586
588
  # 123456789012345678901`. If the service account is undeleted, this value
587
589
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
588
590
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
589
591
  # An email address (plus unique identifier) representing a Google group that has
590
592
  # been recently deleted. For example, `admins@example.com?uid=
591
593
  # 123456789012345678901`. If the group is recovered, this value reverts to `
592
- # group:`emailid`` and the recovered group retains the role in the binding. * `
593
- # domain:`domain``: The G Suite domain (primary) that represents all the users
594
- # of that domain. For example, `google.com` or `example.com`.
594
+ # group:`emailid`` and the recovered group retains the role in the binding.
595
595
  # Corresponds to the JSON property `members`
596
596
  # @return [Array<String>]
597
597
  attr_accessor :members
@@ -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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221207"
25
+ REVISION = "20230223"
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
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.41.0
4
+ version: 0.43.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-01-04 00:00:00.000000000 Z
11
+ date: 2023-03-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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.43.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Healthcare API V1beta1