azure_sdk 0.19.5 → 0.19.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21ba1afe989531b278232f4caa322383f60683d6
|
4
|
+
data.tar.gz: 62738a7a1ce6439fe0e2a7c661a7672b1adb8563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1160fb6f446a7b9b59d0812d6bcebd04d3c6c5eb0d2ff5bd2732b2e7b9c18e567b948a1f8f6bb8e7548fd9e7daaf24db6ea9ca0c24ee46b4b573623ac4f44ffd
|
7
|
+
data.tar.gz: b0b88eb2e6803cf9fba8809a78b0aa1201c2ed118a847e592d3a7d04482bf595f19f0e56ebdf2e5d65009d27beea8e36b9d48c0e9f5885c4dfafbfcf17fdab0e
|
data/lib/azure_sdk/version.rb
CHANGED
@@ -78,6 +78,7 @@ require 'latest/modules/customvisionprediction_profile_module'
|
|
78
78
|
require 'latest/modules/entitysearch_profile_module'
|
79
79
|
require 'latest/modules/face_profile_module'
|
80
80
|
require 'latest/modules/imagesearch_profile_module'
|
81
|
+
require 'latest/modules/localsearch_profile_module'
|
81
82
|
require 'latest/modules/newssearch_profile_module'
|
82
83
|
require 'latest/modules/qnamaker_profile_module'
|
83
84
|
require 'latest/modules/spellcheck_profile_module'
|
@@ -93,7 +94,7 @@ module Azure::Profiles::Latest
|
|
93
94
|
class Client
|
94
95
|
include MsRestAzure::Common::Configurable
|
95
96
|
|
96
|
-
attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :security, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :image_search, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
97
|
+
attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :security, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :image_search, :local_search, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
97
98
|
|
98
99
|
#
|
99
100
|
# Initializes a new instance of the Client class.
|
@@ -200,6 +201,7 @@ module Azure::Profiles::Latest
|
|
200
201
|
@entity_search = EntitySearchAdapter.new(self, base_url, sdk_options)
|
201
202
|
@face = FaceAdapter.new(self, base_url, sdk_options)
|
202
203
|
@image_search = ImageSearchAdapter.new(self, base_url, sdk_options)
|
204
|
+
@local_search = LocalSearchAdapter.new(self, base_url, sdk_options)
|
203
205
|
@news_search = NewsSearchAdapter.new(self, base_url, sdk_options)
|
204
206
|
@qnamaker = QnamakerAdapter.new(self, base_url, sdk_options)
|
205
207
|
@spell_check = SpellCheckAdapter.new(self, base_url, sdk_options)
|
@@ -801,6 +803,13 @@ module Azure::Profiles::Latest
|
|
801
803
|
end
|
802
804
|
end
|
803
805
|
|
806
|
+
class LocalSearchAdapter < Azure::Profiles::Latest::LocalSearch::LocalSearchDataClass
|
807
|
+
|
808
|
+
def initialize(context, base_url, options)
|
809
|
+
super(context)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
804
813
|
class NewsSearchAdapter < Azure::Profiles::Latest::NewsSearch::NewsSearchDataClass
|
805
814
|
|
806
815
|
def initialize(context, base_url, options)
|
@@ -15,37 +15,35 @@ module Azure::Profiles::Latest
|
|
15
15
|
Reviews = Azure::CognitiveServices::ContentModerator::V1_0::Reviews
|
16
16
|
|
17
17
|
module Models
|
18
|
-
RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
|
19
18
|
ImageAdditionalInfoItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
|
20
|
-
Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
|
21
19
|
Image = Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
|
22
|
-
|
20
|
+
Tag = Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
|
23
21
|
ImageIds = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
|
24
|
-
|
22
|
+
Frames = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
|
25
23
|
TermsInList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
|
26
|
-
|
24
|
+
ClassificationCategory2 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
|
27
25
|
TermsData = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
|
28
|
-
|
26
|
+
Classification = Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
|
29
27
|
TermsPaging = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
|
30
|
-
|
28
|
+
Email = Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
|
31
29
|
Terms = Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
|
32
|
-
|
30
|
+
IPA = Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
|
33
31
|
Review = Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
|
34
|
-
|
32
|
+
Address = Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
|
35
33
|
JobExecutionReportDetails = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
|
36
|
-
|
34
|
+
DetectedTerms = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
|
37
35
|
Job = Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
|
38
|
-
|
36
|
+
Face = Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
|
39
37
|
JobListResult = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
|
40
|
-
|
38
|
+
Candidate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
|
41
39
|
JobId = Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
|
42
|
-
|
40
|
+
Evaluate = Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
|
43
41
|
Error = Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
|
44
|
-
|
42
|
+
MatchResponse = Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
|
45
43
|
APIError = Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
|
46
|
-
|
44
|
+
ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
|
47
45
|
TranscriptModerationBodyItemTermsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
|
48
|
-
|
46
|
+
RefreshIndex = Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
|
49
47
|
TranscriptModerationBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
|
50
48
|
Frame = Azure::CognitiveServices::ContentModerator::V1_0::Models::Frame
|
51
49
|
CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
|
@@ -58,25 +56,22 @@ module Azure::Profiles::Latest
|
|
58
56
|
FoundFaces = Azure::CognitiveServices::ContentModerator::V1_0::Models::FoundFaces
|
59
57
|
CreateVideoReviewsBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateVideoReviewsBodyItem
|
60
58
|
Match = Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
|
61
|
-
BodyMetadata = Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata
|
62
|
-
ImageList = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
|
63
59
|
Body = Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
|
64
|
-
|
60
|
+
TermList = Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
|
65
61
|
ImageUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
|
66
|
-
|
62
|
+
ClassificationCategory1 = Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
|
67
63
|
VideoFrameBodyItemReviewerResultTagsItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
|
68
|
-
|
64
|
+
Phone = Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
|
69
65
|
VideoFrameBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
|
70
|
-
|
66
|
+
OCR = Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
|
71
67
|
VideoFrameBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
|
72
|
-
|
68
|
+
KeyValuePair = Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
|
73
69
|
CreateReviewBodyItemMetadataItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
|
74
|
-
|
70
|
+
Screen = Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
|
75
71
|
CreateReviewBodyItem = Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
|
76
|
-
|
72
|
+
Status = Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
|
77
73
|
Content = Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
|
78
|
-
|
79
|
-
AzureRegionBaseUrl = Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl
|
74
|
+
DetectedLanguage = Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
|
80
75
|
end
|
81
76
|
|
82
77
|
class ContentModeratorDataClass
|
@@ -115,98 +110,92 @@ module Azure::Profiles::Latest
|
|
115
110
|
end
|
116
111
|
|
117
112
|
class ModelClasses
|
118
|
-
def refresh_index
|
119
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
|
120
|
-
end
|
121
113
|
def image_additional_info_item
|
122
114
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageAdditionalInfoItem
|
123
115
|
end
|
124
|
-
def tag
|
125
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
|
126
|
-
end
|
127
116
|
def image
|
128
117
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Image
|
129
118
|
end
|
130
|
-
def
|
131
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
119
|
+
def tag
|
120
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Tag
|
132
121
|
end
|
133
122
|
def image_ids
|
134
123
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageIds
|
135
124
|
end
|
136
|
-
def
|
137
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
125
|
+
def frames
|
126
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Frames
|
138
127
|
end
|
139
128
|
def terms_in_list
|
140
129
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsInList
|
141
130
|
end
|
142
|
-
def
|
143
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
131
|
+
def classification_category2
|
132
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory2
|
144
133
|
end
|
145
134
|
def terms_data
|
146
135
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsData
|
147
136
|
end
|
148
|
-
def
|
149
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
137
|
+
def classification
|
138
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Classification
|
150
139
|
end
|
151
140
|
def terms_paging
|
152
141
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::TermsPaging
|
153
142
|
end
|
154
|
-
def
|
155
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
143
|
+
def email
|
144
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Email
|
156
145
|
end
|
157
146
|
def terms
|
158
147
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Terms
|
159
148
|
end
|
160
|
-
def
|
161
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
149
|
+
def ipa
|
150
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::IPA
|
162
151
|
end
|
163
152
|
def review
|
164
153
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Review
|
165
154
|
end
|
166
|
-
def
|
167
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
155
|
+
def address
|
156
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Address
|
168
157
|
end
|
169
158
|
def job_execution_report_details
|
170
159
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::JobExecutionReportDetails
|
171
160
|
end
|
172
|
-
def
|
173
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
161
|
+
def detected_terms
|
162
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedTerms
|
174
163
|
end
|
175
164
|
def job
|
176
165
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
|
177
166
|
end
|
178
|
-
def
|
179
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
167
|
+
def face
|
168
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Face
|
180
169
|
end
|
181
170
|
def job_list_result
|
182
171
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::JobListResult
|
183
172
|
end
|
184
|
-
def
|
185
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
173
|
+
def candidate
|
174
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Candidate
|
186
175
|
end
|
187
176
|
def job_id
|
188
177
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId
|
189
178
|
end
|
190
|
-
def
|
191
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
179
|
+
def evaluate
|
180
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Evaluate
|
192
181
|
end
|
193
182
|
def error
|
194
183
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Error
|
195
184
|
end
|
196
|
-
def
|
197
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
185
|
+
def match_response
|
186
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::MatchResponse
|
198
187
|
end
|
199
188
|
def apierror
|
200
189
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::APIError
|
201
190
|
end
|
202
|
-
def
|
203
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
191
|
+
def image_list
|
192
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
|
204
193
|
end
|
205
194
|
def transcript_moderation_body_item_terms_item
|
206
195
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItemTermsItem
|
207
196
|
end
|
208
|
-
def
|
209
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
197
|
+
def refresh_index
|
198
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::RefreshIndex
|
210
199
|
end
|
211
200
|
def transcript_moderation_body_item
|
212
201
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::TranscriptModerationBodyItem
|
@@ -244,62 +233,53 @@ module Azure::Profiles::Latest
|
|
244
233
|
def match
|
245
234
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Match
|
246
235
|
end
|
247
|
-
def body_metadata
|
248
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::BodyMetadata
|
249
|
-
end
|
250
|
-
def image_list
|
251
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageList
|
252
|
-
end
|
253
236
|
def body
|
254
237
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Body
|
255
238
|
end
|
256
|
-
def
|
257
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
239
|
+
def term_list
|
240
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::TermList
|
258
241
|
end
|
259
242
|
def image_url
|
260
243
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::ImageUrl
|
261
244
|
end
|
262
|
-
def
|
263
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
245
|
+
def classification_category1
|
246
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::ClassificationCategory1
|
264
247
|
end
|
265
248
|
def video_frame_body_item_reviewer_result_tags_item
|
266
249
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemReviewerResultTagsItem
|
267
250
|
end
|
268
|
-
def
|
269
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
251
|
+
def phone
|
252
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Phone
|
270
253
|
end
|
271
254
|
def video_frame_body_item_metadata_item
|
272
255
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItemMetadataItem
|
273
256
|
end
|
274
|
-
def
|
275
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
257
|
+
def ocr
|
258
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::OCR
|
276
259
|
end
|
277
260
|
def video_frame_body_item
|
278
261
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::VideoFrameBodyItem
|
279
262
|
end
|
280
|
-
def
|
281
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
263
|
+
def key_value_pair
|
264
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::KeyValuePair
|
282
265
|
end
|
283
266
|
def create_review_body_item_metadata_item
|
284
267
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItemMetadataItem
|
285
268
|
end
|
286
|
-
def
|
287
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
269
|
+
def screen
|
270
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Screen
|
288
271
|
end
|
289
272
|
def create_review_body_item
|
290
273
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::CreateReviewBodyItem
|
291
274
|
end
|
292
|
-
def
|
293
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
275
|
+
def status
|
276
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::Status
|
294
277
|
end
|
295
278
|
def content
|
296
279
|
Azure::CognitiveServices::ContentModerator::V1_0::Models::Content
|
297
280
|
end
|
298
|
-
def
|
299
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::
|
300
|
-
end
|
301
|
-
def azure_region_base_url
|
302
|
-
Azure::CognitiveServices::ContentModerator::V1_0::Models::AzureRegionBaseUrl
|
281
|
+
def detected_language
|
282
|
+
Azure::CognitiveServices::ContentModerator::V1_0::Models::DetectedLanguage
|
303
283
|
end
|
304
284
|
end
|
305
285
|
end
|
@@ -0,0 +1,151 @@
|
|
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_localsearch'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module LocalSearch
|
9
|
+
Local = Azure::CognitiveServices::LocalSearch::V1_0::Local
|
10
|
+
|
11
|
+
module Models
|
12
|
+
ResponseBase = Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseBase
|
13
|
+
GeoCoordinates = Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates
|
14
|
+
EntitiesEntityPresentationInfo = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntitiesEntityPresentationInfo
|
15
|
+
QueryContext = Azure::CognitiveServices::LocalSearch::V1_0::Models::QueryContext
|
16
|
+
Error = Azure::CognitiveServices::LocalSearch::V1_0::Models::Error
|
17
|
+
SearchResultsAnswer = Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchResultsAnswer
|
18
|
+
Places = Azure::CognitiveServices::LocalSearch::V1_0::Models::Places
|
19
|
+
PostalAddress = Azure::CognitiveServices::LocalSearch::V1_0::Models::PostalAddress
|
20
|
+
Place = Azure::CognitiveServices::LocalSearch::V1_0::Models::Place
|
21
|
+
Action = Azure::CognitiveServices::LocalSearch::V1_0::Models::Action
|
22
|
+
Identifiable = Azure::CognitiveServices::LocalSearch::V1_0::Models::Identifiable
|
23
|
+
Response = Azure::CognitiveServices::LocalSearch::V1_0::Models::Response
|
24
|
+
Thing = Azure::CognitiveServices::LocalSearch::V1_0::Models::Thing
|
25
|
+
SearchResponse = Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchResponse
|
26
|
+
Answer = Azure::CognitiveServices::LocalSearch::V1_0::Models::Answer
|
27
|
+
ErrorResponse = Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorResponse
|
28
|
+
CreativeWork = Azure::CognitiveServices::LocalSearch::V1_0::Models::CreativeWork
|
29
|
+
Intangible = Azure::CognitiveServices::LocalSearch::V1_0::Models::Intangible
|
30
|
+
SearchAction = Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchAction
|
31
|
+
StructuredValue = Azure::CognitiveServices::LocalSearch::V1_0::Models::StructuredValue
|
32
|
+
EntityScenario = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityScenario
|
33
|
+
EntityType = Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType
|
34
|
+
ErrorCode = Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorCode
|
35
|
+
ErrorSubCode = Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorSubCode
|
36
|
+
ResponseFormat = Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseFormat
|
37
|
+
SafeSearch = Azure::CognitiveServices::LocalSearch::V1_0::Models::SafeSearch
|
38
|
+
end
|
39
|
+
|
40
|
+
class LocalSearchDataClass
|
41
|
+
attr_reader :local, :configurable, :base_url, :options, :model_classes
|
42
|
+
|
43
|
+
def initialize(configurable, base_url=nil, options=nil)
|
44
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
45
|
+
|
46
|
+
@client_0 = Azure::CognitiveServices::LocalSearch::V1_0::LocalSearchClient.new(configurable.credentials, base_url, options)
|
47
|
+
if(@client_0.respond_to?(:subscription_id))
|
48
|
+
@client_0.subscription_id = configurable.subscription_id
|
49
|
+
end
|
50
|
+
add_telemetry(@client_0)
|
51
|
+
@local = @client_0.local
|
52
|
+
|
53
|
+
@model_classes = ModelClasses.new
|
54
|
+
end
|
55
|
+
|
56
|
+
def add_telemetry(client)
|
57
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/LocalSearch"
|
58
|
+
client.add_user_agent_information(profile_information)
|
59
|
+
end
|
60
|
+
|
61
|
+
def method_missing(method, *args)
|
62
|
+
if @client_0.respond_to?method
|
63
|
+
@client_0.send(method, *args)
|
64
|
+
else
|
65
|
+
super
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
class ModelClasses
|
70
|
+
def response_base
|
71
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseBase
|
72
|
+
end
|
73
|
+
def geo_coordinates
|
74
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::GeoCoordinates
|
75
|
+
end
|
76
|
+
def entities_entity_presentation_info
|
77
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::EntitiesEntityPresentationInfo
|
78
|
+
end
|
79
|
+
def query_context
|
80
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::QueryContext
|
81
|
+
end
|
82
|
+
def error
|
83
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Error
|
84
|
+
end
|
85
|
+
def search_results_answer
|
86
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchResultsAnswer
|
87
|
+
end
|
88
|
+
def places
|
89
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Places
|
90
|
+
end
|
91
|
+
def postal_address
|
92
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::PostalAddress
|
93
|
+
end
|
94
|
+
def place
|
95
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Place
|
96
|
+
end
|
97
|
+
def action
|
98
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Action
|
99
|
+
end
|
100
|
+
def identifiable
|
101
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Identifiable
|
102
|
+
end
|
103
|
+
def response
|
104
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Response
|
105
|
+
end
|
106
|
+
def thing
|
107
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Thing
|
108
|
+
end
|
109
|
+
def search_response
|
110
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchResponse
|
111
|
+
end
|
112
|
+
def answer
|
113
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Answer
|
114
|
+
end
|
115
|
+
def error_response
|
116
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorResponse
|
117
|
+
end
|
118
|
+
def creative_work
|
119
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::CreativeWork
|
120
|
+
end
|
121
|
+
def intangible
|
122
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::Intangible
|
123
|
+
end
|
124
|
+
def search_action
|
125
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::SearchAction
|
126
|
+
end
|
127
|
+
def structured_value
|
128
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::StructuredValue
|
129
|
+
end
|
130
|
+
def entity_scenario
|
131
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityScenario
|
132
|
+
end
|
133
|
+
def entity_type
|
134
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::EntityType
|
135
|
+
end
|
136
|
+
def error_code
|
137
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorCode
|
138
|
+
end
|
139
|
+
def error_sub_code
|
140
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::ErrorSubCode
|
141
|
+
end
|
142
|
+
def response_format
|
143
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::ResponseFormat
|
144
|
+
end
|
145
|
+
def safe_search
|
146
|
+
Azure::CognitiveServices::LocalSearch::V1_0::Models::SafeSearch
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -954,14 +954,14 @@ dependencies:
|
|
954
954
|
requirements:
|
955
955
|
- - "~>"
|
956
956
|
- !ruby/object:Gem::Version
|
957
|
-
version: 0.17.
|
957
|
+
version: 0.17.1
|
958
958
|
type: :runtime
|
959
959
|
prerelease: false
|
960
960
|
version_requirements: !ruby/object:Gem::Requirement
|
961
961
|
requirements:
|
962
962
|
- - "~>"
|
963
963
|
- !ruby/object:Gem::Version
|
964
|
-
version: 0.17.
|
964
|
+
version: 0.17.1
|
965
965
|
- !ruby/object:Gem::Dependency
|
966
966
|
name: azure_cognitiveservices_customsearch
|
967
967
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1181,6 +1181,7 @@ files:
|
|
1181
1181
|
- lib/latest/modules/keyvault_profile_module.rb
|
1182
1182
|
- lib/latest/modules/kusto_profile_module.rb
|
1183
1183
|
- lib/latest/modules/links_profile_module.rb
|
1184
|
+
- lib/latest/modules/localsearch_profile_module.rb
|
1184
1185
|
- lib/latest/modules/locks_profile_module.rb
|
1185
1186
|
- lib/latest/modules/logic_profile_module.rb
|
1186
1187
|
- lib/latest/modules/machinelearning_profile_module.rb
|
@@ -1258,7 +1259,7 @@ metadata:
|
|
1258
1259
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
1259
1260
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
1260
1261
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
1261
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.19.
|
1262
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.19.6
|
1262
1263
|
wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
|
1263
1264
|
post_install_message:
|
1264
1265
|
rdoc_options: []
|