Google Cloud Dataplex V1 Client - Class DataAccessSpec (0.12.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this