class Google::Apis::AnalyticsdataV1alpha::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::AnalyticsdataV1alpha::DimensionMetadata>]
metrics[RW]
The metric descriptions. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::AnalyticsdataV1alpha::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_v1alpha/classes.rb, line 751 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_v1alpha/classes.rb, line 756 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