Class: Google::Apis::DfareportingV2_8::OperatingSystem
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_8::OperatingSystem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_8/classes.rb,
generated/google/apis/dfareporting_v2_8/representations.rb,
generated/google/apis/dfareporting_v2_8/representations.rb
Overview
Contains information about an operating system that can be targeted by ads.
Instance Attribute Summary collapse
-
#dart_id ⇒ Fixnum
DART ID of this operating system.
-
#desktop ⇒ Boolean
(also: #desktop?)
Whether this operating system is for desktop.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#mobile ⇒ Boolean
(also: #mobile?)
Whether this operating system is for mobile.
-
#name ⇒ String
Name of this operating system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperatingSystem
constructor
A new instance of OperatingSystem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperatingSystem
Returns a new instance of OperatingSystem
7442 7443 7444 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7442 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dart_id ⇒ Fixnum
DART ID of this operating system. This is the ID used for targeting.
Corresponds to the JSON property dartId
7417 7418 7419 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7417 def dart_id @dart_id end |
#desktop ⇒ Boolean Also known as: desktop?
Whether this operating system is for desktop.
Corresponds to the JSON property desktop
7422 7423 7424 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7422 def desktop @desktop end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#operatingSystem".
Corresponds to the JSON property kind
7429 7430 7431 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7429 def kind @kind end |
#mobile ⇒ Boolean Also known as: mobile?
Whether this operating system is for mobile.
Corresponds to the JSON property mobile
7434 7435 7436 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7434 def mobile @mobile end |
#name ⇒ String
Name of this operating system.
Corresponds to the JSON property name
7440 7441 7442 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7440 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7447 7448 7449 7450 7451 7452 7453 |
# File 'generated/google/apis/dfareporting_v2_8/classes.rb', line 7447 def update!(**args) @dart_id = args[:dart_id] if args.key?(:dart_id) @desktop = args[:desktop] if args.key?(:desktop) @kind = args[:kind] if args.key?(:kind) @mobile = args[:mobile] if args.key?(:mobile) @name = args[:name] if args.key?(:name) end |