azure_cognitiveservices_customvisiontraining 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  3. data/lib/2.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  4. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  5. data/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  6. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +10 -10
  7. data/lib/2.2/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +1 -1
  8. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining.rb +76 -0
  9. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb +4707 -0
  10. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/bounding_box.rb +79 -0
  11. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/classifier.rb +16 -0
  12. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error.rb +127 -0
  13. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/custom_vision_error_codes.rb +127 -0
  14. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain.rb +97 -0
  15. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/domain_type.rb +16 -0
  16. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export.rb +100 -0
  17. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_flavor.rb +19 -0
  18. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_platform.rb +19 -0
  19. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/export_status.rb +17 -0
  20. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image.rb +161 -0
  21. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_result.rb +77 -0
  22. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_status.rb +25 -0
  23. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_create_summary.rb +70 -0
  24. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_batch.rb +75 -0
  25. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_file_create_entry.rb +97 -0
  26. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_batch.rb +75 -0
  27. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_id_create_entry.rb +86 -0
  28. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_performance.rb +170 -0
  29. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_prediction.rb +104 -0
  30. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region.rb +127 -0
  31. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_batch.rb +55 -0
  32. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_entry.rb +101 -0
  33. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_result.rb +139 -0
  34. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_create_summary.rb +96 -0
  35. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_region_proposal.rb +81 -0
  36. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag.rb +72 -0
  37. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_batch.rb +56 -0
  38. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_entry.rb +57 -0
  39. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_tag_create_summary.rb +96 -0
  40. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url.rb +46 -0
  41. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_batch.rb +75 -0
  42. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/image_url_create_entry.rb +86 -0
  43. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration.rb +228 -0
  44. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/iteration_performance.rb +117 -0
  45. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/order_by.rb +17 -0
  46. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction.rb +84 -0
  47. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_result.rb +70 -0
  48. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_tag.rb +72 -0
  49. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/prediction_query_token.rb +145 -0
  50. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project.rb +129 -0
  51. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/project_settings.rb +78 -0
  52. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region.rb +91 -0
  53. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/region_proposal.rb +61 -0
  54. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/stored_image_prediction.rb +153 -0
  55. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb +93 -0
  56. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_performance.rb +119 -0
  57. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/tag_type.rb +16 -0
  58. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/models/training_type.rb +16 -0
  59. data/lib/3.0/generated/azure_cognitiveservices_customvisiontraining/module_definition.rb +9 -0
  60. data/lib/azure_cognitiveservices_customvisiontraining.rb +1 -0
  61. data/lib/profiles/latest/modules/customvisiontraining_profile_module.rb +128 -116
  62. data/lib/version.rb +1 -1
  63. metadata +54 -2
