Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestConfig

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

Configuration for automated tests

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTestConfig

Returns a new instance of GoogleFirebaseAppdistroV1alphaTestConfig.



1338
1339
1340
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1338

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

Instance Attribute Details

#display_nameString

Optional. Display name of the AI driven test. Required if the release test is created with multiple goals. Corresponds to the JSON property displayName

Returns:

  • (String)


1320
1321
1322
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1320

def display_name
  @display_name
end

#nameString

Identifier. The name of the test configuration resource. Format: projects/ project_number/apps/app_id/testConfig Corresponds to the JSON property name

Returns:

  • (String)


1326
1327
1328
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1326

def name
  @name
end

#robo_crawlerGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboCrawler

Configuration for Robo crawler Corresponds to the JSON property roboCrawler



1331
1332
1333
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1331

def robo_crawler
  @robo_crawler
end

#test_devicesArray<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTestDevice>

Optional. Tests will be run on this list of devices Corresponds to the JSON property testDevices



1336
1337
1338
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1336

def test_devices
  @test_devices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1343
1344
1345
1346
1347
1348
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1343

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @robo_crawler = args[:robo_crawler] if args.key?(:robo_crawler)
  @test_devices = args[:test_devices] if args.key?(:test_devices)
end