Class: Google::Apis::ToolresultsV1beta3::AndroidAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::AndroidAppInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
Android app information.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the app.
-
#package_name ⇒ String
The package name of the app.
-
#version_code ⇒ String
The internal version code of the app.
-
#version_name ⇒ String
The version name of the app.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidAppInfo
constructor
A new instance of AndroidAppInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidAppInfo
Returns a new instance of AndroidAppInfo
49 50 51 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 49 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The name of the app. Optional
Corresponds to the JSON property name
32 33 34 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 32 def name @name end |
#package_name ⇒ String
The package name of the app. Required.
Corresponds to the JSON property packageName
37 38 39 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 37 def package_name @package_name end |
#version_code ⇒ String
The internal version code of the app. Optional.
Corresponds to the JSON property versionCode
42 43 44 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 42 def version_code @version_code end |
#version_name ⇒ String
The version name of the app. Optional.
Corresponds to the JSON property versionName
47 48 49 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 47 def version_name @version_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
54 55 56 57 58 59 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 54 def update!(**args) @name = args[:name] if args.key?(:name) @package_name = args[:package_name] if args.key?(:package_name) @version_code = args[:version_code] if args.key?(:version_code) @version_name = args[:version_name] if args.key?(:version_name) end |