azure_sdk 0.26.1 → 0.27.0

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: 1a1393ec9a51bf8fdc66655cfa69fa1e4cb2176f
4
- data.tar.gz: daa81d155ad7432eed85e95f72cb4758028d8a65
3
+ metadata.gz: 7362397608e58bbc0ba3f2d95d01961162125cc4
4
+ data.tar.gz: bbdae2534f142e80ee6d810c3e77f4d2822f6ddd
5
5
  SHA512:
6
- metadata.gz: 35b835b3bf3ab6717d88c736bca9b093f12a8743790c178af6a32a06f5b7087395ed060895f8356a963185ae6a14f1716e11b2ad3d9be07e1fa30126635e9fbd
7
- data.tar.gz: d6283b01bf13d28acba89b1bbb55e2da808c517121ed5d42292d6fc0c0d4609b420c09f4443c0e25df9f37a1861f8f5777304552b779a48329ddcb14ad9e95d0
6
+ metadata.gz: ca7653fe3fa06017d7434bef43ee3fe6d8db0ea304fa27b0ffe42bd9e94ba780aa518b0af90914ba97263e9ea833633f8ccdc636c4e0e51ffbba4b54920723ec
7
+ data.tar.gz: 952c53a3be20f07571118eb250cb436d33ab687c4f61846783b00456b1f72e5048ebb72dec4e03e3a6fc948d0a5cf4b88cc743cd52f4301329ed14904811e504
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure
6
- VERSION = '0.26.1'
6
+ VERSION = '0.27.0'
7
7
  end
@@ -100,6 +100,7 @@ require 'latest/modules/localsearch_profile_module'
100
100
  require 'latest/modules/luisruntime_profile_module'
101
101
  require 'latest/modules/luisauthoring_profile_module'
102
102
  require 'latest/modules/newssearch_profile_module'
103
+ require 'latest/modules/personalizer_profile_module'
103
104
  require 'latest/modules/qnamaker_profile_module'
104
105
  require 'latest/modules/spellcheck_profile_module'
105
106
  require 'latest/modules/textanalytics_profile_module'
@@ -114,7 +115,7 @@ module Azure::Profiles::Latest
114
115
  class Client
115
116
  include MsRestAzure::Common::Configurable
116
117
 
117
- attr_reader :advisor, :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :mixed_reality, :monitor, :managed_service_identity, :net_app, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :postgresql, :power_bi_embedded, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
118
+ attr_reader :advisor, :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :mixed_reality, :monitor, :managed_service_identity, :net_app, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :postgresql, :power_bi_embedded, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :stream_analytics, :subscriptions, :traffic_manager, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :personalizer, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
118
119
 
119
120
  #
120
121
  # Initializes a new instance of the Client class.
@@ -243,6 +244,7 @@ module Azure::Profiles::Latest
243
244
  @luis_runtime = LuisRuntimeAdapter.new(self, base_url, sdk_options)
244
245
  @luis_authoring = LuisAuthoringAdapter.new(self, base_url, sdk_options)
245
246
  @news_search = NewsSearchAdapter.new(self, base_url, sdk_options)
247
+ @personalizer = PersonalizerAdapter.new(self, base_url, sdk_options)
246
248
  @qnamaker = QnamakerAdapter.new(self, base_url, sdk_options)
247
249
  @spell_check = SpellCheckAdapter.new(self, base_url, sdk_options)
248
250
  @text_analytics = TextAnalyticsAdapter.new(self, base_url, sdk_options)
@@ -1013,6 +1015,13 @@ module Azure::Profiles::Latest
1013
1015
  end
1014
1016
  end
1015
1017
 
1018
+ class PersonalizerAdapter < Azure::Profiles::Latest::Personalizer::PersonalizerDataClass
1019
+
1020
+ def initialize(context, base_url, options)
1021
+ super(context)
1022
+ end
1023
+ end
1024
+
1016
1025
  class QnamakerAdapter < Azure::Profiles::Latest::Qnamaker::QnamakerDataClass
1017
1026
 
1018
1027
  def initialize(context, base_url, options)
