Autogenerated update (2018-02-09)
Update: - dataproc_v1 - dialogflow_v2beta1 - genomics_v1 - genomics_v1alpha2 - monitoring_v3 - serviceconsumermanagement_v1 - testing_v1 - youtube_partner_v1
This commit is contained in:
1 parent
369a2f29f1
commit
5dce0cff59
19 files changed
+313
-27
No files matched your search
@@ -599,6 +599,72 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Android application details based on application manifest and apk archive
|
||||
# contents
|
||||
class ApkDetail
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An Android app manifest. See
|
||||
# http://developer.android.com/guide/topics/manifest/manifest-intro.html
|
||||
# Corresponds to the JSON property `apkManifest`
|
||||
# @return [Google::Apis::TestingV1::ApkManifest]
|
||||
attr_accessor :apk_manifest
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@apk_manifest = args[:apk_manifest] if args.key?(:apk_manifest)
|
||||
end
|
||||
end
|
||||
|
||||
# An Android app manifest. See
|
||||
# http://developer.android.com/guide/topics/manifest/manifest-intro.html
|
||||
class ApkManifest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# User-readable name for the application.
|
||||
# Corresponds to the JSON property `applicationLabel`
|
||||
# @return [String]
|
||||
attr_accessor :application_label
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `intentFilters`
|
||||
# @return [Array<Google::Apis::TestingV1::IntentFilter>]
|
||||
attr_accessor :intent_filters
|
||||
|
||||
# Maximum API level on which the application is designed to run.
|
||||
# Corresponds to the JSON property `maxSdkVersion`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_sdk_version
|
||||
|
||||
# Minimum API level required for the application to run.
|
||||
# Corresponds to the JSON property `minSdkVersion`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :min_sdk_version
|
||||
|
||||
# Full Java-style package name for this application, e.g.
|
||||
# "com.example.foo".
|
||||
# Corresponds to the JSON property `packageName`
|
||||
# @return [String]
|
||||
attr_accessor :package_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@application_label = args[:application_label] if args.key?(:application_label)
|
||||
@intent_filters = args[:intent_filters] if args.key?(:intent_filters)
|
||||
@max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
|
||||
@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
|
||||
|
||||
# Response containing the current state of the specified test matrix.
|
||||
class CancelTestMatrixResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -853,6 +919,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Response containing the details of the specified Android application APK.
|
||||
class GetApkDetailsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Android application details based on application manifest and apk archive
|
||||
# contents
|
||||
# Corresponds to the JSON property `apkDetail`
|
||||
# @return [Google::Apis::TestingV1::ApkDetail]
|
||||
attr_accessor :apk_detail
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@apk_detail = args[:apk_detail] if args.key?(:apk_detail)
|
||||
end
|
||||
end
|
||||
|
||||
# Enables automatic Google account login.
|
||||
# If set, the service will automatically generate a Google test account and add
|
||||
# it to the device, before executing the test. Note that test accounts might be
|
||||
@@ -895,6 +981,38 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The <intent-filter> section of an <activity> tag.
|
||||
# https://developer.android.com/guide/topics/manifest/intent-filter-element.html
|
||||
class IntentFilter
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The android:name value of the <action> tag
|
||||
# Corresponds to the JSON property `actionNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :action_names
|
||||
|
||||
# The android:name value of the <category> tag
|
||||
# Corresponds to the JSON property `categoryNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :category_names
|
||||
|
||||
# The android:mimeType value of the <data> tag
|
||||
# Corresponds to the JSON property `mimeType`
|
||||
# @return [String]
|
||||
attr_accessor :mime_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@action_names = args[:action_names] if args.key?(:action_names)
|
||||
@category_names = args[:category_names] if args.key?(:category_names)
|
||||
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Specifies an intent that starts the main launcher activity.
|
||||
class LauncherActivityIntent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -88,6 +88,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ApkDetail
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ApkManifest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CancelTestMatrixResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -148,6 +160,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetApkDetailsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAuto
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -160,6 +178,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class IntentFilter
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LauncherActivityIntent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -413,6 +437,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ApkDetail
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :apk_manifest, as: 'apkManifest', class: Google::Apis::TestingV1::ApkManifest, decorator: Google::Apis::TestingV1::ApkManifest::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ApkManifest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :application_label, as: 'applicationLabel'
|
||||
collection :intent_filters, as: 'intentFilters', class: Google::Apis::TestingV1::IntentFilter, decorator: Google::Apis::TestingV1::IntentFilter::Representation
|
||||
|
||||
property :max_sdk_version, as: 'maxSdkVersion'
|
||||
property :min_sdk_version, as: 'minSdkVersion'
|
||||
property :package_name, as: 'packageName'
|
||||
end
|
||||
end
|
||||
|
||||
class CancelTestMatrixResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -495,6 +539,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GetApkDetailsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :apk_detail, as: 'apkDetail', class: Google::Apis::TestingV1::ApkDetail, decorator: Google::Apis::TestingV1::ApkDetail::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAuto
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -508,6 +560,15 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class IntentFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :action_names, as: 'actionNames'
|
||||
collection :category_names, as: 'categoryNames'
|
||||
property :mime_type, as: 'mimeType'
|
||||
end
|
||||
end
|
||||
|
||||
class LauncherActivityIntent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -48,6 +48,36 @@ module Google
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Request the details of an Android application APK.
|
||||
# @param [Google::Apis::TestingV1::FileReference] file_reference_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TestingV1::GetApkDetailsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TestingV1::GetApkDetailsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_application_detail_service_apk_details(file_reference_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/applicationDetailService/getApkDetails', options)
|
||||
command.request_representation = Google::Apis::TestingV1::FileReference::Representation
|
||||
command.request_object = file_reference_object
|
||||
command.response_representation = Google::Apis::TestingV1::GetApkDetailsResponse::Representation
|
||||
command.response_class = Google::Apis::TestingV1::GetApkDetailsResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Cancels unfinished test executions in a test matrix.
|
||||
# This call returns immediately and cancellation proceeds asychronously.
|
||||
# If the matrix is already final, this operation will have no effect.
|
||||
|
||||
Reference in new issue
Block a user