generated/google/apis/testing_v1/classes.rb in google-api-client-0.24.2 vs generated/google/apis/testing_v1/classes.rb in google-api-client-0.24.3

- old
+ new

@@ -1141,19 +1141,25 @@ # Output only. The set of supported iOS software versions. # Corresponds to the JSON property `versions` # @return [Array<Google::Apis::TestingV1::IosVersion>] attr_accessor :versions + # Output only. The set of supported Xcode versions. + # Corresponds to the JSON property `xcodeVersions` + # @return [Array<Google::Apis::TestingV1::XcodeVersion>] + attr_accessor :xcode_versions + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @models = args[:models] if args.key?(:models) @runtime_configuration = args[:runtime_configuration] if args.key?(:runtime_configuration) @versions = args[:versions] if args.key?(:versions) + @xcode_versions = args[:xcode_versions] if args.key?(:xcode_versions) end end # A list of iOS device configurations in which the test is to be executed. class IosDeviceList @@ -1298,10 +1304,15 @@ # Examples: "1", "2" # Corresponds to the JSON property `minorVersion` # @return [Fixnum] attr_accessor :minor_version + # Output only. The available Xcode versions for this version. + # Corresponds to the JSON property `supportedXcodeVersionIds` + # @return [Array<String>] + attr_accessor :supported_xcode_version_ids + # Output only. Tags for this dimension. # Examples: "default", "preview", "deprecated" # Corresponds to the JSON property `tags` # @return [Array<String>] attr_accessor :tags @@ -1313,10 +1324,11 @@ # Update properties of this object def update!(**args) @id = args[:id] if args.key?(:id) @major_version = args[:major_version] if args.key?(:major_version) @minor_version = args[:minor_version] if args.key?(:minor_version) + @supported_xcode_version_ids = args[:supported_xcode_version_ids] if args.key?(:supported_xcode_version_ids) @tags = args[:tags] if args.key?(:tags) end end # A test of an iOS application that uses the XCTest framework. @@ -1331,10 +1343,17 @@ # A reference to a file, used for user inputs. # Corresponds to the JSON property `testsZip` # @return [Google::Apis::TestingV1::FileReference] attr_accessor :tests_zip + # Optional. The Xcode version that should be used for the test. + # Use the EnvironmentDiscoveryService to get supported options. + # Defaults to the latest Xcode version Firebase Test Lab supports. + # Corresponds to the JSON property `xcodeVersion` + # @return [String] + attr_accessor :xcode_version + # A reference to a file, used for user inputs. # Corresponds to the JSON property `xctestrun` # @return [Google::Apis::TestingV1::FileReference] attr_accessor :xctestrun @@ -1343,10 +1362,11 @@ end # Update properties of this object def update!(**args) @tests_zip = args[:tests_zip] if args.key?(:tests_zip) + @xcode_version = args[:xcode_version] if args.key?(:xcode_version) @xctestrun = args[:xctestrun] if args.key?(:xctestrun) end end # Specifies an intent that starts the main launcher activity. @@ -2256,9 +2276,36 @@ @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @burst = args[:burst] if args.key?(:burst) @delay = args[:delay] if args.key?(:delay) @packet_duplication_ratio = args[:packet_duplication_ratio] if args.key?(:packet_duplication_ratio) @packet_loss_ratio = args[:packet_loss_ratio] if args.key?(:packet_loss_ratio) + end + end + + # An Xcode version that an iOS version is compatible with. + class XcodeVersion + include Google::Apis::Core::Hashable + + # Output only. Tags for this Xcode version. + # Examples: "default" + # Corresponds to the JSON property `tags` + # @return [Array<String>] + attr_accessor :tags + + # Output only. The id for this version. + # Example: "9.2" + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tags = args[:tags] if args.key?(:tags) + @version = args[:version] if args.key?(:version) end end end end end