UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 130 kB
{"openapi":"3.0.0","servers":[{"url":"https://toolresults.googleapis.com/"}],"info":{"contact":{"name":"Google","url":"https://google.com","x-twitter":"youtube"},"description":"API to publish and access results from developer tools.","license":{"name":"Creative Commons Attribution 3.0","url":"http://creativecommons.org/licenses/by/3.0/"},"termsOfService":"https://developers.google.com/terms/","title":"Cloud Tool Results API","version":"v1beta3","x-apiClientRegistration":{"url":"https://console.developers.google.com"},"x-apisguru-categories":["analytics","media"],"x-logo":{"url":"https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png"},"x-origin":[{"format":"google","url":"https://toolresults.googleapis.com/$discovery/rest?version=v1beta3","version":"v1"}],"x-providerName":"googleapis.com","x-serviceName":"toolresults"},"externalDocs":{"url":"https://firebase.google.com/docs/test-lab/"},"tags":[{"name":"projects"}],"paths":{"/toolresults/v1beta3/projects/{projectId}/histories":{"get":{"description":"Lists Histories for a given Project. The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist","operationId":"toolresults.projects.histories.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"If set, only return histories with the given name. Optional.","in":"query","name":"filterByName","schema":{"type":"string"}},{"description":"The maximum number of Histories to fetch. Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be treated as 100. Optional.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item. Optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListHistoriesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist","operationId":"toolresults.projects.histories.create","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}":{"get":{"description":"Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist","operationId":"toolresults.projects.histories.get","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/History"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions":{"get":{"description":"Lists Executions for a given History. The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist","operationId":"toolresults.projects.histories.executions.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of Executions to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. Optional.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item. Optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListExecutionsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist","operationId":"toolresults.projects.histories.executions.create","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Execution"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Execution"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}":{"get":{"description":"Gets an Execution. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Execution does not exist","operationId":"toolresults.projects.histories.executions.get","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"An Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Execution"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Updates an existing Execution with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal - NOT_FOUND - if the containing History does not exist","operationId":"toolresults.projects.histories.executions.patch","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Execution"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Execution"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters":{"get":{"description":"Lists Screenshot Clusters Returns the list of screenshot clusters corresponding to an execution. Screenshot clusters are created after the execution is finished. Clusters are created from a set of screenshots. Between any two screenshots, a matching score is calculated based off their metadata that determines how similar they are. Screenshots are placed in the cluster that has screens which have the highest matching scores.","operationId":"toolresults.projects.histories.executions.clusters.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"An Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListScreenshotClustersResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}":{"get":{"description":"Retrieves a single screenshot cluster by its ID","operationId":"toolresults.projects.histories.executions.clusters.get","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"An Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Cluster id Required.","in":"path","name":"clusterId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreenshotCluster"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments":{"get":{"description":"Lists Environments for a given Execution. The Environments are sorted by display name. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Execution does not exist","operationId":"toolresults.projects.histories.executions.environments.list","parameters":[{"description":"Required. A Project id.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Required. A History id.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"Required. An Execution id.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of Environments to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListEnvironmentsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}":{"get":{"description":"Gets an Environment. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Environment does not exist","operationId":"toolresults.projects.histories.executions.environments.get","parameters":[{"description":"Required. A Project id.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Required. A History id.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"Required. An Execution id.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"Required. An Environment id.","in":"path","name":"environmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Environment"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps":{"get":{"description":"Lists Steps for a given Execution. The steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing Execution does not exist","operationId":"toolresults.projects.histories.executions.steps.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of Steps to fetch. Default value: 25. The server will use this default if the field is not set or has a value of 0. Optional.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item. Optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListStepsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a Step. The returned Step will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist","operationId":"toolresults.projects.histories.executions.steps.create","parameters":[{"description":"Required. A Project id.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"Required. A History id.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"Required. An Execution id.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}":{"get":{"description":"Gets a Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Step does not exist","operationId":"toolresults.projects.histories.executions.steps.get","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"patch":{"description":"Updates an existing Step with the supplied partial entity. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal (e.g try to upload a duplicate xml file), if the updated step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution does not exist","operationId":"toolresults.projects.histories.executions.steps.patch","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.","in":"query","name":"requestId","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary":{"get":{"description":"Retrieves a PerfMetricsSummary. May return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist","operationId":"toolresults.projects.histories.executions.steps.getPerfMetricsSummary","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfMetricsSummary"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a PerfMetricsSummary resource. Returns the existing one if it has already been created. May return any of the following error code(s): - NOT_FOUND - The containing Step does not exist","operationId":"toolresults.projects.histories.executions.steps.perfMetricsSummary.create","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfMetricsSummary"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfMetricsSummary"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries":{"get":{"description":"Lists PerfSampleSeries for a given Step. The request provides an optional filter which specifies one or more PerfMetricsType to include in the result; if none returns all. The resulting PerfSampleSeries are sorted by ids. May return any of the following canonical error codes: - NOT_FOUND - The containing Step does not exist","operationId":"toolresults.projects.histories.executions.steps.perfSampleSeries.list","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"Specify one or more PerfMetricType values such as CPU to filter the result","explode":true,"in":"query","name":"filter","schema":{"items":{"enum":["perfMetricTypeUnspecified","memory","cpu","network","graphics"],"type":"string"},"type":"array"},"style":"form"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPerfSampleSeriesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a PerfSampleSeries. May return any of the following error code(s): - ALREADY_EXISTS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The containing Step does not exist","operationId":"toolresults.projects.histories.executions.steps.perfSampleSeries.create","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfSampleSeries"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfSampleSeries"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}":{"get":{"description":"Gets a PerfSampleSeries. May return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist","operationId":"toolresults.projects.histories.executions.steps.perfSampleSeries.get","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"A sample series id","in":"path","name":"sampleSeriesId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PerfSampleSeries"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples":{"get":{"description":"Lists the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum size allowed 5000 - The response token indicates the last returned PerfSample timestamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit May return any of the following canonical error codes: - OUT_OF_RANGE - The specified request page_token is out of valid range - NOT_FOUND - The containing PerfSampleSeries does not exist","operationId":"toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"A sample series id","in":"path","name":"sampleSeriesId","required":true,"schema":{"type":"string"}},{"description":"The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"Optional, the next_page_token returned in the previous response","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPerfSamplesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates a batch of PerfSamples - a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload - duplicates and existing timestamp entries will be ignored. - the batch operation may partially succeed - the set of elements successfully inserted is returned in the response (omits items which already existed in the database). May return any of the following canonical error codes: - NOT_FOUND - The containing PerfSampleSeries does not exist","operationId":"toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate","parameters":[{"description":"The cloud project","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A tool results history ID.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A tool results execution ID.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A tool results step ID.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"A sample series id","in":"path","name":"sampleSeriesId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchCreatePerfSamplesRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchCreatePerfSamplesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases":{"get":{"description":"Lists Test Cases attached to a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Step does not exist","operationId":"toolresults.projects.histories.executions.steps.testCases.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Note: This step must include a TestExecutionStep. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of TestCases to fetch. Default value: 100. The server will use this default if the field is not set or has a value of 0. Optional.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item. Optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListTestCasesResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}":{"get":{"description":"Gets details of a Test Case for a Step. Experimental test cases API. Still in active development. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing Test Case does not exist","operationId":"toolresults.projects.histories.executions.steps.testCases.get","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Note: This step must include a TestExecutionStep. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"A Test Case id. Required.","in":"path","name":"testCaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestCase"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails":{"get":{"description":"Lists thumbnails of images attached to a step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from the project, or from any of the images - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does not exist, or if any of the images do not exist","operationId":"toolresults.projects.histories.executions.steps.thumbnails.list","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"An Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}},{"description":"The maximum number of thumbnails to fetch. Default value: 50. The server will use this default if the field is not set or has a value of 0. Optional.","in":"query","name":"pageSize","schema":{"type":"integer"}},{"description":"A continuation token to resume the query at the next item. Optional.","in":"query","name":"pageToken","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListStepThumbnailsResponse"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Publish xml files to an existing Step. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write project - INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the requested state transition is illegal, e.g. try to upload a duplicate xml file or a file too large. - NOT_FOUND - if the containing Execution does not exist","operationId":"toolresults.projects.histories.executions.steps.publishXunitXmlFiles","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}},{"description":"A History id. Required.","in":"path","name":"historyId","required":true,"schema":{"type":"string"}},{"description":"A Execution id. Required.","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"A Step id. Note: This step must include a TestExecutionStep. Required.","in":"path","name":"stepId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishXunitXmlFilesRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Step"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]}},"/toolresults/v1beta3/projects/{projectId}/settings":{"get":{"description":"Gets the Tool Results settings for a project. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from project","operationId":"toolresults.projects.getSettings","parameters":[{"description":"A Project id. Required.","in":"path","name":"projectId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSettings"}}},"description":"Successful response"}},"security":[{"Oauth2":["https://www.googleapis.com/auth/cloud-platform"],"Oauth2c":["https://www.googleapis.com/auth/cloud-platform"]}],"tags":["projects"]},"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}]},"/toolresults/v1beta3/projects/{projectId}:initializeSettings":{"parameters":[{"$ref":"#/components/parameters/_.xgafv"},{"$ref":"#/components/parameters/access_token"},{"$ref":"#/components/parameters/alt"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/fields"},{"$ref":"#/components/parameters/key"},{"$ref":"#/components/parameters/oauth_token"},{"$ref":"#/components/parameters/prettyPrint"},{"$ref":"#/components/parameters/quotaUser"},{"$ref":"#/components/parameters/upload_protocol"},{"$ref":"#/components/parameters/uploadType"}],"post":{"description":"Creates resources for settings which have not yet been set. Currently, this creates a single resource: a Google Cloud Storage bucket, to be used as the default bucket for this project. The bucket is created in an FTL-own storage project. Except for in rare cases, calling this method in parallel from multiple clients will only create a single bucket. In order to avoid unnecessary storage charges, the bucket is configured to automatically delete objects older than 90 days. The bucket is created with the following permissions: - Owner access for owners of central storage project (FTL-owned) - Writer access for owners/editors of customer pr