Class: Google::Apis::DfareportingV2_1::OperatingSystemVersion
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::OperatingSystemVersion
- 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 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_1::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::Hashable
Constructor Details
#initialize(**args) ⇒ OperatingSystemVersion
Returns a new instance of OperatingSystemVersion
6672 6673 6674 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
ID of this operating system version.
Corresponds to the JSON property id
6644 6645 6646 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6644 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
6650 6651 6652 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6650 def kind @kind end |
#major_version ⇒ String
Major version (leftmost number) of this operating system version.
Corresponds to the JSON property majorVersion
6655 6656 6657 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6655 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
6660 6661 6662 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6660 def minor_version @minor_version end |
#name ⇒ String
Name of this operating system version.
Corresponds to the JSON property name
6665 6666 6667 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6665 def name @name end |
#operating_system ⇒ Google::Apis::DfareportingV2_1::OperatingSystem
Contains information about an operating system that can be targeted by ads.
Corresponds to the JSON property operatingSystem
6670 6671 6672 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6670 def @operating_system end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6677 6678 6679 6680 6681 6682 6683 6684 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6677 def update!(**args) @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @major_version = args[:major_version] unless args[:major_version].nil? @minor_version = args[:minor_version] unless args[:minor_version].nil? @name = args[:name] unless args[:name].nil? @operating_system = args[:operating_system] unless args[:operating_system].nil? end |