google-apis-healthcare_v1 0.53.0 → 0.55.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: 682954124118441e7c57da0c8e862a0cd643f2b2eed94875abb227265c423456
4
- data.tar.gz: d183d766931f73422152b3bfc0650bc6409b87182fe10ba9057d506d70fef963
3
+ metadata.gz: 58fec700758f4507ed0eed77f5045d62405c3988340ac6d8893781306a078808
4
+ data.tar.gz: fc4cf3547ee2dd5113c92b0e916b76547c9c64a3740dee415fee7fc2a82596cd
5
5
  SHA512:
6
- metadata.gz: cf16b2111876e6453d8745fb65111060d4743d61e1ab930a95d367abf2daef6755557794dd6e28a46a6a61ede90e93dc02e6c5008edb208cee5cbb1346efe18b
7
- data.tar.gz: 1cf59b61da8188a9eaea120ab935e4b859fa6189af0e2b42df77cc36cdfd2f8bec33f313949186dfb7e6c6767672e7ada4648e585cdce3860a6acadedeaa0dfc
6
+ metadata.gz: e50104105fcec5bfdbd3ea587137a24078d7bc2830215c541a7b7c999f310d3b525da58fba53a693eab40ddf4243412cfb3adaab586ce25f6fa368f8bbe3e487
7
+ data.tar.gz: 371367d2c826ddde7d6d5eb5fba6fd2f1b0e1aa1b2aedbe07c6758f93db2abe206ba5ded095042a4779acdf8182b81cadb9b7dac07f80a128889c28aa72e3bc7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.55.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240130
6
+
7
+ ### v0.54.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240112
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.53.0 (2024-01-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240110
@@ -226,10 +226,10 @@ module Google
226
226
  # @return [String]
227
227
  attr_accessor :description
228
228
 
229
- # Resource name of the Attribute definition, of the form `projects/`project_id`/
230
- # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
231
- # attributeDefinitions/`attribute_definition_id``. Cannot be changed after
232
- # creation.
229
+ # Identifier. Resource name of the Attribute definition, of the form `projects/`
230
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
231
+ # consent_store_id`/attributeDefinitions/`attribute_definition_id``. Cannot be
232
+ # changed after creation.
233
233
  # Corresponds to the JSON property `name`
234
234
  # @return [String]
235
235
  attr_accessor :name
@@ -401,7 +401,10 @@ module Google
401
401
  attr_accessor :members
402
402
 
403
403
  # Role that is assigned to the list of `members`, or principals. For example, `
404
- # roles/viewer`, `roles/editor`, or `roles/owner`.
404
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
405
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
406
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
407
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
405
408
  # Corresponds to the JSON property `role`
406
409
  # @return [String]
407
410
  attr_accessor :role
@@ -546,9 +549,9 @@ module Google
546
549
  # @return [Hash<String,String>]
547
550
  attr_accessor :metadata
548
551
 
549
- # Resource name of the Consent, of the form `projects/`project_id`/locations/`
550
- # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
551
- # consent_id``. Cannot be changed after creation.
552
+ # Identifier. Resource name of the Consent, of the form `projects/`project_id`/
553
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
554
+ # consents/`consent_id``. Cannot be changed after creation.
552
555
  # Corresponds to the JSON property `name`
553
556
  # @return [String]
554
557
  attr_accessor :name
@@ -632,9 +635,10 @@ module Google
632
635
  # @return [Hash<String,String>]
633
636
  attr_accessor :metadata
634
637
 
635
- # Resource name of the Consent artifact, of the form `projects/`project_id`/
636
- # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
637
- # consentArtifacts/`consent_artifact_id``. Cannot be changed after creation.
638
+ # Identifier. Resource name of the Consent artifact, of the form `projects/`
639
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
640
+ # consent_store_id`/consentArtifacts/`consent_artifact_id``. Cannot be changed
641
+ # after creation.
638
642
  # Corresponds to the JSON property `name`
639
643
  # @return [String]
640
644
  attr_accessor :name
@@ -741,9 +745,9 @@ module Google
741
745
  # @return [Hash<String,String>]
742
746
  attr_accessor :labels
743
747
 
744
- # Resource name of the consent store, of the form `projects/`project_id`/
745
- # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
746
- # . Cannot be changed after creation.
748
+ # Identifier. Resource name of the consent store, of the form `projects/`
749
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
750
+ # consent_store_id``. Cannot be changed after creation.
747
751
  # Corresponds to the JSON property `name`
748
752
  # @return [String]
749
753
  attr_accessor :name
@@ -823,8 +827,8 @@ module Google
823
827
  class Dataset
824
828
  include Google::Apis::Core::Hashable
825
829
 
826
- # Resource name of the dataset, of the form `projects/`project_id`/locations/`
827
- # location_id`/datasets/`dataset_id``.
830
+ # Identifier. Resource name of the dataset, of the form `projects/`project_id`/
831
+ # locations/`location_id`/datasets/`dataset_id``.
828
832
  # Corresponds to the JSON property `name`
829
833
  # @return [String]
830
834
  attr_accessor :name
@@ -975,10 +979,10 @@ module Google
975
979
  # @return [Google::Apis::HealthcareV1::DeidentifyConfig]
976
980
  attr_accessor :config
977
981
 
978
- # The name of the dataset resource to create and write the redacted data to. *
979
- # The destination dataset must not exist. * The destination dataset must be in
980
- # the same location as the source dataset. De-identifying data across multiple
981
- # locations is not supported.
982
+ # Required. The name of the dataset resource to create and write the redacted
983
+ # data to. * The destination dataset must not exist. * The destination dataset
984
+ # must be in the same location as the source dataset. De-identifying data across
985
+ # multiple locations is not supported.
982
986
  # Corresponds to the JSON property `destinationDataset`
983
987
  # @return [String]
984
988
  attr_accessor :destination_dataset
@@ -1016,13 +1020,13 @@ module Google
1016
1020
  # @return [Google::Apis::HealthcareV1::DeidentifyConfig]
1017
1021
  attr_accessor :config
1018
1022
 
1019
- # The name of the DICOM store to create and write the redacted data to. For
1020
- # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1021
- # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
1022
- # source dataset and destination dataset must both reside in the same location.
1023
- # De-identifying data across multiple locations is not supported. * The
1024
- # destination DICOM store must not exist. * The caller must have the necessary
1025
- # permissions to create the destination DICOM store.
1023
+ # Required. The name of the DICOM store to create and write the redacted data to.
1024
+ # For example, `projects/`project_id`/locations/`location_id`/datasets/`
1025
+ # dataset_id`/dicomStores/`dicom_store_id``. * The destination dataset must
1026
+ # exist. * The source dataset and destination dataset must both reside in the
1027
+ # same location. De-identifying data across multiple locations is not supported.
1028
+ # * The destination DICOM store must not exist. * The caller must have the
1029
+ # necessary permissions to create the destination DICOM store.
1026
1030
  # Corresponds to the JSON property `destinationStore`
1027
1031
  # @return [String]
1028
1032
  attr_accessor :destination_store
@@ -1066,12 +1070,12 @@ module Google
1066
1070
  # @return [Google::Apis::HealthcareV1::DeidentifyConfig]
1067
1071
  attr_accessor :config
1068
1072
 
1069
- # The name of the FHIR store to create and write the redacted data to. For
1070
- # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1071
- # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
1072
- # source dataset and destination dataset must both reside in the same location.
1073
- # De-identifying data across multiple locations is not supported. * The
1074
- # destination FHIR store must exist. * The caller must have the healthcare.
1073
+ # Required. The name of the FHIR store to create and write the redacted data to.
1074
+ # For example, `projects/`project_id`/locations/`location_id`/datasets/`
1075
+ # dataset_id`/fhirStores/`fhir_store_id``. * The destination dataset must exist.
1076
+ # * The source dataset and destination dataset must both reside in the same
1077
+ # location. De-identifying data across multiple locations is not supported. *
1078
+ # The destination FHIR store must exist. * The caller must have the healthcare.
1075
1079
  # fhirResources.update permission to write to the destination FHIR store.
1076
1080
  # Corresponds to the JSON property `destinationStore`
1077
1081
  # @return [String]
@@ -1211,8 +1215,9 @@ module Google
1211
1215
  # @return [Hash<String,String>]
1212
1216
  attr_accessor :labels
1213
1217
 
1214
- # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
1215
- # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
1218
+ # Identifier. Resource name of the DICOM store, of the form `projects/`
1219
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
1220
+ # dicom_store_id``.
1216
1221
  # Corresponds to the JSON property `name`
1217
1222
  # @return [String]
1218
1223
  attr_accessor :name
@@ -2002,8 +2007,8 @@ module Google
2002
2007
  # @return [Hash<String,String>]
2003
2008
  attr_accessor :labels
2004
2009
 
2005
- # Output only. Resource name of the FHIR store, of the form `projects/`
2006
- # project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
2010
+ # Output only. Identifier. Resource name of the FHIR store, of the form `
2011
+ # projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
2007
2012
  # Corresponds to the JSON property `name`
2008
2013
  # @return [String]
2009
2014
  attr_accessor :name
@@ -2038,10 +2043,10 @@ module Google
2038
2043
  # @return [Google::Apis::HealthcareV1::ValidationConfig]
2039
2044
  attr_accessor :validation_config
2040
2045
 
2041
- # Immutable. The FHIR specification version that this FHIR store supports
2042
- # natively. This field is immutable after store creation. Requests are rejected
2043
- # if they contain FHIR resources of a different version. Version is required for
2044
- # every FHIR store.
2046
+ # Required. Immutable. The FHIR specification version that this FHIR store
2047
+ # supports natively. This field is immutable after store creation. Requests are
2048
+ # rejected if they contain FHIR resources of a different version. Version is
2049
+ # required for every FHIR store.
2045
2050
  # Corresponds to the JSON property `version`
2046
2051
  # @return [String]
2047
2052
  attr_accessor :version
@@ -2762,8 +2767,9 @@ module Google
2762
2767
  # @return [Hash<String,String>]
2763
2768
  attr_accessor :labels
2764
2769
 
2765
- # Resource name of the HL7v2 store, of the form `projects/`project_id`/locations/
2766
- # `location_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2770
+ # Identifier. Resource name of the HL7v2 store, of the form `projects/`
2771
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/hl7V2Stores/`
2772
+ # hl7v2_store_id``.
2767
2773
  # Corresponds to the JSON property `name`
2768
2774
  # @return [String]
2769
2775
  attr_accessor :name
@@ -3640,7 +3646,7 @@ module Google
3640
3646
  # @return [String]
3641
3647
  attr_accessor :create_time
3642
3648
 
3643
- # Raw message bytes.
3649
+ # Required. Raw message bytes.
3644
3650
  # Corresponds to the JSON property `data`
3645
3651
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3646
3652
  # @return [String]
@@ -3662,9 +3668,9 @@ module Google
3662
3668
  # @return [String]
3663
3669
  attr_accessor :message_type
3664
3670
 
3665
- # Resource name of the Message, of the form `projects/`project_id`/locations/`
3666
- # location_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/messages/`
3667
- # message_id``. Assigned by the server.
3671
+ # Output only. Resource name of the Message, of the form `projects/`project_id`/
3672
+ # locations/`location_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
3673
+ # messages/`message_id``. Assigned by the server.
3668
3674
  # Corresponds to the JSON property `name`
3669
3675
  # @return [String]
3670
3676
  attr_accessor :name
@@ -4301,6 +4307,120 @@ module Google
4301
4307
  end
4302
4308
  end
4303
4309
 
4310
+ #
4311
+ class RollbackFhirResourceFilteringFields
4312
+ include Google::Apis::Core::Hashable
4313
+
4314
+ # Optional. A filter expression that matches data in the `Resource.meta` element.
4315
+ # Supports all filters in [AIP-160](https://google.aip.dev/160) except the "has"
4316
+ # (`:`) operator. Supports the following custom functions: * `tag("") = ""` for
4317
+ # tag filtering. * `extension_value_ts("") = ` for filtering extensions with a
4318
+ # timestamp, where `` is a Unix timestamp. Supports the `>`, `<`, `<=`, `>=`,
4319
+ # and `!=` comparison operators.
4320
+ # Corresponds to the JSON property `metadataFilter`
4321
+ # @return [String]
4322
+ attr_accessor :metadata_filter
4323
+
4324
+ # Optional. A list of operation IDs to roll back.
4325
+ # Corresponds to the JSON property `operationIds`
4326
+ # @return [Array<Fixnum>]
4327
+ attr_accessor :operation_ids
4328
+
4329
+ def initialize(**args)
4330
+ update!(**args)
4331
+ end
4332
+
4333
+ # Update properties of this object
4334
+ def update!(**args)
4335
+ @metadata_filter = args[:metadata_filter] if args.key?(:metadata_filter)
4336
+ @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
4337
+ end
4338
+ end
4339
+
4340
+ #
4341
+ class RollbackFhirResourcesRequest
4342
+ include Google::Apis::Core::Hashable
4343
+
4344
+ # Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
4345
+ # Corresponds to the JSON property `changeType`
4346
+ # @return [String]
4347
+ attr_accessor :change_type
4348
+
4349
+ # Optional. Specifies whether to exclude earlier rollbacks.
4350
+ # Corresponds to the JSON property `excludeRollbacks`
4351
+ # @return [Boolean]
4352
+ attr_accessor :exclude_rollbacks
4353
+ alias_method :exclude_rollbacks?, :exclude_rollbacks
4354
+
4355
+ # Optional. Parameters for filtering resources
4356
+ # Corresponds to the JSON property `filteringFields`
4357
+ # @return [Google::Apis::HealthcareV1::RollbackFhirResourceFilteringFields]
4358
+ attr_accessor :filtering_fields
4359
+
4360
+ # Optional. When enabled, changes will be reverted without explicit confirmation
4361
+ # Corresponds to the JSON property `force`
4362
+ # @return [Boolean]
4363
+ attr_accessor :force
4364
+ alias_method :force?, :force
4365
+
4366
+ # Optional. GCS object containing list of `resourceType`/`resourceId` lines,
4367
+ # identifying resources to be reverted
4368
+ # Corresponds to the JSON property `inputGcsObject`
4369
+ # @return [String]
4370
+ attr_accessor :input_gcs_object
4371
+
4372
+ # Required. Bucket to deposit result
4373
+ # Corresponds to the JSON property `resultGcsBucket`
4374
+ # @return [String]
4375
+ attr_accessor :result_gcs_bucket
4376
+
4377
+ # Required. Time point to rollback to.
4378
+ # Corresponds to the JSON property `rollbackTime`
4379
+ # @return [String]
4380
+ attr_accessor :rollback_time
4381
+
4382
+ # Optional. If specified, revert only resources of these types
4383
+ # Corresponds to the JSON property `type`
4384
+ # @return [Array<String>]
4385
+ attr_accessor :type
4386
+
4387
+ def initialize(**args)
4388
+ update!(**args)
4389
+ end
4390
+
4391
+ # Update properties of this object
4392
+ def update!(**args)
4393
+ @change_type = args[:change_type] if args.key?(:change_type)
4394
+ @exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks)
4395
+ @filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields)
4396
+ @force = args[:force] if args.key?(:force)
4397
+ @input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object)
4398
+ @result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket)
4399
+ @rollback_time = args[:rollback_time] if args.key?(:rollback_time)
4400
+ @type = args[:type] if args.key?(:type)
4401
+ end
4402
+ end
4403
+
4404
+ # Final response of rollback FIHR resources request.
4405
+ class RollbackFhirResourcesResponse
4406
+ include Google::Apis::Core::Hashable
4407
+
4408
+ # The name of the FHIR store to rollback, in the format of "projects/`project_id`
4409
+ # /locations/`location_id`/datasets/`dataset_id` /fhirStores/`fhir_store_id`".
4410
+ # Corresponds to the JSON property `fhirStore`
4411
+ # @return [String]
4412
+ attr_accessor :fhir_store
4413
+
4414
+ def initialize(**args)
4415
+ update!(**args)
4416
+ end
4417
+
4418
+ # Update properties of this object
4419
+ def update!(**args)
4420
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
4421
+ end
4422
+ end
4423
+
4304
4424
  # Configuration for the FHIR BigQuery schema. Determines how the server
