Datapolicyv2DataPolicyArgs class

The set of arguments for Datapolicyv2DataPolicy. The set of arguments for Datapolicyv2DataPolicy.

Constructors

Datapolicyv2DataPolicyArgs({Input<Datapolicyv2DataPolicyDataGovernanceTag?>? dataGovernanceTag, Input<Datapolicyv2DataPolicyDataMaskingPolicy?>? dataMaskingPolicy, required Input<String> dataPolicyId, required Input<String> dataPolicyType, Input<String?>? deletionPolicy, Input<String?>? etag, Input<List<String>?>? grantees, required Input<String> location, Input<String?>? project})
Creates a new Datapolicyv2DataPolicyArgs. 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. project The ID of the project in which the resource belongs.
const
Datapolicyv2DataPolicyArgs.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
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

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