| Index: generated/googleapis/lib/logging/v2.dart
|
| diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
|
| index 4f910598723002ebc2ce69c7b1d8fc30c69c8775..3ac0315acf5552f546a8690a2418ecab850260ec 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';
|
|
|
| @@ -205,8 +205,8 @@ class BillingAccountsSinksResourceApi {
|
| * [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity
|
| * returned as writer_identity in the new sink. If this value is omitted or
|
| * set to false, and if the sink's parent is a project, then the value
|
| - * returned as writer_identity is cloud-logs@system.gserviceaccount.com, the
|
| - * same identity used before the addition of writer identities to this API.
|
| + * returned as writer_identity is the same group or service account used by
|
| + * Stackdriver Logging before the addition of writer identities to this API.
|
| * The sink's destination must be in the same project as the sink itself.If
|
| * this field is set to true, or if the sink is owned by a non-project
|
| * resource such as an organization, then the value of writer_identity will be
|
| @@ -430,9 +430,9 @@ class BillingAccountsSinksResourceApi {
|
| * of this field:
|
| * If the old and new values of this field are both false or both true, then
|
| * there is no change to the sink's writer_identity.
|
| - * If the old value was false and the new value is true, then 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 was true and the new value is false.
|
| + * It is an error if the old value is true and the new value is false.
|
| *
|
| * Completes with a [LogSink].
|
| *
|
| @@ -723,8 +723,8 @@ class FoldersSinksResourceApi {
|
| * [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity
|
| * returned as writer_identity in the new sink. If this value is omitted or
|
| * set to false, and if the sink's parent is a project, then the value
|
| - * returned as writer_identity is cloud-logs@system.gserviceaccount.com, the
|
| - * same identity used before the addition of writer identities to this API.
|
| + * returned as writer_identity is the same group or service account used by
|
| + * Stackdriver Logging before the addition of writer identities to this API.
|
| * The sink's destination must be in the same project as the sink itself.If
|
| * this field is set to true, or if the sink is owned by a non-project
|
| * resource such as an organization, then the value of writer_identity will be
|
| @@ -948,9 +948,9 @@ class FoldersSinksResourceApi {
|
| * of this field:
|
| * If the old and new values of this field are both false or both true, then
|
| * there is no change to the sink's writer_identity.
|
| - * If the old value was false and the new value is true, then 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 was true and the new value is false.
|
| + * It is an error if the old value is true and the new value is false.
|
| *
|
| * Completes with a [LogSink].
|
| *
|
| @@ -1005,15 +1005,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
|
| @@ -1022,7 +1022,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.String pageToken, core.int pageSize}) {
|
| + async.Future<ListMonitoredResourceDescriptorsResponse> list({core.int pageSize, core.String pageToken}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1030,12 +1030,12 @@ class MonitoredResourceDescriptorsResourceApi {
|
| var _downloadOptions = commons.DownloadOptions.Metadata;
|
| var _body = null;
|
|
|
| - if (pageToken != null) {
|
| - _queryParams["pageToken"] = [pageToken];
|
| - }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| + if (pageToken != null) {
|
| + _queryParams["pageToken"] = [pageToken];
|
| + }
|
|
|
| _url = 'v2/monitoredResourceDescriptors';
|
|
|
| @@ -1133,15 +1133,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
|
| @@ -1150,7 +1150,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;
|
| @@ -1161,12 +1161,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';
|
|
|
| @@ -1211,8 +1211,8 @@ class OrganizationsSinksResourceApi {
|
| * [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity
|
| * returned as writer_identity in the new sink. If this value is omitted or
|
| * set to false, and if the sink's parent is a project, then the value
|
| - * returned as writer_identity is cloud-logs@system.gserviceaccount.com, the
|
| - * same identity used before the addition of writer identities to this API.
|
| + * returned as writer_identity is the same group or service account used by
|
| + * Stackdriver Logging before the addition of writer identities to this API.
|
| * The sink's destination must be in the same project as the sink itself.If
|
| * this field is set to true, or if the sink is owned by a non-project
|
| * resource such as an organization, then the value of writer_identity will be
|
| @@ -1362,15 +1362,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
|
| @@ -1379,7 +1379,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;
|
| @@ -1390,12 +1390,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';
|
|
|
| @@ -1436,9 +1436,9 @@ class OrganizationsSinksResourceApi {
|
| * of this field:
|
| * If the old and new values of this field are both false or both true, then
|
| * there is no change to the sink's writer_identity.
|
| - * If the old value was false and the new value is true, then 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 was true and the new value is false.
|
| + * It is an error if the old value is true and the new value is false.
|
| *
|
| * Completes with a [LogSink].
|
| *
|
| @@ -1563,15 +1563,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
|
| @@ -1580,7 +1580,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.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;
|
| @@ -1591,12 +1591,12 @@ class ProjectsLogsResourceApi {
|
| 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';
|
|
|
| @@ -1887,8 +1887,8 @@ class ProjectsSinksResourceApi {
|
| * [uniqueWriterIdentity] - Optional. Determines the kind of IAM identity
|
| * returned as writer_identity in the new sink. If this value is omitted or
|
| * set to false, and if the sink's parent is a project, then the value
|
| - * returned as writer_identity is cloud-logs@system.gserviceaccount.com, the
|
| - * same identity used before the addition of writer identities to this API.
|
| + * returned as writer_identity is the same group or service account used by
|
| + * Stackdriver Logging before the addition of writer identities to this API.
|
| * The sink's destination must be in the same project as the sink itself.If
|
| * this field is set to true, or if the sink is owned by a non-project
|
| * resource such as an organization, then the value of writer_identity will be
|
| @@ -2112,9 +2112,9 @@ class ProjectsSinksResourceApi {
|
| * of this field:
|
| * If the old and new values of this field are both false or both true, then
|
| * there is no change to the sink's writer_identity.
|
| - * If the old value was false and the new value is true, then 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 was true and the new value is false.
|
| + * It is an error if the old value is true and the new value is false.
|
| *
|
| * Completes with a [LogSink].
|
| *
|
|
|