Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ServicesCustomColumnHeader

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ServicesCustomColumnHeader

Returns a new instance of GoogleAdsSearchads360V0ServicesCustomColumnHeader.



8432
8433
8434
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8432

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

Instance Attribute Details

#idFixnum

The custom column ID. Corresponds to the JSON property id

Returns:

  • (Fixnum)


8419
8420
8421
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8419

def id
  @id
end

#nameString

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

Returns:

  • (String)


8424
8425
8426
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8424

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)


8429
8430
8431
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8429

def references_metrics
  @references_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8437
8438
8439
8440
8441
# File 'lib/google/apis/searchads360_v0/classes.rb', line 8437

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