class Google::Apis::DfareportingV3_5::OperatingSystemVersion

Contains information about a particular version of an operating system that can be targeted by ads.

Attributes

id[RW]

ID of this operating system version. Corresponds to the JSON property `id` @return [Fixnum]

kind[RW]

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

major_version[RW]

Major version (leftmost number) of this operating system version. Corresponds to the JSON property `majorVersion` @return [String]

minor_version[RW]

Minor version (number after the first dot) of this operating system version. Corresponds to the JSON property `minorVersion` @return [String]

name[RW]

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

operating_system[RW]

Contains information about an operating system that can be targeted by ads. Corresponds to the JSON property `operatingSystem` @return [Google::Apis::DfareportingV3_5::OperatingSystem]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 7787
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 7792
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @major_version = args[:major_version] if args.key?(:major_version)
  @minor_version = args[:minor_version] if args.key?(:minor_version)
  @name = args[:name] if args.key?(:name)
  @operating_system = args[:operating_system] if args.key?(:operating_system)
end