Class: Google::Apis::Adexchangebuyer2V2beta1::OperatingSystemTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb

Overview

Represents targeting information for operating systems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OperatingSystemTargeting

Returns a new instance of OperatingSystemTargeting



3030
3031
3032
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3030

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

Instance Attribute Details

#operating_system_criteriaGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. Corresponds to the JSON property operatingSystemCriteria



3022
3023
3024
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3022

def operating_system_criteria
  @operating_system_criteria
end

#operating_system_version_criteriaGoogle::Apis::Adexchangebuyer2V2beta1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. Corresponds to the JSON property operatingSystemVersionCriteria



3028
3029
3030
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3028

def operating_system_version_criteria
  @operating_system_version_criteria
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3035
3036
3037
3038
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 3035

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