Class: Azure::Storage::Service::Metrics

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage/service/metrics.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Metrics

Returns a new instance of Metrics

Yields:

  • (_self)

Yield Parameters:


20
21
22
23
# File 'lib/azure/storage/service/metrics.rb', line 20

def initialize
  @retention_policy = RetentionPolicy.new
  yield self if block_given?
end

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled


26
27
28
# File 'lib/azure/storage/service/metrics.rb', line 26

def enabled
  @enabled
end

#include_apisObject

Returns the value of attribute include_apis


27
28
29
# File 'lib/azure/storage/service/metrics.rb', line 27

def include_apis
  @include_apis
end

#retention_policyObject

Returns the value of attribute retention_policy


28
29
30
# File 'lib/azure/storage/service/metrics.rb', line 28

def retention_policy
  @retention_policy
end

#versionObject

Returns the value of attribute version


25
26
27
# File 'lib/azure/storage/service/metrics.rb', line 25

def version
  @version
end