Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.healthcare/v1beta1.ConsentArtifact
Explore with Pulumi AI
Creates a new Consent artifact in the parent consent store.
Create ConsentArtifact Resource
new ConsentArtifact(name: string, args: ConsentArtifactArgs, opts?: CustomResourceOptions);
@overload
def ConsentArtifact(resource_name: str,
opts: Optional[ResourceOptions] = None,
consent_content_screenshots: Optional[Sequence[ImageArgs]] = None,
consent_content_version: Optional[str] = None,
consent_store_id: Optional[str] = None,
dataset_id: Optional[str] = None,
guardian_signature: Optional[SignatureArgs] = None,
location: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
project: Optional[str] = None,
user_id: Optional[str] = None,
user_signature: Optional[SignatureArgs] = None,
witness_signature: Optional[SignatureArgs] = None)
@overload
def ConsentArtifact(resource_name: str,
args: ConsentArtifactArgs,
opts: Optional[ResourceOptions] = None)
func NewConsentArtifact(ctx *Context, name string, args ConsentArtifactArgs, opts ...ResourceOption) (*ConsentArtifact, error)
public ConsentArtifact(string name, ConsentArtifactArgs args, CustomResourceOptions? opts = null)
public ConsentArtifact(String name, ConsentArtifactArgs args)
public ConsentArtifact(String name, ConsentArtifactArgs args, CustomResourceOptions options)
type: google-native:healthcare/v1beta1:ConsentArtifact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsentArtifactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ConsentArtifactArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ConsentArtifactArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsentArtifactArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConsentArtifactArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConsentArtifact Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ConsentArtifact resource accepts the following input properties:
- Consent
Store stringId - Dataset
Id string - User
Id string User's UUID provided by the client.
- Consent
Content List<Pulumi.Screenshots Google Native. Healthcare. V1Beta1. Inputs. Image Args> Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- Consent
Content stringVersion Optional. An string indicating the version of the consent information shown to the user.
- Guardian
Signature Pulumi.Google Native. Healthcare. V1Beta1. Inputs. Signature Args Optional. A signature from a guardian.
- Location string
- Metadata Dictionary<string, string>
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- Name string
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- Project string
- User
Signature Pulumi.Google Native. Healthcare. V1Beta1. Inputs. Signature Args Optional. User's signature.
- Witness
Signature Pulumi.Google Native. Healthcare. V1Beta1. Inputs. Signature Args Optional. A signature from a witness.
- Consent
Store stringId - Dataset
Id string - User
Id string User's UUID provided by the client.
- Consent
Content []ImageScreenshots Args Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- Consent
Content stringVersion Optional. An string indicating the version of the consent information shown to the user.
- Guardian
Signature SignatureArgs Optional. A signature from a guardian.
- Location string
- Metadata map[string]string
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- Name string
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- Project string
- User
Signature SignatureArgs Optional. User's signature.
- Witness
Signature SignatureArgs Optional. A signature from a witness.
- consent
Store StringId - dataset
Id String - user
Id String User's UUID provided by the client.
- consent
Content List<ImageScreenshots Args> Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consent
Content StringVersion Optional. An string indicating the version of the consent information shown to the user.
- guardian
Signature SignatureArgs Optional. A signature from a guardian.
- location String
- metadata Map<String,String>
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- name String
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- project String
- user
Signature SignatureArgs Optional. User's signature.
- witness
Signature SignatureArgs Optional. A signature from a witness.
- consent
Store stringId - dataset
Id string - user
Id string User's UUID provided by the client.
- consent
Content ImageScreenshots Args[] Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consent
Content stringVersion Optional. An string indicating the version of the consent information shown to the user.
- guardian
Signature SignatureArgs Optional. A signature from a guardian.
- location string
- metadata {[key: string]: string}
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- name string
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- project string
- user
Signature SignatureArgs Optional. User's signature.
- witness
Signature SignatureArgs Optional. A signature from a witness.
- consent_
store_ strid - dataset_
id str - user_
id str User's UUID provided by the client.
- consent_
content_ Sequence[Imagescreenshots Args] Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consent_
content_ strversion Optional. An string indicating the version of the consent information shown to the user.
- guardian_
signature SignatureArgs Optional. A signature from a guardian.
- location str
- metadata Mapping[str, str]
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- name str
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- project str
- user_
signature SignatureArgs Optional. User's signature.
- witness_
signature SignatureArgs Optional. A signature from a witness.
- consent
Store StringId - dataset
Id String - user
Id String User's UUID provided by the client.
- consent
Content List<Property Map>Screenshots Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consent
Content StringVersion Optional. An string indicating the version of the consent information shown to the user.
- guardian
Signature Property Map Optional. A signature from a guardian.
- location String
- metadata Map<String>
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
- name String
Resource name of the Consent artifact, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
. Cannot be changed after creation.- project String
- user
Signature Property Map Optional. User's signature.
- witness
Signature Property Map Optional. A signature from a witness.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsentArtifact resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
Image
- Gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- Raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- Gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- Raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri String Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes String Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs_
uri str Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw_
bytes str Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri String Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes String Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
ImageResponse
- Gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- Raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- Gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- Raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri String Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes String Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri string Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes string Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs_
uri str Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw_
bytes str Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
- gcs
Uri String Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format:
gs://{bucket_id}/{object_id}
. The Cloud Healthcare API service account must have theroles/storage.objectViewer
Cloud IAM role for this Cloud Storage location. The consent artifact content at this URI is copied to a Cloud Storage location managed by the Cloud Healthcare API. Responses to fetching requests return the consent artifact content in raw_bytes.- raw
Bytes String Consent artifact content represented as a stream of bytes. This field is populated when returned in GetConsentArtifact response, but not included in CreateConsentArtifact and ListConsentArtifact response.
Signature
- User
Id string User's UUID provided by the client.
- Image
Pulumi.
Google Native. Healthcare. V1Beta1. Inputs. Image Optional. An image of the user's signature.
- Metadata Dictionary<string, string>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- Signature
Time string Optional. Timestamp of the signature.
- User
Id string User's UUID provided by the client.
- Image Image
Optional. An image of the user's signature.
- Metadata map[string]string
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- Signature
Time string Optional. Timestamp of the signature.
- user
Id String User's UUID provided by the client.
- image Image
Optional. An image of the user's signature.
- metadata Map<String,String>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time String Optional. Timestamp of the signature.
- user
Id string User's UUID provided by the client.
- image Image
Optional. An image of the user's signature.
- metadata {[key: string]: string}
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time string Optional. Timestamp of the signature.
- user_
id str User's UUID provided by the client.
- image Image
Optional. An image of the user's signature.
- metadata Mapping[str, str]
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature_
time str Optional. Timestamp of the signature.
- user
Id String User's UUID provided by the client.
- image Property Map
Optional. An image of the user's signature.
- metadata Map<String>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time String Optional. Timestamp of the signature.
SignatureResponse
- Image
Pulumi.
Google Native. Healthcare. V1Beta1. Inputs. Image Response Optional. An image of the user's signature.
- Metadata Dictionary<string, string>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- Signature
Time string Optional. Timestamp of the signature.
- User
Id string User's UUID provided by the client.
- Image
Image
Response Optional. An image of the user's signature.
- Metadata map[string]string
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- Signature
Time string Optional. Timestamp of the signature.
- User
Id string User's UUID provided by the client.
- image
Image
Response Optional. An image of the user's signature.
- metadata Map<String,String>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time String Optional. Timestamp of the signature.
- user
Id String User's UUID provided by the client.
- image
Image
Response Optional. An image of the user's signature.
- metadata {[key: string]: string}
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time string Optional. Timestamp of the signature.
- user
Id string User's UUID provided by the client.
- image
Image
Response Optional. An image of the user's signature.
- metadata Mapping[str, str]
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature_
time str Optional. Timestamp of the signature.
- user_
id str User's UUID provided by the client.
- image Property Map
Optional. An image of the user's signature.
- metadata Map<String>
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title.
- signature
Time String Optional. Timestamp of the signature.
- user
Id String User's UUID provided by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0