Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAgeRangeInfo

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

An age range criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonAgeRangeInfo

Returns a new instance of GoogleAdsSearchads360V23CommonAgeRangeInfo.



1097
1098
1099
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1097

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

Instance Attribute Details

#typeString

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

Returns:

  • (String)


1095
1096
1097
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1095

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
# File 'lib/google/apis/searchads360_v23/classes.rb', line 1102

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