4305
4425
  # generates the schema.
4306
4426
  class SchemaConfig
@@ -4498,11 +4618,11 @@ module Google
4498
4618
  class SearchResourcesRequest
4499
4619
  include Google::Apis::Core::Hashable
4500
4620
 
4501
- # The FHIR resource type to search, such as Patient or Observation. For a
4502
- # complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/
4503
- # standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/
4504
- # standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/
4505
- # standards/fhir/R4/resourcelist.html)).
4621
+ # Required. The FHIR resource type to search, such as Patient or Observation.
4622
+ # For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/
4623
+ # implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/
4624
+ # implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/
4625
+ # implement/standards/fhir/R4/resourcelist.html)).
4506
4626
  # Corresponds to the JSON property `resourceType`
4507
4627
  # @return [String]
4508
4628
  attr_accessor :resource_type
@@ -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.53.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240110"
25
+ REVISION = "20240130"
26
26
  end
27
27
  end
28
28
  end
@@ -748,6 +748,24 @@ module Google
748
748
  include Google::Apis::Core::JsonObjectSupport
749
749
  end
750
750
 
751
+ class RollbackFhirResourceFilteringFields
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class RollbackFhirResourcesRequest
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class RollbackFhirResourcesResponse
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
751
769
  class SchemaConfig
