bigquerydatapolicy library

Classes

AuditConfig
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
AuditConfigResponse
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
AuditLogConfig
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
AuditLogConfigResponse
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
Binding
Associates members, or principals, with a role.
BindingResponse
Associates members, or principals, with a role.
DataMaskingPolicy
The data masking policy that is used to specify data masking rule.
DataMaskingPolicyResponse
The data masking policy that is used to specify data masking rule.
DataPolicy
Creates a new data policy under a project with the given dataPolicyId (used as the display name), policy tag, and data policy type. Auto-naming is currently not supported for this resource.
DataPolicyArgs
The set of arguments for DataPolicy. The set of arguments for DataPolicy.
DataPolicyIamBinding
Sets the IAM policy for the specified data policy.
DataPolicyIamBindingArgs
The set of arguments for DataPolicyIamBinding. The set of arguments for DataPolicyIamBinding.
DataPolicyIamMember
Sets the IAM policy for the specified data policy.
DataPolicyIamMemberArgs
The set of arguments for DataPolicyIamMember. The set of arguments for DataPolicyIamMember.
DataPolicyIamPolicy
Sets the IAM policy for the specified data policy. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
DataPolicyIamPolicyArgs
The set of arguments for DataPolicyIamPolicy. The set of arguments for DataPolicyIamPolicy.
Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
ExprResponse
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
GetDataPolicyArgs
Arguments for getDataPolicy. Arguments for getDataPolicy.
GetDataPolicyIamPolicyArgs
Arguments for getDataPolicyIamPolicy. Arguments for getDataPolicyIamPolicy.
GetDataPolicyIamPolicyResult
Result data returned by getDataPolicyIamPolicy.
GetDataPolicyResult
Result data returned by getDataPolicy.

Enums

AuditLogConfigLogType
The log type that this config enables.
DataMaskingPolicyPredefinedExpression
A predefined masking expression.
DataPolicyDataPolicyType
Type of data policy.

Functions

getDataPolicy(GetDataPolicyArgs args, {InvokeOptions? options}) → Future<GetDataPolicyResult>
Gets the data policy specified by its resource name. args Arguments passed to this invoke. Arguments for getDataPolicy. options Invoke options controlling this call.
getDataPolicyIamPolicy(GetDataPolicyIamPolicyArgs args, {InvokeOptions? options}) → Future<GetDataPolicyIamPolicyResult>
Gets the IAM policy for the specified data policy. args Arguments passed to this invoke. Arguments for getDataPolicyIamPolicy. options Invoke options controlling this call.