azure_mgmt_customer_insights 0.17.0 → 0.17.1

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: b3c68b2e59aeb00e19600210a938d9aaa712a08f
4
- data.tar.gz: 9cac440e174860b7c785c46abc67aa9954672c48
3
+ metadata.gz: f76c09be4f5a902425abeb71783dcb0f55e62817
4
+ data.tar.gz: 6adf0a53a85f445739859a3a3992b22433ee833d
5
5
  SHA512:
6
- metadata.gz: 0bb148e8f7a066419414032c889100aa9627d279e64e266fa7ce15841046592564a92635b8df95e6baf28bcacf0bb69fde3a2227cb6f609398f85e497e6b4aee
7
- data.tar.gz: 734e3b58888f198f09915e4776c2eaa42e1f8c0918e2b76822e096bff2e246007d45936ddb5465f9c46bf2f26c004dc237665623d557bc5188bbca2e8350bb59
6
+ metadata.gz: 027b59ee12fc0dd3f9f0427312ceac4f646143e947f6a415342b3d2e40bd1e065cf643194f0b8e6086c796bd3d3089aa9256a96b11eea30f04a211f2ba623005
7
+ data.tar.gz: 485e0b0f0d4e57801b06c04cc2bb7bb041c90827894cc197ca560f90ac68ca46a557052b1c4bcb2f97d01460704dc7511bd640e14424bdbfb377904af7048aca
@@ -186,7 +186,7 @@ module Azure::CustomerInsights::Mgmt::V2017_01_01
186
186
  #
187
187
  def add_telemetry
188
188
  sdk_information = 'azure_mgmt_customer_insights'
189
- sdk_information = "#{sdk_information}/0.17.0"
189
+ sdk_information = "#{sdk_information}/0.17.1"
190
190
  add_user_agent_information(sdk_information)
191
191
  end
192
192
  end
@@ -28,6 +28,15 @@ module Azure::CustomerInsights::Mgmt::V2017_01_01
28
28
  attr_accessor :tags
29
29
 
30
30
 
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
31
40
  #
32
41
  # Mapper for Resource class as Ruby Hash.
33
42
  # This will be used for serialization/deserialization.
@@ -190,7 +190,7 @@ module Azure::CustomerInsights::Mgmt::V2017_04_26
190
190
  #
191
191
  def add_telemetry
192
192
  sdk_information = 'azure_mgmt_customer_insights'
193
- sdk_information = "#{sdk_information}/0.17.0"
193
+ sdk_information = "#{sdk_information}/0.17.1"
194
194
  add_user_agent_information(sdk_information)
195
195
  end
196
196
  end
@@ -28,6 +28,15 @@ module Azure::CustomerInsights::Mgmt::V2017_04_26
28
28
  attr_accessor :tags
29
29
 
30
30
 
31
+ # @return [String] the name of the resource group of the resource.
32
+ def resource_group
33
+ unless self.id.nil?
34
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
35
+ groups.captures[0].strip if groups
36
+ end
37
+ end
38
+
39
+
31
40
  #
32
41
  # Mapper for Resource class as Ruby Hash.
33
42
  # This will be used for serialization/deserialization.
data/lib/version.rb CHANGED
@@ -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::CustomerInsights::Mgmt
6
- VERSION = '0.17.0'
6
+ VERSION = '0.17.1'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_customer_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
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-07-31 00:00:00.000000000 Z
11
+ date: 2018-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler