1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1beta1
  6. Consent

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.Consent

Explore with Pulumi AI

google-native logo

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

    Creates a new Consent in the parent consent store.

    Create Consent Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Consent(name: string, args: ConsentArgs, opts?: CustomResourceOptions);
    @overload
    def Consent(resource_name: str,
                args: ConsentArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Consent(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                consent_artifact: Optional[str] = None,
                consent_store_id: Optional[str] = None,
                dataset_id: Optional[str] = None,
                state: Optional[ConsentState] = None,
                user_id: Optional[str] = None,
                expire_time: Optional[str] = None,
                location: Optional[str] = None,
                metadata: Optional[Mapping[str, str]] = None,
                name: Optional[str] = None,
                policies: Optional[Sequence[GoogleCloudHealthcareV1beta1ConsentPolicyArgs]] = None,
                project: Optional[str] = None,
                ttl: Optional[str] = None)
    func NewConsent(ctx *Context, name string, args ConsentArgs, opts ...ResourceOption) (*Consent, error)
    public Consent(string name, ConsentArgs args, CustomResourceOptions? opts = null)
    public Consent(String name, ConsentArgs args)
    public Consent(String name, ConsentArgs args, CustomResourceOptions options)
    
    type: google-native:healthcare/v1beta1:Consent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConsentArgs
    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 ConsentArgs
    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 ConsentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConsentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConsentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var google_nativeConsentResource = new GoogleNative.Healthcare.V1Beta1.Consent("google-nativeConsentResource", new()
    {
        ConsentArtifact = "string",
        ConsentStoreId = "string",
        DatasetId = "string",
        State = GoogleNative.Healthcare.V1Beta1.ConsentState.StateUnspecified,
        UserId = "string",
        ExpireTime = "string",
        Location = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        Name = "string",
        Policies = new[]
        {
            new GoogleNative.Healthcare.V1Beta1.Inputs.GoogleCloudHealthcareV1beta1ConsentPolicyArgs
            {
                AuthorizationRule = new GoogleNative.Healthcare.V1Beta1.Inputs.ExprArgs
                {
                    Description = "string",
                    Expression = "string",
                    Location = "string",
                    Title = "string",
                },
                ResourceAttributes = new[]
                {
                    new GoogleNative.Healthcare.V1Beta1.Inputs.AttributeArgs
                    {
                        AttributeDefinitionId = "string",
                        Values = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        Project = "string",
        Ttl = "string",
    });
    
    example, err := healthcarev1beta1.NewConsent(ctx, "google-nativeConsentResource", &healthcarev1beta1.ConsentArgs{
    	ConsentArtifact: pulumi.String("string"),
    	ConsentStoreId:  pulumi.String("string"),
    	DatasetId:       pulumi.String("string"),
    	State:           healthcarev1beta1.ConsentStateStateUnspecified,
    	UserId:          pulumi.String("string"),
    	ExpireTime:      pulumi.String("string"),
    	Location:        pulumi.String("string"),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Policies: healthcare.GoogleCloudHealthcareV1beta1ConsentPolicyArray{
    		&healthcare.GoogleCloudHealthcareV1beta1ConsentPolicyArgs{
    			AuthorizationRule: &healthcare.ExprArgs{
    				Description: pulumi.String("string"),
    				Expression:  pulumi.String("string"),
    				Location:    pulumi.String("string"),
    				Title:       pulumi.String("string"),
    			},
    			ResourceAttributes: healthcare.AttributeArray{
    				&healthcare.AttributeArgs{
    					AttributeDefinitionId: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	Project: pulumi.String("string"),
    	Ttl:     pulumi.String("string"),
    })
    
    var google_nativeConsentResource = new Consent("google-nativeConsentResource", ConsentArgs.builder()
        .consentArtifact("string")
        .consentStoreId("string")
        .datasetId("string")
        .state("STATE_UNSPECIFIED")
        .userId("string")
        .expireTime("string")
        .location("string")
        .metadata(Map.of("string", "string"))
        .name("string")
        .policies(GoogleCloudHealthcareV1beta1ConsentPolicyArgs.builder()
            .authorizationRule(ExprArgs.builder()
                .description("string")
                .expression("string")
                .location("string")
                .title("string")
                .build())
            .resourceAttributes(AttributeArgs.builder()
                .attributeDefinitionId("string")
                .values("string")
                .build())
            .build())
        .project("string")
        .ttl("string")
        .build());
    
    google_native_consent_resource = google_native.healthcare.v1beta1.Consent("google-nativeConsentResource",
        consent_artifact="string",
        consent_store_id="string",
        dataset_id="string",
        state=google_native.healthcare.v1beta1.ConsentState.STATE_UNSPECIFIED,
        user_id="string",
        expire_time="string",
        location="string",
        metadata={
            "string": "string",
        },
        name="string",
        policies=[{
            "authorization_rule": {
                "description": "string",
                "expression": "string",
                "location": "string",
                "title": "string",
            },
            "resource_attributes": [{
                "attribute_definition_id": "string",
                "values": ["string"],
            }],
        }],
        project="string",
        ttl="string")
    
    const google_nativeConsentResource = new google_native.healthcare.v1beta1.Consent("google-nativeConsentResource", {
        consentArtifact: "string",
        consentStoreId: "string",
        datasetId: "string",
        state: google_native.healthcare.v1beta1.ConsentState.StateUnspecified,
        userId: "string",
        expireTime: "string",
        location: "string",
        metadata: {
            string: "string",
        },
        name: "string",
        policies: [{
            authorizationRule: {
                description: "string",
                expression: "string",
                location: "string",
                title: "string",
            },
            resourceAttributes: [{
                attributeDefinitionId: "string",
                values: ["string"],
            }],
        }],
        project: "string",
        ttl: "string",
    });
    
    type: google-native:healthcare/v1beta1:Consent
    properties:
        consentArtifact: string
        consentStoreId: string
        datasetId: string
        expireTime: string
        location: string
        metadata:
            string: string
        name: string
        policies:
            - authorizationRule:
                description: string
                expression: string
                location: string
                title: string
              resourceAttributes:
                - attributeDefinitionId: string
                  values:
                    - string
        project: string
        state: STATE_UNSPECIFIED
        ttl: string
        userId: string
    

    Consent Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Consent resource accepts the following input properties:

    ConsentArtifact string
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    ConsentStoreId string
    DatasetId string
    State Pulumi.GoogleNative.Healthcare.V1Beta1.ConsentState
    Indicates the current state of this Consent.
    UserId string
    User's UUID provided by the client.
    ExpireTime string
    Timestamp in UTC of when this Consent is considered expired.
    Location string
    Metadata Dictionary<string, string>
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    Name string
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    Policies List<Pulumi.GoogleNative.Healthcare.V1Beta1.Inputs.GoogleCloudHealthcareV1beta1ConsentPolicy>
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    Project string
    Ttl string
    Input only. The time to live for this Consent from when it is created.
    ConsentArtifact string
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    ConsentStoreId string
    DatasetId string
    State ConsentStateEnum
    Indicates the current state of this Consent.
    UserId string
    User's UUID provided by the client.
    ExpireTime string
    Timestamp in UTC of when this Consent is considered expired.
    Location string
    Metadata map[string]string
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    Name string
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    Policies []GoogleCloudHealthcareV1beta1ConsentPolicyArgs
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    Project string
    Ttl string
    Input only. The time to live for this Consent from when it is created.
    consentArtifact String
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    consentStoreId String
    datasetId String
    state ConsentState
    Indicates the current state of this Consent.
    userId String
    User's UUID provided by the client.
    expireTime String
    Timestamp in UTC of when this Consent is considered expired.
    location String
    metadata Map<String,String>
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    name String
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    policies List<GoogleCloudHealthcareV1beta1ConsentPolicy>
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    project String
    ttl String
    Input only. The time to live for this Consent from when it is created.
    consentArtifact string
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    consentStoreId string
    datasetId string
    state ConsentState
    Indicates the current state of this Consent.
    userId string
    User's UUID provided by the client.
    expireTime string
    Timestamp in UTC of when this Consent is considered expired.
    location string
    metadata {[key: string]: string}
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    name string
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    policies GoogleCloudHealthcareV1beta1ConsentPolicy[]
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    project string
    ttl string
    Input only. The time to live for this Consent from when it is created.
    consent_artifact str
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    consent_store_id str
    dataset_id str
    state ConsentState
    Indicates the current state of this Consent.
    user_id str
    User's UUID provided by the client.
    expire_time str
    Timestamp in UTC of when this Consent is considered expired.
    location str
    metadata Mapping[str, str]
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    name str
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    policies Sequence[GoogleCloudHealthcareV1beta1ConsentPolicyArgs]
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    project str
    ttl str
    Input only. The time to live for this Consent from when it is created.
    consentArtifact String
    The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.
    consentStoreId String
    datasetId String
    state "STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "REVOKED" | "DRAFT" | "REJECTED"
    Indicates the current state of this Consent.
    userId String
    User's UUID provided by the client.
    expireTime String
    Timestamp in UTC of when this Consent is considered expired.
    location String
    metadata Map<String>
    Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.
    name String
    Resource name of the Consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
    policies List<Property Map>
    Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
    project String
    ttl String
    Input only. The time to live for this Consent from when it is created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Consent resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionCreateTime string
    The timestamp that the revision was created.
    RevisionId string
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.
    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionCreateTime string
    The timestamp that the revision was created.
    RevisionId string
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.
    id String
    The provider-assigned unique ID for this managed resource.
    revisionCreateTime String
    The timestamp that the revision was created.
    revisionId String
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.
    id string
    The provider-assigned unique ID for this managed resource.
    revisionCreateTime string
    The timestamp that the revision was created.
    revisionId string
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.
    id str
    The provider-assigned unique ID for this managed resource.
    revision_create_time str
    The timestamp that the revision was created.
    revision_id str
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.
    id String
    The provider-assigned unique ID for this managed resource.
    revisionCreateTime String
    The timestamp that the revision was created.
    revisionId String
    The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.

    Supporting Types

    Attribute, AttributeArgs

    AttributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    Values List<string>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    AttributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    Values []string
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId String
    Indicates the name of an attribute defined in the consent store.
    values List<String>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    values string[]
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attribute_definition_id str
    Indicates the name of an attribute defined in the consent store.
    values Sequence[str]
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId String
    Indicates the name of an attribute defined in the consent store.
    values List<String>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.

    AttributeResponse, AttributeResponseArgs

    AttributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    Values List<string>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    AttributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    Values []string
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId String
    Indicates the name of an attribute defined in the consent store.
    values List<String>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId string
    Indicates the name of an attribute defined in the consent store.
    values string[]
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attribute_definition_id str
    Indicates the name of an attribute defined in the consent store.
    values Sequence[str]
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.
    attributeDefinitionId String
    Indicates the name of an attribute defined in the consent store.
    values List<String>
    The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines "data type" with acceptable values "questionnaire" and "step-count", when the attribute name is data type, this field must contain one of those values.

    ConsentState, ConsentStateArgs

    StateUnspecified
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    Active
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    Archived
    ARCHIVEDThe archived state is currently not being used.
    Revoked
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    Draft
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    Rejected
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.
    ConsentStateStateUnspecified
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    ConsentStateActive
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    ConsentStateArchived
    ARCHIVEDThe archived state is currently not being used.
    ConsentStateRevoked
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    ConsentStateDraft
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    ConsentStateRejected
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.
    StateUnspecified
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    Active
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    Archived
    ARCHIVEDThe archived state is currently not being used.
    Revoked
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    Draft
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    Rejected
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.
    StateUnspecified
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    Active
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    Archived
    ARCHIVEDThe archived state is currently not being used.
    Revoked
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    Draft
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    Rejected
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.
    STATE_UNSPECIFIED
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    ACTIVE
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    ARCHIVED
    ARCHIVEDThe archived state is currently not being used.
    REVOKED
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    DRAFT
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    REJECTED
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.
    "STATE_UNSPECIFIED"
    STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
    "ACTIVE"
    ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
    "ARCHIVED"
    ARCHIVEDThe archived state is currently not being used.
    "REVOKED"
    REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
    "DRAFT"
    DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
    "REJECTED"
    REJECTEDWhen a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.

    Expr, ExprArgs

    Description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    Expression string
    Textual representation of an expression in Common Expression Language syntax.
    Location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    Title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    Description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    Expression string
    Textual representation of an expression in Common Expression Language syntax.
    Location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    Title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description String
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression String
    Textual representation of an expression in Common Expression Language syntax.
    location String
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title String
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression string
    Textual representation of an expression in Common Expression Language syntax.
    location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description str
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression str
    Textual representation of an expression in Common Expression Language syntax.
    location str
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title str
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description String
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression String
    Textual representation of an expression in Common Expression Language syntax.
    location String
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title String
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

    ExprResponse, ExprResponseArgs

    Description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    Expression string
    Textual representation of an expression in Common Expression Language syntax.
    Location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    Title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    Description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    Expression string
    Textual representation of an expression in Common Expression Language syntax.
    Location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    Title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description String
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression String
    Textual representation of an expression in Common Expression Language syntax.
    location String
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title String
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description string
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression string
    Textual representation of an expression in Common Expression Language syntax.
    location string
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title string
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description str
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression str
    Textual representation of an expression in Common Expression Language syntax.
    location str
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title str
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
    description String
    Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    expression String
    Textual representation of an expression in Common Expression Language syntax.
    location String
    Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    title String
    Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

    GoogleCloudHealthcareV1beta1ConsentPolicy, GoogleCloudHealthcareV1beta1ConsentPolicyArgs

    AuthorizationRule Pulumi.GoogleNative.Healthcare.V1Beta1.Inputs.Expr
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    ResourceAttributes List<Pulumi.GoogleNative.Healthcare.V1Beta1.Inputs.Attribute>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    AuthorizationRule Expr
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    ResourceAttributes []Attribute
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule Expr
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes List<Attribute>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule Expr
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes Attribute[]
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorization_rule Expr
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resource_attributes Sequence[Attribute]
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule Property Map
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes List<Property Map>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.

    GoogleCloudHealthcareV1beta1ConsentPolicyResponse, GoogleCloudHealthcareV1beta1ConsentPolicyResponseArgs

    AuthorizationRule Pulumi.GoogleNative.Healthcare.V1Beta1.Inputs.ExprResponse
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    ResourceAttributes List<Pulumi.GoogleNative.Healthcare.V1Beta1.Inputs.AttributeResponse>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    AuthorizationRule ExprResponse
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    ResourceAttributes []AttributeResponse
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule ExprResponse
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes List<AttributeResponse>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule ExprResponse
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes AttributeResponse[]
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorization_rule ExprResponse
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resource_attributes Sequence[AttributeResponse]
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.
    authorizationRule Property Map
    The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
    resourceAttributes List<Property Map>
    The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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