Common Protos for Google Cloud APIs Client - Class BigQueryAcl (0.6.0)

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

An access control list.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ policy Google\Cloud\Iam\V1\Policy

IAM policy for the resource.

↳ authorized_views array

List of authorized views for a dataset. Format: projects/<project_id>/datasets/<dataset_id>/tables/<view_id>.

getPolicy

IAM policy for the resource.

Returns
Type Description
Google\Cloud\Iam\V1\Policy|null

hasPolicy

clearPolicy

setPolicy

IAM policy for the resource.

Parameter
Name Description
var Google\Cloud\Iam\V1\Policy
Returns
Type Description
$this

getAuthorizedViews

List of authorized views for a dataset.

Format: projects/<project_id>/datasets/<dataset_id>/tables/<view_id>.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAuthorizedViews

List of authorized views for a dataset.

Format: projects/<project_id>/datasets/<dataset_id>/tables/<view_id>.

Parameter
Name Description
var string[]
Returns
Type Description
$this