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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Account

Returns a new instance of Account



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

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

Instance Attribute Details

#google_autoGoogle::Apis::TestingV1::GoogleAuto

Enables automatic Google account login. If set, the service will automatically generate a Google test account and add 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



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

def google_auto
  @google_auto
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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