Class: Google::Apis::TestingV1::Environment
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::TestingV1::Environment
 
 
- 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
The environment in which the test is run.
Instance Attribute Summary collapse
- 
  
    
      #android_device  ⇒ Google::Apis::TestingV1::AndroidDevice 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A single Android device.
 - 
  
    
      #ios_device  ⇒ Google::Apis::TestingV1::IosDevice 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A single iOS device.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Environment 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Environment.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Environment
Returns a new instance of Environment
      901 902 903  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 901 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#android_device ⇒ Google::Apis::TestingV1::AndroidDevice
A single Android device.
Corresponds to the JSON property androidDevice
      894 895 896  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 894 def android_device @android_device end  | 
  
#ios_device ⇒ Google::Apis::TestingV1::IosDevice
A single iOS device.
Corresponds to the JSON property iosDevice
      899 900 901  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 899 def ios_device @ios_device end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      906 907 908 909  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 906 def update!(**args) @android_device = args[:android_device] if args.key?(:android_device) @ios_device = args[:ios_device] if args.key?(:ios_device) end  |