Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getConsentArtifact

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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:healthcare/v1:getConsentArtifact
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getConsentArtifact Result

The following output properties are available:

ConsentContentScreenshots List<Pulumi.GoogleNative.Healthcare.V1.Outputs.ImageResponse>

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

ConsentContentVersion string

Optional. An string indicating the version of the consent information shown to the user.

GuardianSignature Pulumi.GoogleNative.Healthcare.V1.Outputs.SignatureResponse

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.GoogleNative.Healthcare.V1.Outputs.SignatureResponse

Optional. User's signature.

WitnessSignature Pulumi.GoogleNative.Healthcare.V1.Outputs.SignatureResponse

Optional. A signature from a witness.

ConsentContentScreenshots []ImageResponse

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

ConsentContentVersion string

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.

consentContentScreenshots List<ImageResponse>

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

consentContentVersion String

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.

consentContentScreenshots ImageResponse[]

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

consentContentVersion string

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_screenshots Sequence[ImageResponse]

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

consent_content_version str

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.

consentContentScreenshots List<Property Map>

Optional. Screenshots, PDFs, or other binary information documenting the user's consent.

consentContentVersion String

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 the roles/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.

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 the roles/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.

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 the roles/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.

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 the roles/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.

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 the roles/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.

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 the roles/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.

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.GoogleNative.Healthcare.V1.Inputs.ImageResponse

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0