Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappdistribution_v1alpha/classes.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb,
lib/google/apis/firebaseappdistribution_v1alpha/representations.rb
Overview
A device on which automated tests can be run.
Instance Attribute Summary collapse
-
#locale ⇒ String
Optional.
-
#model ⇒ String
Required.
-
#orientation ⇒ String
Optional.
-
#version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTestDevice
constructor
A new instance of GoogleFirebaseAppdistroV1alphaTestDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTestDevice
Returns a new instance of GoogleFirebaseAppdistroV1alphaTestDevice.
880 881 882 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 880 def initialize(**args) update!(**args) end |
Instance Attribute Details
#locale ⇒ String
Optional. The locale of the device (e.g. "en_US" for US English) during the
test.
Corresponds to the JSON property locale
863 864 865 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 863 def locale @locale end |
#model ⇒ String
Required. The device model.
Corresponds to the JSON property model
868 869 870 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 868 def model @model end |
#orientation ⇒ String
Optional. The orientation of the device during the test.
Corresponds to the JSON property orientation
873 874 875 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 873 def orientation @orientation end |
#version ⇒ String
Required. The version of the device (API level on Android).
Corresponds to the JSON property version
878 879 880 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 878 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
885 886 887 888 889 890 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 885 def update!(**args) @locale = args[:locale] if args.key?(:locale) @model = args[:model] if args.key?(:model) @orientation = args[:orientation] if args.key?(:orientation) @version = args[:version] if args.key?(:version) end |