Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: generated/googleapis/lib/servicecontrol/v1.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.servicecontrol.v1; 3 library googleapis.servicecontrol.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client servicecontrol/v1'; 15 const core.String USER_AGENT = 'dart-api-client servicecontrol/v1';
16 16
17 /** The Service Control API */ 17 /**
18 * Google Service Control provides control plane functionality to managed
19 * services, such as logging, monitoring, and status checks.
20 */
18 class ServicecontrolApi { 21 class ServicecontrolApi {
19 /** View and manage your data across Google Cloud Platform services */ 22 /** View and manage your data across Google Cloud Platform services */
20 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm"; 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
21 24
22 /** Manage your Google Service Control data */ 25 /** Manage your Google Service Control data */
23 static const ServicecontrolScope = "https://www.googleapis.com/auth/servicecon trol"; 26 static const ServicecontrolScope = "https://www.googleapis.com/auth/servicecon trol";
24 27
25 28
26 final commons.ApiRequester _requester; 29 final commons.ApiRequester _requester;
27 30
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 * If no check errors are present, the service should process the operation. 252 * If no check errors are present, the service should process the operation.
250 * Otherwise the service should use the list of errors to determine the 253 * Otherwise the service should use the list of errors to determine the
251 * appropriate action. 254 * appropriate action.
252 */ 255 */
253 core.List<CheckError> checkErrors; 256 core.List<CheckError> checkErrors;
254 /** 257 /**
255 * The same operation_id value used in the CheckRequest. 258 * The same operation_id value used in the CheckRequest.
256 * Used for logging and diagnostics purposes. 259 * Used for logging and diagnostics purposes.
257 */ 260 */
258 core.String operationId; 261 core.String operationId;
262 /** The actual config id used to process the request. */
263 core.String serviceConfigId;
259 264
260 CheckResponse(); 265 CheckResponse();
261 266
262 CheckResponse.fromJson(core.Map _json) { 267 CheckResponse.fromJson(core.Map _json) {
263 if (_json.containsKey("checkErrors")) { 268 if (_json.containsKey("checkErrors")) {
264 checkErrors = _json["checkErrors"].map((value) => new CheckError.fromJson( value)).toList(); 269 checkErrors = _json["checkErrors"].map((value) => new CheckError.fromJson( value)).toList();
265 } 270 }
266 if (_json.containsKey("operationId")) { 271 if (_json.containsKey("operationId")) {
267 operationId = _json["operationId"]; 272 operationId = _json["operationId"];
268 } 273 }
274 if (_json.containsKey("serviceConfigId")) {
275 serviceConfigId = _json["serviceConfigId"];
276 }
269 } 277 }
270 278
271 core.Map toJson() { 279 core.Map toJson() {
272 var _json = new core.Map(); 280 var _json = new core.Map();
273 if (checkErrors != null) { 281 if (checkErrors != null) {
274 _json["checkErrors"] = checkErrors.map((value) => (value).toJson()).toList (); 282 _json["checkErrors"] = checkErrors.map((value) => (value).toJson()).toList ();
275 } 283 }
276 if (operationId != null) { 284 if (operationId != null) {
277 _json["operationId"] = operationId; 285 _json["operationId"] = operationId;
278 } 286 }
287 if (serviceConfigId != null) {
288 _json["serviceConfigId"] = serviceConfigId;
289 }
279 return _json; 290 return _json;
280 } 291 }
281 } 292 }
282 293
283 /** 294 /**
284 * Distribution represents a frequency distribution of double-valued sample 295 * Distribution represents a frequency distribution of double-valued sample
285 * points. It contains the size of the population of sample points plus 296 * points. It contains the size of the population of sample points plus
286 * additional optional information: 297 * additional optional information:
287 * 298 *
288 * - the arithmetic mean of the samples 299 * - the arithmetic mean of the samples
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 * api_key:<api_key>. 802 * api_key:<api_key>.
792 */ 803 */
793 core.String consumerId; 804 core.String consumerId;
794 /** 805 /**
795 * End time of the operation. 806 * End time of the operation.
796 * Required when the operation is used in ServiceController.Report, 807 * Required when the operation is used in ServiceController.Report,
797 * but optional when the operation is used in ServiceController.Check. 808 * but optional when the operation is used in ServiceController.Check.
798 */ 809 */
799 core.String endTime; 810 core.String endTime;
800 /** 811 /**
801 * The importance of the data contained in the operation. 812 * DO NOT USE. This is an experimental field.
802 * Possible string values are: 813 * Possible string values are:
803 * - "LOW" : The operation doesn't contain significant monetary value or audit 814 * - "LOW" : The API implementation may cache and aggregate the data.
804 * trail. The API implementation may cache and aggregate the data. 815 * The data may be lost when rare and unexpected system failures occur.
805 * There is no deduplication based on `operation_id`. The data 816 * - "HIGH" : The API implementation doesn't cache and aggregate the data.
806 * may be lost when rare and unexpected system failures occur. 817 * If the method returns successfully, it's guaranteed that the data has
807 * - "HIGH" : The operation contains significant monetary value or audit 818 * been persisted in durable storage.
808 * trail.
809 * The API implementation doesn't cache and aggregate the data.
810 * Deduplication based on `operation_id` is performed for monetary
811 * values. If the method returns successfully, it's guaranteed that
812 * the data are persisted in durable storage.
813 */ 819 */
814 core.String importance; 820 core.String importance;
815 /** 821 /**
816 * Labels describing the operation. Only the following labels are allowed: 822 * Labels describing the operation. Only the following labels are allowed:
817 * 823 *
818 * - Labels describing monitored resources as defined in 824 * - Labels describing monitored resources as defined in
819 * the service configuration. 825 * the service configuration.
820 * - Default labels of metric values. When specified, labels defined in the 826 * - Default labels of metric values. When specified, labels defined in the
821 * metric value override these default. 827 * metric value override these default.
822 * - The following labels defined by Google Cloud Platform: 828 * - The following labels defined by Google Cloud Platform:
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 * request are processed successfully. 1007 * request are processed successfully.
1002 * 2. The combination of a successful RPC status and a non-empty 1008 * 2. The combination of a successful RPC status and a non-empty
1003 * `report_errors` list indicates a partial success where some 1009 * `report_errors` list indicates a partial success where some
1004 * `Operations` in the request succeeded. Each 1010 * `Operations` in the request succeeded. Each
1005 * `Operation` that failed processing has a corresponding item 1011 * `Operation` that failed processing has a corresponding item
1006 * in this list. 1012 * in this list.
1007 * 3. A failed RPC status indicates a complete failure where none of the 1013 * 3. A failed RPC status indicates a complete failure where none of the
1008 * `Operations` in the request succeeded. 1014 * `Operations` in the request succeeded.
1009 */ 1015 */
1010 core.List<ReportError> reportErrors; 1016 core.List<ReportError> reportErrors;
1017 /** The actual config id used to process the request. */
1018 core.String serviceConfigId;
1011 1019
1012 ReportResponse(); 1020 ReportResponse();
1013 1021
1014 ReportResponse.fromJson(core.Map _json) { 1022 ReportResponse.fromJson(core.Map _json) {
1015 if (_json.containsKey("reportErrors")) { 1023 if (_json.containsKey("reportErrors")) {
1016 reportErrors = _json["reportErrors"].map((value) => new ReportError.fromJs on(value)).toList(); 1024 reportErrors = _json["reportErrors"].map((value) => new ReportError.fromJs on(value)).toList();
1017 } 1025 }
1026 if (_json.containsKey("serviceConfigId")) {
1027 serviceConfigId = _json["serviceConfigId"];
1028 }
1018 } 1029 }
1019 1030
1020 core.Map toJson() { 1031 core.Map toJson() {
1021 var _json = new core.Map(); 1032 var _json = new core.Map();
1022 if (reportErrors != null) { 1033 if (reportErrors != null) {
1023 _json["reportErrors"] = reportErrors.map((value) => (value).toJson()).toLi st(); 1034 _json["reportErrors"] = reportErrors.map((value) => (value).toJson()).toLi st();
1024 } 1035 }
1036 if (serviceConfigId != null) {
1037 _json["serviceConfigId"] = serviceConfigId;
1038 }
1025 return _json; 1039 return _json;
1026 } 1040 }
1027 } 1041 }
1028 1042
1029 /** 1043 /**
1030 * The `Status` type defines a logical error model that is suitable for 1044 * The `Status` type defines a logical error model that is suitable for
1031 * different 1045 * different
1032 * programming environments, including REST APIs and RPC APIs. It is used by 1046 * programming environments, including REST APIs and RPC APIs. It is used by
1033 * [gRPC](https://github.com/grpc). The error model is designed to be: 1047 * [gRPC](https://github.com/grpc). The error model is designed to be:
1034 * 1048 *
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 } 1135 }
1122 if (details != null) { 1136 if (details != null) {
1123 _json["details"] = details; 1137 _json["details"] = details;
1124 } 1138 }
1125 if (message != null) { 1139 if (message != null) {
1126 _json["message"] = message; 1140 _json["message"] = message;
1127 } 1141 }
1128 return _json; 1142 return _json;
1129 } 1143 }
1130 } 1144 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/identitytoolkit/v3.dart ('k') | generated/googleapis/lib/servicemanagement/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698