class Google::Apis::FirebasedynamiclinksV1::DeviceInfo
Signals associated with the device making the request.
Attributes
Device model name. Corresponds to the JSON property `deviceModelName` @return [String]
Device language code setting. Corresponds to the JSON property `languageCode` @return [String]
Device language code setting obtained by executing JavaScript code in WebView. Corresponds to the JSON property `languageCodeFromWebview` @return [String]
Device language code raw setting. iOS does returns language code in different format than iOS WebView. For example WebView returns en_US, but iOS returns en- US. Field below will return raw value returned by iOS. Corresponds to the JSON property `languageCodeRaw` @return [String]
Device display resolution height. Corresponds to the JSON property `screenResolutionHeight` @return [Fixnum]
Device display resolution width. Corresponds to the JSON property `screenResolutionWidth` @return [Fixnum]
Device timezone setting. Corresponds to the JSON property `timezone` @return [String]
Public Class Methods
# File lib/google/apis/firebasedynamiclinks_v1/classes.rb, line 300 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebasedynamiclinks_v1/classes.rb, line 305 def update!(**args) @device_model_name = args[:device_model_name] if args.key?(:device_model_name) @language_code = args[:language_code] if args.key?(:language_code) @language_code_from_webview = args[:language_code_from_webview] if args.key?(:language_code_from_webview) @language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw) @screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height) @screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width) @timezone = args[:timezone] if args.key?(:timezone) end