cloudmersive-dlp-api-client 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +30 -8
- data/docs/AudioTimestamp.md +12 -0
- data/docs/CustomPiiField.md +9 -0
- data/docs/DetectApi.md +114 -2
- data/docs/DlpAdvancedAudioDetectionRequest.md +48 -0
- data/docs/DlpAdvancedAudioDetectionResponse.md +48 -0
- data/docs/DlpAdvancedAudioRedactionRequest.md +54 -0
- data/docs/DlpAdvancedAudioRedactionResponse.md +51 -0
- data/docs/DlpAdvancedDetectionRequest.md +4 -0
- data/docs/DlpAdvancedDetectionResponse.md +3 -0
- data/docs/DlpAdvancedDocumentDetectionRequest.md +6 -2
- data/docs/DlpAdvancedDocumentRedactionRequest.md +7 -2
- data/docs/DlpAdvancedDocumentRedactionResponse.md +3 -0
- data/docs/DlpAdvancedRedactionRequest.md +6 -1
- data/docs/DlpAdvancedRedactionResponse.md +3 -0
- data/docs/DlpAudioDetectionRequest.md +32 -0
- data/docs/DlpAudioDetectionResponse.md +33 -0
- data/docs/DlpAudioRedactionRequest.md +35 -0
- data/docs/DlpAudioRedactionResponse.md +36 -0
- data/docs/DlpBatchJobResult.md +9 -0
- data/docs/DlpBatchJobStatusResult.md +15 -0
- data/docs/DlpDocumentDetectionRequest.md +2 -2
- data/docs/DlpDocumentRedactionRequest.md +2 -2
- data/docs/DlpRedactionRequest.md +1 -1
- data/docs/RedactApi.md +114 -2
- data/docs/RedactedAudioSegment.md +10 -0
- data/docs/TasksBatchJobApi.md +288 -0
- data/lib/cloudmersive-dlp-api-client/api/detect_api.rb +104 -4
- data/lib/cloudmersive-dlp-api-client/api/redact_api.rb +104 -4
- data/lib/cloudmersive-dlp-api-client/api/tasks_batch_job_api.rb +272 -0
- data/lib/cloudmersive-dlp-api-client/models/audio_timestamp.rb +226 -0
- data/lib/cloudmersive-dlp-api-client/models/custom_pii_field.rb +196 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_detection_request.rb +601 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_detection_response.rb +588 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_redaction_request.rb +663 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_redaction_response.rb +635 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_detection_request.rb +44 -4
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_detection_response.rb +31 -1
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_document_detection_request.rb +46 -6
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_document_redaction_request.rb +58 -6
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_document_redaction_response.rb +31 -1
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_redaction_request.rb +57 -5
- data/lib/cloudmersive-dlp-api-client/models/dlp_advanced_redaction_response.rb +31 -1
- data/lib/cloudmersive-dlp-api-client/models/dlp_audio_detection_request.rb +441 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_audio_detection_response.rb +438 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_audio_redaction_request.rb +471 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_audio_redaction_response.rb +485 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_batch_job_result.rb +196 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_batch_job_status_result.rb +252 -0
- data/lib/cloudmersive-dlp-api-client/models/dlp_document_detection_request.rb +2 -2
- data/lib/cloudmersive-dlp-api-client/models/dlp_document_redaction_request.rb +2 -2
- data/lib/cloudmersive-dlp-api-client/models/dlp_redaction_request.rb +1 -1
- data/lib/cloudmersive-dlp-api-client/models/redacted_audio_segment.rb +206 -0
- data/lib/cloudmersive-dlp-api-client/version.rb +1 -1
- data/lib/cloudmersive-dlp-api-client.rb +14 -0
- data/spec/api/detect_api_spec.rb +26 -2
- data/spec/api/redact_api_spec.rb +26 -2
- data/spec/api/tasks_batch_job_api_spec.rb +95 -0
- data/spec/models/audio_timestamp_spec.rb +65 -0
- data/spec/models/custom_pii_field_spec.rb +47 -0
- data/spec/models/dlp_advanced_audio_detection_request_spec.rb +281 -0
- data/spec/models/dlp_advanced_audio_detection_response_spec.rb +281 -0
- data/spec/models/dlp_advanced_audio_redaction_request_spec.rb +317 -0
- data/spec/models/dlp_advanced_audio_redaction_response_spec.rb +299 -0
- data/spec/models/dlp_advanced_detection_request_spec.rb +24 -0
- data/spec/models/dlp_advanced_detection_response_spec.rb +18 -0
- data/spec/models/dlp_advanced_document_detection_request_spec.rb +24 -0
- data/spec/models/dlp_advanced_document_redaction_request_spec.rb +30 -0
- data/spec/models/dlp_advanced_document_redaction_response_spec.rb +18 -0
- data/spec/models/dlp_advanced_redaction_request_spec.rb +30 -0
- data/spec/models/dlp_advanced_redaction_response_spec.rb +18 -0
- data/spec/models/dlp_audio_detection_request_spec.rb +185 -0
- data/spec/models/dlp_audio_detection_response_spec.rb +191 -0
- data/spec/models/dlp_audio_redaction_request_spec.rb +203 -0
- data/spec/models/dlp_audio_redaction_response_spec.rb +209 -0
- data/spec/models/dlp_batch_job_result_spec.rb +47 -0
- data/spec/models/dlp_batch_job_status_result_spec.rb +83 -0
- data/spec/models/redacted_audio_segment_spec.rb +53 -0
- metadata +44 -2
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#dlpapi
|
|
3
|
+
|
|
4
|
+
#Easily and directly scan and detect sensitive data (PII) in input text.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.14
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveDlpApiClient::DlpAudioRedactionResponse
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DlpAudioRedactionResponse' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveDlpApiClient::DlpAudioRedactionResponse.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DlpAudioRedactionResponse' do
|
|
31
|
+
it 'should create an instance of DlpAudioRedactionResponse' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveDlpApiClient::DlpAudioRedactionResponse)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "redacted_audio"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "redacted_transcript"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "original_transcript"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "timestamps"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "redacted_segments"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "clean_result"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "contains_email_address"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "contains_phone_number"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
describe 'test attribute "contains_street_address"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "contains_person_name"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
describe 'test attribute "contains_birth_date"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
describe 'test attribute "contains_passport_number"' do
|
|
102
|
+
it 'should work' do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
describe 'test attribute "contains_drivers_license"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
describe 'test attribute "contains_social_security_number"' do
|
|
114
|
+
it 'should work' do
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
describe 'test attribute "contains_taxpayer_id"' do
|
|
120
|
+
it 'should work' do
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
describe 'test attribute "contains_credit_card_number"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "contains_credit_card_expiration_date"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
describe 'test attribute "contains_credit_card_verification_code"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
describe 'test attribute "contains_bank_account_number"' do
|
|
144
|
+
it 'should work' do
|
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
describe 'test attribute "contains_iban"' do
|
|
150
|
+
it 'should work' do
|
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
describe 'test attribute "contains_health_insurance_number"' do
|
|
156
|
+
it 'should work' do
|
|
157
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
describe 'test attribute "contains_bearer_token"' do
|
|
162
|
+
it 'should work' do
|
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
describe 'test attribute "contains_http_cookie"' do
|
|
168
|
+
it 'should work' do
|
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
170
|
+
end
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
describe 'test attribute "contains_private_keys"' do
|
|
174
|
+
it 'should work' do
|
|
175
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
describe 'test attribute "contains_credentials"' do
|
|
180
|
+
it 'should work' do
|
|
181
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
describe 'test attribute "contains_deep_web_urls"' do
|
|
186
|
+
it 'should work' do
|
|
187
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
describe 'test attribute "contains_source_code"' do
|
|
192
|
+
it 'should work' do
|
|
193
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
describe 'test attribute "contains_ip_address"' do
|
|
198
|
+
it 'should work' do
|
|
199
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
describe 'test attribute "contains_mac_address"' do
|
|
204
|
+
it 'should work' do
|
|
205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#dlpapi
|
|
3
|
+
|
|
4
|
+
#Easily and directly scan and detect sensitive data (PII) in input text.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.14
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveDlpApiClient::DlpBatchJobResult
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DlpBatchJobResult' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveDlpApiClient::DlpBatchJobResult.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DlpBatchJobResult' do
|
|
31
|
+
it 'should create an instance of DlpBatchJobResult' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveDlpApiClient::DlpBatchJobResult)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "successful"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "async_job_id"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#dlpapi
|
|
3
|
+
|
|
4
|
+
#Easily and directly scan and detect sensitive data (PII) in input text.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.14
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveDlpApiClient::DlpBatchJobStatusResult
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'DlpBatchJobStatusResult' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveDlpApiClient::DlpBatchJobStatusResult.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of DlpBatchJobStatusResult' do
|
|
31
|
+
it 'should create an instance of DlpBatchJobStatusResult' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveDlpApiClient::DlpBatchJobStatusResult)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "successful"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "async_job_status"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "async_job_id"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
describe 'test attribute "detect_audio_result"' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
describe 'test attribute "detect_audio_advanced_result"' do
|
|
60
|
+
it 'should work' do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
describe 'test attribute "redact_audio_result"' do
|
|
66
|
+
it 'should work' do
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
describe 'test attribute "redact_audio_advanced_result"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "error_message"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#dlpapi
|
|
3
|
+
|
|
4
|
+
#Easily and directly scan and detect sensitive data (PII) in input text.
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.14
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for CloudmersiveDlpApiClient::RedactedAudioSegment
|
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe 'RedactedAudioSegment' do
|
|
21
|
+
before do
|
|
22
|
+
# run before each test
|
|
23
|
+
@instance = CloudmersiveDlpApiClient::RedactedAudioSegment.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
after do
|
|
27
|
+
# run after each test
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test an instance of RedactedAudioSegment' do
|
|
31
|
+
it 'should create an instance of RedactedAudioSegment' do
|
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveDlpApiClient::RedactedAudioSegment)
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
describe 'test attribute "start_time_ms"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "end_time_ms"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "redacted_text"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloudmersive-dlp-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cloudmersive
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -204,7 +204,13 @@ files:
|
|
|
204
204
|
- "./README.md"
|
|
205
205
|
- "./Rakefile"
|
|
206
206
|
- "./cloudmersive-dlp-api-client.gemspec"
|
|
207
|
+
- "./docs/AudioTimestamp.md"
|
|
208
|
+
- "./docs/CustomPiiField.md"
|
|
207
209
|
- "./docs/DetectApi.md"
|
|
210
|
+
- "./docs/DlpAdvancedAudioDetectionRequest.md"
|
|
211
|
+
- "./docs/DlpAdvancedAudioDetectionResponse.md"
|
|
212
|
+
- "./docs/DlpAdvancedAudioRedactionRequest.md"
|
|
213
|
+
- "./docs/DlpAdvancedAudioRedactionResponse.md"
|
|
208
214
|
- "./docs/DlpAdvancedDetectionRequest.md"
|
|
209
215
|
- "./docs/DlpAdvancedDetectionResponse.md"
|
|
210
216
|
- "./docs/DlpAdvancedDocumentDetectionRequest.md"
|
|
@@ -212,6 +218,12 @@ files:
|
|
|
212
218
|
- "./docs/DlpAdvancedDocumentRedactionResponse.md"
|
|
213
219
|
- "./docs/DlpAdvancedRedactionRequest.md"
|
|
214
220
|
- "./docs/DlpAdvancedRedactionResponse.md"
|
|
221
|
+
- "./docs/DlpAudioDetectionRequest.md"
|
|
222
|
+
- "./docs/DlpAudioDetectionResponse.md"
|
|
223
|
+
- "./docs/DlpAudioRedactionRequest.md"
|
|
224
|
+
- "./docs/DlpAudioRedactionResponse.md"
|
|
225
|
+
- "./docs/DlpBatchJobResult.md"
|
|
226
|
+
- "./docs/DlpBatchJobStatusResult.md"
|
|
215
227
|
- "./docs/DlpDetectionRequest.md"
|
|
216
228
|
- "./docs/DlpDetectionResponse.md"
|
|
217
229
|
- "./docs/DlpDocumentDetectionRequest.md"
|
|
@@ -220,14 +232,23 @@ files:
|
|
|
220
232
|
- "./docs/DlpRedactionRequest.md"
|
|
221
233
|
- "./docs/DlpRedactionResponse.md"
|
|
222
234
|
- "./docs/RedactApi.md"
|
|
235
|
+
- "./docs/RedactedAudioSegment.md"
|
|
223
236
|
- "./docs/RedactedPageInfo.md"
|
|
237
|
+
- "./docs/TasksBatchJobApi.md"
|
|
224
238
|
- "./git_push.sh"
|
|
225
239
|
- "./lib/cloudmersive-dlp-api-client.rb"
|
|
226
240
|
- "./lib/cloudmersive-dlp-api-client/api/detect_api.rb"
|
|
227
241
|
- "./lib/cloudmersive-dlp-api-client/api/redact_api.rb"
|
|
242
|
+
- "./lib/cloudmersive-dlp-api-client/api/tasks_batch_job_api.rb"
|
|
228
243
|
- "./lib/cloudmersive-dlp-api-client/api_client.rb"
|
|
229
244
|
- "./lib/cloudmersive-dlp-api-client/api_error.rb"
|
|
230
245
|
- "./lib/cloudmersive-dlp-api-client/configuration.rb"
|
|
246
|
+
- "./lib/cloudmersive-dlp-api-client/models/audio_timestamp.rb"
|
|
247
|
+
- "./lib/cloudmersive-dlp-api-client/models/custom_pii_field.rb"
|
|
248
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_detection_request.rb"
|
|
249
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_detection_response.rb"
|
|
250
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_redaction_request.rb"
|
|
251
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_audio_redaction_response.rb"
|
|
231
252
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_detection_request.rb"
|
|
232
253
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_detection_response.rb"
|
|
233
254
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_document_detection_request.rb"
|
|
@@ -235,6 +256,12 @@ files:
|
|
|
235
256
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_document_redaction_response.rb"
|
|
236
257
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_redaction_request.rb"
|
|
237
258
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_advanced_redaction_response.rb"
|
|
259
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_audio_detection_request.rb"
|
|
260
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_audio_detection_response.rb"
|
|
261
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_audio_redaction_request.rb"
|
|
262
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_audio_redaction_response.rb"
|
|
263
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_batch_job_result.rb"
|
|
264
|
+
- "./lib/cloudmersive-dlp-api-client/models/dlp_batch_job_status_result.rb"
|
|
238
265
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_detection_request.rb"
|
|
239
266
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_detection_response.rb"
|
|
240
267
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_document_detection_request.rb"
|
|
@@ -242,12 +269,20 @@ files:
|
|
|
242
269
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_document_redaction_response.rb"
|
|
243
270
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_redaction_request.rb"
|
|
244
271
|
- "./lib/cloudmersive-dlp-api-client/models/dlp_redaction_response.rb"
|
|
272
|
+
- "./lib/cloudmersive-dlp-api-client/models/redacted_audio_segment.rb"
|
|
245
273
|
- "./lib/cloudmersive-dlp-api-client/models/redacted_page_info.rb"
|
|
246
274
|
- "./lib/cloudmersive-dlp-api-client/version.rb"
|
|
247
275
|
- "./spec/api/detect_api_spec.rb"
|
|
248
276
|
- "./spec/api/redact_api_spec.rb"
|
|
277
|
+
- "./spec/api/tasks_batch_job_api_spec.rb"
|
|
249
278
|
- "./spec/api_client_spec.rb"
|
|
250
279
|
- "./spec/configuration_spec.rb"
|
|
280
|
+
- "./spec/models/audio_timestamp_spec.rb"
|
|
281
|
+
- "./spec/models/custom_pii_field_spec.rb"
|
|
282
|
+
- "./spec/models/dlp_advanced_audio_detection_request_spec.rb"
|
|
283
|
+
- "./spec/models/dlp_advanced_audio_detection_response_spec.rb"
|
|
284
|
+
- "./spec/models/dlp_advanced_audio_redaction_request_spec.rb"
|
|
285
|
+
- "./spec/models/dlp_advanced_audio_redaction_response_spec.rb"
|
|
251
286
|
- "./spec/models/dlp_advanced_detection_request_spec.rb"
|
|
252
287
|
- "./spec/models/dlp_advanced_detection_response_spec.rb"
|
|
253
288
|
- "./spec/models/dlp_advanced_document_detection_request_spec.rb"
|
|
@@ -255,6 +290,12 @@ files:
|
|
|
255
290
|
- "./spec/models/dlp_advanced_document_redaction_response_spec.rb"
|
|
256
291
|
- "./spec/models/dlp_advanced_redaction_request_spec.rb"
|
|
257
292
|
- "./spec/models/dlp_advanced_redaction_response_spec.rb"
|
|
293
|
+
- "./spec/models/dlp_audio_detection_request_spec.rb"
|
|
294
|
+
- "./spec/models/dlp_audio_detection_response_spec.rb"
|
|
295
|
+
- "./spec/models/dlp_audio_redaction_request_spec.rb"
|
|
296
|
+
- "./spec/models/dlp_audio_redaction_response_spec.rb"
|
|
297
|
+
- "./spec/models/dlp_batch_job_result_spec.rb"
|
|
298
|
+
- "./spec/models/dlp_batch_job_status_result_spec.rb"
|
|
258
299
|
- "./spec/models/dlp_detection_request_spec.rb"
|
|
259
300
|
- "./spec/models/dlp_detection_response_spec.rb"
|
|
260
301
|
- "./spec/models/dlp_document_detection_request_spec.rb"
|
|
@@ -262,6 +303,7 @@ files:
|
|
|
262
303
|
- "./spec/models/dlp_document_redaction_response_spec.rb"
|
|
263
304
|
- "./spec/models/dlp_redaction_request_spec.rb"
|
|
264
305
|
- "./spec/models/dlp_redaction_response_spec.rb"
|
|
306
|
+
- "./spec/models/redacted_audio_segment_spec.rb"
|
|
265
307
|
- "./spec/models/redacted_page_info_spec.rb"
|
|
266
308
|
- "./spec/spec_helper.rb"
|
|
267
309
|
homepage: https://cloudmersive.com/dlp-data-loss-prevention-api
|