Update Sink

Updates info regarding a Sound sink. This can be used to set a Sound sink as default, or change its volume.

Path parameters

sinkstringRequired
The sink id.

Query parameters

updateMaskstringOptionalformat: "field-mask"
The fields to update.

Request

This endpoint expects an object.
volumeintegerRequired
Volume of the sink, in percentage
isDefaultbooleanRequired
Whether this sink is the default or not
namestringOptional

Resource name of an Sound sink. Format: //system.v1.engine.core.machanirobotics.com/Sinks/{Sink}

The {Sound_sink} in the resource name is the id of the sink.

Response

OK
volumeinteger
Volume of the sink, in percentage
isDefaultboolean
Whether this sink is the default or not
namestring

Resource name of an Sound sink. Format: //system.v1.engine.core.machanirobotics.com/Sinks/{Sink}

The {Sound_sink} in the resource name is the id of the sink.

displayNamestringRead-only
Display name of the sink
stateintegerRead-only
The state of the sink
deviceClassintegerRead-only
The class of the device the sink belongs to
mutedbooleanRead-only
Whether the sink is muted or not

Errors

400
Bad Request Error