Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.healthcare/v1.Consent
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 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 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",
});
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"),
})
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());
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=[google_native.healthcare.v1.GoogleCloudHealthcareV1ConsentPolicyArgs(
authorization_rule=google_native.healthcare.v1.ExprArgs(
description="string",
expression="string",
location="string",
title="string",
),
resource_attributes=[google_native.healthcare.v1.AttributeArgs(
values=["string"],
attribute_definition_id="string",
)],
)],
project="string",
ttl="string")
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",
});
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
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
The Consent resource accepts the following input properties:
- Consent
Artifact 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}
. - Consent
Store stringId - Dataset
Id string - State
Pulumi.
Google Native. Healthcare. V1. Consent State - Indicates the current state of this Consent.
- User
Id string - User's UUID provided by the client.
- Expire
Time 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.
Google Native. Healthcare. V1. Inputs. Google Cloud Healthcare V1Consent Policy> - 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 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}
. - Consent
Store stringId - Dataset
Id string - State
Consent
State Enum - Indicates the current state of this Consent.
- User
Id string - User's UUID provided by the client.
- Expire
Time 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
[]Google
Cloud Healthcare V1Consent Policy Args - 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 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}
. - consent
Store StringId - dataset
Id String - state
Consent
State - Indicates the current state of this Consent.
- user
Id String - User's UUID provided by the client.
- expire
Time 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<Google
Cloud Healthcare V1Consent Policy> - 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 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}
. - consent
Store stringId - dataset
Id string - state
Consent
State - Indicates the current state of this Consent.
- user
Id string - User's UUID provided by the client.
- expire
Time 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
Google
Cloud Healthcare V1Consent Policy[] - 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_ strid - dataset_
id str - state
Consent
State - 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[Google
Cloud Healthcare V1Consent Policy Args] - 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.
- consent
Artifact 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}
. - consent
Store StringId - dataset
Id String - state "STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED" | "REVOKED" | "DRAFT" | "REJECTED"
- Indicates the current state of this Consent.
- user
Id String - User's UUID provided by the client.
- expire
Time 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.
- Revision
Create stringTime - The timestamp that the revision was created.
- Revision
Id 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.
- Revision
Create stringTime - The timestamp that the revision was created.
- Revision
Id 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.
- revision
Create StringTime - The timestamp that the revision was created.
- revision
Id 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.
- revision
Create stringTime - The timestamp that the revision was created.
- revision
Id 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_ strtime - 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.
- revision
Create StringTime - The timestamp that the revision was created.
- revision
Id 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 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.
- Attribute
Definition stringId - 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 stringId - 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.
- attribute
Definition StringId - 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 stringId - 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.
- attribute_
definition_ strid - 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.
- attribute
Definition StringId - Indicates the name of an attribute defined in the consent store.
AttributeResponse, AttributeResponseArgs
- Attribute
Definition stringId - 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.
- Attribute
Definition stringId - 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 StringId - 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.
- attribute
Definition stringId - 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_ strid - 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.
- attribute
Definition StringId - 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
- 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.
- Consent
State State Unspecified - STATE_UNSPECIFIEDNo state specified. Treated as ACTIVE only at the time of resource creation.
- Consent
State Active - ACTIVEThe Consent is active and is considered when evaluating a user's consent on resources.
- Consent
State Archived - ARCHIVEDThe archived state is currently not being used.
- Consent
State Revoked - REVOKEDA revoked Consent is not considered when evaluating a user's consent on resources.
- Consent
State Draft - DRAFTA draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
- Consent
State 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.
- 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.
GoogleCloudHealthcareV1ConsentPolicy, GoogleCloudHealthcareV1ConsentPolicyArgs
- Pulumi.
Google Native. 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 toAND
(&&
),OR
(||
). - Resource
Attributes List<Pulumi.Google Native. 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.
- 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 toAND
(&&
),OR
(||
). - Resource
Attributes []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.
- 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 toAND
(&&
),OR
(||
). - resource
Attributes 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.
- 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 toAND
(&&
),OR
(||
). - resource
Attributes 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.
- 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 toAND
(&&
),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.
- 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 toAND
(&&
),OR
(||
). - resource
Attributes 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
- Pulumi.
Google Native. Healthcare. V1. Inputs. Expr Response - 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 toAND
(&&
),OR
(||
). - Resource
Attributes List<Pulumi.Google Native. Healthcare. V1. Inputs. Attribute Response> - 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.
- Expr
Response - 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 toAND
(&&
),OR
(||
). - Resource
Attributes []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.
- Expr
Response - 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 toAND
(&&
),OR
(||
). - resource
Attributes 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.
- Expr
Response - 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 toAND
(&&
),OR
(||
). - resource
Attributes 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.
- Expr
Response - 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 toAND
(&&
),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.
- 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 toAND
(&&
),OR
(||
). - resource
Attributes 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.