Class: Google::Apis::AnalyticsdataV1beta::ComparisonMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::ComparisonMetadata
- 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 metadata for a single comparison.
Instance Attribute Summary collapse
-
#api_name ⇒ String
This comparison's resource name.
-
#description ⇒ String
This comparison's description.
-
#ui_name ⇒ String
This comparison's name within the Google Analytics user interface.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComparisonMetadata
constructor
A new instance of ComparisonMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComparisonMetadata
Returns a new instance of ComparisonMetadata.
573 574 575 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_name ⇒ String
This comparison's resource name. Useable in Comparison's
comparison
field. For example, 'comparisons/1234'.
Corresponds to the JSON property apiName
561 562 563 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 561 def api_name @api_name end |
#description ⇒ String
This comparison's description.
Corresponds to the JSON property description
566 567 568 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 566 def description @description end |
#ui_name ⇒ String
This comparison's name within the Google Analytics user interface.
Corresponds to the JSON property uiName
571 572 573 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 571 def ui_name @ui_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
578 579 580 581 582 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 578 def update!(**args) @api_name = args[:api_name] if args.key?(:api_name) @description = args[:description] if args.key?(:description) @ui_name = args[:ui_name] if args.key?(:ui_name) end |