twilio-ruby 5.27.0 → 5.27.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +1 -0
  3. data/CHANGES.md +13 -0
  4. data/CONTRIBUTING.md +2 -0
  5. data/Dockerfile +2 -2
  6. data/README.md +2 -2
  7. data/lib/twilio-ruby/http/http_client.rb +1 -1
  8. data/lib/twilio-ruby/rest/api/v2010/account/call.rb +18 -18
  9. data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +9 -9
  10. data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +9 -9
  11. data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +5 -5
  12. data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +10 -1
  13. data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +1 -1
  14. data/lib/twilio-ruby/rest/fax/v1/fax.rb +12 -12
  15. data/lib/twilio-ruby/rest/flex_api.rb +6 -3
  16. data/lib/twilio-ruby/rest/flex_api/v1.rb +3 -3
  17. data/lib/twilio-ruby/rest/flex_api/v1/channel.rb +23 -23
  18. data/lib/twilio-ruby/rest/flex_api/v1/configuration.rb +39 -37
  19. data/lib/twilio-ruby/rest/flex_api/v1/flex_flow.rb +102 -96
  20. data/lib/twilio-ruby/rest/flex_api/v1/web_channel.rb +20 -20
  21. data/lib/twilio-ruby/rest/messaging.rb +3 -2
  22. data/lib/twilio-ruby/rest/messaging/v1.rb +2 -3
  23. data/lib/twilio-ruby/rest/messaging/v1/service.rb +124 -91
  24. data/lib/twilio-ruby/rest/messaging/v1/service/alpha_sender.rb +22 -18
  25. data/lib/twilio-ruby/rest/messaging/v1/service/phone_number.rb +22 -16
  26. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +18 -20
  27. data/lib/twilio-ruby/rest/messaging/v1/session.rb +48 -44
  28. data/lib/twilio-ruby/rest/messaging/v1/session/message.rb +46 -48
  29. data/lib/twilio-ruby/rest/messaging/v1/session/participant.rb +55 -62
  30. data/lib/twilio-ruby/rest/messaging/v1/session/webhook.rb +61 -65
  31. data/lib/twilio-ruby/rest/messaging/v1/webhook.rb +30 -36
  32. data/lib/twilio-ruby/rest/monitor.rb +4 -2
  33. data/lib/twilio-ruby/rest/monitor/v1.rb +2 -2
  34. data/lib/twilio-ruby/rest/monitor/v1/alert.rb +45 -57
  35. data/lib/twilio-ruby/rest/monitor/v1/event.rb +47 -50
  36. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +8 -8
  37. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +3 -3
  38. data/lib/twilio-ruby/rest/preview/trusted_comms/branded_call.rb +6 -6
  39. data/lib/twilio-ruby/rest/preview/trusted_comms/device.rb +1 -1
  40. data/lib/twilio-ruby/rest/preview/trusted_comms/phone_call.rb +55 -55
  41. data/lib/twilio-ruby/rest/pricing/v2/voice.rb +2 -2
  42. data/lib/twilio-ruby/rest/pricing/v2/voice/country.rb +4 -4
  43. data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +1 -1
  44. data/lib/twilio-ruby/rest/serverless.rb +2 -1
  45. data/lib/twilio-ruby/rest/serverless/v1.rb +1 -2
  46. data/lib/twilio-ruby/rest/serverless/v1/service.rb +27 -28
  47. data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +22 -22
  48. data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +22 -22
  49. data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +25 -24
  50. data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +26 -24
  51. data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +21 -24
  52. data/lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb +31 -31
  53. data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +35 -35
  54. data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +22 -22
  55. data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +22 -22
  56. data/lib/twilio-ruby/rest/studio/v1/flow/execution.rb +12 -12
  57. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +7 -4
  58. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +6 -3
  59. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +15 -9
  60. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +6 -3
  61. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +15 -9
  62. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +9 -6
  63. data/lib/twilio-ruby/rest/taskrouter.rb +2 -1
  64. data/lib/twilio-ruby/rest/taskrouter/v1.rb +1 -1
  65. data/lib/twilio-ruby/rest/taskrouter/v1/workspace.rb +102 -95
  66. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +52 -44
  67. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/event.rb +90 -81
  68. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task.rb +152 -136
  69. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_channel.rb +35 -29
  70. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue.rb +96 -89
  71. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_cumulative_statistics.rb +61 -61
  72. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_real_time_statistics.rb +27 -21
  73. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queue_statistics.rb +46 -46
  74. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task_queue/task_queues_statistics.rb +57 -64
  75. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +98 -79
  76. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb +41 -39
  77. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb +39 -33
  78. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_cumulative_statistics.rb +32 -31
  79. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_real_time_statistics.rb +16 -11
  80. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/workers_statistics.rb +42 -42
  81. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow.rb +75 -72
  82. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_cumulative_statistics.rb +59 -51
  83. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb +24 -18
  84. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_statistics.rb +54 -46
  85. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_cumulative_statistics.rb +48 -46
  86. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_real_time_statistics.rb +17 -17
  87. data/lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb +44 -42
  88. data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +24 -18
  89. data/lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb +3 -3
  90. data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +1 -2
  91. data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +1 -2
  92. data/lib/twilio-ruby/rest/verify/v2/service/messaging_configuration.rb +12 -12
  93. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit.rb +6 -6
  94. data/lib/twilio-ruby/rest/verify/v2/service/rate_limit/bucket.rb +6 -6
  95. data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +2 -1
  96. data/lib/twilio-ruby/rest/verify/v2/service/verification_check.rb +2 -1
  97. data/lib/twilio-ruby/rest/video.rb +8 -8
  98. data/lib/twilio-ruby/rest/video/v1.rb +4 -7
  99. data/lib/twilio-ruby/rest/video/v1/composition.rb +89 -98
  100. data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +224 -195
  101. data/lib/twilio-ruby/rest/video/v1/composition_settings.rb +34 -34
  102. data/lib/twilio-ruby/rest/video/v1/recording.rb +53 -55
  103. data/lib/twilio-ruby/rest/video/v1/recording_settings.rb +32 -32
  104. data/lib/twilio-ruby/rest/video/v1/room.rb +71 -61
  105. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +45 -33
  106. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +56 -57
  107. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_published_track.rb +25 -22
  108. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +10 -10
  109. data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribed_track.rb +24 -23
  110. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -1
  111. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb +5 -5
  112. data/lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb +2 -2
  113. data/lib/twilio-ruby/version.rb +1 -1
  114. data/spec/integration/conversations/v1/conversation/message_spec.rb +58 -0
  115. metadata +4 -4
