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

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
NameDescription
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
TypeDescription
Google\Cloud\Iam\V1\Policy|null

hasPolicy

clearPolicy

setPolicy

IAM policy for the resource.

Parameter
NameDescription
var Google\Cloud\Iam\V1\Policy
Returns
TypeDescription
$this

getAuthorizedViews

List of authorized views for a dataset.

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAuthorizedViews

List of authorized views for a dataset.

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this