Class: Google::Apis::DfareportingV3_3::OperatingSystemVersion

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OperatingSystemVersion

Returns a new instance of OperatingSystemVersion.



7586
7587
7588
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7586

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

Instance Attribute Details

#idFixnum

ID of this operating system version. Corresponds to the JSON property id

Returns:

  • (Fixnum)


7558
7559
7560
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7558

def id
  @id
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#operatingSystemVersion". Corresponds to the JSON property kind

Returns:

  • (String)


7564
7565
7566
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7564

def kind
  @kind
end

#major_versionString

Major version (leftmost number) of this operating system version. Corresponds to the JSON property majorVersion

Returns:

  • (String)


7569
7570
7571
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7569

def major_version
  @major_version
end

#minor_versionString

Minor version (number after the first dot) of this operating system version. Corresponds to the JSON property minorVersion

Returns:

  • (String)


7574
7575
7576
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7574

def minor_version
  @minor_version
end

#nameString

Name of this operating system version. Corresponds to the JSON property name

Returns:

  • (String)


7579
7580
7581
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7579

def name
  @name
end

#operating_systemGoogle::Apis::DfareportingV3_3::OperatingSystem

Contains information about an operating system that can be targeted by ads. Corresponds to the JSON property operatingSystem



7584
7585
7586
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7584

def operating_system
  @operating_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7591
7592
7593
7594
7595
7596
7597
7598
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7591

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