| Index: generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
|
| diff --git a/generated/googleapis_beta/lib/toolresults/v1beta3.dart b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
|
| similarity index 98%
|
| copy from generated/googleapis_beta/lib/toolresults/v1beta3.dart
|
| copy to generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
|
| index 15837944e4514136c1fb79d4eb5a9e5b05d85010..457c58edfab7e728aa1c2721a82636823cf28e58 100644
|
| --- a/generated/googleapis_beta/lib/toolresults/v1beta3.dart
|
| +++ b/generated/googleapis_beta/lib/toolresults/v1beta3firstparty.dart
|
| @@ -1,6 +1,6 @@
|
| // This is a generated file (see the discoveryapis_generator project).
|
|
|
| -library googleapis_beta.toolresults.v1beta3;
|
| +library googleapis_beta.toolresults.v1beta3firstparty;
|
|
|
| import 'dart:core' as core;
|
| import 'dart:async' as async;
|
| @@ -12,19 +12,16 @@ import 'package:http/http.dart' as http;
|
| export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
|
| ApiRequestError, DetailedApiRequestError;
|
|
|
| -const core.String USER_AGENT = 'dart-api-client toolresults/v1beta3';
|
| +const core.String USER_AGENT = 'dart-api-client toolresults/v1beta3firstparty';
|
|
|
| /** Reads and publishes results from Firebase Test Lab. */
|
| class ToolresultsApi {
|
| - /** View and manage your data across Google Cloud Platform services */
|
| - static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform";
|
| -
|
|
|
| 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/v1beta3/projects/"}) :
|
| + 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);
|
| }
|
|
|
| @@ -1734,6 +1731,44 @@ 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
|
| + */
|
| + 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
|
| + */
|
| + Duration initialDisplayTime;
|
| +
|
| + AppStartTime();
|
| +
|
| + AppStartTime.fromJson(core.Map _json) {
|
| + if (_json.containsKey("fullyDrawnTime")) {
|
| + fullyDrawnTime = new Duration.fromJson(_json["fullyDrawnTime"]);
|
| + }
|
| + if (_json.containsKey("initialDisplayTime")) {
|
| + initialDisplayTime = new Duration.fromJson(_json["initialDisplayTime"]);
|
| + }
|
| + }
|
| +
|
| + core.Map<core.String, core.Object> toJson() {
|
| + final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + if (fullyDrawnTime != null) {
|
| + _json["fullyDrawnTime"] = (fullyDrawnTime).toJson();
|
| + }
|
| + if (initialDisplayTime != null) {
|
| + _json["initialDisplayTime"] = (initialDisplayTime).toJson();
|
| + }
|
| + return _json;
|
| + }
|
| +}
|
| +
|
| /**
|
| * Encapsulates the metadata for basic sample series represented by a line chart
|
| */
|
| @@ -2708,6 +2743,7 @@ class PerfEnvironment {
|
|
|
| /** A summary of perf metrics collected and performance environment info */
|
| class PerfMetricsSummary {
|
| + AppStartTime appStartTime;
|
| /** A tool results execution ID. */
|
| core.String executionId;
|
| /** A tool results history ID. */
|
| @@ -2726,6 +2762,9 @@ class PerfMetricsSummary {
|
| PerfMetricsSummary();
|
|
|
| PerfMetricsSummary.fromJson(core.Map _json) {
|
| + if (_json.containsKey("appStartTime")) {
|
| + appStartTime = new AppStartTime.fromJson(_json["appStartTime"]);
|
| + }
|
| if (_json.containsKey("executionId")) {
|
| executionId = _json["executionId"];
|
| }
|
| @@ -2748,6 +2787,9 @@ class PerfMetricsSummary {
|
|
|
| core.Map<core.String, core.Object> toJson() {
|
| final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
|
| + if (appStartTime != null) {
|
| + _json["appStartTime"] = (appStartTime).toJson();
|
| + }
|
| if (executionId != null) {
|
| _json["executionId"] = executionId;
|
| }
|
| @@ -3055,8 +3097,8 @@ class Status {
|
| /** 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 will be 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;
|
| /**
|
|
|