Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaTerminalAction

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

An action taken by the AI to end the goal.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaTerminalAction

Returns a new instance of GoogleFirebaseAppdistroV1alphaTerminalAction.



1269
1270
1271
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1269

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

Instance Attribute Details

#reasonString

Output only. The reason why this goal was ended. Corresponds to the JSON property reason

Returns:

  • (String)


1262
1263
1264
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1262

def reason
  @reason
end

#screenshotGoogle::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot

A device screenshot taken during a test. Corresponds to the JSON property screenshot



1267
1268
1269
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1267

def screenshot
  @screenshot
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1274
1275
1276
1277
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 1274

def update!(**args)
  @reason = args[:reason] if args.key?(:reason)
  @screenshot = args[:screenshot] if args.key?(:screenshot)
end