Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCustomColumnHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Message for custom column header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCustomColumnHeader

Returns a new instance of GoogleAdsSearchads360V23ServicesCustomColumnHeader.



39216
39217
39218
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39216

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idFixnum

The custom column ID. Corresponds to the JSON property id

Returns:

  • (Fixnum)


39203
39204
39205
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39203

def id
  @id
end

#nameString

The user defined name of the custom column. Corresponds to the JSON property name

Returns:

  • (String)


39208
39209
39210
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39208

def name
  @name
end

#references_metricsBoolean Also known as: references_metrics?

True when the custom column references metrics. Corresponds to the JSON property referencesMetrics

Returns:

  • (Boolean)


39213
39214
39215
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39213

def references_metrics
  @references_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39221
39222
39223
39224
39225
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39221

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