From 5dce0cff59d2e49933fd6270e6d77b0198414578 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 9 Feb 2018 00:35:28 +0000 Subject: [PATCH] Autogenerated update (2018-02-09) Update: - dataproc_v1 - dialogflow_v2beta1 - genomics_v1 - genomics_v1alpha2 - monitoring_v3 - serviceconsumermanagement_v1 - testing_v1 - youtube_partner_v1 --- api_names_out.yaml | 24 ++++ generated/google/apis/dataproc_v1.rb | 2 +- generated/google/apis/dataproc_v1/service.rb | 6 +- generated/google/apis/dialogflow_v2beta1.rb | 2 +- .../google/apis/dialogflow_v2beta1/classes.rb | 12 +- .../dialogflow_v2beta1/representations.rb | 2 +- generated/google/apis/genomics_v1.rb | 2 +- generated/google/apis/genomics_v1alpha2.rb | 2 +- generated/google/apis/monitoring_v3.rb | 2 +- .../google/apis/monitoring_v3/classes.rb | 5 +- .../google/apis/monitoring_v3/service.rb | 10 +- .../apis/serviceconsumermanagement_v1.rb | 2 +- .../serviceconsumermanagement_v1/classes.rb | 54 +++++++- .../representations.rb | 2 + generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/testing_v1/classes.rb | 118 ++++++++++++++++++ .../google/apis/testing_v1/representations.rb | 61 +++++++++ generated/google/apis/testing_v1/service.rb | 30 +++++ generated/google/apis/youtube_partner_v1.rb | 2 +- 19 files changed, 313 insertions(+), 27 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 2f1d3262d..d0ab03dd0 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index 7c9ce1270..d31fef11c 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -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' diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index abff2618f..14c3eb69d 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -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) diff --git a/generated/google/apis/dialogflow_v2beta1.rb b/generated/google/apis/dialogflow_v2beta1.rb index d1c966335..84687ba32 100644 --- a/generated/google/apis/dialogflow_v2beta1.rb +++ b/generated/google/apis/dialogflow_v2beta1.rb @@ -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' diff --git a/generated/google/apis/dialogflow_v2beta1/classes.rb b/generated/google/apis/dialogflow_v2beta1/classes.rb index e813afdee..914b30dda 100644 --- a/generated/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google/apis/dialogflow_v2beta1/classes.rb @@ -308,14 +308,14 @@ module Google # @return [Array] 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) diff --git a/generated/google/apis/dialogflow_v2beta1/representations.rb b/generated/google/apis/dialogflow_v2beta1/representations.rb index f579f1c6b..eb1b7dd7e 100644 --- a/generated/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google/apis/dialogflow_v2beta1/representations.rb @@ -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 diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index da9402572..977d1ff1c 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -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' diff --git a/generated/google/apis/genomics_v1alpha2.rb b/generated/google/apis/genomics_v1alpha2.rb index 4e7482cb6..46af999da 100644 --- a/generated/google/apis/genomics_v1alpha2.rb +++ b/generated/google/apis/genomics_v1alpha2.rb @@ -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' diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index eaf1f23bb..b9784f6a7 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -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' diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index a01944577..38eeaf531 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -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 diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index 048d63503..249fd2f2b 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -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 diff --git a/generated/google/apis/serviceconsumermanagement_v1.rb b/generated/google/apis/serviceconsumermanagement_v1.rb index 3006e5feb..68877c23b 100644 --- a/generated/google/apis/serviceconsumermanagement_v1.rb +++ b/generated/google/apis/serviceconsumermanagement_v1.rb @@ -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' diff --git a/generated/google/apis/serviceconsumermanagement_v1/classes.rb b/generated/google/apis/serviceconsumermanagement_v1/classes.rb index 5dc54824e..42f56a7fb 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/classes.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/classes.rb @@ -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--bin” and + # “x-goog-ext--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] + 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] + attr_accessor :allowed_response_extensions + # A list of full type names of provided contexts. # Corresponds to the JSON property `provided` # @return [Array] @@ -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--bin” and + # “x-goog-ext--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] attr_accessor :policy_bindings diff --git a/generated/google/apis/serviceconsumermanagement_v1/representations.rb b/generated/google/apis/serviceconsumermanagement_v1/representations.rb index fd95fbdcc..71b98be0c 100644 --- a/generated/google/apis/serviceconsumermanagement_v1/representations.rb +++ b/generated/google/apis/serviceconsumermanagement_v1/representations.rb @@ -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' diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index 824574467..41283ddea 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -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' diff --git a/generated/google/apis/testing_v1/classes.rb b/generated/google/apis/testing_v1/classes.rb index 8368a2db9..6e2dfc98b 100644 --- a/generated/google/apis/testing_v1/classes.rb +++ b/generated/google/apis/testing_v1/classes.rb @@ -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] + 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 section of an 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 tag + # Corresponds to the JSON property `actionNames` + # @return [Array] + attr_accessor :action_names + + # The android:name value of the tag + # Corresponds to the JSON property `categoryNames` + # @return [Array] + attr_accessor :category_names + + # The android:mimeType value of the 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 diff --git a/generated/google/apis/testing_v1/representations.rb b/generated/google/apis/testing_v1/representations.rb index 91c8a9927..d0f771f9f 100644 --- a/generated/google/apis/testing_v1/representations.rb +++ b/generated/google/apis/testing_v1/representations.rb @@ -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 diff --git a/generated/google/apis/testing_v1/service.rb b/generated/google/apis/testing_v1/service.rb index 478b829eb..2cd5ec80a 100644 --- a/generated/google/apis/testing_v1/service.rb +++ b/generated/google/apis/testing_v1/service.rb @@ -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. diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 33f94b2f0..1b6d29d97 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -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'