Class: Google::Apis::AnalyticsdataV1beta::V1betaAudienceDimension

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

An audience dimension is a user attribute. Specific user attributed are requested and then later returned in the QueryAudienceExportResponse.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V1betaAudienceDimension

Returns a new instance of V1betaAudienceDimension.



2674
2675
2676
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2674

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

Instance Attribute Details

#dimension_nameString

Optional. The API name of the dimension. See the API Dimensions for the list of dimension names. Corresponds to the JSON property dimensionName

Returns:

  • (String)


2672
2673
2674
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2672

def dimension_name
  @dimension_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2679
2680
2681
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2679

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