Google Apps Chat V1 Client - Class Principal (0.23.0)

Reference documentation and code samples for the Google Apps Chat V1 Client class Principal.

A principal representing an entity granted access.

Generated from protobuf message google.chat.v1.Space.Principal

Namespace

Google \ Apps \ Chat \ V1 \ Space

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ audience Google\Apps\Chat\V1\Audience

An audience.

getAudience

An audience.

Returns
Type Description
Google\Apps\Chat\V1\Audience|null

hasAudience

setAudience

An audience.

Parameter
Name Description
var Google\Apps\Chat\V1\Audience
Returns
Type Description
$this

getPrincipalType

Returns
Type Description
string