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.



843
844
845
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 843

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

Instance Attribute Details

#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)


831
832
833
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 831

def name
  @name
end

#robo_crawlerGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboCrawler

Configuration for Robo crawler Corresponds to the JSON property roboCrawler



836
837
838
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 836

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



841
842
843
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 841

def test_devices
  @test_devices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



848
849
850
851
852
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 848

def update!(**args)
  @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