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.



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

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)


2676
2677
2678
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2676

def dimension_name
  @dimension_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2683
2684
2685
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2683

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