Class: Google::Apis::AnalyticsdataV1beta::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::Metadata
- 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 dimensions, metrics and comparisons currently accepted in reporting methods.
Instance Attribute Summary collapse
-
#comparisons ⇒ Array<Google::Apis::AnalyticsdataV1beta::ComparisonMetadata>
The comparison descriptions.
-
#dimensions ⇒ Array<Google::Apis::AnalyticsdataV1beta::DimensionMetadata>
The dimension descriptions.
-
#metrics ⇒ Array<Google::Apis::AnalyticsdataV1beta::MetricMetadata>
The metric descriptions.
-
#name ⇒ String
Resource name of this metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
1066 1067 1068 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1066 def initialize(**args) update!(**args) end |
Instance Attribute Details
#comparisons ⇒ Array<Google::Apis::AnalyticsdataV1beta::ComparisonMetadata>
The comparison descriptions.
Corresponds to the JSON property comparisons
1049 1050 1051 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1049 def comparisons @comparisons end |
#dimensions ⇒ Array<Google::Apis::AnalyticsdataV1beta::DimensionMetadata>
The dimension descriptions.
Corresponds to the JSON property dimensions
1054 1055 1056 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1054 def dimensions @dimensions end |
#metrics ⇒ Array<Google::Apis::AnalyticsdataV1beta::MetricMetadata>
The metric descriptions.
Corresponds to the JSON property metrics
1059 1060 1061 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1059 def metrics @metrics end |
#name ⇒ String
Resource name of this metadata.
Corresponds to the JSON property name
1064 1065 1066 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1064 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1071 1072 1073 1074 1075 1076 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1071 def update!(**args) @comparisons = args[:comparisons] if args.key?(:comparisons) @dimensions = args[:dimensions] if args.key?(:dimensions) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) end |