Class: Google::Apis::AnalyticsreportingV4::ScreenviewData
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::ScreenviewData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsreporting_v4/classes.rb,
lib/google/apis/analyticsreporting_v4/representations.rb,
lib/google/apis/analyticsreporting_v4/representations.rb more...
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.
1513 1514 1515 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_name ⇒ String
The application name.
Corresponds to the JSON property appName
1496 1497 1498 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1496 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
1501 1502 1503 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1501 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
1506 1507 1508 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1506 def mobile_device_model @mobile_device_model end |
#screen_name ⇒ String
The name of the screen.
Corresponds to the JSON property screenName
1511 1512 1513 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1511 def screen_name @screen_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1518 1519 1520 1521 1522 1523 |
# File 'lib/google/apis/analyticsreporting_v4/classes.rb', line 1518 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 |