Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension

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

Overview

Dimensions are attributes of your data. For example, the dimension userEmail indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessDimension

Returns a new instance of GoogleAnalyticsAdminV1betaAccessDimension.



95
96
97
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 95

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

Instance Attribute Details

#dimension_nameString

The API name of the dimension. See Data Access Schema for the list of dimensions supported in this API. Dimensions are referenced by name in dimensionFilter and orderBys. Corresponds to the JSON property dimensionName

Returns:

  • (String)


93
94
95
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 93

def dimension_name
  @dimension_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



100
101
102
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 100

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