Class: Google::Apis::TestingV1::Account

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/testing_v1/classes.rb,
generated/google/apis/testing_v1/representations.rb,
generated/google/apis/testing_v1/representations.rb

Overview

Identifies an account and how to log into it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Account

Returns a new instance of Account.



39
40
41
# File 'generated/google/apis/testing_v1/classes.rb', line 39

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

Instance Attribute Details

#google_autoGoogle::Apis::TestingV1::GoogleAuto

Enables automatic Google account login. If set, the service automatically generates a Google test account and adds it to the device, before executing the test. Note that test accounts might be reused. Many applications show their full set of functionalities when an account is present on the device. Logging into the device with these generated accounts allows testing more functionalities. Corresponds to the JSON property googleAuto



37
38
39
# File 'generated/google/apis/testing_v1/classes.rb', line 37

def google_auto
  @google_auto
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44
45
46
# File 'generated/google/apis/testing_v1/classes.rb', line 44

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