Class: Google::Apis::DfareportingV2_1::OperatingSystem
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::OperatingSystem
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Contains information about an operating system that can be targeted by ads.
Instance Attribute Summary collapse
-
#dart_id ⇒ String
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::Hashable
Constructor Details
#initialize(**args) ⇒ OperatingSystem
Returns a new instance of OperatingSystem.
6622 6623 6624 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dart_id ⇒ String
DART ID of this operating system. This is the ID used for targeting.
Corresponds to the JSON property dartId
6597 6598 6599 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6597 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
6602 6603 6604 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6602 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
6609 6610 6611 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6609 def kind @kind end |
#mobile ⇒ Boolean Also known as: mobile?
Whether this operating system is for mobile.
Corresponds to the JSON property mobile
6614 6615 6616 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6614 def mobile @mobile end |
#name ⇒ String
Name of this operating system.
Corresponds to the JSON property name
6620 6621 6622 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6620 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6627 6628 6629 6630 6631 6632 6633 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6627 def update!(**args) @dart_id = args[:dart_id] unless args[:dart_id].nil? @desktop = args[:desktop] unless args[:desktop].nil? @kind = args[:kind] unless args[:kind].nil? @mobile = args[:mobile] unless args[:mobile].nil? @name = args[:name] unless args[:name].nil? end |