@@ -95,19 +95,19 @@ module Twilio
95
95
  ##
96
96
  # Retrieve a single page of CompositionSettingsInstance records from the API.
97
97
  # Request is executed immediately.
98
- # @param [String] friendly_name Friendly name of the configuration to be shown in
99
- # the console
100
- # @param [String] aws_credentials_sid SID of the Stored Credential resource `CRxx`
101
- # @param [String] encryption_key_sid SID of the Public Key resource `CRxx`
102
- # @param [String] aws_s3_url Identity of the external location where the
103
- # compositions should be stored. We only support DNS-compliant URLs like
104
- # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/compositions`, where
105
- # `compositions` is the path where you want compositions to be stored.
106
- # @param [Boolean] aws_storage_enabled `true|false` When set to `true`, all
107
- # Compositions will be written to the `AwsS3Url` specified above. When set to
108
- # `false`, all Compositions will be stored in Twilio's cloud.
109
- # @param [Boolean] encryption_enabled `true|false` When set to `true`, all
110
- # Compositions will be stored encrypted. Dafault value is `false`
98
+ # @param [String] friendly_name A descriptive string that you create to describe
99
+ # the resource and show to the user in the console
100
+ # @param [String] aws_credentials_sid The SID of the stored Credential resource.
101
+ # @param [String] encryption_key_sid The SID of the Public Key resource to use for
102
+ # encryption.
103
+ # @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions
104
+ # should be stored. We only support DNS-compliant URLs like
105
+ # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/compositions`, where
106
+ # `compositions` is the path in which you want the compositions to be stored.
107
+ # @param [Boolean] aws_storage_enabled Whether all compositions should be written
108
+ # to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
109
+ # @param [Boolean] encryption_enabled Whether all compositions should be stored in
110
+ # an encrypted form. The default is `false`.
111
111
  # @return [CompositionSettingsInstance] Newly created CompositionSettingsInstance
