Class: Google::Apis::AuthorizedbuyersmarketplaceV1::TechnologyTargeting

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

Overview

Represents targeting about various types of technology.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TechnologyTargeting

Returns a new instance of TechnologyTargeting.



2053
2054
2055
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2053

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

Instance Attribute Details

#device_capability_targetingGoogle::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax. Corresponds to the JSON property deviceCapabilityTargeting



2039
2040
2041
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2039

def device_capability_targeting
  @device_capability_targeting
end

#device_category_targetingGoogle::Apis::AuthorizedbuyersmarketplaceV1::CriteriaTargeting

Generic targeting used for targeting dimensions that contains a list of included and excluded numeric IDs. This cannot be filtered using list filter syntax. Corresponds to the JSON property deviceCategoryTargeting



2046
2047
2048
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2046

def device_category_targeting
  @device_category_targeting
end

#operating_system_targetingGoogle::Apis::AuthorizedbuyersmarketplaceV1::OperatingSystemTargeting

Represents targeting information for operating systems. Corresponds to the JSON property operatingSystemTargeting



2051
2052
2053
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2051

def operating_system_targeting
  @operating_system_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2058
2059
2060
2061
2062
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 2058

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