Reference documentation and code samples for the Google Apps Chat V1 Client class SpaceNotificationSetting.
The notification setting of a user in a space.
Generated from protobuf message google.chat.v1.SpaceNotificationSetting
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the space notification setting. Format: |
↳ notification_setting |
int
The notification setting. |
↳ mute_setting |
int
The space notification mute setting. |
getName
Identifier. The resource name of the space notification setting.
Format: users/{user}/spaces/{space}/spaceNotificationSetting.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the space notification setting.
Format: users/{user}/spaces/{space}/spaceNotificationSetting.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNotificationSetting
The notification setting.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasNotificationSetting
clearNotificationSetting
setNotificationSetting
The notification setting.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMuteSetting
The space notification mute setting.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasMuteSetting
clearMuteSetting
setMuteSetting
The space notification mute setting.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|