lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.53.0 vs lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.54.0
- old
+ new
@@ -224,14 +224,14 @@
# Optional. A description of the attribute.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- # Resource name of the Attribute definition, of the form `projects/`project_id`/
- # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
- # attributeDefinitions/`attribute_definition_id``. Cannot be changed after
- # creation.
+ # Identifier. Resource name of the Attribute definition, of the form `projects/`
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
+ # consent_store_id`/attributeDefinitions/`attribute_definition_id``. Cannot be
+ # changed after creation.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
def initialize(**args)
@@ -630,13 +630,14 @@
# consent locale or user agent version.
# Corresponds to the JSON property `metadata`
# @return [Hash<String,String>]
attr_accessor :metadata
- # Resource name of the Consent artifact, of the form `projects/`project_id`/
- # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
- # consentArtifacts/`consent_artifact_id``. Cannot be changed after creation.
+ # Identifier. Resource name of the Consent artifact, of the form `projects/`
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
+ # consent_store_id`/consentArtifacts/`consent_artifact_id``. Cannot be changed
+ # after creation.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Required. User's UUID provided by the client.
@@ -973,14 +974,14 @@
# media type or subtype. Configs are applied in a nested manner at runtime.
# Corresponds to the JSON property `config`
# @return [Google::Apis::HealthcareV1::DeidentifyConfig]
attr_accessor :config
- # The name of the dataset resource to create and write the redacted data to. *
- # The destination dataset must not exist. * The destination dataset must be in
- # the same location as the source dataset. De-identifying data across multiple
- # locations is not supported.
+ # Required. The name of the dataset resource to create and write the redacted
+ # data to. * The destination dataset must not exist. * The destination dataset
+ # must be in the same location as the source dataset. De-identifying data across
+ # multiple locations is not supported.
# Corresponds to the JSON property `destinationDataset`
# @return [String]
attr_accessor :destination_dataset
# Cloud Storage location to read the JSON cloud.healthcare.deidentify.
@@ -1014,17 +1015,17 @@
# media type or subtype. Configs are applied in a nested manner at runtime.
# Corresponds to the JSON property `config`
# @return [Google::Apis::HealthcareV1::DeidentifyConfig]
attr_accessor :config
- # The name of the DICOM store to create and write the redacted data to. For
- # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
- # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
- # source dataset and destination dataset must both reside in the same location.
- # De-identifying data across multiple locations is not supported. * The
- # destination DICOM store must not exist. * The caller must have the necessary
- # permissions to create the destination DICOM store.
+ # Required. The name of the DICOM store to create and write the redacted data to.
+ # For example, `projects/`project_id`/locations/`location_id`/datasets/`
+ # dataset_id`/dicomStores/`dicom_store_id``. * The destination dataset must
+ # exist. * The source dataset and destination dataset must both reside in the
+ # same location. De-identifying data across multiple locations is not supported.
+ # * The destination DICOM store must not exist. * The caller must have the
+ # necessary permissions to create the destination DICOM store.
# Corresponds to the JSON property `destinationStore`
# @return [String]
attr_accessor :destination_store
# Specifies the filter configuration for DICOM resources.
@@ -1064,16 +1065,16 @@
# media type or subtype. Configs are applied in a nested manner at runtime.
# Corresponds to the JSON property `config`
# @return [Google::Apis::HealthcareV1::DeidentifyConfig]
attr_accessor :config
- # The name of the FHIR store to create and write the redacted data to. For
- # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
- # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
- # source dataset and destination dataset must both reside in the same location.
- # De-identifying data across multiple locations is not supported. * The
- # destination FHIR store must exist. * The caller must have the healthcare.
+ # Required. The name of the FHIR store to create and write the redacted data to.
+ # For example, `projects/`project_id`/locations/`location_id`/datasets/`
+ # dataset_id`/fhirStores/`fhir_store_id``. * The destination dataset must exist.
+ # * The source dataset and destination dataset must both reside in the same
+ # location. De-identifying data across multiple locations is not supported. *
+ # The destination FHIR store must exist. * The caller must have the healthcare.
# fhirResources.update permission to write to the destination FHIR store.
# Corresponds to the JSON property `destinationStore`
# @return [String]
attr_accessor :destination_store
@@ -1209,12 +1210,13 @@
# can be associated with a given store.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
- # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
- # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
+ # Identifier. Resource name of the DICOM store, of the form `projects/`
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/dicomStores/`
+ # dicom_store_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Specifies where to send notifications upon changes to a data store.
@@ -2000,12 +2002,12 @@
# associated with a given store.
# Corresponds to the JSON property `labels`
# @return [Hash<String,String>]
attr_accessor :labels
- # Output only. Resource name of the FHIR store, of the form `projects/`
- # project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
+ # Output only. Identifier. Resource name of the FHIR store, of the form `
+ # projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Specifies where to send notifications upon changes to a data store.
@@ -2036,14 +2038,14 @@
# Contains the configuration for FHIR profiles and validation.
# Corresponds to the JSON property `validationConfig`
# @return [Google::Apis::HealthcareV1::ValidationConfig]
attr_accessor :validation_config
- # Immutable. The FHIR specification version that this FHIR store supports
- # natively. This field is immutable after store creation. Requests are rejected
- # if they contain FHIR resources of a different version. Version is required for
- # every FHIR store.
+ # Required. Immutable. The FHIR specification version that this FHIR store
+ # supports natively. This field is immutable after store creation. Requests are
+ # rejected if they contain FHIR resources of a different version. Version is
+ # required for every FHIR store.
# Corresponds to the JSON property `version`
# @return [String]
attr_accessor :version
def initialize(**args)
@@ -4299,10 +4301,124 @@
def update!(**args)
@consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
end
end
+ #
+ class RollbackFhirResourceFilteringFields
+ include Google::Apis::Core::Hashable
+
+ # Optional. A filter expression that matches data in the `Resource.meta` element.
+ # Supports all filters in [AIP-160](https://google.aip.dev/160) except the "has"
+ # (`:`) operator. Supports the following custom functions: * `tag("") = ""` for
+ # tag filtering. * `extension_value_ts("") = ` for filtering extensions with a
+ # timestamp, where `` is a Unix timestamp. Supports the `>`, `<`, `<=`, `>=`,
+ # and `!=` comparison operators.
+ # Corresponds to the JSON property `metadataFilter`
+ # @return [String]
+ attr_accessor :metadata_filter
+
+ # Optional. A list of operation IDs to roll back.
+ # Corresponds to the JSON property `operationIds`
+ # @return [Array<Fixnum>]
+ attr_accessor :operation_ids
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @metadata_filter = args[:metadata_filter] if args.key?(:metadata_filter)
+ @operation_ids = args[:operation_ids] if args.key?(:operation_ids)
+ end
+ end
+
+ #
+ class RollbackFhirResourcesRequest
+ include Google::Apis::Core::Hashable
+
+ # Optional. CREATE/UPDATE/DELETE/ALL for reverting all txns of a certain type.
+ # Corresponds to the JSON property `changeType`
+ # @return [String]
+ attr_accessor :change_type
+
+ # Optional. Specifies whether to exclude earlier rollbacks.
+ # Corresponds to the JSON property `excludeRollbacks`
+ # @return [Boolean]
+ attr_accessor :exclude_rollbacks
+ alias_method :exclude_rollbacks?, :exclude_rollbacks
+
+ # Optional. Parameters for filtering resources
+ # Corresponds to the JSON property `filteringFields`
+ # @return [Google::Apis::HealthcareV1::RollbackFhirResourceFilteringFields]
+ attr_accessor :filtering_fields
+
+ # Optional. When enabled, changes will be reverted without explicit confirmation
+ # Corresponds to the JSON property `force`
+ # @return [Boolean]
+ attr_accessor :force
+ alias_method :force?, :force
+
+ # Optional. GCS object containing list of `resourceType`/`resourceId` lines,
+ # identifying resources to be reverted
+ # Corresponds to the JSON property `inputGcsObject`
+ # @return [String]
+ attr_accessor :input_gcs_object
+
+ # Required. Bucket to deposit result
+ # Corresponds to the JSON property `resultGcsBucket`
+ # @return [String]
+ attr_accessor :result_gcs_bucket
+
+ # Required. Time point to rollback to.
+ # Corresponds to the JSON property `rollbackTime`
+ # @return [String]
+ attr_accessor :rollback_time
+
+ # Optional. If specified, revert only resources of these types
+ # Corresponds to the JSON property `type`
+ # @return [Array<String>]
+ attr_accessor :type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @change_type = args[:change_type] if args.key?(:change_type)
+ @exclude_rollbacks = args[:exclude_rollbacks] if args.key?(:exclude_rollbacks)
+ @filtering_fields = args[:filtering_fields] if args.key?(:filtering_fields)
+ @force = args[:force] if args.key?(:force)
+ @input_gcs_object = args[:input_gcs_object] if args.key?(:input_gcs_object)
+ @result_gcs_bucket = args[:result_gcs_bucket] if args.key?(:result_gcs_bucket)
+ @rollback_time = args[:rollback_time] if args.key?(:rollback_time)
+ @type = args[:type] if args.key?(:type)
+ end
+ end
+
+ # Final response of rollback FIHR resources request.
+ class RollbackFhirResourcesResponse
+ include Google::Apis::Core::Hashable
+
+ # The name of the FHIR store to rollback, in the format of "projects/`project_id`
+ # /locations/`location_id`/datasets/`dataset_id` /fhirStores/`fhir_store_id`".
+ # Corresponds to the JSON property `fhirStore`
+ # @return [String]
+ attr_accessor :fhir_store
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
+ end
+ end
+
# Configuration for the FHIR BigQuery schema. Determines how the server
# generates the schema.
class SchemaConfig
include Google::Apis::Core::Hashable
@@ -4496,14 +4612,14 @@
# Request to search the resources in the specified FHIR store.
class SearchResourcesRequest
include Google::Apis::Core::Hashable
- # The FHIR resource type to search, such as Patient or Observation. For a
- # complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/implement/
- # standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/implement/
- # standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/implement/
- # standards/fhir/R4/resourcelist.html)).
+ # Required. The FHIR resource type to search, such as Patient or Observation.
+ # For a complete list, see the FHIR Resource Index ([DSTU2](http://hl7.org/
+ # implement/standards/fhir/DSTU2/resourcelist.html), [STU3](http://hl7.org/
+ # implement/standards/fhir/STU3/resourcelist.html), [R4](http://hl7.org/
+ # implement/standards/fhir/R4/resourcelist.html)).
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
def initialize(**args)