Class: Google::Apis::FirebasecrashlyticsV1alpha::Browser

Inherits:
Object
  • Object
show all
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

Web browser metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Browser

Returns a new instance of Browser.



142
143
144
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 142

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#browserString

Browser name. Corresponds to the JSON property browser

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 129

def browser
  @browser
end

#display_nameString

Browser name and version number. Formatted to be suitable for passing to BrowserFilter. Corresponds to the JSON property displayName

Returns:

  • (String)


135
136
137
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 135

def display_name
  @display_name
end

#display_versionString

Browser display version number. Corresponds to the JSON property displayVersion

Returns:

  • (String)


140
141
142
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 140

def display_version
  @display_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



147
148
149
150
151
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 147

def update!(**args)
  @browser = args[:browser] if args.key?(:browser)
  @display_name = args[:display_name] if args.key?(:display_name)
  @display_version = args[:display_version] if args.key?(:display_version)
end