Google Cloud Dataplex V1 Client - Class ResourceAccessSpec (1.1.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.