Class: Google::Apis::AnalyticsreportingV4::ScreenviewData
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::ScreenviewData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Instance Attribute Summary collapse
-
#app_name ⇒ String
The application name.
-
#mobile_device_branding ⇒ String
Mobile manufacturer or branded name.
-
#mobile_device_model ⇒ String
Mobile device model.
-
#screen_name ⇒ String
The name of the screen.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScreenviewData
constructor
A new instance of ScreenviewData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ScreenviewData
Returns a new instance of ScreenviewData.
1507 1508 1509 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_name ⇒ String
The application name.
Corresponds to the JSON property appName
1490 1491 1492 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1490 def app_name @app_name end |
#mobile_device_branding ⇒ String
Mobile manufacturer or branded name. Eg: "Google", "Apple" etc.
Corresponds to the JSON property mobileDeviceBranding
1495 1496 1497 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1495 def mobile_device_branding @mobile_device_branding end |
#mobile_device_model ⇒ String
Mobile device model. Eg: "Pixel", "iPhone" etc.
Corresponds to the JSON property mobileDeviceModel
1500 1501 1502 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1500 def mobile_device_model @mobile_device_model end |
#screen_name ⇒ String
The name of the screen.
Corresponds to the JSON property screenName
1505 1506 1507 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1505 def screen_name @screen_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1512 1513 1514 1515 1516 1517 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1512 def update!(**args) @app_name = args[:app_name] if args.key?(:app_name) @mobile_device_branding = args[:mobile_device_branding] if args.key?(:mobile_device_branding) @mobile_device_model = args[:mobile_device_model] if args.key?(:mobile_device_model) @screen_name = args[:screen_name] if args.key?(:screen_name) end |