class Google::Apis::AnalyticsreportingV4::CustomDimension

Custom dimension.

Attributes

index[RW]

Slot number of custom dimension. Corresponds to the JSON property `index` @return [Fixnum]

value[RW]

Value of the custom dimension. Default value (i.e. empty string) indicates clearing sesion/visitor scope custom dimension value. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsreporting_v4/classes.rb, line 279
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 284
def update!(**args)
  @index = args[:index] if args.key?(:index)
  @value = args[:value] if args.key?(:value)
end