752
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
771
 
@@ -2014,6 +2032,36 @@ module Google
2014
2032
  end
2015
2033
  end
2016
2034
 
2035
+ class RollbackFhirResourceFilteringFields
2036
+ # @private
2037
+ class Representation < Google::Apis::Core::JsonRepresentation
2038
+ property :metadata_filter, as: 'metadataFilter'
2039
+ collection :operation_ids, as: 'operationIds'
2040
+ end
2041
+ end
2042
+
2043
+ class RollbackFhirResourcesRequest
2044
+ # @private
2045
+ class Representation < Google::Apis::Core::JsonRepresentation
2046
+ property :change_type, as: 'changeType'
2047
+ property :exclude_rollbacks, as: 'excludeRollbacks'
2048
+ property :filtering_fields, as: 'filteringFields', class: Google::Apis::HealthcareV1::RollbackFhirResourceFilteringFields, decorator: Google::Apis::HealthcareV1::RollbackFhirResourceFilteringFields::Representation
2049
+
2050
+ property :force, as: 'force'
2051
+ property :input_gcs_object, as: 'inputGcsObject'
2052
+ property :result_gcs_bucket, as: 'resultGcsBucket'
2053
+ property :rollback_time, as: 'rollbackTime'
2054
+ collection :type, as: 'type'
2055
+ end
2056
+ end
2057
+
2058
+ class RollbackFhirResourcesResponse
2059
+ # @private
2060
+ class Representation < Google::Apis::Core::JsonRepresentation
2061
+ property :fhir_store, as: 'fhirStore'
2062
+ end
2063
+ end
2064
+
2017
2065
  class SchemaConfig
2018
2066
  # @private
2019
2067
  class Representation < Google::Apis::Core::JsonRepresentation