1. Packages
  2. Google Cloud Native
  3. API Docs
  4. healthcare
  5. healthcare/v1
  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/v1.Consent

Explore with Pulumi AI

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[GoogleCloudHealthcareV1ConsentPolicyArgs]] = 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/v1:Consent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConsentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ConsentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConsentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 consentResource = new GoogleNative.Healthcare.V1.Consent("consentResource", new()
{
    ConsentArtifact = "string",
    ConsentStoreId = "string",
    DatasetId = "string",
    State = GoogleNative.Healthcare.V1.ConsentState.StateUnspecified,
    UserId = "string",
    ExpireTime = "string",
    Location = "string",
    Metadata = 
    {
        { "string", "string" },
    },
    Name = "string",
    Policies = new[]
    {
        new GoogleNative.Healthcare.V1.Inputs.GoogleCloudHealthcareV1ConsentPolicyArgs
        {
            AuthorizationRule = new GoogleNative.Healthcare.V1.Inputs.ExprArgs
            {
                Description = "string",
                Expression = "string",
                Location = "string",
                Title = "string",
            },
            ResourceAttributes = new[]
            {
                new GoogleNative.Healthcare.V1.Inputs.AttributeArgs
                {
                    Values = new[]
                    {
                        "string",
                    },
                    AttributeDefinitionId = "string",
                },
            },
        },
    },
    Project = "string",
    Ttl = "string",
});
Copy
example, err := healthcare.NewConsent(ctx, "consentResource", &healthcare.ConsentArgs{
	ConsentArtifact: pulumi.String("string"),
	ConsentStoreId:  pulumi.String("string"),
	DatasetId:       pulumi.String("string"),
	State:           healthcare.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.GoogleCloudHealthcareV1ConsentPolicyArray{
		&healthcare.GoogleCloudHealthcareV1ConsentPolicyArgs{
			AuthorizationRule: &healthcare.ExprArgs{
				Description: pulumi.String("string"),
				Expression:  pulumi.String("string"),
				Location:    pulumi.String("string"),
				Title:       pulumi.String("string"),
			},
			ResourceAttributes: healthcare.AttributeArray{
				&healthcare.AttributeArgs{
					Values: pulumi.StringArray{
						pulumi.String("string"),
					},
					AttributeDefinitionId: pulumi.String("string"),
				},
			},
		},
	},
	Project: pulumi.String("string"),
	Ttl:     pulumi.String("string"),
})
Copy
var consentResource = new Consent("consentResource", 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(GoogleCloudHealthcareV1ConsentPolicyArgs.builder()
        .authorizationRule(ExprArgs.builder()
            .description("string")
            .expression("string")
            .location("string")
            .title("string")
            .build())
        .resourceAttributes(AttributeArgs.builder()
            .values("string")
            .attributeDefinitionId("string")
            .build())
        .build())
    .project("string")
    .ttl("string")
    .build());
Copy
consent_resource = google_native.healthcare.v1.Consent("consentResource",
    consent_artifact="string",
    consent_store_id="string",
    dataset_id="string",
    state=google_native.healthcare.v1.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": [{
            "values": ["string"],
            "attribute_definition_id": "string",
        }],
    }],
    project="string",
    ttl="string")
