Class: Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteraction
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteraction
- 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 interaction with the device, such as a tap, text entry, wait, etc.
Instance Attribute Summary collapse
-
#key_code ⇒ String
Output only.
-
#screenshot ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot
A device screenshot taken during a test.
-
#swipe ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe
A swipe action.
-
#tap_prop ⇒ Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint
Point for describing bounding boxes tap locations Top left is 0,0 Corresponds to the JSON property
tap. -
#text_input ⇒ String
Output only.
-
#wait ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionWait
A wait action.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaDeviceInteraction
constructor
A new instance of GoogleFirebaseAppdistroV1alphaDeviceInteraction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppdistroV1alphaDeviceInteraction
Returns a new instance of GoogleFirebaseAppdistroV1alphaDeviceInteraction.
611 612 613 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 611 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_code ⇒ String
Output only. Key code for a key event action.
Corresponds to the JSON property keyCode
584 585 586 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 584 def key_code @key_code end |
#screenshot ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaScreenshot
A device screenshot taken during a test.
Corresponds to the JSON property screenshot
589 590 591 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 589 def screenshot @screenshot end |
#swipe ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionSwipe
A swipe action.
Corresponds to the JSON property swipe
594 595 596 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 594 def swipe @swipe end |
#tap_prop ⇒ Google::Apis::FirebaseappdistributionV1alpha::AndroidxCrawlerOutputPoint
Point for describing bounding boxes tap locations Top left is 0,0
Corresponds to the JSON property tap
599 600 601 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 599 def tap_prop @tap_prop end |
#text_input ⇒ String
Output only. Text entered for a text entry action.
Corresponds to the JSON property textInput
604 605 606 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 604 def text_input @text_input end |
#wait ⇒ Google::Apis::FirebaseappdistributionV1alpha::GoogleFirebaseAppdistroV1alphaDeviceInteractionWait
A wait action.
Corresponds to the JSON property wait
609 610 611 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 609 def wait @wait end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
616 617 618 619 620 621 622 623 |
# File 'lib/google/apis/firebaseappdistribution_v1alpha/classes.rb', line 616 def update!(**args) @key_code = args[:key_code] if args.key?(:key_code) @screenshot = args[:screenshot] if args.key?(:screenshot) @swipe = args[:swipe] if args.key?(:swipe) @tap_prop = args[:tap_prop] if args.key?(:tap_prop) @text_input = args[:text_input] if args.key?(:text_input) @wait = args[:wait] if args.key?(:wait) end |