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.



1145
1146
1147
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1145

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



1111
1112
1113
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1111

def ai_instructions
  @ai_instructions
end

#create_timeString

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

Returns:

  • (String)


1116
1117
1118
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1116

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



1121
1122
1123
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1121

def device_executions
  @device_executions
end

#display_nameString

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

Returns:

  • (String)


1127
1128
1129
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1127

def display_name
  @display_name
end

#login_credentialGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaLoginCredential

Login credential for automated tests Corresponds to the JSON property loginCredential



1132
1133
1134
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1132

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)


1138
1139
1140
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1138

def name
  @name
end

#test_stateString

Output only. The state of the release test. Corresponds to the JSON property testState

Returns:

  • (String)


1143
1144
1145
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1143

def test_state
  @test_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1150
1151
1152
1153
1154
1155
1156
1157
1158
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1150

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)
  @display_name = args[:display_name] if args.key?(:display_name)
  @login_credential = args[:login_credential] if args.key?(:login_credential)
  @name = args[:name] if args.key?(:name)
  @test_state = args[:test_state] if args.key?(:test_state)
end