Class: Google::Apis::TestingV1::TestEnvironmentCatalog

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 a test environment.

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

Returns a new instance of TestEnvironmentCatalog



1868
1869
1870
# File 'generated/google/apis/testing_v1/classes.rb', line 1868

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

Instance Attribute Details

#android_device_catalogGoogle::Apis::TestingV1::AndroidDeviceCatalog

The currently supported Android devices. Corresponds to the JSON property androidDeviceCatalog



1851
1852
1853
# File 'generated/google/apis/testing_v1/classes.rb', line 1851

def android_device_catalog
  @android_device_catalog
end

#ios_device_catalogGoogle::Apis::TestingV1::IosDeviceCatalog

The currently supported iOS devices. Corresponds to the JSON property iosDeviceCatalog



1856
1857
1858
# File 'generated/google/apis/testing_v1/classes.rb', line 1856

def ios_device_catalog
  @ios_device_catalog
end

#network_configuration_catalogGoogle::Apis::TestingV1::NetworkConfigurationCatalog

Supported network configurations. Corresponds to the JSON property networkConfigurationCatalog



1861
1862
1863
# File 'generated/google/apis/testing_v1/classes.rb', line 1861

def network_configuration_catalog
  @network_configuration_catalog
end

#software_catalogGoogle::Apis::TestingV1::ProvidedSoftwareCatalog

The currently provided software environment on the devices under test. Corresponds to the JSON property softwareCatalog



1866
1867
1868
# File 'generated/google/apis/testing_v1/classes.rb', line 1866

def software_catalog
  @software_catalog
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1873
1874
1875
1876
1877
1878
# File 'generated/google/apis/testing_v1/classes.rb', line 1873

def update!(**args)
  @android_device_catalog = args[:android_device_catalog] if args.key?(:android_device_catalog)
  @ios_device_catalog = args[:ios_device_catalog] if args.key?(:ios_device_catalog)
  @network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
  @software_catalog = args[:software_catalog] if args.key?(:software_catalog)
end