Datapolicyv2DataPolicyState class

Input properties used for looking up and filtering Datapolicyv2DataPolicy resources.

Constructors

Datapolicyv2DataPolicyState({Input<Datapolicyv2DataPolicyDataGovernanceTag?>? dataGovernanceTag, Input<Datapolicyv2DataPolicyDataMaskingPolicy?>? dataMaskingPolicy, Input<String?>? dataPolicyId, Input<String?>? dataPolicyType, Input<String?>? deletionPolicy, Input<String?>? etag, Input<List<String>?>? grantees, Input<String?>? location, Input<String?>? name, Input<String?>? policyTag, Input<String?>? project, Input<String?>? version})
Creates a new Datapolicyv2DataPolicyState. dataGovernanceTag Data Governance tag bound to the Data Policy. dataMaskingPolicy The policy used to specify data masking rule. dataPolicyId User-assigned (human readable) ID of the data policy that needs to be dataPolicyType Type of data policy. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. etag The etag for this Data Policy. grantees The list of IAM principals that have Fine Grained Access to the underlying location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. name Identifier. Resource name of this data policy, in the format of policyTag Policy tag resource name, in the format of project The ID of the project in which the resource belongs. version The version of the Data Policy resource.
const
Datapolicyv2DataPolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

dataGovernanceTag → Input<Datapolicyv2DataPolicyDataGovernanceTag?>?
Data Governance tag bound to the Data Policy. Structure is documented below.
final
dataMaskingPolicy → Input<Datapolicyv2DataPolicyDataMaskingPolicy?>?
The policy used to specify data masking rule. Structure is documented below.
final
dataPolicyId → Input<String?>?
User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.
final
dataPolicyType → Input<String?>?
Type of data policy. Possible values: DATA_MASKING_POLICY RAW_DATA_ACCESS_POLICY COLUMN_LEVEL_SECURITY_POLICY
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
etag → Input<String?>?
The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls.
final
grantees → Input<List<String>?>?
The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the IAM V2 principal syntax Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policyTag is set), this field is not populated.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String?>?
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
name → Input<String?>?
Identifier. Resource name of this data policy, in the format of projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
final
policyTag → Input<String?>?
Policy tag resource name, in the format of projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}. policyTag is supported only for V1 data policies.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → Input<String?>?
The version of the Data Policy resource. Possible values: V1 V2
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited