Class: Google::Apis::TestingV1::IosModel
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::TestingV1::IosModel
 
 
- 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
A description of an iOS device tests may be run on.
Instance Attribute Summary collapse
- 
  
    
      #device_capabilities  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #form_factor  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether this device is a phone, tablet, wearable, etc.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #supported_version_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #tags  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ IosModel 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IosModel.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IosModel
Returns a new instance of IosModel
      1219 1220 1221  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1219 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#device_capabilities ⇒ Array<String>
Output only. Device capabilities.
Copied from
https://developer.apple.com/library/archive/documentation/DeviceInformation/
Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/
DeviceCompatibilityMatrix.html
Corresponds to the JSON property deviceCapabilities
      1188 1189 1190  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1188 def device_capabilities @device_capabilities end  | 
  
#form_factor ⇒ String
Whether this device is a phone, tablet, wearable, etc.
Corresponds to the JSON property formFactor
      1194 1195 1196  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1194 def form_factor @form_factor end  | 
  
#id ⇒ String
Output only. The unique opaque id for this model.
Use this for invoking the TestExecutionService.
Corresponds to the JSON property id
      1200 1201 1202  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1200 def id @id end  | 
  
#name ⇒ String
Output only. The human-readable name for this device model.
Examples: "iPhone 4s", "iPad Mini 2"
Corresponds to the JSON property name
      1206 1207 1208  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1206 def name @name end  | 
  
#supported_version_ids ⇒ Array<String>
Output only. The set of iOS major software versions this device supports.
Corresponds to the JSON property supportedVersionIds
      1211 1212 1213  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1211 def supported_version_ids @supported_version_ids end  | 
  
#tags ⇒ Array<String>
Output only. Tags for this dimension.
Examples: "default", "preview", "deprecated"
Corresponds to the JSON property tags
      1217 1218 1219  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1217 def @tags end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1224 1225 1226 1227 1228 1229 1230 1231  | 
    
      # File 'generated/google/apis/testing_v1/classes.rb', line 1224 def update!(**args) @device_capabilities = args[:device_capabilities] if args.key?(:device_capabilities) @form_factor = args[:form_factor] if args.key?(:form_factor) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids) @tags = args[:tags] if args.key?(:tags) end  |