Common Protos for Google Cloud APIs Client - Class EntityInfo (0.4.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
NameDescription
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
TypeDescription
string

setFriendlyName

A short name for the entity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

A long description for the entity.

Returns
TypeDescription
string

setDescription

A long description for the entity.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Labels provided for the entity.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels provided for the entity.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this