This page documents the language specification for the gcp package. If you're looking for help working with the inputs, outputs, or functions of gcp resources in a Pulumi program, please see the resource documentation for examples and API reference.

healthcare

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.

class pulumi_gcp.healthcare.Dataset(resource_name, opts=None, location=None, name=None, project=None, time_zone=None, __props__=None, __name__=None, __opts__=None)

A Healthcare Dataset is a toplevel logical grouping of dicomStores, fhirStores and hl7V2Stores.

To get more information about Dataset, see:

import pulumi
import pulumi_gcp as gcp

default = gcp.healthcare.Dataset("default",
    location="us-central1",
    time_zone="UTC")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – The location for the Dataset.

  • name (pulumi.Input[str]) – The resource name for the Dataset.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

  • time_zone (pulumi.Input[str]) – The default timezone used by this dataset. Must be a either a valid IANA time zone name such as “America/New_York” or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

location: pulumi.Output[str] = None

The location for the Dataset.

name: pulumi.Output[str] = None

The resource name for the Dataset.

project: pulumi.Output[str] = None

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

The fully qualified name of this dataset

time_zone: pulumi.Output[str] = None

The default timezone used by this dataset. Must be a either a valid IANA time zone name such as “America/New_York” or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

static get(resource_name, id, opts=None, location=None, name=None, project=None, self_link=None, time_zone=None)

