Class: Google::Apis::TestingV1::IosTestSetup

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

A description of how to set up an iOS device prior to a test.

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) ⇒ IosTestSetup

Returns a new instance of IosTestSetup



1326
1327
1328
# File 'generated/google/apis/testing_v1/classes.rb', line 1326

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

Instance Attribute Details

#network_profileString

Optional. The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog. Corresponds to the JSON property networkProfile

Returns:

  • (String)


1324
1325
1326
# File 'generated/google/apis/testing_v1/classes.rb', line 1324

def network_profile
  @network_profile
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1331
1332
1333
# File 'generated/google/apis/testing_v1/classes.rb', line 1331

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