# Common Protos for Google Cloud APIs Client - Class RowAccessPolicy (1.0.0)

1.0.0 (latest) 0.8.3 0.7.0 0.6.0 0.5.2 0.4.2 0.3.8 Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class RowAccessPolicy.

BigQuery row access policy.

Generated from protobuf message `google.cloud.audit.BigQueryAuditMetadata.RowAccessPolicy`

## Namespace

Google \\ Cloud \\ Audit \\ BigQueryAuditMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ row_access_policy_name` | `string` Row access policy URI. Format: `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/rowAccessPolicies/<row_access_policy_id>` |

### getRowAccessPolicyName

Row access policy URI.

Format:
`projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/rowAccessPolicies/<row_access_policy_id>`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRowAccessPolicyName

Row access policy URI.

Format:
`projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/rowAccessPolicies/<row_access_policy_id>`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |