Class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader

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

Overview

Describes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DimensionHeader

Returns a new instance of DimensionHeader.



463
464
465
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 463

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

Instance Attribute Details

#nameString

The dimension's name. Corresponds to the JSON property name

Returns:

  • (String)


461
462
463
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 461

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



468
469
470
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 468

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