Index: generated/googleapis/lib/logging/v2.dart |
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart |
index 464eb664f531597b8bde3a4b0d87baf059377c87..7365d670da4634b50242089c7db898dd64fb5c24 100644 |
--- a/generated/googleapis/lib/logging/v2.dart |
+++ b/generated/googleapis/lib/logging/v2.dart |
@@ -432,7 +432,8 @@ class BillingAccountsSinksResourceApi { |
* there is no change to the sink's writer_identity. |
* If the old value is false and the new value is true, then writer_identity |
* is changed to a unique service account. |
- * It is an error if the old value is true and the new value is false. |
+ * It is an error if the old value is true and the new value is set to false |
+ * or defaulted to false. |
* |
* Completes with a [LogSink]. |
* |
@@ -949,7 +950,8 @@ class FoldersSinksResourceApi { |
* there is no change to the sink's writer_identity. |
* If the old value is false and the new value is true, then writer_identity |
* is changed to a unique service account. |
- * It is an error if the old value is true and the new value is false. |
+ * It is an error if the old value is true and the new value is set to false |
+ * or defaulted to false. |
* |
* Completes with a [LogSink]. |
* |
@@ -1132,15 +1134,15 @@ class OrganizationsLogsResourceApi { |
* |
* Value must have pattern "^organizations/[^/]+$". |
* |
+ * [pageSize] - Optional. The maximum number of results to return from this |
+ * request. Non-positive values are ignored. The presence of nextPageToken in |
+ * the response indicates that more results might be available. |
+ * |
* [pageToken] - Optional. If present, then retrieve the next batch of results |
* from the preceding call to this method. pageToken must be the value of |
* nextPageToken from the previous response. The values of other method |
* parameters should be identical to those in the previous call. |
* |
- * [pageSize] - Optional. The maximum number of results to return from this |
- * request. Non-positive values are ignored. The presence of nextPageToken in |
- * the response indicates that more results might be available. |
- * |
* Completes with a [ListLogsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1149,7 +1151,7 @@ class OrganizationsLogsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListLogsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1160,12 +1162,12 @@ class OrganizationsLogsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; |
@@ -1361,15 +1363,15 @@ class OrganizationsSinksResourceApi { |
* |
* Value must have pattern "^organizations/[^/]+$". |
* |
+ * [pageSize] - Optional. The maximum number of results to return from this |
+ * request. Non-positive values are ignored. The presence of nextPageToken in |
+ * the response indicates that more results might be available. |
+ * |
* [pageToken] - Optional. If present, then retrieve the next batch of results |
* from the preceding call to this method. pageToken must be the value of |
* nextPageToken from the previous response. The values of other method |
* parameters should be identical to those in the previous call. |
* |
- * [pageSize] - Optional. The maximum number of results to return from this |
- * request. Non-positive values are ignored. The presence of nextPageToken in |
- * the response indicates that more results might be available. |
- * |
* Completes with a [ListSinksResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1378,7 +1380,7 @@ class OrganizationsSinksResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListSinksResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1389,12 +1391,12 @@ class OrganizationsSinksResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks'; |
@@ -1437,7 +1439,8 @@ class OrganizationsSinksResourceApi { |
* there is no change to the sink's writer_identity. |
* If the old value is false and the new value is true, then writer_identity |
* is changed to a unique service account. |
- * It is an error if the old value is true and the new value is false. |
+ * It is an error if the old value is true and the new value is set to false |
+ * or defaulted to false. |
* |
* Completes with a [LogSink]. |
* |
@@ -2113,7 +2116,8 @@ class ProjectsSinksResourceApi { |
* there is no change to the sink's writer_identity. |
* If the old value is false and the new value is true, then writer_identity |
* is changed to a unique service account. |
- * It is an error if the old value is true and the new value is false. |
+ * It is an error if the old value is true and the new value is set to false |
+ * or defaulted to false. |
* |
* Completes with a [LogSink]. |
* |
@@ -2173,8 +2177,8 @@ class Empty { |
Empty.fromJson(core.Map _json) { |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |
@@ -2298,8 +2302,8 @@ class HttpRequest { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (cacheFillBytes != null) { |
_json["cacheFillBytes"] = cacheFillBytes; |
} |
@@ -2375,8 +2379,8 @@ class LabelDescriptor { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (description != null) { |
_json["description"] = description; |
} |
@@ -2464,8 +2468,8 @@ class ListLogEntriesRequest { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (filter != null) { |
_json["filter"] = filter; |
} |
@@ -2516,8 +2520,8 @@ class ListLogEntriesResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (entries != null) { |
_json["entries"] = entries.map((value) => (value).toJson()).toList(); |
} |
@@ -2550,8 +2554,8 @@ class ListLogMetricsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (metrics != null) { |
_json["metrics"] = metrics.map((value) => (value).toJson()).toList(); |
} |
@@ -2587,8 +2591,8 @@ class ListLogsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (logNames != null) { |
_json["logNames"] = logNames; |
} |
@@ -2621,8 +2625,8 @@ class ListMonitoredResourceDescriptorsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -2655,8 +2659,8 @@ class ListSinksResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -2824,8 +2828,8 @@ class LogEntry { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (httpRequest != null) { |
_json["httpRequest"] = (httpRequest).toJson(); |
} |
@@ -2914,8 +2918,8 @@ class LogEntryOperation { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (first != null) { |
_json["first"] = first; |
} |
@@ -2970,8 +2974,8 @@ class LogEntrySourceLocation { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (file != null) { |
_json["file"] = file; |
} |
@@ -3027,8 +3031,8 @@ class LogLine { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (logMessage != null) { |
_json["logMessage"] = logMessage; |
} |
@@ -3101,8 +3105,8 @@ class LogMetric { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (description != null) { |
_json["description"] = description; |
} |
@@ -3234,8 +3238,8 @@ class LogSink { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (destination != null) { |
_json["destination"] = destination; |
} |
@@ -3303,8 +3307,8 @@ class MonitoredResource { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (labels != null) { |
_json["labels"] = labels; |
} |
@@ -3379,8 +3383,8 @@ class MonitoredResourceDescriptor { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (description != null) { |
_json["description"] = description; |
} |
@@ -3601,8 +3605,8 @@ class RequestLog { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (appEngineRelease != null) { |
_json["appEngineRelease"] = appEngineRelease; |
} |
@@ -3735,8 +3739,8 @@ class SourceLocation { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (file != null) { |
_json["file"] = file; |
} |
@@ -3777,8 +3781,8 @@ class SourceReference { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (repository != null) { |
_json["repository"] = repository; |
} |
@@ -3862,8 +3866,8 @@ class WriteLogEntriesRequest { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (entries != null) { |
_json["entries"] = entries.map((value) => (value).toJson()).toList(); |
} |
@@ -3891,8 +3895,8 @@ class WriteLogEntriesResponse { |
WriteLogEntriesResponse.fromJson(core.Map _json) { |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |