Google Apps Chat V1 Client - Class MarkAsAwayRequest (0.23.0)

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

Request message for the MarkAsAway method.

Generated from protobuf message google.chat.v1.MarkAsAwayRequest

Namespace

Google \ Apps \ Chat \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the availability to mark as away. Format: users/{user}/availability {user} is the id for the Person in the People API or Admin SDK directory API. For example, users/123456789. The user's email address or me can also be used as an alias to refer to the caller. For example, users/user\@example.com or users/me.

getName

Required. The resource name of the availability to mark as away.

Format: users/{user}/availability {user} is the id for the Person in the People API or Admin SDK directory API. For example, users/123456789. The user's email address or me can also be used as an alias to refer to the caller. For example, users/user\@example.com or users/me.

Returns
Type Description
string

setName

Required. The resource name of the availability to mark as away.

Format: users/{user}/availability {user} is the id for the Person in the People API or Admin SDK directory API. For example, users/123456789. The user's email address or me can also be used as an alias to refer to the caller. For example, users/user\@example.com or users/me.

Parameter
Name Description
var string
Returns
Type Description
$this