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.



936
937
938
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 936

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)


924
925
926
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 924

def name
  @name
end

#robo_crawlerGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaRoboCrawler

Configuration for Robo crawler Corresponds to the JSON property roboCrawler



929
930
931
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 929

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



934
935
936
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 934

def test_devices
  @test_devices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



941
942
943
944
945
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 941

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