Common Protos for Google Cloud APIs Client - Class RowAccessPolicyDeletion (0.5.1)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class RowAccessPolicyDeletion.

Row access policy deletion event.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.RowAccessPolicyDeletion

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ row_access_policies array<Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy>

The row access policies that were deleted. At present, only populated when a single policy is dropped.

↳ job_name string

The job that deleted these row access policies. Format: projects/<project_id>/jobs/<job_id>.

↳ all_row_access_policies_dropped bool

This field is set to true when a DROP ALL command has been executed, thus removing all row access policies on the table.

getRowAccessPolicies

The row access policies that were deleted. At present, only populated when a single policy is dropped.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRowAccessPolicies

The row access policies that were deleted. At present, only populated when a single policy is dropped.

Parameter
Name Description
var array<Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy>
Returns
Type Description
$this

getJobName

The job that deleted these row access policies.

Format: projects/<project_id>/jobs/<job_id>.

Returns
Type Description
string

setJobName

The job that deleted these row access policies.

Format: projects/<project_id>/jobs/<job_id>.

Parameter
Name Description
var string
Returns
Type Description
$this

getAllRowAccessPoliciesDropped

This field is set to true when a DROP ALL command has been executed, thus removing all row access policies on the table.

Returns
Type Description
bool

setAllRowAccessPoliciesDropped

This field is set to true when a DROP ALL command has been executed, thus removing all row access policies on the table.

Parameter
Name Description
var bool
Returns
Type Description
$this