Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLifeEventSegment

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

Live event segment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLifeEventSegment

Returns a new instance of GoogleAdsSearchads360V23CommonLifeEventSegment.



6585
6586
6587
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6585

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

Instance Attribute Details

#life_eventString

The life event resource. Corresponds to the JSON property lifeEvent

Returns:

  • (String)


6583
6584
6585
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6583

def life_event
  @life_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6590
6591
6592
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6590

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