Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTestDevice

Returns a new instance of GoogleFirebaseAppdistroV1alphaTestDevice.



1376
1377
1378
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1376

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

Instance Attribute Details

#localeString

Optional. The locale of the device (e.g. "en_US" for US English) during the test. Corresponds to the JSON property locale

Returns:

  • (String)


1359
1360
1361
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1359

def locale
  @locale
end

#modelString

Required. The device model. Corresponds to the JSON property model

Returns:

  • (String)


1364
1365
1366
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1364

def model
  @model
end

#orientationString

Optional. The orientation of the device during the test. Corresponds to the JSON property orientation

Returns:

  • (String)


1369
1370
1371
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1369

def orientation
  @orientation
end

#versionString

Required. The version of the device (API level on Android). Corresponds to the JSON property version

Returns:

  • (String)


1374
1375
1376
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1374

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1381
1382
1383
1384
1385
1386
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1381

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