google-apis-healthcare_v1 0.38.0 → 0.39.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: 8b49c2f59c1fc443c827c9a536740b95c64cc1a7745d06bca61d13c17f520482
4
- data.tar.gz: 814088e41ce891b9fabe4b806692ba852b697d59b2f5d772af277bb8fc6f96a3
3
+ metadata.gz: a38ce82eb9c3f85dbdaac041aada71e3db8ab8dca3bb5bbea72570543101d049
4
+ data.tar.gz: de751042f9ff34837914e2f5f1f1f3890293f5072275709b3e379dd5eac41c0c
5
5
  SHA512:
6
- metadata.gz: 789bf1c0ba1e7f1a6bf8598686c44b01c1c1fc4dbb795d3b1be7973b2f190668f7db2ef9db8f6d44458d3a990fa88df0b1d18f128417e204a24231ca276deb3b
7
- data.tar.gz: 5a80e96995641d9d95f617bd790ddd92d1f60dffd3bfb77e98e429cceb81939c84e67f2130aa2b83897afb56010022ed14d7a6a2ba37f015f2bc96fcd23aca4c
6
+ metadata.gz: 762beed7a147d1ce7f09d39c572eeceb1d44d5b44c9be16f23ef70e74ac5073497706ec7172c28ccad91b1e18575a1f6783a01afd283fd10bc7a840ec4142214
7
+ data.tar.gz: 5739cf66bb687ee6297ac3a6cdf139d944d7f265ca31f82f1ec393b5135179e366b28ad46a853a221bea888a5dc8ab63b58525fae174419cf92fe79fc91d0e54
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.39.0 (2023-03-05)
4
+
5
+ * Regenerated from discovery document revision 20230223
6
+ * Regenerated using generator version 0.12.0
7
+
3
8
  ### v0.38.0 (2023-02-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20230126
@@ -344,22 +344,22 @@ module Google
344
344
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
345
345
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
346
346
  # email address that represents a Google group. For example, `admins@example.com`
347
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
348
- # identifier) representing a user that has been recently deleted. For example, `
349
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
350
- # value reverts to `user:`emailid`` and the recovered user retains the role in
351
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
352
- # address (plus unique identifier) representing a service account that has been
353
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
347
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
348
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
349
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
350
+ # representing a user that has been recently deleted. For example, `alice@
351
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
352
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
353
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
354
+ # (plus unique identifier) representing a service account that has been recently
355
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
354
356
  # 123456789012345678901`. If the service account is undeleted, this value
355
357
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
356
358
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
357
359
  # An email address (plus unique identifier) representing a Google group that has
358
360
  # been recently deleted. For example, `admins@example.com?uid=
359
361
  # 123456789012345678901`. If the group is recovered, this value reverts to `
360
- # group:`emailid`` and the recovered group retains the role in the binding. * `
361
- # domain:`domain``: The G Suite domain (primary) that represents all the users
362
- # of that domain. For example, `google.com` or `example.com`.
362
+ # group:`emailid`` and the recovered group retains the role in the binding.
363
363
  # Corresponds to the JSON property `members`
364
364
  # @return [Array<String>]
365
365
  attr_accessor :members
@@ -1851,6 +1851,64 @@ module Google
1851
1851
  end
1852
1852
  end
1853
1853
 
