Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetricValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

The value of a metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessMetricValue

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessMetricValue.



366
367
368
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 366

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valueString

The measurement value. For example, this value may be '13'. Corresponds to the JSON property value

Returns:

  • (String)


364
365
366
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 364

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



371
372
373
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 371

def update!(**args)
  @value = args[:value] if args.key?(:value)
end