azure_cognitiveservices_face 0.18.0 → 0.19.0

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.
@@ -237,6 +237,8 @@ module Azure::CognitiveServices::Face::V1_0
237
237
  end
238
238
 
239
239
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
240
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
241
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
240
242
 
241
243
  result
242
244
  end
@@ -334,6 +336,8 @@ module Azure::CognitiveServices::Face::V1_0
334
336
  end
335
337
 
336
338
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
339
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
340
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
337
341
  # Deserialize Response
338
342
  if status_code == 200
339
343
  begin
@@ -443,6 +447,8 @@ module Azure::CognitiveServices::Face::V1_0
443
447
  end
444
448
 
445
449
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
450
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
451
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
446
452
  # Deserialize Response
447
453
  if status_code == 200
448
454
  begin
@@ -563,6 +569,8 @@ module Azure::CognitiveServices::Face::V1_0
563
569
  end
564
570
 
565
571
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
572
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
573
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
566
574
 
567
575
  result
568
576
  end
@@ -651,6 +659,8 @@ module Azure::CognitiveServices::Face::V1_0
651
659
  end
652
660
 
653
661
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
662
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
663
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
654
664
 
655
665
  result
656
666
  end
@@ -868,6 +878,8 @@ module Azure::CognitiveServices::Face::V1_0
868
878
  end
869
879
 
870
880
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
881
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
882
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
871
883
 
872
884
  result
873
885
  end
@@ -948,6 +960,8 @@ module Azure::CognitiveServices::Face::V1_0
948
960
  end
949
961
 
950
962
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
963
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
964
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
951
965
  # Deserialize Response
952
966
  if status_code == 200
953
967
  begin
@@ -73,6 +73,7 @@ module Azure::Face::Profiles::Latest
73
73
  SnapshotObjectType = Azure::CognitiveServices::Face::V1_0::Models::SnapshotObjectType
74
74
  OperationStatusType = Azure::CognitiveServices::Face::V1_0::Models::OperationStatusType
75
75
  FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
76
+ DetectionModel = Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
76
77
  end
77
78
 
78
79
  #
@@ -301,5 +302,8 @@ module Azure::Face::Profiles::Latest
301
302
  def face_attribute_type
302
303
  Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
303
304
  end
305
+ def detection_model
306
+ Azure::CognitiveServices::Face::V1_0::Models::DetectionModel
307
+ end
304
308
  end
305
309
  end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::CognitiveServices::Face
6
- VERSION = '0.18.0'
6
+ VERSION = '0.19.0'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_cognitiveservices_face
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-01 00:00:00.000000000 Z
11
+ date: 2019-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.11.0
75
+ version: 0.11.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure Cognitive Services Face Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -102,6 +102,7 @@ files:
102
102
  - lib/1.0/generated/azure_cognitiveservices_face/models/blur_level.rb
103
103
  - lib/1.0/generated/azure_cognitiveservices_face/models/coordinate.rb
104
104
  - lib/1.0/generated/azure_cognitiveservices_face/models/detected_face.rb
105
+ - lib/1.0/generated/azure_cognitiveservices_face/models/detection_model.rb
105
106
  - lib/1.0/generated/azure_cognitiveservices_face/models/emotion.rb
106
107
  - lib/1.0/generated/azure_cognitiveservices_face/models/error.rb
107
108
  - lib/1.0/generated/azure_cognitiveservices_face/models/exposure.rb