Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAgeRangeInfo

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

An age range criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonAgeRangeInfo

Returns a new instance of GoogleAdsSearchads360V0CommonAgeRangeInfo.



34
35
36
# File 'lib/google/apis/searchads360_v0/classes.rb', line 34

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

Instance Attribute Details

#typeString

Type of the age range. Corresponds to the JSON property type

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/searchads360_v0/classes.rb', line 32

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'lib/google/apis/searchads360_v0/classes.rb', line 39

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