112
112
  def create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset)
113
113
  data = Twilio::Values.of({
@@ -183,49 +183,49 @@ module Twilio
183
183
  end
184
184
 
185
185
  ##
186
- # @return [String] The Twilio Account SID associated with this item
186
+ # @return [String] The SID of the Account that created the resource
187
187
  def account_sid
188
188
  @properties['account_sid']
189
189
  end
190
190
 
191
191
  ##
192
- # @return [String] Friendly name of the configuration to be shown in the console
192
+ # @return [String] The string that you assigned to describe the resource
193
193
  def friendly_name
194
194
  @properties['friendly_name']
195
195
  end
196
196
 
197
197
  ##
198
- # @return [String] SID of the Stored Credential resource CRxx
198
+ # @return [String] The SID of the stored Credential resource
199
199
  def aws_credentials_sid
200
200
  @properties['aws_credentials_sid']
201
201
  end
202
202
 
203
203
  ##
204
- # @return [String] URL of the S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like http://<my-bucket>.s3-<aws-region>.amazonaws.com/compositions, where compositions is the path where you want compositions to be stored.
204
+ # @return [String] The URL of the AWS S3 bucket where the compositions are stored
205
205
  def aws_s3_url
206
206
  @properties['aws_s3_url']
207
207
  end
208
208
 
209
209
  ##
210
- # @return [Boolean] true|false When set to true, all Compositions will be written to the AwsS3Url specified above. When set to false, all Compositions will be stored in Twilio's cloud.
210
+ # @return [Boolean] Whether all compositions are written to the aws_s3_url
211
211
  def aws_storage_enabled
212
212
  @properties['aws_storage_enabled']
213
213
  end
214
214
 
215
215
  ##
216
- # @return [String] SID of the Public Key resource CRxx
216
+ # @return [String] The SID of the Public Key resource used for encryption
217
217
  def encryption_key_sid
218
218
  @properties['encryption_key_sid']
219
219
  end
220
220
 
221
221
  ##
222
- # @return [Boolean] true|false When set to true, all Compositions will be stored encrypted.
222
+ # @return [Boolean] Whether all compositions are stored in an encrypted form
223
223
  def encryption_enabled
224
224
  @properties['encryption_enabled']
225
225
  end
226
226
 
227
227
  ##
228
- # @return [String] The url
228
+ # @return [String] The absolute URL of the resource
229
229
  def url
230
230
  @properties['url']
231
231
  end
@@ -240,19 +240,19 @@ module Twilio
240
240
  ##
241
241
  # Retrieve a single page of CompositionSettingsInstance records from the API.
242
242
  # Request is executed immediately.
243
- # @param [String] friendly_name Friendly name of the configuration to be shown in
244
- # the console
245
- # @param [String] aws_credentials_sid SID of the Stored Credential resource `CRxx`
246
- # @param [String] encryption_key_sid SID of the Public Key resource `CRxx`
247
- # @param [String] aws_s3_url Identity of the external location where the
248
- # compositions should be stored. We only support DNS-compliant URLs like
249
- # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/compositions`, where
250
- # `compositions` is the path where you want compositions to be stored.
251
- # @param [Boolean] aws_storage_enabled `true|false` When set to `true`, all
252
- # Compositions will be written to the `AwsS3Url` specified above. When set to
253
- # `false`, all Compositions will be stored in Twilio's cloud.
254
- # @param [Boolean] encryption_enabled `true|false` When set to `true`, all
255
- # Compositions will be stored encrypted. Dafault value is `false`
243
+ # @param [String] friendly_name A descriptive string that you create to describe
244
+ # the resource and show to the user in the console
245
+ # @param [String] aws_credentials_sid The SID of the stored Credential resource.
246
+ # @param [String] encryption_key_sid The SID of the Public Key resource to use for
247
+ # encryption.
248
+ # @param [String] aws_s3_url The URL of the AWS S3 bucket where the compositions
249
+ # should be stored. We only support DNS-compliant URLs like
250
+ # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/compositions`, where
251
+ # `compositions` is the path in which you want the compositions to be stored.
252
+ # @param [Boolean] aws_storage_enabled Whether all compositions should be written
253
+ # to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
254
+ # @param [Boolean] encryption_enabled Whether all compositions should be stored in
255
+ # an encrypted form. The default is `false`.
256
256
  # @return [CompositionSettingsInstance] Newly created CompositionSettingsInstance
257
257
  def create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset)
258
258
  context.create(
@@ -27,18 +27,18 @@ module Twilio
27
27
  # Lists RecordingInstance records from the API as a list.
28
28
  # Unlike stream(), this operation is eager and will load `limit` records into
29
29
  # memory before returning.
30
- # @param [recording.Status] status Only show Recordings with the given status.
31
- # @param [String] source_sid Only show the Recordings with the given source Sid
32
- # (you can use this to filter Recordings by `TrackSid` for Video Room Recordings.
33
- # @param [String] grouping_sid Only show Recordings that have this GroupingSid,
34
- # which may include a ParticipantSid and/or a RoomSid.
35
- # @param [Time] date_created_after Only show Recordings that started on or after
36
- # this ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
37
- # `YYYY-MM-DDThh:mm:ssZ`.
38
- # @param [Time] date_created_before Only show Recordings that started before this
39
- # ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
40
- # `YYYY-MM-DDThh:mm:ssZ`.
41
- # @param [recording.Type] media_type Only show Recordings that have this media
30
+ # @param [recording.Status] status Read only the recordings that have this status.
31
+ # Can be: `processing`, `completed`, or `deleted`.
32
+ # @param [String] source_sid Read only the recordings that have this `source_sid`.
33
+ # @param [String] grouping_sid Read only recordings with this `grouping_sid`,
34
+ # which may include a `participant_sid` and/or a `room_sid`.
35
+ # @param [Time] date_created_after Read only recordings that started on or after
36
+ # this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time
37
+ # zone.
38
+ # @param [Time] date_created_before Read only recordings that started before this
39
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone,
40
+ # given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or `YYYY-MM-DDThh:mm:ssZ`.
41
+ # @param [recording.Type] media_type Read only recordings that have this media
42
42
  # type. Can be either `audio` or `video`.
43
43
  # @param [Integer] limit Upper limit for the number of records to return. stream()
44
44
  # guarantees to never return more than limit. Default is no limit
@@ -64,18 +64,18 @@ module Twilio
64
64
  # Streams RecordingInstance records from the API as an Enumerable.
65
65
  # This operation lazily loads records as efficiently as possible until the limit
66
66
  # is reached.
67
- # @param [recording.Status] status Only show Recordings with the given status.
68
- # @param [String] source_sid Only show the Recordings with the given source Sid
69
- # (you can use this to filter Recordings by `TrackSid` for Video Room Recordings.
70
- # @param [String] grouping_sid Only show Recordings that have this GroupingSid,
71
- # which may include a ParticipantSid and/or a RoomSid.
72
- # @param [Time] date_created_after Only show Recordings that started on or after
73
- # this ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
74
- # `YYYY-MM-DDThh:mm:ssZ`.
75
- # @param [Time] date_created_before Only show Recordings that started before this
76
- # ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
77
- # `YYYY-MM-DDThh:mm:ssZ`.
78
- # @param [recording.Type] media_type Only show Recordings that have this media
67
+ # @param [recording.Status] status Read only the recordings that have this status.
68
+ # Can be: `processing`, `completed`, or `deleted`.
69
+ # @param [String] source_sid Read only the recordings that have this `source_sid`.
70
+ # @param [String] grouping_sid Read only recordings with this `grouping_sid`,
71
+ # which may include a `participant_sid` and/or a `room_sid`.
72
+ # @param [Time] date_created_after Read only recordings that started on or after
73
+ # this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time
74
+ # zone.
75
+ # @param [Time] date_created_before Read only recordings that started before this
76
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone,
77
+ # given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or `YYYY-MM-DDThh:mm:ssZ`.
78
+ # @param [recording.Type] media_type Read only recordings that have this media
79
79
  # type. Can be either `audio` or `video`.
80
80
  # @param [Integer] limit Upper limit for the number of records to return. stream()
81
81
  # guarantees to never return more than limit. Default is no limit.
@@ -117,18 +117,18 @@ module Twilio
117
117
  ##
118
118
  # Retrieve a single page of RecordingInstance records from the API.
119
119
  # Request is executed immediately.
120
- # @param [recording.Status] status Only show Recordings with the given status.
121
- # @param [String] source_sid Only show the Recordings with the given source Sid
122
- # (you can use this to filter Recordings by `TrackSid` for Video Room Recordings.
123
- # @param [String] grouping_sid Only show Recordings that have this GroupingSid,
124
- # which may include a ParticipantSid and/or a RoomSid.
125
- # @param [Time] date_created_after Only show Recordings that started on or after
126
- # this ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
127
- # `YYYY-MM-DDThh:mm:ssZ`.
128
- # @param [Time] date_created_before Only show Recordings that started before this
129
- # ISO8601 date-time with timezone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or
130
- # `YYYY-MM-DDThh:mm:ssZ`.
131
- # @param [recording.Type] media_type Only show Recordings that have this media
120
+ # @param [recording.Status] status Read only the recordings that have this status.
121
+ # Can be: `processing`, `completed`, or `deleted`.
122
+ # @param [String] source_sid Read only the recordings that have this `source_sid`.
123
+ # @param [String] grouping_sid Read only recordings with this `grouping_sid`,
124
+ # which may include a `participant_sid` and/or a `room_sid`.
125
+ # @param [Time] date_created_after Read only recordings that started on or after
126
+ # this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time
127
+ # zone.
128
+ # @param [Time] date_created_before Read only recordings that started before this
129
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone,
130
+ # given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or `YYYY-MM-DDThh:mm:ssZ`.
131
+ # @param [recording.Type] media_type Read only recordings that have this media
132
132
  # type. Can be either `audio` or `video`.
133
133
  # @param [String] page_token PageToken provided by the API
134
134
  # @param [Integer] page_number Page Number, this value is simply for client state
@@ -207,8 +207,7 @@ module Twilio
207
207
  ##
208
208
  # Initialize the RecordingContext
209
209
  # @param [Version] version Version that contains the resource
210
- # @param [String] sid The Recording Sid that uniquely identifies the Recording to
211
- # fetch.
210
+ # @param [String] sid The SID of the Recording resource to fetch.
212
211
  # @return [RecordingContext] RecordingContext
213
212
  def initialize(version, sid)
214
213
  super(version)
@@ -260,8 +259,7 @@ module Twilio
260
259
  # Initialize the RecordingInstance
261
260
  # @param [Version] version Version that contains the resource
262
261
  # @param [Hash] payload payload that contains response from Twilio
263
- # @param [String] sid The Recording Sid that uniquely identifies the Recording to
264
- # fetch.
262
+ # @param [String] sid The SID of the Recording resource to fetch.
265
263
  # @return [RecordingInstance] RecordingInstance
266
264
  def initialize(version, payload, sid: nil)
267
265
  super(version)
@@ -302,91 +300,91 @@ module Twilio
302
300
  end
303
301
 
304
302
  ##
305
- # @return [String] Twilio Account SID.
303
+ # @return [String] The SID of the Account that created the resource
306
304
  def account_sid
307
305
  @properties['account_sid']
308
306
  end
309
307
 
310
308
  ##
311
- # @return [recording.Status] The status of the Recording.
309
+ # @return [recording.Status] The status of the recording
312
310
  def status
313
311
  @properties['status']
314
312
  end
315
313
 
316
314
  ##
317
- # @return [Time] Date when the media recording began writing.
315
+ # @return [Time] The ISO 8601 date and time in GMT when the resource was created
318
316
  def date_created
319
317
  @properties['date_created']
320
318
  end
321
319
 
322
320
  ##
323
- # @return [String] A 34-character string that uniquely identifies this Recording.
321
+ # @return [String] The unique string that identifies the resource
324
322
  def sid
325
323
  @properties['sid']
326
324
  end
327
325
 
328
326
  ##
329
- # @return [String] A 34-character string that uniquely identifies the source of this Recording.
327
+ # @return [String] The SID of the recording source
330
328
  def source_sid
331
329
  @properties['source_sid']
332
330
  end
333
331
 
334
332
  ##
335
- # @return [String] Size of the recorded track, in bytes.
333
+ # @return [String] The size of the recorded track, in bytes
336
334
  def size
337
335
  @properties['size']
338
336
  end
339
337
 
340
338
  ##
341
- # @return [String] The absolute URL for this resource.
339
+ # @return [String] The absolute URL of the resource
342
340
  def url
343
341
  @properties['url']
344
342
  end
345
343
 
346
344
  ##
347
- # @return [recording.Type] Indicates the media type for this recording.
345
+ # @return [recording.Type] The recording's media type
348
346
  def type
349
347
  @properties['type']
350
348
  end
351
349
 
352
350
  ##
353
- # @return [String] Duration of the Recording in seconds.
351
+ # @return [String] The duration of the recording in seconds
354
352
  def duration
355
353
  @properties['duration']
356
354
  end
357
355
 
358
356
  ##
359
- # @return [recording.Format] The file format for this Recording.
357
+ # @return [recording.Format] The file format for the recording
360
358
  def container_format
361
359
  @properties['container_format']
362
360
  end
363
361
 
364
362
  ##
365
- # @return [recording.Codec] The codec used to encode the track.
363
+ # @return [recording.Codec] The codec used to encode the track
366
364
  def codec
367
365
  @properties['codec']
368
366
  end
369
367
 
370
368
  ##
371
- # @return [Hash] A list of Sids related to this Recording.
369
+ # @return [Hash] A list of SIDs related to the recording
372
370
  def grouping_sids
373
371
  @properties['grouping_sids']
374
372
  end
375
373
 
376
374
  ##
377
- # @return [String] The name that was given to the source track of this recording.
375
+ # @return [String] The name that was given to the source track of the recording
378
376
  def track_name
379
377
  @properties['track_name']
380
378
  end
381
379
 
382
380
  ##
383
- # @return [String] Offset in milliseconds for this track.
381
+ # @return [String] The number of milliseconds between a point in time that is common to all rooms in a group and when the source room of the recording started
384
382
  def offset
385
383
  @properties['offset']
386
384
  end
387
385
 
388
386
  ##
389
- # @return [String] The links
387
+ # @return [String] The URLs of related resources
390
388
  def links
391
389
  @properties['links']
392
390
  end
@@ -95,19 +95,19 @@ module Twilio
95
95
  ##
96
96
  # Retrieve a single page of RecordingSettingsInstance records from the API.
97
97
  # Request is executed immediately.
98
- # @param [String] friendly_name Friendly name of the configuration to be shown in
99
- # the console
100
- # @param [String] aws_credentials_sid SID of the Stored Credential resource `CRxx`
101
- # @param [String] encryption_key_sid SID of the Public Key resource `CRxx`
102
- # @param [String] aws_s3_url Identity of the external location where the
103
- # recordings should be stored. We only support DNS-compliant URLs like
98
+ # @param [String] friendly_name A descriptive string that you create to describe
99
+ # the resource and be shown to users in the console
100
+ # @param [String] aws_credentials_sid The SID of the stored Credential resource.
101
+ # @param [String] encryption_key_sid The SID of the Public Key resource to use for
102
+ # encryption.
103
+ # @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings
104
+ # should be stored. We only support DNS-compliant URLs like
104
105
  # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/recordings`, where
105
- # `recordings` is the path where you want recordings to be stored.
106
- # @param [Boolean] aws_storage_enabled `true|false` When set to `true`, all
107
- # Recordings will be written to the `AwsS3Url` specified above. When set to
108
- # `false`, all Recordings will be stored in Twilio's cloud.
109
- # @param [Boolean] encryption_enabled `true|false` When set to `true`, all
110
- # Recordings will be stored encrypted. Dafault value is `false`
106
+ # `recordings` is the path in which you want the recordings to be stored.
107
+ # @param [Boolean] aws_storage_enabled Whether all recordings should be written to
108
+ # the `aws_s3_url`. When `false`, all recordings are stored in our cloud.
109
+ # @param [Boolean] encryption_enabled Whether all recordings should be stored in
110
+ # an encrypted form. The default is `false`.
111
111
  # @return [RecordingSettingsInstance] Newly created RecordingSettingsInstance
112
112
  def create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset)
113
113
  data = Twilio::Values.of({
@@ -183,49 +183,49 @@ module Twilio
183
183
  end
184
184
 
185
185
  ##
186
- # @return [String] The Twilio Account SID associated with this item
186
+ # @return [String] The SID of the Account that created the resource
187
187
  def account_sid
188
188
  @properties['account_sid']
189
189
  end
190
190
 
191
191
  ##
192
- # @return [String] Friendly name of the configuration to be shown in the console
192
+ # @return [String] The string that you assigned to describe the resource
193
193
  def friendly_name
194
194
  @properties['friendly_name']
195
195
  end
196
196
 
197
197
  ##
198
- # @return [String] SID of the Stored Credential resource CRxx
198
+ # @return [String] The SID of the stored Credential resource
199
199
  def aws_credentials_sid
200
200
  @properties['aws_credentials_sid']
201
201
  end
202
202
 
203
203
  ##
204
- # @return [String] URL of the S3 bucket where the recordings should be stored. We only support DNS-compliant URLs like http://<my-bucket>.s3-<aws-region>.amazonaws.com/recordings, where recordings is the path where you want recordings to be stored.
204
+ # @return [String] The URL of the AWS S3 bucket where the recordings are stored
205
205
  def aws_s3_url
206
206
  @properties['aws_s3_url']
207
207
  end
208
208
 
209
209
  ##
210
- # @return [Boolean] true|false When set to true, all Recordings will be written to the AwsS3Url specified above. When set to false, all Recordings will be stored in Twilio's cloud.
210
+ # @return [Boolean] Whether all recordings are written to the aws_s3_url
211
211
  def aws_storage_enabled
212
212
  @properties['aws_storage_enabled']
213
213
  end
214
214
 
215
215
  ##
216
- # @return [String] SID of the Public Key resource CRxx
216
+ # @return [String] The SID of the Public Key resource used for encryption
217
217
  def encryption_key_sid
218
218
  @properties['encryption_key_sid']
219
219
  end
220
220
 
221
221
  ##
222
- # @return [Boolean] true|false When set to true, all Recordings will be stored encrypted.
222
+ # @return [Boolean] Whether all recordings are stored in an encrypted form
223
223
  def encryption_enabled
224
224
  @properties['encryption_enabled']
225
225
  end
226
226
 
227
227
  ##
228
- # @return [String] The url
228
+ # @return [String] The absolute URL of the resource
229
229
  def url
230
230
  @properties['url']
231
231
  end
@@ -240,19 +240,19 @@ module Twilio
240
240
  ##
241
241
  # Retrieve a single page of RecordingSettingsInstance records from the API.
242
242
  # Request is executed immediately.
243
- # @param [String] friendly_name Friendly name of the configuration to be shown in
244
- # the console
245
- # @param [String] aws_credentials_sid SID of the Stored Credential resource `CRxx`
246
- # @param [String] encryption_key_sid SID of the Public Key resource `CRxx`
247
- # @param [String] aws_s3_url Identity of the external location where the
248
- # recordings should be stored. We only support DNS-compliant URLs like
243
+ # @param [String] friendly_name A descriptive string that you create to describe
244
+ # the resource and be shown to users in the console
245
+ # @param [String] aws_credentials_sid The SID of the stored Credential resource.
246
+ # @param [String] encryption_key_sid The SID of the Public Key resource to use for
247
+ # encryption.
248
+ # @param [String] aws_s3_url The URL of the AWS S3 bucket where the recordings
249
+ # should be stored. We only support DNS-compliant URLs like
249
250
  # `http://<my-bucket>.s3-<aws-region>.amazonaws.com/recordings`, where
250
- # `recordings` is the path where you want recordings to be stored.
251
- # @param [Boolean] aws_storage_enabled `true|false` When set to `true`, all
252
- # Recordings will be written to the `AwsS3Url` specified above. When set to
253
- # `false`, all Recordings will be stored in Twilio's cloud.
254
- # @param [Boolean] encryption_enabled `true|false` When set to `true`, all
255
- # Recordings will be stored encrypted. Dafault value is `false`
251
+ # `recordings` is the path in which you want the recordings to be stored.
252
+ # @param [Boolean] aws_storage_enabled Whether all recordings should be written to
253
+ # the `aws_s3_url`. When `false`, all recordings are stored in our cloud.
254
+ # @param [Boolean] encryption_enabled Whether all recordings should be stored in
255
+ # an encrypted form. The default is `false`.
256
256
  # @return [RecordingSettingsInstance] Newly created RecordingSettingsInstance
257
257
  def create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset)
258
258
  context.create(