@@ -0,0 +1,83 @@
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_personalizer'
6
+
7
+ module Azure::Profiles::Latest
8
+ module Personalizer
9
+ Events = Azure::CognitiveServices::Personalizer::V1_0::Events
10
+
11
+ module Models
12
+ RankableAction = Azure::CognitiveServices::Personalizer::V1_0::Models::RankableAction
13
+ InternalError = Azure::CognitiveServices::Personalizer::V1_0::Models::InternalError
14
+ RankRequest = Azure::CognitiveServices::Personalizer::V1_0::Models::RankRequest
15
+ ErrorResponse = Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorResponse
16
+ RankedAction = Azure::CognitiveServices::Personalizer::V1_0::Models::RankedAction
17
+ PersonalizerError = Azure::CognitiveServices::Personalizer::V1_0::Models::PersonalizerError
18
+ RankResponse = Azure::CognitiveServices::Personalizer::V1_0::Models::RankResponse
19
+ RewardRequest = Azure::CognitiveServices::Personalizer::V1_0::Models::RewardRequest
20
+ ErrorCode = Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorCode
21
+ end
22
+
23
+ class PersonalizerDataClass
24
+ attr_reader :events, :configurable, :base_url, :options, :model_classes
25
+
26
+ def initialize(configurable, base_url=nil, options=nil)
27
+ @configurable, @base_url, @options = configurable, base_url, options
28
+
29
+ @client_0 = Azure::CognitiveServices::Personalizer::V1_0::PersonalizerClient.new(configurable.credentials, options)
30
+ if(@client_0.respond_to?(:subscription_id))
31
+ @client_0.subscription_id = configurable.subscription_id
32
+ end
33
+ add_telemetry(@client_0)
34
+ @events = @client_0.events
35
+
36
+ @model_classes = ModelClasses.new
37
+ end
38
+
39
+ def add_telemetry(client)
40
+ profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Personalizer"
41
+ client.add_user_agent_information(profile_information)
42
+ end
43
+
44
+ def method_missing(method, *args)
45
+ if @client_0.respond_to?method
46
+ @client_0.send(method, *args)
47
+ else
48
+ super
49
+ end
50
+ end
51
+
52
+ class ModelClasses
53
+ def rankable_action
54
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankableAction
55
+ end
56
+ def internal_error
57
+ Azure::CognitiveServices::Personalizer::V1_0::Models::InternalError
58
+ end
59
+ def rank_request
60
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankRequest
61
+ end
62
+ def error_response
63
+ Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorResponse
64
+ end
65
+ def ranked_action
66
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankedAction
67
+ end
68
+ def personalizer_error
69
+ Azure::CognitiveServices::Personalizer::V1_0::Models::PersonalizerError
70
+ end
71
+ def rank_response
72
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RankResponse
73
+ end
74
+ def reward_request
75
+ Azure::CognitiveServices::Personalizer::V1_0::Models::RewardRequest
76
+ end
77
+ def error_code
78
+ Azure::CognitiveServices::Personalizer::V1_0::Models::ErrorCode
79
+ end
80
+ end
81
+ end
82
+ end
83
+ 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.26.1
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-06 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -940,14 +940,14 @@ dependencies:
940
940
  requirements:
941
941
  - - "~>"
942
942
  - !ruby/object:Gem::Version
943
- version: 0.19.0
943
+ version: 0.20.0
944
944
  type: :runtime
945
945
  prerelease: false
946
946
  version_requirements: !ruby/object:Gem::Requirement
947
947
  requirements:
948
948
  - - "~>"
949
949
  - !ruby/object:Gem::Version
950
- version: 0.19.0
950
+ version: 0.20.0
951
951
  - !ruby/object:Gem::Dependency
952
952
  name: azure_cognitiveservices_contentmoderator
953
953
  requirement: !ruby/object:Gem::Requirement
@@ -1208,6 +1208,7 @@ files:
1208
1208
  - lib/latest/modules/newssearch_profile_module.rb
1209
1209
  - lib/latest/modules/notificationhubs_profile_module.rb
1210
1210
  - lib/latest/modules/operationalinsights_profile_module.rb
1211
+ - lib/latest/modules/personalizer_profile_module.rb
1211
1212
  - lib/latest/modules/policy_profile_module.rb
1212
1213
  - lib/latest/modules/policyinsights_profile_module.rb
1213
1214
  - lib/latest/modules/postgresql_profile_module.rb
@@ -1293,7 +1294,7 @@ metadata:
1293
1294
  changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
1294
1295
  documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
1295
1296
  homepage_uri: https://aka.ms/azure-sdk-for-ruby
1296
- source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.26.1
1297
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.27.0
1297
1298
  wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
1298
1299
  post_install_message:
1299
1300
  rdoc_options: []