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



1797
1798
1799
# File 'generated/google/apis/testing_v1/classes.rb', line 1797

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



1780
1781
1782
# File 'generated/google/apis/testing_v1/classes.rb', line 1780

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



1785
1786
1787
# File 'generated/google/apis/testing_v1/classes.rb', line 1785

def ios_device_catalog
  @ios_device_catalog
end

#network_configuration_catalogGoogle::Apis::TestingV1::NetworkConfigurationCatalog

Supported network configurations. Corresponds to the JSON property networkConfigurationCatalog



1790
1791
1792
# File 'generated/google/apis/testing_v1/classes.rb', line 1790

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



1795
1796
1797
# File 'generated/google/apis/testing_v1/classes.rb', line 1795

def software_catalog
  @software_catalog
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1802
1803
1804
1805
1806
1807
# File 'generated/google/apis/testing_v1/classes.rb', line 1802

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