NAME
Twilio::Rest::Video::V1::Room::RecordingRules - The RecordingRules resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $recording_rules = $client->video->v1->rooms($room_sid)->recording_rules->fetch;
my $recording_rules = $client->video->v1->rooms($room_sid)->recording_rules->update(\%options);
DESCRIPTION
This file holds RecordingRulesList and RecordingRulesInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
RecordingRulesList
Returned by $client->video->v1->rooms($room_sid)->recording_rules. See also Twilio::ListResource.
fetch
my $recording_rules = $client->video->v1->rooms($room_sid)->recording_rules->fetch;
Returns a list of Recording Rules for the Room. Returns a RecordingRulesInstance.
update
my $recording_rules = $client->video->v1->rooms($room_sid)->recording_rules->update(\%options);
Update the Recording Rules for the Room. Returns a RecordingRulesInstance.
The options are:
rules-
A JSON-encoded array of recording rules. A hash or array reference, or a string of JSON.
RecordingRulesInstance
See also Twilio::InstanceResource.
Its fields are:
- date_created
-
The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- room_sid
-
The SID of the Room resource for the Recording Rules
- rules
-
A collection of Recording Rules that describe how to include or exclude matching tracks for recording
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.