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.



2697
2698
2699
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2697

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)


2695
2696
2697
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2695

def dimension_name
  @dimension_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2702
2703
2704
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2702

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