class AuthorizationInfo extends Message

Authorization information for the operation.

Generated from protobuf message google.cloud.audit.AuthorizationInfo

Methods

__construct()

No description

string
getResource()

The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID

$this
setResource(string $var)

The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID

string
getPermission()

The required IAM permission.

$this
setPermission(string $var)

The required IAM permission.

bool
getGranted()

Whether or not authorization for resource and permission was granted.

$this
setGranted(bool $var)

Whether or not authorization for resource and permission was granted.

Details

at line 39
__construct()

at line 51
string getResource()

The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID

Generated from protobuf field string resource = 1;

Return Value

string

at line 64
$this setResource(string $var)

The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID

Generated from protobuf field string resource = 1;

Parameters

string $var

Return Value

$this

at line 78
string getPermission()

The required IAM permission.

Generated from protobuf field string permission = 2;

Return Value

string

at line 90
$this setPermission(string $var)

The required IAM permission.

Generated from protobuf field string permission = 2;

Parameters

string $var

Return Value

$this

at line 105
bool getGranted()

Whether or not authorization for resource and permission was granted.

Generated from protobuf field bool granted = 3;

Return Value

bool

at line 118
$this setGranted(bool $var)

Whether or not authorization for resource and permission was granted.

Generated from protobuf field bool granted = 3;

Parameters

bool $var

Return Value

$this