Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifeEventInfo

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

Represents a life event criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLifeEventInfo

Returns a new instance of GoogleAdsSearchads360V23CommonLifeEventInfo.



6566
6567
6568
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6566

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

Instance Attribute Details

#life_event_idFixnum

Taxonomy id of the life event. Corresponds to the JSON property lifeEventId

Returns:

  • (Fixnum)


6564
6565
6566
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6564

def life_event_id
  @life_event_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6571
6572
6573
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6571

def update!(**args)
  @life_event_id = args[:life_event_id] if args.key?(:life_event_id)
end