Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonParentalStatusInfo

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

A parental status criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonParentalStatusInfo

Returns a new instance of GoogleAdsSearchads360V23CommonParentalStatusInfo.



8870
8871
8872
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8870

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

Instance Attribute Details

#typeString

Type of the parental status. Corresponds to the JSON property type

Returns:

  • (String)


8868
8869
8870
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8868

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8875
8876
8877
# File 'lib/google/apis/searchads360_v23/classes.rb', line 8875

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