Index: generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart |
diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart |
index bb09694156c7fa1b390bf131a9f9b6df367f82e5..b610684f170540849d1631b679b6951f6ced05e4 100644 |
--- a/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart |
+++ b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart |
@@ -9,52 +9,51 @@ import 'dart:convert' as convert; |
import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
import 'package:http/http.dart' as http; |
-export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
- ApiRequestError, DetailedApiRequestError; |
+export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' |
+ show ApiRequestError, DetailedApiRequestError; |
const core.String USER_AGENT = 'dart-api-client toolresults/v1beta3firstparty'; |
-/** Reads and publishes results from Firebase Test Lab. */ |
+/// Reads and publishes results from Firebase Test Lab. |
class ToolresultsApi { |
- |
final commons.ApiRequester _requester; |
ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
- ToolresultsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com/", core.String servicePath: "toolresults/v1beta3firstparty/projects/"}) : |
- _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
+ ToolresultsApi(http.Client client, |
+ {core.String rootUrl: "https://www.googleapis.com/", |
+ core.String servicePath: "toolresults/v1beta3firstparty/projects/"}) |
+ : _requester = |
+ new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
} |
- |
class ProjectsResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesResourceApi get histories => new ProjectsHistoriesResourceApi(_requester); |
- |
- ProjectsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * Completes with a [ProjectSettings]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ ProjectsHistoriesResourceApi get histories => |
+ new ProjectsHistoriesResourceApi(_requester); |
+ |
+ ProjectsResourceApi(commons.ApiRequester client) : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [ProjectSettings]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<ProjectSettings> getSettings(core.String projectId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -69,58 +68,55 @@ class ProjectsResourceApi { |
_url = commons.Escaper.ecapeVariable('$projectId') + '/settings'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ProjectSettings.fromJson(data)); |
} |
- /** |
- * Creates resources for settings which have not yet been set. |
- * |
- * Currently, this creates a single resource: a Google Cloud Storage bucket, |
- * to be used as the default bucket for this project. The bucket is created in |
- * an FTL-own storage project. Except for in rare cases, calling this method |
- * in parallel from multiple clients will only create a single bucket. In |
- * order to avoid unnecessary storage charges, the bucket is configured to |
- * automatically delete objects older than 90 days. |
- * |
- * The bucket is created with the following permissions: - Owner access for |
- * owners of central storage project (FTL-owned) - Writer access for |
- * owners/editors of customer project - Reader access for viewers of customer |
- * project The default ACL on objects created in the bucket is: - Owner access |
- * for owners of central storage project - Reader access for |
- * owners/editors/viewers of customer project See Google Cloud Storage |
- * documentation for more details. |
- * |
- * If there is already a default bucket set and the project can access the |
- * bucket, this call does nothing. However, if the project doesn't have the |
- * permission to access the bucket or the bucket is deleted, a new bucket will |
- * be created. |
- * |
- * May return any canonical error codes, including the following: |
- * |
- * - PERMISSION_DENIED - if the user is not authorized to write to project - |
- * Any error code raised by Google Cloud Storage |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * Completes with a [ProjectSettings]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// Creates resources for settings which have not yet been set. |
+ /// |
+ /// Currently, this creates a single resource: a Google Cloud Storage bucket, |
+ /// to be used as the default bucket for this project. The bucket is created |
+ /// in an FTL-own storage project. Except for in rare cases, calling this |
+ /// method in parallel from multiple clients will only create a single |
+ /// bucket. In order to avoid unnecessary storage charges, the bucket is |
+ /// configured to automatically delete objects older than 90 days. |
+ /// |
+ /// The bucket is created with the following permissions: - Owner access for |
+ /// owners of central storage project (FTL-owned) - Writer access for |
+ /// owners/editors of customer project - Reader access for viewers of |
+ /// customer project The default ACL on objects created in the bucket is: - |
+ /// Owner access for owners of central storage project - Reader access for |
+ /// owners/editors/viewers of customer project See Google Cloud Storage |
+ /// documentation for more details. |
+ /// |
+ /// If there is already a default bucket set and the project can access the |
+ /// bucket, this call does nothing. However, if the project doesn't have the |
+ /// permission to access the bucket or the bucket is deleted, a new bucket |
+ /// will be created. |
+ /// |
+ /// May return any canonical error codes, including the following: |
+ /// |
+ /// - PERMISSION_DENIED - if the user is not authorized to write to project - |
+ /// Any error code raised by Google Cloud Storage |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [ProjectSettings]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<ProjectSettings> initializeSettings(core.String projectId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -135,60 +131,57 @@ class ProjectsResourceApi { |
_url = commons.Escaper.ecapeVariable('$projectId') + ':initializeSettings'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ProjectSettings.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsResourceApi get executions => new ProjectsHistoriesExecutionsResourceApi(_requester); |
- |
- ProjectsHistoriesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [requestId] - A unique request ID for server to detect duplicated requests. |
- * For example, a UUID. |
- * |
- * Optional, but strongly recommended. |
- * |
- * Completes with a [History]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<History> create(History request, core.String projectId, {core.String requestId}) { |
+ ProjectsHistoriesExecutionsResourceApi get executions => |
+ new ProjectsHistoriesExecutionsResourceApi(_requester); |
+ |
+ ProjectsHistoriesResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [requestId] - A unique request ID for server to detect duplicated |
+ /// requests. For example, a UUID. |
+ /// |
+ /// Optional, but strongly recommended. |
+ /// |
+ /// Completes with a [History]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<History> create(History request, core.String projectId, |
+ {core.String requestId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -208,43 +201,40 @@ class ProjectsHistoriesResourceApi { |
_url = commons.Escaper.ecapeVariable('$projectId') + '/histories'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new History.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * Completes with a [History]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [History]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
async.Future<History> get(core.String projectId, core.String historyId) { |
var _url = null; |
var _queryParams = new core.Map(); |
@@ -260,61 +250,62 @@ class ProjectsHistoriesResourceApi { |
throw new core.ArgumentError("Parameter historyId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId'); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new History.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [filterByName] - If set, only return histories with the given name. |
- * |
- * Optional. |
- * |
- * [pageSize] - 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. |
- * |
- * [pageToken] - A continuation token to resume the query at the next item. |
- * |
- * Optional. |
- * |
- * Completes with a [ListHistoriesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListHistoriesResponse> list(core.String projectId, {core.String filterByName, core.int pageSize, core.String pageToken}) { |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [filterByName] - If set, only return histories with the given name. |
+ /// |
+ /// Optional. |
+ /// |
+ /// [pageSize] - 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. |
+ /// |
+ /// [pageToken] - A continuation token to resume the query at the next item. |
+ /// |
+ /// Optional. |
+ /// |
+ /// Completes with a [ListHistoriesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListHistoriesResponse> list(core.String projectId, |
+ {core.String filterByName, core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -337,65 +328,64 @@ class ProjectsHistoriesResourceApi { |
_url = commons.Escaper.ecapeVariable('$projectId') + '/histories'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListHistoriesResponse.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsClustersResourceApi get clusters => new ProjectsHistoriesExecutionsClustersResourceApi(_requester); |
- ProjectsHistoriesExecutionsStepsResourceApi get steps => new ProjectsHistoriesExecutionsStepsResourceApi(_requester); |
- |
- ProjectsHistoriesExecutionsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [requestId] - A unique request ID for server to detect duplicated requests. |
- * For example, a UUID. |
- * |
- * Optional, but strongly recommended. |
- * |
- * Completes with a [Execution]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Execution> create(Execution request, core.String projectId, core.String historyId, {core.String requestId}) { |
+ ProjectsHistoriesExecutionsClustersResourceApi get clusters => |
+ new ProjectsHistoriesExecutionsClustersResourceApi(_requester); |
+ ProjectsHistoriesExecutionsStepsResourceApi get steps => |
+ new ProjectsHistoriesExecutionsStepsResourceApi(_requester); |
+ |
+ ProjectsHistoriesExecutionsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [requestId] - A unique request ID for server to detect duplicated |
+ /// requests. For example, a UUID. |
+ /// |
+ /// Optional, but strongly recommended. |
+ /// |
+ /// Completes with a [Execution]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Execution> create( |
+ Execution request, core.String projectId, core.String historyId, |
+ {core.String requestId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -416,50 +406,51 @@ class ProjectsHistoriesExecutionsResourceApi { |
_queryParams["requestId"] = [requestId]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions'; |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Execution.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - An Execution id. |
- * |
- * Required. |
- * |
- * Completes with a [Execution]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Execution> get(core.String projectId, core.String historyId, core.String executionId) { |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - An Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [Execution]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Execution> get( |
+ core.String projectId, core.String historyId, core.String executionId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -477,61 +468,64 @@ class ProjectsHistoriesExecutionsResourceApi { |
throw new core.ArgumentError("Parameter executionId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId'); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId'); |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Execution.fromJson(data)); |
} |
- /** |
- * Lists Histories for a given Project. |
- * |
- * The executions are sorted by creation_time in descending order. The |
- * execution_id key will be used to order the executions with the same |
- * creation_time. |
- * |
- * May return any of the following canonical error codes: |
- * |
- * - PERMISSION_DENIED - if the user is not authorized to read project - |
- * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the |
- * containing History does not exist |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [pageSize] - 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. |
- * |
- * [pageToken] - A continuation token to resume the query at the next item. |
- * |
- * Optional. |
- * |
- * Completes with a [ListExecutionsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListExecutionsResponse> list(core.String projectId, core.String historyId, {core.int pageSize, core.String pageToken}) { |
+ /// Lists Histories for a given Project. |
+ /// |
+ /// The executions are sorted by creation_time in descending order. The |
+ /// execution_id key will be used to order the executions with the same |
+ /// creation_time. |
+ /// |
+ /// May return any of the following canonical error codes: |
+ /// |
+ /// - PERMISSION_DENIED - if the user is not authorized to read project - |
+ /// INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the |
+ /// containing History does not exist |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [pageSize] - 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. |
+ /// |
+ /// [pageToken] - A continuation token to resume the query at the next item. |
+ /// |
+ /// Optional. |
+ /// |
+ /// Completes with a [ListExecutionsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListExecutionsResponse> list( |
+ core.String projectId, core.String historyId, |
+ {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -552,52 +546,54 @@ class ProjectsHistoriesExecutionsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions'; |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListExecutionsResponse.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. Required. |
- * |
- * [historyId] - Required. |
- * |
- * [executionId] - Required. |
- * |
- * [requestId] - A unique request ID for server to detect duplicated requests. |
- * For example, a UUID. |
- * |
- * Optional, but strongly recommended. |
- * |
- * Completes with a [Execution]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Execution> patch(Execution request, core.String projectId, core.String historyId, core.String executionId, {core.String requestId}) { |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. Required. |
+ /// |
+ /// [historyId] - Required. |
+ /// |
+ /// [executionId] - Required. |
+ /// |
+ /// [requestId] - A unique request ID for server to detect duplicated |
+ /// requests. For example, a UUID. |
+ /// |
+ /// Optional, but strongly recommended. |
+ /// |
+ /// Completes with a [Execution]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Execution> patch(Execution request, core.String projectId, |
+ core.String historyId, core.String executionId, |
+ {core.String requestId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -621,60 +617,57 @@ class ProjectsHistoriesExecutionsResourceApi { |
_queryParams["requestId"] = [requestId]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId'); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId'); |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Execution.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsClustersResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsClustersResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - An Execution id. |
- * |
- * Required. |
- * |
- * Completes with a [ListScreenshotClustersResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListScreenshotClustersResponse> list(core.String projectId, core.String historyId, core.String executionId) { |
+ ProjectsHistoriesExecutionsClustersResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// Retrieves a single screenshot cluster by its ID |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - An Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [clusterId] - A Cluster id |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [ScreenshotCluster]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ScreenshotCluster> get(core.String projectId, |
+ core.String historyId, core.String executionId, core.String clusterId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -691,74 +684,153 @@ class ProjectsHistoriesExecutionsClustersResourceApi { |
if (executionId == null) { |
throw new core.ArgumentError("Parameter executionId is required."); |
} |
+ if (clusterId == null) { |
+ throw new core.ArgumentError("Parameter clusterId is required."); |
+ } |
+ |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/clusters/' + |
+ commons.Escaper.ecapeVariable('$clusterId'); |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response.then((data) => new ScreenshotCluster.fromJson(data)); |
+ } |
+ |
+ /// 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. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - An Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [ListScreenshotClustersResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListScreenshotClustersResponse> list( |
+ core.String projectId, core.String historyId, core.String executionId) { |
+ var _url = null; |
+ var _queryParams = new core.Map(); |
+ var _uploadMedia = null; |
+ var _uploadOptions = null; |
+ var _downloadOptions = commons.DownloadOptions.Metadata; |
+ var _body = null; |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/clusters'; |
+ if (projectId == null) { |
+ throw new core.ArgumentError("Parameter projectId is required."); |
+ } |
+ if (historyId == null) { |
+ throw new core.ArgumentError("Parameter historyId is required."); |
+ } |
+ if (executionId == null) { |
+ throw new core.ArgumentError("Parameter executionId is required."); |
+ } |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListScreenshotClustersResponse.fromJson(data)); |
- } |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/clusters'; |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListScreenshotClustersResponse.fromJson(data)); |
+ } |
} |
- |
class ProjectsHistoriesExecutionsStepsResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi get perfMetricsSummary => new ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi(_requester); |
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi get perfSampleSeries => new ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi(_requester); |
- ProjectsHistoriesExecutionsStepsThumbnailsResourceApi get thumbnails => new ProjectsHistoriesExecutionsStepsThumbnailsResourceApi(_requester); |
- |
- ProjectsHistoriesExecutionsStepsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - A Execution id. |
- * |
- * Required. |
- * |
- * [requestId] - A unique request ID for server to detect duplicated requests. |
- * For example, a UUID. |
- * |
- * Optional, but strongly recommended. |
- * |
- * Completes with a [Step]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Step> create(Step request, core.String projectId, core.String historyId, core.String executionId, {core.String requestId}) { |
+ ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi |
+ get perfMetricsSummary => |
+ new ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi( |
+ _requester); |
+ ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi |
+ get perfSampleSeries => |
+ new ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi( |
+ _requester); |
+ ProjectsHistoriesExecutionsStepsThumbnailsResourceApi get thumbnails => |
+ new ProjectsHistoriesExecutionsStepsThumbnailsResourceApi(_requester); |
+ |
+ ProjectsHistoriesExecutionsStepsResourceApi(commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - A Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [requestId] - A unique request ID for server to detect duplicated |
+ /// requests. For example, a UUID. |
+ /// |
+ /// Optional, but strongly recommended. |
+ /// |
+ /// Completes with a [Step]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Step> create(Step request, core.String projectId, |
+ core.String historyId, core.String executionId, |
+ {core.String requestId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -782,54 +854,57 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
_queryParams["requestId"] = [requestId]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps'; |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps'; |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Step.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - A Execution id. |
- * |
- * Required. |
- * |
- * [stepId] - A Step id. |
- * |
- * Required. |
- * |
- * Completes with a [Step]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Step> get(core.String projectId, core.String historyId, core.String executionId, core.String stepId) { |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - A Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [stepId] - A Step id. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [Step]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Step> get(core.String projectId, core.String historyId, |
+ core.String executionId, core.String stepId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -850,43 +925,47 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
throw new core.ArgumentError("Parameter stepId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId'); |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId'); |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Step.fromJson(data)); |
} |
- /** |
- * Retrieves a PerfMetricsSummary. |
- * |
- * May return any of the following error code(s): - NOT_FOUND - The specified |
- * PerfMetricsSummary does not exist |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * Completes with a [PerfMetricsSummary]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PerfMetricsSummary> getPerfMetricsSummary(core.String projectId, core.String historyId, core.String executionId, core.String stepId) { |
+ /// Retrieves a PerfMetricsSummary. |
+ /// |
+ /// May return any of the following error code(s): - NOT_FOUND - The |
+ /// specified PerfMetricsSummary does not exist |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// Completes with a [PerfMetricsSummary]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PerfMetricsSummary> getPerfMetricsSummary(core.String projectId, |
+ core.String historyId, core.String executionId, core.String stepId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -907,66 +986,72 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
throw new core.ArgumentError("Parameter stepId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfMetricsSummary'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfMetricsSummary'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PerfMetricsSummary.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - A Execution id. |
- * |
- * Required. |
- * |
- * [pageSize] - 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. |
- * |
- * [pageToken] - A continuation token to resume the query at the next item. |
- * |
- * Optional. |
- * |
- * Completes with a [ListStepsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListStepsResponse> list(core.String projectId, core.String historyId, core.String executionId, {core.int pageSize, core.String pageToken}) { |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - A Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [pageSize] - 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. |
+ /// |
+ /// [pageToken] - A continuation token to resume the query at the next item. |
+ /// |
+ /// Optional. |
+ /// |
+ /// Completes with a [ListStepsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListStepsResponse> list( |
+ core.String projectId, core.String historyId, core.String executionId, |
+ {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -990,63 +1075,67 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps'; |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps'; |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListStepsResponse.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - A Execution id. |
- * |
- * Required. |
- * |
- * [stepId] - A Step id. |
- * |
- * Required. |
- * |
- * [requestId] - A unique request ID for server to detect duplicated requests. |
- * For example, a UUID. |
- * |
- * Optional, but strongly recommended. |
- * |
- * Completes with a [Step]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Step> patch(Step request, core.String projectId, core.String historyId, core.String executionId, core.String stepId, {core.String requestId}) { |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - A Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [stepId] - A Step id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [requestId] - A unique request ID for server to detect duplicated |
+ /// requests. For example, a UUID. |
+ /// |
+ /// Optional, but strongly recommended. |
+ /// |
+ /// Completes with a [Step]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Step> patch(Step request, core.String projectId, |
+ core.String historyId, core.String executionId, core.String stepId, |
+ {core.String requestId}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1073,58 +1162,66 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
_queryParams["requestId"] = [requestId]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId'); |
- |
- var _response = _requester.request(_url, |
- "PATCH", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId'); |
+ |
+ var _response = _requester.request(_url, "PATCH", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Step.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - A Execution id. |
- * |
- * Required. |
- * |
- * [stepId] - A Step id. Note: This step must include a TestExecutionStep. |
- * |
- * Required. |
- * |
- * Completes with a [Step]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<Step> publishXunitXmlFiles(PublishXunitXmlFilesRequest request, core.String projectId, core.String historyId, core.String executionId, core.String stepId) { |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - A Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [stepId] - A Step id. Note: This step must include a TestExecutionStep. |
+ /// |
+ /// Required. |
+ /// |
+ /// Completes with a [Step]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<Step> publishXunitXmlFiles( |
+ PublishXunitXmlFilesRequest request, |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1148,55 +1245,63 @@ class ProjectsHistoriesExecutionsStepsResourceApi { |
throw new core.ArgumentError("Parameter stepId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + ':publishXunitXmlFiles'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ ':publishXunitXmlFiles'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new Step.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * Creates a PerfMetricsSummary resource. |
- * |
- * May return any of the following error code(s): - ALREADY_EXISTS - A |
- * PerfMetricSummary already exists for the given Step - NOT_FOUND - The |
- * containing Step does not exist |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * Completes with a [PerfMetricsSummary]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PerfMetricsSummary> create(PerfMetricsSummary request, core.String projectId, core.String historyId, core.String executionId, core.String stepId) { |
+ ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi( |
+ commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// Completes with a [PerfMetricsSummary]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PerfMetricsSummary> create( |
+ PerfMetricsSummary request, |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1220,57 +1325,68 @@ class ProjectsHistoriesExecutionsStepsPerfMetricsSummaryResourceApi { |
throw new core.ArgumentError("Parameter stepId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfMetricsSummary'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfMetricsSummary'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PerfMetricsSummary.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi get samples => new ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi(_requester); |
- |
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * Completes with a [PerfSampleSeries]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PerfSampleSeries> create(PerfSampleSeries request, core.String projectId, core.String historyId, core.String executionId, core.String stepId) { |
+ ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi |
+ get samples => |
+ new ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi( |
+ _requester); |
+ |
+ ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi( |
+ commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// Completes with a [PerfSampleSeries]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PerfSampleSeries> create( |
+ PerfSampleSeries request, |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1294,45 +1410,54 @@ class ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi { |
throw new core.ArgumentError("Parameter stepId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfSampleSeries'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfSampleSeries'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PerfSampleSeries.fromJson(data)); |
} |
- /** |
- * Gets a PerfSampleSeries. |
- * |
- * May return any of the following error code(s): - NOT_FOUND - The specified |
- * PerfSampleSeries does not exist |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * [sampleSeriesId] - A sample series id |
- * |
- * Completes with a [PerfSampleSeries]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<PerfSampleSeries> get(core.String projectId, core.String historyId, core.String executionId, core.String stepId, core.String sampleSeriesId) { |
+ /// Gets a PerfSampleSeries. |
+ /// |
+ /// May return any of the following error code(s): - NOT_FOUND - The |
+ /// specified PerfSampleSeries does not exist |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// [sampleSeriesId] - A sample series id |
+ /// |
+ /// Completes with a [PerfSampleSeries]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<PerfSampleSeries> get( |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId, |
+ core.String sampleSeriesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1356,50 +1481,57 @@ class ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi { |
throw new core.ArgumentError("Parameter sampleSeriesId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfSampleSeries/' + commons.Escaper.ecapeVariable('$sampleSeriesId'); |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfSampleSeries/' + |
+ commons.Escaper.ecapeVariable('$sampleSeriesId'); |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new PerfSampleSeries.fromJson(data)); |
} |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * [filter] - Specify one or more PerfMetricType values such as CPU to filter |
- * the result |
- * |
- * Completes with a [ListPerfSampleSeriesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListPerfSampleSeriesResponse> list(core.String projectId, core.String historyId, core.String executionId, core.String stepId, {core.List<core.String> filter}) { |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// [filter] - Specify one or more PerfMetricType values such as CPU to |
+ /// filter the result |
+ /// |
+ /// Completes with a [ListPerfSampleSeriesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListPerfSampleSeriesResponse> list(core.String projectId, |
+ core.String historyId, core.String executionId, core.String stepId, |
+ {core.List<core.String> filter}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1423,61 +1555,71 @@ class ProjectsHistoriesExecutionsStepsPerfSampleSeriesResourceApi { |
_queryParams["filter"] = filter; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfSampleSeries'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListPerfSampleSeriesResponse.fromJson(data)); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfSampleSeries'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListPerfSampleSeriesResponse.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * [request] - The metadata request object. |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * [sampleSeriesId] - A sample series id |
- * |
- * Completes with a [BatchCreatePerfSamplesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<BatchCreatePerfSamplesResponse> batchCreate(BatchCreatePerfSamplesRequest request, core.String projectId, core.String historyId, core.String executionId, core.String stepId, core.String sampleSeriesId) { |
+ ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi( |
+ commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// [request] - The metadata request object. |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// [sampleSeriesId] - A sample series id |
+ /// |
+ /// Completes with a [BatchCreatePerfSamplesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<BatchCreatePerfSamplesResponse> batchCreate( |
+ BatchCreatePerfSamplesRequest request, |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId, |
+ core.String sampleSeriesId) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1504,58 +1646,72 @@ class ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi { |
throw new core.ArgumentError("Parameter sampleSeriesId is required."); |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfSampleSeries/' + commons.Escaper.ecapeVariable('$sampleSeriesId') + '/samples:batchCreate'; |
- |
- var _response = _requester.request(_url, |
- "POST", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new BatchCreatePerfSamplesResponse.fromJson(data)); |
- } |
- |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - The cloud project |
- * |
- * [historyId] - A tool results history ID. |
- * |
- * [executionId] - A tool results execution ID. |
- * |
- * [stepId] - A tool results step ID. |
- * |
- * [sampleSeriesId] - A sample series id |
- * |
- * [pageSize] - 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 |
- * |
- * [pageToken] - Optional, the next_page_token returned in the previous |
- * response |
- * |
- * Completes with a [ListPerfSamplesResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListPerfSamplesResponse> list(core.String projectId, core.String historyId, core.String executionId, core.String stepId, core.String sampleSeriesId, {core.int pageSize, core.String pageToken}) { |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfSampleSeries/' + |
+ commons.Escaper.ecapeVariable('$sampleSeriesId') + |
+ '/samples:batchCreate'; |
+ |
+ var _response = _requester.request(_url, "POST", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new BatchCreatePerfSamplesResponse.fromJson(data)); |
+ } |
+ |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - The cloud project |
+ /// |
+ /// [historyId] - A tool results history ID. |
+ /// |
+ /// [executionId] - A tool results execution ID. |
+ /// |
+ /// [stepId] - A tool results step ID. |
+ /// |
+ /// [sampleSeriesId] - A sample series id |
+ /// |
+ /// [pageSize] - 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 |
+ /// |
+ /// [pageToken] - Optional, the next_page_token returned in the previous |
+ /// response |
+ /// |
+ /// Completes with a [ListPerfSamplesResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListPerfSamplesResponse> list( |
+ core.String projectId, |
+ core.String historyId, |
+ core.String executionId, |
+ core.String stepId, |
+ core.String sampleSeriesId, |
+ {core.int pageSize, |
+ core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1585,73 +1741,81 @@ class ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamplesResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/perfSampleSeries/' + commons.Escaper.ecapeVariable('$sampleSeriesId') + '/samples'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/perfSampleSeries/' + |
+ commons.Escaper.ecapeVariable('$sampleSeriesId') + |
+ '/samples'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
return _response.then((data) => new ListPerfSamplesResponse.fromJson(data)); |
} |
- |
} |
- |
class ProjectsHistoriesExecutionsStepsThumbnailsResourceApi { |
final commons.ApiRequester _requester; |
- ProjectsHistoriesExecutionsStepsThumbnailsResourceApi(commons.ApiRequester client) : |
- _requester = client; |
- |
- /** |
- * 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 |
- * |
- * Request parameters: |
- * |
- * [projectId] - A Project id. |
- * |
- * Required. |
- * |
- * [historyId] - A History id. |
- * |
- * Required. |
- * |
- * [executionId] - An Execution id. |
- * |
- * Required. |
- * |
- * [stepId] - A Step id. |
- * |
- * Required. |
- * |
- * [pageSize] - 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. |
- * |
- * [pageToken] - A continuation token to resume the query at the next item. |
- * |
- * Optional. |
- * |
- * Completes with a [ListStepThumbnailsResponse]. |
- * |
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
- * error. |
- * |
- * If the used [http.Client] completes with an error when making a REST call, |
- * this method will complete with the same error. |
- */ |
- async.Future<ListStepThumbnailsResponse> list(core.String projectId, core.String historyId, core.String executionId, core.String stepId, {core.int pageSize, core.String pageToken}) { |
+ ProjectsHistoriesExecutionsStepsThumbnailsResourceApi( |
+ commons.ApiRequester client) |
+ : _requester = client; |
+ |
+ /// 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 |
+ /// |
+ /// Request parameters: |
+ /// |
+ /// [projectId] - A Project id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [historyId] - A History id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [executionId] - An Execution id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [stepId] - A Step id. |
+ /// |
+ /// Required. |
+ /// |
+ /// [pageSize] - 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. |
+ /// |
+ /// [pageToken] - A continuation token to resume the query at the next item. |
+ /// |
+ /// Optional. |
+ /// |
+ /// Completes with a [ListStepThumbnailsResponse]. |
+ /// |
+ /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
+ /// an error. |
+ /// |
+ /// If the used [http.Client] completes with an error when making a REST |
+ /// call, this method will complete with the same error. |
+ async.Future<ListStepThumbnailsResponse> list(core.String projectId, |
+ core.String historyId, core.String executionId, core.String stepId, |
+ {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1678,31 +1842,38 @@ class ProjectsHistoriesExecutionsStepsThumbnailsResourceApi { |
_queryParams["pageToken"] = [pageToken]; |
} |
- _url = commons.Escaper.ecapeVariable('$projectId') + '/histories/' + commons.Escaper.ecapeVariable('$historyId') + '/executions/' + commons.Escaper.ecapeVariable('$executionId') + '/steps/' + commons.Escaper.ecapeVariable('$stepId') + '/thumbnails'; |
- |
- var _response = _requester.request(_url, |
- "GET", |
- body: _body, |
- queryParams: _queryParams, |
- uploadOptions: _uploadOptions, |
- uploadMedia: _uploadMedia, |
- downloadOptions: _downloadOptions); |
- return _response.then((data) => new ListStepThumbnailsResponse.fromJson(data)); |
+ _url = commons.Escaper.ecapeVariable('$projectId') + |
+ '/histories/' + |
+ commons.Escaper.ecapeVariable('$historyId') + |
+ '/executions/' + |
+ commons.Escaper.ecapeVariable('$executionId') + |
+ '/steps/' + |
+ commons.Escaper.ecapeVariable('$stepId') + |
+ '/thumbnails'; |
+ |
+ var _response = _requester.request(_url, "GET", |
+ body: _body, |
+ queryParams: _queryParams, |
+ uploadOptions: _uploadOptions, |
+ uploadMedia: _uploadMedia, |
+ downloadOptions: _downloadOptions); |
+ return _response |
+ .then((data) => new ListStepThumbnailsResponse.fromJson(data)); |
} |
- |
} |
- |
- |
-/** Android app information. */ |
+/// Android app information. |
class AndroidAppInfo { |
- /** The name of the app. Optional */ |
+ /// The name of the app. Optional |
core.String name; |
- /** The package name of the app. Required. */ |
+ |
+ /// The package name of the app. Required. |
core.String packageName; |
- /** The internal version code of the app. Optional. */ |
+ |
+ /// The internal version code of the app. Optional. |
core.String versionCode; |
- /** The version name of the app. Optional. */ |
+ |
+ /// The version name of the app. Optional. |
core.String versionName; |
AndroidAppInfo(); |
@@ -1723,7 +1894,8 @@ class AndroidAppInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -1740,33 +1912,30 @@ class AndroidAppInfo { |
} |
} |
-/** |
- * A test of an Android application that can control an Android component |
- * independently of its normal lifecycle. |
- * |
- * See for more information on types of Android tests. |
- */ |
+/// A test of an Android application that can control an Android component |
+/// independently of its normal lifecycle. |
+/// |
+/// See for more information on types of Android tests. |
class AndroidInstrumentationTest { |
- /** The java package for the test to be executed. Required */ |
+ /// The java package for the test to be executed. Required |
core.String testPackageId; |
- /** The InstrumentationTestRunner class. Required */ |
+ |
+ /// The InstrumentationTestRunner class. Required |
core.String testRunnerClass; |
- /** |
- * Each target must be fully qualified with the package name or class name, in |
- * one of these formats: - "package package_name" - "class |
- * package_name.class_name" - "class package_name.class_name#method_name" |
- * |
- * If empty, all targets in the module will be run. |
- */ |
+ |
+ /// Each target must be fully qualified with the package name or class name, |
+ /// in one of these formats: - "package package_name" - "class |
+ /// package_name.class_name" - "class package_name.class_name#method_name" |
+ /// |
+ /// If empty, all targets in the module will be run. |
core.List<core.String> testTargets; |
- /** |
- * The flag indicates whether Android Test Orchestrator will be used to run |
- * test or not. Test orchestrator is used if either: - orchestrator_option |
- * field is USE_ORCHESTRATOR, and test runner is compatible with orchestrator. |
- * Or - orchestrator_option field is unspecified or |
- * ORCHESTRATOR_OPTION_UNSPECIFIED, and test runner is compatible with |
- * orchestrator. |
- */ |
+ |
+ /// The flag indicates whether Android Test Orchestrator will be used to run |
+ /// test or not. Test orchestrator is used if either: - orchestrator_option |
+ /// field is USE_ORCHESTRATOR, and test runner is compatible with |
+ /// orchestrator. Or - orchestrator_option field is unspecified or |
+ /// ORCHESTRATOR_OPTION_UNSPECIFIED, and test runner is compatible with |
+ /// orchestrator. |
core.bool useOrchestrator; |
AndroidInstrumentationTest(); |
@@ -1787,7 +1956,8 @@ class AndroidInstrumentationTest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (testPackageId != null) { |
_json["testPackageId"] = testPackageId; |
} |
@@ -1804,23 +1974,23 @@ class AndroidInstrumentationTest { |
} |
} |
-/** |
- * A test of an android application that explores the application on a virtual |
- * or physical Android device, finding culprits and crashes as it goes. |
- */ |
+/// A test of an android application that explores the application on a virtual |
+/// or physical Android device, finding culprits and crashes as it goes. |
class AndroidRoboTest { |
- /** The initial activity that should be used to start the app. Optional */ |
+ /// The initial activity that should be used to start the app. Optional |
core.String appInitialActivity; |
- /** The java package for the bootstrap. Optional */ |
+ |
+ /// The java package for the bootstrap. Optional |
core.String bootstrapPackageId; |
- /** The runner class for the bootstrap. Optional */ |
+ |
+ /// The runner class for the bootstrap. Optional |
core.String bootstrapRunnerClass; |
- /** The max depth of the traversal stack Robo can explore. Optional */ |
+ |
+ /// The max depth of the traversal stack Robo can explore. Optional |
core.int maxDepth; |
- /** |
- * The max number of steps/actions Robo can execute. Default is no limit (0). |
- * Optional |
- */ |
+ |
+ /// The max number of steps/actions Robo can execute. Default is no limit |
+ /// (0). Optional |
core.int maxSteps; |
AndroidRoboTest(); |
@@ -1844,7 +2014,8 @@ class AndroidRoboTest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (appInitialActivity != null) { |
_json["appInitialActivity"] = appInitialActivity; |
} |
@@ -1864,17 +2035,18 @@ class AndroidRoboTest { |
} |
} |
-/** An Android mobile test specification. */ |
+/// An Android mobile test specification. |
class AndroidTest { |
- /** Infomation about the application under test. */ |
+ /// Infomation about the application under test. |
AndroidAppInfo androidAppInfo; |
- /** An Android instrumentation test. */ |
+ |
+ /// An Android instrumentation test. |
AndroidInstrumentationTest androidInstrumentationTest; |
- /** An Android robo test. */ |
+ |
+ /// An Android robo test. |
AndroidRoboTest androidRoboTest; |
- /** |
- * Max time a test is allowed to run before it is automatically cancelled. |
- */ |
+ |
+ /// Max time a test is allowed to run before it is automatically cancelled. |
Duration testTimeout; |
AndroidTest(); |
@@ -1884,7 +2056,8 @@ class AndroidTest { |
androidAppInfo = new AndroidAppInfo.fromJson(_json["androidAppInfo"]); |
} |
if (_json.containsKey("androidInstrumentationTest")) { |
- androidInstrumentationTest = new AndroidInstrumentationTest.fromJson(_json["androidInstrumentationTest"]); |
+ androidInstrumentationTest = new AndroidInstrumentationTest.fromJson( |
+ _json["androidInstrumentationTest"]); |
} |
if (_json.containsKey("androidRoboTest")) { |
androidRoboTest = new AndroidRoboTest.fromJson(_json["androidRoboTest"]); |
@@ -1895,12 +2068,14 @@ class AndroidTest { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (androidAppInfo != null) { |
_json["androidAppInfo"] = (androidAppInfo).toJson(); |
} |
if (androidInstrumentationTest != null) { |
- _json["androidInstrumentationTest"] = (androidInstrumentationTest).toJson(); |
+ _json["androidInstrumentationTest"] = |
+ (androidInstrumentationTest).toJson(); |
} |
if (androidRoboTest != null) { |
_json["androidRoboTest"] = (androidRoboTest).toJson(); |
@@ -1912,90 +2087,86 @@ class AndroidTest { |
} |
} |
-/** |
- * `Any` contains an arbitrary serialized protocol buffer message along with a |
- * URL that describes the type of the serialized message. |
- * |
- * Protobuf library provides support to pack/unpack Any values in the form of |
- * utility functions or additional generated methods of the Any type. |
- * |
- * Example 1: Pack and unpack a message in C++. |
- * |
- * Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... |
- * } |
- * |
- * Example 2: Pack and unpack a message in Java. |
- * |
- * Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = |
- * any.unpack(Foo.class); } |
- * |
- * Example 3: Pack and unpack a message in Python. |
- * |
- * foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): |
- * any.Unpack(foo) ... |
- * |
- * Example 4: Pack and unpack a message in Go |
- * |
- * foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} |
- * if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } |
- * |
- * The pack methods provided by protobuf library will by default use |
- * 'type.googleapis.com/full.type.name' as the type URL and the unpack methods |
- * only use the fully qualified type name after the last '/' in the type URL, |
- * for example "foo.bar.com/x/y.z" will yield type name "y.z". |
- * |
- * |
- * |
- * JSON ==== The JSON representation of an `Any` value uses the regular |
- * representation of the deserialized, embedded message, with an additional |
- * field `@type` which contains the type URL. Example: |
- * |
- * package google.profile; message Person { string first_name = 1; string |
- * last_name = 2; } |
- * |
- * { "@type": "type.googleapis.com/google.profile.Person", "firstName": , |
- * "lastName": } |
- * |
- * If the embedded message type is well-known and has a custom JSON |
- * representation, that representation will be embedded adding a field `value` |
- * which holds the custom JSON in addition to the `@type` field. Example (for |
- * message [google.protobuf.Duration][]): |
- * |
- * { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" |
- * } |
- */ |
+/// `Any` contains an arbitrary serialized protocol buffer message along with a |
+/// URL that describes the type of the serialized message. |
+/// |
+/// Protobuf library provides support to pack/unpack Any values in the form of |
+/// utility functions or additional generated methods of the Any type. |
+/// |
+/// Example 1: Pack and unpack a message in C++. |
+/// |
+/// Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { |
+/// ... } |
+/// |
+/// Example 2: Pack and unpack a message in Java. |
+/// |
+/// Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = |
+/// any.unpack(Foo.class); } |
+/// |
+/// Example 3: Pack and unpack a message in Python. |
+/// |
+/// foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): |
+/// any.Unpack(foo) ... |
+/// |
+/// Example 4: Pack and unpack a message in Go |
+/// |
+/// foo := &pb.Foo{...} any, err := ptypes.MarshalAny(foo) ... foo := &pb.Foo{} |
+/// if err := ptypes.UnmarshalAny(any, foo); err != nil { ... } |
+/// |
+/// The pack methods provided by protobuf library will by default use |
+/// 'type.googleapis.com/full.type.name' as the type URL and the unpack methods |
+/// only use the fully qualified type name after the last '/' in the type URL, |
+/// for example "foo.bar.com/x/y.z" will yield type name "y.z". |
+/// |
+/// |
+/// |
+/// JSON ==== The JSON representation of an `Any` value uses the regular |
+/// representation of the deserialized, embedded message, with an additional |
+/// field `@type` which contains the type URL. Example: |
+/// |
+/// package google.profile; message Person { string first_name = 1; string |
+/// last_name = 2; } |
+/// |
+/// { "@type": "type.googleapis.com/google.profile.Person", "firstName": , |
+/// "lastName": } |
+/// |
+/// If the embedded message type is well-known and has a custom JSON |
+/// representation, that representation will be embedded adding a field `value` |
+/// which holds the custom JSON in addition to the `@type` field. Example (for |
+/// message [google.protobuf.Duration][]): |
+/// |
+/// { "@type": "type.googleapis.com/google.protobuf.Duration", "value": |
+/// "1.212s" } |
class Any { |
- /** |
- * A URL/resource name whose content describes the type of the serialized |
- * protocol buffer message. |
- * |
- * For URLs which use the scheme `http`, `https`, or no scheme, the following |
- * restrictions and interpretations apply: |
- * |
- * * If no scheme is provided, `https` is assumed. * The last segment of the |
- * URL's path must represent the fully qualified name of the type (as in |
- * `path/google.protobuf.Duration`). The name should be in a canonical form |
- * (e.g., leading "." is not accepted). * An HTTP GET on the URL must yield a |
- * [google.protobuf.Type][] value in binary format, or produce an error. * |
- * Applications are allowed to cache lookup results based on the URL, or have |
- * them precompiled into a binary to avoid any lookup. Therefore, binary |
- * compatibility needs to be preserved on changes to types. (Use versioned |
- * type names to manage breaking changes.) |
- * |
- * Schemes other than `http`, `https` (or the empty scheme) might be used with |
- * implementation specific semantics. |
- */ |
+ /// A URL/resource name whose content describes the type of the serialized |
+ /// protocol buffer message. |
+ /// |
+ /// For URLs which use the scheme `http`, `https`, or no scheme, the |
+ /// following restrictions and interpretations apply: |
+ /// |
+ /// * If no scheme is provided, `https` is assumed. * The last segment of the |
+ /// URL's path must represent the fully qualified name of the type (as in |
+ /// `path/google.protobuf.Duration`). The name should be in a canonical form |
+ /// (e.g., leading "." is not accepted). * An HTTP GET on the URL must yield |
+ /// a [google.protobuf.Type][] value in binary format, or produce an error. * |
+ /// Applications are allowed to cache lookup results based on the URL, or |
+ /// have them precompiled into a binary to avoid any lookup. Therefore, |
+ /// binary compatibility needs to be preserved on changes to types. (Use |
+ /// versioned type names to manage breaking changes.) |
+ /// |
+ /// Schemes other than `http`, `https` (or the empty scheme) might be used |
+ /// with implementation specific semantics. |
core.String typeUrl; |
- /** |
- * Must be a valid serialized protocol buffer of the above specified type. |
- */ |
+ |
+ /// Must be a valid serialized protocol buffer of the above specified type. |
core.String value; |
core.List<core.int> get valueAsBytes { |
return convert.BASE64.decode(value); |
} |
void set valueAsBytes(core.List<core.int> _bytes) { |
- value = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
+ value = |
+ convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
} |
Any(); |
@@ -2010,7 +2181,8 @@ class Any { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (typeUrl != null) { |
_json["typeUrl"] = typeUrl; |
} |
@@ -2022,18 +2194,15 @@ class Any { |
} |
class AppStartTime { |
- /** |
- * Optional. The time from app start to reaching the developer-reported "fully |
- * drawn" time. This is only stored if the app includes a call to |
- * Activity.reportFullyDrawn(). See |
- * https://developer.android.com/topic/performance/launch-time.html#time-full |
- */ |
+ /// Optional. The time from app start to reaching the developer-reported |
+ /// "fully drawn" time. This is only stored if the app includes a call to |
+ /// Activity.reportFullyDrawn(). See |
+ /// https://developer.android.com/topic/performance/launch-time.html#time-full |
Duration fullyDrawnTime; |
- /** |
- * The time from app start to the first displayed activity being drawn, as |
- * reported in Logcat. See |
- * https://developer.android.com/topic/performance/launch-time.html#time-initial |
- */ |
+ |
+ /// The time from app start to the first displayed activity being drawn, as |
+ /// reported in Logcat. See |
+ /// https://developer.android.com/topic/performance/launch-time.html#time-initial |
Duration initialDisplayTime; |
AppStartTime(); |
@@ -2048,7 +2217,8 @@ class AppStartTime { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (fullyDrawnTime != null) { |
_json["fullyDrawnTime"] = (fullyDrawnTime).toJson(); |
} |
@@ -2059,48 +2229,43 @@ class AppStartTime { |
} |
} |
-/** |
- * Encapsulates the metadata for basic sample series represented by a line chart |
- */ |
+/// Encapsulates the metadata for basic sample series represented by a line |
+/// chart |
class BasicPerfSampleSeries { |
- /** |
- * |
- * Possible string values are: |
- * - "cpu" |
- * - "graphics" |
- * - "memory" |
- * - "network" |
- * - "perfMetricTypeUnspecified" |
- */ |
+ /// |
+ /// Possible string values are: |
+ /// - "cpu" |
+ /// - "graphics" |
+ /// - "memory" |
+ /// - "network" |
+ /// - "perfMetricTypeUnspecified" |
core.String perfMetricType; |
- /** |
- * |
- * Possible string values are: |
- * - "byte" |
- * - "bytesPerSecond" |
- * - "framesPerSecond" |
- * - "kibibyte" |
- * - "percent" |
- * - "perfUnitUnspecified" |
- */ |
+ |
+ /// |
+ /// Possible string values are: |
+ /// - "byte" |
+ /// - "bytesPerSecond" |
+ /// - "framesPerSecond" |
+ /// - "kibibyte" |
+ /// - "percent" |
+ /// - "perfUnitUnspecified" |
core.String perfUnit; |
- /** |
- * |
- * Possible string values are: |
- * - "cpuKernel" |
- * - "cpuTotal" |
- * - "cpuUser" |
- * - "graphicsFrameRate" |
- * - "memoryRssPrivate" |
- * - "memoryRssShared" |
- * - "memoryRssTotal" |
- * - "memoryTotal" |
- * - "networkReceived" |
- * - "networkSent" |
- * - "ntBytesReceived" |
- * - "ntBytesTransferred" |
- * - "sampleSeriesTypeUnspecified" |
- */ |
+ |
+ /// |
+ /// Possible string values are: |
+ /// - "cpuKernel" |
+ /// - "cpuTotal" |
+ /// - "cpuUser" |
+ /// - "graphicsFrameRate" |
+ /// - "memoryRssPrivate" |
+ /// - "memoryRssShared" |
+ /// - "memoryRssTotal" |
+ /// - "memoryTotal" |
+ /// - "networkReceived" |
+ /// - "networkSent" |
+ /// - "ntBytesReceived" |
+ /// - "ntBytesTransferred" |
+ /// - "sampleSeriesTypeUnspecified" |
core.String sampleSeriesLabel; |
BasicPerfSampleSeries(); |
@@ -2118,7 +2283,8 @@ class BasicPerfSampleSeries { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (perfMetricType != null) { |
_json["perfMetricType"] = perfMetricType; |
} |
@@ -2132,28 +2298,28 @@ class BasicPerfSampleSeries { |
} |
} |
-/** |
- * The request must provide up to a maximum of 5000 samples to be created; a |
- * larger sample size will cause an INVALID_ARGUMENT error |
- */ |
+/// The request must provide up to a maximum of 5000 samples to be created; a |
+/// larger sample size will cause an INVALID_ARGUMENT error |
class BatchCreatePerfSamplesRequest { |
- /** |
- * The set of PerfSamples to create should not include existing timestamps |
- */ |
+ /// The set of PerfSamples to create should not include existing timestamps |
core.List<PerfSample> perfSamples; |
BatchCreatePerfSamplesRequest(); |
BatchCreatePerfSamplesRequest.fromJson(core.Map _json) { |
if (_json.containsKey("perfSamples")) { |
- perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson(value)).toList(); |
+ perfSamples = _json["perfSamples"] |
+ .map((value) => new PerfSample.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (perfSamples != null) { |
- _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList(); |
+ _json["perfSamples"] = |
+ perfSamples.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
@@ -2166,27 +2332,31 @@ class BatchCreatePerfSamplesResponse { |
BatchCreatePerfSamplesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("perfSamples")) { |
- perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson(value)).toList(); |
+ perfSamples = _json["perfSamples"] |
+ .map((value) => new PerfSample.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (perfSamples != null) { |
- _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList(); |
+ _json["perfSamples"] = |
+ perfSamples.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class CPUInfo { |
- /** |
- * description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' |
- */ |
+ /// description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A' |
core.String cpuProcessor; |
- /** the CPU clock speed in GHz */ |
+ |
+ /// the CPU clock speed in GHz |
core.double cpuSpeedInGhz; |
- /** the number of CPU cores */ |
+ |
+ /// the number of CPU cores |
core.int numberOfCores; |
CPUInfo(); |
@@ -2204,7 +2374,8 @@ class CPUInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (cpuProcessor != null) { |
_json["cpuProcessor"] = cpuProcessor; |
} |
@@ -2218,65 +2389,61 @@ class CPUInfo { |
} |
} |
-/** |
- * A Duration represents a signed, fixed-length span of time represented as a |
- * count of seconds and fractions of seconds at nanosecond resolution. It is |
- * independent of any calendar and concepts like "day" or "month". It is related |
- * to Timestamp in that the difference between two Timestamp values is a |
- * Duration and it can be added or subtracted from a Timestamp. Range is |
- * approximately +-10,000 years. |
- * |
- * # Examples |
- * |
- * Example 1: Compute Duration from two Timestamps in pseudo code. |
- * |
- * Timestamp start = ...; Timestamp end = ...; Duration duration = ...; |
- * |
- * duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - |
- * start.nanos; |
- * |
- * if (duration.seconds 0) { duration.seconds += 1; duration.nanos -= |
- * 1000000000; } else if (durations.seconds > 0 && duration.nanos < 0) { |
- * duration.seconds -= 1; duration.nanos += 1000000000; } |
- * |
- * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. |
- * |
- * Timestamp start = ...; Duration duration = ...; Timestamp end = ...; |
- * |
- * end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + |
- * duration.nanos; |
- * |
- * if (end.nanos = 1000000000) { end.seconds += 1; end.nanos -= 1000000000; } |
- * |
- * Example 3: Compute Duration from datetime.timedelta in Python. |
- * |
- * td = datetime.timedelta(days=3, minutes=10) duration = Duration() |
- * duration.FromTimedelta(td) |
- * |
- * # JSON Mapping |
- * |
- * In JSON format, the Duration type is encoded as a string rather than an |
- * object, where the string ends in the suffix "s" (indicating seconds) and is |
- * preceded by the number of seconds, with nanoseconds expressed as fractional |
- * seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON |
- * format as "3s", while 3 seconds and 1 nanosecond should be expressed in JSON |
- * format as "3.000000001s", and 3 seconds and 1 microsecond should be expressed |
- * in JSON format as "3.000001s". |
- */ |
+/// A Duration represents a signed, fixed-length span of time represented as a |
+/// count of seconds and fractions of seconds at nanosecond resolution. It is |
+/// independent of any calendar and concepts like "day" or "month". It is |
+/// related to Timestamp in that the difference between two Timestamp values is |
+/// a Duration and it can be added or subtracted from a Timestamp. Range is |
+/// approximately +-10,000 years. |
+/// |
+/// # Examples |
+/// |
+/// Example 1: Compute Duration from two Timestamps in pseudo code. |
+/// |
+/// Timestamp start = ...; Timestamp end = ...; Duration duration = ...; |
+/// |
+/// duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos |
+/// - start.nanos; |
+/// |
+/// if (duration.seconds 0) { duration.seconds += 1; duration.nanos -= |
+/// 1000000000; } else if (durations.seconds > 0 && duration.nanos < 0) { |
+/// duration.seconds -= 1; duration.nanos += 1000000000; } |
+/// |
+/// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. |
+/// |
+/// Timestamp start = ...; Duration duration = ...; Timestamp end = ...; |
+/// |
+/// end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + |
+/// duration.nanos; |
+/// |
+/// if (end.nanos = 1000000000) { end.seconds += 1; end.nanos -= 1000000000; } |
+/// |
+/// Example 3: Compute Duration from datetime.timedelta in Python. |
+/// |
+/// td = datetime.timedelta(days=3, minutes=10) duration = Duration() |
+/// duration.FromTimedelta(td) |
+/// |
+/// # JSON Mapping |
+/// |
+/// In JSON format, the Duration type is encoded as a string rather than an |
+/// object, where the string ends in the suffix "s" (indicating seconds) and is |
+/// preceded by the number of seconds, with nanoseconds expressed as fractional |
+/// seconds. For example, 3 seconds with 0 nanoseconds should be encoded in |
+/// JSON format as "3s", while 3 seconds and 1 nanosecond should be expressed |
+/// in JSON format as "3.000000001s", and 3 seconds and 1 microsecond should be |
+/// expressed in JSON format as "3.000001s". |
class Duration { |
- /** |
- * Signed fractions of a second at nanosecond resolution of the span of time. |
- * Durations less than one second are represented with a 0 `seconds` field and |
- * a positive or negative `nanos` field. For durations of one second or more, |
- * a non-zero value for the `nanos` field must be of the same sign as the |
- * `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. |
- */ |
+ /// Signed fractions of a second at nanosecond resolution of the span of |
+ /// time. Durations less than one second are represented with a 0 `seconds` |
+ /// field and a positive or negative `nanos` field. For durations of one |
+ /// second or more, a non-zero value for the `nanos` field must be of the |
+ /// same sign as the `seconds` field. Must be from -999,999,999 to |
+ /// +999,999,999 inclusive. |
core.int nanos; |
- /** |
- * Signed seconds of the span of time. Must be from -315,576,000,000 to |
- * +315,576,000,000 inclusive. Note: these bounds are computed from: 60 |
- * sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
- */ |
+ |
+ /// Signed seconds of the span of time. Must be from -315,576,000,000 to |
+ /// +315,576,000,000 inclusive. Note: these bounds are computed from: 60 |
+ /// sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years |
core.String seconds; |
Duration(); |
@@ -2291,7 +2458,8 @@ class Duration { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nanos != null) { |
_json["nanos"] = nanos; |
} |
@@ -2302,85 +2470,76 @@ class Duration { |
} |
} |
-/** |
- * An Execution represents a collection of Steps. For instance, it could |
- * represent: - a mobile test executed across a range of device configurations - |
- * a jenkins job with a build step followed by a test step |
- * |
- * The maximum size of an execution message is 1 MiB. |
- * |
- * An Execution can be updated until its state is set to COMPLETE at which point |
- * it becomes immutable. |
- */ |
+/// An Execution represents a collection of Steps. For instance, it could |
+/// represent: - a mobile test executed across a range of device configurations |
+/// - a jenkins job with a build step followed by a test step |
+/// |
+/// The maximum size of an execution message is 1 MiB. |
+/// |
+/// An Execution can be updated until its state is set to COMPLETE at which |
+/// point it becomes immutable. |
class Execution { |
- /** |
- * The time when the Execution status transitioned to COMPLETE. |
- * |
- * This value will be set automatically when state transitions to COMPLETE. |
- * |
- * - In response: set if the execution state is COMPLETE. - In create/update |
- * request: never set |
- */ |
+ /// The time when the Execution status transitioned to COMPLETE. |
+ /// |
+ /// This value will be set automatically when state transitions to COMPLETE. |
+ /// |
+ /// - In response: set if the execution state is COMPLETE. - In create/update |
+ /// request: never set |
Timestamp completionTime; |
- /** |
- * The time when the Execution was created. |
- * |
- * This value will be set automatically when CreateExecution is called. |
- * |
- * - In response: always set - In create/update request: never set |
- */ |
+ |
+ /// The time when the Execution was created. |
+ /// |
+ /// This value will be set automatically when CreateExecution is called. |
+ /// |
+ /// - In response: always set - In create/update request: never set |
Timestamp creationTime; |
- /** |
- * A unique identifier within a History for this Execution. |
- * |
- * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. |
- * |
- * - In response always set - In create/update request: never set |
- */ |
+ |
+ /// A unique identifier within a History for this Execution. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set or overwritten by the |
+ /// caller. |
+ /// |
+ /// - In response always set - In create/update request: never set |
core.String executionId; |
- /** |
- * Classify the result, for example into SUCCESS or FAILURE |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ |
+ /// Classify the result, for example into SUCCESS or FAILURE |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
Outcome outcome; |
- /** |
- * Lightweight information about execution request. |
- * |
- * - In response: present if set by create - In create: optional - In update: |
- * optional |
- */ |
+ |
+ /// Lightweight information about execution request. |
+ /// |
+ /// - In response: present if set by create - In create: optional - In |
+ /// update: optional |
Specification specification; |
- /** |
- * The initial state is IN_PROGRESS. |
- * |
- * The only legal state transitions is from IN_PROGRESS to COMPLETE. |
- * |
- * A PRECONDITION_FAILED will be returned if an invalid transition is |
- * requested. |
- * |
- * The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be |
- * returned if the state is set to COMPLETE multiple times. |
- * |
- * If the state is set to COMPLETE, all the in-progress steps within the |
- * execution will be set as COMPLETE. If the outcome of the step is not set, |
- * the outcome will be set to INCONCLUSIVE. |
- * |
- * - In response always set - In create/update request: optional |
- * Possible string values are: |
- * - "complete" |
- * - "inProgress" |
- * - "pending" |
- * - "unknownState" |
- */ |
+ |
+ /// The initial state is IN_PROGRESS. |
+ /// |
+ /// The only legal state transitions is from IN_PROGRESS to COMPLETE. |
+ /// |
+ /// A PRECONDITION_FAILED will be returned if an invalid transition is |
+ /// requested. |
+ /// |
+ /// The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be |
+ /// returned if the state is set to COMPLETE multiple times. |
+ /// |
+ /// If the state is set to COMPLETE, all the in-progress steps within the |
+ /// execution will be set as COMPLETE. If the outcome of the step is not set, |
+ /// the outcome will be set to INCONCLUSIVE. |
+ /// |
+ /// - In response always set - In create/update request: optional |
+ /// Possible string values are: |
+ /// - "complete" |
+ /// - "inProgress" |
+ /// - "pending" |
+ /// - "unknownState" |
core.String state; |
- /** |
- * TestExecution Matrix ID that the TestExecutionService uses. |
- * |
- * - In response: present if set by create - In create: optional - In update: |
- * never set |
- */ |
+ |
+ /// TestExecution Matrix ID that the TestExecutionService uses. |
+ /// |
+ /// - In response: present if set by create - In create: optional - In |
+ /// update: never set |
core.String testExecutionMatrixId; |
Execution(); |
@@ -2410,7 +2569,8 @@ class Execution { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (completionTime != null) { |
_json["completionTime"] = (completionTime).toJson(); |
} |
@@ -2437,21 +2597,21 @@ class Execution { |
} |
class FailureDetail { |
- /** If the failure was severe because the system under test crashed. */ |
+ /// If the failure was severe because the system under test crashed. |
core.bool crashed; |
- /** |
- * If an app is not installed and thus no test can be run with the app. This |
- * might be caused by trying to run a test on an unsupported platform. |
- */ |
+ |
+ /// If an app is not installed and thus no test can be run with the app. This |
+ /// might be caused by trying to run a test on an unsupported platform. |
core.bool notInstalled; |
- /** If a native process other than the app crashed. */ |
+ |
+ /// If a native process other than the app crashed. |
core.bool otherNativeCrash; |
- /** If the test overran some time limit, and that is why it failed. */ |
+ |
+ /// If the test overran some time limit, and that is why it failed. |
core.bool timedOut; |
- /** |
- * If the robo was unable to crawl the app; perhaps because the app did not |
- * start. |
- */ |
+ |
+ /// If the robo was unable to crawl the app; perhaps because the app did not |
+ /// start. |
core.bool unableToCrawl; |
FailureDetail(); |
@@ -2475,7 +2635,8 @@ class FailureDetail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (crashed != null) { |
_json["crashed"] = crashed; |
} |
@@ -2495,20 +2656,18 @@ class FailureDetail { |
} |
} |
-/** A reference to a file. */ |
+/// A reference to a file. |
class FileReference { |
- /** |
- * The URI of a file stored in Google Cloud Storage. |
- * |
- * For example: http://storage.googleapis.com/mybucket/path/to/test.xml or in |
- * gsutil format: gs://mybucket/path/to/test.xml with version-specific info, |
- * gs://mybucket/path/to/test.xml#1360383693690000 |
- * |
- * An INVALID_ARGUMENT error will be returned if the URI format is not |
- * supported. |
- * |
- * - In response: always set - In create/update request: always set |
- */ |
+ /// The URI of a file stored in Google Cloud Storage. |
+ /// |
+ /// For example: http://storage.googleapis.com/mybucket/path/to/test.xml or |
+ /// in gsutil format: gs://mybucket/path/to/test.xml with version-specific |
+ /// info, gs://mybucket/path/to/test.xml#1360383693690000 |
+ /// |
+ /// An INVALID_ARGUMENT error will be returned if the URI format is not |
+ /// supported. |
+ /// |
+ /// - In response: always set - In create/update request: always set |
core.String fileUri; |
FileReference(); |
@@ -2520,7 +2679,8 @@ class FileReference { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (fileUri != null) { |
_json["fileUri"] = fileUri; |
} |
@@ -2528,37 +2688,33 @@ class FileReference { |
} |
} |
-/** |
- * A History represents a sorted list of Executions ordered by the |
- * start_timestamp_millis field (descending). It can be used to group all the |
- * Executions of a continuous build. |
- * |
- * Note that the ordering only operates on one-dimension. If a repository has |
- * multiple branches, it means that multiple histories will need to be used in |
- * order to order Executions per branch. |
- */ |
+/// A History represents a sorted list of Executions ordered by the |
+/// start_timestamp_millis field (descending). It can be used to group all the |
+/// Executions of a continuous build. |
+/// |
+/// Note that the ordering only operates on one-dimension. If a repository has |
+/// multiple branches, it means that multiple histories will need to be used in |
+/// order to order Executions per branch. |
class History { |
- /** |
- * A short human-readable (plain text) name to display in the UI. Maximum of |
- * 100 characters. |
- * |
- * - In response: present if set during create. - In create request: optional |
- */ |
+ /// A short human-readable (plain text) name to display in the UI. Maximum of |
+ /// 100 characters. |
+ /// |
+ /// - In response: present if set during create. - In create request: |
+ /// optional |
core.String displayName; |
- /** |
- * A unique identifier within a project for this History. |
- * |
- * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. |
- * |
- * - In response always set - In create request: never set |
- */ |
+ |
+ /// A unique identifier within a project for this History. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set or overwritten by the |
+ /// caller. |
+ /// |
+ /// - In response always set - In create request: never set |
core.String historyId; |
- /** |
- * A name to uniquely identify a history within a project. Maximum of 100 |
- * characters. |
- * |
- * - In response always set - In create request: always set |
- */ |
+ |
+ /// A name to uniquely identify a history within a project. Maximum of 100 |
+ /// characters. |
+ /// |
+ /// - In response always set - In create request: always set |
core.String name; |
History(); |
@@ -2576,7 +2732,8 @@ class History { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (displayName != null) { |
_json["displayName"] = displayName; |
} |
@@ -2590,25 +2747,24 @@ class History { |
} |
} |
-/** An image, with a link to the main image and a thumbnail. */ |
+/// An image, with a link to the main image and a thumbnail. |
class Image { |
- /** An error explaining why the thumbnail could not be rendered. */ |
+ /// An error explaining why the thumbnail could not be rendered. |
Status error; |
- /** |
- * A reference to the full-size, original image. |
- * |
- * This is the same as the tool_outputs entry for the image under its Step. |
- * |
- * Always set. |
- */ |
+ |
+ /// A reference to the full-size, original image. |
+ /// |
+ /// This is the same as the tool_outputs entry for the image under its Step. |
+ /// |
+ /// Always set. |
ToolOutputReference sourceImage; |
- /** |
- * The step to which the image is attached. |
- * |
- * Always set. |
- */ |
+ |
+ /// The step to which the image is attached. |
+ /// |
+ /// Always set. |
core.String stepId; |
- /** The thumbnail. */ |
+ |
+ /// The thumbnail. |
Thumbnail thumbnail; |
Image(); |
@@ -2629,7 +2785,8 @@ class Image { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (error != null) { |
_json["error"] = (error).toJson(); |
} |
@@ -2647,19 +2804,17 @@ class Image { |
} |
class InconclusiveDetail { |
- /** |
- * If the end user aborted the test execution before a pass or fail could be |
- * determined. For example, the user pressed ctrl-c which sent a kill signal |
- * to the test runner while the test was running. |
- */ |
+ /// If the end user aborted the test execution before a pass or fail could be |
+ /// determined. For example, the user pressed ctrl-c which sent a kill signal |
+ /// to the test runner while the test was running. |
core.bool abortedByUser; |
- /** |
- * If the test runner could not determine success or failure because the test |
- * depends on a component other than the system under test which failed. |
- * |
- * For example, a mobile test requires provisioning a device where the test |
- * executes, and that provisioning can fail. |
- */ |
+ |
+ /// If the test runner could not determine success or failure because the |
+ /// test depends on a component other than the system under test which |
+ /// failed. |
+ /// |
+ /// For example, a mobile test requires provisioning a device where the test |
+ /// executes, and that provisioning can fail. |
core.bool infrastructureFailure; |
InconclusiveDetail(); |
@@ -2674,7 +2829,8 @@ class InconclusiveDetail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (abortedByUser != null) { |
_json["abortedByUser"] = abortedByUser; |
} |
@@ -2686,24 +2842,23 @@ class InconclusiveDetail { |
} |
class ListExecutionsResponse { |
- /** |
- * Executions. |
- * |
- * Always set. |
- */ |
+ /// Executions. |
+ /// |
+ /// Always set. |
core.List<Execution> executions; |
- /** |
- * A continuation token to resume the query at the next item. |
- * |
- * Will only be set if there are more Executions to fetch. |
- */ |
+ |
+ /// A continuation token to resume the query at the next item. |
+ /// |
+ /// Will only be set if there are more Executions to fetch. |
core.String nextPageToken; |
ListExecutionsResponse(); |
ListExecutionsResponse.fromJson(core.Map _json) { |
if (_json.containsKey("executions")) { |
- executions = _json["executions"].map((value) => new Execution.fromJson(value)).toList(); |
+ executions = _json["executions"] |
+ .map((value) => new Execution.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -2711,9 +2866,11 @@ class ListExecutionsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (executions != null) { |
- _json["executions"] = executions.map((value) => (value).toJson()).toList(); |
+ _json["executions"] = |
+ executions.map((value) => (value).toJson()).toList(); |
} |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
@@ -2722,27 +2879,28 @@ class ListExecutionsResponse { |
} |
} |
-/** Response message for HistoryService.List */ |
+/// Response message for HistoryService.List |
class ListHistoriesResponse { |
- /** Histories. */ |
+ /// Histories. |
core.List<History> histories; |
- /** |
- * A continuation token to resume the query at the next item. |
- * |
- * Will only be set if there are more histories to fetch. |
- * |
- * Tokens are valid for up to one hour from the time of the first list |
- * request. For instance, if you make a list request at 1PM and use the token |
- * from this first request 10 minutes later, the token from this second |
- * response will only be valid for 50 minutes. |
- */ |
+ |
+ /// A continuation token to resume the query at the next item. |
+ /// |
+ /// Will only be set if there are more histories to fetch. |
+ /// |
+ /// Tokens are valid for up to one hour from the time of the first list |
+ /// request. For instance, if you make a list request at 1PM and use the |
+ /// token from this first request 10 minutes later, the token from this |
+ /// second response will only be valid for 50 minutes. |
core.String nextPageToken; |
ListHistoriesResponse(); |
ListHistoriesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("histories")) { |
- histories = _json["histories"].map((value) => new History.fromJson(value)).toList(); |
+ histories = _json["histories"] |
+ .map((value) => new History.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("nextPageToken")) { |
nextPageToken = _json["nextPageToken"]; |
@@ -2750,7 +2908,8 @@ class ListHistoriesResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (histories != null) { |
_json["histories"] = histories.map((value) => (value).toJson()).toList(); |
} |
@@ -2762,32 +2921,34 @@ class ListHistoriesResponse { |
} |
class ListPerfSampleSeriesResponse { |
- /** The resulting PerfSampleSeries sorted by id */ |
+ /// The resulting PerfSampleSeries sorted by id |
core.List<PerfSampleSeries> perfSampleSeries; |
ListPerfSampleSeriesResponse(); |
ListPerfSampleSeriesResponse.fromJson(core.Map _json) { |
if (_json.containsKey("perfSampleSeries")) { |
- perfSampleSeries = _json["perfSampleSeries"].map((value) => new PerfSampleSeries.fromJson(value)).toList(); |
+ perfSampleSeries = _json["perfSampleSeries"] |
+ .map((value) => new PerfSampleSeries.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (perfSampleSeries != null) { |
- _json["perfSampleSeries"] = perfSampleSeries.map((value) => (value).toJson()).toList(); |
+ _json["perfSampleSeries"] = |
+ perfSampleSeries.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class ListPerfSamplesResponse { |
- /** |
- * Optional, returned if result size exceeds the page size specified in the |
- * request (or the default page size, 500, if unspecified). It indicates the |
- * last sample timestamp to be used as page_token in subsequent request |
- */ |
+ /// Optional, returned if result size exceeds the page size specified in the |
+ /// request (or the default page size, 500, if unspecified). It indicates the |
+ /// last sample timestamp to be used as page_token in subsequent request |
core.String nextPageToken; |
core.List<PerfSample> perfSamples; |
@@ -2798,36 +2959,43 @@ class ListPerfSamplesResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("perfSamples")) { |
- perfSamples = _json["perfSamples"].map((value) => new PerfSample.fromJson(value)).toList(); |
+ perfSamples = _json["perfSamples"] |
+ .map((value) => new PerfSample.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (perfSamples != null) { |
- _json["perfSamples"] = perfSamples.map((value) => (value).toJson()).toList(); |
+ _json["perfSamples"] = |
+ perfSamples.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class ListScreenshotClustersResponse { |
- /** The set of clustres associated with an execution Always set */ |
+ /// The set of clustres associated with an execution Always set |
core.List<ScreenshotCluster> clusters; |
ListScreenshotClustersResponse(); |
ListScreenshotClustersResponse.fromJson(core.Map _json) { |
if (_json.containsKey("clusters")) { |
- clusters = _json["clusters"].map((value) => new ScreenshotCluster.fromJson(value)).toList(); |
+ clusters = _json["clusters"] |
+ .map((value) => new ScreenshotCluster.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (clusters != null) { |
_json["clusters"] = clusters.map((value) => (value).toJson()).toList(); |
} |
@@ -2835,25 +3003,22 @@ class ListScreenshotClustersResponse { |
} |
} |
-/** A response containing the thumbnails in a step. */ |
+/// A response containing the thumbnails in a step. |
class ListStepThumbnailsResponse { |
- /** |
- * A continuation token to resume the query at the next item. |
- * |
- * If set, indicates that there are more thumbnails to read, by calling list |
- * again with this value in the page_token field. |
- */ |
+ /// A continuation token to resume the query at the next item. |
+ /// |
+ /// If set, indicates that there are more thumbnails to read, by calling list |
+ /// again with this value in the page_token field. |
core.String nextPageToken; |
- /** |
- * A list of image data. |
- * |
- * Images are returned in a deterministic order; they are ordered by these |
- * factors, in order of importance: * First, by their associated test case. |
- * Images without a test case are considered greater than images with one. * |
- * Second, by their creation time. Images without a creation time are greater |
- * than images with one. * Third, by the order in which they were added to the |
- * step (by calls to CreateStep or UpdateStep). |
- */ |
+ |
+ /// A list of image data. |
+ /// |
+ /// Images are returned in a deterministic order; they are ordered by these |
+ /// factors, in order of importance: * First, by their associated test case. |
+ /// Images without a test case are considered greater than images with one. * |
+ /// Second, by their creation time. Images without a creation time are |
+ /// greater than images with one. * Third, by the order in which they were |
+ /// added to the step (by calls to CreateStep or UpdateStep). |
core.List<Image> thumbnails; |
ListStepThumbnailsResponse(); |
@@ -2863,32 +3028,35 @@ class ListStepThumbnailsResponse { |
nextPageToken = _json["nextPageToken"]; |
} |
if (_json.containsKey("thumbnails")) { |
- thumbnails = _json["thumbnails"].map((value) => new Image.fromJson(value)).toList(); |
+ thumbnails = _json["thumbnails"] |
+ .map((value) => new Image.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
if (thumbnails != null) { |
- _json["thumbnails"] = thumbnails.map((value) => (value).toJson()).toList(); |
+ _json["thumbnails"] = |
+ thumbnails.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** Response message for StepService.List. */ |
+/// Response message for StepService.List. |
class ListStepsResponse { |
- /** |
- * A continuation token to resume the query at the next item. |
- * |
- * If set, indicates that there are more steps to read, by calling list again |
- * with this value in the page_token field. |
- */ |
+ /// A continuation token to resume the query at the next item. |
+ /// |
+ /// If set, indicates that there are more steps to read, by calling list |
+ /// again with this value in the page_token field. |
core.String nextPageToken; |
- /** Steps. */ |
+ |
+ /// Steps. |
core.List<Step> steps; |
ListStepsResponse(); |
@@ -2903,7 +3071,8 @@ class ListStepsResponse { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -2915,9 +3084,10 @@ class ListStepsResponse { |
} |
class MemoryInfo { |
- /** Maximum memory that can be allocated to the process in KiB */ |
+ /// Maximum memory that can be allocated to the process in KiB |
core.String memoryCapInKibibyte; |
- /** Total memory available on the device in KiB */ |
+ |
+ /// Total memory available on the device in KiB |
core.String memoryTotalInKibibyte; |
MemoryInfo(); |
@@ -2932,7 +3102,8 @@ class MemoryInfo { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (memoryCapInKibibyte != null) { |
_json["memoryCapInKibibyte"] = memoryCapInKibibyte; |
} |
@@ -2943,55 +3114,49 @@ class MemoryInfo { |
} |
} |
-/** Interprets a result so that humans and machines can act on it. */ |
+/// Interprets a result so that humans and machines can act on it. |
class Outcome { |
- /** |
- * More information about a FAILURE outcome. |
- * |
- * Returns INVALID_ARGUMENT if this field is set but the summary is not |
- * FAILURE. |
- * |
- * Optional |
- */ |
+ /// More information about a FAILURE outcome. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set but the summary is not |
+ /// FAILURE. |
+ /// |
+ /// Optional |
FailureDetail failureDetail; |
- /** |
- * More information about an INCONCLUSIVE outcome. |
- * |
- * Returns INVALID_ARGUMENT if this field is set but the summary is not |
- * INCONCLUSIVE. |
- * |
- * Optional |
- */ |
+ |
+ /// More information about an INCONCLUSIVE outcome. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set but the summary is not |
+ /// INCONCLUSIVE. |
+ /// |
+ /// Optional |
InconclusiveDetail inconclusiveDetail; |
- /** |
- * More information about a SKIPPED outcome. |
- * |
- * Returns INVALID_ARGUMENT if this field is set but the summary is not |
- * SKIPPED. |
- * |
- * Optional |
- */ |
+ |
+ /// More information about a SKIPPED outcome. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set but the summary is not |
+ /// SKIPPED. |
+ /// |
+ /// Optional |
SkippedDetail skippedDetail; |
- /** |
- * More information about a SUCCESS outcome. |
- * |
- * Returns INVALID_ARGUMENT if this field is set but the summary is not |
- * SUCCESS. |
- * |
- * Optional |
- */ |
+ |
+ /// More information about a SUCCESS outcome. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set but the summary is not |
+ /// SUCCESS. |
+ /// |
+ /// Optional |
SuccessDetail successDetail; |
- /** |
- * The simplest way to interpret a result. |
- * |
- * Required |
- * Possible string values are: |
- * - "failure" |
- * - "inconclusive" |
- * - "skipped" |
- * - "success" |
- * - "unset" |
- */ |
+ |
+ /// The simplest way to interpret a result. |
+ /// |
+ /// Required |
+ /// Possible string values are: |
+ /// - "failure" |
+ /// - "inconclusive" |
+ /// - "skipped" |
+ /// - "success" |
+ /// - "unset" |
core.String summary; |
Outcome(); |
@@ -3001,7 +3166,8 @@ class Outcome { |
failureDetail = new FailureDetail.fromJson(_json["failureDetail"]); |
} |
if (_json.containsKey("inconclusiveDetail")) { |
- inconclusiveDetail = new InconclusiveDetail.fromJson(_json["inconclusiveDetail"]); |
+ inconclusiveDetail = |
+ new InconclusiveDetail.fromJson(_json["inconclusiveDetail"]); |
} |
if (_json.containsKey("skippedDetail")) { |
skippedDetail = new SkippedDetail.fromJson(_json["skippedDetail"]); |
@@ -3015,7 +3181,8 @@ class Outcome { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (failureDetail != null) { |
_json["failureDetail"] = (failureDetail).toJson(); |
} |
@@ -3035,11 +3202,12 @@ class Outcome { |
} |
} |
-/** Encapsulates performance environment info */ |
+/// Encapsulates performance environment info |
class PerfEnvironment { |
- /** CPU related environment info */ |
+ /// CPU related environment info |
CPUInfo cpuInfo; |
- /** Memory related environment info */ |
+ |
+ /// Memory related environment info |
MemoryInfo memoryInfo; |
PerfEnvironment(); |
@@ -3054,7 +3222,8 @@ class PerfEnvironment { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (cpuInfo != null) { |
_json["cpuInfo"] = (cpuInfo).toJson(); |
} |
@@ -3065,22 +3234,26 @@ class PerfEnvironment { |
} |
} |
-/** A summary of perf metrics collected and performance environment info */ |
+/// A summary of perf metrics collected and performance environment info |
class PerfMetricsSummary { |
AppStartTime appStartTime; |
- /** A tool results execution ID. */ |
+ |
+ /// A tool results execution ID. |
core.String executionId; |
- /** A tool results history ID. */ |
+ |
+ /// A tool results history ID. |
core.String historyId; |
- /** |
- * Describes the environment in which the performance metrics were collected |
- */ |
+ |
+ /// Describes the environment in which the performance metrics were collected |
PerfEnvironment perfEnvironment; |
- /** Set of resource collected */ |
+ |
+ /// Set of resource collected |
core.List<core.String> perfMetrics; |
- /** The cloud project */ |
+ |
+ /// The cloud project |
core.String projectId; |
- /** A tool results step ID. */ |
+ |
+ /// A tool results step ID. |
core.String stepId; |
PerfMetricsSummary(); |
@@ -3110,7 +3283,8 @@ class PerfMetricsSummary { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (appStartTime != null) { |
_json["appStartTime"] = (appStartTime).toJson(); |
} |
@@ -3136,11 +3310,12 @@ class PerfMetricsSummary { |
} |
} |
-/** Resource representing a single performance measure or data point */ |
+/// Resource representing a single performance measure or data point |
class PerfSample { |
- /** Timestamp of collection */ |
+ /// Timestamp of collection |
Timestamp sampleTime; |
- /** Value observed */ |
+ |
+ /// Value observed |
core.double value; |
PerfSample(); |
@@ -3155,7 +3330,8 @@ class PerfSample { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (sampleTime != null) { |
_json["sampleTime"] = (sampleTime).toJson(); |
} |
@@ -3166,28 +3342,32 @@ class PerfSample { |
} |
} |
-/** |
- * Resource representing a collection of performance samples (or data points) |
- */ |
+/// Resource representing a collection of performance samples (or data points) |
class PerfSampleSeries { |
- /** Basic series represented by a line chart */ |
+ /// Basic series represented by a line chart |
BasicPerfSampleSeries basicPerfSampleSeries; |
- /** A tool results execution ID. */ |
+ |
+ /// A tool results execution ID. |
core.String executionId; |
- /** A tool results history ID. */ |
+ |
+ /// A tool results history ID. |
core.String historyId; |
- /** The cloud project */ |
+ |
+ /// The cloud project |
core.String projectId; |
- /** A sample series id */ |
+ |
+ /// A sample series id |
core.String sampleSeriesId; |
- /** A tool results step ID. */ |
+ |
+ /// A tool results step ID. |
core.String stepId; |
PerfSampleSeries(); |
PerfSampleSeries.fromJson(core.Map _json) { |
if (_json.containsKey("basicPerfSampleSeries")) { |
- basicPerfSampleSeries = new BasicPerfSampleSeries.fromJson(_json["basicPerfSampleSeries"]); |
+ basicPerfSampleSeries = |
+ new BasicPerfSampleSeries.fromJson(_json["basicPerfSampleSeries"]); |
} |
if (_json.containsKey("executionId")) { |
executionId = _json["executionId"]; |
@@ -3207,7 +3387,8 @@ class PerfSampleSeries { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (basicPerfSampleSeries != null) { |
_json["basicPerfSampleSeries"] = (basicPerfSampleSeries).toJson(); |
} |
@@ -3230,23 +3411,20 @@ class PerfSampleSeries { |
} |
} |
-/** Per-project settings for the Tool Results service. */ |
+/// Per-project settings for the Tool Results service. |
class ProjectSettings { |
- /** |
- * The name of the Google Cloud Storage bucket to which results are written. |
- * |
- * By default, this is unset. |
- * |
- * In update request: optional In response: optional |
- */ |
+ /// The name of the Google Cloud Storage bucket to which results are written. |
+ /// |
+ /// By default, this is unset. |
+ /// |
+ /// In update request: optional In response: optional |
core.String defaultBucket; |
- /** |
- * The name of the project's settings. |
- * |
- * Always of the form: projects/{project-id}/settings |
- * |
- * In update request: never set In response: always set |
- */ |
+ |
+ /// The name of the project's settings. |
+ /// |
+ /// Always of the form: projects/{project-id}/settings |
+ /// |
+ /// In update request: never set In response: always set |
core.String name; |
ProjectSettings(); |
@@ -3261,7 +3439,8 @@ class ProjectSettings { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (defaultBucket != null) { |
_json["defaultBucket"] = defaultBucket; |
} |
@@ -3272,42 +3451,47 @@ class ProjectSettings { |
} |
} |
-/** Request message for StepService.PublishXunitXmlFiles. */ |
+/// Request message for StepService.PublishXunitXmlFiles. |
class PublishXunitXmlFilesRequest { |
- /** |
- * URI of the Xunit XML files to publish. |
- * |
- * The maximum size of the file this reference is pointing to is 50MB. |
- * |
- * Required. |
- */ |
+ /// URI of the Xunit XML files to publish. |
+ /// |
+ /// The maximum size of the file this reference is pointing to is 50MB. |
+ /// |
+ /// Required. |
core.List<FileReference> xunitXmlFiles; |
PublishXunitXmlFilesRequest(); |
PublishXunitXmlFilesRequest.fromJson(core.Map _json) { |
if (_json.containsKey("xunitXmlFiles")) { |
- xunitXmlFiles = _json["xunitXmlFiles"].map((value) => new FileReference.fromJson(value)).toList(); |
+ xunitXmlFiles = _json["xunitXmlFiles"] |
+ .map((value) => new FileReference.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (xunitXmlFiles != null) { |
- _json["xunitXmlFiles"] = xunitXmlFiles.map((value) => (value).toJson()).toList(); |
+ _json["xunitXmlFiles"] = |
+ xunitXmlFiles.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
class Screen { |
- /** File reference of the png file. Required. */ |
+ /// File reference of the png file. Required. |
core.String fileReference; |
- /** Locale of the device that the screenshot was taken on. Required. */ |
+ |
+ /// Locale of the device that the screenshot was taken on. Required. |
core.String locale; |
- /** Model of the device that the screenshot was taken on. Required. */ |
+ |
+ /// Model of the device that the screenshot was taken on. Required. |
core.String model; |
- /** OS version of the device that the screenshot was taken on. Required. */ |
+ |
+ /// OS version of the device that the screenshot was taken on. Required. |
core.String version; |
Screen(); |
@@ -3328,7 +3512,8 @@ class Screen { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (fileReference != null) { |
_json["fileReference"] = fileReference; |
} |
@@ -3346,18 +3531,19 @@ class Screen { |
} |
class ScreenshotCluster { |
- /** A string that describes the activity of every screen in the cluster. */ |
+ /// A string that describes the activity of every screen in the cluster. |
core.String activity; |
- /** A unique identifier for the cluster. */ |
+ |
+ /// A unique identifier for the cluster. |
core.String clusterId; |
- /** |
- * A singular screen that represents the cluster as a whole. This screen will |
- * act as the "cover" of the entire cluster. When users look at the clusters, |
- * only the key screen from each cluster will be shown. Which screen is the |
- * key screen is determined by the ClusteringAlgorithm |
- */ |
+ |
+ /// A singular screen that represents the cluster as a whole. This screen |
+ /// will act as the "cover" of the entire cluster. When users look at the |
+ /// clusters, only the key screen from each cluster will be shown. Which |
+ /// screen is the key screen is determined by the ClusteringAlgorithm |
Screen keyScreen; |
- /** Full list of screens. */ |
+ |
+ /// Full list of screens. |
core.List<Screen> screens; |
ScreenshotCluster(); |
@@ -3373,12 +3559,14 @@ class ScreenshotCluster { |
keyScreen = new Screen.fromJson(_json["keyScreen"]); |
} |
if (_json.containsKey("screens")) { |
- screens = _json["screens"].map((value) => new Screen.fromJson(value)).toList(); |
+ screens = |
+ _json["screens"].map((value) => new Screen.fromJson(value)).toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (activity != null) { |
_json["activity"] = activity; |
} |
@@ -3396,11 +3584,13 @@ class ScreenshotCluster { |
} |
class SkippedDetail { |
- /** If the App doesn't support the specific API level. */ |
+ /// If the App doesn't support the specific API level. |
core.bool incompatibleAppVersion; |
- /** If the App doesn't run on the specific architecture, for example, x86. */ |
+ |
+ /// If the App doesn't run on the specific architecture, for example, x86. |
core.bool incompatibleArchitecture; |
- /** If the requested OS version doesn't run on the specific device model. */ |
+ |
+ /// If the requested OS version doesn't run on the specific device model. |
core.bool incompatibleDevice; |
SkippedDetail(); |
@@ -3418,7 +3608,8 @@ class SkippedDetail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (incompatibleAppVersion != null) { |
_json["incompatibleAppVersion"] = incompatibleAppVersion; |
} |
@@ -3432,9 +3623,9 @@ class SkippedDetail { |
} |
} |
-/** The details about how to run the execution. */ |
+/// The details about how to run the execution. |
class Specification { |
- /** An Android mobile test execution specification. */ |
+ /// An Android mobile test execution specification. |
AndroidTest androidTest; |
Specification(); |
@@ -3446,7 +3637,8 @@ class Specification { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (androidTest != null) { |
_json["androidTest"] = (androidTest).toJson(); |
} |
@@ -3454,17 +3646,17 @@ class Specification { |
} |
} |
-/** A stacktrace. */ |
+/// A stacktrace. |
class StackTrace { |
- /** Exception cluster ID */ |
+ /// Exception cluster ID |
core.String clusterId; |
- /** |
- * The stack trace message. |
- * |
- * Required |
- */ |
+ |
+ /// The stack trace message. |
+ /// |
+ /// Required |
core.String exception; |
- /** Exception report ID */ |
+ |
+ /// Exception report ID |
core.String reportId; |
StackTrace(); |
@@ -3482,7 +3674,8 @@ class StackTrace { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (clusterId != null) { |
_json["clusterId"] = clusterId; |
} |
@@ -3496,73 +3689,71 @@ class StackTrace { |
} |
} |
-/** |
- * The `Status` type defines a logical error model that is suitable for |
- * different programming environments, including REST APIs and RPC APIs. It is |
- * used by [gRPC](https://github.com/grpc). The error model is designed to be: |
- * |
- * - Simple to use and understand for most users - Flexible enough to meet |
- * unexpected needs |
- * |
- * # Overview |
- * |
- * The `Status` message contains three pieces of data: error code, error |
- * message, and error details. The error code should be an enum value of |
- * [google.rpc.Code][], but it may accept additional error codes if needed. The |
- * error message should be a developer-facing English message that helps |
- * developers *understand* and *resolve* the error. If a localized user-facing |
- * error message is needed, put the localized message in the error details or |
- * localize it in the client. The optional error details may contain arbitrary |
- * information about the error. There is a predefined set of error detail types |
- * in the package `google.rpc` that can be used for common error conditions. |
- * |
- * # Language mapping |
- * |
- * The `Status` message is the logical representation of the error model, but it |
- * is not necessarily the actual wire format. When the `Status` message is |
- * exposed in different client libraries and different wire protocols, it can be |
- * mapped differently. For example, it will likely be mapped to some exceptions |
- * in Java, but more likely mapped to some error codes in C. |
- * |
- * # Other uses |
- * |
- * The error model and the `Status` message can be used in a variety of |
- * environments, either with or without APIs, to provide a consistent developer |
- * experience across different environments. |
- * |
- * Example uses of this error model include: |
- * |
- * - Partial errors. If a service needs to return partial errors to the client, |
- * it may embed the `Status` in the normal response to indicate the partial |
- * errors. |
- * |
- * - Workflow errors. A typical workflow has multiple steps. Each step may have |
- * a `Status` message for error reporting. |
- * |
- * - Batch operations. If a client uses batch request and batch response, the |
- * `Status` message should be used directly inside batch response, one for each |
- * error sub-response. |
- * |
- * - Asynchronous operations. If an API call embeds asynchronous operation |
- * results in its response, the status of those operations should be represented |
- * directly using the `Status` message. |
- * |
- * - Logging. If some API errors are stored in logs, the message `Status` could |
- * be used directly after any stripping needed for security/privacy reasons. |
- */ |
+/// The `Status` type defines a logical error model that is suitable for |
+/// different programming environments, including REST APIs and RPC APIs. It is |
+/// used by [gRPC](https://github.com/grpc). The error model is designed to be: |
+/// |
+/// - Simple to use and understand for most users - Flexible enough to meet |
+/// unexpected needs |
+/// |
+/// # Overview |
+/// |
+/// The `Status` message contains three pieces of data: error code, error |
+/// message, and error details. The error code should be an enum value of |
+/// [google.rpc.Code][], but it may accept additional error codes if needed. |
+/// The error message should be a developer-facing English message that helps |
+/// developers *understand* and *resolve* the error. If a localized user-facing |
+/// error message is needed, put the localized message in the error details or |
+/// localize it in the client. The optional error details may contain arbitrary |
+/// information about the error. There is a predefined set of error detail |
+/// types in the package `google.rpc` that can be used for common error |
+/// conditions. |
+/// |
+/// # Language mapping |
+/// |
+/// The `Status` message is the logical representation of the error model, but |
+/// it is not necessarily the actual wire format. When the `Status` message is |
+/// exposed in different client libraries and different wire protocols, it can |
+/// be mapped differently. For example, it will likely be mapped to some |
+/// exceptions in Java, but more likely mapped to some error codes in C. |
+/// |
+/// # Other uses |
+/// |
+/// The error model and the `Status` message can be used in a variety of |
+/// environments, either with or without APIs, to provide a consistent |
+/// developer experience across different environments. |
+/// |
+/// Example uses of this error model include: |
+/// |
+/// - Partial errors. If a service needs to return partial errors to the |
+/// client, it may embed the `Status` in the normal response to indicate the |
+/// partial errors. |
+/// |
+/// - Workflow errors. A typical workflow has multiple steps. Each step may |
+/// have a `Status` message for error reporting. |
+/// |
+/// - Batch operations. If a client uses batch request and batch response, the |
+/// `Status` message should be used directly inside batch response, one for |
+/// each error sub-response. |
+/// |
+/// - Asynchronous operations. If an API call embeds asynchronous operation |
+/// results in its response, the status of those operations should be |
+/// represented directly using the `Status` message. |
+/// |
+/// - Logging. If some API errors are stored in logs, the message `Status` |
+/// could be used directly after any stripping needed for security/privacy |
+/// reasons. |
class Status { |
- /** The status code, which should be an enum value of [google.rpc.Code][]. */ |
+ /// The status code, which should be an enum value of [google.rpc.Code][]. |
core.int code; |
- /** |
- * A list of messages that carry the error details. There is a common set of |
- * message types for APIs to use. |
- */ |
+ |
+ /// A list of messages that carry the error details. There is a common set of |
+ /// message types for APIs to use. |
core.List<Any> details; |
- /** |
- * A developer-facing error message, which should be in English. Any |
- * user-facing error message should be localized and sent in the |
- * [google.rpc.Status.details][] field, or localized by the client. |
- */ |
+ |
+ /// A developer-facing error message, which should be in English. Any |
+ /// user-facing error message should be localized and sent in the |
+ /// [google.rpc.Status.details][] field, or localized by the client. |
core.String message; |
Status(); |
@@ -3572,7 +3763,8 @@ class Status { |
code = _json["code"]; |
} |
if (_json.containsKey("details")) { |
- details = _json["details"].map((value) => new Any.fromJson(value)).toList(); |
+ details = |
+ _json["details"].map((value) => new Any.fromJson(value)).toList(); |
} |
if (_json.containsKey("message")) { |
message = _json["message"]; |
@@ -3580,7 +3772,8 @@ class Status { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (code != null) { |
_json["code"] = code; |
} |
@@ -3594,184 +3787,174 @@ class Status { |
} |
} |
-/** |
- * A Step represents a single operation performed as part of Execution. A step |
- * can be used to represent the execution of a tool ( for example a test runner |
- * execution or an execution of a compiler). |
- * |
- * Steps can overlap (for instance two steps might have the same start time if |
- * some operations are done in parallel). |
- * |
- * Here is an example, let's consider that we have a continuous build is |
- * executing a test runner for each iteration. The workflow would look like: - |
- * user creates a Execution with id 1 - user creates an TestExecutionStep with |
- * id 100 for Execution 1 - user update TestExecutionStep with id 100 to add a |
- * raw xml log + the service parses the xml logs and returns a TestExecutionStep |
- * with updated TestResult(s). - user update the status of TestExecutionStep |
- * with id 100 to COMPLETE |
- * |
- * A Step can be updated until its state is set to COMPLETE at which points it |
- * becomes immutable. |
- */ |
+/// A Step represents a single operation performed as part of Execution. A step |
+/// can be used to represent the execution of a tool ( for example a test |
+/// runner execution or an execution of a compiler). |
+/// |
+/// Steps can overlap (for instance two steps might have the same start time if |
+/// some operations are done in parallel). |
+/// |
+/// Here is an example, let's consider that we have a continuous build is |
+/// executing a test runner for each iteration. The workflow would look like: - |
+/// user creates a Execution with id 1 - user creates an TestExecutionStep with |
+/// id 100 for Execution 1 - user update TestExecutionStep with id 100 to add a |
+/// raw xml log + the service parses the xml logs and returns a |
+/// TestExecutionStep with updated TestResult(s). - user update the status of |
+/// TestExecutionStep with id 100 to COMPLETE |
+/// |
+/// A Step can be updated until its state is set to COMPLETE at which points it |
+/// becomes immutable. |
class Step { |
- /** |
- * The time when the step status was set to complete. |
- * |
- * This value will be set automatically when state transitions to COMPLETE. |
- * |
- * - In response: set if the execution state is COMPLETE. - In create/update |
- * request: never set |
- */ |
+ /// The time when the step status was set to complete. |
+ /// |
+ /// This value will be set automatically when state transitions to COMPLETE. |
+ /// |
+ /// - In response: set if the execution state is COMPLETE. - In create/update |
+ /// request: never set |
Timestamp completionTime; |
- /** |
- * The time when the step was created. |
- * |
- * - In response: always set - In create/update request: never set |
- */ |
+ |
+ /// The time when the step was created. |
+ /// |
+ /// - In response: always set - In create/update request: never set |
Timestamp creationTime; |
- /** |
- * A description of this tool For example: mvn clean package -D skipTests=true |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ |
+ /// A description of this tool For example: mvn clean package -D |
+ /// skipTests=true |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
core.String description; |
- /** |
- * How much the device resource is used to perform the test. |
- * |
- * This is the device usage used for billing purpose, which is different from |
- * the run_duration, for example, infrastructure failure won't be charged for |
- * device usage. |
- * |
- * PRECONDITION_FAILED will be returned if one attempts to set a device_usage |
- * on a step which already has this field set. |
- * |
- * - In response: present if previously set. - In create request: optional - |
- * In update request: optional |
- */ |
+ |
+ /// How much the device resource is used to perform the test. |
+ /// |
+ /// This is the device usage used for billing purpose, which is different |
+ /// from the run_duration, for example, infrastructure failure won't be |
+ /// charged for device usage. |
+ /// |
+ /// PRECONDITION_FAILED will be returned if one attempts to set a |
+ /// device_usage on a step which already has this field set. |
+ /// |
+ /// - In response: present if previously set. - In create request: optional - |
+ /// In update request: optional |
Duration deviceUsageDuration; |
- /** |
- * If the execution containing this step has any dimension_definition set, |
- * then this field allows the child to specify the values of the dimensions. |
- * |
- * The keys must exactly match the dimension_definition of the execution. |
- * |
- * For example, if the execution has `dimension_definition = ['attempt', |
- * 'device']` then a step must define values for those dimensions, eg. |
- * `dimension_value = ['attempt': '1', 'device': 'Nexus 6']` |
- * |
- * If a step does not participate in one dimension of the matrix, the value |
- * for that dimension should be empty string. For example, if one of the tests |
- * is executed by a runner which does not support retries, the step could have |
- * `dimension_value = ['attempt': '', 'device': 'Nexus 6']` |
- * |
- * If the step does not participate in any dimensions of the matrix, it may |
- * leave dimension_value unset. |
- * |
- * A PRECONDITION_FAILED will be returned if any of the keys do not exist in |
- * the dimension_definition of the execution. |
- * |
- * A PRECONDITION_FAILED will be returned if another step in this execution |
- * already has the same name and dimension_value, but differs on other data |
- * fields, for example, step field is different. |
- * |
- * A PRECONDITION_FAILED will be returned if dimension_value is set, and there |
- * is a dimension_definition in the execution which is not specified as one of |
- * the keys. |
- * |
- * - In response: present if set by create - In create request: optional - In |
- * update request: never set |
- */ |
+ |
+ /// If the execution containing this step has any dimension_definition set, |
+ /// then this field allows the child to specify the values of the dimensions. |
+ /// |
+ /// The keys must exactly match the dimension_definition of the execution. |
+ /// |
+ /// For example, if the execution has `dimension_definition = ['attempt', |
+ /// 'device']` then a step must define values for those dimensions, eg. |
+ /// `dimension_value = ['attempt': '1', 'device': 'Nexus 6']` |
+ /// |
+ /// If a step does not participate in one dimension of the matrix, the value |
+ /// for that dimension should be empty string. For example, if one of the |
+ /// tests is executed by a runner which does not support retries, the step |
+ /// could have `dimension_value = ['attempt': '', 'device': 'Nexus 6']` |
+ /// |
+ /// If the step does not participate in any dimensions of the matrix, it may |
+ /// leave dimension_value unset. |
+ /// |
+ /// A PRECONDITION_FAILED will be returned if any of the keys do not exist in |
+ /// the dimension_definition of the execution. |
+ /// |
+ /// A PRECONDITION_FAILED will be returned if another step in this execution |
+ /// already has the same name and dimension_value, but differs on other data |
+ /// fields, for example, step field is different. |
+ /// |
+ /// A PRECONDITION_FAILED will be returned if dimension_value is set, and |
+ /// there is a dimension_definition in the execution which is not specified |
+ /// as one of the keys. |
+ /// |
+ /// - In response: present if set by create - In create request: optional - |
+ /// In update request: never set |
core.List<StepDimensionValueEntry> dimensionValue; |
- /** |
- * Whether any of the outputs of this step are images whose thumbnails can be |
- * fetched with ListThumbnails. |
- * |
- * - In response: always set - In create/update request: never set |
- */ |
+ |
+ /// Whether any of the outputs of this step are images whose thumbnails can |
+ /// be fetched with ListThumbnails. |
+ /// |
+ /// - In response: always set - In create/update request: never set |
core.bool hasImages; |
- /** |
- * Arbitrary user-supplied key/value pairs that are associated with the step. |
- * |
- * Users are responsible for managing the key namespace such that keys don't |
- * accidentally collide. |
- * |
- * An INVALID_ARGUMENT will be returned if the number of labels exceeds 100 or |
- * if the length of any of the keys or values exceeds 100 characters. |
- * |
- * - In response: always set - In create request: optional - In update |
- * request: optional; any new key/value pair will be added to the map, and any |
- * new value for an existing key will update that key's value |
- */ |
+ |
+ /// Arbitrary user-supplied key/value pairs that are associated with the |
+ /// step. |
+ /// |
+ /// Users are responsible for managing the key namespace such that keys don't |
+ /// accidentally collide. |
+ /// |
+ /// An INVALID_ARGUMENT will be returned if the number of labels exceeds 100 |
+ /// or if the length of any of the keys or values exceeds 100 characters. |
+ /// |
+ /// - In response: always set - In create request: optional - In update |
+ /// request: optional; any new key/value pair will be added to the map, and |
+ /// any new value for an existing key will update that key's value |
core.List<StepLabelsEntry> labels; |
- /** |
- * A short human-readable name to display in the UI. Maximum of 100 |
- * characters. For example: Clean build |
- * |
- * A PRECONDITION_FAILED will be returned upon creating a new step if it |
- * shares its name and dimension_value with an existing step. If two steps |
- * represent a similar action, but have different dimension values, they |
- * should share the same name. For instance, if the same set of tests is run |
- * on two different platforms, the two steps should have the same name. |
- * |
- * - In response: always set - In create request: always set - In update |
- * request: never set |
- */ |
+ |
+ /// A short human-readable name to display in the UI. Maximum of 100 |
+ /// characters. For example: Clean build |
+ /// |
+ /// A PRECONDITION_FAILED will be returned upon creating a new step if it |
+ /// shares its name and dimension_value with an existing step. If two steps |
+ /// represent a similar action, but have different dimension values, they |
+ /// should share the same name. For instance, if the same set of tests is run |
+ /// on two different platforms, the two steps should have the same name. |
+ /// |
+ /// - In response: always set - In create request: always set - In update |
+ /// request: never set |
core.String name; |
- /** |
- * Classification of the result, for example into SUCCESS or FAILURE |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ |
+ /// Classification of the result, for example into SUCCESS or FAILURE |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
Outcome outcome; |
- /** |
- * How long it took for this step to run. |
- * |
- * If unset, this is set to the difference between creation_time and |
- * completion_time when the step is set to the COMPLETE state. In some cases, |
- * it is appropriate to set this value separately: For instance, if a step is |
- * created, but the operation it represents is queued for a few minutes before |
- * it executes, it would be appropriate not to include the time spent queued |
- * in its run_duration. |
- * |
- * PRECONDITION_FAILED will be returned if one attempts to set a run_duration |
- * on a step which already has this field set. |
- * |
- * - In response: present if previously set; always present on COMPLETE step - |
- * In create request: optional - In update request: optional |
- */ |
+ |
+ /// How long it took for this step to run. |
+ /// |
+ /// If unset, this is set to the difference between creation_time and |
+ /// completion_time when the step is set to the COMPLETE state. In some |
+ /// cases, it is appropriate to set this value separately: For instance, if a |
+ /// step is created, but the operation it represents is queued for a few |
+ /// minutes before it executes, it would be appropriate not to include the |
+ /// time spent queued in its run_duration. |
+ /// |
+ /// PRECONDITION_FAILED will be returned if one attempts to set a |
+ /// run_duration on a step which already has this field set. |
+ /// |
+ /// - In response: present if previously set; always present on COMPLETE step |
+ /// - In create request: optional - In update request: optional |
Duration runDuration; |
- /** |
- * The initial state is IN_PROGRESS. The only legal state transitions are * |
- * IN_PROGRESS -> COMPLETE |
- * |
- * A PRECONDITION_FAILED will be returned if an invalid transition is |
- * requested. |
- * |
- * It is valid to create Step with a state set to COMPLETE. The state can only |
- * be set to COMPLETE once. A PRECONDITION_FAILED will be returned if the |
- * state is set to COMPLETE multiple times. |
- * |
- * - In response: always set - In create/update request: optional |
- * Possible string values are: |
- * - "complete" |
- * - "inProgress" |
- * - "pending" |
- * - "unknownState" |
- */ |
+ |
+ /// The initial state is IN_PROGRESS. The only legal state transitions are * |
+ /// IN_PROGRESS -> COMPLETE |
+ /// |
+ /// A PRECONDITION_FAILED will be returned if an invalid transition is |
+ /// requested. |
+ /// |
+ /// It is valid to create Step with a state set to COMPLETE. The state can |
+ /// only be set to COMPLETE once. A PRECONDITION_FAILED will be returned if |
+ /// the state is set to COMPLETE multiple times. |
+ /// |
+ /// - In response: always set - In create/update request: optional |
+ /// Possible string values are: |
+ /// - "complete" |
+ /// - "inProgress" |
+ /// - "pending" |
+ /// - "unknownState" |
core.String state; |
- /** |
- * A unique identifier within a Execution for this Step. |
- * |
- * Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. |
- * |
- * - In response: always set - In create/update request: never set |
- */ |
+ |
+ /// A unique identifier within a Execution for this Step. |
+ /// |
+ /// Returns INVALID_ARGUMENT if this field is set or overwritten by the |
+ /// caller. |
+ /// |
+ /// - In response: always set - In create/update request: never set |
core.String stepId; |
- /** An execution of a test runner. */ |
+ |
+ /// An execution of a test runner. |
TestExecutionStep testExecutionStep; |
- /** An execution of a tool (used for steps we don't explicitly support). */ |
+ |
+ /// An execution of a tool (used for steps we don't explicitly support). |
ToolExecutionStep toolExecutionStep; |
Step(); |
@@ -3790,13 +3973,17 @@ class Step { |
deviceUsageDuration = new Duration.fromJson(_json["deviceUsageDuration"]); |
} |
if (_json.containsKey("dimensionValue")) { |
- dimensionValue = _json["dimensionValue"].map((value) => new StepDimensionValueEntry.fromJson(value)).toList(); |
+ dimensionValue = _json["dimensionValue"] |
+ .map((value) => new StepDimensionValueEntry.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("hasImages")) { |
hasImages = _json["hasImages"]; |
} |
if (_json.containsKey("labels")) { |
- labels = _json["labels"].map((value) => new StepLabelsEntry.fromJson(value)).toList(); |
+ labels = _json["labels"] |
+ .map((value) => new StepLabelsEntry.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("name")) { |
name = _json["name"]; |
@@ -3814,15 +4001,18 @@ class Step { |
stepId = _json["stepId"]; |
} |
if (_json.containsKey("testExecutionStep")) { |
- testExecutionStep = new TestExecutionStep.fromJson(_json["testExecutionStep"]); |
+ testExecutionStep = |
+ new TestExecutionStep.fromJson(_json["testExecutionStep"]); |
} |
if (_json.containsKey("toolExecutionStep")) { |
- toolExecutionStep = new ToolExecutionStep.fromJson(_json["toolExecutionStep"]); |
+ toolExecutionStep = |
+ new ToolExecutionStep.fromJson(_json["toolExecutionStep"]); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (completionTime != null) { |
_json["completionTime"] = (completionTime).toJson(); |
} |
@@ -3836,7 +4026,8 @@ class Step { |
_json["deviceUsageDuration"] = (deviceUsageDuration).toJson(); |
} |
if (dimensionValue != null) { |
- _json["dimensionValue"] = dimensionValue.map((value) => (value).toJson()).toList(); |
+ _json["dimensionValue"] = |
+ dimensionValue.map((value) => (value).toJson()).toList(); |
} |
if (hasImages != null) { |
_json["hasImages"] = hasImages; |
@@ -3885,7 +4076,8 @@ class StepDimensionValueEntry { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (key != null) { |
_json["key"] = key; |
} |
@@ -3912,7 +4104,8 @@ class StepLabelsEntry { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (key != null) { |
_json["key"] = key; |
} |
@@ -3924,7 +4117,7 @@ class StepLabelsEntry { |
} |
class SuccessDetail { |
- /** If a native process other than the app crashed. */ |
+ /// If a native process other than the app crashed. |
core.bool otherNativeCrash; |
SuccessDetail(); |
@@ -3936,7 +4129,8 @@ class SuccessDetail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (otherNativeCrash != null) { |
_json["otherNativeCrash"] = otherNativeCrash; |
} |
@@ -3944,23 +4138,21 @@ class SuccessDetail { |
} |
} |
-/** |
- * A reference to a test case. |
- * |
- * Test case references are canonically ordered lexicographically by these three |
- * factors: * First, by test_suite_name. * Second, by class_name. * Third, by |
- * name. |
- */ |
+/// A reference to a test case. |
+/// |
+/// Test case references are canonically ordered lexicographically by these |
+/// three factors: * First, by test_suite_name. * Second, by class_name. * |
+/// Third, by name. |
class TestCaseReference { |
- /** The name of the class. */ |
+ /// The name of the class. |
core.String className; |
- /** |
- * The name of the test case. |
- * |
- * Required. |
- */ |
+ |
+ /// The name of the test case. |
+ /// |
+ /// Required. |
core.String name; |
- /** The name of the test suite to which this test case belongs. */ |
+ |
+ /// The name of the test suite to which this test case belongs. |
core.String testSuiteName; |
TestCaseReference(); |
@@ -3978,7 +4170,8 @@ class TestCaseReference { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (className != null) { |
_json["className"] = className; |
} |
@@ -3992,62 +4185,59 @@ class TestCaseReference { |
} |
} |
-/** |
- * A step that represents running tests. |
- * |
- * It accepts ant-junit xml files which will be parsed into structured test |
- * results by the service. Xml file paths are updated in order to append more |
- * files, however they can't be deleted. |
- * |
- * Users can also add test results manually by using the test_result field. |
- */ |
+/// A step that represents running tests. |
+/// |
+/// It accepts ant-junit xml files which will be parsed into structured test |
+/// results by the service. Xml file paths are updated in order to append more |
+/// files, however they can't be deleted. |
+/// |
+/// Users can also add test results manually by using the test_result field. |
class TestExecutionStep { |
- /** |
- * Issues observed during the test execution. |
- * |
- * For example, if the mobile app under test crashed during the test, the |
- * error message and the stack trace content can be recorded here to assist |
- * debugging. |
- * |
- * - In response: present if set by create or update - In create/update |
- * request: optional |
- */ |
+ /// Issues observed during the test execution. |
+ /// |
+ /// For example, if the mobile app under test crashed during the test, the |
+ /// error message and the stack trace content can be recorded here to assist |
+ /// debugging. |
+ /// |
+ /// - In response: present if set by create or update - In create/update |
+ /// request: optional |
core.List<TestIssue> testIssues; |
- /** |
- * List of test suite overview contents. This could be parsed from xUnit XML |
- * log by server, or uploaded directly by user. This references should only be |
- * called when test suites are fully parsed or uploaded. |
- * |
- * The maximum allowed number of test suite overviews per step is 1000. |
- * |
- * - In response: always set - In create request: optional - In update |
- * request: never (use publishXunitXmlFiles custom method instead) |
- */ |
+ |
+ /// List of test suite overview contents. This could be parsed from xUnit XML |
+ /// log by server, or uploaded directly by user. This references should only |
+ /// be called when test suites are fully parsed or uploaded. |
+ /// |
+ /// The maximum allowed number of test suite overviews per step is 1000. |
+ /// |
+ /// - In response: always set - In create request: optional - In update |
+ /// request: never (use publishXunitXmlFiles custom method instead) |
core.List<TestSuiteOverview> testSuiteOverviews; |
- /** |
- * The timing break down of the test execution. |
- * |
- * - In response: present if set by create or update - In create/update |
- * request: optional |
- */ |
+ |
+ /// The timing break down of the test execution. |
+ /// |
+ /// - In response: present if set by create or update - In create/update |
+ /// request: optional |
TestTiming testTiming; |
- /** |
- * Represents the execution of the test runner. |
- * |
- * The exit code of this tool will be used to determine if the test passed. |
- * |
- * - In response: always set - In create/update request: optional |
- */ |
+ |
+ /// Represents the execution of the test runner. |
+ /// |
+ /// The exit code of this tool will be used to determine if the test passed. |
+ /// |
+ /// - In response: always set - In create/update request: optional |
ToolExecution toolExecution; |
TestExecutionStep(); |
TestExecutionStep.fromJson(core.Map _json) { |
if (_json.containsKey("testIssues")) { |
- testIssues = _json["testIssues"].map((value) => new TestIssue.fromJson(value)).toList(); |
+ testIssues = _json["testIssues"] |
+ .map((value) => new TestIssue.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("testSuiteOverviews")) { |
- testSuiteOverviews = _json["testSuiteOverviews"].map((value) => new TestSuiteOverview.fromJson(value)).toList(); |
+ testSuiteOverviews = _json["testSuiteOverviews"] |
+ .map((value) => new TestSuiteOverview.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("testTiming")) { |
testTiming = new TestTiming.fromJson(_json["testTiming"]); |
@@ -4058,12 +4248,15 @@ class TestExecutionStep { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (testIssues != null) { |
- _json["testIssues"] = testIssues.map((value) => (value).toJson()).toList(); |
+ _json["testIssues"] = |
+ testIssues.map((value) => (value).toJson()).toList(); |
} |
if (testSuiteOverviews != null) { |
- _json["testSuiteOverviews"] = testSuiteOverviews.map((value) => (value).toJson()).toList(); |
+ _json["testSuiteOverviews"] = |
+ testSuiteOverviews.map((value) => (value).toJson()).toList(); |
} |
if (testTiming != null) { |
_json["testTiming"] = (testTiming).toJson(); |
@@ -4075,34 +4268,32 @@ class TestExecutionStep { |
} |
} |
-/** An issue detected occurring during a test execution. */ |
+/// An issue detected occurring during a test execution. |
class TestIssue { |
- /** A brief human-readable message describing the issue. Required. */ |
+ /// A brief human-readable message describing the issue. Required. |
core.String errorMessage; |
- /** |
- * Severity of issue. Required. |
- * Possible string values are: |
- * - "info" |
- * - "severe" |
- * - "unspecifiedSeverity" |
- * - "warning" |
- */ |
+ |
+ /// Severity of issue. Required. |
+ /// Possible string values are: |
+ /// - "info" |
+ /// - "severe" |
+ /// - "unspecifiedSeverity" |
+ /// - "warning" |
core.String severity; |
- /** Deprecated in favor of stack trace fields inside specific warnings. */ |
+ |
+ /// Deprecated in favor of stack trace fields inside specific warnings. |
StackTrace stackTrace; |
- /** |
- * Type of issue. Required. |
- * Possible string values are: |
- * - "anr" |
- * - "fatalException" |
- * - "nativeCrash" |
- * - "unspecifiedType" |
- */ |
+ |
+ /// Type of issue. Required. |
+ /// Possible string values are: |
+ /// - "anr" |
+ /// - "fatalException" |
+ /// - "nativeCrash" |
+ /// - "unspecifiedType" |
core.String type; |
- /** |
- * Warning message with additional details of the issue. Should always be a |
- * message from com.google.devtools.toolresults.v1.warnings Required. |
- */ |
+ |
+ /// Warning message with additional details of the issue. Should always be a |
+ /// message from com.google.devtools.toolresults.v1.warnings Required. |
Any warning; |
TestIssue(); |
@@ -4126,7 +4317,8 @@ class TestIssue { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (errorMessage != null) { |
_json["errorMessage"] = errorMessage; |
} |
@@ -4146,59 +4338,50 @@ class TestIssue { |
} |
} |
-/** |
- * A summary of a test suite result either parsed from XML or uploaded directly |
- * by a user. |
- * |
- * Note: the API related comments are for StepService only. This message is also |
- * being used in ExecutionService in a read only mode for the corresponding |
- * step. |
- */ |
+/// A summary of a test suite result either parsed from XML or uploaded |
+/// directly by a user. |
+/// |
+/// Note: the API related comments are for StepService only. This message is |
+/// also being used in ExecutionService in a read only mode for the |
+/// corresponding step. |
class TestSuiteOverview { |
- /** |
- * Number of test cases in error, typically set by the service by parsing the |
- * xml_source. |
- * |
- * - In create/response: always set - In update request: never |
- */ |
+ /// Number of test cases in error, typically set by the service by parsing |
+ /// the xml_source. |
+ /// |
+ /// - In create/response: always set - In update request: never |
core.int errorCount; |
- /** |
- * Number of failed test cases, typically set by the service by parsing the |
- * xml_source. May also be set by the user. |
- * |
- * - In create/response: always set - In update request: never |
- */ |
+ |
+ /// Number of failed test cases, typically set by the service by parsing the |
+ /// xml_source. May also be set by the user. |
+ /// |
+ /// - In create/response: always set - In update request: never |
core.int failureCount; |
- /** |
- * The name of the test suite. |
- * |
- * - In create/response: always set - In update request: never |
- */ |
+ |
+ /// The name of the test suite. |
+ /// |
+ /// - In create/response: always set - In update request: never |
core.String name; |
- /** |
- * Number of test cases not run, typically set by the service by parsing the |
- * xml_source. |
- * |
- * - In create/response: always set - In update request: never |
- */ |
+ |
+ /// Number of test cases not run, typically set by the service by parsing the |
+ /// xml_source. |
+ /// |
+ /// - In create/response: always set - In update request: never |
core.int skippedCount; |
- /** |
- * Number of test cases, typically set by the service by parsing the |
- * xml_source. |
- * |
- * - In create/response: always set - In update request: never |
- */ |
+ |
+ /// Number of test cases, typically set by the service by parsing the |
+ /// xml_source. |
+ /// |
+ /// - In create/response: always set - In update request: never |
core.int totalCount; |
- /** |
- * If this test suite was parsed from XML, this is the URI where the original |
- * XML file is stored. |
- * |
- * Note: Multiple test suites can share the same xml_source |
- * |
- * Returns INVALID_ARGUMENT if the uri format is not supported. |
- * |
- * - In create/response: optional - In update request: never |
- */ |
+ |
+ /// If this test suite was parsed from XML, this is the URI where the |
+ /// original XML file is stored. |
+ /// |
+ /// Note: Multiple test suites can share the same xml_source |
+ /// |
+ /// Returns INVALID_ARGUMENT if the uri format is not supported. |
+ /// |
+ /// - In create/response: optional - In update request: never |
FileReference xmlSource; |
TestSuiteOverview(); |
@@ -4225,7 +4408,8 @@ class TestSuiteOverview { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (errorCount != null) { |
_json["errorCount"] = errorCount; |
} |
@@ -4248,14 +4432,12 @@ class TestSuiteOverview { |
} |
} |
-/** Testing timing break down to know phases. */ |
+/// Testing timing break down to know phases. |
class TestTiming { |
- /** |
- * How long it took to run the test process. |
- * |
- * - In response: present if previously set. - In create/update request: |
- * optional |
- */ |
+ /// How long it took to run the test process. |
+ /// |
+ /// - In response: present if previously set. - In create/update request: |
+ /// optional |
Duration testProcessDuration; |
TestTiming(); |
@@ -4267,7 +4449,8 @@ class TestTiming { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (testProcessDuration != null) { |
_json["testProcessDuration"] = (testProcessDuration).toJson(); |
} |
@@ -4275,42 +4458,38 @@ class TestTiming { |
} |
} |
-/** A single thumbnail, with its size and format. */ |
+/// A single thumbnail, with its size and format. |
class Thumbnail { |
- /** |
- * The thumbnail's content type, i.e. "image/png". |
- * |
- * Always set. |
- */ |
+ /// The thumbnail's content type, i.e. "image/png". |
+ /// |
+ /// Always set. |
core.String contentType; |
- /** |
- * The thumbnail file itself. |
- * |
- * That is, the bytes here are precisely the bytes that make up the thumbnail |
- * file; they can be served as an image as-is (with the appropriate content |
- * type.) |
- * |
- * Always set. |
- */ |
+ |
+ /// The thumbnail file itself. |
+ /// |
+ /// That is, the bytes here are precisely the bytes that make up the |
+ /// thumbnail file; they can be served as an image as-is (with the |
+ /// appropriate content type.) |
+ /// |
+ /// Always set. |
core.String data; |
core.List<core.int> get dataAsBytes { |
return convert.BASE64.decode(data); |
} |
void set dataAsBytes(core.List<core.int> _bytes) { |
- data = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
+ data = |
+ convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "-"); |
} |
- /** |
- * The height of the thumbnail, in pixels. |
- * |
- * Always set. |
- */ |
+ |
+ /// The height of the thumbnail, in pixels. |
+ /// |
+ /// Always set. |
core.int heightPx; |
- /** |
- * The width of the thumbnail, in pixels. |
- * |
- * Always set. |
- */ |
+ |
+ /// The width of the thumbnail, in pixels. |
+ /// |
+ /// Always set. |
core.int widthPx; |
Thumbnail(); |
@@ -4331,7 +4510,8 @@ class Thumbnail { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (contentType != null) { |
_json["contentType"] = contentType; |
} |
@@ -4348,91 +4528,86 @@ class Thumbnail { |
} |
} |
-/** |
- * A Timestamp represents a point in time independent of any time zone or |
- * calendar, represented as seconds and fractions of seconds at nanosecond |
- * resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian |
- * Calendar which extends the Gregorian calendar backwards to year one. It is |
- * encoded assuming all minutes are 60 seconds long, i.e. leap seconds are |
- * "smeared" so that no leap second table is needed for interpretation. Range is |
- * from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting |
- * to that range, we ensure that we can convert to and from RFC 3339 date |
- * strings. See |
- * [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). |
- * |
- * # Examples |
- * |
- * Example 1: Compute Timestamp from POSIX `time()`. |
- * |
- * Timestamp timestamp; timestamp.set_seconds(time(NULL)); |
- * timestamp.set_nanos(0); |
- * |
- * Example 2: Compute Timestamp from POSIX `gettimeofday()`. |
- * |
- * struct timeval tv; gettimeofday(&tv, NULL); |
- * |
- * Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); |
- * timestamp.set_nanos(tv.tv_usec * 1000); |
- * |
- * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. |
- * |
- * FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = |
- * (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; |
- * |
- * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // |
- * is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp |
- * timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - |
- * 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); |
- * |
- * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. |
- * |
- * long millis = System.currentTimeMillis(); |
- * |
- * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) |
- * .setNanos((int) ((millis % 1000) * 1000000)).build(); |
- * |
- * |
- * |
- * Example 5: Compute Timestamp from current time in Python. |
- * |
- * timestamp = Timestamp() timestamp.GetCurrentTime() |
- * |
- * # JSON Mapping |
- * |
- * In JSON format, the Timestamp type is encoded as a string in the [RFC |
- * 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is |
- * "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where {year} is |
- * always expressed using four digits while {month}, {day}, {hour}, {min}, and |
- * {sec} are zero-padded to two digits each. The fractional seconds, which can |
- * go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" |
- * suffix indicates the timezone ("UTC"); the timezone is required, though only |
- * UTC (as indicated by "Z") is presently supported. |
- * |
- * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC |
- * on January 15, 2017. |
- * |
- * In JavaScript, one can convert a Date object to this format using the |
- * standard |
- * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString] |
- * method. In Python, a standard `datetime.datetime` object can be converted to |
- * this format using |
- * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with |
- * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use |
- * the Joda Time's [`ISODateTimeFormat.dateTime()`]( |
- * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) |
- * to obtain a formatter capable of generating timestamps in this format. |
- */ |
+/// A Timestamp represents a point in time independent of any time zone or |
+/// calendar, represented as seconds and fractions of seconds at nanosecond |
+/// resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian |
+/// Calendar which extends the Gregorian calendar backwards to year one. It is |
+/// encoded assuming all minutes are 60 seconds long, i.e. leap seconds are |
+/// "smeared" so that no leap second table is needed for interpretation. Range |
+/// is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By |
+/// restricting to that range, we ensure that we can convert to and from RFC |
+/// 3339 date strings. See |
+/// [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt). |
+/// |
+/// # Examples |
+/// |
+/// Example 1: Compute Timestamp from POSIX `time()`. |
+/// |
+/// Timestamp timestamp; timestamp.set_seconds(time(NULL)); |
+/// timestamp.set_nanos(0); |
+/// |
+/// Example 2: Compute Timestamp from POSIX `gettimeofday()`. |
+/// |
+/// struct timeval tv; gettimeofday(&tv, NULL); |
+/// |
+/// Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); |
+/// timestamp.set_nanos(tv.tv_usec * 1000); |
+/// |
+/// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. |
+/// |
+/// FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = |
+/// (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; |
+/// |
+/// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // |
+/// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp |
+/// timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - |
+/// 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); |
+/// |
+/// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. |
+/// |
+/// long millis = System.currentTimeMillis(); |
+/// |
+/// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) |
+/// .setNanos((int) ((millis % 1000) * 1000000)).build(); |
+/// |
+/// |
+/// |
+/// Example 5: Compute Timestamp from current time in Python. |
+/// |
+/// timestamp = Timestamp() timestamp.GetCurrentTime() |
+/// |
+/// # JSON Mapping |
+/// |
+/// In JSON format, the Timestamp type is encoded as a string in the [RFC |
+/// 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is |
+/// "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where {year} is |
+/// always expressed using four digits while {month}, {day}, {hour}, {min}, and |
+/// {sec} are zero-padded to two digits each. The fractional seconds, which can |
+/// go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The |
+/// "Z" suffix indicates the timezone ("UTC"); the timezone is required, though |
+/// only UTC (as indicated by "Z") is presently supported. |
+/// |
+/// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC |
+/// on January 15, 2017. |
+/// |
+/// In JavaScript, one can convert a Date object to this format using the |
+/// standard |
+/// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString] |
+/// method. In Python, a standard `datetime.datetime` object can be converted |
+/// to this format using |
+/// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) |
+/// with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one |
+/// can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( |
+/// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()) |
+/// to obtain a formatter capable of generating timestamps in this format. |
class Timestamp { |
- /** |
- * Non-negative fractions of a second at nanosecond resolution. Negative |
- * second values with fractions must still have non-negative nanos values that |
- * count forward in time. Must be from 0 to 999,999,999 inclusive. |
- */ |
+ /// Non-negative fractions of a second at nanosecond resolution. Negative |
+ /// second values with fractions must still have non-negative nanos values |
+ /// that count forward in time. Must be from 0 to 999,999,999 inclusive. |
core.int nanos; |
- /** |
- * Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must |
- * be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. |
- */ |
+ |
+ /// Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. |
+ /// Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. |
core.String seconds; |
Timestamp(); |
@@ -4447,7 +4622,8 @@ class Timestamp { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (nanos != null) { |
_json["nanos"] = nanos; |
} |
@@ -4458,49 +4634,43 @@ class Timestamp { |
} |
} |
-/** |
- * An execution of an arbitrary tool. It could be a test runner or a tool |
- * copying artifacts or deploying code. |
- */ |
+/// An execution of an arbitrary tool. It could be a test runner or a tool |
+/// copying artifacts or deploying code. |
class ToolExecution { |
- /** |
- * The full tokenized command line including the program name (equivalent to |
- * argv in a C program). |
- * |
- * - In response: present if set by create request - In create request: |
- * optional - In update request: never set |
- */ |
+ /// The full tokenized command line including the program name (equivalent to |
+ /// argv in a C program). |
+ /// |
+ /// - In response: present if set by create request - In create request: |
+ /// optional - In update request: never set |
core.List<core.String> commandLineArguments; |
- /** |
- * Tool execution exit code. This field will be set once the tool has exited. |
- * |
- * - In response: present if set by create/update request - In create request: |
- * optional - In update request: optional, a FAILED_PRECONDITION error will be |
- * returned if an exit_code is already set. |
- */ |
+ |
+ /// Tool execution exit code. This field will be set once the tool has |
+ /// exited. |
+ /// |
+ /// - In response: present if set by create/update request - In create |
+ /// request: optional - In update request: optional, a FAILED_PRECONDITION |
+ /// error will be returned if an exit_code is already set. |
ToolExitCode exitCode; |
- /** |
- * References to any plain text logs output the tool execution. |
- * |
- * This field can be set before the tool has exited in order to be able to |
- * have access to a live view of the logs while the tool is running. |
- * |
- * The maximum allowed number of tool logs per step is 1000. |
- * |
- * - In response: present if set by create/update request - In create request: |
- * optional - In update request: optional, any value provided will be appended |
- * to the existing list |
- */ |
+ |
+ /// References to any plain text logs output the tool execution. |
+ /// |
+ /// This field can be set before the tool has exited in order to be able to |
+ /// have access to a live view of the logs while the tool is running. |
+ /// |
+ /// The maximum allowed number of tool logs per step is 1000. |
+ /// |
+ /// - In response: present if set by create/update request - In create |
+ /// request: optional - In update request: optional, any value provided will |
+ /// be appended to the existing list |
core.List<FileReference> toolLogs; |
- /** |
- * References to opaque files of any format output by the tool execution. |
- * |
- * The maximum allowed number of tool outputs per step is 1000. |
- * |
- * - In response: present if set by create/update request - In create request: |
- * optional - In update request: optional, any value provided will be appended |
- * to the existing list |
- */ |
+ |
+ /// References to opaque files of any format output by the tool execution. |
+ /// |
+ /// The maximum allowed number of tool outputs per step is 1000. |
+ /// |
+ /// - In response: present if set by create/update request - In create |
+ /// request: optional - In update request: optional, any value provided will |
+ /// be appended to the existing list |
core.List<ToolOutputReference> toolOutputs; |
ToolExecution(); |
@@ -4513,15 +4683,20 @@ class ToolExecution { |
exitCode = new ToolExitCode.fromJson(_json["exitCode"]); |
} |
if (_json.containsKey("toolLogs")) { |
- toolLogs = _json["toolLogs"].map((value) => new FileReference.fromJson(value)).toList(); |
+ toolLogs = _json["toolLogs"] |
+ .map((value) => new FileReference.fromJson(value)) |
+ .toList(); |
} |
if (_json.containsKey("toolOutputs")) { |
- toolOutputs = _json["toolOutputs"].map((value) => new ToolOutputReference.fromJson(value)).toList(); |
+ toolOutputs = _json["toolOutputs"] |
+ .map((value) => new ToolOutputReference.fromJson(value)) |
+ .toList(); |
} |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (commandLineArguments != null) { |
_json["commandLineArguments"] = commandLineArguments; |
} |
@@ -4532,23 +4707,20 @@ class ToolExecution { |
_json["toolLogs"] = toolLogs.map((value) => (value).toJson()).toList(); |
} |
if (toolOutputs != null) { |
- _json["toolOutputs"] = toolOutputs.map((value) => (value).toJson()).toList(); |
+ _json["toolOutputs"] = |
+ toolOutputs.map((value) => (value).toJson()).toList(); |
} |
return _json; |
} |
} |
-/** |
- * Generic tool step to be used for binaries we do not explicitly support. For |
- * example: running cp to copy artifacts from one location to another. |
- */ |
+/// Generic tool step to be used for binaries we do not explicitly support. For |
+/// example: running cp to copy artifacts from one location to another. |
class ToolExecutionStep { |
- /** |
- * A Tool execution. |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ /// A Tool execution. |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
ToolExecution toolExecution; |
ToolExecutionStep(); |
@@ -4560,7 +4732,8 @@ class ToolExecutionStep { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (toolExecution != null) { |
_json["toolExecution"] = (toolExecution).toJson(); |
} |
@@ -4568,14 +4741,12 @@ class ToolExecutionStep { |
} |
} |
-/** Exit code from a tool execution. */ |
+/// Exit code from a tool execution. |
class ToolExitCode { |
- /** |
- * Tool execution exit code. A value of 0 means that the execution was |
- * successful. |
- * |
- * - In response: always set - In create/update request: always set |
- */ |
+ /// Tool execution exit code. A value of 0 means that the execution was |
+ /// successful. |
+ /// |
+ /// - In response: always set - In create/update request: always set |
core.int number; |
ToolExitCode(); |
@@ -4587,7 +4758,8 @@ class ToolExitCode { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (number != null) { |
_json["number"] = number; |
} |
@@ -4595,27 +4767,23 @@ class ToolExitCode { |
} |
} |
-/** A reference to a ToolExecution output file. */ |
+/// A reference to a ToolExecution output file. |
class ToolOutputReference { |
- /** |
- * The creation time of the file. |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ /// The creation time of the file. |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
Timestamp creationTime; |
- /** |
- * A FileReference to an output file. |
- * |
- * - In response: always set - In create/update request: always set |
- */ |
+ |
+ /// A FileReference to an output file. |
+ /// |
+ /// - In response: always set - In create/update request: always set |
FileReference output; |
- /** |
- * The test case to which this output file belongs. |
- * |
- * - In response: present if set by create/update request - In create/update |
- * request: optional |
- */ |
+ |
+ /// The test case to which this output file belongs. |
+ /// |
+ /// - In response: present if set by create/update request - In create/update |
+ /// request: optional |
TestCaseReference testCase; |
ToolOutputReference(); |
@@ -4633,7 +4801,8 @@ class ToolOutputReference { |
} |
core.Map<core.String, core.Object> toJson() { |
- final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ final core.Map<core.String, core.Object> _json = |
+ new core.Map<core.String, core.Object>(); |
if (creationTime != null) { |
_json["creationTime"] = (creationTime).toJson(); |
} |