google-api-client 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module ToolresultsV1beta3
|
23
23
|
# Cloud Tool Results API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# API to publish and access results from developer tools.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/toolresults_v1beta3'
|
@@ -38,257 +38,202 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
45
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
51
|
-
@batch_path = 'batch
|
46
|
+
super('https://www.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
52
48
|
end
|
53
49
|
|
54
|
-
#
|
55
|
-
# May return any of the following canonical error codes:
|
56
|
-
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
50
|
+
# Retrieves a single screenshot cluster by its ID
|
57
51
|
# @param [String] project_id
|
58
52
|
# A Project id.
|
59
53
|
# Required.
|
60
|
-
# @param [String]
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
#
|
68
|
-
# Request-specific options
|
69
|
-
#
|
70
|
-
# @yield [result, err] Result & error if block supplied
|
71
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
72
|
-
# @yieldparam err [StandardError] error object if request failed
|
73
|
-
#
|
74
|
-
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
75
|
-
#
|
76
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def get_project_settings(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
80
|
-
command = make_simple_command(:get, 'projects/{projectId}/settings', options)
|
81
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
82
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
83
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
85
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
87
|
-
execute_or_queue_command(command, &block)
|
88
|
-
end
|
89
|
-
|
90
|
-
# Creates resources for settings which have not yet been set.
|
91
|
-
# Currently, this creates a single resource: a Google Cloud Storage bucket, to
|
92
|
-
# be used as the default bucket for this project. The bucket is created in an
|
93
|
-
# FTL-own storage project. Except for in rare cases, calling this method in
|
94
|
-
# parallel from multiple clients will only create a single bucket. In order to
|
95
|
-
# avoid unnecessary storage charges, the bucket is configured to automatically
|
96
|
-
# delete objects older than 90 days.
|
97
|
-
# The bucket is created with the following permissions: - Owner access for
|
98
|
-
# owners of central storage project (FTL-owned) - Writer access for owners/
|
99
|
-
# editors of customer project - Reader access for viewers of customer project
|
100
|
-
# The default ACL on objects created in the bucket is: - Owner access for owners
|
101
|
-
# of central storage project - Reader access for owners/editors/viewers of
|
102
|
-
# customer project See Google Cloud Storage documentation for more details.
|
103
|
-
# If there is already a default bucket set and the project can access the bucket,
|
104
|
-
# this call does nothing. However, if the project doesn't have the permission
|
105
|
-
# to access the bucket or the bucket is deleted, a new bucket will be created.
|
106
|
-
# May return any canonical error codes, including the following:
|
107
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project - Any
|
108
|
-
# error code raised by Google Cloud Storage
|
109
|
-
# @param [String] project_id
|
110
|
-
# A Project id.
|
54
|
+
# @param [String] history_id
|
55
|
+
# A History id.
|
56
|
+
# Required.
|
57
|
+
# @param [String] execution_id
|
58
|
+
# An Execution id.
|
59
|
+
# Required.
|
60
|
+
# @param [String] cluster_id
|
61
|
+
# A Cluster id
|
111
62
|
# Required.
|
112
63
|
# @param [String] fields
|
113
64
|
# Selector specifying which fields to include in a partial response.
|
114
65
|
# @param [String] quota_user
|
115
|
-
#
|
116
|
-
# characters.
|
117
|
-
# @param [String] user_ip
|
118
|
-
# Deprecated. Please use quotaUser instead.
|
66
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
67
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
119
68
|
# @param [Google::Apis::RequestOptions] options
|
120
69
|
# Request-specific options
|
121
70
|
#
|
122
71
|
# @yield [result, err] Result & error if block supplied
|
123
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
72
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ScreenshotCluster] parsed result object
|
124
73
|
# @yieldparam err [StandardError] error object if request failed
|
125
74
|
#
|
126
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
75
|
+
# @return [Google::Apis::ToolresultsV1beta3::ScreenshotCluster]
|
127
76
|
#
|
128
77
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
129
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
130
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
131
|
-
def
|
132
|
-
command = make_simple_command(:
|
133
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
134
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
80
|
+
def get_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
82
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ScreenshotCluster::Representation
|
83
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ScreenshotCluster
|
135
84
|
command.params['projectId'] = project_id unless project_id.nil?
|
85
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
86
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
87
|
+
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
136
88
|
command.query['fields'] = fields unless fields.nil?
|
137
89
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
138
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
139
90
|
execute_or_queue_command(command, &block)
|
140
91
|
end
|
141
92
|
|
142
|
-
#
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
93
|
+
# Lists Screenshot Clusters
|
94
|
+
# Returns the list of screenshot clusters corresponding to an execution.
|
95
|
+
# Screenshot clusters are created after the execution is finished.
|
96
|
+
# Clusters are created from a set of screenshots. Between any two
|
97
|
+
# screenshots, a matching score is calculated based off their metadata
|
98
|
+
# that determines how similar they are. Screenshots are placed
|
99
|
+
# in the cluster that has screens which have the highest matching
|
100
|
+
# scores.
|
148
101
|
# @param [String] project_id
|
149
102
|
# A Project id.
|
150
103
|
# Required.
|
151
|
-
# @param [
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
104
|
+
# @param [String] history_id
|
105
|
+
# A History id.
|
106
|
+
# Required.
|
107
|
+
# @param [String] execution_id
|
108
|
+
# An Execution id.
|
109
|
+
# Required.
|
156
110
|
# @param [String] fields
|
157
111
|
# Selector specifying which fields to include in a partial response.
|
158
112
|
# @param [String] quota_user
|
159
|
-
#
|
160
|
-
# characters.
|
161
|
-
# @param [String] user_ip
|
162
|
-
# Deprecated. Please use quotaUser instead.
|
113
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
114
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
163
115
|
# @param [Google::Apis::RequestOptions] options
|
164
116
|
# Request-specific options
|
165
117
|
#
|
166
118
|
# @yield [result, err] Result & error if block supplied
|
167
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
119
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse] parsed result object
|
168
120
|
# @yieldparam err [StandardError] error object if request failed
|
169
121
|
#
|
170
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
122
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse]
|
171
123
|
#
|
172
124
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
173
125
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
174
126
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
175
|
-
def
|
176
|
-
command = make_simple_command(:
|
177
|
-
command.
|
178
|
-
command.
|
179
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
180
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
127
|
+
def list_clusters(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
128
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters', options)
|
129
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse::Representation
|
130
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListScreenshotClustersResponse
|
181
131
|
command.params['projectId'] = project_id unless project_id.nil?
|
182
|
-
command.
|
132
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
133
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
183
134
|
command.query['fields'] = fields unless fields.nil?
|
184
135
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
185
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
186
136
|
execute_or_queue_command(command, &block)
|
187
137
|
end
|
188
138
|
|
189
|
-
# Gets
|
139
|
+
# Gets an Environment.
|
190
140
|
# May return any of the following canonical error codes:
|
191
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
192
|
-
# INVALID_ARGUMENT - if the request is malformed
|
193
|
-
# does not exist
|
141
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
142
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
143
|
+
# - NOT_FOUND - if the Environment does not exist
|
194
144
|
# @param [String] project_id
|
195
|
-
# A Project id.
|
196
|
-
# Required.
|
145
|
+
# Required. A Project id.
|
197
146
|
# @param [String] history_id
|
198
|
-
# A History id.
|
199
|
-
#
|
147
|
+
# Required. A History id.
|
148
|
+
# @param [String] execution_id
|
149
|
+
# Required. An Execution id.
|
150
|
+
# @param [String] environment_id
|
151
|
+
# Required. An Environment id.
|
200
152
|
# @param [String] fields
|
201
153
|
# Selector specifying which fields to include in a partial response.
|
202
154
|
# @param [String] quota_user
|
203
|
-
#
|
204
|
-
# characters.
|
205
|
-
# @param [String] user_ip
|
206
|
-
# Deprecated. Please use quotaUser instead.
|
155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
207
157
|
# @param [Google::Apis::RequestOptions] options
|
208
158
|
# Request-specific options
|
209
159
|
#
|
210
160
|
# @yield [result, err] Result & error if block supplied
|
211
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
161
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::Environment] parsed result object
|
212
162
|
# @yieldparam err [StandardError] error object if request failed
|
213
163
|
#
|
214
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
164
|
+
# @return [Google::Apis::ToolresultsV1beta3::Environment]
|
215
165
|
#
|
216
166
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
217
167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
218
168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
219
|
-
def
|
220
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}', options)
|
221
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
222
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
169
|
+
def get_environment(project_id, history_id, execution_id, environment_id, fields: nil, quota_user: nil, options: nil, &block)
|
170
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}', options)
|
171
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::Environment::Representation
|
172
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::Environment
|
223
173
|
command.params['projectId'] = project_id unless project_id.nil?
|
224
174
|
command.params['historyId'] = history_id unless history_id.nil?
|
175
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
176
|
+
command.params['environmentId'] = environment_id unless environment_id.nil?
|
225
177
|
command.query['fields'] = fields unless fields.nil?
|
226
178
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
227
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
228
179
|
execute_or_queue_command(command, &block)
|
229
180
|
end
|
230
181
|
|
231
|
-
# Lists
|
232
|
-
# The
|
233
|
-
# history_id key will be used to order the history with the same modification
|
234
|
-
# time.
|
182
|
+
# Lists Environments for a given Execution.
|
183
|
+
# The Environments are sorted by display name.
|
235
184
|
# May return any of the following canonical error codes:
|
236
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
237
|
-
# INVALID_ARGUMENT - if the request is malformed
|
238
|
-
# does not exist
|
185
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
186
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
187
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
239
188
|
# @param [String] project_id
|
240
|
-
# A Project id.
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
189
|
+
# Required. A Project id.
|
190
|
+
# @param [String] history_id
|
191
|
+
# Required. A History id.
|
192
|
+
# @param [String] execution_id
|
193
|
+
# Required. An Execution id.
|
245
194
|
# @param [Fixnum] page_size
|
246
|
-
# The maximum number of
|
247
|
-
# Default value:
|
248
|
-
# has a value of 0.
|
249
|
-
# Optional.
|
195
|
+
# The maximum number of Environments to fetch.
|
196
|
+
# Default value: 25. The server will use this default if the field is not set
|
197
|
+
# or has a value of 0.
|
250
198
|
# @param [String] page_token
|
251
199
|
# A continuation token to resume the query at the next item.
|
252
|
-
# Optional.
|
253
200
|
# @param [String] fields
|
254
201
|
# Selector specifying which fields to include in a partial response.
|
255
202
|
# @param [String] quota_user
|
256
|
-
#
|
257
|
-
# characters.
|
258
|
-
# @param [String] user_ip
|
259
|
-
# Deprecated. Please use quotaUser instead.
|
203
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
204
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
260
205
|
# @param [Google::Apis::RequestOptions] options
|
261
206
|
# Request-specific options
|
262
207
|
#
|
263
208
|
# @yield [result, err] Result & error if block supplied
|
264
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
209
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse] parsed result object
|
265
210
|
# @yieldparam err [StandardError] error object if request failed
|
266
211
|
#
|
267
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
212
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse]
|
268
213
|
#
|
269
214
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
270
215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
271
216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
272
|
-
def
|
273
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories', options)
|
274
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
275
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
217
|
+
def list_environments(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
218
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments', options)
|
219
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse::Representation
|
220
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
|
276
221
|
command.params['projectId'] = project_id unless project_id.nil?
|
277
|
-
command.
|
222
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
223
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
278
224
|
command.query['pageSize'] = page_size unless page_size.nil?
|
279
225
|
command.query['pageToken'] = page_token unless page_token.nil?
|
280
226
|
command.query['fields'] = fields unless fields.nil?
|
281
227
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
282
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
283
228
|
execute_or_queue_command(command, &block)
|
284
229
|
end
|
285
230
|
|
286
231
|
# Creates an Execution.
|
287
232
|
# The returned Execution will have the id set.
|
288
233
|
# May return any of the following canonical error codes:
|
289
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
290
|
-
# INVALID_ARGUMENT - if the request is malformed
|
291
|
-
# History does not exist
|
234
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
235
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
236
|
+
# - NOT_FOUND - if the containing History does not exist
|
292
237
|
# @param [String] project_id
|
293
238
|
# A Project id.
|
294
239
|
# Required.
|
@@ -297,16 +242,14 @@ module Google
|
|
297
242
|
# Required.
|
298
243
|
# @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
|
299
244
|
# @param [String] request_id
|
300
|
-
# A unique request ID for server to detect duplicated requests.
|
301
|
-
# UUID.
|
245
|
+
# A unique request ID for server to detect duplicated requests.
|
246
|
+
# For example, a UUID.
|
302
247
|
# Optional, but strongly recommended.
|
303
248
|
# @param [String] fields
|
304
249
|
# Selector specifying which fields to include in a partial response.
|
305
250
|
# @param [String] quota_user
|
306
|
-
#
|
307
|
-
# characters.
|
308
|
-
# @param [String] user_ip
|
309
|
-
# Deprecated. Please use quotaUser instead.
|
251
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
252
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
310
253
|
# @param [Google::Apis::RequestOptions] options
|
311
254
|
# Request-specific options
|
312
255
|
#
|
@@ -319,8 +262,8 @@ module Google
|
|
319
262
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
320
263
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
321
264
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
322
|
-
def
|
323
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions', options)
|
265
|
+
def create_execution(project_id, history_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
266
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
324
267
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
325
268
|
command.request_object = execution_object
|
326
269
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
@@ -330,15 +273,14 @@ module Google
|
|
330
273
|
command.query['requestId'] = request_id unless request_id.nil?
|
331
274
|
command.query['fields'] = fields unless fields.nil?
|
332
275
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
333
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
334
276
|
execute_or_queue_command(command, &block)
|
335
277
|
end
|
336
278
|
|
337
279
|
# Gets an Execution.
|
338
280
|
# May return any of the following canonical error codes:
|
339
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
340
|
-
# INVALID_ARGUMENT - if the request is malformed
|
341
|
-
# does not exist
|
281
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
282
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
283
|
+
# - NOT_FOUND - if the Execution does not exist
|
342
284
|
# @param [String] project_id
|
343
285
|
# A Project id.
|
344
286
|
# Required.
|
@@ -351,10 +293,8 @@ module Google
|
|
351
293
|
# @param [String] fields
|
352
294
|
# Selector specifying which fields to include in a partial response.
|
353
295
|
# @param [String] quota_user
|
354
|
-
#
|
355
|
-
# characters.
|
356
|
-
# @param [String] user_ip
|
357
|
-
# Deprecated. Please use quotaUser instead.
|
296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
358
298
|
# @param [Google::Apis::RequestOptions] options
|
359
299
|
# Request-specific options
|
360
300
|
#
|
@@ -367,8 +307,8 @@ module Google
|
|
367
307
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
368
308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
369
309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
370
|
-
def
|
371
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
310
|
+
def get_execution(project_id, history_id, execution_id, fields: nil, quota_user: nil, options: nil, &block)
|
311
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
372
312
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
373
313
|
command.response_class = Google::Apis::ToolresultsV1beta3::Execution
|
374
314
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -376,7 +316,6 @@ module Google
|
|
376
316
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
377
317
|
command.query['fields'] = fields unless fields.nil?
|
378
318
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
379
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
380
319
|
execute_or_queue_command(command, &block)
|
381
320
|
end
|
382
321
|
|
@@ -385,9 +324,9 @@ module Google
|
|
385
324
|
# execution_id key will be used to order the executions with the same
|
386
325
|
# creation_time.
|
387
326
|
# May return any of the following canonical error codes:
|
388
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
389
|
-
# INVALID_ARGUMENT - if the request is malformed
|
390
|
-
# History does not exist
|
327
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
328
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
329
|
+
# - NOT_FOUND - if the containing History does not exist
|
391
330
|
# @param [String] project_id
|
392
331
|
# A Project id.
|
393
332
|
# Required.
|
@@ -396,8 +335,8 @@ module Google
|
|
396
335
|
# Required.
|
397
336
|
# @param [Fixnum] page_size
|
398
337
|
# The maximum number of Executions to fetch.
|
399
|
-
# Default value: 25. The server will use this default if the field is not set
|
400
|
-
# has a value of 0.
|
338
|
+
# Default value: 25. The server will use this default if the field is not set
|
339
|
+
# or has a value of 0.
|
401
340
|
# Optional.
|
402
341
|
# @param [String] page_token
|
403
342
|
# A continuation token to resume the query at the next item.
|
@@ -405,10 +344,8 @@ module Google
|
|
405
344
|
# @param [String] fields
|
406
345
|
# Selector specifying which fields to include in a partial response.
|
407
346
|
# @param [String] quota_user
|
408
|
-
#
|
409
|
-
# characters.
|
410
|
-
# @param [String] user_ip
|
411
|
-
# Deprecated. Please use quotaUser instead.
|
347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
412
349
|
# @param [Google::Apis::RequestOptions] options
|
413
350
|
# Request-specific options
|
414
351
|
#
|
@@ -421,8 +358,8 @@ module Google
|
|
421
358
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
422
359
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
423
360
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
424
|
-
def
|
425
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions', options)
|
361
|
+
def list_executions(project_id, history_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
362
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions', options)
|
426
363
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse::Representation
|
427
364
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListExecutionsResponse
|
428
365
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -431,34 +368,32 @@ module Google
|
|
431
368
|
command.query['pageToken'] = page_token unless page_token.nil?
|
432
369
|
command.query['fields'] = fields unless fields.nil?
|
433
370
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
434
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
435
371
|
execute_or_queue_command(command, &block)
|
436
372
|
end
|
437
373
|
|
438
374
|
# Updates an existing Execution with the supplied partial entity.
|
439
375
|
# May return any of the following canonical error codes:
|
440
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
441
|
-
# INVALID_ARGUMENT - if the request is malformed
|
442
|
-
#
|
443
|
-
# does not exist
|
376
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
377
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
378
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
379
|
+
# - NOT_FOUND - if the containing History does not exist
|
444
380
|
# @param [String] project_id
|
445
|
-
# A Project id.
|
381
|
+
# A Project id.
|
382
|
+
# Required.
|
446
383
|
# @param [String] history_id
|
447
384
|
# Required.
|
448
385
|
# @param [String] execution_id
|
449
386
|
# Required.
|
450
387
|
# @param [Google::Apis::ToolresultsV1beta3::Execution] execution_object
|
451
388
|
# @param [String] request_id
|
452
|
-
# A unique request ID for server to detect duplicated requests.
|
453
|
-
# UUID.
|
389
|
+
# A unique request ID for server to detect duplicated requests.
|
390
|
+
# For example, a UUID.
|
454
391
|
# Optional, but strongly recommended.
|
455
392
|
# @param [String] fields
|
456
393
|
# Selector specifying which fields to include in a partial response.
|
457
394
|
# @param [String] quota_user
|
458
|
-
#
|
459
|
-
# characters.
|
460
|
-
# @param [String] user_ip
|
461
|
-
# Deprecated. Please use quotaUser instead.
|
395
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
396
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
462
397
|
# @param [Google::Apis::RequestOptions] options
|
463
398
|
# Request-specific options
|
464
399
|
#
|
@@ -471,8 +406,8 @@ module Google
|
|
471
406
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
-
def
|
475
|
-
command = make_simple_command(:patch, 'projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
409
|
+
def patch_execution(project_id, history_id, execution_id, execution_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
410
|
+
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}', options)
|
476
411
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
477
412
|
command.request_object = execution_object
|
478
413
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Execution::Representation
|
@@ -483,225 +418,545 @@ module Google
|
|
483
418
|
command.query['requestId'] = request_id unless request_id.nil?
|
484
419
|
command.query['fields'] = fields unless fields.nil?
|
485
420
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
486
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
487
421
|
execute_or_queue_command(command, &block)
|
488
422
|
end
|
489
423
|
|
490
|
-
#
|
424
|
+
# Creates a History.
|
425
|
+
# The returned History will have the id set.
|
426
|
+
# May return any of the following canonical error codes:
|
427
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
428
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
429
|
+
# - NOT_FOUND - if the containing project does not exist
|
430
|
+
# @param [String] project_id
|
431
|
+
# A Project id.
|
432
|
+
# Required.
|
433
|
+
# @param [Google::Apis::ToolresultsV1beta3::History] history_object
|
434
|
+
# @param [String] request_id
|
435
|
+
# A unique request ID for server to detect duplicated requests.
|
436
|
+
# For example, a UUID.
|
437
|
+
# Optional, but strongly recommended.
|
438
|
+
# @param [String] fields
|
439
|
+
# Selector specifying which fields to include in a partial response.
|
440
|
+
# @param [String] quota_user
|
441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
443
|
+
# @param [Google::Apis::RequestOptions] options
|
444
|
+
# Request-specific options
|
445
|
+
#
|
446
|
+
# @yield [result, err] Result & error if block supplied
|
447
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
448
|
+
# @yieldparam err [StandardError] error object if request failed
|
449
|
+
#
|
450
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
451
|
+
#
|
452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
455
|
+
def create_history(project_id, history_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
456
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
457
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
458
|
+
command.request_object = history_object
|
459
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
460
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
461
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
462
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
463
|
+
command.query['fields'] = fields unless fields.nil?
|
464
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
465
|
+
execute_or_queue_command(command, &block)
|
466
|
+
end
|
467
|
+
|
468
|
+
# Gets a History.
|
469
|
+
# May return any of the following canonical error codes:
|
470
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
471
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
472
|
+
# - NOT_FOUND - if the History does not exist
|
491
473
|
# @param [String] project_id
|
492
474
|
# A Project id.
|
493
475
|
# Required.
|
494
476
|
# @param [String] history_id
|
495
477
|
# A History id.
|
496
478
|
# Required.
|
497
|
-
# @param [String] execution_id
|
498
|
-
# An Execution id.
|
499
|
-
# Required.
|
500
|
-
# @param [String] cluster_id
|
501
|
-
# A Cluster id
|
502
|
-
# Required.
|
503
479
|
# @param [String] fields
|
504
480
|
# Selector specifying which fields to include in a partial response.
|
505
481
|
# @param [String] quota_user
|
506
|
-
#
|
507
|
-
# characters.
|
508
|
-
# @param [String] user_ip
|
509
|
-
# Deprecated. Please use quotaUser instead.
|
482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
510
484
|
# @param [Google::Apis::RequestOptions] options
|
511
485
|
# Request-specific options
|
512
486
|
#
|
513
487
|
# @yield [result, err] Result & error if block supplied
|
514
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
488
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::History] parsed result object
|
515
489
|
# @yieldparam err [StandardError] error object if request failed
|
516
490
|
#
|
517
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
491
|
+
# @return [Google::Apis::ToolresultsV1beta3::History]
|
518
492
|
#
|
519
493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
520
494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
|
-
def
|
523
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}
|
524
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
525
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
496
|
+
def get_history(project_id, history_id, fields: nil, quota_user: nil, options: nil, &block)
|
497
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}', options)
|
498
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::History::Representation
|
499
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::History
|
526
500
|
command.params['projectId'] = project_id unless project_id.nil?
|
527
501
|
command.params['historyId'] = history_id unless history_id.nil?
|
528
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
529
|
-
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
530
502
|
command.query['fields'] = fields unless fields.nil?
|
531
503
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
532
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
533
504
|
execute_or_queue_command(command, &block)
|
534
505
|
end
|
535
506
|
|
536
|
-
# Lists
|
537
|
-
#
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
#
|
542
|
-
#
|
507
|
+
# Lists Histories for a given Project.
|
508
|
+
# The histories are sorted by modification time in descending order. The
|
509
|
+
# history_id key will be used to order the history with the same
|
510
|
+
# modification time.
|
511
|
+
# May return any of the following canonical error codes:
|
512
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
513
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
514
|
+
# - NOT_FOUND - if the History does not exist
|
543
515
|
# @param [String] project_id
|
544
516
|
# A Project id.
|
545
517
|
# Required.
|
518
|
+
# @param [String] filter_by_name
|
519
|
+
# If set, only return histories with the given name.
|
520
|
+
# Optional.
|
521
|
+
# @param [Fixnum] page_size
|
522
|
+
# The maximum number of Histories to fetch.
|
523
|
+
# Default value: 20. The server will use this default if the field is not set
|
524
|
+
# or has a value of 0. Any value greater than 100 will be treated as 100.
|
525
|
+
# Optional.
|
526
|
+
# @param [String] page_token
|
527
|
+
# A continuation token to resume the query at the next item.
|
528
|
+
# Optional.
|
529
|
+
# @param [String] fields
|
530
|
+
# Selector specifying which fields to include in a partial response.
|
531
|
+
# @param [String] quota_user
|
532
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
533
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
534
|
+
# @param [Google::Apis::RequestOptions] options
|
535
|
+
# Request-specific options
|
536
|
+
#
|
537
|
+
# @yield [result, err] Result & error if block supplied
|
538
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse] parsed result object
|
539
|
+
# @yieldparam err [StandardError] error object if request failed
|
540
|
+
#
|
541
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListHistoriesResponse]
|
542
|
+
#
|
543
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
544
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
|
+
def list_histories(project_id, filter_by_name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
547
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories', options)
|
548
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse::Representation
|
549
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListHistoriesResponse
|
550
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
551
|
+
command.query['filterByName'] = filter_by_name unless filter_by_name.nil?
|
552
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
553
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
554
|
+
command.query['fields'] = fields unless fields.nil?
|
555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
556
|
+
execute_or_queue_command(command, &block)
|
557
|
+
end
|
558
|
+
|
559
|
+
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
|
560
|
+
# already been created.
|
561
|
+
# May return any of the following error code(s):
|
562
|
+
# - NOT_FOUND - The containing Step does not exist
|
563
|
+
# @param [String] project_id
|
564
|
+
# The cloud project
|
546
565
|
# @param [String] history_id
|
547
|
-
# A
|
548
|
-
# Required.
|
566
|
+
# A tool results history ID.
|
549
567
|
# @param [String] execution_id
|
550
|
-
#
|
551
|
-
#
|
568
|
+
# A tool results execution ID.
|
569
|
+
# @param [String] step_id
|
570
|
+
# A tool results step ID.
|
571
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
|
552
572
|
# @param [String] fields
|
553
573
|
# Selector specifying which fields to include in a partial response.
|
554
574
|
# @param [String] quota_user
|
555
|
-
#
|
556
|
-
# characters.
|
557
|
-
# @param [String] user_ip
|
558
|
-
# Deprecated. Please use quotaUser instead.
|
575
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
576
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
577
|
# @param [Google::Apis::RequestOptions] options
|
560
578
|
# Request-specific options
|
561
579
|
#
|
562
580
|
# @yield [result, err] Result & error if block supplied
|
563
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
581
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
564
582
|
# @yieldparam err [StandardError] error object if request failed
|
565
583
|
#
|
566
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
584
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
567
585
|
#
|
568
586
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
587
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
588
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
-
def
|
572
|
-
command = make_simple_command(:
|
573
|
-
command.
|
574
|
-
command.
|
589
|
+
def create_perf_metrics_summary(project_id, history_id, execution_id, step_id, perf_metrics_summary_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
590
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
591
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
592
|
+
command.request_object = perf_metrics_summary_object
|
593
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
594
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
575
595
|
command.params['projectId'] = project_id unless project_id.nil?
|
576
596
|
command.params['historyId'] = history_id unless history_id.nil?
|
577
597
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
598
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
578
599
|
command.query['fields'] = fields unless fields.nil?
|
579
600
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
580
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
581
601
|
execute_or_queue_command(command, &block)
|
582
602
|
end
|
583
603
|
|
584
|
-
#
|
604
|
+
# Creates a PerfSampleSeries.
|
605
|
+
# May return any of the following error code(s):
|
606
|
+
# - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step
|
607
|
+
# - NOT_FOUND - The containing Step does not exist
|
608
|
+
# @param [String] project_id
|
609
|
+
# The cloud project
|
610
|
+
# @param [String] history_id
|
611
|
+
# A tool results history ID.
|
612
|
+
# @param [String] execution_id
|
613
|
+
# A tool results execution ID.
|
614
|
+
# @param [String] step_id
|
615
|
+
# A tool results step ID.
|
616
|
+
# @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
|
617
|
+
# @param [String] fields
|
618
|
+
# Selector specifying which fields to include in a partial response.
|
619
|
+
# @param [String] quota_user
|
620
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
621
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
622
|
+
# @param [Google::Apis::RequestOptions] options
|
623
|
+
# Request-specific options
|
624
|
+
#
|
625
|
+
# @yield [result, err] Result & error if block supplied
|
626
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
627
|
+
# @yieldparam err [StandardError] error object if request failed
|
628
|
+
#
|
629
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
630
|
+
#
|
631
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
632
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
633
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
634
|
+
def create_perf_sample_series(project_id, history_id, execution_id, step_id, perf_sample_series_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
635
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
636
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
637
|
+
command.request_object = perf_sample_series_object
|
638
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
639
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
640
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
641
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
642
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
643
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
644
|
+
command.query['fields'] = fields unless fields.nil?
|
645
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
646
|
+
execute_or_queue_command(command, &block)
|
647
|
+
end
|
648
|
+
|
649
|
+
# Gets a PerfSampleSeries.
|
650
|
+
# May return any of the following error code(s):
|
651
|
+
# - NOT_FOUND - The specified PerfSampleSeries does not exist
|
652
|
+
# @param [String] project_id
|
653
|
+
# The cloud project
|
654
|
+
# @param [String] history_id
|
655
|
+
# A tool results history ID.
|
656
|
+
# @param [String] execution_id
|
657
|
+
# A tool results execution ID.
|
658
|
+
# @param [String] step_id
|
659
|
+
# A tool results step ID.
|
660
|
+
# @param [String] sample_series_id
|
661
|
+
# A sample series id
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def get_perf_sample_series(project_id, history_id, execution_id, step_id, sample_series_id, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
681
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
682
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
683
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
684
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
685
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
686
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
687
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
688
|
+
command.query['fields'] = fields unless fields.nil?
|
689
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
690
|
+
execute_or_queue_command(command, &block)
|
691
|
+
end
|
692
|
+
|
693
|
+
# Lists PerfSampleSeries for a given Step.
|
694
|
+
# The request provides an optional filter which specifies one or more
|
695
|
+
# PerfMetricsType to include in the result; if none returns all.
|
696
|
+
# The resulting PerfSampleSeries are sorted by ids.
|
585
697
|
# May return any of the following canonical error codes:
|
586
|
-
# -
|
587
|
-
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the
|
588
|
-
# Environment does not exist
|
698
|
+
# - NOT_FOUND - The containing Step does not exist
|
589
699
|
# @param [String] project_id
|
590
|
-
#
|
700
|
+
# The cloud project
|
591
701
|
# @param [String] history_id
|
592
|
-
#
|
702
|
+
# A tool results history ID.
|
593
703
|
# @param [String] execution_id
|
594
|
-
#
|
595
|
-
# @param [String]
|
596
|
-
#
|
704
|
+
# A tool results execution ID.
|
705
|
+
# @param [String] step_id
|
706
|
+
# A tool results step ID.
|
707
|
+
# @param [Array<String>, String] filter
|
708
|
+
# Specify one or more PerfMetricType values such as CPU to filter the result
|
597
709
|
# @param [String] fields
|
598
710
|
# Selector specifying which fields to include in a partial response.
|
599
711
|
# @param [String] quota_user
|
600
|
-
#
|
601
|
-
# characters.
|
602
|
-
# @param [String] user_ip
|
603
|
-
# Deprecated. Please use quotaUser instead.
|
712
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
713
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
604
714
|
# @param [Google::Apis::RequestOptions] options
|
605
715
|
# Request-specific options
|
606
716
|
#
|
607
717
|
# @yield [result, err] Result & error if block supplied
|
608
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
718
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
|
609
719
|
# @yieldparam err [StandardError] error object if request failed
|
610
720
|
#
|
611
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
721
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
|
612
722
|
#
|
613
723
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
614
724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
615
725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
616
|
-
def
|
617
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/
|
618
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
619
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
726
|
+
def list_perf_sample_series(project_id, history_id, execution_id, step_id, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
727
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
728
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
|
729
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
|
620
730
|
command.params['projectId'] = project_id unless project_id.nil?
|
621
731
|
command.params['historyId'] = history_id unless history_id.nil?
|
622
732
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
623
|
-
command.params['
|
733
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
734
|
+
command.query['filter'] = filter unless filter.nil?
|
624
735
|
command.query['fields'] = fields unless fields.nil?
|
625
736
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
626
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
627
737
|
execute_or_queue_command(command, &block)
|
628
738
|
end
|
629
739
|
|
630
|
-
#
|
631
|
-
# The Environments are sorted by display name.
|
740
|
+
# Gets the Tool Results settings for a project.
|
632
741
|
# May return any of the following canonical error codes:
|
633
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
634
|
-
# INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing
|
635
|
-
# Execution does not exist
|
742
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from project
|
636
743
|
# @param [String] project_id
|
637
|
-
#
|
744
|
+
# A Project id.
|
745
|
+
# Required.
|
746
|
+
# @param [String] fields
|
747
|
+
# Selector specifying which fields to include in a partial response.
|
748
|
+
# @param [String] quota_user
|
749
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
750
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
751
|
+
# @param [Google::Apis::RequestOptions] options
|
752
|
+
# Request-specific options
|
753
|
+
#
|
754
|
+
# @yield [result, err] Result & error if block supplied
|
755
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
756
|
+
# @yieldparam err [StandardError] error object if request failed
|
757
|
+
#
|
758
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
759
|
+
#
|
760
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
761
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
762
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
763
|
+
def get_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
764
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/settings', options)
|
765
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
766
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
767
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
768
|
+
command.query['fields'] = fields unless fields.nil?
|
769
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
770
|
+
execute_or_queue_command(command, &block)
|
771
|
+
end
|
772
|
+
|
773
|
+
# Creates resources for settings which have not yet been set.
|
774
|
+
# Currently, this creates a single resource: a Google Cloud Storage bucket,
|
775
|
+
# to be used as the default bucket for this project. The bucket is created
|
776
|
+
# in an FTL-own storage project. Except for in rare cases, calling this
|
777
|
+
# method in parallel from multiple clients will only create a single bucket.
|
778
|
+
# In order to avoid unnecessary storage charges, the bucket is configured to
|
779
|
+
# automatically delete objects older than 90 days.
|
780
|
+
# The bucket is created with the following permissions:
|
781
|
+
# - Owner access for owners of central storage project (FTL-owned)
|
782
|
+
# - Writer access for owners/editors of customer project
|
783
|
+
# - Reader access for viewers of customer project
|
784
|
+
# The default ACL on objects created in the bucket is:
|
785
|
+
# - Owner access for owners of central storage project
|
786
|
+
# - Reader access for owners/editors/viewers of customer project
|
787
|
+
# See Google Cloud Storage documentation for more details.
|
788
|
+
# If there is already a default bucket set and the project can access the
|
789
|
+
# bucket, this call does nothing. However, if the project doesn't have the
|
790
|
+
# permission to access the bucket or the bucket is deleted, a new bucket
|
791
|
+
# will be created.
|
792
|
+
# May return any canonical error codes, including the following:
|
793
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
794
|
+
# - Any error code raised by Google Cloud Storage
|
795
|
+
# @param [String] project_id
|
796
|
+
# A Project id.
|
797
|
+
# Required.
|
798
|
+
# @param [String] fields
|
799
|
+
# Selector specifying which fields to include in a partial response.
|
800
|
+
# @param [String] quota_user
|
801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
803
|
+
# @param [Google::Apis::RequestOptions] options
|
804
|
+
# Request-specific options
|
805
|
+
#
|
806
|
+
# @yield [result, err] Result & error if block supplied
|
807
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ProjectSettings] parsed result object
|
808
|
+
# @yieldparam err [StandardError] error object if request failed
|
809
|
+
#
|
810
|
+
# @return [Google::Apis::ToolresultsV1beta3::ProjectSettings]
|
811
|
+
#
|
812
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
813
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
814
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
815
|
+
def initialize_project_settings(project_id, fields: nil, quota_user: nil, options: nil, &block)
|
816
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}:initializeSettings', options)
|
817
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ProjectSettings::Representation
|
818
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ProjectSettings
|
819
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
820
|
+
command.query['fields'] = fields unless fields.nil?
|
821
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
822
|
+
execute_or_queue_command(command, &block)
|
823
|
+
end
|
824
|
+
|
825
|
+
# Creates a batch of PerfSamples
|
826
|
+
# - a client can submit multiple batches of Perf Samples through repeated
|
827
|
+
# calls to this method in order to split up a large request payload
|
828
|
+
# - duplicates and existing timestamp entries will be ignored.
|
829
|
+
# - the batch operation may partially succeed
|
830
|
+
# - the set of elements successfully inserted is returned in the response
|
831
|
+
# (omits items which already existed in the database).
|
832
|
+
# May return any of the following canonical error codes:
|
833
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
834
|
+
# @param [String] project_id
|
835
|
+
# The cloud project
|
638
836
|
# @param [String] history_id
|
639
|
-
#
|
837
|
+
# A tool results history ID.
|
640
838
|
# @param [String] execution_id
|
641
|
-
#
|
839
|
+
# A tool results execution ID.
|
840
|
+
# @param [String] step_id
|
841
|
+
# A tool results step ID.
|
842
|
+
# @param [String] sample_series_id
|
843
|
+
# A sample series id
|
844
|
+
# @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
845
|
+
# @param [String] fields
|
846
|
+
# Selector specifying which fields to include in a partial response.
|
847
|
+
# @param [String] quota_user
|
848
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
849
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
850
|
+
# @param [Google::Apis::RequestOptions] options
|
851
|
+
# Request-specific options
|
852
|
+
#
|
853
|
+
# @yield [result, err] Result & error if block supplied
|
854
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
|
855
|
+
# @yieldparam err [StandardError] error object if request failed
|
856
|
+
#
|
857
|
+
# @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
|
858
|
+
#
|
859
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
860
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
861
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
862
|
+
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, options: nil, &block)
|
863
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
864
|
+
command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
|
865
|
+
command.request_object = batch_create_perf_samples_request_object
|
866
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
867
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
868
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
869
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
870
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
871
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
872
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
873
|
+
command.query['fields'] = fields unless fields.nil?
|
874
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
875
|
+
execute_or_queue_command(command, &block)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Lists the Performance Samples of a given Sample Series
|
879
|
+
# - The list results are sorted by timestamps ascending
|
880
|
+
# - The default page size is 500 samples; and maximum size allowed 5000
|
881
|
+
# - The response token indicates the last returned PerfSample timestamp
|
882
|
+
# - When the results size exceeds the page size, submit a subsequent request
|
883
|
+
# including the page token to return the rest of the samples up to the
|
884
|
+
# page limit
|
885
|
+
# May return any of the following canonical error codes:
|
886
|
+
# - OUT_OF_RANGE - The specified request page_token is out of valid range
|
887
|
+
# - NOT_FOUND - The containing PerfSampleSeries does not exist
|
888
|
+
# @param [String] project_id
|
889
|
+
# The cloud project
|
890
|
+
# @param [String] history_id
|
891
|
+
# A tool results history ID.
|
892
|
+
# @param [String] execution_id
|
893
|
+
# A tool results execution ID.
|
894
|
+
# @param [String] step_id
|
895
|
+
# A tool results step ID.
|
896
|
+
# @param [String] sample_series_id
|
897
|
+
# A sample series id
|
642
898
|
# @param [Fixnum] page_size
|
643
|
-
# The
|
644
|
-
#
|
645
|
-
# has a value of 0.
|
899
|
+
# The default page size is 500 samples, and the maximum size is 5000. If
|
900
|
+
# the page_size is greater than 5000, the effective page size will be 5000
|
646
901
|
# @param [String] page_token
|
647
|
-
#
|
902
|
+
# Optional, the next_page_token returned in the previous response
|
648
903
|
# @param [String] fields
|
649
904
|
# Selector specifying which fields to include in a partial response.
|
650
905
|
# @param [String] quota_user
|
651
|
-
#
|
652
|
-
# characters.
|
653
|
-
# @param [String] user_ip
|
654
|
-
# Deprecated. Please use quotaUser instead.
|
906
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
907
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
655
908
|
# @param [Google::Apis::RequestOptions] options
|
656
909
|
# Request-specific options
|
657
910
|
#
|
658
911
|
# @yield [result, err] Result & error if block supplied
|
659
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::
|
912
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
|
660
913
|
# @yieldparam err [StandardError] error object if request failed
|
661
914
|
#
|
662
|
-
# @return [Google::Apis::ToolresultsV1beta3::
|
915
|
+
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
|
663
916
|
#
|
664
917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
665
918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
666
919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
667
|
-
def
|
668
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/
|
669
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::
|
670
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::
|
920
|
+
def list_samples(project_id, history_id, execution_id, step_id, sample_series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
921
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
922
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
|
923
|
+
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
|
671
924
|
command.params['projectId'] = project_id unless project_id.nil?
|
672
925
|
command.params['historyId'] = history_id unless history_id.nil?
|
673
926
|
command.params['executionId'] = execution_id unless execution_id.nil?
|
927
|
+
command.params['stepId'] = step_id unless step_id.nil?
|
928
|
+
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
674
929
|
command.query['pageSize'] = page_size unless page_size.nil?
|
675
930
|
command.query['pageToken'] = page_token unless page_token.nil?
|
676
931
|
command.query['fields'] = fields unless fields.nil?
|
677
932
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
678
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
679
933
|
execute_or_queue_command(command, &block)
|
680
934
|
end
|
681
935
|
|
682
936
|
# Lists accessibility clusters for a given Step
|
683
937
|
# May return any of the following canonical error codes:
|
684
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
685
|
-
# INVALID_ARGUMENT - if the request is malformed
|
686
|
-
# argument in the request happens to be
|
687
|
-
#
|
938
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
939
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
940
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
941
|
+
# invalid; e.g. if the locale format is incorrect
|
942
|
+
# - NOT_FOUND - if the containing Step does not exist
|
688
943
|
# @param [String] name
|
689
|
-
# A full resource name of the step.
|
690
|
-
# bh.1234567890abcdef/executions/
|
944
|
+
# A full resource name of the step.
|
945
|
+
# For example, projects/my-project/histories/bh.1234567890abcdef/executions/
|
946
|
+
# 1234567890123456789/steps/bs.1234567890abcdef
|
691
947
|
# Required.
|
692
948
|
# @param [String] locale
|
693
|
-
# The accepted format is the canonical Unicode format with hyphen as a
|
694
|
-
# Language must be lowercase, Language Script - Capitalized,
|
949
|
+
# The accepted format is the canonical Unicode format with hyphen as a
|
950
|
+
# delimiter. Language must be lowercase, Language Script - Capitalized,
|
951
|
+
# Region - UPPERCASE.
|
695
952
|
# See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for
|
696
953
|
# details.
|
697
954
|
# Required.
|
698
955
|
# @param [String] fields
|
699
956
|
# Selector specifying which fields to include in a partial response.
|
700
957
|
# @param [String] quota_user
|
701
|
-
#
|
702
|
-
# characters.
|
703
|
-
# @param [String] user_ip
|
704
|
-
# Deprecated. Please use quotaUser instead.
|
958
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
959
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
705
960
|
# @param [Google::Apis::RequestOptions] options
|
706
961
|
# Request-specific options
|
707
962
|
#
|
@@ -714,25 +969,24 @@ module Google
|
|
714
969
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
715
970
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
716
971
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
717
|
-
def
|
718
|
-
command = make_simple_command(:get, '{+name}:accessibilityClusters', options)
|
972
|
+
def accessibility_step_clusters(name, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
|
973
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/{+name}:accessibilityClusters', options)
|
719
974
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse::Representation
|
720
975
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepAccessibilityClustersResponse
|
721
976
|
command.params['name'] = name unless name.nil?
|
722
977
|
command.query['locale'] = locale unless locale.nil?
|
723
978
|
command.query['fields'] = fields unless fields.nil?
|
724
979
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
725
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
726
980
|
execute_or_queue_command(command, &block)
|
727
981
|
end
|
728
982
|
|
729
983
|
# Creates a Step.
|
730
984
|
# The returned Step will have the id set.
|
731
985
|
# May return any of the following canonical error codes:
|
732
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
733
|
-
# INVALID_ARGUMENT - if the request is malformed
|
734
|
-
# step is too large (more than 10Mib)
|
735
|
-
# does not exist
|
986
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
987
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
988
|
+
# - FAILED_PRECONDITION - if the step is too large (more than 10Mib)
|
989
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
736
990
|
# @param [String] project_id
|
737
991
|
# Required. A Project id.
|
738
992
|
# @param [String] history_id
|
@@ -741,16 +995,14 @@ module Google
|
|
741
995
|
# Required. An Execution id.
|
742
996
|
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
743
997
|
# @param [String] request_id
|
744
|
-
# A unique request ID for server to detect duplicated requests.
|
745
|
-
# UUID.
|
998
|
+
# A unique request ID for server to detect duplicated requests.
|
999
|
+
# For example, a UUID.
|
746
1000
|
# Optional, but strongly recommended.
|
747
1001
|
# @param [String] fields
|
748
1002
|
# Selector specifying which fields to include in a partial response.
|
749
1003
|
# @param [String] quota_user
|
750
|
-
#
|
751
|
-
# characters.
|
752
|
-
# @param [String] user_ip
|
753
|
-
# Deprecated. Please use quotaUser instead.
|
1004
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1005
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
754
1006
|
# @param [Google::Apis::RequestOptions] options
|
755
1007
|
# Request-specific options
|
756
1008
|
#
|
@@ -763,8 +1015,8 @@ module Google
|
|
763
1015
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
764
1016
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
765
1017
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
766
|
-
def
|
767
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
1018
|
+
def create_step(project_id, history_id, execution_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1019
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
768
1020
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
769
1021
|
command.request_object = step_object
|
770
1022
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
@@ -775,15 +1027,14 @@ module Google
|
|
775
1027
|
command.query['requestId'] = request_id unless request_id.nil?
|
776
1028
|
command.query['fields'] = fields unless fields.nil?
|
777
1029
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
778
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
779
1030
|
execute_or_queue_command(command, &block)
|
780
1031
|
end
|
781
1032
|
|
782
1033
|
# Gets a Step.
|
783
1034
|
# May return any of the following canonical error codes:
|
784
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
785
|
-
# INVALID_ARGUMENT - if the request is malformed
|
786
|
-
# not exist
|
1035
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
1036
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1037
|
+
# - NOT_FOUND - if the Step does not exist
|
787
1038
|
# @param [String] project_id
|
788
1039
|
# A Project id.
|
789
1040
|
# Required.
|
@@ -799,10 +1050,8 @@ module Google
|
|
799
1050
|
# @param [String] fields
|
800
1051
|
# Selector specifying which fields to include in a partial response.
|
801
1052
|
# @param [String] quota_user
|
802
|
-
#
|
803
|
-
# characters.
|
804
|
-
# @param [String] user_ip
|
805
|
-
# Deprecated. Please use quotaUser instead.
|
1053
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1054
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
806
1055
|
# @param [Google::Apis::RequestOptions] options
|
807
1056
|
# Request-specific options
|
808
1057
|
#
|
@@ -815,8 +1064,8 @@ module Google
|
|
815
1064
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
816
1065
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
817
1066
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
818
|
-
def
|
819
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
1067
|
+
def get_step(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
1068
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
820
1069
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
821
1070
|
command.response_class = Google::Apis::ToolresultsV1beta3::Step
|
822
1071
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -825,13 +1074,12 @@ module Google
|
|
825
1074
|
command.params['stepId'] = step_id unless step_id.nil?
|
826
1075
|
command.query['fields'] = fields unless fields.nil?
|
827
1076
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
828
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
829
1077
|
execute_or_queue_command(command, &block)
|
830
1078
|
end
|
831
1079
|
|
832
1080
|
# Retrieves a PerfMetricsSummary.
|
833
|
-
# May return any of the following error code(s):
|
834
|
-
# PerfMetricsSummary does not exist
|
1081
|
+
# May return any of the following error code(s):
|
1082
|
+
# - NOT_FOUND - The specified PerfMetricsSummary does not exist
|
835
1083
|
# @param [String] project_id
|
836
1084
|
# The cloud project
|
837
1085
|
# @param [String] history_id
|
@@ -843,10 +1091,8 @@ module Google
|
|
843
1091
|
# @param [String] fields
|
844
1092
|
# Selector specifying which fields to include in a partial response.
|
845
1093
|
# @param [String] quota_user
|
846
|
-
#
|
847
|
-
# characters.
|
848
|
-
# @param [String] user_ip
|
849
|
-
# Deprecated. Please use quotaUser instead.
|
1094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
850
1096
|
# @param [Google::Apis::RequestOptions] options
|
851
1097
|
# Request-specific options
|
852
1098
|
#
|
@@ -859,8 +1105,8 @@ module Google
|
|
859
1105
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
860
1106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
861
1107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
862
|
-
def
|
863
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
1108
|
+
def get_step_perf_metrics_summary(project_id, history_id, execution_id, step_id, fields: nil, quota_user: nil, options: nil, &block)
|
1109
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
864
1110
|
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
865
1111
|
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
866
1112
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -869,19 +1115,20 @@ module Google
|
|
869
1115
|
command.params['stepId'] = step_id unless step_id.nil?
|
870
1116
|
command.query['fields'] = fields unless fields.nil?
|
871
1117
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
872
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
873
1118
|
execute_or_queue_command(command, &block)
|
874
1119
|
end
|
875
1120
|
|
876
1121
|
# Lists Steps for a given Execution.
|
877
|
-
# The steps are sorted by creation_time in descending order. The
|
878
|
-
# will be used to order the steps with the same
|
1122
|
+
# The steps are sorted by creation_time in descending order. The
|
1123
|
+
# step_id key will be used to order the steps with the same
|
1124
|
+
# creation_time.
|
879
1125
|
# May return any of the following canonical error codes:
|
880
|
-
# - PERMISSION_DENIED - if the user is not authorized to read project
|
881
|
-
# INVALID_ARGUMENT - if the request is malformed
|
882
|
-
# argument in the request happens to be
|
883
|
-
#
|
884
|
-
#
|
1126
|
+
# - PERMISSION_DENIED - if the user is not authorized to read project
|
1127
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1128
|
+
# - FAILED_PRECONDITION - if an argument in the request happens to be
|
1129
|
+
# invalid; e.g. if an attempt is made to list the
|
1130
|
+
# children of a nonexistent Step
|
1131
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
885
1132
|
# @param [String] project_id
|
886
1133
|
# A Project id.
|
887
1134
|
# Required.
|
@@ -893,8 +1140,8 @@ module Google
|
|
893
1140
|
# Required.
|
894
1141
|
# @param [Fixnum] page_size
|
895
1142
|
# The maximum number of Steps to fetch.
|
896
|
-
# Default value: 25. The server will use this default if the field is not set
|
897
|
-
# has a value of 0.
|
1143
|
+
# Default value: 25. The server will use this default if the field is not set
|
1144
|
+
# or has a value of 0.
|
898
1145
|
# Optional.
|
899
1146
|
# @param [String] page_token
|
900
1147
|
# A continuation token to resume the query at the next item.
|
@@ -902,10 +1149,8 @@ module Google
|
|
902
1149
|
# @param [String] fields
|
903
1150
|
# Selector specifying which fields to include in a partial response.
|
904
1151
|
# @param [String] quota_user
|
905
|
-
#
|
906
|
-
# characters.
|
907
|
-
# @param [String] user_ip
|
908
|
-
# Deprecated. Please use quotaUser instead.
|
1152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
909
1154
|
# @param [Google::Apis::RequestOptions] options
|
910
1155
|
# Request-specific options
|
911
1156
|
#
|
@@ -918,8 +1163,8 @@ module Google
|
|
918
1163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
919
1164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
920
1165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
921
|
-
def
|
922
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
1166
|
+
def list_steps(project_id, history_id, execution_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1167
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps', options)
|
923
1168
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepsResponse::Representation
|
924
1169
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepsResponse
|
925
1170
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -929,17 +1174,17 @@ module Google
|
|
929
1174
|
command.query['pageToken'] = page_token unless page_token.nil?
|
930
1175
|
command.query['fields'] = fields unless fields.nil?
|
931
1176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
932
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
933
1177
|
execute_or_queue_command(command, &block)
|
934
1178
|
end
|
935
1179
|
|
936
1180
|
# Updates an existing Step with the supplied partial entity.
|
937
1181
|
# May return any of the following canonical error codes:
|
938
|
-
# - PERMISSION_DENIED - if the user is not authorized to write project
|
939
|
-
# INVALID_ARGUMENT - if the request is malformed
|
940
|
-
# requested state transition is illegal
|
941
|
-
#
|
942
|
-
#
|
1182
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
1183
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1184
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal
|
1185
|
+
# (e.g try to upload a duplicate xml file), if the
|
1186
|
+
# updated step is too large (more than 10Mib)
|
1187
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
943
1188
|
# @param [String] project_id
|
944
1189
|
# A Project id.
|
945
1190
|
# Required.
|
@@ -954,16 +1199,14 @@ module Google
|
|
954
1199
|
# Required.
|
955
1200
|
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
|
956
1201
|
# @param [String] request_id
|
957
|
-
# A unique request ID for server to detect duplicated requests.
|
958
|
-
# UUID.
|
1202
|
+
# A unique request ID for server to detect duplicated requests.
|
1203
|
+
# For example, a UUID.
|
959
1204
|
# Optional, but strongly recommended.
|
960
1205
|
# @param [String] fields
|
961
1206
|
# Selector specifying which fields to include in a partial response.
|
962
1207
|
# @param [String] quota_user
|
963
|
-
#
|
964
|
-
# characters.
|
965
|
-
# @param [String] user_ip
|
966
|
-
# Deprecated. Please use quotaUser instead.
|
1208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
967
1210
|
# @param [Google::Apis::RequestOptions] options
|
968
1211
|
# Request-specific options
|
969
1212
|
#
|
@@ -976,8 +1219,8 @@ module Google
|
|
976
1219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
977
1220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
978
1221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
979
|
-
def
|
980
|
-
command = make_simple_command(:patch, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
1222
|
+
def patch_step(project_id, history_id, execution_id, step_id, step_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1223
|
+
command = make_simple_command(:patch, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}', options)
|
981
1224
|
command.request_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
982
1225
|
command.request_object = step_object
|
983
1226
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
@@ -989,16 +1232,16 @@ module Google
|
|
989
1232
|
command.query['requestId'] = request_id unless request_id.nil?
|
990
1233
|
command.query['fields'] = fields unless fields.nil?
|
991
1234
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
992
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
993
1235
|
execute_or_queue_command(command, &block)
|
994
1236
|
end
|
995
1237
|
|
996
1238
|
# Publish xml files to an existing Step.
|
997
1239
|
# May return any of the following canonical error codes:
|
998
|
-
# - PERMISSION_DENIED - if the user is not authorized to write project
|
999
|
-
# INVALID_ARGUMENT - if the request is malformed
|
1000
|
-
# requested state transition is illegal,
|
1001
|
-
#
|
1240
|
+
# - PERMISSION_DENIED - if the user is not authorized to write project
|
1241
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1242
|
+
# - FAILED_PRECONDITION - if the requested state transition is illegal,
|
1243
|
+
# e.g try to upload a duplicate xml file or a file too large.
|
1244
|
+
# - NOT_FOUND - if the containing Execution does not exist
|
1002
1245
|
# @param [String] project_id
|
1003
1246
|
# A Project id.
|
1004
1247
|
# Required.
|
@@ -1009,16 +1252,15 @@ module Google
|
|
1009
1252
|
# A Execution id.
|
1010
1253
|
# Required.
|
1011
1254
|
# @param [String] step_id
|
1012
|
-
# A Step id.
|
1255
|
+
# A Step id.
|
1256
|
+
# Note: This step must include a TestExecutionStep.
|
1013
1257
|
# Required.
|
1014
1258
|
# @param [Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest] publish_xunit_xml_files_request_object
|
1015
1259
|
# @param [String] fields
|
1016
1260
|
# Selector specifying which fields to include in a partial response.
|
1017
1261
|
# @param [String] quota_user
|
1018
|
-
#
|
1019
|
-
# characters.
|
1020
|
-
# @param [String] user_ip
|
1021
|
-
# Deprecated. Please use quotaUser instead.
|
1262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1022
1264
|
# @param [Google::Apis::RequestOptions] options
|
1023
1265
|
# Request-specific options
|
1024
1266
|
#
|
@@ -1031,8 +1273,8 @@ module Google
|
|
1031
1273
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1032
1274
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1033
1275
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1034
|
-
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,
|
1035
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
1276
|
+
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, options: nil, &block)
|
1277
|
+
command = make_simple_command(:post, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles', options)
|
1036
1278
|
command.request_representation = Google::Apis::ToolresultsV1beta3::PublishXunitXmlFilesRequest::Representation
|
1037
1279
|
command.request_object = publish_xunit_xml_files_request_object
|
1038
1280
|
command.response_representation = Google::Apis::ToolresultsV1beta3::Step::Representation
|
@@ -1043,324 +1285,15 @@ module Google
|
|
1043
1285
|
command.params['stepId'] = step_id unless step_id.nil?
|
1044
1286
|
command.query['fields'] = fields unless fields.nil?
|
1045
1287
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1046
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1047
|
-
execute_or_queue_command(command, &block)
|
1048
|
-
end
|
1049
|
-
|
1050
|
-
# Creates a PerfMetricsSummary resource. Returns the existing one if it has
|
1051
|
-
# already been created.
|
1052
|
-
# May return any of the following error code(s): - NOT_FOUND - The containing
|
1053
|
-
# Step does not exist
|
1054
|
-
# @param [String] project_id
|
1055
|
-
# The cloud project
|
1056
|
-
# @param [String] history_id
|
1057
|
-
# A tool results history ID.
|
1058
|
-
# @param [String] execution_id
|
1059
|
-
# A tool results execution ID.
|
1060
|
-
# @param [String] step_id
|
1061
|
-
# A tool results step ID.
|
1062
|
-
# @param [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] perf_metrics_summary_object
|
1063
|
-
# @param [String] fields
|
1064
|
-
# Selector specifying which fields to include in a partial response.
|
1065
|
-
# @param [String] quota_user
|
1066
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1067
|
-
# characters.
|
1068
|
-
# @param [String] user_ip
|
1069
|
-
# Deprecated. Please use quotaUser instead.
|
1070
|
-
# @param [Google::Apis::RequestOptions] options
|
1071
|
-
# Request-specific options
|
1072
|
-
#
|
1073
|
-
# @yield [result, err] Result & error if block supplied
|
1074
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary] parsed result object
|
1075
|
-
# @yieldparam err [StandardError] error object if request failed
|
1076
|
-
#
|
1077
|
-
# @return [Google::Apis::ToolresultsV1beta3::PerfMetricsSummary]
|
1078
|
-
#
|
1079
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
-
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)
|
1083
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary', options)
|
1084
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
1085
|
-
command.request_object = perf_metrics_summary_object
|
1086
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary::Representation
|
1087
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfMetricsSummary
|
1088
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1089
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1090
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1091
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1092
|
-
command.query['fields'] = fields unless fields.nil?
|
1093
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1094
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1095
|
-
execute_or_queue_command(command, &block)
|
1096
|
-
end
|
1097
|
-
|
1098
|
-
# Creates a PerfSampleSeries.
|
1099
|
-
# May return any of the following error code(s): - ALREADY_EXISTS -
|
1100
|
-
# PerfMetricSummary already exists for the given Step - NOT_FOUND - The
|
1101
|
-
# containing Step does not exist
|
1102
|
-
# @param [String] project_id
|
1103
|
-
# The cloud project
|
1104
|
-
# @param [String] history_id
|
1105
|
-
# A tool results history ID.
|
1106
|
-
# @param [String] execution_id
|
1107
|
-
# A tool results execution ID.
|
1108
|
-
# @param [String] step_id
|
1109
|
-
# A tool results step ID.
|
1110
|
-
# @param [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] perf_sample_series_object
|
1111
|
-
# @param [String] fields
|
1112
|
-
# Selector specifying which fields to include in a partial response.
|
1113
|
-
# @param [String] quota_user
|
1114
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1115
|
-
# characters.
|
1116
|
-
# @param [String] user_ip
|
1117
|
-
# Deprecated. Please use quotaUser instead.
|
1118
|
-
# @param [Google::Apis::RequestOptions] options
|
1119
|
-
# Request-specific options
|
1120
|
-
#
|
1121
|
-
# @yield [result, err] Result & error if block supplied
|
1122
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
1123
|
-
# @yieldparam err [StandardError] error object if request failed
|
1124
|
-
#
|
1125
|
-
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
1126
|
-
#
|
1127
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1128
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1129
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1130
|
-
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)
|
1131
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
1132
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1133
|
-
command.request_object = perf_sample_series_object
|
1134
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1135
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
1136
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1137
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1138
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1139
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1140
|
-
command.query['fields'] = fields unless fields.nil?
|
1141
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1142
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1143
|
-
execute_or_queue_command(command, &block)
|
1144
|
-
end
|
1145
|
-
|
1146
|
-
# Gets a PerfSampleSeries.
|
1147
|
-
# May return any of the following error code(s): - NOT_FOUND - The specified
|
1148
|
-
# PerfSampleSeries does not exist
|
1149
|
-
# @param [String] project_id
|
1150
|
-
# The cloud project
|
1151
|
-
# @param [String] history_id
|
1152
|
-
# A tool results history ID.
|
1153
|
-
# @param [String] execution_id
|
1154
|
-
# A tool results execution ID.
|
1155
|
-
# @param [String] step_id
|
1156
|
-
# A tool results step ID.
|
1157
|
-
# @param [String] sample_series_id
|
1158
|
-
# A sample series id
|
1159
|
-
# @param [String] fields
|
1160
|
-
# Selector specifying which fields to include in a partial response.
|
1161
|
-
# @param [String] quota_user
|
1162
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1163
|
-
# characters.
|
1164
|
-
# @param [String] user_ip
|
1165
|
-
# Deprecated. Please use quotaUser instead.
|
1166
|
-
# @param [Google::Apis::RequestOptions] options
|
1167
|
-
# Request-specific options
|
1168
|
-
#
|
1169
|
-
# @yield [result, err] Result & error if block supplied
|
1170
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::PerfSampleSeries] parsed result object
|
1171
|
-
# @yieldparam err [StandardError] error object if request failed
|
1172
|
-
#
|
1173
|
-
# @return [Google::Apis::ToolresultsV1beta3::PerfSampleSeries]
|
1174
|
-
#
|
1175
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1176
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1177
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1178
|
-
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)
|
1179
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}', options)
|
1180
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::PerfSampleSeries::Representation
|
1181
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::PerfSampleSeries
|
1182
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1183
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1184
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1185
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1186
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1187
|
-
command.query['fields'] = fields unless fields.nil?
|
1188
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1189
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1190
|
-
execute_or_queue_command(command, &block)
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
# Lists PerfSampleSeries for a given Step.
|
1194
|
-
# The request provides an optional filter which specifies one or more
|
1195
|
-
# PerfMetricsType to include in the result; if none returns all. The resulting
|
1196
|
-
# PerfSampleSeries are sorted by ids.
|
1197
|
-
# May return any of the following canonical error codes: - NOT_FOUND - The
|
1198
|
-
# containing Step does not exist
|
1199
|
-
# @param [String] project_id
|
1200
|
-
# The cloud project
|
1201
|
-
# @param [String] history_id
|
1202
|
-
# A tool results history ID.
|
1203
|
-
# @param [String] execution_id
|
1204
|
-
# A tool results execution ID.
|
1205
|
-
# @param [String] step_id
|
1206
|
-
# A tool results step ID.
|
1207
|
-
# @param [Array<String>, String] filter
|
1208
|
-
# Specify one or more PerfMetricType values such as CPU to filter the result
|
1209
|
-
# @param [String] fields
|
1210
|
-
# Selector specifying which fields to include in a partial response.
|
1211
|
-
# @param [String] quota_user
|
1212
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1213
|
-
# characters.
|
1214
|
-
# @param [String] user_ip
|
1215
|
-
# Deprecated. Please use quotaUser instead.
|
1216
|
-
# @param [Google::Apis::RequestOptions] options
|
1217
|
-
# Request-specific options
|
1218
|
-
#
|
1219
|
-
# @yield [result, err] Result & error if block supplied
|
1220
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse] parsed result object
|
1221
|
-
# @yieldparam err [StandardError] error object if request failed
|
1222
|
-
#
|
1223
|
-
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse]
|
1224
|
-
#
|
1225
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1226
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1227
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1228
|
-
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)
|
1229
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries', options)
|
1230
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse::Representation
|
1231
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSampleSeriesResponse
|
1232
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1233
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1234
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1235
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1236
|
-
command.query['filter'] = filter unless filter.nil?
|
1237
|
-
command.query['fields'] = fields unless fields.nil?
|
1238
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1239
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1240
|
-
execute_or_queue_command(command, &block)
|
1241
|
-
end
|
1242
|
-
|
1243
|
-
# Creates a batch of PerfSamples - a client can submit multiple batches of Perf
|
1244
|
-
# Samples through repeated calls to this method in order to split up a large
|
1245
|
-
# request payload - duplicates and existing timestamp entries will be ignored. -
|
1246
|
-
# the batch operation may partially succeed - the set of elements successfully
|
1247
|
-
# inserted is returned in the response (omits items which already existed in the
|
1248
|
-
# database).
|
1249
|
-
# May return any of the following canonical error codes: - NOT_FOUND - The
|
1250
|
-
# containing PerfSampleSeries does not exist
|
1251
|
-
# @param [String] project_id
|
1252
|
-
# The cloud project
|
1253
|
-
# @param [String] history_id
|
1254
|
-
# A tool results history ID.
|
1255
|
-
# @param [String] execution_id
|
1256
|
-
# A tool results execution ID.
|
1257
|
-
# @param [String] step_id
|
1258
|
-
# A tool results step ID.
|
1259
|
-
# @param [String] sample_series_id
|
1260
|
-
# A sample series id
|
1261
|
-
# @param [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest] batch_create_perf_samples_request_object
|
1262
|
-
# @param [String] fields
|
1263
|
-
# Selector specifying which fields to include in a partial response.
|
1264
|
-
# @param [String] quota_user
|
1265
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1266
|
-
# characters.
|
1267
|
-
# @param [String] user_ip
|
1268
|
-
# Deprecated. Please use quotaUser instead.
|
1269
|
-
# @param [Google::Apis::RequestOptions] options
|
1270
|
-
# Request-specific options
|
1271
|
-
#
|
1272
|
-
# @yield [result, err] Result & error if block supplied
|
1273
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse] parsed result object
|
1274
|
-
# @yieldparam err [StandardError] error object if request failed
|
1275
|
-
#
|
1276
|
-
# @return [Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse]
|
1277
|
-
#
|
1278
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1279
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1280
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1281
|
-
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)
|
1282
|
-
command = make_simple_command(:post, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate', options)
|
1283
|
-
command.request_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesRequest::Representation
|
1284
|
-
command.request_object = batch_create_perf_samples_request_object
|
1285
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse::Representation
|
1286
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::BatchCreatePerfSamplesResponse
|
1287
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1288
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1289
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1290
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1291
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1292
|
-
command.query['fields'] = fields unless fields.nil?
|
1293
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1294
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1295
|
-
execute_or_queue_command(command, &block)
|
1296
|
-
end
|
1297
|
-
|
1298
|
-
# Lists the Performance Samples of a given Sample Series - The list results are
|
1299
|
-
# sorted by timestamps ascending - The default page size is 500 samples; and
|
1300
|
-
# maximum size allowed 5000 - The response token indicates the last returned
|
1301
|
-
# PerfSample timestamp - When the results size exceeds the page size, submit a
|
1302
|
-
# subsequent request including the page token to return the rest of the samples
|
1303
|
-
# up to the page limit
|
1304
|
-
# May return any of the following canonical error codes: - OUT_OF_RANGE - The
|
1305
|
-
# specified request page_token is out of valid range - NOT_FOUND - The
|
1306
|
-
# containing PerfSampleSeries does not exist
|
1307
|
-
# @param [String] project_id
|
1308
|
-
# The cloud project
|
1309
|
-
# @param [String] history_id
|
1310
|
-
# A tool results history ID.
|
1311
|
-
# @param [String] execution_id
|
1312
|
-
# A tool results execution ID.
|
1313
|
-
# @param [String] step_id
|
1314
|
-
# A tool results step ID.
|
1315
|
-
# @param [String] sample_series_id
|
1316
|
-
# A sample series id
|
1317
|
-
# @param [Fixnum] page_size
|
1318
|
-
# The default page size is 500 samples, and the maximum size is 5000. If the
|
1319
|
-
# page_size is greater than 5000, the effective page size will be 5000
|
1320
|
-
# @param [String] page_token
|
1321
|
-
# Optional, the next_page_token returned in the previous response
|
1322
|
-
# @param [String] fields
|
1323
|
-
# Selector specifying which fields to include in a partial response.
|
1324
|
-
# @param [String] quota_user
|
1325
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
1326
|
-
# characters.
|
1327
|
-
# @param [String] user_ip
|
1328
|
-
# Deprecated. Please use quotaUser instead.
|
1329
|
-
# @param [Google::Apis::RequestOptions] options
|
1330
|
-
# Request-specific options
|
1331
|
-
#
|
1332
|
-
# @yield [result, err] Result & error if block supplied
|
1333
|
-
# @yieldparam result [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse] parsed result object
|
1334
|
-
# @yieldparam err [StandardError] error object if request failed
|
1335
|
-
#
|
1336
|
-
# @return [Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse]
|
1337
|
-
#
|
1338
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1339
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1340
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1341
|
-
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)
|
1342
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples', options)
|
1343
|
-
command.response_representation = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse::Representation
|
1344
|
-
command.response_class = Google::Apis::ToolresultsV1beta3::ListPerfSamplesResponse
|
1345
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
1346
|
-
command.params['historyId'] = history_id unless history_id.nil?
|
1347
|
-
command.params['executionId'] = execution_id unless execution_id.nil?
|
1348
|
-
command.params['stepId'] = step_id unless step_id.nil?
|
1349
|
-
command.params['sampleSeriesId'] = sample_series_id unless sample_series_id.nil?
|
1350
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1351
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1352
|
-
command.query['fields'] = fields unless fields.nil?
|
1353
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1354
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1355
1288
|
execute_or_queue_command(command, &block)
|
1356
1289
|
end
|
1357
1290
|
|
1358
|
-
# Gets details of a Test Case for a Step.
|
1359
|
-
# active development.
|
1291
|
+
# Gets details of a Test Case for a Step.
|
1292
|
+
# Experimental test cases API. Still in active development.
|
1360
1293
|
# May return any of the following canonical error codes:
|
1361
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
1362
|
-
# INVALID_ARGUMENT - if the request is malformed
|
1363
|
-
# Test Case does not exist
|
1294
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
1295
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1296
|
+
# - NOT_FOUND - if the containing Test Case does not exist
|
1364
1297
|
# @param [String] project_id
|
1365
1298
|
# A Project id.
|
1366
1299
|
# Required.
|
@@ -1371,7 +1304,8 @@ module Google
|
|
1371
1304
|
# A Execution id
|
1372
1305
|
# Required.
|
1373
1306
|
# @param [String] step_id
|
1374
|
-
# A Step id.
|
1307
|
+
# A Step id.
|
1308
|
+
# Note: This step must include a TestExecutionStep.
|
1375
1309
|
# Required.
|
1376
1310
|
# @param [String] test_case_id
|
1377
1311
|
# A Test Case id.
|
@@ -1379,10 +1313,8 @@ module Google
|
|
1379
1313
|
# @param [String] fields
|
1380
1314
|
# Selector specifying which fields to include in a partial response.
|
1381
1315
|
# @param [String] quota_user
|
1382
|
-
#
|
1383
|
-
# characters.
|
1384
|
-
# @param [String] user_ip
|
1385
|
-
# Deprecated. Please use quotaUser instead.
|
1316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1386
1318
|
# @param [Google::Apis::RequestOptions] options
|
1387
1319
|
# Request-specific options
|
1388
1320
|
#
|
@@ -1395,8 +1327,8 @@ module Google
|
|
1395
1327
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1396
1328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1397
1329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1398
|
-
def
|
1399
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
1330
|
+
def get_test_case(project_id, history_id, execution_id, step_id, test_case_id, fields: nil, quota_user: nil, options: nil, &block)
|
1331
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}', options)
|
1400
1332
|
command.response_representation = Google::Apis::ToolresultsV1beta3::TestCase::Representation
|
1401
1333
|
command.response_class = Google::Apis::ToolresultsV1beta3::TestCase
|
1402
1334
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1406,16 +1338,15 @@ module Google
|
|
1406
1338
|
command.params['testCaseId'] = test_case_id unless test_case_id.nil?
|
1407
1339
|
command.query['fields'] = fields unless fields.nil?
|
1408
1340
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1409
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1410
1341
|
execute_or_queue_command(command, &block)
|
1411
1342
|
end
|
1412
1343
|
|
1413
|
-
# Lists Test Cases attached to a Step.
|
1414
|
-
# active development.
|
1344
|
+
# Lists Test Cases attached to a Step.
|
1345
|
+
# Experimental test cases API. Still in active development.
|
1415
1346
|
# May return any of the following canonical error codes:
|
1416
|
-
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
1417
|
-
# INVALID_ARGUMENT - if the request is malformed
|
1418
|
-
# Step does not exist
|
1347
|
+
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
1348
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1349
|
+
# - NOT_FOUND - if the containing Step does not exist
|
1419
1350
|
# @param [String] project_id
|
1420
1351
|
# A Project id.
|
1421
1352
|
# Required.
|
@@ -1426,12 +1357,13 @@ module Google
|
|
1426
1357
|
# A Execution id
|
1427
1358
|
# Required.
|
1428
1359
|
# @param [String] step_id
|
1429
|
-
# A Step id.
|
1360
|
+
# A Step id.
|
1361
|
+
# Note: This step must include a TestExecutionStep.
|
1430
1362
|
# Required.
|
1431
1363
|
# @param [Fixnum] page_size
|
1432
1364
|
# The maximum number of TestCases to fetch.
|
1433
|
-
# Default value: 100. The server will use this default if the field is not
|
1434
|
-
# or has a value of 0.
|
1365
|
+
# Default value: 100. The server will use this default if the field is not
|
1366
|
+
# set or has a value of 0.
|
1435
1367
|
# Optional.
|
1436
1368
|
# @param [String] page_token
|
1437
1369
|
# A continuation token to resume the query at the next item.
|
@@ -1439,10 +1371,8 @@ module Google
|
|
1439
1371
|
# @param [String] fields
|
1440
1372
|
# Selector specifying which fields to include in a partial response.
|
1441
1373
|
# @param [String] quota_user
|
1442
|
-
#
|
1443
|
-
# characters.
|
1444
|
-
# @param [String] user_ip
|
1445
|
-
# Deprecated. Please use quotaUser instead.
|
1374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1446
1376
|
# @param [Google::Apis::RequestOptions] options
|
1447
1377
|
# Request-specific options
|
1448
1378
|
#
|
@@ -1455,8 +1385,8 @@ module Google
|
|
1455
1385
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1456
1386
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1457
1387
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1458
|
-
def
|
1459
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
1388
|
+
def list_test_cases(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1389
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases', options)
|
1460
1390
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse::Representation
|
1461
1391
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListTestCasesResponse
|
1462
1392
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1467,15 +1397,16 @@ module Google
|
|
1467
1397
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1468
1398
|
command.query['fields'] = fields unless fields.nil?
|
1469
1399
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1470
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1471
1400
|
execute_or_queue_command(command, &block)
|
1472
1401
|
end
|
1473
1402
|
|
1474
1403
|
# Lists thumbnails of images attached to a step.
|
1475
|
-
# May return any of the following canonical error codes:
|
1476
|
-
# if the user is not authorized to read from the
|
1477
|
-
#
|
1478
|
-
#
|
1404
|
+
# May return any of the following canonical error codes:
|
1405
|
+
# - PERMISSION_DENIED - if the user is not authorized to read from the
|
1406
|
+
# project, or from any of the images
|
1407
|
+
# - INVALID_ARGUMENT - if the request is malformed
|
1408
|
+
# - NOT_FOUND - if the step does not exist, or if any of the images
|
1409
|
+
# do not exist
|
1479
1410
|
# @param [String] project_id
|
1480
1411
|
# A Project id.
|
1481
1412
|
# Required.
|
@@ -1490,8 +1421,8 @@ module Google
|
|
1490
1421
|
# Required.
|
1491
1422
|
# @param [Fixnum] page_size
|
1492
1423
|
# The maximum number of thumbnails to fetch.
|
1493
|
-
# Default value: 50. The server will use this default if the field is not set
|
1494
|
-
# has a value of 0.
|
1424
|
+
# Default value: 50. The server will use this default if the field is not set
|
1425
|
+
# or has a value of 0.
|
1495
1426
|
# Optional.
|
1496
1427
|
# @param [String] page_token
|
1497
1428
|
# A continuation token to resume the query at the next item.
|
@@ -1499,10 +1430,8 @@ module Google
|
|
1499
1430
|
# @param [String] fields
|
1500
1431
|
# Selector specifying which fields to include in a partial response.
|
1501
1432
|
# @param [String] quota_user
|
1502
|
-
#
|
1503
|
-
# characters.
|
1504
|
-
# @param [String] user_ip
|
1505
|
-
# Deprecated. Please use quotaUser instead.
|
1433
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1434
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1506
1435
|
# @param [Google::Apis::RequestOptions] options
|
1507
1436
|
# Request-specific options
|
1508
1437
|
#
|
@@ -1515,8 +1444,8 @@ module Google
|
|
1515
1444
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1516
1445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1517
1446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1518
|
-
def
|
1519
|
-
command = make_simple_command(:get, 'projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
1447
|
+
def list_thumbnails(project_id, history_id, execution_id, step_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1448
|
+
command = make_simple_command(:get, 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails', options)
|
1520
1449
|
command.response_representation = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse::Representation
|
1521
1450
|
command.response_class = Google::Apis::ToolresultsV1beta3::ListStepThumbnailsResponse
|
1522
1451
|
command.params['projectId'] = project_id unless project_id.nil?
|
@@ -1527,7 +1456,6 @@ module Google
|
|
1527
1456
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1528
1457
|
command.query['fields'] = fields unless fields.nil?
|
1529
1458
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1530
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1531
1459
|
execute_or_queue_command(command, &block)
|
1532
1460
|
end
|
1533
1461
|
|
@@ -1536,7 +1464,6 @@ module Google
|
|
1536
1464
|
def apply_command_defaults(command)
|
1537
1465
|
command.query['key'] = key unless key.nil?
|
1538
1466
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1539
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
1540
1467
|
end
|
1541
1468
|
end
|
1542
1469
|
end
|