class Google::Apis::AnalyticsdataV1beta::Metadata
The dimensions and metrics currently accepted in reporting methods.
Attributes
dimensions[RW]
The dimension descriptions. Corresponds to the JSON property `dimensions` @return [Array<Google::Apis::AnalyticsdataV1beta::DimensionMetadata>]
metrics[RW]
The metric descriptions. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::AnalyticsdataV1beta::MetricMetadata>]
name[RW]
Resource name of this metadata. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 829 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/analyticsdata_v1beta/classes.rb, line 834 def update!(**args) @dimensions = args[:dimensions] if args.key?(:dimensions) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) end