azure_cognitiveservices_visualsearch 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/1.0/generated/azure_cognitiveservices_visualsearch.rb +75 -0
  4. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/images.rb +639 -0
  5. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/action.rb +237 -0
  6. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_offer.rb +211 -0
  7. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_rating.rb +89 -0
  8. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/content_types.rb +20 -0
  9. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/creative_work.rb +190 -0
  10. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/crop_area.rb +92 -0
  11. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/currency.rb +175 -0
  12. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error.rb +116 -0
  13. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_code.rb +20 -0
  14. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_response.rb +98 -0
  15. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_sub_code.rb +25 -0
  16. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/filters.rb +48 -0
  17. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/identifiable.rb +62 -0
  18. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_action.rb +234 -0
  19. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_entity_action.rb +231 -0
  20. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_info.rb +86 -0
  21. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_knowledge.rb +112 -0
  22. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_module_action.rb +244 -0
  23. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_object.rb +326 -0
  24. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_recipes_action.rb +244 -0
  25. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_related_searches_action.rb +244 -0
  26. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_shopping_sources_action.rb +245 -0
  27. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag.rb +182 -0
  28. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag_region.rb +61 -0
  29. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_image_metadata.rb +80 -0
  30. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_module.rb +56 -0
  31. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/intangible.rb +133 -0
  32. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/item_availability.rb +22 -0
  33. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/knowledge_request.rb +49 -0
  34. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/media_object.rb +263 -0
  35. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/normalized_quadrilateral.rb +183 -0
  36. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/offer.rb +231 -0
  37. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/organization.rb +132 -0
  38. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/person.rb +156 -0
  39. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/point2d.rb +154 -0
  40. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/properties_item.rb +59 -0
  41. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/query.rb +101 -0
  42. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/rating.rb +84 -0
  43. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipe.rb +219 -0
  44. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipes_module.rb +56 -0
  45. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/related_searches_module.rb +56 -0
  46. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response.rb +86 -0
  47. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response_base.rb +70 -0
  48. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/safe_search.rb +17 -0
  49. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/structured_value.rb +133 -0
  50. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/thing.rb +151 -0
  51. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/models/visual_search_request.rb +62 -0
  52. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/module_definition.rb +9 -0
  53. data/lib/1.0/generated/azure_cognitiveservices_visualsearch/visual_search_client.rb +128 -0
  54. data/lib/azure_cognitiveservices_visualsearch.rb +6 -0
  55. data/lib/module_definition.rb +7 -0
  56. data/lib/profiles/latest/modules/visualsearch_profile_module.rb +247 -0
  57. data/lib/profiles/latest/visualsearch_latest_profile_client.rb +38 -0
  58. data/lib/profiles/latest/visualsearch_module_definition.rb +8 -0
  59. data/lib/version.rb +7 -0
  60. metadata +177 -0
@@ -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/visualsearch_module_definition'
6
+ require 'profiles/latest/modules/visualsearch_profile_module'
7
+
8
+ module Azure::VisualSearch::Profiles::Latest
9
+ #
10
+ # Client class for the Latest profile SDK.
11
+ #
12
+ class Client < VisualSearchDataClass
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::VisualSearch end
7
+ module Azure::VisualSearch::Profiles end
8
+ module Azure::VisualSearch::Profiles::Latest 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::VisualSearch
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_cognitiveservices_visualsearch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.17.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-11-06 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.11.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.11.0
83
+ description: Microsoft Azure Cognitive Services Visual 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_visualsearch.rb
91
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/images.rb
92
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/action.rb
93
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_offer.rb
94
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/aggregate_rating.rb
95
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/content_types.rb
96
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/creative_work.rb
97
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/crop_area.rb
98
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/currency.rb
99
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error.rb
100
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_code.rb
101
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_response.rb
102
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/error_sub_code.rb
103
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/filters.rb
104
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/identifiable.rb
105
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_action.rb
106
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_entity_action.rb
107
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_info.rb
108
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_knowledge.rb
109
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_module_action.rb
110
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_object.rb
111
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_recipes_action.rb
112
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_related_searches_action.rb
113
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_shopping_sources_action.rb
114
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag.rb
115
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/image_tag_region.rb
116
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_image_metadata.rb
117
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/images_module.rb
118
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/intangible.rb
119
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/item_availability.rb
120
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/knowledge_request.rb
121
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/media_object.rb
122
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/normalized_quadrilateral.rb
123
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/offer.rb
124
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/organization.rb
125
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/person.rb
126
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/point2d.rb
127
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/properties_item.rb
128
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/query.rb
129
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/rating.rb
130
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipe.rb
131
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/recipes_module.rb
132
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/related_searches_module.rb
133
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response.rb
134
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/response_base.rb
135
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/safe_search.rb
136
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/structured_value.rb
137
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/thing.rb
138
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/models/visual_search_request.rb
139
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/module_definition.rb
140
+ - lib/1.0/generated/azure_cognitiveservices_visualsearch/visual_search_client.rb
141
+ - lib/azure_cognitiveservices_visualsearch.rb
142
+ - lib/module_definition.rb
143
+ - lib/profiles/latest/modules/visualsearch_profile_module.rb
144
+ - lib/profiles/latest/visualsearch_latest_profile_client.rb
145
+ - lib/profiles/latest/visualsearch_module_definition.rb
146
+ - lib/version.rb
147
+ homepage: https://aka.ms/azure-sdk-for-ruby
148
+ licenses:
149
+ - MIT
150
+ metadata:
151
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
152
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
153
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
154
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
155
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/data/azure_cognitiveservices_videosearch
156
+ post_install_message:
157
+ rdoc_options: []
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: 2.0.0
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project:
172
+ rubygems_version: 2.5.1
173
+ signing_key:
174
+ specification_version: 4
175
+ summary: Official Ruby client library to consume Microsoft Azure Cognitive Services
176
+ Visual Search.
177
+ test_files: []