Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.healthcare/v1beta1.getConsentArtifact
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the specified Consent artifact.
Using getConsentArtifact
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConsentArtifact(args: GetConsentArtifactArgs, opts?: InvokeOptions): Promise<GetConsentArtifactResult>
function getConsentArtifactOutput(args: GetConsentArtifactOutputArgs, opts?: InvokeOptions): Output<GetConsentArtifactResult>def get_consent_artifact(consent_artifact_id: Optional[str] = None,
                         consent_store_id: Optional[str] = None,
                         dataset_id: Optional[str] = None,
                         location: Optional[str] = None,
                         project: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetConsentArtifactResult
def get_consent_artifact_output(consent_artifact_id: Optional[pulumi.Input[str]] = None,
                         consent_store_id: Optional[pulumi.Input[str]] = None,
                         dataset_id: Optional[pulumi.Input[str]] = None,
                         location: Optional[pulumi.Input[str]] = None,
                         project: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetConsentArtifactResult]func LookupConsentArtifact(ctx *Context, args *LookupConsentArtifactArgs, opts ...InvokeOption) (*LookupConsentArtifactResult, error)
func LookupConsentArtifactOutput(ctx *Context, args *LookupConsentArtifactOutputArgs, opts ...InvokeOption) LookupConsentArtifactResultOutput> Note: This function is named LookupConsentArtifact in the Go SDK.
public static class GetConsentArtifact 
{
    public static Task<GetConsentArtifactResult> InvokeAsync(GetConsentArtifactArgs args, InvokeOptions? opts = null)
    public static Output<GetConsentArtifactResult> Invoke(GetConsentArtifactInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConsentArtifactResult> getConsentArtifact(GetConsentArtifactArgs args, InvokeOptions options)
public static Output<GetConsentArtifactResult> getConsentArtifact(GetConsentArtifactArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:healthcare/v1beta1:getConsentArtifact
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConsentArtifact stringId 
- ConsentStore stringId 
- DatasetId string
- Location string
- Project string
- ConsentArtifact stringId 
- ConsentStore stringId 
- DatasetId string
- Location string
- Project string
- consentArtifact StringId 
- consentStore StringId 
- datasetId String
- location String
- project String
- consentArtifact stringId 
- consentStore stringId 
- datasetId string
- location string
- project string
- consent_artifact_ strid 
- consent_store_ strid 
- dataset_id str
- location str
- project str
- consentArtifact StringId 
- consentStore StringId 
- datasetId String
- location String
- project String
getConsentArtifact Result
The following output properties are available:
- ConsentContent List<Pulumi.Screenshots Google Native. Healthcare. V1Beta1. Outputs. Image Response> 
- Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- ConsentContent stringVersion 
- Optional. An string indicating the version of the consent information shown to the user.
- GuardianSignature Pulumi.Google Native. Healthcare. V1Beta1. Outputs. Signature Response 
- Optional. A signature from a guardian.
- 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.
- UserId string
- User's UUID provided by the client.
- UserSignature Pulumi.Google Native. Healthcare. V1Beta1. Outputs. Signature Response 
- Optional. User's signature.
- WitnessSignature Pulumi.Google Native. Healthcare. V1Beta1. Outputs. Signature Response 
- Optional. A signature from a witness.
- ConsentContent []ImageScreenshots Response 
- Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- ConsentContent stringVersion 
- Optional. An string indicating the version of the consent information shown to the user.
- GuardianSignature SignatureResponse 
- Optional. A signature from a guardian.
- 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.
- UserId string
- User's UUID provided by the client.
- UserSignature SignatureResponse 
- Optional. User's signature.
- WitnessSignature SignatureResponse 
- Optional. A signature from a witness.
- consentContent List<ImageScreenshots Response> 
- Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consentContent StringVersion 
- Optional. An string indicating the version of the consent information shown to the user.
- guardianSignature SignatureResponse 
- Optional. A signature from a guardian.
- 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.
- userId String
- User's UUID provided by the client.
- userSignature SignatureResponse 
- Optional. User's signature.
- witnessSignature SignatureResponse 
- Optional. A signature from a witness.
- consentContent ImageScreenshots Response[] 
- Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consentContent stringVersion 
- Optional. An string indicating the version of the consent information shown to the user.
- guardianSignature SignatureResponse 
- Optional. A signature from a guardian.
- 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.
- userId string
- User's UUID provided by the client.
- userSignature SignatureResponse 
- Optional. User's signature.
- witnessSignature SignatureResponse 
- Optional. A signature from a witness.
- consent_content_ Sequence[Imagescreenshots Response] 
- 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 SignatureResponse 
- Optional. A signature from a guardian.
- 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.
- user_id str
- User's UUID provided by the client.
- user_signature SignatureResponse 
- Optional. User's signature.
- witness_signature SignatureResponse 
- Optional. A signature from a witness.
- consentContent List<Property Map>Screenshots 
- Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
- consentContent StringVersion 
- Optional. An string indicating the version of the consent information shown to the user.
- guardianSignature Property Map
- Optional. A signature from a guardian.
- 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.
- userId String
- User's UUID provided by the client.
- userSignature Property Map
- Optional. User's signature.
- witnessSignature Property Map
- Optional. A signature from a witness.
Supporting Types
ImageResponse 
- GcsUri 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.objectViewerCloud 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.
- RawBytes 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.
- GcsUri 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.objectViewerCloud 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.
- RawBytes 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.
- gcsUri 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.objectViewerCloud 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.
- rawBytes 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.
- gcsUri 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.objectViewerCloud 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.
- rawBytes 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.objectViewerCloud 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.
- gcsUri 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.objectViewerCloud 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.
- rawBytes 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.
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.
- SignatureTime string
- Optional. Timestamp of the signature.
- UserId string
- User's UUID provided by the client.
- Image
ImageResponse 
- 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.
- SignatureTime string
- Optional. Timestamp of the signature.
- UserId string
- User's UUID provided by the client.
- image
ImageResponse 
- 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.
- signatureTime String
- Optional. Timestamp of the signature.
- userId String
- User's UUID provided by the client.
- image
ImageResponse 
- 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.
- signatureTime string
- Optional. Timestamp of the signature.
- userId string
- User's UUID provided by the client.
- image
ImageResponse 
- 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.
- signatureTime String
- Optional. Timestamp of the signature.
- userId String
- User's UUID provided by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
