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

Side by Side Diff: generated/googleapis_beta/lib/logging/v2beta1.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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_beta.logging.v2beta1; 3 library googleapis_beta.logging.v2beta1;
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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 * Request parameters: 118 * Request parameters:
119 * 119 *
120 * [parent] - Required. The resource name that owns the logs: 120 * [parent] - Required. The resource name that owns the logs:
121 * "projects/[PROJECT_ID]" 121 * "projects/[PROJECT_ID]"
122 * "organizations/[ORGANIZATION_ID]" 122 * "organizations/[ORGANIZATION_ID]"
123 * "billingAccounts/[BILLING_ACCOUNT_ID]" 123 * "billingAccounts/[BILLING_ACCOUNT_ID]"
124 * "folders/[FOLDER_ID]" 124 * "folders/[FOLDER_ID]"
125 * 125 *
126 * Value must have pattern "^billingAccounts/[^/]+$". 126 * Value must have pattern "^billingAccounts/[^/]+$".
127 * 127 *
128 * [pageSize] - Optional. The maximum number of results to return from this
129 * request. Non-positive values are ignored. The presence of nextPageToken in
130 * the response indicates that more results might be available.
131 *
128 * [pageToken] - Optional. If present, then retrieve the next batch of results 132 * [pageToken] - Optional. If present, then retrieve the next batch of results
129 * from the preceding call to this method. pageToken must be the value of 133 * from the preceding call to this method. pageToken must be the value of
130 * nextPageToken from the previous response. The values of other method 134 * nextPageToken from the previous response. The values of other method
131 * parameters should be identical to those in the previous call. 135 * parameters should be identical to those in the previous call.
132 * 136 *
133 * [pageSize] - Optional. The maximum number of results to return from this
134 * request. Non-positive values are ignored. The presence of nextPageToken in
135 * the response indicates that more results might be available.
136 *
137 * Completes with a [ListLogsResponse]. 137 * Completes with a [ListLogsResponse].
138 * 138 *
139 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 139 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
140 * error. 140 * error.
141 * 141 *
142 * If the used [http.Client] completes with an error when making a REST call, 142 * If the used [http.Client] completes with an error when making a REST call,
143 * this method will complete with the same error. 143 * this method will complete with the same error.
144 */ 144 */
145 async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken , core.int pageSize}) { 145 async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, co re.String pageToken}) {
146 var _url = null; 146 var _url = null;
147 var _queryParams = new core.Map(); 147 var _queryParams = new core.Map();
148 var _uploadMedia = null; 148 var _uploadMedia = null;
149 var _uploadOptions = null; 149 var _uploadOptions = null;
150 var _downloadOptions = commons.DownloadOptions.Metadata; 150 var _downloadOptions = commons.DownloadOptions.Metadata;
151 var _body = null; 151 var _body = null;
152 152
153 if (parent == null) { 153 if (parent == null) {
154 throw new core.ArgumentError("Parameter parent is required."); 154 throw new core.ArgumentError("Parameter parent is required.");
155 } 155 }
156 if (pageSize != null) {
157 _queryParams["pageSize"] = ["${pageSize}"];
158 }
156 if (pageToken != null) { 159 if (pageToken != null) {
157 _queryParams["pageToken"] = [pageToken]; 160 _queryParams["pageToken"] = [pageToken];
158 } 161 }
159 if (pageSize != null) {
160 _queryParams["pageSize"] = ["${pageSize}"];
161 }
162 162
163 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/log s'; 163 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/log s';
164 164
165 var _response = _requester.request(_url, 165 var _response = _requester.request(_url,
166 "GET", 166 "GET",
167 body: _body, 167 body: _body,
168 queryParams: _queryParams, 168 queryParams: _queryParams,
169 uploadOptions: _uploadOptions, 169 uploadOptions: _uploadOptions,
170 uploadMedia: _uploadMedia, 170 uploadMedia: _uploadMedia,
171 downloadOptions: _downloadOptions); 171 downloadOptions: _downloadOptions);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 MonitoredResourceDescriptorsResourceApi(commons.ApiRequester client) : 269 MonitoredResourceDescriptorsResourceApi(commons.ApiRequester client) :
270 _requester = client; 270 _requester = client;
271 271
272 /** 272 /**
273 * Lists the descriptors for monitored resource types used by Stackdriver 273 * Lists the descriptors for monitored resource types used by Stackdriver
274 * Logging. 274 * Logging.
275 * 275 *
276 * Request parameters: 276 * Request parameters:
277 * 277 *
278 * [pageSize] - Optional. The maximum number of results to return from this
279 * request. Non-positive values are ignored. The presence of nextPageToken in
280 * the response indicates that more results might be available.
281 *
278 * [pageToken] - Optional. If present, then retrieve the next batch of results 282 * [pageToken] - Optional. If present, then retrieve the next batch of results
279 * from the preceding call to this method. pageToken must be the value of 283 * from the preceding call to this method. pageToken must be the value of
280 * nextPageToken from the previous response. The values of other method 284 * nextPageToken from the previous response. The values of other method
281 * parameters should be identical to those in the previous call. 285 * parameters should be identical to those in the previous call.
282 * 286 *
283 * [pageSize] - Optional. The maximum number of results to return from this
284 * request. Non-positive values are ignored. The presence of nextPageToken in
285 * the response indicates that more results might be available.
286 *
287 * Completes with a [ListMonitoredResourceDescriptorsResponse]. 287 * Completes with a [ListMonitoredResourceDescriptorsResponse].
288 * 288 *
289 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 289 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
290 * error. 290 * error.
291 * 291 *
292 * If the used [http.Client] completes with an error when making a REST call, 292 * If the used [http.Client] completes with an error when making a REST call,
293 * this method will complete with the same error. 293 * this method will complete with the same error.
294 */ 294 */
295 async.Future<ListMonitoredResourceDescriptorsResponse> list({core.String pageT oken, core.int pageSize}) { 295 async.Future<ListMonitoredResourceDescriptorsResponse> list({core.int pageSize , core.String pageToken}) {
296 var _url = null; 296 var _url = null;
297 var _queryParams = new core.Map(); 297 var _queryParams = new core.Map();
298 var _uploadMedia = null; 298 var _uploadMedia = null;
299 var _uploadOptions = null; 299 var _uploadOptions = null;
300 var _downloadOptions = commons.DownloadOptions.Metadata; 300 var _downloadOptions = commons.DownloadOptions.Metadata;
301 var _body = null; 301 var _body = null;
302 302
303 if (pageSize != null) {
304 _queryParams["pageSize"] = ["${pageSize}"];
305 }
303 if (pageToken != null) { 306 if (pageToken != null) {
304 _queryParams["pageToken"] = [pageToken]; 307 _queryParams["pageToken"] = [pageToken];
305 } 308 }
306 if (pageSize != null) {
307 _queryParams["pageSize"] = ["${pageSize}"];
308 }
309 309
310 _url = 'v2beta1/monitoredResourceDescriptors'; 310 _url = 'v2beta1/monitoredResourceDescriptors';
311 311
312 var _response = _requester.request(_url, 312 var _response = _requester.request(_url,
313 "GET", 313 "GET",
314 body: _body, 314 body: _body,
315 queryParams: _queryParams, 315 queryParams: _queryParams,
316 uploadOptions: _uploadOptions, 316 uploadOptions: _uploadOptions,
317 uploadMedia: _uploadMedia, 317 uploadMedia: _uploadMedia,
318 downloadOptions: _downloadOptions); 318 downloadOptions: _downloadOptions);
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 * Request parameters: 527 * Request parameters:
528 * 528 *
529 * [parent] - Required. The resource name that owns the logs: 529 * [parent] - Required. The resource name that owns the logs:
530 * "projects/[PROJECT_ID]" 530 * "projects/[PROJECT_ID]"
531 * "organizations/[ORGANIZATION_ID]" 531 * "organizations/[ORGANIZATION_ID]"
532 * "billingAccounts/[BILLING_ACCOUNT_ID]" 532 * "billingAccounts/[BILLING_ACCOUNT_ID]"
533 * "folders/[FOLDER_ID]" 533 * "folders/[FOLDER_ID]"
534 * 534 *
535 * Value must have pattern "^projects/[^/]+$". 535 * Value must have pattern "^projects/[^/]+$".
536 * 536 *
537 * [pageSize] - Optional. The maximum number of results to return from this
538 * request. Non-positive values are ignored. The presence of nextPageToken in
539 * the response indicates that more results might be available.
540 *
537 * [pageToken] - Optional. If present, then retrieve the next batch of results 541 * [pageToken] - Optional. If present, then retrieve the next batch of results
538 * from the preceding call to this method. pageToken must be the value of 542 * from the preceding call to this method. pageToken must be the value of
539 * nextPageToken from the previous response. The values of other method 543 * nextPageToken from the previous response. The values of other method
540 * parameters should be identical to those in the previous call. 544 * parameters should be identical to those in the previous call.
541 * 545 *
542 * [pageSize] - Optional. The maximum number of results to return from this
543 * request. Non-positive values are ignored. The presence of nextPageToken in
544 * the response indicates that more results might be available.
545 *
546 * Completes with a [ListLogsResponse]. 546 * Completes with a [ListLogsResponse].
547 * 547 *
548 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 548 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
549 * error. 549 * error.
550 * 550 *
551 * If the used [http.Client] completes with an error when making a REST call, 551 * If the used [http.Client] completes with an error when making a REST call,
552 * this method will complete with the same error. 552 * this method will complete with the same error.
553 */ 553 */
554 async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken , core.int pageSize}) { 554 async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, co re.String pageToken}) {
555 var _url = null; 555 var _url = null;
556 var _queryParams = new core.Map(); 556 var _queryParams = new core.Map();
557 var _uploadMedia = null; 557 var _uploadMedia = null;
558 var _uploadOptions = null; 558 var _uploadOptions = null;
559 var _downloadOptions = commons.DownloadOptions.Metadata; 559 var _downloadOptions = commons.DownloadOptions.Metadata;
560 var _body = null; 560 var _body = null;
561 561
562 if (parent == null) { 562 if (parent == null) {
563 throw new core.ArgumentError("Parameter parent is required."); 563 throw new core.ArgumentError("Parameter parent is required.");
564 } 564 }
565 if (pageSize != null) {
566 _queryParams["pageSize"] = ["${pageSize}"];
567 }
565 if (pageToken != null) { 568 if (pageToken != null) {
566 _queryParams["pageToken"] = [pageToken]; 569 _queryParams["pageToken"] = [pageToken];
567 } 570 }
568 if (pageSize != null) {
569 _queryParams["pageSize"] = ["${pageSize}"];
570 }
571 571
572 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/log s'; 572 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/log s';
573 573
574 var _response = _requester.request(_url, 574 var _response = _requester.request(_url,
575 "GET", 575 "GET",
576 body: _body, 576 body: _body,
577 queryParams: _queryParams, 577 queryParams: _queryParams,
578 uploadOptions: _uploadOptions, 578 uploadOptions: _uploadOptions,
579 uploadMedia: _uploadMedia, 579 uploadMedia: _uploadMedia,
580 downloadOptions: _downloadOptions); 580 downloadOptions: _downloadOptions);
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 * Request parameters: 1002 * Request parameters:
1003 * 1003 *
1004 * [parent] - Required. The parent resource whose sinks are to be listed: 1004 * [parent] - Required. The parent resource whose sinks are to be listed:
1005 * "projects/[PROJECT_ID]" 1005 * "projects/[PROJECT_ID]"
1006 * "organizations/[ORGANIZATION_ID]" 1006 * "organizations/[ORGANIZATION_ID]"
1007 * "billingAccounts/[BILLING_ACCOUNT_ID]" 1007 * "billingAccounts/[BILLING_ACCOUNT_ID]"
1008 * "folders/[FOLDER_ID]" 1008 * "folders/[FOLDER_ID]"
1009 * 1009 *
1010 * Value must have pattern "^projects/[^/]+$". 1010 * Value must have pattern "^projects/[^/]+$".
1011 * 1011 *
1012 * [pageSize] - Optional. The maximum number of results to return from this
1013 * request. Non-positive values are ignored. The presence of nextPageToken in
1014 * the response indicates that more results might be available.
1015 *
1012 * [pageToken] - Optional. If present, then retrieve the next batch of results 1016 * [pageToken] - Optional. If present, then retrieve the next batch of results
1013 * from the preceding call to this method. pageToken must be the value of 1017 * from the preceding call to this method. pageToken must be the value of
1014 * nextPageToken from the previous response. The values of other method 1018 * nextPageToken from the previous response. The values of other method
1015 * parameters should be identical to those in the previous call. 1019 * parameters should be identical to those in the previous call.
1016 * 1020 *
1017 * [pageSize] - Optional. The maximum number of results to return from this
1018 * request. Non-positive values are ignored. The presence of nextPageToken in
1019 * the response indicates that more results might be available.
1020 *
1021 * Completes with a [ListSinksResponse]. 1021 * Completes with a [ListSinksResponse].
1022 * 1022 *
1023 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1023 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1024 * error. 1024 * error.
1025 * 1025 *
1026 * If the used [http.Client] completes with an error when making a REST call, 1026 * If the used [http.Client] completes with an error when making a REST call,
1027 * this method will complete with the same error. 1027 * this method will complete with the same error.
1028 */ 1028 */
1029 async.Future<ListSinksResponse> list(core.String parent, {core.String pageToke n, core.int pageSize}) { 1029 async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, c ore.String pageToken}) {
1030 var _url = null; 1030 var _url = null;
1031 var _queryParams = new core.Map(); 1031 var _queryParams = new core.Map();
1032 var _uploadMedia = null; 1032 var _uploadMedia = null;
1033 var _uploadOptions = null; 1033 var _uploadOptions = null;
1034 var _downloadOptions = commons.DownloadOptions.Metadata; 1034 var _downloadOptions = commons.DownloadOptions.Metadata;
1035 var _body = null; 1035 var _body = null;
1036 1036
1037 if (parent == null) { 1037 if (parent == null) {
1038 throw new core.ArgumentError("Parameter parent is required."); 1038 throw new core.ArgumentError("Parameter parent is required.");
1039 } 1039 }
1040 if (pageSize != null) {
1041 _queryParams["pageSize"] = ["${pageSize}"];
1042 }
1040 if (pageToken != null) { 1043 if (pageToken != null) {
1041 _queryParams["pageToken"] = [pageToken]; 1044 _queryParams["pageToken"] = [pageToken];
1042 } 1045 }
1043 if (pageSize != null) {
1044 _queryParams["pageSize"] = ["${pageSize}"];
1045 }
1046 1046
1047 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sin ks'; 1047 _url = 'v2beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sin ks';
1048 1048
1049 var _response = _requester.request(_url, 1049 var _response = _requester.request(_url,
1050 "GET", 1050 "GET",
1051 body: _body, 1051 body: _body,
1052 queryParams: _queryParams, 1052 queryParams: _queryParams,
1053 uploadOptions: _uploadOptions, 1053 uploadOptions: _uploadOptions,
1054 uploadMedia: _uploadMedia, 1054 uploadMedia: _uploadMedia,
1055 downloadOptions: _downloadOptions); 1055 downloadOptions: _downloadOptions);
1056 return _response.then((data) => new ListSinksResponse.fromJson(data)); 1056 return _response.then((data) => new ListSinksResponse.fromJson(data));
1057 } 1057 }
1058 1058
1059 /** 1059 /**
1060 * Updates a sink. If the named sink doesn't exist, then this method is 1060 * Updates a sink. This method replaces the following fields in the existing
1061 * identical to sinks.create. If the named sink does exist, then this method 1061 * sink with values from the new sink: destination, filter,
1062 * replaces the following fields in the existing sink with values from the new 1062 * output_version_format, start_time, and end_time. The updated sink might
1063 * sink: destination, filter, output_version_format, start_time, and end_time. 1063 * also have a new writer_identity; see the unique_writer_identity field.
1064 * The updated filter might also have a new writer_identity; see the
1065 * unique_writer_identity field.
1066 * 1064 *
1067 * [request] - The metadata request object. 1065 * [request] - The metadata request object.
1068 * 1066 *
1069 * Request parameters: 1067 * Request parameters:
1070 * 1068 *
1071 * [sinkName] - Required. The full resource name of the sink to update, 1069 * [sinkName] - Required. The full resource name of the sink to update,
1072 * including the parent resource and the sink identifier: 1070 * including the parent resource and the sink identifier:
1073 * "projects/[PROJECT_ID]/sinks/[SINK_ID]" 1071 * "projects/[PROJECT_ID]/sinks/[SINK_ID]"
1074 * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" 1072 * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
1075 * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" 1073 * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1175 * being served from cache. This field is only meaningful if cache_hit is 1173 * being served from cache. This field is only meaningful if cache_hit is
1176 * True. 1174 * True.
1177 */ 1175 */
1178 core.bool cacheValidatedWithOriginServer; 1176 core.bool cacheValidatedWithOriginServer;
1179 /** 1177 /**
1180 * The request processing latency on the server, from the time the request was 1178 * The request processing latency on the server, from the time the request was
1181 * received until the response was sent. 1179 * received until the response was sent.
1182 */ 1180 */
1183 core.String latency; 1181 core.String latency;
1184 /** 1182 /**
1183 * Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
1184 */
1185 core.String protocol;
1186 /**
1185 * The referer URL of the request, as defined in HTTP/1.1 Header Field 1187 * The referer URL of the request, as defined in HTTP/1.1 Header Field
1186 * Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). 1188 * Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
1187 */ 1189 */
1188 core.String referer; 1190 core.String referer;
1189 /** 1191 /**
1190 * The IP address (IPv4 or IPv6) of the client that issued the HTTP request. 1192 * The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
1191 * Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". 1193 * Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
1192 */ 1194 */
1193 core.String remoteIp; 1195 core.String remoteIp;
1194 /** The request method. Examples: "GET", "HEAD", "PUT", "POST". */ 1196 /** The request method. Examples: "GET", "HEAD", "PUT", "POST". */
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 } 1237 }
1236 if (_json.containsKey("cacheLookup")) { 1238 if (_json.containsKey("cacheLookup")) {
1237 cacheLookup = _json["cacheLookup"]; 1239 cacheLookup = _json["cacheLookup"];
1238 } 1240 }
1239 if (_json.containsKey("cacheValidatedWithOriginServer")) { 1241 if (_json.containsKey("cacheValidatedWithOriginServer")) {
1240 cacheValidatedWithOriginServer = _json["cacheValidatedWithOriginServer"]; 1242 cacheValidatedWithOriginServer = _json["cacheValidatedWithOriginServer"];
1241 } 1243 }
1242 if (_json.containsKey("latency")) { 1244 if (_json.containsKey("latency")) {
1243 latency = _json["latency"]; 1245 latency = _json["latency"];
1244 } 1246 }
1247 if (_json.containsKey("protocol")) {
1248 protocol = _json["protocol"];
1249 }
1245 if (_json.containsKey("referer")) { 1250 if (_json.containsKey("referer")) {
1246 referer = _json["referer"]; 1251 referer = _json["referer"];
1247 } 1252 }
1248 if (_json.containsKey("remoteIp")) { 1253 if (_json.containsKey("remoteIp")) {
1249 remoteIp = _json["remoteIp"]; 1254 remoteIp = _json["remoteIp"];
1250 } 1255 }
1251 if (_json.containsKey("requestMethod")) { 1256 if (_json.containsKey("requestMethod")) {
1252 requestMethod = _json["requestMethod"]; 1257 requestMethod = _json["requestMethod"];
1253 } 1258 }
1254 if (_json.containsKey("requestSize")) { 1259 if (_json.containsKey("requestSize")) {
(...skipping 26 matching lines...) Expand all
1281 } 1286 }
1282 if (cacheLookup != null) { 1287 if (cacheLookup != null) {
1283 _json["cacheLookup"] = cacheLookup; 1288 _json["cacheLookup"] = cacheLookup;
1284 } 1289 }
1285 if (cacheValidatedWithOriginServer != null) { 1290 if (cacheValidatedWithOriginServer != null) {
1286 _json["cacheValidatedWithOriginServer"] = cacheValidatedWithOriginServer; 1291 _json["cacheValidatedWithOriginServer"] = cacheValidatedWithOriginServer;
1287 } 1292 }
1288 if (latency != null) { 1293 if (latency != null) {
1289 _json["latency"] = latency; 1294 _json["latency"] = latency;
1290 } 1295 }
1296 if (protocol != null) {
1297 _json["protocol"] = protocol;
1298 }
1291 if (referer != null) { 1299 if (referer != null) {
1292 _json["referer"] = referer; 1300 _json["referer"] = referer;
1293 } 1301 }
1294 if (remoteIp != null) { 1302 if (remoteIp != null) {
1295 _json["remoteIp"] = remoteIp; 1303 _json["remoteIp"] = remoteIp;
1296 } 1304 }
1297 if (requestMethod != null) { 1305 if (requestMethod != null) {
1298 _json["requestMethod"] = requestMethod; 1306 _json["requestMethod"] = requestMethod;
1299 } 1307 }
1300 if (requestSize != null) { 1308 if (requestSize != null) {
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 * characters _-.,+!*',()%/. The forward-slash character (/) denotes a 2049 * characters _-.,+!*',()%/. The forward-slash character (/) denotes a
2042 * hierarchy of name pieces, and it cannot be the first character of the 2050 * hierarchy of name pieces, and it cannot be the first character of the
2043 * name.The metric identifier in this field must not be URL-encoded 2051 * name.The metric identifier in this field must not be URL-encoded
2044 * (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric 2052 * (https://en.wikipedia.org/wiki/Percent-encoding). However, when the metric
2045 * identifier appears as the [METRIC_ID] part of a metric_name API parameter, 2053 * identifier appears as the [METRIC_ID] part of a metric_name API parameter,
2046 * then the metric identifier must be URL-encoded. Example: 2054 * then the metric identifier must be URL-encoded. Example:
2047 * "projects/my-project/metrics/nginx%2Frequests". 2055 * "projects/my-project/metrics/nginx%2Frequests".
2048 */ 2056 */
2049 core.String name; 2057 core.String name;
2050 /** 2058 /**
2051 * Output only. The API version that created or updated this metric. The 2059 * Output only. The API version that created or updated this metric. This
2052 * version also dictates the syntax of the filter expression. When a value for 2060 * value is currently always set to V2.
2053 * this field is missing, the default value of V2 should be assumed.
2054 * Possible string values are: 2061 * Possible string values are:
2055 * - "V2" : Stackdriver Logging API v2. 2062 * - "V2" : Stackdriver Logging API v2.
2056 * - "V1" : Stackdriver Logging API v1. 2063 * - "V1" : Stackdriver Logging API v1.
2057 */ 2064 */
2058 core.String version; 2065 core.String version;
2059 2066
2060 LogMetric(); 2067 LogMetric();
2061 2068
2062 LogMetric.fromJson(core.Map _json) { 2069 LogMetric.fromJson(core.Map _json) {
2063 if (_json.containsKey("description")) { 2070 if (_json.containsKey("description")) {
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2861 WriteLogEntriesResponse(); 2868 WriteLogEntriesResponse();
2862 2869
2863 WriteLogEntriesResponse.fromJson(core.Map _json) { 2870 WriteLogEntriesResponse.fromJson(core.Map _json) {
2864 } 2871 }
2865 2872
2866 core.Map<core.String, core.Object> toJson() { 2873 core.Map<core.String, core.Object> toJson() {
2867 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 2874 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2868 return _json; 2875 return _json;
2869 } 2876 }
2870 } 2877 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/dlp/v2beta1.dart ('k') | generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698