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 and metrics currently accepted in reporting methods.
Instance Attribute Summary collapse
-
#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.
854 855 856 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 854 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimensions ⇒ Array<Google::Apis::AnalyticsdataV1beta::DimensionMetadata>
The dimension descriptions.
Corresponds to the JSON property dimensions
842 843 844 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 842 def dimensions @dimensions end |
#metrics ⇒ Array<Google::Apis::AnalyticsdataV1beta::MetricMetadata>
The metric descriptions.
Corresponds to the JSON property metrics
847 848 849 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 847 def metrics @metrics end |
#name ⇒ String
Resource name of this metadata.
Corresponds to the JSON property name
852 853 854 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 852 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
859 860 861 862 863 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 859 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 |