Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
Message for custom column header.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
The custom column ID.
-
#name ⇒ String
The user defined name of the custom column.
-
#references_metrics ⇒ Boolean
(also: #references_metrics?)
True when the custom column references metrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesCustomColumnHeader
constructor
A new instance of GoogleAdsSearchads360V0ServicesCustomColumnHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesCustomColumnHeader
Returns a new instance of GoogleAdsSearchads360V0ServicesCustomColumnHeader.
7673 7674 7675 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7673 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
The custom column ID.
Corresponds to the JSON property id
7660 7661 7662 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7660 def id @id end |
#name ⇒ String
The user defined name of the custom column.
Corresponds to the JSON property name
7665 7666 7667 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7665 def name @name end |
#references_metrics ⇒ Boolean Also known as: references_metrics?
True when the custom column references metrics.
Corresponds to the JSON property referencesMetrics
7670 7671 7672 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7670 def references_metrics @references_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7678 7679 7680 7681 7682 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7678 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @references_metrics = args[:references_metrics] if args.key?(:references_metrics) end |