class Google::Apis::DfareportingV3_5::OperatingSystem

Contains information about an operating system that can be targeted by ads.

Attributes

dart_id[RW]

DART ID of this operating system. This is the ID used for targeting. Corresponds to the JSON property `dartId` @return [Fixnum]

desktop[RW]

Whether this operating system is for desktop. Corresponds to the JSON property `desktop` @return [Boolean]

desktop?[RW]

Whether this operating system is for desktop. Corresponds to the JSON property `desktop` @return [Boolean]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#operatingSystem”. Corresponds to the JSON property `kind` @return [String]

mobile[RW]

Whether this operating system is for mobile. Corresponds to the JSON property `mobile` @return [Boolean]

mobile?[RW]

Whether this operating system is for mobile. Corresponds to the JSON property `mobile` @return [Boolean]

name[RW]

Name of this operating system. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 7737
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_5/classes.rb, line 7742
def update!(**args)
  @dart_id = args[:dart_id] if args.key?(:dart_id)
  @desktop = args[:desktop] if args.key?(:desktop)
  @kind = args[:kind] if args.key?(:kind)
  @mobile = args[:mobile] if args.key?(:mobile)
  @name = args[:name] if args.key?(:name)
end