Google Cloud Dataplex V1 Client - Class DataAccessSpec (1.1.1)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class DataAccessSpec.

DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access.

Generated from protobuf message google.cloud.dataplex.v1.DataAccessSpec

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ readers array

Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.

getReaders

Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}.

The set of principals to be granted reader role on data stored within resources.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setReaders

Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}.

The set of principals to be granted reader role on data stored within resources.

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