Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaReleaseTest

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

The results of running an automated test on a release.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaReleaseTest

Returns a new instance of GoogleFirebaseAppdistroV1alphaReleaseTest.



839
840
841
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 839

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

Instance Attribute Details

#ai_instructionsGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaAiInstructions

Instructions for AI driven test Corresponds to the JSON property aiInstructions



816
817
818
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 816

def ai_instructions
  @ai_instructions
end

#create_timeString

Output only. Timestamp when the test was run. Corresponds to the JSON property createTime

Returns:

  • (String)


821
822
823
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 821

def create_time
  @create_time
end

#device_executionsArray<Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceExecution>

Required. The results of the test on each device. Corresponds to the JSON property deviceExecutions



826
827
828
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 826

def device_executions
  @device_executions
end

#login_credentialGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredential

Login credential for automated tests Corresponds to the JSON property loginCredential



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

def 
  @login_credential
end

#nameString

The name of the release test resource. Format: projects/project_number/apps/ app_id/releases/release_id/tests/test_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


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

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



844
845
846
847
848
849
850
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 844

def update!(**args)
  @ai_instructions = args[:ai_instructions] if args.key?(:ai_instructions)
  @create_time = args[:create_time] if args.key?(:create_time)
  @device_executions = args[:device_executions] if args.key?(:device_executions)
  @login_credential = args[:login_credential] if args.key?(:login_credential)
  @name = args[:name] if args.key?(:name)
end