@@ -0,0 +1,104 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Result of an image prediction request.
10
+ #
11
+ class ImagePrediction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Prediction Id.
16
+ attr_accessor :id
17
+
18
+ # @return Project Id.
19
+ attr_accessor :project
20
+
21
+ # @return Iteration Id.
22
+ attr_accessor :iteration
23
+
24
+ # @return [DateTime] Date this prediction was created.
25
+ attr_accessor :created
26
+
27
+ # @return [Array<Prediction>] List of predictions.
28
+ attr_accessor :predictions
29
+
30
+
31
+ #
32
+ # Mapper for ImagePrediction class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ client_side_validation: true,
38
+ required: false,
39
+ serialized_name: 'ImagePrediction',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'ImagePrediction',
43
+ model_properties: {
44
+ id: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'id',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ project: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'project',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ iteration: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ read_only: true,
66
+ serialized_name: 'iteration',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ created: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ read_only: true,
75
+ serialized_name: 'created',
76
+ type: {
77
+ name: 'DateTime'
78
+ }
79
+ },
80
+ predictions: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ read_only: true,
84
+ serialized_name: 'predictions',
85
+ type: {
86
+ name: 'Sequence',
87
+ element: {
88
+ client_side_validation: true,
89
+ required: false,
90
+ serialized_name: 'PredictionElementType',
91
+ type: {
92
+ name: 'Composite',
93
+ class_name: 'Prediction'
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ }
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,127 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ImageRegion
13
+
14
+ include MsRestAzure
15
+
16
+ # @return
17
+ attr_accessor :region_id
18
+
19
+ # @return [String]
20
+ attr_accessor :tag_name
21
+
22
+ # @return [DateTime]
23
+ attr_accessor :created
24
+
25
+ # @return Id of the tag associated with this region.
26
+ attr_accessor :tag_id
27
+
28
+ # @return [Float] Coordinate of the left boundary.
29
+ attr_accessor :left
30
+
31
+ # @return [Float] Coordinate of the top boundary.
32
+ attr_accessor :top
33
+
34
+ # @return [Float] Width.
35
+ attr_accessor :width
36
+
37
+ # @return [Float] Height.
38
+ attr_accessor :height
39
+
40
+
41
+ #
42
+ # Mapper for ImageRegion class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'ImageRegion',
50
+ type: {
51
+ name: 'Composite',
52
+ class_name: 'ImageRegion',
53
+ model_properties: {
54
+ region_id: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'regionId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ tag_name: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'tagName',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ created: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'created',
77
+ type: {
78
+ name: 'DateTime'
79
+ }
80
+ },
81
+ tag_id: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'tagId',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ left: {
90
+ client_side_validation: true,
91
+ required: true,
92
+ serialized_name: 'left',
93
+ type: {
94
+ name: 'Double'
95
+ }
96
+ },
97
+ top: {
98
+ client_side_validation: true,
99
+ required: true,
100
+ serialized_name: 'top',
101
+ type: {
102
+ name: 'Double'
103
+ }
104
+ },
105
+ width: {
106
+ client_side_validation: true,
107
+ required: true,
108
+ serialized_name: 'width',
109
+ type: {
110
+ name: 'Double'
111
+ }
112
+ },
113
+ height: {
114
+ client_side_validation: true,
115
+ required: true,
116
+ serialized_name: 'height',
117
+ type: {
118
+ name: 'Double'
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ end
125
+ end
126
+ end
127
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Batch of image region information to create.
10
+ #
11
+ class ImageRegionCreateBatch
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ImageRegionCreateEntry>]
16
+ attr_accessor :regions
17
+
18
+
19
+ #
20
+ # Mapper for ImageRegionCreateBatch class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ImageRegionCreateBatch',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ImageRegionCreateBatch',
31
+ model_properties: {
32
+ regions: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'regions',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'ImageRegionCreateEntryElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'ImageRegionCreateEntry'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,101 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Entry associating a region to an image.
10
+ #
11
+ class ImageRegionCreateEntry
12
+
13
+ include MsRestAzure
14
+
15
+ # @return Id of the image.
16
+ attr_accessor :image_id
17
+
18
+ # @return Id of the tag associated with this region.
19
+ attr_accessor :tag_id
20
+
21
+ # @return [Float] Coordinate of the left boundary.
22
+ attr_accessor :left
23
+
24
+ # @return [Float] Coordinate of the top boundary.
25
+ attr_accessor :top
26
+
27
+ # @return [Float] Width.
28
+ attr_accessor :width
29
+
30
+ # @return [Float] Height.
31
+ attr_accessor :height
32
+
33
+
34
+ #
35
+ # Mapper for ImageRegionCreateEntry class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'ImageRegionCreateEntry',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ImageRegionCreateEntry',
46
+ model_properties: {
47
+ image_id: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'imageId',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ tag_id: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'tagId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ left: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'left',
67
+ type: {
68
+ name: 'Double'
69
+ }
70
+ },
71
+ top: {
72
+ client_side_validation: true,
73
+ required: true,
74
+ serialized_name: 'top',
75
+ type: {
76
+ name: 'Double'
77
+ }
78
+ },
79
+ width: {
80
+ client_side_validation: true,
81
+ required: true,
82
+ serialized_name: 'width',
83
+ type: {
84
+ name: 'Double'
85
+ }
86
+ },
87
+ height: {
88
+ client_side_validation: true,
89
+ required: true,
90
+ serialized_name: 'height',
91
+ type: {
92
+ name: 'Double'
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,139 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::Customvisiontraining::V3_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class ImageRegionCreateResult
13
+
14
+ include MsRestAzure
15
+
16
+ # @return
17
+ attr_accessor :image_id
18
+
19
+ # @return
20
+ attr_accessor :region_id
21
+
22
+ # @return [String]
23
+ attr_accessor :tag_name
24
+
25
+ # @return [DateTime]
26
+ attr_accessor :created
27
+
28
+ # @return Id of the tag associated with this region.
29
+ attr_accessor :tag_id
30
+
31
+ # @return [Float] Coordinate of the left boundary.
32
+ attr_accessor :left
33
+
34
+ # @return [Float] Coordinate of the top boundary.
35
+ attr_accessor :top
36
+
37
+ # @return [Float] Width.
38
+ attr_accessor :width
39
+
40
+ # @return [Float] Height.
41
+ attr_accessor :height
42
+
43
+
44
+ #
45
+ # Mapper for ImageRegionCreateResult class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'ImageRegionCreateResult',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'ImageRegionCreateResult',
56
+ model_properties: {
57
+ image_id: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'imageId',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ region_id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'regionId',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ tag_name: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ read_only: true,
79
+ serialized_name: 'tagName',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ created: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'created',
89
+ type: {
90
+ name: 'DateTime'
91
+ }
92
+ },
93
+ tag_id: {
94
+ client_side_validation: true,
95
+ required: true,
96
+ serialized_name: 'tagId',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ left: {
102
+ client_side_validation: true,
103
+ required: true,
104
+ serialized_name: 'left',
105
+ type: {
106
+ name: 'Double'
107
+ }
108
+ },
109
+ top: {
110
+ client_side_validation: true,
111
+ required: true,
112
+ serialized_name: 'top',
113
+ type: {
114
+ name: 'Double'
115
+ }
116
+ },
117
+ width: {
118
+ client_side_validation: true,
119
+ required: true,
120
+ serialized_name: 'width',
121
+ type: {
122
+ name: 'Double'
123
+ }
124
+ },
125
+ height: {
126
+ client_side_validation: true,
127
+ required: true,
128
+ serialized_name: 'height',
129
+ type: {
130
+ name: 'Double'
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ end
137
+ end
138
+ end
139
+ end