Class: Google::Apis::AnalyticsdataV1beta::DimensionHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/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.



610
611
612
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 610

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


608
609
610
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 608

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



615
616
617
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 615

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