Google Cloud Dataplex V1 Client - Class ResourceAccessSpec (1.0.1)

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

ResourceAccessSpec holds the access control configuration to be enforced on the resources, for example, Cloud Storage bucket, BigQuery dataset, BigQuery table.

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

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 the resource.

↳ writers array

Optional. The set of principals to be granted writer role on the resource.

↳ owners array

Optional. The set of principals to be granted owner role on the resource.

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 the resource.

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 the resource.

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

getWriters

Optional. The set of principals to be granted writer role on the resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWriters

Optional. The set of principals to be granted writer role on the resource.

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

getOwners

Optional. The set of principals to be granted owner role on the resource.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOwners

Optional. The set of principals to be granted owner role on the resource.

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