Class: Google::Apis::FirebasecrashlyticsV1alpha::OperatingSystem
- Inherits:
-
Object
- Object
- Google::Apis::FirebasecrashlyticsV1alpha::OperatingSystem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasecrashlytics_v1alpha/classes.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb
Overview
Mobile device operating system metadata.
Instance Attribute Summary collapse
-
#device_type ⇒ String
The device category (mobile, tablet, desktop).
-
#display_name ⇒ String
Name and version number.
-
#display_version ⇒ String
Operating system display version number.
-
#modification_state ⇒ String
Indicates if the OS has been modified or "jailbroken".
-
#os ⇒ String
Operating system name.
-
#type ⇒ String
The OS type on Apple platforms (iOS, iPadOS, etc.).
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperatingSystem
constructor
A new instance of OperatingSystem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OperatingSystem
Returns a new instance of OperatingSystem.
1150 1151 1152 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_type ⇒ String
The device category (mobile, tablet, desktop).
Corresponds to the JSON property deviceType
1122 1123 1124 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1122 def device_type @device_type end |
#display_name ⇒ String
Name and version number. Formatted to be suitable for passing to
OperatingSystemFilter.
Corresponds to the JSON property displayName
1128 1129 1130 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1128 def display_name @display_name end |
#display_version ⇒ String
Operating system display version number.
Corresponds to the JSON property displayVersion
1133 1134 1135 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1133 def display_version @display_version end |
#modification_state ⇒ String
Indicates if the OS has been modified or "jailbroken".
Corresponds to the JSON property modificationState
1138 1139 1140 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1138 def modification_state @modification_state end |
#os ⇒ String
Operating system name.
Corresponds to the JSON property os
1143 1144 1145 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1143 def os @os end |
#type ⇒ String
The OS type on Apple platforms (iOS, iPadOS, etc.).
Corresponds to the JSON property type
1148 1149 1150 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1148 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1155 1156 1157 1158 1159 1160 1161 1162 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1155 def update!(**args) @device_type = args[:device_type] if args.key?(:device_type) @display_name = args[:display_name] if args.key?(:display_name) @display_version = args[:display_version] if args.key?(:display_version) @modification_state = args[:modification_state] if args.key?(:modification_state) @os = args[:os] if args.key?(:os) @type = args[:type] if args.key?(:type) end |