class Google::Apis::FirebasedynamiclinksV1::DeviceInfo

Signals associated with the device making the request.

Attributes

device_model_name[RW]

Device model name. Corresponds to the JSON property `deviceModelName` @return [String]

language_code[RW]

Device language code setting. Corresponds to the JSON property `languageCode` @return [String]

language_code_from_webview[RW]

Device language code setting obtained by executing JavaScript code in WebView. Corresponds to the JSON property `languageCodeFromWebview` @return [String]

language_code_raw[RW]

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]

screen_resolution_height[RW]

Device display resolution height. Corresponds to the JSON property `screenResolutionHeight` @return [Fixnum]

screen_resolution_width[RW]

Device display resolution width. Corresponds to the JSON property `screenResolutionWidth` @return [Fixnum]

timezone[RW]

Device timezone setting. Corresponds to the JSON property `timezone` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebasedynamiclinks_v1/classes.rb, line 300
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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