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:
parent
369a2f29f1
commit
5dce0cff59
|
@ -33502,6 +33502,7 @@
|
|||
"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete": delete_cluster
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterUuid": cluster_uuid
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region
|
||||
"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster
|
||||
|
@ -43691,6 +43692,7 @@
|
|||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/isFallback": is_fallback
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/messages": messages
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/messages/message": message
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/mlDisabled": ml_disabled
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/mlEnabled": ml_enabled
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/name": name
|
||||
"/dialogflow:v2beta1/GoogleCloudDialogflowV2Intent/outputContexts": output_contexts
|
||||
|
@ -59478,6 +59480,10 @@
|
|||
"/serviceconsumermanagement:v1/Context/rules": rules
|
||||
"/serviceconsumermanagement:v1/Context/rules/rule": rule
|
||||
"/serviceconsumermanagement:v1/ContextRule": context_rule
|
||||
"/serviceconsumermanagement:v1/ContextRule/allowedRequestExtensions": allowed_request_extensions
|
||||
"/serviceconsumermanagement:v1/ContextRule/allowedRequestExtensions/allowed_request_extension": allowed_request_extension
|
||||
"/serviceconsumermanagement:v1/ContextRule/allowedResponseExtensions": allowed_response_extensions
|
||||
"/serviceconsumermanagement:v1/ContextRule/allowedResponseExtensions/allowed_response_extension": allowed_response_extension
|
||||
"/serviceconsumermanagement:v1/ContextRule/provided": provided
|
||||
"/serviceconsumermanagement:v1/ContextRule/provided/provided": provided
|
||||
"/serviceconsumermanagement:v1/ContextRule/requested": requested
|
||||
|
@ -66858,6 +66864,15 @@
|
|||
"/testing:v1/AndroidVersion/tags": tags
|
||||
"/testing:v1/AndroidVersion/tags/tag": tag
|
||||
"/testing:v1/AndroidVersion/versionString": version_string
|
||||
"/testing:v1/ApkDetail": apk_detail
|
||||
"/testing:v1/ApkDetail/apkManifest": apk_manifest
|
||||
"/testing:v1/ApkManifest": apk_manifest
|
||||
"/testing:v1/ApkManifest/applicationLabel": application_label
|
||||
"/testing:v1/ApkManifest/intentFilters": intent_filters
|
||||
"/testing:v1/ApkManifest/intentFilters/intent_filter": intent_filter
|
||||
"/testing:v1/ApkManifest/maxSdkVersion": max_sdk_version
|
||||
"/testing:v1/ApkManifest/minSdkVersion": min_sdk_version
|
||||
"/testing:v1/ApkManifest/packageName": package_name
|
||||
"/testing:v1/CancelTestMatrixResponse": cancel_test_matrix_response
|
||||
"/testing:v1/CancelTestMatrixResponse/testState": test_state
|
||||
"/testing:v1/ClientInfo": client_info
|
||||
|
@ -66886,9 +66901,17 @@
|
|||
"/testing:v1/EnvironmentVariable/value": value
|
||||
"/testing:v1/FileReference": file_reference
|
||||
"/testing:v1/FileReference/gcsPath": gcs_path
|
||||
"/testing:v1/GetApkDetailsResponse": get_apk_details_response
|
||||
"/testing:v1/GetApkDetailsResponse/apkDetail": apk_detail
|
||||
"/testing:v1/GoogleAuto": google_auto
|
||||
"/testing:v1/GoogleCloudStorage": google_cloud_storage
|
||||
"/testing:v1/GoogleCloudStorage/gcsPath": gcs_path
|
||||
"/testing:v1/IntentFilter": intent_filter
|
||||
"/testing:v1/IntentFilter/actionNames": action_names
|
||||
"/testing:v1/IntentFilter/actionNames/action_name": action_name
|
||||
"/testing:v1/IntentFilter/categoryNames": category_names
|
||||
"/testing:v1/IntentFilter/categoryNames/category_name": category_name
|
||||
"/testing:v1/IntentFilter/mimeType": mime_type
|
||||
"/testing:v1/LauncherActivityIntent": launcher_activity_intent
|
||||
"/testing:v1/Locale": locale
|
||||
"/testing:v1/Locale/id": id
|
||||
|
@ -66995,6 +67018,7 @@
|
|||
"/testing:v1/fields": fields
|
||||
"/testing:v1/key": key
|
||||
"/testing:v1/quotaUser": quota_user
|
||||
"/testing:v1/testing.applicationDetailService.getApkDetails": get_application_detail_service_apk_details
|
||||
"/testing:v1/testing.projects.testMatrices.cancel": cancel_project_test_matrix
|
||||
"/testing:v1/testing.projects.testMatrices.cancel/projectId": project_id
|
||||
"/testing:v1/testing.projects.testMatrices.cancel/testMatrixId": test_matrix_id
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180102'
|
||||
REVISION = '20180206'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -92,6 +92,9 @@ module Google
|
|||
# Required. The Cloud Dataproc region in which to handle the request.
|
||||
# @param [String] cluster_name
|
||||
# Required. The cluster name.
|
||||
# @param [String] cluster_uuid
|
||||
# Optional. Specifying the cluster_uuid means the RPC should fail (with error
|
||||
# NOT_FOUND) if cluster with specified UUID does not exist.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -109,13 +112,14 @@ module Google
|
|||
# @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 delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
def delete_cluster(project_id, region, cluster_name, cluster_uuid: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options)
|
||||
command.response_representation = Google::Apis::DataprocV1::Operation::Representation
|
||||
command.response_class = Google::Apis::DataprocV1::Operation
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['clusterName'] = cluster_name unless cluster_name.nil?
|
||||
command.query['clusterUuid'] = cluster_uuid unless cluster_uuid.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20180129'
|
||||
REVISION = '20180206'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -308,14 +308,14 @@ module Google
|
|||
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage>]
|
||||
attr_accessor :messages
|
||||
|
||||
# Optional. Indicates whether Machine Learning is enabled for the intent.
|
||||
# Note: If `ml_enabled` setting is set to false, then this intent is not
|
||||
# Optional. Indicates whether Machine Learning is disabled for the intent.
|
||||
# Note: If `ml_diabled` setting is set to false, then this intent is not
|
||||
# taken into account during inference in `ML ONLY` match mode. Also,
|
||||
# auto-markup in the UI is turned off.
|
||||
# Corresponds to the JSON property `mlEnabled`
|
||||
# Corresponds to the JSON property `mlDisabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :ml_enabled
|
||||
alias_method :ml_enabled?, :ml_enabled
|
||||
attr_accessor :ml_disabled
|
||||
alias_method :ml_disabled?, :ml_disabled
|
||||
|
||||
# Required for all methods except `create` (`create` populates the name
|
||||
# automatically.
|
||||
|
@ -392,7 +392,7 @@ module Google
|
|||
@input_context_names = args[:input_context_names] if args.key?(:input_context_names)
|
||||
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
||||
@messages = args[:messages] if args.key?(:messages)
|
||||
@ml_enabled = args[:ml_enabled] if args.key?(:ml_enabled)
|
||||
@ml_disabled = args[:ml_disabled] if args.key?(:ml_disabled)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@output_contexts = args[:output_contexts] if args.key?(:output_contexts)
|
||||
@parameters = args[:parameters] if args.key?(:parameters)
|
||||
|
|
|
@ -697,7 +697,7 @@ module Google
|
|||
property :is_fallback, as: 'isFallback'
|
||||
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
||||
|
||||
property :ml_enabled, as: 'mlEnabled'
|
||||
property :ml_disabled, as: 'mlDisabled'
|
||||
property :name, as: 'name'
|
||||
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Context::Representation
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180117'
|
||||
REVISION = '20180208'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/genomics
|
||||
module GenomicsV1alpha2
|
||||
VERSION = 'V1alpha2'
|
||||
REVISION = '20180117'
|
||||
REVISION = '20180208'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/monitoring/api/
|
||||
module MonitoringV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180128'
|
||||
REVISION = '20180205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1880,8 +1880,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# How often the uptime check is performed. Currently, only 1, 5, 10, and 15
|
||||
# minutes are supported. Required.
|
||||
# How often, in seconds, the uptime check is performed. Currently, the only
|
||||
# supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and
|
||||
# 900s (15 minutes). Required.
|
||||
# Corresponds to the JSON property `period`
|
||||
# @return [String]
|
||||
attr_accessor :period
|
||||
|
|
|
@ -697,7 +697,7 @@ module Google
|
|||
|
||||
# Creates a new uptime check configuration.
|
||||
# @param [String] parent
|
||||
# The project in which to create the uptime check. The formatis projects/[
|
||||
# The project in which to create the uptime check. The format is projects/[
|
||||
# PROJECT_ID].
|
||||
# @param [Google::Apis::MonitoringV3::UptimeCheckConfig] uptime_check_config_object
|
||||
# @param [String] fields
|
||||
|
@ -733,7 +733,7 @@ module Google
|
|||
# uptime check configuration is referenced by an alert policy or other dependent
|
||||
# configs that would be rendered invalid by the deletion.
|
||||
# @param [String] name
|
||||
# The uptime check configuration to delete. The formatis projects/[PROJECT_ID]/
|
||||
# The uptime check configuration to delete. The format is projects/[PROJECT_ID]/
|
||||
# uptimeCheckConfigs/[UPTIME_CHECK_ID].
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
@ -764,8 +764,8 @@ module Google
|
|||
|
||||
# Gets a single uptime check configuration.
|
||||
# @param [String] name
|
||||
# The uptime check configuration to retrieve. The formatis projects/[PROJECT_ID]/
|
||||
# uptimeCheckConfigs/[UPTIME_CHECK_ID].
|
||||
# The uptime check configuration to retrieve. The format is projects/[
|
||||
# PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
@ -796,7 +796,7 @@ module Google
|
|||
# Lists the existing valid uptime check configurations for the project, leaving
|
||||
# out any invalid configurations.
|
||||
# @param [String] parent
|
||||
# The project whose uptime check configurations are listed. The formatis
|
||||
# The project whose uptime check configurations are listed. The format is
|
||||
# projects/[PROJECT_ID].
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of results to return in a single response. The server may
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||
module ServiceconsumermanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180131'
|
||||
REVISION = '20180208'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -598,6 +598,21 @@ module Google
|
|||
# `google.rpc.context.OriginContext`.
|
||||
# Available context types are defined in package
|
||||
# `google.rpc.context`.
|
||||
# This also provides mechanism to whitelist any protobuf message extension that
|
||||
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
||||
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
||||
# specific protobuf types that can appear in grpc metadata as follows in your
|
||||
# yaml file:
|
||||
# Example:
|
||||
# context:
|
||||
# rules:
|
||||
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
||||
# allowed_request_extensions:
|
||||
# - google.foo.v1.NewExtension
|
||||
# allowed_response_extensions:
|
||||
# - google.foo.v1.NewExtension
|
||||
# You can also specify extension ID instead of fully qualified extension name
|
||||
# here.
|
||||
class Context
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -622,6 +637,18 @@ module Google
|
|||
class ContextRule
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of full type names or extension IDs of extensions allowed in grpc
|
||||
# side channel from client to backend.
|
||||
# Corresponds to the JSON property `allowedRequestExtensions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :allowed_request_extensions
|
||||
|
||||
# A list of full type names or extension IDs of extensions allowed in grpc
|
||||
# side channel from backend to client.
|
||||
# Corresponds to the JSON property `allowedResponseExtensions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :allowed_response_extensions
|
||||
|
||||
# A list of full type names of provided contexts.
|
||||
# Corresponds to the JSON property `provided`
|
||||
# @return [Array<String>]
|
||||
|
@ -644,6 +671,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@allowed_request_extensions = args[:allowed_request_extensions] if args.key?(:allowed_request_extensions)
|
||||
@allowed_response_extensions = args[:allowed_response_extensions] if args.key?(:allowed_response_extensions)
|
||||
@provided = args[:provided] if args.key?(:provided)
|
||||
@requested = args[:requested] if args.key?(:requested)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
|
@ -2940,6 +2969,21 @@ module Google
|
|||
# `google.rpc.context.OriginContext`.
|
||||
# Available context types are defined in package
|
||||
# `google.rpc.context`.
|
||||
# This also provides mechanism to whitelist any protobuf message extension that
|
||||
# can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
|
||||
# “x-goog-ext-<extension_id>-jspb” format. For example, list any service
|
||||
# specific protobuf types that can appear in grpc metadata as follows in your
|
||||
# yaml file:
|
||||
# Example:
|
||||
# context:
|
||||
# rules:
|
||||
# - selector: "google.example.library.v1.LibraryService.CreateBook"
|
||||
# allowed_request_extensions:
|
||||
# - google.foo.v1.NewExtension
|
||||
# allowed_response_extensions:
|
||||
# - google.foo.v1.NewExtension
|
||||
# You can also specify extension ID instead of fully qualified extension name
|
||||
# here.
|
||||
# Corresponds to the JSON property `context`
|
||||
# @return [Google::Apis::ServiceconsumermanagementV1::Context]
|
||||
attr_accessor :context
|
||||
|
@ -3665,10 +3709,12 @@ module Google
|
|||
class TenantProjectPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Additional policy bindings to be applied on the tenant
|
||||
# project.
|
||||
# At least one owner must be set in the bindings. Among the list of members
|
||||
# as owners, at least one of them must be either `user` or `group` based.
|
||||
# Policy bindings to be applied to the tenant project, in addition to the
|
||||
# 'roles/owner' role granted to the Service Consumer Management service
|
||||
# account.
|
||||
# At least one binding must have the role `roles/owner`. Among the list of
|
||||
# members for `roles/owner`, at least one of them must be either `user` or
|
||||
# `group` type.
|
||||
# Corresponds to the JSON property `policyBindings`
|
||||
# @return [Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>]
|
||||
attr_accessor :policy_bindings
|
||||
|
|
|
@ -602,6 +602,8 @@ module Google
|
|||
class ContextRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :allowed_request_extensions, as: 'allowedRequestExtensions'
|
||||
collection :allowed_response_extensions, as: 'allowedResponseExtensions'
|
||||
collection :provided, as: 'provided'
|
||||
collection :requested, as: 'requested'
|
||||
property :selector, as: 'selector'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180207'
|
||||
REVISION = '20180208'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180129'
|
||||
REVISION = '20180205'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue