Class DataPolicy
Represents the label-policy binding.
Implements
Inherited Members
Namespace: Google.Apis.BigQueryDataPolicyService.v2.Data
Assembly: Google.Apis.BigQueryDataPolicyService.v2.dll
Syntax
public class DataPolicy : IDirectResponseSchema
Properties
DataMaskingPolicy
Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY.
Declaration
[JsonProperty("dataMaskingPolicy")]
public virtual DataMaskingPolicy DataMaskingPolicy { get; set; }
Property Value
| Type | Description |
|---|---|
| DataMaskingPolicy |
DataPolicyId
Output only. 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.
Declaration
[JsonProperty("dataPolicyId")]
public virtual string DataPolicyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DataPolicyType
Required. Type of data policy.
Declaration
[JsonProperty("dataPolicyType")]
public virtual string DataPolicyType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Grantees
Optional. 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 policy_tag is set), this field is not populated.
Declaration
[JsonProperty("grantees")]
public virtual IList<string> Grantees { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Name
Identifier. Resource name of this data policy, in the format of
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PolicyTag
Output only. Policy tag resource name, in the format of
projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}.
policy_tag is supported only for V1 data policies.
Declaration
[JsonProperty("policyTag")]
public virtual string PolicyTag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Output only. The version of the Data Policy resource.
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| string |