NAME
Twilio::Rest::Insights::V1::Setting - The Setting resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $setting = $client->insights->v1->settings->fetch;
$client->insights->v1->settings->update(\%options);
DESCRIPTION
This file holds SettingContext and SettingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
SettingContext
Returned by $client->insights->v1->settings. It makes no request until one of these methods is called.
fetch
my $setting = $client->insights->v1->settings->fetch(\%options);
Get the Voice Insights Settings. Returns a SettingInstance.
The options are:
subaccount_sid-
The unique SID identifier of the Subaccount.
update
my $setting = $client->insights->v1->settings->update(\%options);
Update a specific Voice Insights Setting. Returns a SettingInstance.
The options are:
advanced_features-
A boolean flag to enable Advanced Features for Voice Insights.
subaccount_sid-
The unique SID identifier of the Subaccount.
voice_trace-
A boolean flag to enable Voice Trace.
SettingInstance
See also Twilio::InstanceResource.
It has fetch and update, which work as they do on the context.
Its fields are:
- account_sid
-
The unique SID identifier of the Account.
- advanced_features
-
A boolean flag indicating whether Advanced Features for Voice Insights are enabled.
- url
-
The URL of this resource.
- voice_trace
-
A boolean flag indicating whether Voice Trace is enabled.
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.