Reference documentation and code samples for the Google Apps Chat V1 Client class UpdateAvailabilityRequest.
Request message for the UpdateAvailability method.
Generated from protobuf message google.chat.v1.UpdateAvailabilityRequest
Namespace
Google \ Apps \ Chat \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ availability |
Availability
Required. The availability to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. The list of fields to update. The only field that can be updated is |
getAvailability
Required. The availability to update.
| Returns | |
|---|---|
| Type | Description |
Availability|null |
|
hasAvailability
clearAvailability
setAvailability
Required. The availability to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Availability
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Required. The list of fields to update.
The only field that can be updated is custom_status.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. The list of fields to update.
The only field that can be updated is custom_status.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
availability |
Availability
Required. The availability to update. |
updateMask |
Google\Protobuf\FieldMask
Required. The list of fields to update.
The only field that can be updated is |
| Returns | |
|---|---|
| Type | Description |
UpdateAvailabilityRequest |
|