From 6f0577941ee6becd3d15dc234e2e3a997ab00ff4 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 15 Sep 2017 00:36:32 +0000 Subject: [PATCH] Autogenerated update (2017-09-15) Delete: - toolresults_v1beta3firstparty Update: - adsense_v1_4 - androidenterprise_v1 - androidpublisher_v1 - androidpublisher_v1_1 - cloudfunctions_v1 - cloudfunctions_v1beta2 - cloudtrace_v2 - container_v1 - container_v1beta1 - content_v2 - content_v2sandbox - doubleclicksearch_v2 - games_configuration_v1configuration - games_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceuser_v1 - youtube_analytics_v1beta1 - youtube_partner_v1 --- api_names_out.yaml | 19 + .../apis/adexchangebuyer_v1_2/service.rb | 2 +- .../apis/adexchangebuyer_v1_4/service.rb | 2 +- .../google/apis/admin_reports_v1/service.rb | 2 +- generated/google/apis/adsense_v1_4.rb | 2 +- generated/google/apis/analytics_v3/service.rb | 2 +- generated/google/apis/androidenterprise_v1.rb | 2 +- .../apis/androidenterprise_v1/service.rb | 2 +- generated/google/apis/androidpublisher_v1.rb | 2 +- .../apis/androidpublisher_v1/service.rb | 2 +- .../google/apis/androidpublisher_v1_1.rb | 2 +- .../apis/androidpublisher_v1_1/service.rb | 2 +- generated/google/apis/blogger_v3/service.rb | 2 +- generated/google/apis/civicinfo_v2/service.rb | 2 +- generated/google/apis/cloudfunctions_v1.rb | 2 +- .../google/apis/cloudfunctions_v1/classes.rb | 7 + .../apis/cloudfunctions_v1/representations.rb | 1 + .../google/apis/cloudfunctions_v1beta2.rb | 2 +- .../apis/cloudfunctions_v1beta2/classes.rb | 30 + .../cloudfunctions_v1beta2/representations.rb | 4 + generated/google/apis/cloudtrace_v2.rb | 5 +- .../google/apis/cloudtrace_v2/classes.rb | 78 - .../apis/cloudtrace_v2/representations.rb | 43 - .../google/apis/cloudtrace_v2/service.rb | 101 - .../apis/clouduseraccounts_alpha/service.rb | 2 +- .../apis/clouduseraccounts_beta/service.rb | 2 +- .../clouduseraccounts_vm_alpha/service.rb | 2 +- .../google/apis/compute_alpha/service.rb | 2 +- generated/google/apis/container_v1.rb | 2 +- generated/google/apis/container_v1/classes.rb | 12 + .../apis/container_v1/representations.rb | 1 + generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 54 + .../apis/container_v1beta1/representations.rb | 18 + generated/google/apis/content_v2.rb | 2 +- generated/google/apis/content_v2/service.rb | 2 +- generated/google/apis/content_v2sandbox.rb | 2 +- .../google/apis/content_v2sandbox/service.rb | 2 +- .../apis/deploymentmanager_alpha/service.rb | 2 +- .../apis/deploymentmanager_v2beta/service.rb | 2 +- generated/google/apis/dns_v2beta1/service.rb | 2 +- generated/google/apis/doubleclicksearch_v2.rb | 2 +- .../apis/doubleclicksearch_v2/service.rb | 2 +- .../games_configuration_v1configuration.rb | 2 +- .../service.rb | 2 +- generated/google/apis/games_v1.rb | 2 +- .../google/apis/groupsmigration_v1/service.rb | 2 +- .../google/apis/identitytoolkit_v3/service.rb | 2 +- generated/google/apis/licensing_v1/service.rb | 2 +- generated/google/apis/oauth2_v1/service.rb | 2 +- .../google/apis/playcustomapp_v1/service.rb | 2 +- .../google/apis/prediction_v1_6/service.rb | 2 +- .../google/apis/qpx_express_v1/service.rb | 2 +- .../apis/resourceviews_v1beta2/service.rb | 2 +- generated/google/apis/servicecontrol_v1.rb | 2 +- .../google/apis/servicecontrol_v1/classes.rb | 41 +- .../apis/servicecontrol_v1/representations.rb | 17 +- generated/google/apis/servicemanagement_v1.rb | 2 +- .../apis/servicemanagement_v1/classes.rb | 2 +- generated/google/apis/serviceuser_v1.rb | 2 +- .../google/apis/serviceuser_v1/classes.rb | 2 +- generated/google/apis/tasks_v1/service.rb | 2 +- .../apis/toolresults_v1beta3firstparty.rb | 31 - .../toolresults_v1beta3firstparty/classes.rb | 2630 ----------------- .../representations.rb | 886 ------ .../toolresults_v1beta3firstparty/service.rb | 1336 --------- .../google/apis/urlshortener_v1/service.rb | 2 +- generated/google/apis/webfonts_v1/service.rb | 2 +- .../google/apis/youtube_analytics_v1beta1.rb | 2 +- .../apis/youtube_analytics_v1beta1/service.rb | 2 +- generated/google/apis/youtube_partner_v1.rb | 2 +- 71 files changed, 250 insertions(+), 5168 deletions(-) delete mode 100644 generated/google/apis/toolresults_v1beta3firstparty.rb delete mode 100644 generated/google/apis/toolresults_v1beta3firstparty/classes.rb delete mode 100644 generated/google/apis/toolresults_v1beta3firstparty/representations.rb delete mode 100644 generated/google/apis/toolresults_v1beta3firstparty/service.rb diff --git a/api_names_out.yaml b/api_names_out.yaml index 8e90fdabd..141cf78e0 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -12179,6 +12179,7 @@ "/cloudfunctions:v1/OperationMetadataV1Beta2/request/request": request "/cloudfunctions:v1/OperationMetadataV1Beta2/target": target "/cloudfunctions:v1/OperationMetadataV1Beta2/type": type +"/cloudfunctions:v1/OperationMetadataV1Beta2/versionId": version_id "/cloudfunctions:v1/Status": status "/cloudfunctions:v1/Status/code": code "/cloudfunctions:v1/Status/details": details @@ -12211,6 +12212,8 @@ "/cloudfunctions:v1beta2/CloudFunction/entryPoint": entry_point "/cloudfunctions:v1beta2/CloudFunction/eventTrigger": event_trigger "/cloudfunctions:v1beta2/CloudFunction/httpsTrigger": https_trigger +"/cloudfunctions:v1beta2/CloudFunction/labels": labels +"/cloudfunctions:v1beta2/CloudFunction/labels/label": label "/cloudfunctions:v1beta2/CloudFunction/latestOperation": latest_operation "/cloudfunctions:v1beta2/CloudFunction/name": name "/cloudfunctions:v1beta2/CloudFunction/serviceAccount": service_account @@ -12220,10 +12223,12 @@ "/cloudfunctions:v1beta2/CloudFunction/status": status "/cloudfunctions:v1beta2/CloudFunction/timeout": timeout "/cloudfunctions:v1beta2/CloudFunction/updateTime": update_time +"/cloudfunctions:v1beta2/CloudFunction/versionId": version_id "/cloudfunctions:v1beta2/EventTrigger": event_trigger "/cloudfunctions:v1beta2/EventTrigger/eventType": event_type "/cloudfunctions:v1beta2/EventTrigger/failurePolicy": failure_policy "/cloudfunctions:v1beta2/EventTrigger/resource": resource +"/cloudfunctions:v1beta2/EventTrigger/service": service "/cloudfunctions:v1beta2/FailurePolicy": failure_policy "/cloudfunctions:v1beta2/FailurePolicy/retry": retry "/cloudfunctions:v1beta2/HTTPSTrigger": https_trigger @@ -12260,6 +12265,7 @@ "/cloudfunctions:v1beta2/OperationMetadataV1Beta2/request/request": request "/cloudfunctions:v1beta2/OperationMetadataV1Beta2/target": target "/cloudfunctions:v1beta2/OperationMetadataV1Beta2/type": type +"/cloudfunctions:v1beta2/OperationMetadataV1Beta2/versionId": version_id "/cloudfunctions:v1beta2/Retry": retry "/cloudfunctions:v1beta2/SourceRepository": source_repository "/cloudfunctions:v1beta2/SourceRepository/branch": branch @@ -26843,6 +26849,7 @@ "/container:v1/NodeConfig/machineType": machine_type "/container:v1/NodeConfig/metadata": metadata "/container:v1/NodeConfig/metadata/metadatum": metadatum +"/container:v1/NodeConfig/minCpuPlatform": min_cpu_platform "/container:v1/NodeConfig/oauthScopes": oauth_scopes "/container:v1/NodeConfig/oauthScopes/oauth_scope": oauth_scope "/container:v1/NodeConfig/preemptible": preemptible @@ -27189,12 +27196,15 @@ "/container:v1beta1/NodeConfig/machineType": machine_type "/container:v1beta1/NodeConfig/metadata": metadata "/container:v1beta1/NodeConfig/metadata/metadatum": metadatum +"/container:v1beta1/NodeConfig/minCpuPlatform": min_cpu_platform "/container:v1beta1/NodeConfig/oauthScopes": oauth_scopes "/container:v1beta1/NodeConfig/oauthScopes/oauth_scope": oauth_scope "/container:v1beta1/NodeConfig/preemptible": preemptible "/container:v1beta1/NodeConfig/serviceAccount": service_account "/container:v1beta1/NodeConfig/tags": tags "/container:v1beta1/NodeConfig/tags/tag": tag +"/container:v1beta1/NodeConfig/taints": taints +"/container:v1beta1/NodeConfig/taints/taint": taint_prop "/container:v1beta1/NodeManagement": node_management "/container:v1beta1/NodeManagement/autoRepair": auto_repair "/container:v1beta1/NodeManagement/autoUpgrade": auto_upgrade @@ -27215,6 +27225,10 @@ "/container:v1beta1/NodePoolAutoscaling/enabled": enabled "/container:v1beta1/NodePoolAutoscaling/maxNodeCount": max_node_count "/container:v1beta1/NodePoolAutoscaling/minNodeCount": min_node_count +"/container:v1beta1/NodeTaint": node_taint +"/container:v1beta1/NodeTaint/effect": effect +"/container:v1beta1/NodeTaint/key": key +"/container:v1beta1/NodeTaint/value": value "/container:v1beta1/Operation": operation "/container:v1beta1/Operation/detail": detail "/container:v1beta1/Operation/endTime": end_time @@ -50517,6 +50531,8 @@ "/servicecontrol:v1/Operation/resourceContainer": resource_container "/servicecontrol:v1/Operation/resourceContainers": resource_containers "/servicecontrol:v1/Operation/resourceContainers/resource_container": resource_container +"/servicecontrol:v1/Operation/resources": resources +"/servicecontrol:v1/Operation/resources/resource": resource "/servicecontrol:v1/Operation/startTime": start_time "/servicecontrol:v1/Operation/userLabels": user_labels "/servicecontrol:v1/Operation/userLabels/user_label": user_label @@ -50573,6 +50589,9 @@ "/servicecontrol:v1/RequestMetadata": request_metadata "/servicecontrol:v1/RequestMetadata/callerIp": caller_ip "/servicecontrol:v1/RequestMetadata/callerSuppliedUserAgent": caller_supplied_user_agent +"/servicecontrol:v1/ResourceInfo": resource_info +"/servicecontrol:v1/ResourceInfo/resourceContainer": resource_container +"/servicecontrol:v1/ResourceInfo/resourceName": resource_name "/servicecontrol:v1/StartReconciliationRequest": start_reconciliation_request "/servicecontrol:v1/StartReconciliationRequest/reconciliationOperation": reconciliation_operation "/servicecontrol:v1/StartReconciliationRequest/serviceConfigId": service_config_id diff --git a/generated/google/apis/adexchangebuyer_v1_2/service.rb b/generated/google/apis/adexchangebuyer_v1_2/service.rb index 4922e9451..2bc7b40c4 100644 --- a/generated/google/apis/adexchangebuyer_v1_2/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangebuyer/v1.2/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangebuyer/v1.2' end # Gets one account by ID. diff --git a/generated/google/apis/adexchangebuyer_v1_4/service.rb b/generated/google/apis/adexchangebuyer_v1_4/service.rb index a06d3d241..453627d25 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'adexchangebuyer/v1.4/') - @batch_path = 'batch' + @batch_path = 'batch/adexchangebuyer/v1.4' end # Gets one account by ID. diff --git a/generated/google/apis/admin_reports_v1/service.rb b/generated/google/apis/admin_reports_v1/service.rb index ab47cadcc..0c610dabc 100644 --- a/generated/google/apis/admin_reports_v1/service.rb +++ b/generated/google/apis/admin_reports_v1/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'admin/reports/v1/') - @batch_path = 'batch' + @batch_path = 'batch/admin/reports_v1' end # Retrieves a list of activities for a specific customer and application. diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index 09a2e2b82..719a2df12 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20170910' + REVISION = '20170912' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index 547619e57..a2b87aa80 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'analytics/v3/') - @batch_path = 'batch' + @batch_path = 'batch/analytics/v3' end # Returns Analytics data for a view (profile). diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index d5e6c5c1c..def4302fd 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20170830' + REVISION = '20170911' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index d306322e6..caf1e241a 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidenterprise/v1/') - @batch_path = 'batch' + @batch_path = 'batch/androidenterprise/v1' end # Retrieves the details of a device. diff --git a/generated/google/apis/androidpublisher_v1.rb b/generated/google/apis/androidpublisher_v1.rb index d757ef5a0..b2791ef65 100644 --- a/generated/google/apis/androidpublisher_v1.rb +++ b/generated/google/apis/androidpublisher_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV1 VERSION = 'V1' - REVISION = '20170815' + REVISION = '20170913' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v1/service.rb b/generated/google/apis/androidpublisher_v1/service.rb index c2cbff9a6..e3828e7e1 100644 --- a/generated/google/apis/androidpublisher_v1/service.rb +++ b/generated/google/apis/androidpublisher_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidpublisher/v1/applications/') - @batch_path = 'batch' + @batch_path = 'batch/androidpublisher/v1' end # Cancels a user's subscription purchase. The subscription remains valid until diff --git a/generated/google/apis/androidpublisher_v1_1.rb b/generated/google/apis/androidpublisher_v1_1.rb index 1ac2f2b8c..44ec20e2a 100644 --- a/generated/google/apis/androidpublisher_v1_1.rb +++ b/generated/google/apis/androidpublisher_v1_1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV1_1 VERSION = 'V1_1' - REVISION = '20170815' + REVISION = '20170913' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v1_1/service.rb b/generated/google/apis/androidpublisher_v1_1/service.rb index 54ede6f8b..131a27541 100644 --- a/generated/google/apis/androidpublisher_v1_1/service.rb +++ b/generated/google/apis/androidpublisher_v1_1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/') - @batch_path = 'batch' + @batch_path = 'batch/androidpublisher/v1.1' end # Checks the purchase and consumption status of an inapp item. diff --git a/generated/google/apis/blogger_v3/service.rb b/generated/google/apis/blogger_v3/service.rb index 806b56b71..f3bc27612 100644 --- a/generated/google/apis/blogger_v3/service.rb +++ b/generated/google/apis/blogger_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'blogger/v3/') - @batch_path = 'batch' + @batch_path = 'batch/blogger/v3' end # Gets one blog and user info pair by blogId and userId. diff --git a/generated/google/apis/civicinfo_v2/service.rb b/generated/google/apis/civicinfo_v2/service.rb index 69c85d291..061181c23 100644 --- a/generated/google/apis/civicinfo_v2/service.rb +++ b/generated/google/apis/civicinfo_v2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'civicinfo/v2/') - @batch_path = 'batch' + @batch_path = 'batch/civicinfo/v2' end # Searches for political divisions by their natural name or OCD ID. diff --git a/generated/google/apis/cloudfunctions_v1.rb b/generated/google/apis/cloudfunctions_v1.rb index ba47540dd..0547262f6 100644 --- a/generated/google/apis/cloudfunctions_v1.rb +++ b/generated/google/apis/cloudfunctions_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1 VERSION = 'V1' - REVISION = '20170830' + REVISION = '20170914' # 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/cloudfunctions_v1/classes.rb b/generated/google/apis/cloudfunctions_v1/classes.rb index 3b9933a63..dcfbabf19 100644 --- a/generated/google/apis/cloudfunctions_v1/classes.rb +++ b/generated/google/apis/cloudfunctions_v1/classes.rb @@ -229,6 +229,12 @@ module Google # @return [String] attr_accessor :type + # Version id of the function created or updated by an API call. + # This field is only pupulated for Create and Update operations. + # Corresponds to the JSON property `versionId` + # @return [Fixnum] + attr_accessor :version_id + def initialize(**args) update!(**args) end @@ -238,6 +244,7 @@ module Google @request = args[:request] if args.key?(:request) @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) + @version_id = args[:version_id] if args.key?(:version_id) end end diff --git a/generated/google/apis/cloudfunctions_v1/representations.rb b/generated/google/apis/cloudfunctions_v1/representations.rb index ade0d4cac..d6d301ca3 100644 --- a/generated/google/apis/cloudfunctions_v1/representations.rb +++ b/generated/google/apis/cloudfunctions_v1/representations.rb @@ -104,6 +104,7 @@ module Google hash :request, as: 'request' property :target, as: 'target' property :type, as: 'type' + property :version_id, :numeric_string => true, as: 'versionId' end end diff --git a/generated/google/apis/cloudfunctions_v1beta2.rb b/generated/google/apis/cloudfunctions_v1beta2.rb index 122aa7137..7fecee6f1 100644 --- a/generated/google/apis/cloudfunctions_v1beta2.rb +++ b/generated/google/apis/cloudfunctions_v1beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1beta2 VERSION = 'V1beta2' - REVISION = '20170830' + REVISION = '20170914' # 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/cloudfunctions_v1beta2/classes.rb b/generated/google/apis/cloudfunctions_v1beta2/classes.rb index a7bd7812e..7801cf056 100644 --- a/generated/google/apis/cloudfunctions_v1beta2/classes.rb +++ b/generated/google/apis/cloudfunctions_v1beta2/classes.rb @@ -106,6 +106,11 @@ module Google # @return [Google::Apis::CloudfunctionsV1beta2::HttpsTrigger] attr_accessor :https_trigger + # Labels associated with this Cloud Function. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # Output only. Name of the most recent operation modifying the function. If # the function status is `DEPLOYING` or `DELETING`, then it points to the # active operation. @@ -169,6 +174,13 @@ module Google # @return [String] attr_accessor :update_time + # Output only. + # The version identifier of the Cloud Function. Each deployment attempt + # results in a new version of a function being created. + # Corresponds to the JSON property `versionId` + # @return [Fixnum] + attr_accessor :version_id + def initialize(**args) update!(**args) end @@ -179,6 +191,7 @@ module Google @entry_point = args[:entry_point] if args.key?(:entry_point) @event_trigger = args[:event_trigger] if args.key?(:event_trigger) @https_trigger = args[:https_trigger] if args.key?(:https_trigger) + @labels = args[:labels] if args.key?(:labels) @latest_operation = args[:latest_operation] if args.key?(:latest_operation) @name = args[:name] if args.key?(:name) @service_account = args[:service_account] if args.key?(:service_account) @@ -188,6 +201,7 @@ module Google @status = args[:status] if args.key?(:status) @timeout = args[:timeout] if args.key?(:timeout) @update_time = args[:update_time] if args.key?(:update_time) + @version_id = args[:version_id] if args.key?(:version_id) end end @@ -223,6 +237,14 @@ module Google # @return [String] attr_accessor :resource + # The hostname of the service that should be observed. + # If no string is provided, the default service implementing the API will + # be used. For example, `storage.googleapis.com` is the default for all + # event types in the 'google.storage` namespace. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + def initialize(**args) update!(**args) end @@ -232,6 +254,7 @@ module Google @event_type = args[:event_type] if args.key?(:event_type) @failure_policy = args[:failure_policy] if args.key?(:failure_policy) @resource = args[:resource] if args.key?(:resource) + @service = args[:service] if args.key?(:service) end end @@ -513,6 +536,12 @@ module Google # @return [String] attr_accessor :type + # Version id of the function created or updated by an API call. + # This field is only pupulated for Create and Update operations. + # Corresponds to the JSON property `versionId` + # @return [Fixnum] + attr_accessor :version_id + def initialize(**args) update!(**args) end @@ -522,6 +551,7 @@ module Google @request = args[:request] if args.key?(:request) @target = args[:target] if args.key?(:target) @type = args[:type] if args.key?(:type) + @version_id = args[:version_id] if args.key?(:version_id) end end diff --git a/generated/google/apis/cloudfunctions_v1beta2/representations.rb b/generated/google/apis/cloudfunctions_v1beta2/representations.rb index 4bbad26ff..f20e6ee20 100644 --- a/generated/google/apis/cloudfunctions_v1beta2/representations.rb +++ b/generated/google/apis/cloudfunctions_v1beta2/representations.rb @@ -137,6 +137,7 @@ module Google property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger::Representation + hash :labels, as: 'labels' property :latest_operation, as: 'latestOperation' property :name, as: 'name' property :service_account, as: 'serviceAccount' @@ -147,6 +148,7 @@ module Google property :status, as: 'status' property :timeout, as: 'timeout' property :update_time, as: 'updateTime' + property :version_id, :numeric_string => true, as: 'versionId' end end @@ -157,6 +159,7 @@ module Google property :failure_policy, as: 'failurePolicy', class: Google::Apis::CloudfunctionsV1beta2::FailurePolicy, decorator: Google::Apis::CloudfunctionsV1beta2::FailurePolicy::Representation property :resource, as: 'resource' + property :service, as: 'service' end end @@ -230,6 +233,7 @@ module Google hash :request, as: 'request' property :target, as: 'target' property :type, as: 'type' + property :version_id, :numeric_string => true, as: 'versionId' end end diff --git a/generated/google/apis/cloudtrace_v2.rb b/generated/google/apis/cloudtrace_v2.rb index 7469a2af3..f6049b424 100644 --- a/generated/google/apis/cloudtrace_v2.rb +++ b/generated/google/apis/cloudtrace_v2.rb @@ -28,16 +28,13 @@ module Google # @see https://cloud.google.com/trace module CloudtraceV2 VERSION = 'V2' - REVISION = '20170829' + REVISION = '20170905' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' # Write Trace data for a project or application AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append' - - # Read Trace data for a project or application - AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' end end end diff --git a/generated/google/apis/cloudtrace_v2/classes.rb b/generated/google/apis/cloudtrace_v2/classes.rb index fb756196e..90cd64240 100644 --- a/generated/google/apis/cloudtrace_v2/classes.rb +++ b/generated/google/apis/cloudtrace_v2/classes.rb @@ -217,60 +217,6 @@ module Google end end - # The response message for the `ListSpans` method. - class ListSpansResponse - include Google::Apis::Core::Hashable - - # If defined, indicates that there might be more spans that match the - # request. Pass this as the value of `pageToken` in a subsequent request to - # retrieve additional spans. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The requested spans, if there are any in the specified trace. - # Corresponds to the JSON property `spans` - # @return [Array] - attr_accessor :spans - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @spans = args[:spans] if args.key?(:spans) - end - end - - # The response message for the `ListTraces` method. - class ListTracesResponse - include Google::Apis::Core::Hashable - - # If there might be more results than those appearing in this response, then - # `next_page_token` is included. To get the next set of results, call this - # method again using the value of `next_page_token` as `page_token`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # List of trace records returned. - # Corresponds to the JSON property `traces` - # @return [Array] - attr_accessor :traces - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @traces = args[:traces] if args.key?(:traces) - end - end - # Binary module. class Module include Google::Apis::Core::Hashable @@ -744,30 +690,6 @@ module Google end end - # A trace describes how long it takes for an application to perform some - # operations. It consists of a set of spans, each representing - # an operation and including time information and operation details. - class Trace - include Google::Apis::Core::Hashable - - # The resource name of the trace in the following format: - # projects/[PROJECT_ID]/traces/TRACE_ID is a unique identifier for a trace - # within a project. - # The ID is assigned when the trace is created. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - end - end - # Represents a string that might be shortened to a specified length. class TruncatableString include Google::Apis::Core::Hashable diff --git a/generated/google/apis/cloudtrace_v2/representations.rb b/generated/google/apis/cloudtrace_v2/representations.rb index 1d46c0974..e5d9096f0 100644 --- a/generated/google/apis/cloudtrace_v2/representations.rb +++ b/generated/google/apis/cloudtrace_v2/representations.rb @@ -64,18 +64,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListSpansResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListTracesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Module class Representation < Google::Apis::Core::JsonRepresentation; end @@ -130,12 +118,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Trace - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class TruncatableString class Representation < Google::Apis::Core::JsonRepresentation; end @@ -205,24 +187,6 @@ module Google end end - class ListSpansResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :spans, as: 'spans', class: Google::Apis::CloudtraceV2::Span, decorator: Google::Apis::CloudtraceV2::Span::Representation - - end - end - - class ListTracesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :traces, as: 'traces', class: Google::Apis::CloudtraceV2::Trace, decorator: Google::Apis::CloudtraceV2::Trace::Representation - - end - end - class Module # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -335,13 +299,6 @@ module Google end end - class Trace - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - class TruncatableString # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudtrace_v2/service.rb b/generated/google/apis/cloudtrace_v2/service.rb index f069d7241..70ae64fe9 100644 --- a/generated/google/apis/cloudtrace_v2/service.rb +++ b/generated/google/apis/cloudtrace_v2/service.rb @@ -88,107 +88,6 @@ module Google execute_or_queue_command(command, &block) end - # Returns of a list of traces that match the specified filter conditions. - # @param [String] parent - # Required. The project where the trace data is stored. The format - # is `projects/PROJECT_ID`. - # @param [String] end_time - # Optional. Do not return traces whose start time is later than this time. - # @param [String] filter - # Opional. Return only traces that match this - # [trace filter](/trace/docs/trace-filters). Example: - # "label:/http/url root:/_ah/background my_label:17" - # @param [String] order_by - # Optional. A single field used to sort the returned traces. - # Only the following field names can be used: - # * `trace_id`: the trace's ID field - # * `name`: the root span's resource name - # * `duration`: the difference between the root span's start time and end time - # * `start`: the start time of the root span - # Sorting is in ascending order unless `desc` is appended to the sort field name. - # Example: `"name desc"`). - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. - # Non-positive values are ignored. The presence of `next_page_token` in the - # response indicates that more results might be available, even if fewer than - # the maximum number of results is returned by this request. - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. `page_token` must be the value of - # `next_page_token` from the previous response. The values of other method - # parameters should be identical to those in the previous call. - # @param [String] start_time - # Optional. Do not return traces whose end time is earlier than this time. - # @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::CloudtraceV2::ListTracesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudtraceV2::ListTracesResponse] - # - # @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 list_project_traces(parent, end_time: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}/traces', options) - command.response_representation = Google::Apis::CloudtraceV2::ListTracesResponse::Representation - command.response_class = Google::Apis::CloudtraceV2::ListTracesResponse - command.params['parent'] = parent unless parent.nil? - command.query['endTime'] = end_time unless end_time.nil? - command.query['filter'] = filter unless filter.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a list of spans within a trace. - # @param [String] parent - # Required: The resource name of the trace containing the spans to list. - # The format is `projects/PROJECT_ID/traces/TRACE_ID`. - # @param [String] page_token - # Optional. If present, then retrieve the next batch of results from the - # preceding call to this method. `page_token` must be the value of - # `next_page_token` from the previous response. The values of other method - # parameters should be identical to those in the previous call. - # @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::CloudtraceV2::ListSpansResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudtraceV2::ListSpansResponse] - # - # @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 list_project_trace_spans(parent, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/{+parent}:listSpans', options) - command.response_representation = Google::Apis::CloudtraceV2::ListSpansResponse::Representation - command.response_class = Google::Apis::CloudtraceV2::ListSpansResponse - command.params['parent'] = parent unless parent.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates a new Span. # @param [String] name # The resource name of the span in the following format: diff --git a/generated/google/apis/clouduseraccounts_alpha/service.rb b/generated/google/apis/clouduseraccounts_alpha/service.rb index 050eb1dac..b72170629 100644 --- a/generated/google/apis/clouduseraccounts_alpha/service.rb +++ b/generated/google/apis/clouduseraccounts_alpha/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'clouduseraccounts/alpha/projects/') - @batch_path = 'batch' + @batch_path = 'batch/clouduseraccounts/alpha' end # Deletes the specified operation resource. diff --git a/generated/google/apis/clouduseraccounts_beta/service.rb b/generated/google/apis/clouduseraccounts_beta/service.rb index c559d3a60..4c74bd7e6 100644 --- a/generated/google/apis/clouduseraccounts_beta/service.rb +++ b/generated/google/apis/clouduseraccounts_beta/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'clouduseraccounts/beta/projects/') - @batch_path = 'batch' + @batch_path = 'batch/clouduseraccounts/beta' end # Deletes the specified operation resource. diff --git a/generated/google/apis/clouduseraccounts_vm_alpha/service.rb b/generated/google/apis/clouduseraccounts_vm_alpha/service.rb index f9cc4cb57..ed62f8949 100644 --- a/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +++ b/generated/google/apis/clouduseraccounts_vm_alpha/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'clouduseraccounts/vm_alpha/projects/') - @batch_path = 'batch' + @batch_path = 'batch/clouduseraccounts/vm_alpha' end # Deletes the specified operation resource. diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index b991f1a9b..60dfb862a 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'compute/alpha/projects/') - @batch_path = 'batch' + @batch_path = 'batch/compute/alpha' end # Retrieves an aggregated list of accelerator types. diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index 90ab0d15f..f7674ab63 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20170825' + REVISION = '20170901' # 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/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 1262965f1..c38ec45ae 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -1093,6 +1093,17 @@ module Google # @return [Hash] attr_accessor :metadata + # Minimum cpu/platform to be used by this instance. The instance may be + # scheduled on the specified or newer cpu/platform. Applicable values are the + # friendly names of CPU platforms, such as + # minCpuPlatform: "Intel Haswell" or + # minCpuPlatform: "Intel Sandy Bridge". For more + # information, read + # Specifying a Minimum CPU Platform. + # Corresponds to the JSON property `minCpuPlatform` + # @return [String] + attr_accessor :min_cpu_platform + # The set of Google API scopes to be made available on all of the # node VMs under the "default" service account. # The following scopes are recommended, but not required, and by default are @@ -1143,6 +1154,7 @@ module Google @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count) @machine_type = args[:machine_type] if args.key?(:machine_type) @metadata = args[:metadata] if args.key?(:metadata) + @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @preemptible = args[:preemptible] if args.key?(:preemptible) @service_account = args[:service_account] if args.key?(:service_account) diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 288faad08..8d6d940b3 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -547,6 +547,7 @@ module Google property :local_ssd_count, as: 'localSsdCount' property :machine_type, as: 'machineType' hash :metadata, as: 'metadata' + property :min_cpu_platform, as: 'minCpuPlatform' collection :oauth_scopes, as: 'oauthScopes' property :preemptible, as: 'preemptible' property :service_account, as: 'serviceAccount' diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index dc6a71001..a75c5943f 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20170825' + REVISION = '20170901' # 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/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index d7cb6da5f..93d446a4d 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -1173,6 +1173,17 @@ module Google # @return [Hash] attr_accessor :metadata + # Minimum cpu/platform to be used by this instance. The instance may be + # scheduled on the specified or newer cpu/platform. Applicable values are the + # friendly names of CPU platforms, such as + # minCpuPlatform: "Intel Haswell" or + # minCpuPlatform: "Intel Sandy Bridge". For more + # information, read + # Specifying a Minimum CPU Platform. + # Corresponds to the JSON property `minCpuPlatform` + # @return [String] + attr_accessor :min_cpu_platform + # The set of Google API scopes to be made available on all of the # node VMs under the "default" service account. # The following scopes are recommended, but not required, and by default are @@ -1210,6 +1221,13 @@ module Google # @return [Array] attr_accessor :tags + # List of kubernetes taints to be applied to each node. + # For more information, including usage and the valid values, see: + # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ + # Corresponds to the JSON property `taints` + # @return [Array] + attr_accessor :taints + def initialize(**args) update!(**args) end @@ -1223,10 +1241,12 @@ module Google @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count) @machine_type = args[:machine_type] if args.key?(:machine_type) @metadata = args[:metadata] if args.key?(:metadata) + @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform) @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) @preemptible = args[:preemptible] if args.key?(:preemptible) @service_account = args[:service_account] if args.key?(:service_account) @tags = args[:tags] if args.key?(:tags) + @taints = args[:taints] if args.key?(:taints) end end @@ -1386,6 +1406,40 @@ module Google end end + # Kubernetes taint is comprised of three fields: key, value, and effect. Effect + # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. + # For more information, including usage and the valid values, see: + # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ + class NodeTaint + include Google::Apis::Core::Hashable + + # Effect for taint. + # Corresponds to the JSON property `effect` + # @return [String] + attr_accessor :effect + + # Key for taint. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Value for taint. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @effect = args[:effect] if args.key?(:effect) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + # This operation resource represents operations that may have happened or are # happening on the cluster. All fields are output only. class Operation diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 4100af19f..c7e036b9c 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -178,6 +178,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NodeTaint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -498,10 +504,13 @@ module Google property :local_ssd_count, as: 'localSsdCount' property :machine_type, as: 'machineType' hash :metadata, as: 'metadata' + property :min_cpu_platform, as: 'minCpuPlatform' collection :oauth_scopes, as: 'oauthScopes' property :preemptible, as: 'preemptible' property :service_account, as: 'serviceAccount' collection :tags, as: 'tags' + collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation + end end @@ -543,6 +552,15 @@ module Google end end + class NodeTaint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :effect, as: 'effect' + property :key, as: 'key' + property :value, as: 'value' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index 62abdf79e..241601615 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20170905' + REVISION = '20170912' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index 295b317c1..ad9382cf8 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'content/v2/') - @batch_path = 'batch' + @batch_path = 'batch/content/v2' end # Returns information about the authenticated user. diff --git a/generated/google/apis/content_v2sandbox.rb b/generated/google/apis/content_v2sandbox.rb index 2a5ea9ba1..e4a25a76f 100644 --- a/generated/google/apis/content_v2sandbox.rb +++ b/generated/google/apis/content_v2sandbox.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2sandbox VERSION = 'V2sandbox' - REVISION = '20170905' + REVISION = '20170912' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2sandbox/service.rb b/generated/google/apis/content_v2sandbox/service.rb index acb2bdb04..f1f769c82 100644 --- a/generated/google/apis/content_v2sandbox/service.rb +++ b/generated/google/apis/content_v2sandbox/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'content/v2sandbox/') - @batch_path = 'batch' + @batch_path = 'batch/content/v2sandbox' end # Marks an order as acknowledged. This method can only be called for non-multi- diff --git a/generated/google/apis/deploymentmanager_alpha/service.rb b/generated/google/apis/deploymentmanager_alpha/service.rb index ee262dee5..28b4607e8 100644 --- a/generated/google/apis/deploymentmanager_alpha/service.rb +++ b/generated/google/apis/deploymentmanager_alpha/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'deploymentmanager/alpha/projects/') - @batch_path = 'batch' + @batch_path = 'batch/deploymentmanager/alpha' end # Deletes a composite type. diff --git a/generated/google/apis/deploymentmanager_v2beta/service.rb b/generated/google/apis/deploymentmanager_v2beta/service.rb index 988e507a8..e19b757c6 100644 --- a/generated/google/apis/deploymentmanager_v2beta/service.rb +++ b/generated/google/apis/deploymentmanager_v2beta/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'deploymentmanager/v2beta/projects/') - @batch_path = 'batch' + @batch_path = 'batch/deploymentmanager/v2beta' end # Deletes a composite type. diff --git a/generated/google/apis/dns_v2beta1/service.rb b/generated/google/apis/dns_v2beta1/service.rb index 24b373ee4..b50150a5b 100644 --- a/generated/google/apis/dns_v2beta1/service.rb +++ b/generated/google/apis/dns_v2beta1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'dns/v2beta1/projects/') - @batch_path = 'batch' + @batch_path = 'batch/dns/v2beta1' end # Atomically update the ResourceRecordSet collection. diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 63ddf9a17..308cbf120 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20170831' + REVISION = '20170905' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/doubleclicksearch_v2/service.rb b/generated/google/apis/doubleclicksearch_v2/service.rb index f4470448b..a240c0b80 100644 --- a/generated/google/apis/doubleclicksearch_v2/service.rb +++ b/generated/google/apis/doubleclicksearch_v2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'doubleclicksearch/v2/') - @batch_path = 'batch' + @batch_path = 'batch/doubleclicksearch/v2' end # Retrieves a list of conversions from a DoubleClick Search engine account. diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 0c72e0b18..f6728f0bd 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20170831' + REVISION = '20170911' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_configuration_v1configuration/service.rb b/generated/google/apis/games_configuration_v1configuration/service.rb index 6eea25537..adbd8588a 100644 --- a/generated/google/apis/games_configuration_v1configuration/service.rb +++ b/generated/google/apis/games_configuration_v1configuration/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'games/v1configuration/') - @batch_path = 'batch' + @batch_path = 'batch/gamesConfiguration/v1configuration' end # Delete the achievement configuration with the given ID. diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index 6fb8754e1..66dc88c94 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20170831' + REVISION = '20170911' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/groupsmigration_v1/service.rb b/generated/google/apis/groupsmigration_v1/service.rb index 1d60b0f44..9a169c0cf 100644 --- a/generated/google/apis/groupsmigration_v1/service.rb +++ b/generated/google/apis/groupsmigration_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'groups/v1/groups/') - @batch_path = 'batch' + @batch_path = 'batch/groupsmigration/v1' end # Inserts a new mail into the archive of the Google group. diff --git a/generated/google/apis/identitytoolkit_v3/service.rb b/generated/google/apis/identitytoolkit_v3/service.rb index e8ccaaf51..60e123606 100644 --- a/generated/google/apis/identitytoolkit_v3/service.rb +++ b/generated/google/apis/identitytoolkit_v3/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/') - @batch_path = 'batch' + @batch_path = 'batch/identitytoolkit/v3' end # Creates the URI used by the IdP to authenticate the user. diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index 6a855a177..29ad3e7ea 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'apps/licensing/v1/product/') - @batch_path = 'batch' + @batch_path = 'batch/licensing/v1' end # Revoke License. diff --git a/generated/google/apis/oauth2_v1/service.rb b/generated/google/apis/oauth2_v1/service.rb index 95bcc8891..b512d969e 100644 --- a/generated/google/apis/oauth2_v1/service.rb +++ b/generated/google/apis/oauth2_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', '') - @batch_path = 'batch' + @batch_path = 'batch/oauth2/v1' end # diff --git a/generated/google/apis/playcustomapp_v1/service.rb b/generated/google/apis/playcustomapp_v1/service.rb index 045951807..d057f2625 100644 --- a/generated/google/apis/playcustomapp_v1/service.rb +++ b/generated/google/apis/playcustomapp_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'playcustomapp/v1/accounts/') - @batch_path = 'batch' + @batch_path = 'batch/playcustomapp/v1' end # Create and publish a new custom app. diff --git a/generated/google/apis/prediction_v1_6/service.rb b/generated/google/apis/prediction_v1_6/service.rb index eeb6a68af..bb5764155 100644 --- a/generated/google/apis/prediction_v1_6/service.rb +++ b/generated/google/apis/prediction_v1_6/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'prediction/v1.6/projects/') - @batch_path = 'batch' + @batch_path = 'batch/prediction/v1.6' end # Submit input and request an output against a hosted model. diff --git a/generated/google/apis/qpx_express_v1/service.rb b/generated/google/apis/qpx_express_v1/service.rb index 53bac3a4b..56885b67b 100644 --- a/generated/google/apis/qpx_express_v1/service.rb +++ b/generated/google/apis/qpx_express_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'qpxExpress/v1/trips/') - @batch_path = 'batch' + @batch_path = 'batch/qpxExpress/v1' end # Returns a list of flights. diff --git a/generated/google/apis/resourceviews_v1beta2/service.rb b/generated/google/apis/resourceviews_v1beta2/service.rb index 06f2667f4..6c3917033 100644 --- a/generated/google/apis/resourceviews_v1beta2/service.rb +++ b/generated/google/apis/resourceviews_v1beta2/service.rb @@ -51,7 +51,7 @@ module Google def initialize super('https://www.googleapis.com/', 'resourceviews/v1beta2/projects/') - @batch_path = 'batch' + @batch_path = 'batch/resourceviews/v1beta2' end # Retrieves the specified zone-specific operation resource. diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index bed1c3bed..8c159a8e6 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20170828' + REVISION = '20170909' # 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/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index 7cb991840..0f5686300 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -1064,11 +1064,10 @@ module Google # @return [String] attr_accessor :resource_container - # DO NOT USE. - # This field is not ready for use yet. - # Corresponds to the JSON property `resourceContainers` - # @return [Array] - attr_accessor :resource_containers + # + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources # Required. Start time of the operation. # Corresponds to the JSON property `startTime` @@ -1097,7 +1096,7 @@ module Google @operation_name = args[:operation_name] if args.key?(:operation_name) @quota_properties = args[:quota_properties] if args.key?(:quota_properties) @resource_container = args[:resource_container] if args.key?(:resource_container) - @resource_containers = args[:resource_containers] if args.key?(:resource_containers) + @resources = args[:resources] if args.key?(:resources) @start_time = args[:start_time] if args.key?(:start_time) @user_labels = args[:user_labels] if args.key?(:user_labels) end @@ -1582,6 +1581,36 @@ module Google end end + # DO NOT USE. + # This definition is not ready for use yet. + class ResourceInfo + include Google::Apis::Core::Hashable + + # The identifier of the parent of this resource instance. + # Must be in one of the following formats: + # - “projects/” + # - “folders/” + # - “organizations/” + # Corresponds to the JSON property `resourceContainer` + # @return [String] + attr_accessor :resource_container + + # Name of the resource. This is used for auditing purposes. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_container = args[:resource_container] if args.key?(:resource_container) + @resource_name = args[:resource_name] if args.key?(:resource_name) + end + end + # class StartReconciliationRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/servicecontrol_v1/representations.rb b/generated/google/apis/servicecontrol_v1/representations.rb index 88c82bb65..b269565e5 100644 --- a/generated/google/apis/servicecontrol_v1/representations.rb +++ b/generated/google/apis/servicecontrol_v1/representations.rb @@ -214,6 +214,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResourceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StartReconciliationRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -471,7 +477,8 @@ module Google property :quota_properties, as: 'quotaProperties', class: Google::Apis::ServicecontrolV1::QuotaProperties, decorator: Google::Apis::ServicecontrolV1::QuotaProperties::Representation property :resource_container, as: 'resourceContainer' - collection :resource_containers, as: 'resourceContainers' + collection :resources, as: 'resources', class: Google::Apis::ServicecontrolV1::ResourceInfo, decorator: Google::Apis::ServicecontrolV1::ResourceInfo::Representation + property :start_time, as: 'startTime' hash :user_labels, as: 'userLabels' end @@ -584,6 +591,14 @@ module Google end end + class ResourceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_container, as: 'resourceContainer' + property :resource_name, as: 'resourceName' + end + end + class StartReconciliationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/servicemanagement_v1.rb b/generated/google/apis/servicemanagement_v1.rb index b4c508564..6f467c2c5 100644 --- a/generated/google/apis/servicemanagement_v1.rb +++ b/generated/google/apis/servicemanagement_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServicemanagementV1 VERSION = 'V1' - REVISION = '20170901' + REVISION = '20170908' # 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/servicemanagement_v1/classes.rb b/generated/google/apis/servicemanagement_v1/classes.rb index 4d5fcb418..c14b1dc72 100644 --- a/generated/google/apis/servicemanagement_v1/classes.rb +++ b/generated/google/apis/servicemanagement_v1/classes.rb @@ -525,7 +525,7 @@ module Google attr_accessor :address # The number of seconds to wait for a response from a request. The default - # deadline for gRPC and HTTP requests is 5 seconds. + # deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # Corresponds to the JSON property `deadline` # @return [Float] attr_accessor :deadline diff --git a/generated/google/apis/serviceuser_v1.rb b/generated/google/apis/serviceuser_v1.rb index 0e454c99f..a189ba54d 100644 --- a/generated/google/apis/serviceuser_v1.rb +++ b/generated/google/apis/serviceuser_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/service-management/ module ServiceuserV1 VERSION = 'V1' - REVISION = '20170901' + REVISION = '20170908' # 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/serviceuser_v1/classes.rb b/generated/google/apis/serviceuser_v1/classes.rb index a1786c014..2c8775410 100644 --- a/generated/google/apis/serviceuser_v1/classes.rb +++ b/generated/google/apis/serviceuser_v1/classes.rb @@ -424,7 +424,7 @@ module Google attr_accessor :address # The number of seconds to wait for a response from a request. The default - # deadline for gRPC and HTTP requests is 5 seconds. + # deadline for gRPC is infinite (no deadline) and HTTP requests is 5 seconds. # Corresponds to the JSON property `deadline` # @return [Float] attr_accessor :deadline diff --git a/generated/google/apis/tasks_v1/service.rb b/generated/google/apis/tasks_v1/service.rb index a09599051..0a3b0f5fb 100644 --- a/generated/google/apis/tasks_v1/service.rb +++ b/generated/google/apis/tasks_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'tasks/v1/') - @batch_path = 'batch' + @batch_path = 'batch/tasks/v1' end # Deletes the authenticated user's specified task list. diff --git a/generated/google/apis/toolresults_v1beta3firstparty.rb b/generated/google/apis/toolresults_v1beta3firstparty.rb deleted file mode 100644 index a03c92fd2..000000000 --- a/generated/google/apis/toolresults_v1beta3firstparty.rb +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/toolresults_v1beta3firstparty/service.rb' -require 'google/apis/toolresults_v1beta3firstparty/classes.rb' -require 'google/apis/toolresults_v1beta3firstparty/representations.rb' - -module Google - module Apis - # Cloud Tool Results firstparty API - # - # Reads and publishes results from Firebase Test Lab. - # - # @see https://firebase.google.com/docs/test-lab/ - module ToolresultsV1beta3firstparty - VERSION = 'V1beta3firstparty' - REVISION = '20170911' - end - end -end diff --git a/generated/google/apis/toolresults_v1beta3firstparty/classes.rb b/generated/google/apis/toolresults_v1beta3firstparty/classes.rb deleted file mode 100644 index c897ffd13..000000000 --- a/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +++ /dev/null @@ -1,2630 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ToolresultsV1beta3firstparty - - # Android app information. - class AndroidAppInfo - include Google::Apis::Core::Hashable - - # The name of the app. Optional - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The package name of the app. Required. - # Corresponds to the JSON property `packageName` - # @return [String] - attr_accessor :package_name - - # The internal version code of the app. Optional. - # Corresponds to the JSON property `versionCode` - # @return [String] - attr_accessor :version_code - - # The version name of the app. Optional. - # Corresponds to the JSON property `versionName` - # @return [String] - attr_accessor :version_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @package_name = args[:package_name] if args.key?(:package_name) - @version_code = args[:version_code] if args.key?(:version_code) - @version_name = args[:version_name] if args.key?(:version_name) - end - end - - # A test of an Android application that can control an Android component - # independently of its normal lifecycle. - # See for more information on types of Android tests. - class AndroidInstrumentationTest - include Google::Apis::Core::Hashable - - # The java package for the test to be executed. Required - # Corresponds to the JSON property `testPackageId` - # @return [String] - attr_accessor :test_package_id - - # The InstrumentationTestRunner class. Required - # Corresponds to the JSON property `testRunnerClass` - # @return [String] - attr_accessor :test_runner_class - - # Each target must be fully qualified with the package name or class name, in - # one of these formats: - "package package_name" - "class package_name. - # class_name" - "class package_name.class_name#method_name" - # If empty, all targets in the module will be run. - # Corresponds to the JSON property `testTargets` - # @return [Array] - attr_accessor :test_targets - - # The flag indicates whether Android Test Orchestrator will be used to run test - # or not. Test orchestrator is used if either: - orchestrator_option field is - # USE_ORCHESTRATOR, and test runner is compatible with orchestrator. Or - - # orchestrator_option field is unspecified or ORCHESTRATOR_OPTION_UNSPECIFIED, - # and test runner is compatible with orchestrator. - # Corresponds to the JSON property `useOrchestrator` - # @return [Boolean] - attr_accessor :use_orchestrator - alias_method :use_orchestrator?, :use_orchestrator - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @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) - @test_targets = args[:test_targets] if args.key?(:test_targets) - @use_orchestrator = args[:use_orchestrator] if args.key?(:use_orchestrator) - 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. - class AndroidRoboTest - include Google::Apis::Core::Hashable - - # 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 - - # The java package for the bootstrap. Optional - # Corresponds to the JSON property `bootstrapPackageId` - # @return [String] - attr_accessor :bootstrap_package_id - - # The runner class for the bootstrap. Optional - # Corresponds to the JSON property `bootstrapRunnerClass` - # @return [String] - attr_accessor :bootstrap_runner_class - - # The max depth of the traversal stack Robo can explore. Optional - # Corresponds to the JSON property `maxDepth` - # @return [Fixnum] - attr_accessor :max_depth - - # The max number of steps/actions Robo can execute. Default is no limit (0). - # Optional - # Corresponds to the JSON property `maxSteps` - # @return [Fixnum] - attr_accessor :max_steps - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_initial_activity = args[:app_initial_activity] if args.key?(:app_initial_activity) - @bootstrap_package_id = args[:bootstrap_package_id] if args.key?(:bootstrap_package_id) - @bootstrap_runner_class = args[:bootstrap_runner_class] if args.key?(:bootstrap_runner_class) - @max_depth = args[:max_depth] if args.key?(:max_depth) - @max_steps = args[:max_steps] if args.key?(:max_steps) - end - end - - # An Android mobile test specification. - class AndroidTest - include Google::Apis::Core::Hashable - - # Android app information. - # Corresponds to the JSON property `androidAppInfo` - # @return [Google::Apis::ToolresultsV1beta3firstparty::AndroidAppInfo] - attr_accessor :android_app_info - - # A test of an Android application that can control an Android component - # independently of its normal lifecycle. - # See for more information on types of Android tests. - # Corresponds to the JSON property `androidInstrumentationTest` - # @return [Google::Apis::ToolresultsV1beta3firstparty::AndroidInstrumentationTest] - attr_accessor :android_instrumentation_test - - # A test of an android application that explores the application on a virtual or - # physical Android device, finding culprits and crashes as it goes. - # Corresponds to the JSON property `androidRoboTest` - # @return [Google::Apis::ToolresultsV1beta3firstparty::AndroidRoboTest] - attr_accessor :android_robo_test - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `testTimeout` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :test_timeout - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_app_info = args[:android_app_info] if args.key?(:android_app_info) - @android_instrumentation_test = args[:android_instrumentation_test] if args.key?(:android_instrumentation_test) - @android_robo_test = args[:android_robo_test] if args.key?(:android_robo_test) - @test_timeout = args[:test_timeout] if args.key?(:test_timeout) - end - end - - # `Any` contains an arbitrary serialized protocol buffer message along with a - # URL that describes the type of the serialized message. - # Protobuf library provides support to pack/unpack Any values in the form of - # utility functions or additional generated methods of the Any type. - # Example 1: Pack and unpack a message in C++. - # Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) ` ... ` - # Example 2: Pack and unpack a message in Java. - # Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) ` foo = any. - # unpack(Foo.class); ` - # Example 3: Pack and unpack a message in Python. - # foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any. - # Unpack(foo) ... - # Example 4: Pack and unpack a message in Go - # foo := &pb.Foo`...` any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo`` if - # err := ptypes.UnmarshalAny(any, foo); err != nil ` ... ` - # The pack methods provided by protobuf library will by default use 'type. - # googleapis.com/full.type.name' as the type URL and the unpack methods only use - # the fully qualified type name after the last '/' in the type URL, for example " - # foo.bar.com/x/y.z" will yield type name "y.z". - # JSON ==== The JSON representation of an `Any` value uses the regular - # representation of the deserialized, embedded message, with an additional field - # `@type` which contains the type URL. Example: - # package google.profile; message Person ` string first_name = 1; string - # last_name = 2; ` - # ` "@type": "type.googleapis.com/google.profile.Person", "firstName": , " - # lastName": ` - # If the embedded message type is well-known and has a custom JSON - # representation, that representation will be embedded adding a field `value` - # which holds the custom JSON in addition to the `@type` field. Example (for - # message [google.protobuf.Duration][]): - # ` "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" ` - class Any - include Google::Apis::Core::Hashable - - # A URL/resource name whose content describes the type of the serialized - # protocol buffer message. - # For URLs which use the scheme `http`, `https`, or no scheme, the following - # restrictions and interpretations apply: - # * If no scheme is provided, `https` is assumed. * The last segment of the URL' - # s path must represent the fully qualified name of the type (as in `path/google. - # protobuf.Duration`). The name should be in a canonical form (e.g., leading "." - # is not accepted). * An HTTP GET on the URL must yield a [google.protobuf.Type][ - # ] value in binary format, or produce an error. * Applications are allowed to - # cache lookup results based on the URL, or have them precompiled into a binary - # to avoid any lookup. Therefore, binary compatibility needs to be preserved on - # changes to types. (Use versioned type names to manage breaking changes.) - # Schemes other than `http`, `https` (or the empty scheme) might be used with - # implementation specific semantics. - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - # Must be a valid serialized protocol buffer of the above specified type. - # Corresponds to the JSON property `value` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type_url = args[:type_url] if args.key?(:type_url) - @value = args[:value] if args.key?(:value) - end - end - - # - class AppStartTime - include Google::Apis::Core::Hashable - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `fullyDrawnTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :fully_drawn_time - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `initialDisplayTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :initial_display_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fully_drawn_time = args[:fully_drawn_time] if args.key?(:fully_drawn_time) - @initial_display_time = args[:initial_display_time] if args.key?(:initial_display_time) - end - end - - # Encapsulates the metadata for basic sample series represented by a line chart - class BasicPerfSampleSeries - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `perfMetricType` - # @return [String] - attr_accessor :perf_metric_type - - # - # Corresponds to the JSON property `perfUnit` - # @return [String] - attr_accessor :perf_unit - - # - # Corresponds to the JSON property `sampleSeriesLabel` - # @return [String] - attr_accessor :sample_series_label - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @perf_metric_type = args[:perf_metric_type] if args.key?(:perf_metric_type) - @perf_unit = args[:perf_unit] if args.key?(:perf_unit) - @sample_series_label = args[:sample_series_label] if args.key?(:sample_series_label) - end - end - - # The request must provide up to a maximum of 5000 samples to be created; a - # larger sample size will cause an INVALID_ARGUMENT error - class BatchCreatePerfSamplesRequest - include Google::Apis::Core::Hashable - - # The set of PerfSamples to create should not include existing timestamps - # Corresponds to the JSON property `perfSamples` - # @return [Array] - attr_accessor :perf_samples - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @perf_samples = args[:perf_samples] if args.key?(:perf_samples) - end - end - - # - class BatchCreatePerfSamplesResponse - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `perfSamples` - # @return [Array] - attr_accessor :perf_samples - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @perf_samples = args[:perf_samples] if args.key?(:perf_samples) - end - end - - # - class CpuInfo - include Google::Apis::Core::Hashable - - # description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' - # Corresponds to the JSON property `cpuProcessor` - # @return [String] - attr_accessor :cpu_processor - - # the CPU clock speed in GHz - # Corresponds to the JSON property `cpuSpeedInGhz` - # @return [Float] - attr_accessor :cpu_speed_in_ghz - - # the number of CPU cores - # Corresponds to the JSON property `numberOfCores` - # @return [Fixnum] - attr_accessor :number_of_cores - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cpu_processor = args[:cpu_processor] if args.key?(:cpu_processor) - @cpu_speed_in_ghz = args[:cpu_speed_in_ghz] if args.key?(:cpu_speed_in_ghz) - @number_of_cores = args[:number_of_cores] if args.key?(:number_of_cores) - end - end - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - class Duration - include Google::Apis::Core::Hashable - - # Signed fractions of a second at nanosecond resolution of the span of time. - # Durations less than one second are represented with a 0 `seconds` field and a - # positive or negative `nanos` field. For durations of one second or more, a non- - # zero value for the `nanos` field must be of the same sign as the `seconds` - # field. Must be from -999,999,999 to +999,999,999 inclusive. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576, - # 000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/ - # hr * 24 hr/day * 365.25 days/year * 10000 years - # Corresponds to the JSON property `seconds` - # @return [Fixnum] - attr_accessor :seconds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nanos = args[:nanos] if args.key?(:nanos) - @seconds = args[:seconds] if args.key?(:seconds) - end - end - - # An Execution represents a collection of Steps. For instance, it could - # represent: - a mobile test executed across a range of device configurations - - # a jenkins job with a build step followed by a test step - # The maximum size of an execution message is 1 MiB. - # An Execution can be updated until its state is set to COMPLETE at which point - # it becomes immutable. - class Execution - include Google::Apis::Core::Hashable - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `completionTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :completion_time - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `creationTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :creation_time - - # A unique identifier within a History for this Execution. - # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - # - In response always set - In create/update request: never set - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # Interprets a result so that humans and machines can act on it. - # Corresponds to the JSON property `outcome` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Outcome] - attr_accessor :outcome - - # The details about how to run the execution. - # Corresponds to the JSON property `specification` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Specification] - attr_accessor :specification - - # The initial state is IN_PROGRESS. - # The only legal state transitions is from IN_PROGRESS to COMPLETE. - # A PRECONDITION_FAILED will be returned if an invalid transition is requested. - # The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be - # returned if the state is set to COMPLETE multiple times. - # If the state is set to COMPLETE, all the in-progress steps within the - # execution will be set as COMPLETE. If the outcome of the step is not set, the - # outcome will be set to INCONCLUSIVE. - # - In response always set - In create/update request: optional - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # TestExecution Matrix ID that the TestExecutionService uses. - # - In response: present if set by create - In create: optional - In update: - # never set - # Corresponds to the JSON property `testExecutionMatrixId` - # @return [String] - attr_accessor :test_execution_matrix_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @completion_time = args[:completion_time] if args.key?(:completion_time) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @outcome = args[:outcome] if args.key?(:outcome) - @specification = args[:specification] if args.key?(:specification) - @state = args[:state] if args.key?(:state) - @test_execution_matrix_id = args[:test_execution_matrix_id] if args.key?(:test_execution_matrix_id) - end - end - - # - class FailureDetail - include Google::Apis::Core::Hashable - - # If the failure was severe because the system under test crashed. - # Corresponds to the JSON property `crashed` - # @return [Boolean] - attr_accessor :crashed - alias_method :crashed?, :crashed - - # If an app is not installed and thus no test can be run with the app. This - # might be caused by trying to run a test on an unsupported platform. - # Corresponds to the JSON property `notInstalled` - # @return [Boolean] - attr_accessor :not_installed - alias_method :not_installed?, :not_installed - - # If a native process other than the app crashed. - # Corresponds to the JSON property `otherNativeCrash` - # @return [Boolean] - attr_accessor :other_native_crash - alias_method :other_native_crash?, :other_native_crash - - # If the test overran some time limit, and that is why it failed. - # Corresponds to the JSON property `timedOut` - # @return [Boolean] - attr_accessor :timed_out - alias_method :timed_out?, :timed_out - - # If the robo was unable to crawl the app; perhaps because the app did not start. - # Corresponds to the JSON property `unableToCrawl` - # @return [Boolean] - attr_accessor :unable_to_crawl - alias_method :unable_to_crawl?, :unable_to_crawl - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @crashed = args[:crashed] if args.key?(:crashed) - @not_installed = args[:not_installed] if args.key?(:not_installed) - @other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash) - @timed_out = args[:timed_out] if args.key?(:timed_out) - @unable_to_crawl = args[:unable_to_crawl] if args.key?(:unable_to_crawl) - end - end - - # A reference to a file. - class FileReference - include Google::Apis::Core::Hashable - - # The URI of a file stored in Google Cloud Storage. - # For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in - # gsutil format: gs://mybucket/path/to/test.xml with version-specific info, gs:// - # mybucket/path/to/test.xml#1360383693690000 - # An INVALID_ARGUMENT error will be returned if the URI format is not supported. - # - In response: always set - In create/update request: always set - # Corresponds to the JSON property `fileUri` - # @return [String] - attr_accessor :file_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_uri = args[:file_uri] if args.key?(:file_uri) - end - end - - # A History represents a sorted list of Executions ordered by the - # start_timestamp_millis field (descending). It can be used to group all the - # Executions of a continuous build. - # Note that the ordering only operates on one-dimension. If a repository has - # multiple branches, it means that multiple histories will need to be used in - # order to order Executions per branch. - class History - include Google::Apis::Core::Hashable - - # A short human-readable (plain text) name to display in the UI. Maximum of 100 - # characters. - # - In response: present if set during create. - In create request: optional - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # A unique identifier within a project for this History. - # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - # - In response always set - In create request: never set - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # A name to uniquely identify a history within a project. Maximum of 100 - # characters. - # - In response always set - In create request: always set - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @history_id = args[:history_id] if args.key?(:history_id) - @name = args[:name] if args.key?(:name) - end - end - - # An image, with a link to the main image and a thumbnail. - class Image - include Google::Apis::Core::Hashable - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by [ - # gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - Flexible enough to meet - # unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of [google.rpc.Code][ - # ], but it may accept additional error codes if needed. The error message - # should be a developer-facing English message that helps developers *understand* - # and *resolve* the error. If a localized user-facing error message is needed, - # put the localized message in the error details or localize it in the client. - # The optional error details may contain arbitrary information about the error. - # There is a predefined set of error detail types in the package `google.rpc` - # that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a consistent developer - # experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may have a - # `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the ` - # Status` message should be used directly inside batch response, one for each - # error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be represented - # directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Status] - attr_accessor :error - - # A reference to a ToolExecution output file. - # Corresponds to the JSON property `sourceImage` - # @return [Google::Apis::ToolresultsV1beta3firstparty::ToolOutputReference] - attr_accessor :source_image - - # The step to which the image is attached. - # Always set. - # Corresponds to the JSON property `stepId` - # @return [String] - attr_accessor :step_id - - # A single thumbnail, with its size and format. - # Corresponds to the JSON property `thumbnail` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Thumbnail] - attr_accessor :thumbnail - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error = args[:error] if args.key?(:error) - @source_image = args[:source_image] if args.key?(:source_image) - @step_id = args[:step_id] if args.key?(:step_id) - @thumbnail = args[:thumbnail] if args.key?(:thumbnail) - end - end - - # - class InconclusiveDetail - include Google::Apis::Core::Hashable - - # If the end user aborted the test execution before a pass or fail could be - # determined. For example, the user pressed ctrl-c which sent a kill signal to - # the test runner while the test was running. - # Corresponds to the JSON property `abortedByUser` - # @return [Boolean] - attr_accessor :aborted_by_user - alias_method :aborted_by_user?, :aborted_by_user - - # If the test runner could not determine success or failure because the test - # depends on a component other than the system under test which failed. - # For example, a mobile test requires provisioning a device where the test - # executes, and that provisioning can fail. - # Corresponds to the JSON property `infrastructureFailure` - # @return [Boolean] - attr_accessor :infrastructure_failure - alias_method :infrastructure_failure?, :infrastructure_failure - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @aborted_by_user = args[:aborted_by_user] if args.key?(:aborted_by_user) - @infrastructure_failure = args[:infrastructure_failure] if args.key?(:infrastructure_failure) - end - end - - # - class ListExecutionsResponse - include Google::Apis::Core::Hashable - - # Executions. - # Always set. - # Corresponds to the JSON property `executions` - # @return [Array] - attr_accessor :executions - - # A continuation token to resume the query at the next item. - # Will only be set if there are more Executions to fetch. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @executions = args[:executions] if args.key?(:executions) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Response message for HistoryService.List - class ListHistoriesResponse - include Google::Apis::Core::Hashable - - # Histories. - # Corresponds to the JSON property `histories` - # @return [Array] - attr_accessor :histories - - # A continuation token to resume the query at the next item. - # Will only be set if there are more histories to fetch. - # Tokens are valid for up to one hour from the time of the first list request. - # For instance, if you make a list request at 1PM and use the token from this - # first request 10 minutes later, the token from this second response will only - # be valid for 50 minutes. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @histories = args[:histories] if args.key?(:histories) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # - class ListPerfSampleSeriesResponse - include Google::Apis::Core::Hashable - - # The resulting PerfSampleSeries sorted by id - # Corresponds to the JSON property `perfSampleSeries` - # @return [Array] - attr_accessor :perf_sample_series - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @perf_sample_series = args[:perf_sample_series] if args.key?(:perf_sample_series) - end - end - - # - class ListPerfSamplesResponse - include Google::Apis::Core::Hashable - - # Optional, returned if result size exceeds the page size specified in the - # request (or the default page size, 500, if unspecified). It indicates the last - # sample timestamp to be used as page_token in subsequent request - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # - # Corresponds to the JSON property `perfSamples` - # @return [Array] - attr_accessor :perf_samples - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @perf_samples = args[:perf_samples] if args.key?(:perf_samples) - end - end - - # - class ListScreenshotClustersResponse - include Google::Apis::Core::Hashable - - # The set of clustres associated with an execution Always set - # Corresponds to the JSON property `clusters` - # @return [Array] - attr_accessor :clusters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @clusters = args[:clusters] if args.key?(:clusters) - end - end - - # A response containing the thumbnails in a step. - class ListStepThumbnailsResponse - include Google::Apis::Core::Hashable - - # A continuation token to resume the query at the next item. - # If set, indicates that there are more thumbnails to read, by calling list - # again with this value in the page_token field. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # A list of image data. - # Images are returned in a deterministic order; they are ordered by these - # factors, in order of importance: * First, by their associated test case. - # Images without a test case are considered greater than images with one. * - # Second, by their creation time. Images without a creation time are greater - # than images with one. * Third, by the order in which they were added to the - # step (by calls to CreateStep or UpdateStep). - # Corresponds to the JSON property `thumbnails` - # @return [Array] - attr_accessor :thumbnails - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @thumbnails = args[:thumbnails] if args.key?(:thumbnails) - end - end - - # Response message for StepService.List. - class ListStepsResponse - include Google::Apis::Core::Hashable - - # A continuation token to resume the query at the next item. - # If set, indicates that there are more steps to read, by calling list again - # with this value in the page_token field. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Steps. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @steps = args[:steps] if args.key?(:steps) - end - end - - # - class MemoryInfo - include Google::Apis::Core::Hashable - - # Maximum memory that can be allocated to the process in KiB - # Corresponds to the JSON property `memoryCapInKibibyte` - # @return [Fixnum] - attr_accessor :memory_cap_in_kibibyte - - # Total memory available on the device in KiB - # Corresponds to the JSON property `memoryTotalInKibibyte` - # @return [Fixnum] - attr_accessor :memory_total_in_kibibyte - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @memory_cap_in_kibibyte = args[:memory_cap_in_kibibyte] if args.key?(:memory_cap_in_kibibyte) - @memory_total_in_kibibyte = args[:memory_total_in_kibibyte] if args.key?(:memory_total_in_kibibyte) - end - end - - # Interprets a result so that humans and machines can act on it. - class Outcome - include Google::Apis::Core::Hashable - - # More information about a FAILURE outcome. - # Returns INVALID_ARGUMENT if this field is set but the summary is not FAILURE. - # Optional - # Corresponds to the JSON property `failureDetail` - # @return [Google::Apis::ToolresultsV1beta3firstparty::FailureDetail] - attr_accessor :failure_detail - - # More information about an INCONCLUSIVE outcome. - # Returns INVALID_ARGUMENT if this field is set but the summary is not - # INCONCLUSIVE. - # Optional - # Corresponds to the JSON property `inconclusiveDetail` - # @return [Google::Apis::ToolresultsV1beta3firstparty::InconclusiveDetail] - attr_accessor :inconclusive_detail - - # More information about a SKIPPED outcome. - # Returns INVALID_ARGUMENT if this field is set but the summary is not SKIPPED. - # Optional - # Corresponds to the JSON property `skippedDetail` - # @return [Google::Apis::ToolresultsV1beta3firstparty::SkippedDetail] - attr_accessor :skipped_detail - - # More information about a SUCCESS outcome. - # Returns INVALID_ARGUMENT if this field is set but the summary is not SUCCESS. - # Optional - # Corresponds to the JSON property `successDetail` - # @return [Google::Apis::ToolresultsV1beta3firstparty::SuccessDetail] - attr_accessor :success_detail - - # The simplest way to interpret a result. - # Required - # Corresponds to the JSON property `summary` - # @return [String] - attr_accessor :summary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @failure_detail = args[:failure_detail] if args.key?(:failure_detail) - @inconclusive_detail = args[:inconclusive_detail] if args.key?(:inconclusive_detail) - @skipped_detail = args[:skipped_detail] if args.key?(:skipped_detail) - @success_detail = args[:success_detail] if args.key?(:success_detail) - @summary = args[:summary] if args.key?(:summary) - end - end - - # Encapsulates performance environment info - class PerfEnvironment - include Google::Apis::Core::Hashable - - # CPU related environment info - # Corresponds to the JSON property `cpuInfo` - # @return [Google::Apis::ToolresultsV1beta3firstparty::CpuInfo] - attr_accessor :cpu_info - - # Memory related environment info - # Corresponds to the JSON property `memoryInfo` - # @return [Google::Apis::ToolresultsV1beta3firstparty::MemoryInfo] - attr_accessor :memory_info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cpu_info = args[:cpu_info] if args.key?(:cpu_info) - @memory_info = args[:memory_info] if args.key?(:memory_info) - end - end - - # A summary of perf metrics collected and performance environment info - class PerfMetricsSummary - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `appStartTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::AppStartTime] - attr_accessor :app_start_time - - # A tool results execution ID. - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # A tool results history ID. - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # Encapsulates performance environment info - # Corresponds to the JSON property `perfEnvironment` - # @return [Google::Apis::ToolresultsV1beta3firstparty::PerfEnvironment] - attr_accessor :perf_environment - - # Set of resource collected - # Corresponds to the JSON property `perfMetrics` - # @return [Array] - attr_accessor :perf_metrics - - # The cloud project - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # A tool results step ID. - # Corresponds to the JSON property `stepId` - # @return [String] - attr_accessor :step_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @app_start_time = args[:app_start_time] if args.key?(:app_start_time) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @history_id = args[:history_id] if args.key?(:history_id) - @perf_environment = args[:perf_environment] if args.key?(:perf_environment) - @perf_metrics = args[:perf_metrics] if args.key?(:perf_metrics) - @project_id = args[:project_id] if args.key?(:project_id) - @step_id = args[:step_id] if args.key?(:step_id) - end - end - - # Resource representing a single performance measure or data point - class PerfSample - include Google::Apis::Core::Hashable - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `sampleTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :sample_time - - # Value observed - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sample_time = args[:sample_time] if args.key?(:sample_time) - @value = args[:value] if args.key?(:value) - end - end - - # Resource representing a collection of performance samples (or data points) - class PerfSampleSeries - include Google::Apis::Core::Hashable - - # Encapsulates the metadata for basic sample series represented by a line chart - # Corresponds to the JSON property `basicPerfSampleSeries` - # @return [Google::Apis::ToolresultsV1beta3firstparty::BasicPerfSampleSeries] - attr_accessor :basic_perf_sample_series - - # A tool results execution ID. - # Corresponds to the JSON property `executionId` - # @return [String] - attr_accessor :execution_id - - # A tool results history ID. - # Corresponds to the JSON property `historyId` - # @return [String] - attr_accessor :history_id - - # The cloud project - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # A sample series id - # Corresponds to the JSON property `sampleSeriesId` - # @return [String] - attr_accessor :sample_series_id - - # A tool results step ID. - # Corresponds to the JSON property `stepId` - # @return [String] - attr_accessor :step_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @basic_perf_sample_series = args[:basic_perf_sample_series] if args.key?(:basic_perf_sample_series) - @execution_id = args[:execution_id] if args.key?(:execution_id) - @history_id = args[:history_id] if args.key?(:history_id) - @project_id = args[:project_id] if args.key?(:project_id) - @sample_series_id = args[:sample_series_id] if args.key?(:sample_series_id) - @step_id = args[:step_id] if args.key?(:step_id) - end - end - - # Per-project settings for the Tool Results service. - class ProjectSettings - include Google::Apis::Core::Hashable - - # The name of the Google Cloud Storage bucket to which results are written. - # By default, this is unset. - # In update request: optional In response: optional - # Corresponds to the JSON property `defaultBucket` - # @return [String] - attr_accessor :default_bucket - - # The name of the project's settings. - # Always of the form: projects/`project-id`/settings - # In update request: never set In response: always set - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_bucket = args[:default_bucket] if args.key?(:default_bucket) - @name = args[:name] if args.key?(:name) - end - end - - # Request message for StepService.PublishXunitXmlFiles. - class PublishXunitXmlFilesRequest - include Google::Apis::Core::Hashable - - # URI of the Xunit XML files to publish. - # The maximum size of the file this reference is pointing to is 50MB. - # Required. - # Corresponds to the JSON property `xunitXmlFiles` - # @return [Array] - attr_accessor :xunit_xml_files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @xunit_xml_files = args[:xunit_xml_files] if args.key?(:xunit_xml_files) - end - end - - # - class Screen - include Google::Apis::Core::Hashable - - # File reference of the png file. Required. - # Corresponds to the JSON property `fileReference` - # @return [String] - attr_accessor :file_reference - - # Locale of the device that the screenshot was taken on. Required. - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # Model of the device that the screenshot was taken on. Required. - # Corresponds to the JSON property `model` - # @return [String] - attr_accessor :model - - # OS version of the device that the screenshot was taken on. Required. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @file_reference = args[:file_reference] if args.key?(:file_reference) - @locale = args[:locale] if args.key?(:locale) - @model = args[:model] if args.key?(:model) - @version = args[:version] if args.key?(:version) - end - end - - # - class ScreenshotCluster - include Google::Apis::Core::Hashable - - # A string that describes the activity of every screen in the cluster. - # Corresponds to the JSON property `activity` - # @return [String] - attr_accessor :activity - - # A unique identifier for the cluster. - # Corresponds to the JSON property `clusterId` - # @return [String] - attr_accessor :cluster_id - - # A singular screen that represents the cluster as a whole. This screen will act - # as the "cover" of the entire cluster. When users look at the clusters, only - # the key screen from each cluster will be shown. Which screen is the key screen - # is determined by the ClusteringAlgorithm - # Corresponds to the JSON property `keyScreen` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Screen] - attr_accessor :key_screen - - # Full list of screens. - # Corresponds to the JSON property `screens` - # @return [Array] - attr_accessor :screens - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @activity = args[:activity] if args.key?(:activity) - @cluster_id = args[:cluster_id] if args.key?(:cluster_id) - @key_screen = args[:key_screen] if args.key?(:key_screen) - @screens = args[:screens] if args.key?(:screens) - end - end - - # - class SkippedDetail - include Google::Apis::Core::Hashable - - # If the App doesn't support the specific API level. - # Corresponds to the JSON property `incompatibleAppVersion` - # @return [Boolean] - attr_accessor :incompatible_app_version - alias_method :incompatible_app_version?, :incompatible_app_version - - # If the App doesn't run on the specific architecture, for example, x86. - # Corresponds to the JSON property `incompatibleArchitecture` - # @return [Boolean] - attr_accessor :incompatible_architecture - alias_method :incompatible_architecture?, :incompatible_architecture - - # If the requested OS version doesn't run on the specific device model. - # Corresponds to the JSON property `incompatibleDevice` - # @return [Boolean] - attr_accessor :incompatible_device - alias_method :incompatible_device?, :incompatible_device - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @incompatible_app_version = args[:incompatible_app_version] if args.key?(:incompatible_app_version) - @incompatible_architecture = args[:incompatible_architecture] if args.key?(:incompatible_architecture) - @incompatible_device = args[:incompatible_device] if args.key?(:incompatible_device) - end - end - - # The details about how to run the execution. - class Specification - include Google::Apis::Core::Hashable - - # An Android mobile test specification. - # Corresponds to the JSON property `androidTest` - # @return [Google::Apis::ToolresultsV1beta3firstparty::AndroidTest] - attr_accessor :android_test - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @android_test = args[:android_test] if args.key?(:android_test) - end - end - - # A stacktrace. - class StackTrace - include Google::Apis::Core::Hashable - - # Exception cluster ID - # Corresponds to the JSON property `clusterId` - # @return [String] - attr_accessor :cluster_id - - # The stack trace message. - # Required - # Corresponds to the JSON property `exception` - # @return [String] - attr_accessor :exception - - # Exception report ID - # Corresponds to the JSON property `reportId` - # @return [String] - attr_accessor :report_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_id = args[:cluster_id] if args.key?(:cluster_id) - @exception = args[:exception] if args.key?(:exception) - @report_id = args[:report_id] if args.key?(:report_id) - end - end - - # The `Status` type defines a logical error model that is suitable for different - # programming environments, including REST APIs and RPC APIs. It is used by [ - # gRPC](https://github.com/grpc). The error model is designed to be: - # - Simple to use and understand for most users - Flexible enough to meet - # unexpected needs - # # Overview - # The `Status` message contains three pieces of data: error code, error message, - # and error details. The error code should be an enum value of [google.rpc.Code][ - # ], but it may accept additional error codes if needed. The error message - # should be a developer-facing English message that helps developers *understand* - # and *resolve* the error. If a localized user-facing error message is needed, - # put the localized message in the error details or localize it in the client. - # The optional error details may contain arbitrary information about the error. - # There is a predefined set of error detail types in the package `google.rpc` - # that can be used for common error conditions. - # # Language mapping - # The `Status` message is the logical representation of the error model, but it - # is not necessarily the actual wire format. When the `Status` message is - # exposed in different client libraries and different wire protocols, it can be - # mapped differently. For example, it will likely be mapped to some exceptions - # in Java, but more likely mapped to some error codes in C. - # # Other uses - # The error model and the `Status` message can be used in a variety of - # environments, either with or without APIs, to provide a consistent developer - # experience across different environments. - # Example uses of this error model include: - # - Partial errors. If a service needs to return partial errors to the client, - # it may embed the `Status` in the normal response to indicate the partial - # errors. - # - Workflow errors. A typical workflow has multiple steps. Each step may have a - # `Status` message for error reporting. - # - Batch operations. If a client uses batch request and batch response, the ` - # Status` message should be used directly inside batch response, one for each - # error sub-response. - # - Asynchronous operations. If an API call embeds asynchronous operation - # results in its response, the status of those operations should be represented - # directly using the `Status` message. - # - Logging. If some API errors are stored in logs, the message `Status` could - # be used directly after any stripping needed for security/privacy reasons. - class Status - include Google::Apis::Core::Hashable - - # The status code, which should be an enum value of [google.rpc.Code][]. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # A list of messages that carry the error details. There is a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array] - attr_accessor :details - - # A developer-facing error message, which should be in English. Any user-facing - # error message should be localized and sent in the [google.rpc.Status.details][] - # field, or localized by the client. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @details = args[:details] if args.key?(:details) - @message = args[:message] if args.key?(:message) - end - end - - # A Step represents a single operation performed as part of Execution. A step - # can be used to represent the execution of a tool ( for example a test runner - # execution or an execution of a compiler). - # Steps can overlap (for instance two steps might have the same start time if - # some operations are done in parallel). - # Here is an example, let's consider that we have a continuous build is - # executing a test runner for each iteration. The workflow would look like: - - # user creates a Execution with id 1 - user creates an TestExecutionStep with id - # 100 for Execution 1 - user update TestExecutionStep with id 100 to add a raw - # xml log + the service parses the xml logs and returns a TestExecutionStep with - # updated TestResult(s). - user update the status of TestExecutionStep with id - # 100 to COMPLETE - # A Step can be updated until its state is set to COMPLETE at which points it - # becomes immutable. - class Step - include Google::Apis::Core::Hashable - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `completionTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :completion_time - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `creationTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :creation_time - - # A description of this tool For example: mvn clean package -D skipTests=true - # - In response: present if set by create/update request - In create/update - # request: optional - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `deviceUsageDuration` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :device_usage_duration - - # If the execution containing this step has any dimension_definition set, then - # this field allows the child to specify the values of the dimensions. - # The keys must exactly match the dimension_definition of the execution. - # For example, if the execution has `dimension_definition = ['attempt', 'device'] - # ` then a step must define values for those dimensions, eg. `dimension_value = [ - # 'attempt': '1', 'device': 'Nexus 6']` - # If a step does not participate in one dimension of the matrix, the value for - # that dimension should be empty string. For example, if one of the tests is - # executed by a runner which does not support retries, the step could have ` - # dimension_value = ['attempt': '', 'device': 'Nexus 6']` - # If the step does not participate in any dimensions of the matrix, it may leave - # dimension_value unset. - # A PRECONDITION_FAILED will be returned if any of the keys do not exist in the - # dimension_definition of the execution. - # A PRECONDITION_FAILED will be returned if another step in this execution - # already has the same name and dimension_value, but differs on other data - # fields, for example, step field is different. - # A PRECONDITION_FAILED will be returned if dimension_value is set, and there is - # a dimension_definition in the execution which is not specified as one of the - # keys. - # - In response: present if set by create - In create request: optional - In - # update request: never set - # Corresponds to the JSON property `dimensionValue` - # @return [Array] - attr_accessor :dimension_value - - # Whether any of the outputs of this step are images whose thumbnails can be - # fetched with ListThumbnails. - # - In response: always set - In create/update request: never set - # Corresponds to the JSON property `hasImages` - # @return [Boolean] - attr_accessor :has_images - alias_method :has_images?, :has_images - - # Arbitrary user-supplied key/value pairs that are associated with the step. - # Users are responsible for managing the key namespace such that keys don't - # accidentally collide. - # An INVALID_ARGUMENT will be returned if the number of labels exceeds 100 or if - # the length of any of the keys or values exceeds 100 characters. - # - In response: always set - In create request: optional - In update request: - # optional; any new key/value pair will be added to the map, and any new value - # for an existing key will update that key's value - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # A short human-readable name to display in the UI. Maximum of 100 characters. - # For example: Clean build - # A PRECONDITION_FAILED will be returned upon creating a new step if it shares - # its name and dimension_value with an existing step. If two steps represent a - # similar action, but have different dimension values, they should share the - # same name. For instance, if the same set of tests is run on two different - # platforms, the two steps should have the same name. - # - In response: always set - In create request: always set - In update request: - # never set - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Interprets a result so that humans and machines can act on it. - # Corresponds to the JSON property `outcome` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Outcome] - attr_accessor :outcome - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `runDuration` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :run_duration - - # The initial state is IN_PROGRESS. The only legal state transitions are * - # IN_PROGRESS -> COMPLETE - # A PRECONDITION_FAILED will be returned if an invalid transition is requested. - # It is valid to create Step with a state set to COMPLETE. The state can only be - # set to COMPLETE once. A PRECONDITION_FAILED will be returned if the state is - # set to COMPLETE multiple times. - # - In response: always set - In create/update request: optional - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A unique identifier within a Execution for this Step. - # Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - # - In response: always set - In create/update request: never set - # Corresponds to the JSON property `stepId` - # @return [String] - attr_accessor :step_id - - # A step that represents running tests. - # It accepts ant-junit xml files which will be parsed into structured test - # results by the service. Xml file paths are updated in order to append more - # files, however they can't be deleted. - # Users can also add test results manually by using the test_result field. - # Corresponds to the JSON property `testExecutionStep` - # @return [Google::Apis::ToolresultsV1beta3firstparty::TestExecutionStep] - attr_accessor :test_execution_step - - # Generic tool step to be used for binaries we do not explicitly support. For - # example: running cp to copy artifacts from one location to another. - # Corresponds to the JSON property `toolExecutionStep` - # @return [Google::Apis::ToolresultsV1beta3firstparty::ToolExecutionStep] - attr_accessor :tool_execution_step - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @completion_time = args[:completion_time] if args.key?(:completion_time) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @description = args[:description] if args.key?(:description) - @device_usage_duration = args[:device_usage_duration] if args.key?(:device_usage_duration) - @dimension_value = args[:dimension_value] if args.key?(:dimension_value) - @has_images = args[:has_images] if args.key?(:has_images) - @labels = args[:labels] if args.key?(:labels) - @name = args[:name] if args.key?(:name) - @outcome = args[:outcome] if args.key?(:outcome) - @run_duration = args[:run_duration] if args.key?(:run_duration) - @state = args[:state] if args.key?(:state) - @step_id = args[:step_id] if args.key?(:step_id) - @test_execution_step = args[:test_execution_step] if args.key?(:test_execution_step) - @tool_execution_step = args[:tool_execution_step] if args.key?(:tool_execution_step) - end - end - - # - class StepDimensionValueEntry - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - - # - class StepLabelsEntry - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - end - end - - # - class SuccessDetail - include Google::Apis::Core::Hashable - - # If a native process other than the app crashed. - # Corresponds to the JSON property `otherNativeCrash` - # @return [Boolean] - attr_accessor :other_native_crash - alias_method :other_native_crash?, :other_native_crash - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @other_native_crash = args[:other_native_crash] if args.key?(:other_native_crash) - end - end - - # A reference to a test case. - # Test case references are canonically ordered lexicographically by these three - # factors: * First, by test_suite_name. * Second, by class_name. * Third, by - # name. - class TestCaseReference - include Google::Apis::Core::Hashable - - # The name of the class. - # Corresponds to the JSON property `className` - # @return [String] - attr_accessor :class_name - - # The name of the test case. - # Required. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The name of the test suite to which this test case belongs. - # Corresponds to the JSON property `testSuiteName` - # @return [String] - attr_accessor :test_suite_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @class_name = args[:class_name] if args.key?(:class_name) - @name = args[:name] if args.key?(:name) - @test_suite_name = args[:test_suite_name] if args.key?(:test_suite_name) - end - end - - # A step that represents running tests. - # It accepts ant-junit xml files which will be parsed into structured test - # results by the service. Xml file paths are updated in order to append more - # files, however they can't be deleted. - # Users can also add test results manually by using the test_result field. - class TestExecutionStep - include Google::Apis::Core::Hashable - - # Issues observed during the test execution. - # For example, if the mobile app under test crashed during the test, the error - # message and the stack trace content can be recorded here to assist debugging. - # - In response: present if set by create or update - In create/update request: - # optional - # Corresponds to the JSON property `testIssues` - # @return [Array] - attr_accessor :test_issues - - # List of test suite overview contents. This could be parsed from xUnit XML log - # by server, or uploaded directly by user. This references should only be called - # when test suites are fully parsed or uploaded. - # The maximum allowed number of test suite overviews per step is 1000. - # - In response: always set - In create request: optional - In update request: - # never (use publishXunitXmlFiles custom method instead) - # Corresponds to the JSON property `testSuiteOverviews` - # @return [Array] - attr_accessor :test_suite_overviews - - # Testing timing break down to know phases. - # Corresponds to the JSON property `testTiming` - # @return [Google::Apis::ToolresultsV1beta3firstparty::TestTiming] - attr_accessor :test_timing - - # An execution of an arbitrary tool. It could be a test runner or a tool copying - # artifacts or deploying code. - # Corresponds to the JSON property `toolExecution` - # @return [Google::Apis::ToolresultsV1beta3firstparty::ToolExecution] - attr_accessor :tool_execution - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @test_issues = args[:test_issues] if args.key?(:test_issues) - @test_suite_overviews = args[:test_suite_overviews] if args.key?(:test_suite_overviews) - @test_timing = args[:test_timing] if args.key?(:test_timing) - @tool_execution = args[:tool_execution] if args.key?(:tool_execution) - end - end - - # An issue detected occurring during a test execution. - class TestIssue - include Google::Apis::Core::Hashable - - # A brief human-readable message describing the issue. Required. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # Severity of issue. Required. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # A stacktrace. - # Corresponds to the JSON property `stackTrace` - # @return [Google::Apis::ToolresultsV1beta3firstparty::StackTrace] - attr_accessor :stack_trace - - # Type of issue. Required. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # `Any` contains an arbitrary serialized protocol buffer message along with a - # URL that describes the type of the serialized message. - # Protobuf library provides support to pack/unpack Any values in the form of - # utility functions or additional generated methods of the Any type. - # Example 1: Pack and unpack a message in C++. - # Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) ` ... ` - # Example 2: Pack and unpack a message in Java. - # Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) ` foo = any. - # unpack(Foo.class); ` - # Example 3: Pack and unpack a message in Python. - # foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any. - # Unpack(foo) ... - # Example 4: Pack and unpack a message in Go - # foo := &pb.Foo`...` any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo`` if - # err := ptypes.UnmarshalAny(any, foo); err != nil ` ... ` - # The pack methods provided by protobuf library will by default use 'type. - # googleapis.com/full.type.name' as the type URL and the unpack methods only use - # the fully qualified type name after the last '/' in the type URL, for example " - # foo.bar.com/x/y.z" will yield type name "y.z". - # JSON ==== The JSON representation of an `Any` value uses the regular - # representation of the deserialized, embedded message, with an additional field - # `@type` which contains the type URL. Example: - # package google.profile; message Person ` string first_name = 1; string - # last_name = 2; ` - # ` "@type": "type.googleapis.com/google.profile.Person", "firstName": , " - # lastName": ` - # If the embedded message type is well-known and has a custom JSON - # representation, that representation will be embedded adding a field `value` - # which holds the custom JSON in addition to the `@type` field. Example (for - # message [google.protobuf.Duration][]): - # ` "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" ` - # Corresponds to the JSON property `warning` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Any] - attr_accessor :warning - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_message = args[:error_message] if args.key?(:error_message) - @severity = args[:severity] if args.key?(:severity) - @stack_trace = args[:stack_trace] if args.key?(:stack_trace) - @type = args[:type] if args.key?(:type) - @warning = args[:warning] if args.key?(:warning) - end - end - - # A summary of a test suite result either parsed from XML or uploaded directly - # by a user. - # Note: the API related comments are for StepService only. This message is also - # being used in ExecutionService in a read only mode for the corresponding step. - class TestSuiteOverview - include Google::Apis::Core::Hashable - - # Number of test cases in error, typically set by the service by parsing the - # xml_source. - # - In create/response: always set - In update request: never - # Corresponds to the JSON property `errorCount` - # @return [Fixnum] - attr_accessor :error_count - - # Number of failed test cases, typically set by the service by parsing the - # xml_source. May also be set by the user. - # - In create/response: always set - In update request: never - # Corresponds to the JSON property `failureCount` - # @return [Fixnum] - attr_accessor :failure_count - - # The name of the test suite. - # - In create/response: always set - In update request: never - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Number of test cases not run, typically set by the service by parsing the - # xml_source. - # - In create/response: always set - In update request: never - # Corresponds to the JSON property `skippedCount` - # @return [Fixnum] - attr_accessor :skipped_count - - # Number of test cases, typically set by the service by parsing the xml_source. - # - In create/response: always set - In update request: never - # Corresponds to the JSON property `totalCount` - # @return [Fixnum] - attr_accessor :total_count - - # A reference to a file. - # Corresponds to the JSON property `xmlSource` - # @return [Google::Apis::ToolresultsV1beta3firstparty::FileReference] - attr_accessor :xml_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @error_count = args[:error_count] if args.key?(:error_count) - @failure_count = args[:failure_count] if args.key?(:failure_count) - @name = args[:name] if args.key?(:name) - @skipped_count = args[:skipped_count] if args.key?(:skipped_count) - @total_count = args[:total_count] if args.key?(:total_count) - @xml_source = args[:xml_source] if args.key?(:xml_source) - end - end - - # Testing timing break down to know phases. - class TestTiming - include Google::Apis::Core::Hashable - - # A Duration represents a signed, fixed-length span of time represented as a - # count of seconds and fractions of seconds at nanosecond resolution. It is - # independent of any calendar and concepts like "day" or "month". It is related - # to Timestamp in that the difference between two Timestamp values is a Duration - # and it can be added or subtracted from a Timestamp. Range is approximately +- - # 10,000 years. - # # Examples - # Example 1: Compute Duration from two Timestamps in pseudo code. - # Timestamp start = ...; Timestamp end = ...; Duration duration = ...; - # duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - - # start.nanos; - # if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000; - # ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -= - # 1; duration.nanos += 1000000000; ` - # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - # Timestamp start = ...; Duration duration = ...; Timestamp end = ...; - # end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + - # duration.nanos; - # if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; ` - # Example 3: Compute Duration from datetime.timedelta in Python. - # td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration. - # FromTimedelta(td) - # # JSON Mapping - # In JSON format, the Duration type is encoded as a string rather than an object, - # where the string ends in the suffix "s" (indicating seconds) and is preceded - # by the number of seconds, with nanoseconds expressed as fractional seconds. - # For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as " - # 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3. - # 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON - # format as "3.000001s". - # Corresponds to the JSON property `testProcessDuration` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Duration] - attr_accessor :test_process_duration - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @test_process_duration = args[:test_process_duration] if args.key?(:test_process_duration) - end - end - - # A single thumbnail, with its size and format. - class Thumbnail - include Google::Apis::Core::Hashable - - # The thumbnail's content type, i.e. "image/png". - # Always set. - # Corresponds to the JSON property `contentType` - # @return [String] - attr_accessor :content_type - - # The thumbnail file itself. - # That is, the bytes here are precisely the bytes that make up the thumbnail - # file; they can be served as an image as-is (with the appropriate content type.) - # Always set. - # Corresponds to the JSON property `data` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :data - - # The height of the thumbnail, in pixels. - # Always set. - # Corresponds to the JSON property `heightPx` - # @return [Fixnum] - attr_accessor :height_px - - # The width of the thumbnail, in pixels. - # Always set. - # Corresponds to the JSON property `widthPx` - # @return [Fixnum] - attr_accessor :width_px - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_type = args[:content_type] if args.key?(:content_type) - @data = args[:data] if args.key?(:data) - @height_px = args[:height_px] if args.key?(:height_px) - @width_px = args[:width_px] if args.key?(:width_px) - end - end - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - class Timestamp - include Google::Apis::Core::Hashable - - # Non-negative fractions of a second at nanosecond resolution. Negative second - # values with fractions must still have non-negative nanos values that count - # forward in time. Must be from 0 to 999,999,999 inclusive. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. - # Corresponds to the JSON property `seconds` - # @return [Fixnum] - attr_accessor :seconds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @nanos = args[:nanos] if args.key?(:nanos) - @seconds = args[:seconds] if args.key?(:seconds) - end - end - - # An execution of an arbitrary tool. It could be a test runner or a tool copying - # artifacts or deploying code. - class ToolExecution - include Google::Apis::Core::Hashable - - # The full tokenized command line including the program name (equivalent to argv - # in a C program). - # - In response: present if set by create request - In create request: optional - - # In update request: never set - # Corresponds to the JSON property `commandLineArguments` - # @return [Array] - attr_accessor :command_line_arguments - - # Exit code from a tool execution. - # Corresponds to the JSON property `exitCode` - # @return [Google::Apis::ToolresultsV1beta3firstparty::ToolExitCode] - attr_accessor :exit_code - - # References to any plain text logs output the tool execution. - # This field can be set before the tool has exited in order to be able to have - # access to a live view of the logs while the tool is running. - # The maximum allowed number of tool logs per step is 1000. - # - In response: present if set by create/update request - In create request: - # optional - In update request: optional, any value provided will be appended to - # the existing list - # Corresponds to the JSON property `toolLogs` - # @return [Array] - attr_accessor :tool_logs - - # References to opaque files of any format output by the tool execution. - # The maximum allowed number of tool outputs per step is 1000. - # - In response: present if set by create/update request - In create request: - # optional - In update request: optional, any value provided will be appended to - # the existing list - # Corresponds to the JSON property `toolOutputs` - # @return [Array] - attr_accessor :tool_outputs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @command_line_arguments = args[:command_line_arguments] if args.key?(:command_line_arguments) - @exit_code = args[:exit_code] if args.key?(:exit_code) - @tool_logs = args[:tool_logs] if args.key?(:tool_logs) - @tool_outputs = args[:tool_outputs] if args.key?(:tool_outputs) - end - end - - # Generic tool step to be used for binaries we do not explicitly support. For - # example: running cp to copy artifacts from one location to another. - class ToolExecutionStep - include Google::Apis::Core::Hashable - - # An execution of an arbitrary tool. It could be a test runner or a tool copying - # artifacts or deploying code. - # Corresponds to the JSON property `toolExecution` - # @return [Google::Apis::ToolresultsV1beta3firstparty::ToolExecution] - attr_accessor :tool_execution - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tool_execution = args[:tool_execution] if args.key?(:tool_execution) - end - end - - # Exit code from a tool execution. - class ToolExitCode - include Google::Apis::Core::Hashable - - # Tool execution exit code. A value of 0 means that the execution was successful. - # - In response: always set - In create/update request: always set - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @number = args[:number] if args.key?(:number) - end - end - - # A reference to a ToolExecution output file. - class ToolOutputReference - include Google::Apis::Core::Hashable - - # A Timestamp represents a point in time independent of any time zone or - # calendar, represented as seconds and fractions of seconds at nanosecond - # resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian - # Calendar which extends the Gregorian calendar backwards to year one. It is - # encoded assuming all minutes are 60 seconds long, i.e. leap seconds are " - # smeared" so that no leap second table is needed for interpretation. Range is - # from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to - # that range, we ensure that we can convert to and from RFC 3339 date strings. - # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339. - # txt). - # # Examples - # Example 1: Compute Timestamp from POSIX `time()`. - # Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); - # Example 2: Compute Timestamp from POSIX `gettimeofday()`. - # struct timeval tv; gettimeofday(&tv, NULL); - # Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv. - # tv_usec * 1000); - # Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - # FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft. - # dwHighDateTime) << 32) | ft.dwLowDateTime; - # // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is - # 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp - # timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - # timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - # Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - # long millis = System.currentTimeMillis(); - # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) . - # setNanos((int) ((millis % 1000) * 1000000)).build(); - # Example 5: Compute Timestamp from current time in Python. - # timestamp = Timestamp() timestamp.GetCurrentTime() - # # JSON Mapping - # In JSON format, the Timestamp type is encoded as a string in the [RFC 3339]( - # https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "`year`-` - # month`-`day`T`hour`:`min`:`sec`[.`frac_sec`]Z" where `year` is always - # expressed using four digits while `month`, `day`, `hour`, `min`, and `sec` are - # zero-padded to two digits each. The fractional seconds, which can go up to 9 - # digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix - # indicates the timezone ("UTC"); the timezone is required, though only UTC (as - # indicated by "Z") is presently supported. - # For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on - # January 15, 2017. - # In JavaScript, one can convert a Date object to this format using the standard - # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/ - # Reference/Global_Objects/Date/toISOString] method. In Python, a standard ` - # datetime.datetime` object can be converted to this format using [`strftime`]( - # https://docs.python.org/2/library/time.html#time.strftime) with the time - # format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda - # Time's [`ISODateTimeFormat.dateTime()`]( http://joda-time.sourceforge.net/ - # apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) to obtain a - # formatter capable of generating timestamps in this format. - # Corresponds to the JSON property `creationTime` - # @return [Google::Apis::ToolresultsV1beta3firstparty::Timestamp] - attr_accessor :creation_time - - # A reference to a file. - # Corresponds to the JSON property `output` - # @return [Google::Apis::ToolresultsV1beta3firstparty::FileReference] - attr_accessor :output - - # A reference to a test case. - # Test case references are canonically ordered lexicographically by these three - # factors: * First, by test_suite_name. * Second, by class_name. * Third, by - # name. - # Corresponds to the JSON property `testCase` - # @return [Google::Apis::ToolresultsV1beta3firstparty::TestCaseReference] - attr_accessor :test_case - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @output = args[:output] if args.key?(:output) - @test_case = args[:test_case] if args.key?(:test_case) - end - end - end - end -end diff --git a/generated/google/apis/toolresults_v1beta3firstparty/representations.rb b/generated/google/apis/toolresults_v1beta3firstparty/representations.rb deleted file mode 100644 index 9d6351218..000000000 --- a/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +++ /dev/null @@ -1,886 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'date' -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ToolresultsV1beta3firstparty - - class AndroidAppInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidInstrumentationTest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidRoboTest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidTest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Any - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppStartTime - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicPerfSampleSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchCreatePerfSamplesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchCreatePerfSamplesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CpuInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Duration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Execution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FailureDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FileReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class History - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InconclusiveDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListExecutionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListHistoriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListPerfSampleSeriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListPerfSamplesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListScreenshotClustersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListStepThumbnailsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListStepsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MemoryInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Outcome - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PerfEnvironment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PerfMetricsSummary - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PerfSample - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PerfSampleSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ProjectSettings - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublishXunitXmlFilesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Screen - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ScreenshotCluster - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SkippedDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Specification - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StackTrace - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Step - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StepDimensionValueEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StepLabelsEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SuccessDetail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestCaseReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestExecutionStep - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIssue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestSuiteOverview - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestTiming - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Thumbnail - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Timestamp - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolExecution - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolExecutionStep - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolExitCode - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ToolOutputReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AndroidAppInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :package_name, as: 'packageName' - property :version_code, as: 'versionCode' - property :version_name, as: 'versionName' - end - end - - class AndroidInstrumentationTest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :test_package_id, as: 'testPackageId' - property :test_runner_class, as: 'testRunnerClass' - collection :test_targets, as: 'testTargets' - property :use_orchestrator, as: 'useOrchestrator' - end - end - - class AndroidRoboTest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_initial_activity, as: 'appInitialActivity' - property :bootstrap_package_id, as: 'bootstrapPackageId' - property :bootstrap_runner_class, as: 'bootstrapRunnerClass' - property :max_depth, as: 'maxDepth' - property :max_steps, as: 'maxSteps' - end - end - - class AndroidTest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_app_info, as: 'androidAppInfo', class: Google::Apis::ToolresultsV1beta3firstparty::AndroidAppInfo, decorator: Google::Apis::ToolresultsV1beta3firstparty::AndroidAppInfo::Representation - - property :android_instrumentation_test, as: 'androidInstrumentationTest', class: Google::Apis::ToolresultsV1beta3firstparty::AndroidInstrumentationTest, decorator: Google::Apis::ToolresultsV1beta3firstparty::AndroidInstrumentationTest::Representation - - property :android_robo_test, as: 'androidRoboTest', class: Google::Apis::ToolresultsV1beta3firstparty::AndroidRoboTest, decorator: Google::Apis::ToolresultsV1beta3firstparty::AndroidRoboTest::Representation - - property :test_timeout, as: 'testTimeout', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - end - end - - class Any - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type_url, as: 'typeUrl' - property :value, :base64 => true, as: 'value' - end - end - - class AppStartTime - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fully_drawn_time, as: 'fullyDrawnTime', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - property :initial_display_time, as: 'initialDisplayTime', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - end - end - - class BasicPerfSampleSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :perf_metric_type, as: 'perfMetricType' - property :perf_unit, as: 'perfUnit' - property :sample_series_label, as: 'sampleSeriesLabel' - end - end - - class BatchCreatePerfSamplesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :perf_samples, as: 'perfSamples', class: Google::Apis::ToolresultsV1beta3firstparty::PerfSample, decorator: Google::Apis::ToolresultsV1beta3firstparty::PerfSample::Representation - - end - end - - class BatchCreatePerfSamplesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :perf_samples, as: 'perfSamples', class: Google::Apis::ToolresultsV1beta3firstparty::PerfSample, decorator: Google::Apis::ToolresultsV1beta3firstparty::PerfSample::Representation - - end - end - - class CpuInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cpu_processor, as: 'cpuProcessor' - property :cpu_speed_in_ghz, as: 'cpuSpeedInGhz' - property :number_of_cores, as: 'numberOfCores' - end - end - - class Duration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :nanos, as: 'nanos' - property :seconds, :numeric_string => true, as: 'seconds' - end - end - - class Execution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :completion_time, as: 'completionTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :creation_time, as: 'creationTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :execution_id, as: 'executionId' - property :outcome, as: 'outcome', class: Google::Apis::ToolresultsV1beta3firstparty::Outcome, decorator: Google::Apis::ToolresultsV1beta3firstparty::Outcome::Representation - - property :specification, as: 'specification', class: Google::Apis::ToolresultsV1beta3firstparty::Specification, decorator: Google::Apis::ToolresultsV1beta3firstparty::Specification::Representation - - property :state, as: 'state' - property :test_execution_matrix_id, as: 'testExecutionMatrixId' - end - end - - class FailureDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :crashed, as: 'crashed' - property :not_installed, as: 'notInstalled' - property :other_native_crash, as: 'otherNativeCrash' - property :timed_out, as: 'timedOut' - property :unable_to_crawl, as: 'unableToCrawl' - end - end - - class FileReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file_uri, as: 'fileUri' - end - end - - class History - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :history_id, as: 'historyId' - property :name, as: 'name' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::ToolresultsV1beta3firstparty::Status, decorator: Google::Apis::ToolresultsV1beta3firstparty::Status::Representation - - property :source_image, as: 'sourceImage', class: Google::Apis::ToolresultsV1beta3firstparty::ToolOutputReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolOutputReference::Representation - - property :step_id, as: 'stepId' - property :thumbnail, as: 'thumbnail', class: Google::Apis::ToolresultsV1beta3firstparty::Thumbnail, decorator: Google::Apis::ToolresultsV1beta3firstparty::Thumbnail::Representation - - end - end - - class InconclusiveDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :aborted_by_user, as: 'abortedByUser' - property :infrastructure_failure, as: 'infrastructureFailure' - end - end - - class ListExecutionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :executions, as: 'executions', class: Google::Apis::ToolresultsV1beta3firstparty::Execution, decorator: Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListHistoriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :histories, as: 'histories', class: Google::Apis::ToolresultsV1beta3firstparty::History, decorator: Google::Apis::ToolresultsV1beta3firstparty::History::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListPerfSampleSeriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :perf_sample_series, as: 'perfSampleSeries', class: Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries, decorator: Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation - - end - end - - class ListPerfSamplesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :perf_samples, as: 'perfSamples', class: Google::Apis::ToolresultsV1beta3firstparty::PerfSample, decorator: Google::Apis::ToolresultsV1beta3firstparty::PerfSample::Representation - - end - end - - class ListScreenshotClustersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :clusters, as: 'clusters', class: Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster, decorator: Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster::Representation - - end - end - - class ListStepThumbnailsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :thumbnails, as: 'thumbnails', class: Google::Apis::ToolresultsV1beta3firstparty::Image, decorator: Google::Apis::ToolresultsV1beta3firstparty::Image::Representation - - end - end - - class ListStepsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :steps, as: 'steps', class: Google::Apis::ToolresultsV1beta3firstparty::Step, decorator: Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - - end - end - - class MemoryInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :memory_cap_in_kibibyte, :numeric_string => true, as: 'memoryCapInKibibyte' - property :memory_total_in_kibibyte, :numeric_string => true, as: 'memoryTotalInKibibyte' - end - end - - class Outcome - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :failure_detail, as: 'failureDetail', class: Google::Apis::ToolresultsV1beta3firstparty::FailureDetail, decorator: Google::Apis::ToolresultsV1beta3firstparty::FailureDetail::Representation - - property :inconclusive_detail, as: 'inconclusiveDetail', class: Google::Apis::ToolresultsV1beta3firstparty::InconclusiveDetail, decorator: Google::Apis::ToolresultsV1beta3firstparty::InconclusiveDetail::Representation - - property :skipped_detail, as: 'skippedDetail', class: Google::Apis::ToolresultsV1beta3firstparty::SkippedDetail, decorator: Google::Apis::ToolresultsV1beta3firstparty::SkippedDetail::Representation - - property :success_detail, as: 'successDetail', class: Google::Apis::ToolresultsV1beta3firstparty::SuccessDetail, decorator: Google::Apis::ToolresultsV1beta3firstparty::SuccessDetail::Representation - - property :summary, as: 'summary' - end - end - - class PerfEnvironment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cpu_info, as: 'cpuInfo', class: Google::Apis::ToolresultsV1beta3firstparty::CpuInfo, decorator: Google::Apis::ToolresultsV1beta3firstparty::CpuInfo::Representation - - property :memory_info, as: 'memoryInfo', class: Google::Apis::ToolresultsV1beta3firstparty::MemoryInfo, decorator: Google::Apis::ToolresultsV1beta3firstparty::MemoryInfo::Representation - - end - end - - class PerfMetricsSummary - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_start_time, as: 'appStartTime', class: Google::Apis::ToolresultsV1beta3firstparty::AppStartTime, decorator: Google::Apis::ToolresultsV1beta3firstparty::AppStartTime::Representation - - property :execution_id, as: 'executionId' - property :history_id, as: 'historyId' - property :perf_environment, as: 'perfEnvironment', class: Google::Apis::ToolresultsV1beta3firstparty::PerfEnvironment, decorator: Google::Apis::ToolresultsV1beta3firstparty::PerfEnvironment::Representation - - collection :perf_metrics, as: 'perfMetrics' - property :project_id, as: 'projectId' - property :step_id, as: 'stepId' - end - end - - class PerfSample - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sample_time, as: 'sampleTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :value, as: 'value' - end - end - - class PerfSampleSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :basic_perf_sample_series, as: 'basicPerfSampleSeries', class: Google::Apis::ToolresultsV1beta3firstparty::BasicPerfSampleSeries, decorator: Google::Apis::ToolresultsV1beta3firstparty::BasicPerfSampleSeries::Representation - - property :execution_id, as: 'executionId' - property :history_id, as: 'historyId' - property :project_id, as: 'projectId' - property :sample_series_id, as: 'sampleSeriesId' - property :step_id, as: 'stepId' - end - end - - class ProjectSettings - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default_bucket, as: 'defaultBucket' - property :name, as: 'name' - end - end - - class PublishXunitXmlFilesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :xunit_xml_files, as: 'xunitXmlFiles', class: Google::Apis::ToolresultsV1beta3firstparty::FileReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::FileReference::Representation - - end - end - - class Screen - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :file_reference, as: 'fileReference' - property :locale, as: 'locale' - property :model, as: 'model' - property :version, as: 'version' - end - end - - class ScreenshotCluster - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :activity, as: 'activity' - property :cluster_id, as: 'clusterId' - property :key_screen, as: 'keyScreen', class: Google::Apis::ToolresultsV1beta3firstparty::Screen, decorator: Google::Apis::ToolresultsV1beta3firstparty::Screen::Representation - - collection :screens, as: 'screens', class: Google::Apis::ToolresultsV1beta3firstparty::Screen, decorator: Google::Apis::ToolresultsV1beta3firstparty::Screen::Representation - - end - end - - class SkippedDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :incompatible_app_version, as: 'incompatibleAppVersion' - property :incompatible_architecture, as: 'incompatibleArchitecture' - property :incompatible_device, as: 'incompatibleDevice' - end - end - - class Specification - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :android_test, as: 'androidTest', class: Google::Apis::ToolresultsV1beta3firstparty::AndroidTest, decorator: Google::Apis::ToolresultsV1beta3firstparty::AndroidTest::Representation - - end - end - - class StackTrace - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cluster_id, as: 'clusterId' - property :exception, as: 'exception' - property :report_id, as: 'reportId' - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - collection :details, as: 'details', class: Google::Apis::ToolresultsV1beta3firstparty::Any, decorator: Google::Apis::ToolresultsV1beta3firstparty::Any::Representation - - property :message, as: 'message' - end - end - - class Step - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :completion_time, as: 'completionTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :creation_time, as: 'creationTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :description, as: 'description' - property :device_usage_duration, as: 'deviceUsageDuration', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - collection :dimension_value, as: 'dimensionValue', class: Google::Apis::ToolresultsV1beta3firstparty::StepDimensionValueEntry, decorator: Google::Apis::ToolresultsV1beta3firstparty::StepDimensionValueEntry::Representation - - property :has_images, as: 'hasImages' - collection :labels, as: 'labels', class: Google::Apis::ToolresultsV1beta3firstparty::StepLabelsEntry, decorator: Google::Apis::ToolresultsV1beta3firstparty::StepLabelsEntry::Representation - - property :name, as: 'name' - property :outcome, as: 'outcome', class: Google::Apis::ToolresultsV1beta3firstparty::Outcome, decorator: Google::Apis::ToolresultsV1beta3firstparty::Outcome::Representation - - property :run_duration, as: 'runDuration', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - property :state, as: 'state' - property :step_id, as: 'stepId' - property :test_execution_step, as: 'testExecutionStep', class: Google::Apis::ToolresultsV1beta3firstparty::TestExecutionStep, decorator: Google::Apis::ToolresultsV1beta3firstparty::TestExecutionStep::Representation - - property :tool_execution_step, as: 'toolExecutionStep', class: Google::Apis::ToolresultsV1beta3firstparty::ToolExecutionStep, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolExecutionStep::Representation - - end - end - - class StepDimensionValueEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - - class StepLabelsEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - end - end - - class SuccessDetail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :other_native_crash, as: 'otherNativeCrash' - end - end - - class TestCaseReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :class_name, as: 'className' - property :name, as: 'name' - property :test_suite_name, as: 'testSuiteName' - end - end - - class TestExecutionStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :test_issues, as: 'testIssues', class: Google::Apis::ToolresultsV1beta3firstparty::TestIssue, decorator: Google::Apis::ToolresultsV1beta3firstparty::TestIssue::Representation - - collection :test_suite_overviews, as: 'testSuiteOverviews', class: Google::Apis::ToolresultsV1beta3firstparty::TestSuiteOverview, decorator: Google::Apis::ToolresultsV1beta3firstparty::TestSuiteOverview::Representation - - property :test_timing, as: 'testTiming', class: Google::Apis::ToolresultsV1beta3firstparty::TestTiming, decorator: Google::Apis::ToolresultsV1beta3firstparty::TestTiming::Representation - - property :tool_execution, as: 'toolExecution', class: Google::Apis::ToolresultsV1beta3firstparty::ToolExecution, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolExecution::Representation - - end - end - - class TestIssue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_message, as: 'errorMessage' - property :severity, as: 'severity' - property :stack_trace, as: 'stackTrace', class: Google::Apis::ToolresultsV1beta3firstparty::StackTrace, decorator: Google::Apis::ToolresultsV1beta3firstparty::StackTrace::Representation - - property :type, as: 'type' - property :warning, as: 'warning', class: Google::Apis::ToolresultsV1beta3firstparty::Any, decorator: Google::Apis::ToolresultsV1beta3firstparty::Any::Representation - - end - end - - class TestSuiteOverview - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error_count, as: 'errorCount' - property :failure_count, as: 'failureCount' - property :name, as: 'name' - property :skipped_count, as: 'skippedCount' - property :total_count, as: 'totalCount' - property :xml_source, as: 'xmlSource', class: Google::Apis::ToolresultsV1beta3firstparty::FileReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::FileReference::Representation - - end - end - - class TestTiming - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :test_process_duration, as: 'testProcessDuration', class: Google::Apis::ToolresultsV1beta3firstparty::Duration, decorator: Google::Apis::ToolresultsV1beta3firstparty::Duration::Representation - - end - end - - class Thumbnail - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_type, as: 'contentType' - property :data, :base64 => true, as: 'data' - property :height_px, as: 'heightPx' - property :width_px, as: 'widthPx' - end - end - - class Timestamp - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :nanos, as: 'nanos' - property :seconds, :numeric_string => true, as: 'seconds' - end - end - - class ToolExecution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :command_line_arguments, as: 'commandLineArguments' - property :exit_code, as: 'exitCode', class: Google::Apis::ToolresultsV1beta3firstparty::ToolExitCode, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolExitCode::Representation - - collection :tool_logs, as: 'toolLogs', class: Google::Apis::ToolresultsV1beta3firstparty::FileReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::FileReference::Representation - - collection :tool_outputs, as: 'toolOutputs', class: Google::Apis::ToolresultsV1beta3firstparty::ToolOutputReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolOutputReference::Representation - - end - end - - class ToolExecutionStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :tool_execution, as: 'toolExecution', class: Google::Apis::ToolresultsV1beta3firstparty::ToolExecution, decorator: Google::Apis::ToolresultsV1beta3firstparty::ToolExecution::Representation - - end - end - - class ToolExitCode - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :number, as: 'number' - end - end - - class ToolOutputReference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :creation_time, as: 'creationTime', class: Google::Apis::ToolresultsV1beta3firstparty::Timestamp, decorator: Google::Apis::ToolresultsV1beta3firstparty::Timestamp::Representation - - property :output, as: 'output', class: Google::Apis::ToolresultsV1beta3firstparty::FileReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::FileReference::Representation - - property :test_case, as: 'testCase', class: Google::Apis::ToolresultsV1beta3firstparty::TestCaseReference, decorator: Google::Apis::ToolresultsV1beta3firstparty::TestCaseReference::Representation - - end - end - end - end -end diff --git a/generated/google/apis/toolresults_v1beta3firstparty/service.rb b/generated/google/apis/toolresults_v1beta3firstparty/service.rb deleted file mode 100644 index 39ad916d0..000000000 --- a/generated/google/apis/toolresults_v1beta3firstparty/service.rb +++ /dev/null @@ -1,1336 +0,0 @@ -# Copyright 2015 Google Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -require 'google/apis/core/base_service' -require 'google/apis/core/json_representation' -require 'google/apis/core/hashable' -require 'google/apis/errors' - -module Google - module Apis - module ToolresultsV1beta3firstparty - # Cloud Tool Results firstparty API - # - # Reads and publishes results from Firebase Test Lab. - # - # @example - # require 'google/apis/toolresults_v1beta3firstparty' - # - # Toolresults = Google::Apis::ToolresultsV1beta3firstparty # Alias the module - # service = Toolresults::ToolResultsService.new - # - # @see https://firebase.google.com/docs/test-lab/ - class ToolResultsService < Google::Apis::Core::BaseService - # @return [String] - # API key. Your API key identifies your project and provides you with API access, - # quota, and reports. Required unless you provide an OAuth 2.0 token. - attr_accessor :key - - # @return [String] - # 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. - # Overrides userIp if both are provided. - attr_accessor :quota_user - - # @return [String] - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - attr_accessor :user_ip - - def initialize - super('https://www.googleapis.com/', 'toolresults/v1beta3firstparty/projects/') - @batch_path = 'batch' - end - - # Gets the Tool Results settings for a project. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read from project - # @param [String] project_id - # A Project id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] - # - # @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_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/settings', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates resources for settings which have not yet been set. - # Currently, this creates a single resource: a Google Cloud Storage bucket, to - # be used as the default bucket for this project. The bucket is created in an - # FTL-own storage project. Except for in rare cases, calling this method in - # parallel from multiple clients will only create a single bucket. In order to - # avoid unnecessary storage charges, the bucket is configured to automatically - # delete objects older than 90 days. - # The bucket is created with the following permissions: - Owner access for - # owners of central storage project (FTL-owned) - Writer access for owners/ - # editors of customer project - Reader access for viewers of customer project - # The default ACL on objects created in the bucket is: - Owner access for owners - # of central storage project - Reader access for owners/editors/viewers of - # customer project See Google Cloud Storage documentation for more details. - # If there is already a default bucket set and the project can access the bucket, - # this call does nothing. However, if the project doesn't have the permission - # to access the bucket or the bucket is deleted, a new bucket will be created. - # May return any canonical error codes, including the following: - # - PERMISSION_DENIED - if the user is not authorized to write to project - Any - # error code raised by Google Cloud Storage - # @param [String] project_id - # A Project id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings] - # - # @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 initialize_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}:initializeSettings', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ProjectSettings - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a History. - # The returned History will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing - # project does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::History] history_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. For example, a - # UUID. - # Optional, but strongly recommended. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::History] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::History] - # - # @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 create_project_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation - command.request_object = history_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::History - command.params['projectId'] = project_id unless project_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Gets a History. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History - # does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::History] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::History] - # - # @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_project_history(project_id, history_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::History::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::History - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists Histories for a given Project. - # The histories are sorted by modification time in descending order. The - # history_id key will be used to order the history with the same modification - # time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History - # does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] filter_by_name - # If set, only return histories with the given name. - # Optional. - # @param [Fixnum] page_size - # The maximum number of Histories to fetch. - # Default value: 20. The server will use this default if the field is not set or - # has a value of 0. Any value greater than 100 will be treated as 100. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse] - # - # @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 list_project_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListHistoriesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['filterByName'] = filter_by_name unless filter_by_name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates an Execution. - # The returned Execution will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing - # History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::Execution] execution_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. For example, a - # UUID. - # Optional, but strongly recommended. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Execution] - # - # @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 create_project_history_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - command.request_object = execution_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Gets an Execution. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution - # does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Execution] - # - # @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_project_history_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists Histories for a given Project. - # The executions are sorted by creation_time in descending order. The - # execution_id key will be used to order the executions with the same - # creation_time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing - # History does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [Fixnum] page_size - # The maximum number of Executions to fetch. - # Default value: 25. The server will use this default if the field is not set or - # has a value of 0. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse] - # - # @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 list_project_history_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListExecutionsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing Execution with the supplied partial entity. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - - # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the - # requested state transition is illegal - NOT_FOUND - if the containing History - # does not exist - # @param [String] project_id - # A Project id. Required. - # @param [String] history_id - # Required. - # @param [String] execution_id - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::Execution] execution_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. For example, a - # UUID. - # Optional, but strongly recommended. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Execution] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Execution] - # - # @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 patch_project_history_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - command.request_object = execution_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Execution::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Execution - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves a single screenshot cluster by its ID - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @param [String] cluster_id - # A Cluster id - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster] - # - # @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_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['clusterId'] = cluster_id unless cluster_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists Screenshot Clusters - # Returns the list of screenshot clusters corresponding to an execution. - # Screenshot clusters are created after the execution is finished. Clusters are - # created from a set of screenshots. Between any two screenshots, a matching - # score is calculated based off their metadata that determines how similar they - # are. Screenshots are placed in the cluster that has screens which have the - # highest matching scores. - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse] - # - # @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 list_project_history_execution_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListScreenshotClustersResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a Step. - # The returned Step will have the id set. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write to project - - # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the - # step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution - # does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::Step] step_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. For example, a - # UUID. - # Optional, but strongly recommended. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Step] - # - # @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 create_project_history_execution_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.request_object = step_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Gets a Step. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - - # INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does - # not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Required. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Step] - # - # @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_project_history_execution_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves a PerfMetricsSummary. - # May return any of the following error code(s): - NOT_FOUND - The specified - # PerfMetricsSummary does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] - # - # @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_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists Steps for a given Execution. - # The steps are sorted by creation_time in descending order. The step_id key - # will be used to order the steps with the same creation_time. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to read project - - # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an - # argument in the request happens to be invalid; e.g. if an attempt is made to - # list the children of a nonexistent Step - NOT_FOUND - if the containing - # Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [Fixnum] page_size - # The maximum number of Steps to fetch. - # Default value: 25. The server will use this default if the field is not set or - # has a value of 0. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse] - # - # @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 list_project_history_execution_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListStepsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing Step with the supplied partial entity. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write project - - # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the - # requested state transition is illegal (e.g try to upload a duplicate xml file), - # if the updated step is too large (more than 10Mib) - NOT_FOUND - if the - # containing Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::Step] step_object - # @param [String] request_id - # A unique request ID for server to detect duplicated requests. For example, a - # UUID. - # Optional, but strongly recommended. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Step] - # - # @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 patch_project_history_execution_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.request_object = step_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['requestId'] = request_id unless request_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Publish xml files to an existing Step. - # May return any of the following canonical error codes: - # - PERMISSION_DENIED - if the user is not authorized to write project - - # INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the - # requested state transition is illegal, e.g try to upload a duplicate xml file - # or a file too large. - NOT_FOUND - if the containing Execution does not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # A Execution id. - # Required. - # @param [String] step_id - # A Step id. Note: This step must include a TestExecutionStep. - # Required. - # @param [Google::Apis::ToolresultsV1beta3firstparty::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::Step] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::Step] - # - # @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 publish_step_xunit_xml_files(project_id, history_id, execution_id, step_id, publish_xunit_xml_files_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PublishXunitXmlFilesRequest::Representation - command.request_object = publish_xunit_xml_files_request_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::Step::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::Step - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a PerfMetricsSummary resource. Returns the existing one if it has - # already been created. - # May return any of the following error code(s): - NOT_FOUND - The containing - # Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] perf_metrics_summary_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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary] - # - # @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 create_project_history_execution_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation - command.request_object = perf_metrics_summary_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfMetricsSummary - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a PerfSampleSeries. - # May return any of the following error code(s): - ALREADY_EXISTS - - # PerfMetricSummary already exists for the given Step - NOT_FOUND - The - # containing Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] perf_sample_series_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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] - # - # @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 create_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation - command.request_object = perf_sample_series_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Gets a PerfSampleSeries. - # May return any of the following error code(s): - NOT_FOUND - The specified - # PerfSampleSeries does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [String] sample_series_id - # A sample series id - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries] - # - # @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_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::PerfSampleSeries - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists PerfSampleSeries for a given Step. - # The request provides an optional filter which specifies one or more - # PerfMetricsType to include in the result; if none returns all. The resulting - # PerfSampleSeries are sorted by ids. - # May return any of the following canonical error codes: - NOT_FOUND - The - # containing Step does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [Array, String] filter - # Specify one or more PerfMetricType values such as CPU to filter the result - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse] - # - # @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 list_project_history_execution_step_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSampleSeriesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a batch of PerfSamples - a client can submit multiple batches of Perf - # Samples through repeated calls to this method in order to split up a large - # request payload - duplicates and existing timestamp entries will be ignored. - - # the batch operation may partially succeed - the set of elements successfully - # inserted is returned in the response (omits items which already existed in the - # database). - # May return any of the following canonical error codes: - NOT_FOUND - The - # containing PerfSampleSeries does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [String] sample_series_id - # A sample series id - # @param [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse] - # - # @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 batch_create_perf_samples(project_id, history_id, execution_id, step_id, sample_series_id, batch_create_perf_samples_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options) - command.request_representation = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesRequest::Representation - command.request_object = batch_create_perf_samples_request_object - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::BatchCreatePerfSamplesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists the Performance Samples of a given Sample Series - The list results are - # sorted by timestamps ascending - The default page size is 500 samples; and - # maximum size allowed 5000 - The response token indicates the last returned - # PerfSample timestamp - When the results size exceeds the page size, submit a - # subsequent request including the page token to return the rest of the samples - # up to the page limit - # May return any of the following canonical error codes: - OUT_OF_RANGE - The - # specified request page_token is out of valid range - NOT_FOUND - The - # containing PerfSampleSeries does not exist - # @param [String] project_id - # The cloud project - # @param [String] history_id - # A tool results history ID. - # @param [String] execution_id - # A tool results execution ID. - # @param [String] step_id - # A tool results step ID. - # @param [String] sample_series_id - # A sample series id - # @param [Fixnum] page_size - # The default page size is 500 samples, and the maximum size is 5000. If the - # page_size is greater than 5000, the effective page size will be 5000 - # @param [String] page_token - # Optional, the next_page_token returned in the previous response - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse] - # - # @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 list_project_history_execution_step_perf_sample_series_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListPerfSamplesResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Lists thumbnails of images attached to a step. - # May return any of the following canonical error codes: - PERMISSION_DENIED - - # if the user is not authorized to read from the project, or from any of the - # images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the - # step does not exist, or if any of the images do not exist - # @param [String] project_id - # A Project id. - # Required. - # @param [String] history_id - # A History id. - # Required. - # @param [String] execution_id - # An Execution id. - # Required. - # @param [String] step_id - # A Step id. - # Required. - # @param [Fixnum] page_size - # The maximum number of thumbnails to fetch. - # Default value: 50. The server will use this default if the field is not set or - # has a value of 0. - # Optional. - # @param [String] page_token - # A continuation token to resume the query at the next item. - # Optional. - # @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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse] - # - # @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 list_project_history_execution_step_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options) - command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse::Representation - command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ListStepThumbnailsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['historyId'] = history_id unless history_id.nil? - command.params['executionId'] = execution_id unless execution_id.nil? - command.params['stepId'] = step_id unless step_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - protected - - def apply_command_defaults(command) - command.query['key'] = key unless key.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - end - end - end - end -end diff --git a/generated/google/apis/urlshortener_v1/service.rb b/generated/google/apis/urlshortener_v1/service.rb index 670b6af84..28f7d6b04 100644 --- a/generated/google/apis/urlshortener_v1/service.rb +++ b/generated/google/apis/urlshortener_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'urlshortener/v1/') - @batch_path = 'batch' + @batch_path = 'batch/urlshortener/v1' end # Expands a short URL or gets creation time and analytics. diff --git a/generated/google/apis/webfonts_v1/service.rb b/generated/google/apis/webfonts_v1/service.rb index 90bce305a..fd15b0a11 100644 --- a/generated/google/apis/webfonts_v1/service.rb +++ b/generated/google/apis/webfonts_v1/service.rb @@ -52,7 +52,7 @@ module Google def initialize super('https://www.googleapis.com/', 'webfonts/v1/') - @batch_path = 'batch' + @batch_path = 'batch/webfonts/v1' end # Retrieves the list of fonts currently served by the Google Fonts Developer API diff --git a/generated/google/apis/youtube_analytics_v1beta1.rb b/generated/google/apis/youtube_analytics_v1beta1.rb index a7ef68945..a0c2dc19a 100644 --- a/generated/google/apis/youtube_analytics_v1beta1.rb +++ b/generated/google/apis/youtube_analytics_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see http://developers.google.com/youtube/analytics/ module YoutubeAnalyticsV1beta1 VERSION = 'V1beta1' - REVISION = '20170906' + REVISION = '20170913' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_analytics_v1beta1/service.rb b/generated/google/apis/youtube_analytics_v1beta1/service.rb index 60c229ef9..dbe41e979 100644 --- a/generated/google/apis/youtube_analytics_v1beta1/service.rb +++ b/generated/google/apis/youtube_analytics_v1beta1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'youtube/analytics/v1beta1/') - @batch_path = 'batch' + @batch_path = 'batch/youtubeAnalytics/v1beta1' end # Removes an item from a group. diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 1ccb64144..5ffe0c4ee 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 = '20170904' + REVISION = '20170911' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'