class Google::Apis::DfareportingV2_1::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 [String]

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 generated/google/apis/dfareporting_v2_1/classes.rb, line 6622
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6627
def update!(**args)
  @dart_id = args[:dart_id] unless args[:dart_id].nil?
  @desktop = args[:desktop] unless args[:desktop].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @mobile = args[:mobile] unless args[:mobile].nil?
  @name = args[:name] unless args[:name].nil?
end