Get an existing Dataset resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • location (pulumi.Input[str]) – The location for the Dataset.

  • name (pulumi.Input[str]) – The resource name for the Dataset.

  • project (pulumi.Input[str]) – The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

  • self_link (pulumi.Input[str]) – The fully qualified name of this dataset

  • time_zone (pulumi.Input[str]) – The default timezone used by this dataset. Must be a either a valid IANA time zone name such as “America/New_York” or empty, which defaults to UTC. This is used for parsing times in resources (e.g., HL7 messages) where no explicit timezone is specified.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DatasetIamBinding(resource_name, opts=None, condition=None, dataset_id=None, members=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare dataset. Each of these resources serves a different use case:

  • healthcare.DatasetIamPolicy: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached.

  • healthcare.DatasetIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved.

  • healthcare.DatasetIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

Note: healthcare.DatasetIamPolicy cannot be used in conjunction with healthcare.DatasetIamBinding and healthcare.DatasetIamMember or they will fight over what your policy should be.

Note: healthcare.DatasetIamBinding resources can be used in conjunction with healthcare.DatasetIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dataset = gcp.healthcare.DatasetIamPolicy("dataset",
    dataset_id="your-dataset-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamBinding("dataset",
    dataset_id="your-dataset-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamMember("dataset",
    dataset_id="your-dataset-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

dataset_id: pulumi.Output[str] = None

The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the dataset’s IAM policy.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, dataset_id=None, etag=None, members=None, role=None)

Get an existing DatasetIamBinding resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the dataset’s IAM policy.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DatasetIamMember(resource_name, opts=None, condition=None, dataset_id=None, member=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare dataset. Each of these resources serves a different use case:

  • healthcare.DatasetIamPolicy: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached.

  • healthcare.DatasetIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved.

  • healthcare.DatasetIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

Note: healthcare.DatasetIamPolicy cannot be used in conjunction with healthcare.DatasetIamBinding and healthcare.DatasetIamMember or they will fight over what your policy should be.

Note: healthcare.DatasetIamBinding resources can be used in conjunction with healthcare.DatasetIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dataset = gcp.healthcare.DatasetIamPolicy("dataset",
    dataset_id="your-dataset-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamBinding("dataset",
    dataset_id="your-dataset-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamMember("dataset",
    dataset_id="your-dataset-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

dataset_id: pulumi.Output[str] = None

The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the dataset’s IAM policy.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, dataset_id=None, etag=None, member=None, role=None)

Get an existing DatasetIamMember resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the dataset’s IAM policy.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DatasetIamPolicy(resource_name, opts=None, dataset_id=None, policy_data=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare dataset. Each of these resources serves a different use case:

  • healthcare.DatasetIamPolicy: Authoritative. Sets the IAM policy for the dataset and replaces any existing policy already attached.

  • healthcare.DatasetIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the dataset are preserved.

  • healthcare.DatasetIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the dataset are preserved.

Note: healthcare.DatasetIamPolicy cannot be used in conjunction with healthcare.DatasetIamBinding and healthcare.DatasetIamMember or they will fight over what your policy should be.

Note: healthcare.DatasetIamBinding resources can be used in conjunction with healthcare.DatasetIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dataset = gcp.healthcare.DatasetIamPolicy("dataset",
    dataset_id="your-dataset-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamBinding("dataset",
    dataset_id="your-dataset-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.DatasetIamMember("dataset",
    dataset_id="your-dataset-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

dataset_id: pulumi.Output[str] = None

The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the dataset’s IAM policy.

policy_data: pulumi.Output[str] = None

The policy data generated by a organizations.getIAMPolicy data source.

static get(resource_name, id, opts=None, dataset_id=None, etag=None, policy_data=None)

Get an existing DatasetIamPolicy resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset_id (pulumi.Input[str]) – The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the dataset’s IAM policy.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DicomStore(resource_name, opts=None, dataset=None, labels=None, name=None, notification_config=None, __props__=None, __name__=None, __opts__=None)

A DicomStore is a datastore inside a Healthcare dataset that conforms to the DICOM (https://www.dicomstandard.org/about/) standard for Healthcare information exchange

To get more information about DicomStore, see:

import pulumi
import pulumi_gcp as gcp

topic = gcp.pubsub.Topic("topic")
dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
default = gcp.healthcare.DicomStore("default",
    dataset=dataset.id,
    notification_config={
        "pubsubTopic": topic.id,
    },
    labels={
        "label1": "labelvalue1",
    })
Parameters
  • resource*name (str) –

    The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset (pulumi.Input[str]) – Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

  • labels (pulumi.Input[dict]) – User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}*-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

  • name (pulumi.Input[str]) – The resource name for the DicomStore. ** Changing this property may recreate the Dicom store (removing all data) **

  • notification_config (pulumi.Input[dict]) – A nested object resource Structure is documented below.

The notification_config object supports the following:

  • pubsubTopic (pulumi.Input[str]) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

dataset: pulumi.Output[str] = None

Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

labels: pulumi.Output[dict] = None

User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

name: pulumi.Output[str] = None

The resource name for the DicomStore. ** Changing this property may recreate the Dicom store (removing all data) **

notification_config: pulumi.Output[dict] = None

A nested object resource Structure is documented below.

  • pubsubTopic (str) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The fully qualified name of this dataset

static get(resource_name, id, opts=None, dataset=None, labels=None, name=None, notification_config=None, self_link=None)

Get an existing DicomStore resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource*name (str) –

    The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset (pulumi.Input[str]) – Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

  • labels (pulumi.Input[dict]) – User-supplied key-value pairs used to organize DICOM stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}*-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

  • name (pulumi.Input[str]) – The resource name for the DicomStore. ** Changing this property may recreate the Dicom store (removing all data) **

  • notification_config (pulumi.Input[dict]) – A nested object resource Structure is documented below.

  • self_link (pulumi.Input[str]) – The fully qualified name of this dataset

The notification_config object supports the following:

  • pubsubTopic (pulumi.Input[str]) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DicomStoreIamBinding(resource_name, opts=None, condition=None, dicom_store_id=None, members=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare DICOM store. Each of these resources serves a different use case:

  • healthcare.DicomStoreIamPolicy: Authoritative. Sets the IAM policy for the DICOM store and replaces any existing policy already attached.

  • healthcare.DicomStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the DICOM store are preserved.

  • healthcare.DicomStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the DICOM store are preserved.

Note: healthcare.DicomStoreIamPolicy cannot be used in conjunction with healthcare.DicomStoreIamBinding and healthcare.DicomStoreIamMember or they will fight over what your policy should be.

Note: healthcare.DicomStoreIamBinding resources can be used in conjunction with healthcare.DicomStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dicom_store = gcp.healthcare.DicomStoreIamPolicy("dicomStore",
    dicom_store_id="your-dicom-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamBinding("dicomStore",
    dicom_store_id="your-dicom-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamMember("dicomStore",
    dicom_store_id="your-dicom-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

dicom_store_id: pulumi.Output[str] = None

The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the DICOM store’s IAM policy.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, dicom_store_id=None, etag=None, members=None, role=None)

Get an existing DicomStoreIamBinding resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the DICOM store’s IAM policy.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DicomStoreIamMember(resource_name, opts=None, condition=None, dicom_store_id=None, member=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare DICOM store. Each of these resources serves a different use case:

  • healthcare.DicomStoreIamPolicy: Authoritative. Sets the IAM policy for the DICOM store and replaces any existing policy already attached.

  • healthcare.DicomStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the DICOM store are preserved.

  • healthcare.DicomStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the DICOM store are preserved.

Note: healthcare.DicomStoreIamPolicy cannot be used in conjunction with healthcare.DicomStoreIamBinding and healthcare.DicomStoreIamMember or they will fight over what your policy should be.

Note: healthcare.DicomStoreIamBinding resources can be used in conjunction with healthcare.DicomStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dicom_store = gcp.healthcare.DicomStoreIamPolicy("dicomStore",
    dicom_store_id="your-dicom-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamBinding("dicomStore",
    dicom_store_id="your-dicom-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamMember("dicomStore",
    dicom_store_id="your-dicom-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

dicom_store_id: pulumi.Output[str] = None

The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the DICOM store’s IAM policy.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, dicom_store_id=None, etag=None, member=None, role=None)

Get an existing DicomStoreIamMember resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the DICOM store’s IAM policy.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.DicomStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.DicomStoreIamPolicy(resource_name, opts=None, dicom_store_id=None, policy_data=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare DICOM store. Each of these resources serves a different use case:

  • healthcare.DicomStoreIamPolicy: Authoritative. Sets the IAM policy for the DICOM store and replaces any existing policy already attached.

  • healthcare.DicomStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the DICOM store are preserved.

  • healthcare.DicomStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the DICOM store are preserved.

Note: healthcare.DicomStoreIamPolicy cannot be used in conjunction with healthcare.DicomStoreIamBinding and healthcare.DicomStoreIamMember or they will fight over what your policy should be.

Note: healthcare.DicomStoreIamBinding resources can be used in conjunction with healthcare.DicomStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
dicom_store = gcp.healthcare.DicomStoreIamPolicy("dicomStore",
    dicom_store_id="your-dicom-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamBinding("dicomStore",
    dicom_store_id="your-dicom-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

dicom_store = gcp.healthcare.DicomStoreIamMember("dicomStore",
    dicom_store_id="your-dicom-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

dicom_store_id: pulumi.Output[str] = None

The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

etag: pulumi.Output[str] = None

(Computed) The etag of the DICOM store’s IAM policy.

policy_data: pulumi.Output[str] = None

The policy data generated by a organizations.getIAMPolicy data source.

static get(resource_name, id, opts=None, dicom_store_id=None, etag=None, policy_data=None)

Get an existing DicomStoreIamPolicy resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dicom_store_id (pulumi.Input[str]) – The DICOM store ID, in the form {project_id}/{location_name}/{dataset_name}/{dicom_store_name} or {location_name}/{dataset_name}/{dicom_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • etag (pulumi.Input[str]) – (Computed) The etag of the DICOM store’s IAM policy.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.FhirStore(resource_name, opts=None, dataset=None, disable_referential_integrity=None, disable_resource_versioning=None, enable_history_import=None, enable_update_create=None, labels=None, name=None, notification_config=None, stream_configs=None, version=None, __props__=None, __name__=None, __opts__=None)

A FhirStore is a datastore inside a Healthcare dataset that conforms to the FHIR (https://www.hl7.org/fhir/STU3/) standard for Healthcare information exchange

To get more information about FhirStore, see:

import pulumi
import pulumi_gcp as gcp

topic = gcp.pubsub.Topic("topic")
dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
default = gcp.healthcare.FhirStore("default",
    dataset=dataset.id,
    version="R4",
    enable_update_create=False,
    disable_referential_integrity=False,
    disable_resource_versioning=False,
    enable_history_import=False,
    notification_config={
        "pubsubTopic": topic.id,
    },
    labels={
        "label1": "labelvalue1",
    })
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
bq_dataset = gcp.bigquery.Dataset("bqDataset",
    dataset_id="bq_example_dataset",
    friendly_name="test",
    description="This is a test description",
    location="US",
    delete_contents_on_destroy=True)
default = gcp.healthcare.FhirStore("default",
    dataset=dataset.id,
    version="R4",
    enable_update_create=False,
    disable_referential_integrity=False,
    disable_resource_versioning=False,
    enable_history_import=False,
    labels={
        "label1": "labelvalue1",
    },
    stream_configs=[{
        "resourceTypes": ["Observation"],
        "bigquery_destination": {
            "datasetUri": pulumi.Output.all(bq_dataset.project, bq_dataset.dataset_id).apply(lambda project, dataset_id: f"bq://{project}.{dataset_id}"),
            "schema_config": {
                "recursiveStructureDepth": 3,
            },
        },
    }])
topic = gcp.pubsub.Topic("topic")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset (pulumi.Input[str]) – Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

  • disable_referential_integrity (pulumi.Input[bool]) – Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API will enforce referential integrity and fail the requests that will result in inconsistent state in the FHIR store. When this field is set to true, the API will skip referential integrity check. Consequently, operations that rely on references, such as Patient.get$everything, will not return all the results if broken references exist. ** Changing this property may recreate the FHIR store (removing all data) **

  • disable_resource_versioning (pulumi.Input[bool]) – Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, which is the default behavior, all write operations will cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions will be kept. The server will send back errors for attempts to read the historical versions. ** Changing this property may recreate the FHIR store (removing all data) **

  • enable_history_import (pulumi.Input[bool]) – Whether to allow the bulk import API to accept history bundles and directly insert historical resource versions into the FHIR store. Importing resource histories creates resource interactions that appear to have occurred in the past, which clients may not want to allow. If set to false, history bundles within an import will fail with an error. ** Changing this property may recreate the FHIR store (removing all data) ** ** This property can be changed manually in the Google Cloud Healthcare admin console without recreating the FHIR store **

  • enable_update*create (pulumi.Input[bool]) –

    Whether this FHIR store has the updateCreate capability. This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to Update a non-existent resource will return errors. Please treat the audit logs with appropriate levels of care if client-specified resource IDs contain sensitive data such as patient identifiers, those IDs will be part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub notifications.

  • labels (pulumi.Input[dict]) – User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}*-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

  • name (pulumi.Input[str]) – The resource name for the FhirStore. ** Changing this property may recreate the FHIR store (removing all data) **

  • notification_config (pulumi.Input[dict]) – A nested object resource Structure is documented below.

  • stream_configs (pulumi.Input[list]) – A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required bigquery.dataEditor role to your project’s Cloud Healthcare Service Agent service account. Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination. Structure is documented below.

  • version (pulumi.Input[str]) – The FHIR specification version.

The notification_config object supports the following:

  • pubsubTopic (pulumi.Input[str]) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The stream_configs object supports the following:

  • bigqueryDestination (pulumi.Input[dict]) - The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. “Patient”, “Observation”. When there is no existing table for a given resource type, the server attempts to create one. See the streaming config reference for more details. Structure is documented below.

    • datasetUri (pulumi.Input[str]) - BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId

    • schemaConfig (pulumi.Input[dict]) - The configuration for the exported BigQuery schema. Structure is documented below.

      • recursiveStructureDepth (pulumi.Input[float]) - The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.

      • schemaType (pulumi.Input[str]) - Specifies the output schema type. Only ANALYTICS is supported at this time.

  • resourceTypes (pulumi.Input[list]) - Supply a FHIR resource type (such as “Patient” or “Observation”). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.

dataset: pulumi.Output[str] = None

Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

disable_referential_integrity: pulumi.Output[bool] = None

Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API will enforce referential integrity and fail the requests that will result in inconsistent state in the FHIR store. When this field is set to true, the API will skip referential integrity check. Consequently, operations that rely on references, such as Patient.get$everything, will not return all the results if broken references exist. ** Changing this property may recreate the FHIR store (removing all data) **

disable_resource_versioning: pulumi.Output[bool] = None

Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, which is the default behavior, all write operations will cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions will be kept. The server will send back errors for attempts to read the historical versions. ** Changing this property may recreate the FHIR store (removing all data) **

enable_history_import: pulumi.Output[bool] = None

Whether to allow the bulk import API to accept history bundles and directly insert historical resource versions into the FHIR store. Importing resource histories creates resource interactions that appear to have occurred in the past, which clients may not want to allow. If set to false, history bundles within an import will fail with an error. ** Changing this property may recreate the FHIR store (removing all data) ** ** This property can be changed manually in the Google Cloud Healthcare admin console without recreating the FHIR store **

enable_update_create: pulumi.Output[bool] = None

Whether this FHIR store has the updateCreate capability. This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to Update a non-existent resource will return errors. Please treat the audit logs with appropriate levels of care if client-specified resource IDs contain sensitive data such as patient identifiers, those IDs will be part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub notifications.

labels: pulumi.Output[dict] = None

User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

name: pulumi.Output[str] = None

The resource name for the FhirStore. ** Changing this property may recreate the FHIR store (removing all data) **

notification_config: pulumi.Output[dict] = None

A nested object resource Structure is documented below.

  • pubsubTopic (str) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The fully qualified name of this dataset

stream_configs: pulumi.Output[list] = None

A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required bigquery.dataEditor role to your project’s Cloud Healthcare Service Agent service account. Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination. Structure is documented below.

  • bigqueryDestination (dict) - The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. “Patient”, “Observation”. When there is no existing table for a given resource type, the server attempts to create one. See the streaming config reference for more details. Structure is documented below.

    • datasetUri (str) - BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId

    • schemaConfig (dict) - The configuration for the exported BigQuery schema. Structure is documented below.

      • recursiveStructureDepth (float) - The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.

      • schemaType (str) - Specifies the output schema type. Only ANALYTICS is supported at this time.

  • resourceTypes (list) - Supply a FHIR resource type (such as “Patient” or “Observation”). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.

version: pulumi.Output[str] = None

The FHIR specification version.

static get(resource_name, id, opts=None, dataset=None, disable_referential_integrity=None, disable_resource_versioning=None, enable_history_import=None, enable_update_create=None, labels=None, name=None, notification_config=None, self_link=None, stream_configs=None, version=None)

Get an existing FhirStore resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • dataset (pulumi.Input[str]) – Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

  • disable_referential_integrity (pulumi.Input[bool]) – Whether to disable referential integrity in this FHIR store. This field is immutable after FHIR store creation. The default value is false, meaning that the API will enforce referential integrity and fail the requests that will result in inconsistent state in the FHIR store. When this field is set to true, the API will skip referential integrity check. Consequently, operations that rely on references, such as Patient.get$everything, will not return all the results if broken references exist. ** Changing this property may recreate the FHIR store (removing all data) **

  • disable_resource_versioning (pulumi.Input[bool]) – Whether to disable resource versioning for this FHIR store. This field can not be changed after the creation of FHIR store. If set to false, which is the default behavior, all write operations will cause historical versions to be recorded automatically. The historical versions can be fetched through the history APIs, but cannot be updated. If set to true, no historical versions will be kept. The server will send back errors for attempts to read the historical versions. ** Changing this property may recreate the FHIR store (removing all data) **

  • enable_history_import (pulumi.Input[bool]) – Whether to allow the bulk import API to accept history bundles and directly insert historical resource versions into the FHIR store. Importing resource histories creates resource interactions that appear to have occurred in the past, which clients may not want to allow. If set to false, history bundles within an import will fail with an error. ** Changing this property may recreate the FHIR store (removing all data) ** ** This property can be changed manually in the Google Cloud Healthcare admin console without recreating the FHIR store **

  • enable_update*create (pulumi.Input[bool]) –

    Whether this FHIR store has the updateCreate capability. This determines if the client can use an Update operation to create a new resource with a client-specified ID. If false, all IDs are server-assigned through the Create operation and attempts to Update a non-existent resource will return errors. Please treat the audit logs with appropriate levels of care if client-specified resource IDs contain sensitive data such as patient identifiers, those IDs will be part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub notifications.

  • labels (pulumi.Input[dict]) – User-supplied key-value pairs used to organize FHIR stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}*-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}_-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

  • name (pulumi.Input[str]) – The resource name for the FhirStore. ** Changing this property may recreate the FHIR store (removing all data) **

  • notification_config (pulumi.Input[dict]) – A nested object resource Structure is documented below.

  • self_link (pulumi.Input[str]) – The fully qualified name of this dataset

  • stream_configs (pulumi.Input[list]) – A list of streaming configs that configure the destinations of streaming export for every resource mutation in this FHIR store. Each store is allowed to have up to 10 streaming configs. After a new config is added, the next resource mutation is streamed to the new location in addition to the existing ones. When a location is removed from the list, the server stops streaming to that location. Before adding a new config, you must add the required bigquery.dataEditor role to your project’s Cloud Healthcare Service Agent service account. Some lag (typically on the order of dozens of seconds) is expected before the results show up in the streaming destination. Structure is documented below.

  • version (pulumi.Input[str]) – The FHIR specification version.

The notification_config object supports the following:

  • pubsubTopic (pulumi.Input[str]) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The stream_configs object supports the following:

  • bigqueryDestination (pulumi.Input[dict]) - The destination BigQuery structure that contains both the dataset location and corresponding schema config. The output is organized in one table per resource type. The server reuses the existing tables (if any) that are named after the resource types, e.g. “Patient”, “Observation”. When there is no existing table for a given resource type, the server attempts to create one. See the streaming config reference for more details. Structure is documented below.

    • datasetUri (pulumi.Input[str]) - BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId

    • schemaConfig (pulumi.Input[dict]) - The configuration for the exported BigQuery schema. Structure is documented below.

      • recursiveStructureDepth (pulumi.Input[float]) - The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default value 2. The maximum depth allowed is 5.

      • schemaType (pulumi.Input[str]) - Specifies the output schema type. Only ANALYTICS is supported at this time.

  • resourceTypes (pulumi.Input[list]) - Supply a FHIR resource type (such as “Patient” or “Observation”). See https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats an empty list as an intent to stream all the supported resource types in this FHIR store.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.FhirStoreIamBinding(resource_name, opts=None, condition=None, fhir_store_id=None, members=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare FHIR store. Each of these resources serves a different use case:

  • healthcare.FhirStoreIamPolicy: Authoritative. Sets the IAM policy for the FHIR store and replaces any existing policy already attached.

  • healthcare.FhirStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the FHIR store are preserved.

  • healthcare.FhirStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the FHIR store are preserved.

Note: healthcare.FhirStoreIamPolicy cannot be used in conjunction with healthcare.FhirStoreIamBinding and healthcare.FhirStoreIamMember or they will fight over what your policy should be.

Note: healthcare.FhirStoreIamBinding resources can be used in conjunction with healthcare.FhirStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
fhir_store = gcp.healthcare.FhirStoreIamPolicy("fhirStore",
    fhir_store_id="your-fhir-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamBinding("fhirStore",
    fhir_store_id="your-fhir-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamMember("fhirStore",
    fhir_store_id="your-fhir-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag: pulumi.Output[str] = None

(Computed) The etag of the FHIR store’s IAM policy.

fhir_store_id: pulumi.Output[str] = None

The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, etag=None, fhir_store_id=None, members=None, role=None)

Get an existing FhirStoreIamBinding resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the FHIR store’s IAM policy.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.FhirStoreIamMember(resource_name, opts=None, condition=None, fhir_store_id=None, member=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare FHIR store. Each of these resources serves a different use case:

  • healthcare.FhirStoreIamPolicy: Authoritative. Sets the IAM policy for the FHIR store and replaces any existing policy already attached.

  • healthcare.FhirStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the FHIR store are preserved.

  • healthcare.FhirStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the FHIR store are preserved.

Note: healthcare.FhirStoreIamPolicy cannot be used in conjunction with healthcare.FhirStoreIamBinding and healthcare.FhirStoreIamMember or they will fight over what your policy should be.

Note: healthcare.FhirStoreIamBinding resources can be used in conjunction with healthcare.FhirStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
fhir_store = gcp.healthcare.FhirStoreIamPolicy("fhirStore",
    fhir_store_id="your-fhir-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamBinding("fhirStore",
    fhir_store_id="your-fhir-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamMember("fhirStore",
    fhir_store_id="your-fhir-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag: pulumi.Output[str] = None

(Computed) The etag of the FHIR store’s IAM policy.

fhir_store_id: pulumi.Output[str] = None

The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, etag=None, fhir_store_id=None, member=None, role=None)

Get an existing FhirStoreIamMember resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the FHIR store’s IAM policy.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.FhirStoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.FhirStoreIamPolicy(resource_name, opts=None, fhir_store_id=None, policy_data=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare FHIR store. Each of these resources serves a different use case:

  • healthcare.FhirStoreIamPolicy: Authoritative. Sets the IAM policy for the FHIR store and replaces any existing policy already attached.

  • healthcare.FhirStoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the FHIR store are preserved.

  • healthcare.FhirStoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the FHIR store are preserved.

Note: healthcare.FhirStoreIamPolicy cannot be used in conjunction with healthcare.FhirStoreIamBinding and healthcare.FhirStoreIamMember or they will fight over what your policy should be.

Note: healthcare.FhirStoreIamBinding resources can be used in conjunction with healthcare.FhirStoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
fhir_store = gcp.healthcare.FhirStoreIamPolicy("fhirStore",
    fhir_store_id="your-fhir-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamBinding("fhirStore",
    fhir_store_id="your-fhir-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

fhir_store = gcp.healthcare.FhirStoreIamMember("fhirStore",
    fhir_store_id="your-fhir-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

etag: pulumi.Output[str] = None

(Computed) The etag of the FHIR store’s IAM policy.

fhir_store_id: pulumi.Output[str] = None

The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

policy_data: pulumi.Output[str] = None

The policy data generated by a organizations.getIAMPolicy data source.

static get(resource_name, id, opts=None, etag=None, fhir_store_id=None, policy_data=None)

Get an existing FhirStoreIamPolicy resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the FHIR store’s IAM policy.

  • fhir_store_id (pulumi.Input[str]) – The FHIR store ID, in the form {project_id}/{location_name}/{dataset_name}/{fhir_store_name} or {location_name}/{dataset_name}/{fhir_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.Hl7Store(resource_name, opts=None, dataset=None, labels=None, name=None, notification_config=None, notification_configs=None, parser_config=None, __props__=None, __name__=None, __opts__=None)
A Hl7V2Store is a datastore inside a Healthcare dataset that conforms to the FHIR (https://www.hl7.org/hl7V2/STU3/)
standard for Healthcare information exchange

To get more information about Hl7V2Store, see:

* [API documentation](https://cloud.google.com/healthcare/docs/reference/rest/v1/projects.locations.datasets.hl7V2Stores)
* How-to Guides
    * [Creating a HL7v2 Store](https://cloud.google.com/healthcare/docs/how-tos/hl7v2)

## Example Usage

### Healthcare Hl7 V2 Store Basic

```python
import pulumi
import pulumi_gcp as gcp

topic = gcp.pubsub.Topic("topic")
dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
default = gcp.healthcare.Hl7Store("default",
    dataset=dataset.id,
    notification_configs=[{
        "pubsubTopic": topic.id,
    }],
    labels={
        "label1": "labelvalue1",
    })
```

### Healthcare Hl7 V2 Store Parser Config

```python
import pulumi
import pulumi_gcp as gcp

dataset = gcp.healthcare.Dataset("dataset", location="us-central1")
default = gcp.healthcare.Hl7Store("default",
    dataset=dataset.id,
    parser_config={
        "allowNullHeader": False,
        "segmentTerminator": "Jw==",
        "schema": """{
  "schemas": [{
    "messageSchemaConfigs": {
      "ADT_A01": {
        "name": "ADT_A01",
        "minOccurs": 1,
        "maxOccurs": 1,
        "members": [{
            "segment": {
              "type": "MSH",
              "minOccurs": 1,
              "maxOccurs": 1
            }
          },
          {
            "segment": {
              "type": "EVN",
              "minOccurs": 1,
              "maxOccurs": 1
            }
          },
          {
            "segment": {
              "type": "PID",
              "minOccurs": 1,
              "maxOccurs": 1
            }
          },
          {
            "segment": {
              "type": "ZPD",
              "minOccurs": 1,
              "maxOccurs": 1
            }
          },
          {
            "segment": {
              "type": "OBX"
            }
          },
          {
            "group": {
              "name": "PROCEDURE",
              "members": [{
                  "segment": {
                    "type": "PR1",
                    "minOccurs": 1,
                    "maxOccurs": 1
                  }
                },
                {
                  "segment": {
                    "type": "ROL"
                  }
                }
              ]
            }
          },
          {
            "segment": {
              "type": "PDA",
              "maxOccurs": 1
            }
          }
        ]
      }
    }
  }],
  "types": [{
    "type": [{
        "name": "ZPD",
        "primitive": "VARIES"
      }

    ]
  }],
  "ignoreMinOccurs": true
}
""",
    })
```

:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] dataset: Identifies the dataset addressed by this request. Must be in the format
       'projects/{project}/locations/{location}/datasets/{dataset}'
:param pulumi.Input[dict] labels: User-supplied key-value pairs used to organize HL7v2 stores.
       Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must
       conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
       bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       No more than 64 labels can be associated with a given store.
       An object containing a list of "key": value pairs.
       Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
:param pulumi.Input[str] name: The resource name for the Hl7V2Store.
       ** Changing this property may recreate the Hl7v2 store (removing all data) **
:param pulumi.Input[dict] notification_config: -
       (Optional, Deprecated)
       A nested object resource  Structure is documented below.
:param pulumi.Input[list] notification_configs: A list of notification configs. Each configuration uses a filter to determine whether to publish a
       message (both Ingest & Create) on the corresponding notification destination. Only the message name
       is sent as part of the notification. Supplied by the client.  Structure is documented below.
:param pulumi.Input[dict] parser_config: A nested object resource  Structure is documented below.

The **notification_config** object supports the following:

  * `pubsubTopic` (`pulumi.Input[str]`) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
    PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
    It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
    was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
    project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given
    Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The **notification_configs** object supports the following:

  * `filter` (`pulumi.Input[str]`) - Restricts notifications sent for messages matching a filter. If this is empty, all messages
    are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
    Fields/functions available for filtering are:
    * messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
    * send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
    * sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
    * sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
    * PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
    * labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
  * `pubsubTopic` (`pulumi.Input[str]`) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
    PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
    It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
    was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
    project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given
    Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The **parser_config** object supports the following:

  * `allowNullHeader` (`pulumi.Input[bool]`) - Determines whether messages with no header are allowed.
  * `schema` (`pulumi.Input[str]`) - JSON encoded string for schemas used to parse messages in this
    store if schematized parsing is desired.
  * `segmentTerminator` (`pulumi.Input[str]`) - Byte(s) to be used as the segment terminator. If this is unset, '
‘ will be used as segment terminator.

A base64-encoded string.

dataset: pulumi.Output[str] = None

Identifies the dataset addressed by this request. Must be in the format ‘projects/{project}/locations/{location}/datasets/{dataset}’

labels: pulumi.Output[dict] = None

User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}][p{Ll}p{Lo}p{N}-]{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [p{Ll}p{Lo}p{N}-]{0,63} No more than 64 labels can be associated with a given store. An object containing a list of “key”: value pairs. Example: { “name”: “wrench”, “mass”: “1.3kg”, “count”: “3” }.

name: pulumi.Output[str] = None

The resource name for the Hl7V2Store. ** Changing this property may recreate the Hl7v2 store (removing all data) **

notification_config: pulumi.Output[dict] = None

(Optional, Deprecated) A nested object resource Structure is documented below.

  • pubsubTopic (str) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

notification_configs: pulumi.Output[list] = None

A list of notification configs. Each configuration uses a filter to determine whether to publish a message (both Ingest & Create) on the corresponding notification destination. Only the message name is sent as part of the notification. Supplied by the client. Structure is documented below.

  • filter (str) - Restricts notifications sent for messages matching a filter. If this is empty, all messages are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings Fields/functions available for filtering are:

    • messageType, from the MSH-9.1 field. For example, NOT messageType = “ADT”.

    • send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset’s timeZone, from the MSH-7 segment. For example, send_date < “2017-01-02”.

    • sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < “2017-01-02T00:00:00-05:00”.

    • sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = “ABC”.

    • PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId(“123456”, “MRN”).

    • labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels.”priority”=”high”. The operator :* can be used to assert the existence of a label. For example, labels.”priority”:*.

  • pubsubTopic (str) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

parser_config: pulumi.Output[dict] = None

A nested object resource Structure is documented below.

  • allowNullHeader (bool) - Determines whether messages with no header are allowed.

  • schema (str) - JSON encoded string for schemas used to parse messages in this store if schematized parsing is desired.

  • segmentTerminator (str) - Byte(s) to be used as the segment terminator. If this is unset, ‘ ‘ will be used as segment terminator. A base64-encoded string.

The fully qualified name of this dataset

static get(resource_name, id, opts=None, dataset=None, labels=None, name=None, notification_config=None, notification_configs=None, parser_config=None, self_link=None)
Get an existing Hl7Store resource's state with the given name, id, and optional extra
properties used to qualify the lookup.

:param str resource_name: The unique name of the resulting resource.
:param str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] dataset: Identifies the dataset addressed by this request. Must be in the format
       'projects/{project}/locations/{location}/datasets/{dataset}'
:param pulumi.Input[dict] labels: User-supplied key-value pairs used to organize HL7v2 stores.
       Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must
       conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
       Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
       bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
       No more than 64 labels can be associated with a given store.
       An object containing a list of "key": value pairs.
       Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
:param pulumi.Input[str] name: The resource name for the Hl7V2Store.
       ** Changing this property may recreate the Hl7v2 store (removing all data) **
:param pulumi.Input[dict] notification_config: -
       (Optional, Deprecated)
       A nested object resource  Structure is documented below.
:param pulumi.Input[list] notification_configs: A list of notification configs. Each configuration uses a filter to determine whether to publish a
       message (both Ingest & Create) on the corresponding notification destination. Only the message name
       is sent as part of the notification. Supplied by the client.  Structure is documented below.
:param pulumi.Input[dict] parser_config: A nested object resource  Structure is documented below.
:param pulumi.Input[str] self_link: The fully qualified name of this dataset

The **notification_config** object supports the following:

  * `pubsubTopic` (`pulumi.Input[str]`) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
    PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
    It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
    was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
    project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given
    Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The **notification_configs** object supports the following:

  * `filter` (`pulumi.Input[str]`) - Restricts notifications sent for messages matching a filter. If this is empty, all messages
    are matched. Syntax: https://cloud.google.com/appengine/docs/standard/python/search/query_strings
    Fields/functions available for filtering are:
    * messageType, from the MSH-9.1 field. For example, NOT messageType = "ADT".
    * send_date or sendDate, the YYYY-MM-DD date the message was sent in the dataset's timeZone, from the MSH-7 segment. For example, send_date < "2017-01-02".
    * sendTime, the timestamp when the message was sent, using the RFC3339 time format for comparisons, from the MSH-7 segment. For example, sendTime < "2017-01-02T00:00:00-05:00".
    * sendFacility, the care center that the message came from, from the MSH-4 segment. For example, sendFacility = "ABC".
    * PatientId(value, type), which matches if the message lists a patient having an ID of the given value and type in the PID-2, PID-3, or PID-4 segments. For example, PatientId("123456", "MRN").
    * labels.x, a string value of the label with key x as set using the Message.labels map. For example, labels."priority"="high". The operator :* can be used to assert the existence of a label. For example, labels."priority":*.
  * `pubsubTopic` (`pulumi.Input[str]`) - The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.
    PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message.
    It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message
    was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a
    project. cloud-healthcare@system.gserviceaccount.com must have publisher permissions on the given
    Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

The **parser_config** object supports the following:

  * `allowNullHeader` (`pulumi.Input[bool]`) - Determines whether messages with no header are allowed.
  * `schema` (`pulumi.Input[str]`) - JSON encoded string for schemas used to parse messages in this
    store if schematized parsing is desired.
  * `segmentTerminator` (`pulumi.Input[str]`) - Byte(s) to be used as the segment terminator. If this is unset, '
‘ will be used as segment terminator.

A base64-encoded string.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.Hl7StoreIamBinding(resource_name, opts=None, condition=None, hl7_v2_store_id=None, members=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare HL7v2 store. Each of these resources serves a different use case:

  • healthcare.Hl7StoreIamPolicy: Authoritative. Sets the IAM policy for the HL7v2 store and replaces any existing policy already attached.

  • healthcare.Hl7StoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the HL7v2 store are preserved.

  • healthcare.Hl7StoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the HL7v2 store are preserved.

Note: healthcare.Hl7StoreIamPolicy cannot be used in conjunction with healthcare.Hl7StoreIamBinding and healthcare.Hl7StoreIamMember or they will fight over what your policy should be.

Note: healthcare.Hl7StoreIamBinding resources can be used in conjunction with healthcare.Hl7StoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
hl7_v2_store = gcp.healthcare.Hl7StoreIamPolicy("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamBinding("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamMember("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag: pulumi.Output[str] = None

(Computed) The etag of the HL7v2 store’s IAM policy.

hl7_v2_store_id: pulumi.Output[str] = None

The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, etag=None, hl7_v2_store_id=None, members=None, role=None)

Get an existing Hl7StoreIamBinding resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the HL7v2 store’s IAM policy.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.Hl7StoreIamMember(resource_name, opts=None, condition=None, hl7_v2_store_id=None, member=None, role=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare HL7v2 store. Each of these resources serves a different use case:

  • healthcare.Hl7StoreIamPolicy: Authoritative. Sets the IAM policy for the HL7v2 store and replaces any existing policy already attached.

  • healthcare.Hl7StoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the HL7v2 store are preserved.

  • healthcare.Hl7StoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the HL7v2 store are preserved.

Note: healthcare.Hl7StoreIamPolicy cannot be used in conjunction with healthcare.Hl7StoreIamBinding and healthcare.Hl7StoreIamMember or they will fight over what your policy should be.

Note: healthcare.Hl7StoreIamBinding resources can be used in conjunction with healthcare.Hl7StoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
hl7_v2_store = gcp.healthcare.Hl7StoreIamPolicy("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamBinding("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamMember("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

etag: pulumi.Output[str] = None

(Computed) The etag of the HL7v2 store’s IAM policy.

hl7_v2_store_id: pulumi.Output[str] = None

The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

role: pulumi.Output[str] = None

The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

static get(resource_name, id, opts=None, condition=None, etag=None, hl7_v2_store_id=None, member=None, role=None)

Get an existing Hl7StoreIamMember resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the HL7v2 store’s IAM policy.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • role (pulumi.Input[str]) – The role that should be applied. Only one healthcare.Hl7StoreIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.

The condition object supports the following:

  • description (pulumi.Input[str])

  • expression (pulumi.Input[str])

  • title (pulumi.Input[str])

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_gcp.healthcare.Hl7StoreIamPolicy(resource_name, opts=None, hl7_v2_store_id=None, policy_data=None, __props__=None, __name__=None, __opts__=None)

Three different resources help you manage your IAM policy for Healthcare HL7v2 store. Each of these resources serves a different use case:

  • healthcare.Hl7StoreIamPolicy: Authoritative. Sets the IAM policy for the HL7v2 store and replaces any existing policy already attached.

  • healthcare.Hl7StoreIamBinding: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the HL7v2 store are preserved.

  • healthcare.Hl7StoreIamMember: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the HL7v2 store are preserved.

Note: healthcare.Hl7StoreIamPolicy cannot be used in conjunction with healthcare.Hl7StoreIamBinding and healthcare.Hl7StoreIamMember or they will fight over what your policy should be.

Note: healthcare.Hl7StoreIamBinding resources can be used in conjunction with healthcare.Hl7StoreIamMember resources only if they do not grant privilege to the same role.

import pulumi
import pulumi_gcp as gcp

admin = gcp.organizations.get_iam_policy(binding=[{
    "role": "roles/editor",
    "members": ["user:jane@example.com"],
}])
hl7_v2_store = gcp.healthcare.Hl7StoreIamPolicy("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    policy_data=admin.policy_data)
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamBinding("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    members=["user:jane@example.com"],
    role="roles/editor")
import pulumi
import pulumi_gcp as gcp

hl7_v2_store = gcp.healthcare.Hl7StoreIamMember("hl7V2Store",
    hl7_v2_store_id="your-hl7-v2-store-id",
    member="user:jane@example.com",
    role="roles/editor")
Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

etag: pulumi.Output[str] = None

(Computed) The etag of the HL7v2 store’s IAM policy.

hl7_v2_store_id: pulumi.Output[str] = None

The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

policy_data: pulumi.Output[str] = None

The policy data generated by a organizations.getIAMPolicy data source.

static get(resource_name, id, opts=None, etag=None, hl7_v2_store_id=None, policy_data=None)

Get an existing Hl7StoreIamPolicy resource’s state with the given name, id, and optional extra properties used to qualify the lookup.

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • etag (pulumi.Input[str]) – (Computed) The etag of the HL7v2 store’s IAM policy.

  • hl7_v2_store_id (pulumi.Input[str]) – The HL7v2 store ID, in the form {project_id}/{location_name}/{dataset_name}/{hl7_v2_store_name} or {location_name}/{dataset_name}/{hl7_v2_store_name}. In the second form, the provider’s project setting will be used as a fallback.

  • policy_data (pulumi.Input[str]) – The policy data generated by a organizations.getIAMPolicy data source.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str