generated/google/apis/testing_v1/classes.rb in google-api-client-0.25.0 vs generated/google/apis/testing_v1/classes.rb in google-api-client-0.26.0
- old
+ new
@@ -159,10 +159,18 @@
# A reference to a file, used for user inputs.
# Corresponds to the JSON property `appApk`
# @return [Google::Apis::TestingV1::FileReference]
attr_accessor :app_apk
+ # An Android App Bundle file format, containing a BundleConfig.pb file,
+ # a base module directory, zero or more dynamic feature module directories.
+ # <p>See https://developer.android.com/guide/app-bundle/build for guidance on
+ # building App Bundles.
+ # Corresponds to the JSON property `appBundle`
+ # @return [Google::Apis::TestingV1::AppBundle]
+ attr_accessor :app_bundle
+
# The java package for the application under test.
# Optional, default is determined by examining the application's manifest.
# Corresponds to the JSON property `appPackageId`
# @return [String]
attr_accessor :app_package_id
@@ -216,10 +224,11 @@
end
# Update properties of this object
def update!(**args)
@app_apk = args[:app_apk] if args.key?(:app_apk)
+ @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
@app_package_id = args[:app_package_id] if args.key?(:app_package_id)
@orchestrator_option = args[:orchestrator_option] if args.key?(:orchestrator_option)
@test_apk = args[:test_apk] if args.key?(:test_apk)
@test_package_id = args[:test_package_id] if args.key?(:test_package_id)
@test_runner_class = args[:test_runner_class] if args.key?(:test_runner_class)
@@ -375,18 +384,10 @@
# Examples: "default", "preview", "deprecated"
# Corresponds to the JSON property `tags`
# @return [Array<String>]
attr_accessor :tags
- # True if and only if tests with this model DO NOT have video output.
- # See also TestSpecification.disable_video_recording
- # @OutputOnly
- # Corresponds to the JSON property `videoRecordingNotSupported`
- # @return [Boolean]
- attr_accessor :video_recording_not_supported
- alias_method :video_recording_not_supported?, :video_recording_not_supported
-
def initialize(**args)
update!(**args)
end
# Update properties of this object
@@ -403,11 +404,10 @@
@screen_x = args[:screen_x] if args.key?(:screen_x)
@screen_y = args[:screen_y] if args.key?(:screen_y)
@supported_abis = args[:supported_abis] if args.key?(:supported_abis)
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
@tags = args[:tags] if args.key?(:tags)
- @video_recording_not_supported = args[:video_recording_not_supported] if args.key?(:video_recording_not_supported)
end
end
# A test of an android application that explores the application on a virtual
# or physical Android Device, finding culprits and crashes as it goes.
@@ -417,10 +417,18 @@
# A reference to a file, used for user inputs.
# Corresponds to the JSON property `appApk`
# @return [Google::Apis::TestingV1::FileReference]
attr_accessor :app_apk
+ # An Android App Bundle file format, containing a BundleConfig.pb file,
+ # a base module directory, zero or more dynamic feature module directories.
+ # <p>See https://developer.android.com/guide/app-bundle/build for guidance on
+ # building App Bundles.
+ # Corresponds to the JSON property `appBundle`
+ # @return [Google::Apis::TestingV1::AppBundle]
+ attr_accessor :app_bundle
+
# The initial activity that should be used to start the app.
# Optional
# Corresponds to the JSON property `appInitialActivity`
# @return [String]
attr_accessor :app_initial_activity
@@ -472,10 +480,11 @@
end
# Update properties of this object
def update!(**args)
@app_apk = args[:app_apk] if args.key?(:app_apk)
+ @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
@app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity)
@app_package_id = args[:app_package_id] if args.key?(:app_package_id)
@max_depth = args[:max_depth] if args.key?(:max_depth)
@max_steps = args[:max_steps] if args.key?(:max_steps)
@robo_directives = args[:robo_directives] if args.key?(:robo_directives)
@@ -520,10 +529,18 @@
# A reference to a file, used for user inputs.
# Corresponds to the JSON property `appApk`
# @return [Google::Apis::TestingV1::FileReference]
attr_accessor :app_apk
+ # An Android App Bundle file format, containing a BundleConfig.pb file,
+ # a base module directory, zero or more dynamic feature module directories.
+ # <p>See https://developer.android.com/guide/app-bundle/build for guidance on
+ # building App Bundles.
+ # Corresponds to the JSON property `appBundle`
+ # @return [Google::Apis::TestingV1::AppBundle]
+ attr_accessor :app_bundle
+
# The java package for the application under test.
# Optional, default is determined by examining the application's manifest.
# Corresponds to the JSON property `appPackageId`
# @return [String]
attr_accessor :app_package_id
@@ -551,10 +568,11 @@
end
# Update properties of this object
def update!(**args)
@app_apk = args[:app_apk] if args.key?(:app_apk)
+ @app_bundle = args[:app_bundle] if args.key?(:app_bundle)
@app_package_id = args[:app_package_id] if args.key?(:app_package_id)
@scenario_labels = args[:scenario_labels] if args.key?(:scenario_labels)
@scenarios = args[:scenarios] if args.key?(:scenarios)
end
end
@@ -721,10 +739,32 @@
@min_sdk_version = args[:min_sdk_version] if args.key?(:min_sdk_version)
@package_name = args[:package_name] if args.key?(:package_name)
end
end
+ # An Android App Bundle file format, containing a BundleConfig.pb file,
+ # a base module directory, zero or more dynamic feature module directories.
+ # <p>See https://developer.android.com/guide/app-bundle/build for guidance on
+ # building App Bundles.
+ class AppBundle
+ include Google::Apis::Core::Hashable
+
+ # A reference to a file, used for user inputs.
+ # Corresponds to the JSON property `bundleLocation`
+ # @return [Google::Apis::TestingV1::FileReference]
+ attr_accessor :bundle_location
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @bundle_location = args[:bundle_location] if args.key?(:bundle_location)
+ end
+ end
+
# Response containing the current state of the specified test matrix.
class CancelTestMatrixResponse
include Google::Apis::Core::Hashable
# The current rolled-up state of the test matrix.
@@ -1765,27 +1805,17 @@
# @OutputOnly
# Corresponds to the JSON property `progressMessages`
# @return [Array<String>]
attr_accessor :progress_messages
- # Indicates that video will not be recorded for this execution either because
- # the user chose to disable it or the device does not support it.
- # See AndroidModel.video_recording_not_supported
- # @OutputOnly
- # Corresponds to the JSON property `videoRecordingDisabled`
- # @return [Boolean]
- attr_accessor :video_recording_disabled
- alias_method :video_recording_disabled?, :video_recording_disabled
-
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@error_message = args[:error_message] if args.key?(:error_message)
@progress_messages = args[:progress_messages] if args.key?(:progress_messages)
- @video_recording_disabled = args[:video_recording_disabled] if args.key?(:video_recording_disabled)
end
end
# A description of a test environment.
class TestEnvironmentCatalog