Class: Google::Apis::AuthorizedbuyersmarketplaceV1::OperatingSystemTargeting

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 information for operating systems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OperatingSystemTargeting

Returns a new instance of OperatingSystemTargeting.



1404
1405
1406
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1404

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

Instance Attribute Details

#operating_system_criteriaGoogle::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 operatingSystemCriteria



1395
1396
1397
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1395

def operating_system_criteria
  @operating_system_criteria
end

#operating_system_version_criteriaGoogle::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 operatingSystemVersionCriteria



1402
1403
1404
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1402

def operating_system_version_criteria
  @operating_system_version_criteria
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1409
1410
1411
1412
# File 'lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb', line 1409

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