1854
+ # Count of resources and total storage size by type for a given FHIR store.
1855
+ class FhirStoreMetric
1856
+ include Google::Apis::Core::Hashable
1857
+
1858
+ # The total count of FHIR resources in the store of this resource type.
1859
+ # Corresponds to the JSON property `count`
1860
+ # @return [Fixnum]
1861
+ attr_accessor :count
1862
+
1863
+ # The FHIR resource type this metric applies to.
1864
+ # Corresponds to the JSON property `resourceType`
1865
+ # @return [String]
1866
+ attr_accessor :resource_type
1867
+
1868
+ # The total amount of structured storage used by FHIR resources of this resource
1869
+ # type in the store.
1870
+ # Corresponds to the JSON property `structuredStorageSizeBytes`
1871
+ # @return [Fixnum]
1872
+ attr_accessor :structured_storage_size_bytes
1873
+
1874
+ def initialize(**args)
1875
+ update!(**args)
1876
+ end
1877
+
1878
+ # Update properties of this object
1879
+ def update!(**args)
1880
+ @count = args[:count] if args.key?(:count)
1881
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1882
+ @structured_storage_size_bytes = args[:structured_storage_size_bytes] if args.key?(:structured_storage_size_bytes)
1883
+ end
1884
+ end
1885
+
1886
+ # List of metrics for a given FHIR store.
1887
+ class FhirStoreMetrics
1888
+ include Google::Apis::Core::Hashable
1889
+
1890
+ # List of FhirStoreMetric by resource type.
1891
+ # Corresponds to the JSON property `metrics`
1892
+ # @return [Array<Google::Apis::HealthcareV1::FhirStoreMetric>]
1893
+ attr_accessor :metrics
1894
+
1895
+ # The resource name of the FHIR store to get metrics for, in the format `
1896
+ # projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1897
+ # Corresponds to the JSON property `name`
1898
+ # @return [String]
1899
+ attr_accessor :name
1900
+
1901
+ def initialize(**args)
1902
+ update!(**args)
1903
+ end
1904
+
1905
+ # Update properties of this object
1906
+ def update!(**args)
1907
+ @metrics = args[:metrics] if args.key?(:metrics)
1908
+ @name = args[:name] if args.key?(:name)
1909
+ end
1910
+ end
1911
+
1854
1912
  # A (sub) field of a type.
1855
1913
  class Field
1856
1914
  include Google::Apis::Core::Hashable
@@ -3917,6 +3975,11 @@ module Google
3917
3975
  class SchemaConfig
3918
3976
  include Google::Apis::Core::Hashable
3919
3977
 
3978
+ # Configuration for FHIR BigQuery time-partitioned tables.
3979
+ # Corresponds to the JSON property `lastUpdatedPartitionConfig`
3980
+ # @return [Google::Apis::HealthcareV1::TimePartitioning]
3981
+ attr_accessor :last_updated_partition_config
3982
+
3920
3983
  # The depth for all recursive structures in the output analytics schema. For
3921
3984
  # example, `concept` in the CodeSystem resource is a recursive structure; when
3922
3985
  # the depth is 2, the CodeSystem table will have a column called `concept.
@@ -3937,6 +4000,7 @@ module Google
3937
4000
 
3938
4001
  # Update properties of this object
3939
4002
  def update!(**args)
4003
+ @last_updated_partition_config = args[:last_updated_partition_config] if args.key?(:last_updated_partition_config)
3940
4004
  @recursive_structure_depth = args[:recursive_structure_depth] if args.key?(:recursive_structure_depth)
3941
4005
  @schema_type = args[:schema_type] if args.key?(:schema_type)
3942
4006
  end
@@ -4433,6 +4497,31 @@ module Google
4433
4497
  end
4434
4498
  end
4435
4499
 
4500
+ # Configuration for FHIR BigQuery time-partitioned tables.
4501
+ class TimePartitioning
4502
+ include Google::Apis::Core::Hashable
4503
+
4504
+ # Number of milliseconds for which to keep the storage for a partition.
4505
+ # Corresponds to the JSON property `expirationMs`
4506
+ # @return [Fixnum]
4507
+ attr_accessor :expiration_ms
4508
+
4509
+ # Type of partitioning.
4510
+ # Corresponds to the JSON property `type`
4511
+ # @return [String]
4512
+ attr_accessor :type
4513
+
4514
+ def initialize(**args)
4515
+ update!(**args)
4516
+ end
4517
+
4518
+ # Update properties of this object
4519
+ def update!(**args)
4520
+ @expiration_ms = args[:expiration_ms] if args.key?(:expiration_ms)
4521
+ @type = args[:type] if args.key?(:type)
4522
+ end
4523
+ end
4524
+
4436
4525
  # A type definition for some HL7v2 type (incl. Segments and Datatypes).
4437
4526
  class Type
4438
4527
  include Google::Apis::Core::Hashable
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230126"
25
+ REVISION = "20230223"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,18 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class FhirStoreMetric
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class FhirStoreMetrics
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class Field
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -796,6 +808,12 @@ module Google
796
808
  include Google::Apis::Core::JsonObjectSupport
797
809
  end
798
810
 
