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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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;
(...skipping 29 matching lines...) Expand all
40 40
41 ServicesResourceApi(commons.ApiRequester client) : 41 ServicesResourceApi(commons.ApiRequester client) :
42 _requester = client; 42 _requester = client;
43 43
44 /** 44 /**
45 * Checks an operation with Google Service Control to decide whether 45 * Checks an operation with Google Service Control to decide whether
46 * the given operation should proceed. It should be called before the 46 * the given operation should proceed. It should be called before the
47 * operation is executed. 47 * operation is executed.
48 * 48 *
49 * If feasible, the client should cache the check results and reuse them for 49 * If feasible, the client should cache the check results and reuse them for
50 * up to 60s. In case of server errors, the client may rely on the cached 50 * 60 seconds. In case of server errors, the client can rely on the cached
51 * results for longer time. 51 * results for longer time.
52 * 52 *
53 * NOTE: the `CheckRequest` has the size limit of 1MB.
54 *
53 * This method requires the `servicemanagement.services.check` permission 55 * This method requires the `servicemanagement.services.check` permission
54 * on the specified service. For more information, see 56 * on the specified service. For more information, see
55 * [Google Cloud IAM](https://cloud.google.com/iam). 57 * [Google Cloud IAM](https://cloud.google.com/iam).
56 * 58 *
57 * [request] - The metadata request object. 59 * [request] - The metadata request object.
58 * 60 *
59 * Request parameters: 61 * Request parameters:
60 * 62 *
61 * [serviceName] - The service name as specified in its service configuration. 63 * [serviceName] - The service name as specified in its service configuration.
62 * For example, 64 * For example,
(...skipping 30 matching lines...) Expand all
93 "POST", 95 "POST",
94 body: _body, 96 body: _body,
95 queryParams: _queryParams, 97 queryParams: _queryParams,
96 uploadOptions: _uploadOptions, 98 uploadOptions: _uploadOptions,
97 uploadMedia: _uploadMedia, 99 uploadMedia: _uploadMedia,
98 downloadOptions: _downloadOptions); 100 downloadOptions: _downloadOptions);
99 return _response.then((data) => new CheckResponse.fromJson(data)); 101 return _response.then((data) => new CheckResponse.fromJson(data));
100 } 102 }
101 103
102 /** 104 /**
103 * Reports operations to Google Service Control. It should be called 105 * Reports operation results to Google Service Control, such as logs and
104 * after the operation is completed. 106 * metrics. It should be called after an operation is completed.
105 * 107 *
106 * If feasible, the client should aggregate reporting data for up to 5s to 108 * If feasible, the client should aggregate reporting data for up to 5
107 * reduce API traffic. Limiting aggregation to 5s is to reduce data loss 109 * seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
108 * during client crashes. Clients should carefully choose the aggregation 110 * reduce data loss during client crashes. Clients should carefully choose
109 * window to avoid data loss risk more than 0.01% for business and 111 * the aggregation time window to avoid data loss risk more than 0.01%
110 * compliance reasons. 112 * for business and compliance reasons.
113 *
114 * NOTE: the `ReportRequest` has the size limit of 1MB.
111 * 115 *
112 * This method requires the `servicemanagement.services.report` permission 116 * This method requires the `servicemanagement.services.report` permission
113 * on the specified service. For more information, see 117 * on the specified service. For more information, see
114 * [Google Cloud IAM](https://cloud.google.com/iam). 118 * [Google Cloud IAM](https://cloud.google.com/iam).
115 * 119 *
116 * [request] - The metadata request object. 120 * [request] - The metadata request object.
117 * 121 *
118 * Request parameters: 122 * Request parameters:
119 * 123 *
120 * [serviceName] - The service name as specified in its service configuration. 124 * [serviceName] - The service name as specified in its service configuration.
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 } 1180 }
1177 if (details != null) { 1181 if (details != null) {
1178 _json["details"] = details; 1182 _json["details"] = details;
1179 } 1183 }
1180 if (message != null) { 1184 if (message != null) {
1181 _json["message"] = message; 1185 _json["message"] = message;
1182 } 1186 }
1183 return _json; 1187 return _json;
1184 } 1188 }
1185 } 1189 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/monitoring/v3.dart ('k') | generated/googleapis/lib/servicemanagement/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698