Skip to content

Commit 2b1c283

Browse files
feat: Automated regeneration of HealthCare client (googleapis#12524)
Auto-created at 2024-11-14 13:16:11 +0000 using the toys pull request generator.
1 parent 57f8ec9 commit 2b1c283

File tree

15 files changed

+23
-23
lines changed

15 files changed

+23
-23
lines changed

clients/health_care/lib/google_api/health_care/v1/api/projects.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7290,7 +7290,7 @@ defmodule GoogleApi.HealthCare.V1.Api.Projects do
72907290
end
72917291

72927292
@doc """
7293-
Creates a FHIR Binary resource. This method can be used to create a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is created with this method using the FHIR content type this method's behavior is the same as [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). If a resource type other than Binary is used in the request it's treated in the same way as non-FHIR data (e.g., images, zip archives, pdf files, documents). When a non-FHIR content type is used in the request, a Binary resource will be generated, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 2 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be present to indicate that including the data is `unsupported`. On success, an empty `201 Created` response is returned. The newly created resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
7293+
Creates a FHIR Binary resource. This method can be used to create a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is created with this method using the FHIR content type this method's behavior is the same as [`fhir.create`](https://cloud.google.com/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.fhirStores.fhir/create). If a resource type other than Binary is used in the request it's treated in the same way as non-FHIR data (e.g., images, zip archives, pdf files, documents). When a non-FHIR content type is used in the request, a Binary resource will be generated, and the uploaded data will be stored in the `content` field (`DSTU2` and `STU3`), or the `data` field (`R4`). The Binary resource's `contentType` will be filled in using the value of the `Content-Type` header, and the `securityContext` field (not present in `DSTU2`) will be populated from the `X-Security-Context` header if it exists. At this time `securityContext` has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 1 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as [exporting to BigQuery](https://cloud.google.com/healthcare-api/docs/how-tos/fhir-export-bigquery) or [Pub/Sub notifications](https://cloud.google.com/healthcare-api/docs/fhir-pubsub#behavior_when_a_fhir_resource_is_too_large_or_traffic_is_high) with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource's `data` field will be omitted. Instead, the "http://hl7.org/fhir/StructureDefinition/data-absent-reason" extension will be present to indicate that including the data is `unsupported`. On success, an empty `201 Created` response is returned. The newly created resource's ID and version are returned in the Location header. Using `Prefer: representation=resource` is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
72947294

72957295
## Parameters
72967296

clients/health_care/lib/google_api/health_care/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.HealthCare.V1 do
2020
API client metadata for GoogleApi.HealthCare.V1.
2121
"""
2222

23-
@discovery_revision "20241017"
23+
@discovery_revision "20241107"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/health_care/lib/google_api/health_care/v1/model/character_mask_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.HealthCare.V1.Model.CharacterMaskConfig do
2121
2222
## Attributes
2323
24-
* `maskingCharacter` (*type:* `String.t`, *default:* `nil`) - Character to mask the sensitive values. If not supplied, defaults to "*".
24+
* `maskingCharacter` (*type:* `String.t`, *default:* `nil`) - Optional. Character to mask the sensitive values. If not supplied, defaults to "*".
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/deidentified_store_destination.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.HealthCare.V1.Model.DeidentifiedStoreDestination do
2121
2222
## Attributes
2323
24-
* `config` (*type:* `GoogleApi.HealthCare.V1.Model.DeidentifyConfig.t`, *default:* `nil`) - The configuration to use when de-identifying resources that are added to this store.
24+
* `config` (*type:* `GoogleApi.HealthCare.V1.Model.DeidentifyConfig.t`, *default:* `nil`) - Optional. The configuration to use when de-identifying resources that are added to this store.
2525
* `store` (*type:* `String.t`, *default:* `nil`) - Optional. The full resource name of a Cloud Healthcare FHIR store, for example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}`.
2626
"""
2727

clients/health_care/lib/google_api/health_care/v1/model/deidentify_config.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ defmodule GoogleApi.HealthCare.V1.Model.DeidentifyConfig do
2121
2222
## Attributes
2323
24-
* `dicom` (*type:* `GoogleApi.HealthCare.V1.Model.DicomConfig.t`, *default:* `nil`) - Configures de-id of application/DICOM content.
25-
* `fhir` (*type:* `GoogleApi.HealthCare.V1.Model.FhirConfig.t`, *default:* `nil`) - Configures de-id of application/FHIR content.
26-
* `image` (*type:* `GoogleApi.HealthCare.V1.Model.ImageConfig.t`, *default:* `nil`) - Configures de-identification of image pixels wherever they are found in the source_dataset.
27-
* `text` (*type:* `GoogleApi.HealthCare.V1.Model.TextConfig.t`, *default:* `nil`) - Configures de-identification of text wherever it is found in the source_dataset.
28-
* `useRegionalDataProcessing` (*type:* `boolean()`, *default:* `nil`) - Ensures in-flight data remains in the region of origin during de-identification. The default value is false. Using this option results in a significant reduction of throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` infoTypes. `LOCATION` must be excluded within TextConfig, and must also be excluded within ImageConfig if image redaction is required.
24+
* `dicom` (*type:* `GoogleApi.HealthCare.V1.Model.DicomConfig.t`, *default:* `nil`) - Optional. Configures de-id of application/DICOM content.
25+
* `fhir` (*type:* `GoogleApi.HealthCare.V1.Model.FhirConfig.t`, *default:* `nil`) - Optional. Configures de-id of application/FHIR content.
26+
* `image` (*type:* `GoogleApi.HealthCare.V1.Model.ImageConfig.t`, *default:* `nil`) - Optional. Configures de-identification of image pixels wherever they are found in the source_dataset.
27+
* `text` (*type:* `GoogleApi.HealthCare.V1.Model.TextConfig.t`, *default:* `nil`) - Optional. Configures de-identification of text wherever it is found in the source_dataset.
28+
* `useRegionalDataProcessing` (*type:* `boolean()`, *default:* `nil`) - Optional. Ensures in-flight data remains in the region of origin during de-identification. The default value is false. Using this option results in a significant reduction of throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` infoTypes. `LOCATION` must be excluded within TextConfig, and must also be excluded within ImageConfig if image redaction is required.
2929
"""
3030

3131
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/dicom_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.HealthCare.V1.Model.DicomConfig do
2424
* `filterProfile` (*type:* `String.t`, *default:* `nil`) - Tag filtering profile that determines which tags to keep/remove.
2525
* `keepList` (*type:* `GoogleApi.HealthCare.V1.Model.TagFilterList.t`, *default:* `nil`) - List of tags to keep. Remove all other tags.
2626
* `removeList` (*type:* `GoogleApi.HealthCare.V1.Model.TagFilterList.t`, *default:* `nil`) - List of tags to remove. Keep all other tags.
27-
* `skipIdRedaction` (*type:* `boolean()`, *default:* `nil`) - If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare API regenerates these UIDs by default based on the DICOM Standard's reasoning: "Whilst these UIDs cannot be mapped directly to an individual out of context, given access to the original images, or to a database of the original images containing the UIDs, it would be possible to recover the individual's identity." http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.html
27+
* `skipIdRedaction` (*type:* `boolean()`, *default:* `nil`) - Optional. If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare API regenerates these UIDs by default based on the DICOM Standard's reasoning: "Whilst these UIDs cannot be mapped directly to an individual out of context, given access to the original images, or to a database of the original images containing the UIDs, it would be possible to recover the individual's identity." http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.html
2828
"""
2929

3030
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/fhir_config.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.HealthCare.V1.Model.FhirConfig do
2121
2222
## Attributes
2323
24-
* `defaultKeepExtensions` (*type:* `boolean()`, *default:* `nil`) - The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default.
25-
* `fieldMetadataList` (*type:* `list(GoogleApi.HealthCare.V1.Model.FieldMetadata.t)`, *default:* `nil`) - Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata is passed through to the output dataset unmodified. All extensions will be processed according to `default_keep_extensions`.
24+
* `defaultKeepExtensions` (*type:* `boolean()`, *default:* `nil`) - Optional. The behaviour for handling FHIR extensions that aren't otherwise specified for de-identification. If true, all extensions are preserved during de-identification by default. If false or unspecified, all extensions are removed during de-identification by default.
25+
* `fieldMetadataList` (*type:* `list(GoogleApi.HealthCare.V1.Model.FieldMetadata.t)`, *default:* `nil`) - Optional. Specifies FHIR paths to match and how to transform them. Any field that is not matched by a FieldMetadata is passed through to the output dataset unmodified. All extensions will be processed according to `default_keep_extensions`.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/field_metadata.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ defmodule GoogleApi.HealthCare.V1.Model.FieldMetadata do
2121
2222
## Attributes
2323
24-
* `action` (*type:* `String.t`, *default:* `nil`) - Deidentify action for one field.
25-
* `paths` (*type:* `list(String.t)`, *default:* `nil`) - List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For "choice" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.
24+
* `action` (*type:* `String.t`, *default:* `nil`) - Optional. Deidentify action for one field.
25+
* `paths` (*type:* `list(String.t)`, *default:* `nil`) - Optional. List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For "choice" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.
2626
"""
2727

2828
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/image_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule GoogleApi.HealthCare.V1.Model.ImageConfig do
2121
2222
## Attributes
2323
24-
* `textRedactionMode` (*type:* `String.t`, *default:* `nil`) - Determines how to redact text from image.
24+
* `textRedactionMode` (*type:* `String.t`, *default:* `nil`) - Optional. Determines how to redact text from image.
2525
"""
2626

2727
use GoogleApi.Gax.ModelBase

clients/health_care/lib/google_api/health_care/v1/model/info_type_transformation.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ defmodule GoogleApi.HealthCare.V1.Model.InfoTypeTransformation do
2424
* `characterMaskConfig` (*type:* `GoogleApi.HealthCare.V1.Model.CharacterMaskConfig.t`, *default:* `nil`) - Config for character mask.
2525
* `cryptoHashConfig` (*type:* `GoogleApi.HealthCare.V1.Model.CryptoHashConfig.t`, *default:* `nil`) - Config for crypto hash.
2626
* `dateShiftConfig` (*type:* `GoogleApi.HealthCare.V1.Model.DateShiftConfig.t`, *default:* `nil`) - Config for date shift.
27-
* `infoTypes` (*type:* `list(String.t)`, *default:* `nil`) - InfoTypes to apply this transformation to. If this is not specified, the transformation applies to any info_type.
27+
* `infoTypes` (*type:* `list(String.t)`, *default:* `nil`) - Optional. InfoTypes to apply this transformation to. If this is not specified, the transformation applies to any info_type.
2828
* `redactConfig` (*type:* `GoogleApi.HealthCare.V1.Model.RedactConfig.t`, *default:* `nil`) - Config for text redaction.
2929
* `replaceWithInfoTypeConfig` (*type:* `GoogleApi.HealthCare.V1.Model.ReplaceWithInfoTypeConfig.t`, *default:* `nil`) - Config for replace with InfoType.
3030
"""

0 commit comments

Comments
 (0)