Google Cloud Privileged Access Manager V1 Client - Class AccessControlEntry (0.1.3)

Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class AccessControlEntry.

AccessControlEntry is used to control who can do some operation.

Generated from protobuf message google.cloud.privilegedaccessmanager.v1.AccessControlEntry

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ principals array

Optional. Users who are allowed for the operation. Each entry should be a valid v1 IAM principal identifier. The format for these is documented at: https://cloud.google.com/iam/docs/principal-identifiers#v1

getPrincipals

Optional. Users who are allowed for the operation. Each entry should be a valid v1 IAM principal identifier. The format for these is documented at: https://cloud.google.com/iam/docs/principal-identifiers#v1

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPrincipals

Optional. Users who are allowed for the operation. Each entry should be a valid v1 IAM principal identifier. The format for these is documented at: https://cloud.google.com/iam/docs/principal-identifiers#v1

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