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



1959
1960
1961
# File 'generated/google/apis/testing_v1/classes.rb', line 1959

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



1942
1943
1944
# File 'generated/google/apis/testing_v1/classes.rb', line 1942

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



1947
1948
1949
# File 'generated/google/apis/testing_v1/classes.rb', line 1947

def ios_device_catalog
  @ios_device_catalog
end

#network_configuration_catalogGoogle::Apis::TestingV1::NetworkConfigurationCatalog

Supported network configurations. Corresponds to the JSON property networkConfigurationCatalog



1952
1953
1954
# File 'generated/google/apis/testing_v1/classes.rb', line 1952

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



1957
1958
1959
# File 'generated/google/apis/testing_v1/classes.rb', line 1957

def software_catalog
  @software_catalog
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1964
1965
1966
1967
1968
1969
# File 'generated/google/apis/testing_v1/classes.rb', line 1964

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