Class: Google::Apis::DfareportingV2_5::OperatingSystemVersion
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_5::OperatingSystemVersion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_5/classes.rb,
generated/google/apis/dfareporting_v2_5/representations.rb,
generated/google/apis/dfareporting_v2_5/representations.rb
Overview
Contains information about a particular version of an operating system that can be targeted by ads.
Instance Attribute Summary collapse
-
#id ⇒ String
ID of this operating system version.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#major_version ⇒ String
Major version (leftmost number) of this operating system version.
-
#minor_version ⇒ String
Minor version (number after the first dot) of this operating system version.
-
#name ⇒ String
Name of this operating system version.
-
#operating_system ⇒ Google::Apis::DfareportingV2_5::OperatingSystem
Contains information about an operating system that can be targeted by ads.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperatingSystemVersion
constructor
A new instance of OperatingSystemVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperatingSystemVersion
Returns a new instance of OperatingSystemVersion.
7132 7133 7134 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7132 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this operating system version.
Corresponds to the JSON property id
7104 7105 7106 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7104 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#operatingSystemVersion".
Corresponds to the JSON property kind
7110 7111 7112 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7110 def kind @kind end |
#major_version ⇒ String
Major version (leftmost number) of this operating system version.
Corresponds to the JSON property majorVersion
7115 7116 7117 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7115 def major_version @major_version end |
#minor_version ⇒ String
Minor version (number after the first dot) of this operating system version.
Corresponds to the JSON property minorVersion
7120 7121 7122 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7120 def minor_version @minor_version end |
#name ⇒ String
Name of this operating system version.
Corresponds to the JSON property name
7125 7126 7127 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7125 def name @name end |
#operating_system ⇒ Google::Apis::DfareportingV2_5::OperatingSystem
Contains information about an operating system that can be targeted by ads.
Corresponds to the JSON property operatingSystem
7130 7131 7132 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7130 def @operating_system end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7137 7138 7139 7140 7141 7142 7143 7144 |
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 7137 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 |