Autogenerated update (2020-10-08)
Update: - analyticsdata_v1alpha - androidpublisher_v3 - appsmarket_v2 - cloudasset_v1p4beta1 - cloudsearch_v1 - cloudshell_v1 - composer_v1 - composer_v1beta1 - container_v1beta1 - content_v2 - content_v2_1 - dialogflow_v2beta1 - displayvideo_v1 - doubleclickbidmanager_v1_1 - licensing_v1 - memcache_v1beta2 - people_v1 - realtimebidding_v1 - remotebuildexecution_v1alpha - storagetransfer_v1 - testing_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1
This commit is contained in:
1 parent
f3b058c1b4
commit
7dc410a074
73 files changed
+7310
-1052
No files matched your search
@@ -1215,6 +1215,38 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A file or directory to install on the device before the test starts.
|
||||
class IosDeviceFile
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The bundle id of the app where this file lives. iOS apps sandbox their own
|
||||
# filesystem, so app files must specify which app installed on the device.
|
||||
# Corresponds to the JSON property `bundleId`
|
||||
# @return [String]
|
||||
attr_accessor :bundle_id
|
||||
|
||||
# A reference to a file, used for user inputs.
|
||||
# Corresponds to the JSON property `content`
|
||||
# @return [Google::Apis::TestingV1::FileReference]
|
||||
attr_accessor :content
|
||||
|
||||
# Location of the file on the device, inside the app's sandboxed filesystem
|
||||
# Corresponds to the JSON property `devicePath`
|
||||
# @return [String]
|
||||
attr_accessor :device_path
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
||||
@content = args[:content] if args.key?(:content)
|
||||
@device_path = args[:device_path] if args.key?(:device_path)
|
||||
end
|
||||
end
|
||||
|
||||
# A list of iOS device configurations in which the test is to be executed.
|
||||
class IosDeviceList
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1380,6 +1412,19 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :network_profile
|
||||
|
||||
# List of directories on the device to upload to Cloud Storage at the end of the
|
||||
# test. Directories should either be in a shared directory (e.g. /private/var/
|
||||
# mobile/Media) or within an accessible directory inside the app's filesystem (e.
|
||||
# g. /Documents) by specifying the bundle id.
|
||||
# Corresponds to the JSON property `pullDirectories`
|
||||
# @return [Array<Google::Apis::TestingV1::IosDeviceFile>]
|
||||
attr_accessor :pull_directories
|
||||
|
||||
# List of files to push to the device before starting the test.
|
||||
# Corresponds to the JSON property `pushFiles`
|
||||
# @return [Array<Google::Apis::TestingV1::IosDeviceFile>]
|
||||
attr_accessor :push_files
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -1388,6 +1433,8 @@ module Google
|
||||
def update!(**args)
|
||||
@additional_ipas = args[:additional_ipas] if args.key?(:additional_ipas)
|
||||
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
||||
@pull_directories = args[:pull_directories] if args.key?(:pull_directories)
|
||||
@push_files = args[:push_files] if args.key?(:push_files)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -220,6 +220,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosDeviceFile
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IosDeviceList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -780,6 +786,16 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class IosDeviceFile
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bundle_id, as: 'bundleId'
|
||||
property :content, as: 'content', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :device_path, as: 'devicePath'
|
||||
end
|
||||
end
|
||||
|
||||
class IosDeviceList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -829,6 +845,10 @@ module Google
|
||||
collection :additional_ipas, as: 'additionalIpas', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :network_profile, as: 'networkProfile'
|
||||
collection :pull_directories, as: 'pullDirectories', class: Google::Apis::TestingV1::IosDeviceFile, decorator: Google::Apis::TestingV1::IosDeviceFile::Representation
|
||||
|
||||
collection :push_files, as: 'pushFiles', class: Google::Apis::TestingV1::IosDeviceFile, decorator: Google::Apis::TestingV1::IosDeviceFile::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user