Class: Google::Apis::AnalyticsdataV1beta::DimensionCompatibility
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::DimensionCompatibility
- 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
The compatibility for a single dimension.
Instance Attribute Summary collapse
-
#compatibility ⇒ String
The compatibility of this dimension.
-
#dimension_metadata ⇒ Google::Apis::AnalyticsdataV1beta::DimensionMetadata
Explains a dimension.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionCompatibility
constructor
A new instance of DimensionCompatibility.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionCompatibility
Returns a new instance of DimensionCompatibility.
715 716 717 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compatibility ⇒ String
The compatibility of this dimension. If the compatibility is COMPATIBLE, this
dimension can be successfully added to the report.
Corresponds to the JSON property compatibility
708 709 710 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 708 def compatibility @compatibility end |
#dimension_metadata ⇒ Google::Apis::AnalyticsdataV1beta::DimensionMetadata
Explains a dimension.
Corresponds to the JSON property dimensionMetadata
713 714 715 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 713 def @dimension_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
720 721 722 723 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 720 def update!(**args) @compatibility = args[:compatibility] if args.key?(:compatibility) @dimension_metadata = args[:dimension_metadata] if args.key?(:dimension_metadata) end |