Class: Google::Apis::DfareportingV3_4::OperatingSystemVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/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

Constructor Details

#initialize(**args) ⇒ OperatingSystemVersion

Returns a new instance of OperatingSystemVersion.



8141
8142
8143
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8141

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


8113
8114
8115
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8113

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)


8119
8120
8121
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8119

def kind
  @kind
end

#major_versionString

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

Returns:

  • (String)


8124
8125
8126
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8124

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)


8129
8130
8131
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8129

def minor_version
  @minor_version
end

#nameString

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

Returns:

  • (String)


8134
8135
8136
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8134

def name
  @name
end

#operating_systemGoogle::Apis::DfareportingV3_4::OperatingSystem

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



8139
8140
8141
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8139

def operating_system
  @operating_system
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8146
8147
8148
8149
8150
8151
8152
8153
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 8146

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