Copy
const consentResource = new google_native.healthcare.v1.Consent("consentResource", {
    consentArtifact: "string",
    consentStoreId: "string",
    datasetId: "string",
    state: google_native.healthcare.v1.ConsentState.StateUnspecified,
    userId: "string",
    expireTime: "string",
    location: "string",
    metadata: {
        string: "string",
    },
    name: "string",
    policies: [{
        authorizationRule: {
            description: "string",
            expression: "string",
            location: "string",
            title: "string",
        },
        resourceAttributes: [{
            values: ["string"],
            attributeDefinitionId: "string",
        }],
    }],
    project: "string",
    ttl: "string",
});
Copy
type: google-native:healthcare/v1: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
Copy

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 This property is required. 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
This property is required.
Changes to this property will trigger replacement.
string
DatasetId
This property is required.
Changes to this property will trigger replacement.
string
State This property is required. Pulumi.GoogleNative.Healthcare.V1.ConsentState
Indicates the current state of this Consent.
UserId This property is required. string
User's UUID provided by the client.
ExpireTime string
Timestamp in UTC of when this Consent is considered expired.
Location Changes to this property will trigger replacement. 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.V1.Inputs.GoogleCloudHealthcareV1ConsentPolicy>
Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
Project Changes to this property will trigger replacement. string
Ttl string
Input only. The time to live for this Consent from when it is created.
ConsentArtifact This property is required. 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
This property is required.
Changes to this property will trigger replacement.
string
DatasetId
This property is required.
Changes to this property will trigger replacement.
string
State This property is required. ConsentStateEnum
Indicates the current state of this Consent.
UserId This property is required. string
User's UUID provided by the client.
ExpireTime string
Timestamp in UTC of when this Consent is considered expired.
Location Changes to this property will trigger replacement. 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 []GoogleCloudHealthcareV1ConsentPolicyArgs
Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
Project Changes to this property will trigger replacement. string
Ttl string
Input only. The time to live for this Consent from when it is created.
consentArtifact This property is required. 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
This property is required.
Changes to this property will trigger replacement.
String
datasetId
This property is required.
Changes to this property will trigger replacement.
String
state This property is required. ConsentState
Indicates the current state of this Consent.
userId This property is required. String
User's UUID provided by the client.
expireTime String
Timestamp in UTC of when this Consent is considered expired.
location Changes to this property will trigger replacement. 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<GoogleCloudHealthcareV1ConsentPolicy>
Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
project Changes to this property will trigger replacement. String
ttl String
Input only. The time to live for this Consent from when it is created.
consentArtifact This property is required. 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
This property is required.
Changes to this property will trigger replacement.
string
datasetId
This property is required.
Changes to this property will trigger replacement.
string
state This property is required. ConsentState
Indicates the current state of this Consent.
userId This property is required. string
User's UUID provided by the client.
expireTime string
Timestamp in UTC of when this Consent is considered expired.
location Changes to this property will trigger replacement. 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 GoogleCloudHealthcareV1ConsentPolicy[]
Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
project Changes to this property will trigger replacement. string
ttl string
Input only. The time to live for this Consent from when it is created.
consent_artifact This property is required. 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
This property is required.
Changes to this property will trigger replacement.
str
dataset_id
This property is required.
Changes to this property will trigger replacement.
str
state This property is required. ConsentState
Indicates the current state of this Consent.
user_id This property is required. str
User's UUID provided by the client.
expire_time str
Timestamp in UTC of when this Consent is considered expired.
location Changes to this property will trigger replacement. 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[GoogleCloudHealthcareV1ConsentPolicyArgs]
Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.
project Changes to this property will trigger replacement. str
ttl str
Input only. The time to live for this Consent from when it is created.
consentArtifact This property is required. 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
This property is required.
Changes to this property will trigger replacement.
String
datasetId
This property is required.
Changes to this property will trigger replacement.
String
state This property is required. "STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "REVOKED" | "DRAFT" | "REJECTED"
Indicates the current state of this Consent.
userId This property is required. String
User's UUID provided by the client.
expireTime String
Timestamp in UTC of when this Consent is considered expired.
location Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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

Values This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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.
attribute_definition_id str
Indicates the name of an attribute defined in the consent store.
values This property is required. 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.

AttributeResponse
, AttributeResponseArgs

AttributeDefinitionId This property is required. string
Indicates the name of an attribute defined in the consent store.
Values This property is required. 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 This property is required. string
Indicates the name of an attribute defined in the consent store.
Values This property is required. []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 This property is required. String
Indicates the name of an attribute defined in the consent store.
values This property is required. 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 This property is required. string
Indicates the name of an attribute defined in the consent store.
values This property is required. 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 This property is required. str
Indicates the name of an attribute defined in the consent store.
values This property is required. 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 This property is required. String
Indicates the name of an attribute defined in the consent store.
values This property is required. 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 This property is required. 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 This property is required. string
Textual representation of an expression in Common Expression Language syntax.
Location This property is required. string
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
Title This property is required. 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 This property is required. 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 This property is required. string
Textual representation of an expression in Common Expression Language syntax.
Location This property is required. string
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
Title This property is required. 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 This property is required. 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 This property is required. String
Textual representation of an expression in Common Expression Language syntax.
location This property is required. String
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title This property is required. 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 This property is required. 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 This property is required. string
Textual representation of an expression in Common Expression Language syntax.
location This property is required. string
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title This property is required. 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 This property is required. 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 This property is required. str
Textual representation of an expression in Common Expression Language syntax.
location This property is required. str
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title This property is required. 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 This property is required. 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 This property is required. String
Textual representation of an expression in Common Expression Language syntax.
location This property is required. String
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
title This property is required. 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.

GoogleCloudHealthcareV1ConsentPolicy
, GoogleCloudHealthcareV1ConsentPolicyArgs

AuthorizationRule This property is required. Pulumi.GoogleNative.Healthcare.V1.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.V1.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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.

GoogleCloudHealthcareV1ConsentPolicyResponse
, GoogleCloudHealthcareV1ConsentPolicyResponseArgs

AuthorizationRule This property is required. Pulumi.GoogleNative.Healthcare.V1.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 This property is required. List<Pulumi.GoogleNative.Healthcare.V1.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 This property is required. 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 This property is required. []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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 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