azure_cognitiveservices_imagesearch 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/1.0/generated/azure_cognitiveservices_imagesearch.rb +86 -0
  4. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/image_search_client.rb +127 -0
  5. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/images_operations.rb +2526 -0
  6. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/aggregate_offer.rb +211 -0
  7. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/aggregate_rating.rb +89 -0
  8. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/answer.rb +77 -0
  9. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/collection_page.rb +177 -0
  10. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/creative_work.rb +190 -0
  11. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/currency.rb +175 -0
  12. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error.rb +116 -0
  13. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_code.rb +20 -0
  14. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_response.rb +98 -0
  15. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_sub_code.rb +25 -0
  16. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/freshness.rb +17 -0
  17. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/identifiable.rb +62 -0
  18. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_aspect.rb +18 -0
  19. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_color.rb +28 -0
  20. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_content.rb +16 -0
  21. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_crop_type.rb +15 -0
  22. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_gallery.rb +216 -0
  23. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insight_module.rb +26 -0
  24. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insights.rb +267 -0
  25. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insights_image_caption.rb +82 -0
  26. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_license.rb +21 -0
  27. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_object.rb +326 -0
  28. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_size.rb +19 -0
  29. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_tags_module.rb +59 -0
  30. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_type.rb +20 -0
  31. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images.rb +191 -0
  32. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images_image_metadata.rb +80 -0
  33. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images_module.rb +56 -0
  34. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/insights_tag.rb +48 -0
  35. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/intangible.rb +133 -0
  36. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/item_availability.rb +22 -0
  37. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/media_object.rb +263 -0
  38. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/normalized_rectangle.rb +179 -0
  39. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/offer.rb +231 -0
  40. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/organization.rb +132 -0
  41. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/person.rb +156 -0
  42. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/pivot_suggestions.rb +66 -0
  43. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/properties_item.rb +59 -0
  44. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/query.rb +104 -0
  45. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/rating.rb +84 -0
  46. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recipe.rb +219 -0
  47. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recipes_module.rb +56 -0
  48. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entities_module.rb +56 -0
  49. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity.rb +105 -0
  50. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity_group.rb +72 -0
  51. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity_region.rb +122 -0
  52. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/related_collections_module.rb +57 -0
  53. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/related_searches_module.rb +56 -0
  54. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/response.rb +84 -0
  55. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/response_base.rb +70 -0
  56. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/safe_search.rb +17 -0
  57. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/search_results_answer.rb +91 -0
  58. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/structured_value.rb +133 -0
  59. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/thing.rb +151 -0
  60. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images.rb +99 -0
  61. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_category.rb +71 -0
  62. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb +63 -0
  63. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/models/web_page.rb +177 -0
  64. data/lib/1.0/generated/azure_cognitiveservices_imagesearch/module_definition.rb +9 -0
  65. data/lib/azure_cognitiveservices_imagesearch.rb +6 -0
  66. data/lib/module_definition.rb +7 -0
  67. data/lib/profiles/latest/imagesearch_latest_profile_client.rb +38 -0
  68. data/lib/profiles/latest/imagesearch_module_definition.rb +8 -0
  69. data/lib/profiles/latest/modules/imagesearch_profile_module.rb +291 -0
  70. data/lib/version.rb +7 -0
  71. metadata +188 -0
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::CognitiveServices end
8
+ module Azure::CognitiveServices::ImageSearch end
9
+ module Azure::CognitiveServices::ImageSearch::V1_0 end
@@ -0,0 +1,6 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require '1.0/generated/azure_cognitiveservices_imagesearch'
6
+ require 'profiles/latest/imagesearch_latest_profile_client'
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::CognitiveServices end
7
+ module Azure::CognitiveServices::ImageSearch end
@@ -0,0 +1,38 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/imagesearch_module_definition'
6
+ require 'profiles/latest/modules/imagesearch_profile_module'
7
+
8
+ module Azure::ImageSearch::Profiles::Latest
9
+ #
10
+ # Client class for the Latest profile SDK.
11
+ #
12
+ class Client < ImageSearchDataClass
13
+ include MsRestAzure::Common::Configurable
14
+
15
+ #
16
+ # Initializes a new instance of the Client class.
17
+ # @param options [Hash] hash of client options.
18
+ # options = {
19
+ # tenant_id: 'YOUR TENANT ID',
20
+ # client_id: 'YOUR CLIENT ID',
21
+ # client_secret: 'YOUR CLIENT SECRET',
22
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
23
+ # credentials: credentials,
24
+ # active_directory_settings: active_directory_settings,
25
+ # base_url: 'YOUR BASE URL',
26
+ # options: options
27
+ # }
28
+ # 'credentials' are optional and if not passed in the hash, will be obtained
29
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
30
+ #
31
+ # Also, base_url, active_directory_settings & options are optional.
32
+ #
33
+ def initialize(options = {})
34
+ super(options)
35
+ end
36
+
37
+ end
38
+ end
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::ImageSearch end
7
+ module Azure::ImageSearch::Profiles end
8
+ module Azure::ImageSearch::Profiles::Latest end
@@ -0,0 +1,291 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'azure_cognitiveservices_imagesearch'
6
+
7
+ module Azure::ImageSearch::Profiles::Latest
8
+ ImagesOperations = Azure::CognitiveServices::ImageSearch::V1_0::ImagesOperations
9
+
10
+ module Models
11
+ RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule
12
+ InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag
13
+ RecognizedEntitiesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule
14
+ PropertiesItem = Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem
15
+ RecognizedEntityGroup = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup
16
+ TrendingImagesCategory = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory
17
+ Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
18
+ PivotSuggestions = Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions
19
+ RelatedCollectionsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule
20
+ ImageTagsModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule
21
+ RecipesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule
22
+ ImagesImageMetadata = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata
23
+ ImageInsightsImageCaption = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption
24
+ ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
25
+ Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
26
+ TrendingImagesTile = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
27
+ ImagesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule
28
+ Thing = Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing
29
+ Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization
30
+ AggregateRating = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating
31
+ Offer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer
32
+ AggregateOffer = Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer
33
+ MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
34
+ ImageObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject
35
+ SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
36
+ Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
37
+ Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable
38
+ Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
39
+ Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer
40
+ CreativeWork = Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork
41
+ ErrorResponse = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse
42
+ ImageGallery = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery
43
+ Recipe = Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe
44
+ NormalizedRectangle = Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle
45
+ RecognizedEntity = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity
46
+ RecognizedEntityRegion = Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion
47
+ ImageInsights = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights
48
+ TrendingImages = Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages
49
+ WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
50
+ Person = Azure::CognitiveServices::ImageSearch::V1_0::Models::Person
51
+ Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible
52
+ Rating = Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating
53
+ CollectionPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage
54
+ StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
55
+ Currency = Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency
56
+ ItemAvailability = Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability
57
+ ErrorCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode
58
+ ErrorSubCode = Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode
59
+ ImageAspect = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect
60
+ ImageColor = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor
61
+ Freshness = Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness
62
+ ImageContent = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent
63
+ ImageType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType
64
+ ImageLicense = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense
65
+ SafeSearch = Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch
66
+ ImageSize = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize
67
+ ImageCropType = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType
68
+ ImageInsightModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule
69
+ end
70
+
71
+ #
72
+ # ImageSearchDataClass
73
+ #
74
+ class ImageSearchDataClass
75
+ attr_reader :images_operations, :configurable, :base_url, :options, :model_classes
76
+
77
+ def initialize(options = {})
78
+ if options.is_a?(Hash) && options.length == 0
79
+ @options = setup_default_options
80
+ else
81
+ @options = options
82
+ end
83
+
84
+ reset!(options)
85
+
86
+ @configurable = self
87
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
88
+ @options = options[:options].nil? ? nil:options[:options]
89
+
90
+ @client_0 = Azure::CognitiveServices::ImageSearch::V1_0::ImageSearchClient.new(configurable.credentials, base_url, options)
91
+ if(@client_0.respond_to?(:subscription_id))
92
+ @client_0.subscription_id = configurable.subscription_id
93
+ end
94
+ add_telemetry(@client_0)
95
+ @images_operations = @client_0.images_operations
96
+
97
+ @model_classes = ModelClasses.new
98
+ end
99
+
100
+ def add_telemetry(client)
101
+ profile_information = 'Profiles/Latest/ImageSearch'
102
+ client.add_user_agent_information(profile_information)
103
+ end
104
+
105
+ def method_missing(method, *args)
106
+ if @client_0.respond_to?method
107
+ @client_0.send(method, *args)
108
+ else
109
+ super
110
+ end
111
+ end
112
+
113
+ end
114
+
115
+ class ModelClasses
116
+ def related_searches_module
117
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule
118
+ end
119
+ def insights_tag
120
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag
121
+ end
122
+ def recognized_entities_module
123
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntitiesModule
124
+ end
125
+ def properties_item
126
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::PropertiesItem
127
+ end
128
+ def recognized_entity_group
129
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityGroup
130
+ end
131
+ def trending_images_category
132
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesCategory
133
+ end
134
+ def query
135
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
136
+ end
137
+ def pivot_suggestions
138
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::PivotSuggestions
139
+ end
140
+ def related_collections_module
141
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedCollectionsModule
142
+ end
143
+ def image_tags_module
144
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule
145
+ end
146
+ def recipes_module
147
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RecipesModule
148
+ end
149
+ def images_image_metadata
150
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesImageMetadata
151
+ end
152
+ def image_insights_image_caption
153
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightsImageCaption
154
+ end
155
+ def response_base
156
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
157
+ end
158
+ def error
159
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
160
+ end
161
+ def trending_images_tile
162
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImagesTile
163
+ end
164
+ def images_module
165
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImagesModule
166
+ end
167
+ def thing
168
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Thing
169
+ end
170
+ def organization
171
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization
172
+ end
173
+ def aggregate_rating
174
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateRating
175
+ end
176
+ def offer
177
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Offer
178
+ end
179
+ def aggregate_offer
180
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::AggregateOffer
181
+ end
182
+ def media_object
183
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
184
+ end
185
+ def image_object
186
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageObject
187
+ end
188
+ def search_results_answer
189
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
190
+ end
191
+ def images
192
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
193
+ end
194
+ def identifiable
195
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable
196
+ end
197
+ def response
198
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
199
+ end
200
+ def answer
201
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer
202
+ end
203
+ def creative_work
204
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::CreativeWork
205
+ end
206
+ def error_response
207
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorResponse
208
+ end
209
+ def image_gallery
210
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageGallery
211
+ end
212
+ def recipe
213
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Recipe
214
+ end
215
+ def normalized_rectangle
216
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::NormalizedRectangle
217
+ end
218
+ def recognized_entity
219
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntity
220
+ end
221
+ def recognized_entity_region
222
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::RecognizedEntityRegion
223
+ end
224
+ def image_insights
225
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsights
226
+ end
227
+ def trending_images
228
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::TrendingImages
229
+ end
230
+ def web_page
231
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
232
+ end
233
+ def person
234
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Person
235
+ end
236
+ def intangible
237
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible
238
+ end
239
+ def rating
240
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Rating
241
+ end
242
+ def collection_page
243
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::CollectionPage
244
+ end
245
+ def structured_value
246
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
247
+ end
248
+ def currency
249
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Currency
250
+ end
251
+ def item_availability
252
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ItemAvailability
253
+ end
254
+ def error_code
255
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorCode
256
+ end
257
+ def error_sub_code
258
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ErrorSubCode
259
+ end
260
+ def image_aspect
261
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageAspect
262
+ end
263
+ def image_color
264
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageColor
265
+ end
266
+ def freshness
267
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::Freshness
268
+ end
269
+ def image_content
270
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageContent
271
+ end
272
+ def image_type
273
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageType
274
+ end
275
+ def image_license
276
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageLicense
277
+ end
278
+ def safe_search
279
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::SafeSearch
280
+ end
281
+ def image_size
282
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageSize
283
+ end
284
+ def image_crop_type
285
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageCropType
286
+ end
287
+ def image_insight_module
288
+ Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageInsightModule
289
+ end
290
+ end
291
+ end
data/lib/version.rb ADDED
@@ -0,0 +1,7 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure::CognitiveServices::ImageSearch
6
+ VERSION = '0.16.0'
7
+ end
metadata ADDED
@@ -0,0 +1,188 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_cognitiveservices_imagesearch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.16.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.10.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.10.0
83
+ description: Microsoft Azure Cognitive Services Image Search Client Library for Ruby
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch.rb
91
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/image_search_client.rb
92
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/images_operations.rb
93
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/aggregate_offer.rb
94
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/aggregate_rating.rb
95
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/answer.rb
96
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/collection_page.rb
97
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/creative_work.rb
98
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/currency.rb
99
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error.rb
100
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_code.rb
101
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_response.rb
102
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/error_sub_code.rb
103
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/freshness.rb
104
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/identifiable.rb
105
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_aspect.rb
106
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_color.rb
107
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_content.rb
108
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_crop_type.rb
109
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_gallery.rb
110
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insight_module.rb
111
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insights.rb
112
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_insights_image_caption.rb
113
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_license.rb
114
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_object.rb
115
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_size.rb
116
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_tags_module.rb
117
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_type.rb
118
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images.rb
119
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images_image_metadata.rb
120
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/images_module.rb
121
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/insights_tag.rb
122
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/intangible.rb
123
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/item_availability.rb
124
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/media_object.rb
125
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/normalized_rectangle.rb
126
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/offer.rb
127
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/organization.rb
128
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/person.rb
129
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/pivot_suggestions.rb
130
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/properties_item.rb
131
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/query.rb
132
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/rating.rb
133
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recipe.rb
134
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recipes_module.rb
135
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entities_module.rb
136
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity.rb
137
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity_group.rb
138
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/recognized_entity_region.rb
139
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/related_collections_module.rb
140
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/related_searches_module.rb
141
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/response.rb
142
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/response_base.rb
143
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/safe_search.rb
144
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/search_results_answer.rb
145
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/structured_value.rb
146
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/thing.rb
147
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images.rb
148
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_category.rb
149
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/trending_images_tile.rb
150
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/models/web_page.rb
151
+ - lib/1.0/generated/azure_cognitiveservices_imagesearch/module_definition.rb
152
+ - lib/azure_cognitiveservices_imagesearch.rb
153
+ - lib/module_definition.rb
154
+ - lib/profiles/latest/imagesearch_latest_profile_client.rb
155
+ - lib/profiles/latest/imagesearch_module_definition.rb
156
+ - lib/profiles/latest/modules/imagesearch_profile_module.rb
157
+ - lib/version.rb
158
+ homepage: https://aka.ms/azure-sdk-for-ruby
159
+ licenses:
160
+ - MIT
161
+ metadata:
162
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
163
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
164
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
165
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
166
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/data/azure_cognitiveservices_imagesearch
167
+ post_install_message:
168
+ rdoc_options: []
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: 2.0.0
176
+ required_rubygems_version: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ requirements: []
182
+ rubyforge_project:
183
+ rubygems_version: 2.5.1
184
+ signing_key:
185
+ specification_version: 4
186
+ summary: Official Ruby client library to consume Microsoft Azure Cognitive Services
187
+ Image Search.
188
+ test_files: []