Common Protos for Google Cloud APIs Client - Class EntityInfo (0.5.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class EntityInfo.

User-provided metadata for an entity, for e.g. dataset, table or model.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.EntityInfo

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ friendly_name string

A short name for the entity.

↳ description string

A long description for the entity.

↳ labels array|Google\Protobuf\Internal\MapField

Labels provided for the entity.

getFriendlyName

A short name for the entity.

Returns
Type Description
string

setFriendlyName

A short name for the entity.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

A long description for the entity.

Returns
Type Description
string

setDescription

A long description for the entity.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabels

Labels provided for the entity.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Labels provided for the entity.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this