811
+ class TimePartitioning
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
799
817
  class Type
800
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
819
 
@@ -1298,6 +1316,24 @@ module Google
1298
1316
  end
1299
1317
  end
1300
1318
 
1319
+ class FhirStoreMetric
1320
+ # @private
1321
+ class Representation < Google::Apis::Core::JsonRepresentation
1322
+ property :count, :numeric_string => true, as: 'count'
1323
+ property :resource_type, as: 'resourceType'
1324
+ property :structured_storage_size_bytes, :numeric_string => true, as: 'structuredStorageSizeBytes'
1325
+ end
1326
+ end
1327
+
1328
+ class FhirStoreMetrics
1329
+ # @private
1330
+ class Representation < Google::Apis::Core::JsonRepresentation
1331
+ collection :metrics, as: 'metrics', class: Google::Apis::HealthcareV1::FhirStoreMetric, decorator: Google::Apis::HealthcareV1::FhirStoreMetric::Representation
1332
+
1333
+ property :name, as: 'name'
1334
+ end
1335
+ end
1336
+
1301
1337
  class Field
1302
1338
  # @private
1303
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1868,6 +1904,8 @@ module Google
1868
1904
  class SchemaConfig
1869
1905
  # @private
1870
1906
  class Representation < Google::Apis::Core::JsonRepresentation
1907
+ property :last_updated_partition_config, as: 'lastUpdatedPartitionConfig', class: Google::Apis::HealthcareV1::TimePartitioning, decorator: Google::Apis::HealthcareV1::TimePartitioning::Representation
1908
+
1871
1909
  property :recursive_structure_depth, :numeric_string => true, as: 'recursiveStructureDepth'
1872
1910
  property :schema_type, as: 'schemaType'
1873
1911
  end
@@ -2008,6 +2046,14 @@ module Google
2008
2046
  end
2009
2047
  end
2010
2048
 
2049
+ class TimePartitioning
2050
+ # @private
2051
+ class Representation < Google::Apis::Core::JsonRepresentation
2052
+ property :expiration_ms, :numeric_string => true, as: 'expirationMs'
2053
+ property :type, as: 'type'
2054
+ end
2055
+ end
2056
+
2011
2057
  class Type
2012
2058
  # @private
2013
2059
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3392,6 +3392,36 @@ module Google
3392
3392
  execute_or_queue_command(command, &block)
3393
3393
  end
3394
3394
 
3395
+ # Gets metrics associated with the FHIR store.
3396
+ # @param [String] name
3397
+ # The resource name of the FHIR store to get metrics for.
3398
+ # @param [String] fields
3399
+ # Selector specifying which fields to include in a partial response.
3400
+ # @param [String] quota_user
3401
+ # Available to use for quota purposes for server-side applications. Can be any
3402
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3403
+ # @param [Google::Apis::RequestOptions] options
3404
+ # Request-specific options
3405
+ #
3406
+ # @yield [result, err] Result & error if block supplied
3407
+ # @yieldparam result [Google::Apis::HealthcareV1::FhirStoreMetrics] parsed result object
3408
+ # @yieldparam err [StandardError] error object if request failed
3409
+ #
3410
+ # @return [Google::Apis::HealthcareV1::FhirStoreMetrics]
3411
+ #
3412
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3413
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3414
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3415
+ def get_project_location_dataset_fhir_store_fhir_store_metrics(name, fields: nil, quota_user: nil, options: nil, &block)
3416
+ command = make_simple_command(:get, 'v1/{+name}:getFHIRStoreMetrics', options)
3417
+ command.response_representation = Google::Apis::HealthcareV1::FhirStoreMetrics::Representation
3418
+ command.response_class = Google::Apis::HealthcareV1::FhirStoreMetrics
3419
+ command.params['name'] = name unless name.nil?
3420
+ command.query['fields'] = fields unless fields.nil?
3421
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3422
+ execute_or_queue_command(command, &block)
3423
+ end
3424
+
3395
3425
  # Gets the access control policy for a resource. Returns an empty policy if the
3396
3426
  # resource exists and does not have a policy set.
3397
3427
  # @param [String] resource
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.38.0
4
+ version: 0.39.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-05 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
63
63
  post_install_message:
64
64
  rdoc_options: []