Index: generated/googleapis/lib/logging/v2.dart |
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart |
index 8eb3647afbb4eb3dd3ad1dc12ae2a1aedb68aabd..29db833dce18d90773b93f11e2c9ec6ba83ab49b 100644 |
--- a/generated/googleapis/lib/logging/v2.dart |
+++ b/generated/googleapis/lib/logging/v2.dart |
@@ -127,15 +127,15 @@ class BillingAccountsLogsResourceApi { |
* |
* Value must have pattern "^billingAccounts/[^/]+$". |
* |
- * [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 |
@@ -144,7 +144,7 @@ class BillingAccountsLogsResourceApi { |
* 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.int pageSize, core.String pageToken}) { |
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -155,12 +155,12 @@ class BillingAccountsLogsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; |
@@ -873,15 +873,15 @@ class FoldersSinksResourceApi { |
* |
* Value must have pattern "^folders/[^/]+$". |
* |
- * [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 |
@@ -890,7 +890,7 @@ class FoldersSinksResourceApi { |
* 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.int pageSize, core.String pageToken}) { |
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -901,12 +901,12 @@ class FoldersSinksResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks'; |
@@ -1004,15 +1004,15 @@ class MonitoredResourceDescriptorsResourceApi { |
* |
* Request parameters: |
* |
- * [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 [ListMonitoredResourceDescriptorsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1021,7 +1021,7 @@ class MonitoredResourceDescriptorsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListMonitoredResourceDescriptorsResponse> list({core.int pageSize, core.String pageToken}) { |
+ async.Future<ListMonitoredResourceDescriptorsResponse> list({core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1029,12 +1029,12 @@ class MonitoredResourceDescriptorsResourceApi { |
var _downloadOptions = commons.DownloadOptions.Metadata; |
var _body = null; |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/monitoredResourceDescriptors'; |
@@ -1132,15 +1132,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 +1149,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.int pageSize, core.String pageToken}) { |
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1160,12 +1160,12 @@ class OrganizationsLogsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; |
@@ -1361,15 +1361,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 +1378,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.int pageSize, core.String pageToken}) { |
+ async.Future<ListSinksResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1389,12 +1389,12 @@ class OrganizationsSinksResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/sinks'; |
@@ -1562,15 +1562,15 @@ class ProjectsLogsResourceApi { |
* |
* Value must have pattern "^projects/[^/]+$". |
* |
- * [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 |
@@ -1579,7 +1579,7 @@ class ProjectsLogsResourceApi { |
* 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.int pageSize, core.String pageToken}) { |
+ async.Future<ListLogsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1590,12 +1590,12 @@ class ProjectsLogsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v2/' + commons.Escaper.ecapeVariableReserved('$parent') + '/logs'; |
@@ -3144,6 +3144,16 @@ class LogSink { |
*/ |
core.String filter; |
/** |
+ * Optional. This field presently applies only to sinks in organizations and |
+ * folders. If true, then logs from children of this entity will also be |
+ * available to this sink for export. Whether particular log entries from the |
+ * children are exported depends on the sink's filter expression. For example, |
+ * if this sink is associated with an organization, then logs from all |
+ * projects in the organization as well as from the organization itself will |
+ * be available for export. |
+ */ |
+ core.bool includeChildren; |
+ /** |
* Required. The client-assigned sink identifier, unique within the project. |
* Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100 |
* characters and can include only the following characters: upper and |
@@ -3192,6 +3202,9 @@ class LogSink { |
if (_json.containsKey("filter")) { |
filter = _json["filter"]; |
} |
+ if (_json.containsKey("includeChildren")) { |
+ includeChildren = _json["includeChildren"]; |
+ } |
if (_json.containsKey("name")) { |
name = _json["name"]; |
} |
@@ -3217,6 +3230,9 @@ class LogSink { |
if (filter != null) { |
_json["filter"] = filter; |
} |
+ if (includeChildren != null) { |
+ _json["includeChildren"] = includeChildren; |
+ } |
if (name != null) { |
_json["name"] = name; |
} |