Update generator and re-generate (#129)
Now named, optional params are sorted
diff --git a/generated/googleapis/lib/accessapproval/v1.dart b/generated/googleapis/lib/accessapproval/v1.dart
index 16b8829..60898d5 100644
--- a/generated/googleapis/lib/accessapproval/v1.dart
+++ b/generated/googleapis/lib/accessapproval/v1.dart
@@ -414,8 +414,6 @@
/// "folders/{folder}", or "organizations/{organization}".
/// Value must have pattern "^folders/[^/]+$".
///
- /// [pageSize] - Requested page size.
- ///
/// [filter] - A filter on the type of approval requests to retrieve. Must be
/// one of the following values: * [not set]: Requests that are pending or
/// have active approvals. * ALL: All requests. * PENDING: Only pending
@@ -423,6 +421,8 @@
/// DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active
/// and dismissed (including expired) requests.
///
+ /// [pageSize] - Requested page size.
+ ///
/// [pageToken] - A token identifying the page of results to return.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -437,8 +437,8 @@
/// this method will complete with the same error.
async.Future<ListApprovalRequestsResponse> list(
core.String parent, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -452,12 +452,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -848,10 +848,6 @@
/// "folders/{folder}", or "organizations/{organization}".
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [pageToken] - A token identifying the page of results to return.
- ///
- /// [pageSize] - Requested page size.
- ///
/// [filter] - A filter on the type of approval requests to retrieve. Must be
/// one of the following values: * [not set]: Requests that are pending or
/// have active approvals. * ALL: All requests. * PENDING: Only pending
@@ -859,6 +855,10 @@
/// DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active
/// and dismissed (including expired) requests.
///
+ /// [pageSize] - Requested page size.
+ ///
+ /// [pageToken] - A token identifying the page of results to return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -871,9 +871,9 @@
/// this method will complete with the same error.
async.Future<ListApprovalRequestsResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -886,14 +886,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1282,8 +1282,6 @@
/// "folders/{folder}", or "organizations/{organization}".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - Requested page size.
- ///
/// [filter] - A filter on the type of approval requests to retrieve. Must be
/// one of the following values: * [not set]: Requests that are pending or
/// have active approvals. * ALL: All requests. * PENDING: Only pending
@@ -1291,6 +1289,8 @@
/// DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active
/// and dismissed (including expired) requests.
///
+ /// [pageSize] - Requested page size.
+ ///
/// [pageToken] - A token identifying the page of results to return.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1305,8 +1305,8 @@
/// this method will complete with the same error.
async.Future<ListApprovalRequestsResponse> list(
core.String parent, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -1320,12 +1320,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/accesscontextmanager/v1.dart b/generated/googleapis/lib/accesscontextmanager/v1.dart
index ada7156..614e3fe 100644
--- a/generated/googleapis/lib/accesscontextmanager/v1.dart
+++ b/generated/googleapis/lib/accesscontextmanager/v1.dart
@@ -219,12 +219,12 @@
///
/// Request parameters:
///
- /// [pageToken] - Next page token for the next batch of AccessPolicy
- /// instances. Defaults to the first page of results.
- ///
/// [pageSize] - Number of AccessPolicy instances to include in the list.
/// Default 100.
///
+ /// [pageToken] - Next page token for the next batch of AccessPolicy
+ /// instances. Defaults to the first page of results.
+ ///
/// [parent] - Required. Resource name for the container to list AccessPolicy
/// instances from. Format: `organizations/{org_id}`
///
@@ -239,8 +239,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAccessPoliciesResponse> list({
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String parent,
core.String $fields,
}) {
@@ -251,12 +251,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (parent != null) {
_queryParams['parent'] = [parent];
}
@@ -1370,11 +1370,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1388,9 +1388,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1403,14 +1403,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/admin/datatransfer_v1.dart b/generated/googleapis/lib/admin/datatransfer_v1.dart
index 3a20d98..47ab2ae 100644
--- a/generated/googleapis/lib/admin/datatransfer_v1.dart
+++ b/generated/googleapis/lib/admin/datatransfer_v1.dart
@@ -112,13 +112,13 @@
///
/// Request parameters:
///
- /// [pageToken] - Token to specify next page in the list.
- ///
/// [customerId] - Immutable ID of the Google Apps account.
///
/// [maxResults] - Maximum number of results to return. Default is 100.
/// Value must be between "1" and "500".
///
+ /// [pageToken] - Token to specify next page in the list.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -130,9 +130,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ApplicationsListResponse> list({
- core.String pageToken,
core.String customerId,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -142,15 +142,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -280,17 +280,17 @@
///
/// [customerId] - Immutable ID of the Google Apps account.
///
- /// [pageToken] - Token to specify the next page in the list.
- ///
- /// [newOwnerUserId] - Destination user's profile ID.
- ///
/// [maxResults] - Maximum number of results to return. Default is 100.
/// Value must be between "1" and "500".
///
- /// [status] - Status of the transfer.
+ /// [newOwnerUserId] - Destination user's profile ID.
///
/// [oldOwnerUserId] - Source user's profile ID.
///
+ /// [pageToken] - Token to specify the next page in the list.
+ ///
+ /// [status] - Status of the transfer.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -303,11 +303,11 @@
/// this method will complete with the same error.
async.Future<DataTransfersListResponse> list({
core.String customerId,
- core.String pageToken,
- core.String newOwnerUserId,
core.int maxResults,
- core.String status,
+ core.String newOwnerUserId,
core.String oldOwnerUserId,
+ core.String pageToken,
+ core.String status,
core.String $fields,
}) {
core.String _url;
@@ -320,21 +320,21 @@
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (newOwnerUserId != null) {
_queryParams['newOwnerUserId'] = [newOwnerUserId];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (oldOwnerUserId != null) {
+ _queryParams['oldOwnerUserId'] = [oldOwnerUserId];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (status != null) {
_queryParams['status'] = [status];
}
- if (oldOwnerUserId != null) {
- _queryParams['oldOwnerUserId'] = [oldOwnerUserId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/admin/directory_v1.dart b/generated/googleapis/lib/admin/directory_v1.dart
index 85a71b3..3120170 100644
--- a/generated/googleapis/lib/admin/directory_v1.dart
+++ b/generated/googleapis/lib/admin/directory_v1.dart
@@ -547,6 +547,8 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
+ /// [maxResults] - Maximum number of results to return.
+ ///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
/// - "orderByUndefined"
@@ -559,10 +561,9 @@
/// - "status" : Chromebook status.
/// - "supportEndDate" : Chromebook support end date.
///
- /// [query] - Search string in the format given at
- /// http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
+ /// [orgUnitPath] - Full path of the organizational unit or its ID
///
- /// [maxResults] - Maximum number of results to return.
+ /// [pageToken] - Token to specify next page in the list
///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
@@ -571,7 +572,8 @@
/// serialNumber, status, and user)
/// - "FULL" : Includes all metadata fields
///
- /// [orgUnitPath] - Full path of the organizational unit or its ID
+ /// [query] - Search string in the format given at
+ /// http://support.google.com/chromeos/a/bin/answer.py?answer=1698333
///
/// [sortOrder] - Whether to return results in ascending or descending order.
/// Only of use when orderBy is also used
@@ -580,8 +582,6 @@
/// - "ASCENDING" : Ascending order.
/// - "DESCENDING" : Descending order.
///
- /// [pageToken] - Token to specify next page in the list
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -594,13 +594,13 @@
/// this method will complete with the same error.
async.Future<ChromeOsDevices> list(
core.String customerId, {
- core.String orderBy,
- core.String query,
core.int maxResults,
- core.String projection,
+ core.String orderBy,
core.String orgUnitPath,
- core.String sortOrder,
core.String pageToken,
+ core.String projection,
+ core.String query,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -613,27 +613,27 @@
if (customerId == null) {
throw core.ArgumentError('Parameter customerId is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (query != null) {
- _queryParams['query'] = [query];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (projection != null) {
- _queryParams['projection'] = [projection];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (orgUnitPath != null) {
_queryParams['orgUnitPath'] = [orgUnitPath];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
+ }
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1647,6 +1647,16 @@
///
/// Request parameters:
///
+ /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
+ /// to fetch all groups for a customer, fill this field instead of domain.
+ ///
+ /// [domain] - Name of the domain. Fill this field to get groups from only
+ /// this domain. To return all groups in a multi-domain fill customer field
+ /// instead.
+ ///
+ /// [maxResults] - Maximum number of results to return. Max allowed value is
+ /// 200.
+ ///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
/// - "orderByUndefined"
@@ -1654,6 +1664,10 @@
///
/// [pageToken] - Token to specify next page in the list
///
+ /// [query] - Query string search. Should be of the form "". Complete
+ /// documentation is at https:
+ /// //developers.google.com/admin-sdk/directory/v1/guides/search-groups
+ ///
/// [sortOrder] - Whether to return results in ascending or descending order.
/// Only of use when orderBy is also used
/// Possible string values are:
@@ -1661,24 +1675,10 @@
/// - "ASCENDING" : Ascending order.
/// - "DESCENDING" : Descending order.
///
- /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
- /// to fetch all groups for a customer, fill this field instead of domain.
- ///
- /// [query] - Query string search. Should be of the form "". Complete
- /// documentation is at https:
- /// //developers.google.com/admin-sdk/directory/v1/guides/search-groups
- ///
- /// [domain] - Name of the domain. Fill this field to get groups from only
- /// this domain. To return all groups in a multi-domain fill customer field
- /// instead.
- ///
/// [userKey] - Email or immutable ID of the user if only those groups are to
/// be listed, the given user is a member of. If it's an ID, it should match
/// with the ID of the user object.
///
- /// [maxResults] - Maximum number of results to return. Max allowed value is
- /// 200.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1690,14 +1690,14 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Groups> list({
+ core.String customer,
+ core.String domain,
+ core.int maxResults,
core.String orderBy,
core.String pageToken,
- core.String sortOrder,
- core.String customer,
core.String query,
- core.String domain,
+ core.String sortOrder,
core.String userKey,
- core.int maxResults,
core.String $fields,
}) {
core.String _url;
@@ -1707,30 +1707,30 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (customer != null) {
+ _queryParams['customer'] = [customer];
+ }
+ if (domain != null) {
+ _queryParams['domain'] = [domain];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (customer != null) {
- _queryParams['customer'] = [customer];
- }
if (query != null) {
_queryParams['query'] = [query];
}
- if (domain != null) {
- _queryParams['domain'] = [domain];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if (userKey != null) {
_queryParams['userKey'] = [userKey];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2272,14 +2272,14 @@
///
/// [groupKey] - Email or immutable ID of the group
///
+ /// [includeDerivedMembership] - Whether to list indirect memberships.
+ /// Default: false.
+ ///
/// [maxResults] - Maximum number of results to return. Max allowed value is
/// 200.
///
/// [pageToken] - Token to specify next page in the list
///
- /// [includeDerivedMembership] - Whether to list indirect memberships.
- /// Default: false.
- ///
/// [roles] - Comma separated role values to filter list results on.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2294,9 +2294,9 @@
/// this method will complete with the same error.
async.Future<Members> list(
core.String groupKey, {
+ core.bool includeDerivedMembership,
core.int maxResults,
core.String pageToken,
- core.bool includeDerivedMembership,
core.String roles,
core.String $fields,
}) {
@@ -2310,17 +2310,17 @@
if (groupKey == null) {
throw core.ArgumentError('Parameter groupKey is required.');
}
+ if (includeDerivedMembership != null) {
+ _queryParams['includeDerivedMembership'] = [
+ '${includeDerivedMembership}'
+ ];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (includeDerivedMembership != null) {
- _queryParams['includeDerivedMembership'] = [
- '${includeDerivedMembership}'
- ];
- }
if (roles != null) {
_queryParams['roles'] = [roles];
}
@@ -2675,17 +2675,9 @@
///
/// [customerId] - Immutable ID of the G Suite account
///
- /// [projection] - Restrict information returned to a set of selected fields.
- /// Possible string values are:
- /// - "PROJECTION_UNDEFINED"
- /// - "BASIC" : Includes only the basic metadata fields (e.g., deviceId,
- /// model, status, type, and status)
- /// - "FULL" : Includes all metadata fields
- ///
- /// [pageToken] - Token to specify next page in the list
- ///
- /// [query] - Search string in the format given at
- /// http://support.google.com/a/bin/answer.py?answer=1408863#search
+ /// [maxResults] - Maximum number of results to return. Max allowed value is
+ /// 100.
+ /// Value must be between "1" and "100".
///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
@@ -2699,6 +2691,18 @@
/// - "status" : Status of the device.
/// - "type" : Type of the device.
///
+ /// [pageToken] - Token to specify next page in the list
+ ///
+ /// [projection] - Restrict information returned to a set of selected fields.
+ /// Possible string values are:
+ /// - "PROJECTION_UNDEFINED"
+ /// - "BASIC" : Includes only the basic metadata fields (e.g., deviceId,
+ /// model, status, type, and status)
+ /// - "FULL" : Includes all metadata fields
+ ///
+ /// [query] - Search string in the format given at
+ /// http://support.google.com/a/bin/answer.py?answer=1408863#search
+ ///
/// [sortOrder] - Whether to return results in ascending or descending order.
/// Only of use when orderBy is also used
/// Possible string values are:
@@ -2706,10 +2710,6 @@
/// - "ASCENDING" : Ascending order.
/// - "DESCENDING" : Descending order.
///
- /// [maxResults] - Maximum number of results to return. Max allowed value is
- /// 100.
- /// Value must be between "1" and "100".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2722,12 +2722,12 @@
/// this method will complete with the same error.
async.Future<MobileDevices> list(
core.String customerId, {
- core.String projection,
- core.String pageToken,
- core.String query,
- core.String orderBy,
- core.String sortOrder,
core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
+ core.String projection,
+ core.String query,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -2740,24 +2740,24 @@
if (customerId == null) {
throw core.ArgumentError('Parameter customerId is required.');
}
- if (projection != null) {
- _queryParams['projection'] = [projection];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (query != null) {
- _queryParams['query'] = [query];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
+ }
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3834,6 +3834,9 @@
/// account administrator, you can also use the my_customer alias to represent
/// your account's customer ID.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "1" and "500".
+ ///
/// [orderBy] - Field(s) to sort results by in either ascending or descending
/// order. Supported fields include resourceId, resourceName, capacity,
/// buildingId, and floorName. If no order is specified, defaults to
@@ -3842,6 +3845,8 @@
/// first by buildingId in ascending order then by capacity in descending
/// order.
///
+ /// [pageToken] - Token to specify the next page in the list.
+ ///
/// [query] - String query used to filter results. Should be of the form
/// "field operator value" where field can be any of supported fields and
/// operators can be any of supported operations. Operators include '=' for
@@ -3852,11 +3857,6 @@
/// floor_name, capacity, featureInstances.feature.name. For example
/// buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone.
///
- /// [pageToken] - Token to specify the next page in the list.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "1" and "500".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3869,10 +3869,10 @@
/// this method will complete with the same error.
async.Future<CalendarResources> list(
core.String customer, {
- core.String orderBy,
- core.String query,
- core.String pageToken,
core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
+ core.String query,
core.String $fields,
}) {
core.String _url;
@@ -3885,17 +3885,17 @@
if (customer == null) {
throw core.ArgumentError('Parameter customer is required.');
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (query != null) {
- _queryParams['query'] = [query];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (query != null) {
+ _queryParams['query'] = [query];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -5760,13 +5760,6 @@
///
/// [userKey] - Email or immutable ID of the user
///
- /// [viewType] - Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the
- /// user.
- /// Possible string values are:
- /// - "view_type_undefined"
- /// - "admin_view" : Fetches the ADMIN_VIEW of the user.
- /// - "domain_public" : Fetches the DOMAIN_PUBLIC view of the user.
- ///
/// [customFieldMask] - Comma-separated list of schema names. All fields from
/// these schemas are fetched. This should only be set when projection=custom.
///
@@ -5778,6 +5771,13 @@
/// customFieldMask.
/// - "full" : Include all fields associated with this user.
///
+ /// [viewType] - Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the
+ /// user.
+ /// Possible string values are:
+ /// - "view_type_undefined"
+ /// - "admin_view" : Fetches the ADMIN_VIEW of the user.
+ /// - "domain_public" : Fetches the DOMAIN_PUBLIC view of the user.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5790,9 +5790,9 @@
/// this method will complete with the same error.
async.Future<User> get(
core.String userKey, {
- core.String viewType,
core.String customFieldMask,
core.String projection,
+ core.String viewType,
core.String $fields,
}) {
core.String _url;
@@ -5805,15 +5805,15 @@
if (userKey == null) {
throw core.ArgumentError('Parameter userKey is required.');
}
- if (viewType != null) {
- _queryParams['viewType'] = [viewType];
- }
if (customFieldMask != null) {
_queryParams['customFieldMask'] = [customFieldMask];
}
if (projection != null) {
_queryParams['projection'] = [projection];
}
+ if (viewType != null) {
+ _queryParams['viewType'] = [viewType];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5885,14 +5885,42 @@
///
/// Request parameters:
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "1" and "500".
+ /// [customFieldMask] - Comma-separated list of schema names. All fields from
+ /// these schemas are fetched. This should only be set when projection=custom.
+ ///
+ /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
+ /// to fetch all users for a customer, fill this field instead of domain.
///
/// [domain] - Name of the domain. Fill this field to get users from only this
/// domain. To return all users in a multi-domain fill customer field instead.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "1" and "500".
+ ///
+ /// [orderBy] - Column to use for sorting results
+ /// Possible string values are:
+ /// - "orderByUndefined"
+ /// - "email" : Primary email of the user.
+ /// - "familyName" : User's family name.
+ /// - "givenName" : User's given name.
+ ///
/// [pageToken] - Token to specify next page in the list
///
+ /// [projection] - What subset of fields to fetch for this user.
+ /// Possible string values are:
+ /// - "projectionUndefined"
+ /// - "basic" : Do not include any custom fields for the user.
+ /// - "custom" : Include custom fields from schemas mentioned in
+ /// customFieldMask.
+ /// - "full" : Include all fields associated with this user.
+ ///
+ /// [query] - Query string search. Should be of the form "". Complete
+ /// documentation is at https:
+ /// //developers.google.com/admin-sdk/directory/v1/guides/search-users
+ ///
+ /// [showDeleted] - If set to true, retrieves the list of deleted users.
+ /// (Default: false)
+ ///
/// [sortOrder] - Whether to return results in ascending or descending order.
/// Possible string values are:
/// - "SORT_ORDER_UNDEFINED"
@@ -5906,34 +5934,6 @@
/// - "admin_view" : Fetches the ADMIN_VIEW of the user.
/// - "domain_public" : Fetches the DOMAIN_PUBLIC view of the user.
///
- /// [orderBy] - Column to use for sorting results
- /// Possible string values are:
- /// - "orderByUndefined"
- /// - "email" : Primary email of the user.
- /// - "familyName" : User's family name.
- /// - "givenName" : User's given name.
- ///
- /// [showDeleted] - If set to true, retrieves the list of deleted users.
- /// (Default: false)
- ///
- /// [query] - Query string search. Should be of the form "". Complete
- /// documentation is at https:
- /// //developers.google.com/admin-sdk/directory/v1/guides/search-users
- ///
- /// [projection] - What subset of fields to fetch for this user.
- /// Possible string values are:
- /// - "projectionUndefined"
- /// - "basic" : Do not include any custom fields for the user.
- /// - "custom" : Include custom fields from schemas mentioned in
- /// customFieldMask.
- /// - "full" : Include all fields associated with this user.
- ///
- /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
- /// to fetch all users for a customer, fill this field instead of domain.
- ///
- /// [customFieldMask] - Comma-separated list of schema names. All fields from
- /// these schemas are fetched. This should only be set when projection=custom.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5945,17 +5945,17 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Users> list({
- core.int maxResults,
+ core.String customFieldMask,
+ core.String customer,
core.String domain,
+ core.int maxResults,
+ core.String orderBy,
core.String pageToken,
+ core.String projection,
+ core.String query,
+ core.String showDeleted,
core.String sortOrder,
core.String viewType,
- core.String orderBy,
- core.String showDeleted,
- core.String query,
- core.String projection,
- core.String customer,
- core.String customFieldMask,
core.String $fields,
}) {
core.String _url;
@@ -5965,39 +5965,39 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (customFieldMask != null) {
+ _queryParams['customFieldMask'] = [customFieldMask];
+ }
+ if (customer != null) {
+ _queryParams['customer'] = [customer];
}
if (domain != null) {
_queryParams['domain'] = [domain];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
+ }
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = [showDeleted];
+ }
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
if (viewType != null) {
_queryParams['viewType'] = [viewType];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (showDeleted != null) {
- _queryParams['showDeleted'] = [showDeleted];
- }
- if (query != null) {
- _queryParams['query'] = [query];
- }
- if (projection != null) {
- _queryParams['projection'] = [projection];
- }
- if (customer != null) {
- _queryParams['customer'] = [customer];
- }
- if (customFieldMask != null) {
- _queryParams['customFieldMask'] = [customFieldMask];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6299,26 +6299,16 @@
///
/// Request parameters:
///
- /// [viewType] - Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the
- /// user.
- /// Possible string values are:
- /// - "admin_view" : Fetches the ADMIN_VIEW of the user.
- /// - "domain_public" : Fetches the DOMAIN_PUBLIC view of the user.
+ /// [customFieldMask] - Comma-separated list of schema names. All fields from
+ /// these schemas are fetched. This should only be set when projection=custom.
///
- /// [query] - Query string search. Should be of the form "". Complete
- /// documentation is at https:
- /// //developers.google.com/admin-sdk/directory/v1/guides/search-users
+ /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
+ /// to fetch all users for a customer, fill this field instead of domain.
///
/// [domain] - Name of the domain. Fill this field to get users from only this
/// domain. To return all users in a multi-domain fill customer field
/// instead."
///
- /// [sortOrder] - Whether to return results in ascending or descending order.
- /// Possible string values are:
- /// - "sortOrderUnspecified"
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
- ///
/// [event] - Event on which subscription is intended
/// Possible string values are:
/// - "eventTypeUnspecified"
@@ -6328,10 +6318,8 @@
/// - "undelete" : User Undeleted Event
/// - "update" : User Updated Event
///
- /// [pageToken] - Token to specify next page in the list
- ///
- /// [customer] - Immutable ID of the G Suite account. In case of multi-domain,
- /// to fetch all users for a customer, fill this field instead of domain.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "1" and "500".
///
/// [orderBy] - Column to use for sorting results
/// Possible string values are:
@@ -6340,14 +6328,7 @@
/// - "familyName" : User's family name.
/// - "givenName" : User's given name.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "1" and "500".
- ///
- /// [customFieldMask] - Comma-separated list of schema names. All fields from
- /// these schemas are fetched. This should only be set when projection=custom.
- ///
- /// [showDeleted] - If set to true, retrieves the list of deleted users.
- /// (Default: false)
+ /// [pageToken] - Token to specify next page in the list
///
/// [projection] - What subset of fields to fetch for this user.
/// Possible string values are:
@@ -6357,6 +6338,25 @@
/// customFieldMask.
/// - "full" : Include all fields associated with this user.
///
+ /// [query] - Query string search. Should be of the form "". Complete
+ /// documentation is at https:
+ /// //developers.google.com/admin-sdk/directory/v1/guides/search-users
+ ///
+ /// [showDeleted] - If set to true, retrieves the list of deleted users.
+ /// (Default: false)
+ ///
+ /// [sortOrder] - Whether to return results in ascending or descending order.
+ /// Possible string values are:
+ /// - "sortOrderUnspecified"
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
+ ///
+ /// [viewType] - Whether to fetch the ADMIN_VIEW or DOMAIN_PUBLIC view of the
+ /// user.
+ /// Possible string values are:
+ /// - "admin_view" : Fetches the ADMIN_VIEW of the user.
+ /// - "domain_public" : Fetches the DOMAIN_PUBLIC view of the user.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6369,18 +6369,18 @@
/// this method will complete with the same error.
async.Future<Channel> watch(
Channel request, {
- core.String viewType,
- core.String query,
- core.String domain,
- core.String sortOrder,
- core.String event,
- core.String pageToken,
- core.String customer,
- core.String orderBy,
- core.int maxResults,
core.String customFieldMask,
- core.String showDeleted,
+ core.String customer,
+ core.String domain,
+ core.String event,
+ core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
core.String projection,
+ core.String query,
+ core.String showDeleted,
+ core.String sortOrder,
+ core.String viewType,
core.String $fields,
}) {
core.String _url;
@@ -6393,41 +6393,41 @@
if (request != null) {
_body = convert.json.encode(request.toJson());
}
- if (viewType != null) {
- _queryParams['viewType'] = [viewType];
- }
- if (query != null) {
- _queryParams['query'] = [query];
- }
- if (domain != null) {
- _queryParams['domain'] = [domain];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (event != null) {
- _queryParams['event'] = [event];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (customFieldMask != null) {
+ _queryParams['customFieldMask'] = [customFieldMask];
}
if (customer != null) {
_queryParams['customer'] = [customer];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (domain != null) {
+ _queryParams['domain'] = [domain];
+ }
+ if (event != null) {
+ _queryParams['event'] = [event];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (customFieldMask != null) {
- _queryParams['customFieldMask'] = [customFieldMask];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
+ }
+ if (query != null) {
+ _queryParams['query'] = [query];
}
if (showDeleted != null) {
_queryParams['showDeleted'] = [showDeleted];
}
- if (projection != null) {
- _queryParams['projection'] = [projection];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (viewType != null) {
+ _queryParams['viewType'] = [viewType];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/admin/reports_v1.dart b/generated/googleapis/lib/admin/reports_v1.dart
index 4c18a9f..99b82f3 100644
--- a/generated/googleapis/lib/admin/reports_v1.dart
+++ b/generated/googleapis/lib/admin/reports_v1.dart
@@ -134,6 +134,36 @@
/// virtual private network (VPN) address. This parameter supports both IPv4
/// and IPv6 address versions.
///
+ /// [customerId] - The unique ID of the customer to retrieve data for.
+ /// Value must have pattern "C.+".
+ ///
+ /// [endTime] - Sets the end of the range of time shown in the report. The
+ /// date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The
+ /// default value is the approximate time of the API request. An API report
+ /// has three basic time concepts: - *Date of the API's request for a report*:
+ /// When the API created and retrieved the report. - *Report's start time*:
+ /// The beginning of the timespan shown in the report. The startTime must be
+ /// before the endTime (if specified) and the current time when the request is
+ /// made, or the API returns an error. - *Report's end time*: The end of the
+ /// timespan shown in the report. For example, the timespan of events
+ /// summarized in a report can start in April and end in May. The report
+ /// itself can be requested in August. If the endTime is not specified, the
+ /// report returns all activities from the startTime until the current time or
+ /// the most recent 180 days if the startTime is more than 180 days in the
+ /// past.
+ /// Value must have pattern
+ /// "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
+ ///
+ /// [eventName] - The name of the event being queried by the API. Each
+ /// eventName is related to a specific G Suite service or feature which the
+ /// API organizes into types of events. An example is the Google Calendar
+ /// events in the Admin console application's reports. The Calendar Settings
+ /// type structure has all of the Calendar eventName activities reported by
+ /// the API. When an administrator changes a Calendar setting, the API reports
+ /// this activity in the Calendar Settings type and eventName parameters. For
+ /// more information about eventName query strings and parameters, see the
+ /// list of event names for various applications above in applicationName.
+ ///
/// [filters] - The filters query string is a comma-separated list. The list
/// is composed of event parameters that are manipulated by relational
/// operators. Event parameters are in the form parameter1 name[parameter1
@@ -168,41 +198,6 @@
/// Value must have pattern
/// "(.+[<,<=,==,>=,>,<>].+,)*(.+[<,<=,==,>=,>,<>].+)".
///
- /// [startTime] - Sets the beginning of the range of time shown in the report.
- /// The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z.
- /// The report returns all activities from startTime until endTime. The
- /// startTime must be before the endTime (if specified) and the current time
- /// when the request is made, or the API returns an error.
- /// Value must have pattern
- /// "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
- ///
- /// [orgUnitID] - ID of the organizational unit to report on. Activity records
- /// will be shown only for users who belong to the specified organizational
- /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
- /// Value must have pattern "(id:[a-z0-9]+)".
- ///
- /// [endTime] - Sets the end of the range of time shown in the report. The
- /// date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The
- /// default value is the approximate time of the API request. An API report
- /// has three basic time concepts: - *Date of the API's request for a report*:
- /// When the API created and retrieved the report. - *Report's start time*:
- /// The beginning of the timespan shown in the report. The startTime must be
- /// before the endTime (if specified) and the current time when the request is
- /// made, or the API returns an error. - *Report's end time*: The end of the
- /// timespan shown in the report. For example, the timespan of events
- /// summarized in a report can start in April and end in May. The report
- /// itself can be requested in August. If the endTime is not specified, the
- /// report returns all activities from the startTime until the current time or
- /// the most recent 180 days if the startTime is more than 180 days in the
- /// past.
- /// Value must have pattern
- /// "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
- ///
- /// [pageToken] - The token to specify next page. A report with multiple pages
- /// has a nextPageToken property in the response. In your follow-on request
- /// getting the next page of the report, enter the nextPageToken value in the
- /// pageToken query string.
- ///
/// [maxResults] - Determines how many activity records are shown on each
/// response page. For example, if the request sets maxResults=1 and the
/// report has two activities, the report has two pages. The response's
@@ -210,18 +205,23 @@
/// query string is optional in the request. The default value is 1000.
/// Value must be between "1" and "1000".
///
- /// [customerId] - The unique ID of the customer to retrieve data for.
- /// Value must have pattern "C.+".
+ /// [orgUnitID] - ID of the organizational unit to report on. Activity records
+ /// will be shown only for users who belong to the specified organizational
+ /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
+ /// Value must have pattern "(id:[a-z0-9]+)".
///
- /// [eventName] - The name of the event being queried by the API. Each
- /// eventName is related to a specific G Suite service or feature which the
- /// API organizes into types of events. An example is the Google Calendar
- /// events in the Admin console application's reports. The Calendar Settings
- /// type structure has all of the Calendar eventName activities reported by
- /// the API. When an administrator changes a Calendar setting, the API reports
- /// this activity in the Calendar Settings type and eventName parameters. For
- /// more information about eventName query strings and parameters, see the
- /// list of event names for various applications above in applicationName.
+ /// [pageToken] - The token to specify next page. A report with multiple pages
+ /// has a nextPageToken property in the response. In your follow-on request
+ /// getting the next page of the report, enter the nextPageToken value in the
+ /// pageToken query string.
+ ///
+ /// [startTime] - Sets the beginning of the range of time shown in the report.
+ /// The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z.
+ /// The report returns all activities from startTime until endTime. The
+ /// startTime must be before the endTime (if specified) and the current time
+ /// when the request is made, or the API returns an error.
+ /// Value must have pattern
+ /// "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -237,14 +237,14 @@
core.String userKey,
core.String applicationName, {
core.String actorIpAddress,
- core.String filters,
- core.String startTime,
- core.String orgUnitID,
- core.String endTime,
- core.String pageToken,
- core.int maxResults,
core.String customerId,
+ core.String endTime,
core.String eventName,
+ core.String filters,
+ core.int maxResults,
+ core.String orgUnitID,
+ core.String pageToken,
+ core.String startTime,
core.String $fields,
}) {
core.String _url;
@@ -263,29 +263,29 @@
if (actorIpAddress != null) {
_queryParams['actorIpAddress'] = [actorIpAddress];
}
- if (filters != null) {
- _queryParams['filters'] = [filters];
- }
- if (startTime != null) {
- _queryParams['startTime'] = [startTime];
- }
- if (orgUnitID != null) {
- _queryParams['orgUnitID'] = [orgUnitID];
+ if (customerId != null) {
+ _queryParams['customerId'] = [customerId];
}
if (endTime != null) {
_queryParams['endTime'] = [endTime];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (eventName != null) {
+ _queryParams['eventName'] = [eventName];
+ }
+ if (filters != null) {
+ _queryParams['filters'] = [filters];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (customerId != null) {
- _queryParams['customerId'] = [customerId];
+ if (orgUnitID != null) {
+ _queryParams['orgUnitID'] = [orgUnitID];
}
- if (eventName != null) {
- _queryParams['eventName'] = [eventName];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (startTime != null) {
+ _queryParams['startTime'] = [startTime];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -369,24 +369,17 @@
/// - "chrome" : The Chrome activity reports return information about unsafe
/// events reported in the context of the WebProtect features of BeyondCorp.
///
- /// [eventName] - The name of the event being queried by the API. Each
- /// eventName is related to a specific G Suite service or feature which the
- /// API organizes into types of events. An example is the Google Calendar
- /// events in the Admin console application's reports. The Calendar Settings
- /// type structure has all of the Calendar eventName activities reported by
- /// the API. When an administrator changes a Calendar setting, the API reports
- /// this activity in the Calendar Settings type and eventName parameters. For
- /// more information about eventName query strings and parameters, see the
- /// list of event names for various applications above in applicationName.
+ /// [actorIpAddress] - The Internet Protocol (IP) Address of host where the
+ /// event was performed. This is an additional way to filter a report's
+ /// summary using the IP address of the user whose activity is being reported.
+ /// This IP address may or may not reflect the user's physical location. For
+ /// example, the IP address can be the user's proxy server's address or a
+ /// virtual private network (VPN) address. This parameter supports both IPv4
+ /// and IPv6 address versions.
///
/// [customerId] - The unique ID of the customer to retrieve data for.
/// Value must have pattern "C.+".
///
- /// [orgUnitID] - ID of the organizational unit to report on. Activity records
- /// will be shown only for users who belong to the specified organizational
- /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
- /// Value must have pattern "(id:[a-z0-9]+)".
- ///
/// [endTime] - Sets the end of the range of time shown in the report. The
/// date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The
/// default value is the approximate time of the API request. An API report
@@ -404,6 +397,16 @@
/// Value must have pattern
/// "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\d):(\d\d))".
///
+ /// [eventName] - The name of the event being queried by the API. Each
+ /// eventName is related to a specific G Suite service or feature which the
+ /// API organizes into types of events. An example is the Google Calendar
+ /// events in the Admin console application's reports. The Calendar Settings
+ /// type structure has all of the Calendar eventName activities reported by
+ /// the API. When an administrator changes a Calendar setting, the API reports
+ /// this activity in the Calendar Settings type and eventName parameters. For
+ /// more information about eventName query strings and parameters, see the
+ /// list of event names for various applications above in applicationName.
+ ///
/// [filters] - The filters query string is a comma-separated list. The list
/// is composed of event parameters that are manipulated by relational
/// operators. Event parameters are in the form parameter1 name[parameter1
@@ -445,19 +448,16 @@
/// query string is optional in the request. The default value is 1000.
/// Value must be between "1" and "1000".
///
+ /// [orgUnitID] - ID of the organizational unit to report on. Activity records
+ /// will be shown only for users who belong to the specified organizational
+ /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
+ /// Value must have pattern "(id:[a-z0-9]+)".
+ ///
/// [pageToken] - The token to specify next page. A report with multiple pages
/// has a nextPageToken property in the response. In your follow-on request
/// getting the next page of the report, enter the nextPageToken value in the
/// pageToken query string.
///
- /// [actorIpAddress] - The Internet Protocol (IP) Address of host where the
- /// event was performed. This is an additional way to filter a report's
- /// summary using the IP address of the user whose activity is being reported.
- /// This IP address may or may not reflect the user's physical location. For
- /// example, the IP address can be the user's proxy server's address or a
- /// virtual private network (VPN) address. This parameter supports both IPv4
- /// and IPv6 address versions.
- ///
/// [startTime] - Sets the beginning of the range of time shown in the report.
/// The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z.
/// The report returns all activities from startTime until endTime. The
@@ -480,14 +480,14 @@
Channel request,
core.String userKey,
core.String applicationName, {
- core.String eventName,
+ core.String actorIpAddress,
core.String customerId,
- core.String orgUnitID,
core.String endTime,
+ core.String eventName,
core.String filters,
core.int maxResults,
+ core.String orgUnitID,
core.String pageToken,
- core.String actorIpAddress,
core.String startTime,
core.String $fields,
}) {
@@ -507,30 +507,30 @@
if (applicationName == null) {
throw core.ArgumentError('Parameter applicationName is required.');
}
- if (eventName != null) {
- _queryParams['eventName'] = [eventName];
+ if (actorIpAddress != null) {
+ _queryParams['actorIpAddress'] = [actorIpAddress];
}
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
- if (orgUnitID != null) {
- _queryParams['orgUnitID'] = [orgUnitID];
- }
if (endTime != null) {
_queryParams['endTime'] = [endTime];
}
+ if (eventName != null) {
+ _queryParams['eventName'] = [eventName];
+ }
if (filters != null) {
_queryParams['filters'] = [filters];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orgUnitID != null) {
+ _queryParams['orgUnitID'] = [orgUnitID];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (actorIpAddress != null) {
- _queryParams['actorIpAddress'] = [actorIpAddress];
- }
if (startTime != null) {
_queryParams['startTime'] = [startTime];
}
@@ -632,6 +632,11 @@
/// [customerId] - The unique ID of the customer to retrieve data for.
/// Value must have pattern "C.+".
///
+ /// [pageToken] - Token to specify next page. A report with multiple pages has
+ /// a nextPageToken property in the response. For your follow-on requests
+ /// getting all of the report's pages, enter the nextPageToken value in the
+ /// pageToken query string.
+ ///
/// [parameters] - The parameters query string is a comma-separated list of
/// event parameters that refine a report's results. The parameter is
/// associated with a specific application. The application values for the
@@ -650,11 +655,6 @@
/// Value must have pattern
/// "(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+,)*(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)|(meet)):[^,]+)".
///
- /// [pageToken] - Token to specify next page. A report with multiple pages has
- /// a nextPageToken property in the response. For your follow-on requests
- /// getting all of the report's pages, enter the nextPageToken value in the
- /// pageToken query string.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -668,8 +668,8 @@
async.Future<UsageReports> get(
core.String date, {
core.String customerId,
- core.String parameters,
core.String pageToken,
+ core.String parameters,
core.String $fields,
}) {
core.String _url;
@@ -685,12 +685,12 @@
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
- if (parameters != null) {
- _queryParams['parameters'] = [parameters];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (parameters != null) {
+ _queryParams['parameters'] = [parameters];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -743,6 +743,9 @@
/// for this.
/// Value must have pattern "(\d){4}-(\d){2}-(\d){2}".
///
+ /// [customerId] - The unique ID of the customer to retrieve data for.
+ /// Value must have pattern "C.+".
+ ///
/// [filters] - The filters query string is a comma-separated list of an
/// application's event parameters where the parameter's value is manipulated
/// by a relational operator. The filters query string includes the name of
@@ -768,6 +771,11 @@
/// nextPageToken property has the token to the second page.
/// Value must be between "1" and "1000".
///
+ /// [pageToken] - Token to specify next page. A report with multiple pages has
+ /// a nextPageToken property in the response. In your follow-on request
+ /// getting the next page of the report, enter the nextPageToken value in the
+ /// pageToken query string.
+ ///
/// [parameters] - The parameters query string is a comma-separated list of
/// event parameters that refine a report's results. The parameter is
/// associated with a specific application. The application values for the
@@ -783,14 +791,6 @@
/// are requested, all parameters are returned.
/// Value must have pattern "(((gplus)):[^,]+,)*(((gplus)):[^,]+)".
///
- /// [pageToken] - Token to specify next page. A report with multiple pages has
- /// a nextPageToken property in the response. In your follow-on request
- /// getting the next page of the report, enter the nextPageToken value in the
- /// pageToken query string.
- ///
- /// [customerId] - The unique ID of the customer to retrieve data for.
- /// Value must have pattern "C.+".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -805,11 +805,11 @@
core.String entityType,
core.String entityKey,
core.String date, {
+ core.String customerId,
core.String filters,
core.int maxResults,
- core.String parameters,
core.String pageToken,
- core.String customerId,
+ core.String parameters,
core.String $fields,
}) {
core.String _url;
@@ -828,20 +828,20 @@
if (date == null) {
throw core.ArgumentError('Parameter date is required.');
}
+ if (customerId != null) {
+ _queryParams['customerId'] = [customerId];
+ }
if (filters != null) {
_queryParams['filters'] = [filters];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (parameters != null) {
- _queryParams['parameters'] = [parameters];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (customerId != null) {
- _queryParams['customerId'] = [customerId];
+ if (parameters != null) {
+ _queryParams['parameters'] = [parameters];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -888,44 +888,9 @@
/// for this.
/// Value must have pattern "(\d){4}-(\d){2}-(\d){2}".
///
- /// [maxResults] - Determines how many activity records are shown on each
- /// response page. For example, if the request sets maxResults=1 and the
- /// report has two activities, the report has two pages. The response's
- /// nextPageToken property has the token to the second page. The maxResults
- /// query string is optional.
- /// Value must be between "1" and "1000".
- ///
/// [customerId] - The unique ID of the customer to retrieve data for.
/// Value must have pattern "C.+".
///
- /// [orgUnitID] - ID of the organizational unit to report on. User activity
- /// will be shown only for users who belong to the specified organizational
- /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
- /// Value must have pattern "(id:[a-z0-9]+)".
- ///
- /// [parameters] - The parameters query string is a comma-separated list of
- /// event parameters that refine a report's results. The parameter is
- /// associated with a specific application. The application values for the
- /// Customers usage report include accounts, app_maker, apps_scripts,
- /// calendar, classroom, cros, docs, gmail, gplus, device_management, meet,
- /// and sites. A parameters query string is in the CSV form of
- /// app_name1:param_name1, app_name2:param_name2. *Note:* The API doesn't
- /// accept multiple values of a parameter. If a particular parameter is
- /// supplied more than once in the API request, the API only accepts the last
- /// value of that request parameter. In addition, if an invalid request
- /// parameter is supplied in the API request, the API ignores that request
- /// parameter and returns the response corresponding to the remaining valid
- /// request parameters. An example of an invalid request parameter is one that
- /// does not belong to the application. If no parameters are requested, all
- /// parameters are returned.
- /// Value must have pattern
- /// "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
- ///
- /// [pageToken] - Token to specify next page. A report with multiple pages has
- /// a nextPageToken property in the response. In your follow-on request
- /// getting the next page of the report, enter the nextPageToken value in the
- /// pageToken query string.
- ///
/// [filters] - The filters query string is a comma-separated list of an
/// application's event parameters where the parameter's value is manipulated
/// by a relational operator. The filters query string includes the name of
@@ -945,6 +910,41 @@
/// Value must have pattern
/// "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)".
///
+ /// [maxResults] - Determines how many activity records are shown on each
+ /// response page. For example, if the request sets maxResults=1 and the
+ /// report has two activities, the report has two pages. The response's
+ /// nextPageToken property has the token to the second page. The maxResults
+ /// query string is optional.
+ /// Value must be between "1" and "1000".
+ ///
+ /// [orgUnitID] - ID of the organizational unit to report on. User activity
+ /// will be shown only for users who belong to the specified organizational
+ /// unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
+ /// Value must have pattern "(id:[a-z0-9]+)".
+ ///
+ /// [pageToken] - Token to specify next page. A report with multiple pages has
+ /// a nextPageToken property in the response. In your follow-on request
+ /// getting the next page of the report, enter the nextPageToken value in the
+ /// pageToken query string.
+ ///
+ /// [parameters] - The parameters query string is a comma-separated list of
+ /// event parameters that refine a report's results. The parameter is
+ /// associated with a specific application. The application values for the
+ /// Customers usage report include accounts, app_maker, apps_scripts,
+ /// calendar, classroom, cros, docs, gmail, gplus, device_management, meet,
+ /// and sites. A parameters query string is in the CSV form of
+ /// app_name1:param_name1, app_name2:param_name2. *Note:* The API doesn't
+ /// accept multiple values of a parameter. If a particular parameter is
+ /// supplied more than once in the API request, the API only accepts the last
+ /// value of that request parameter. In addition, if an invalid request
+ /// parameter is supplied in the API request, the API ignores that request
+ /// parameter and returns the response corresponding to the remaining valid
+ /// request parameters. An example of an invalid request parameter is one that
+ /// does not belong to the application. If no parameters are requested, all
+ /// parameters are returned.
+ /// Value must have pattern
+ /// "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -958,12 +958,12 @@
async.Future<UsageReports> get(
core.String userKey,
core.String date, {
- core.int maxResults,
core.String customerId,
- core.String orgUnitID,
- core.String parameters,
- core.String pageToken,
core.String filters,
+ core.int maxResults,
+ core.String orgUnitID,
+ core.String pageToken,
+ core.String parameters,
core.String $fields,
}) {
core.String _url;
@@ -979,23 +979,23 @@
if (date == null) {
throw core.ArgumentError('Parameter date is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
+ if (filters != null) {
+ _queryParams['filters'] = [filters];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orgUnitID != null) {
_queryParams['orgUnitID'] = [orgUnitID];
}
- if (parameters != null) {
- _queryParams['parameters'] = [parameters];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filters != null) {
- _queryParams['filters'] = [filters];
+ if (parameters != null) {
+ _queryParams['parameters'] = [parameters];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/adsense/v1_4.dart b/generated/googleapis/lib/adsense/v1_4.dart
index ef976cb..854100b 100644
--- a/generated/googleapis/lib/adsense/v1_4.dart
+++ b/generated/googleapis/lib/adsense/v1_4.dart
@@ -146,14 +146,14 @@
///
/// Request parameters:
///
- /// [pageToken] - A continuation token, used to page through accounts. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of accounts to include in the response,
/// used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through accounts. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -165,8 +165,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Accounts> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -176,12 +176,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -488,14 +488,14 @@
///
/// [includeInactive] - Whether to include inactive ad units. Default: true.
///
- /// [pageToken] - A continuation token, used to page through ad units. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of ad units to include in the response,
/// used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through ad units. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -510,8 +510,8 @@
core.String accountId,
core.String adClientId, {
core.bool includeInactive,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -530,12 +530,12 @@
if (includeInactive != null) {
_queryParams['includeInactive'] = ['${includeInactive}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1097,38 +1097,38 @@
/// Value must have pattern
/// "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)|(latest-(\d{2})-(\d{2})(-\d+y)?)|(latest-latest-(\d{2})(-\d+m)?)".
///
- /// [useTimezoneReporting] - Whether the report should be generated in the
- /// AdSense account's local timezone. If false default PST/PDT timezone will
- /// be used.
+ /// [currency] - Optional currency to use when reporting on monetary metrics.
+ /// Defaults to the account's currency if not set.
+ /// Value must have pattern "[a-zA-Z]+".
+ ///
+ /// [dimension] - Dimensions to base the report on.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
+ /// [filter] - Filters to be run on the report.
+ /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
///
/// [locale] - Optional locale to use for translating report output to a local
/// language. Defaults to "en_US" if not specified.
/// Value must have pattern "[a-zA-Z_]+".
///
- /// [currency] - Optional currency to use when reporting on monetary metrics.
- /// Defaults to the account's currency if not set.
- /// Value must have pattern "[a-zA-Z]+".
- ///
- /// [filter] - Filters to be run on the report.
- /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
- ///
/// [maxResults] - The maximum number of rows of report data to return.
/// Value must be between "0" and "50000".
///
+ /// [metric] - Numeric columns to include in the report.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
/// [sort] - The name of a dimension or metric to sort the resulting report
/// on, optionally prefixed with "+" to sort ascending or "-" to sort
/// descending. If no prefix is specified, the column is sorted ascending.
/// Value must have pattern "(\+|-)?[a-zA-Z_]+".
///
- /// [dimension] - Dimensions to base the report on.
- /// Value must have pattern "[a-zA-Z_]+".
- ///
- /// [metric] - Numeric columns to include in the report.
- /// Value must have pattern "[a-zA-Z_]+".
- ///
/// [startIndex] - Index of the first row of report data to return.
/// Value must be between "0" and "5000".
///
+ /// [useTimezoneReporting] - Whether the report should be generated in the
+ /// AdSense account's local timezone. If false default PST/PDT timezone will
+ /// be used.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1152,15 +1152,15 @@
core.String accountId,
core.String startDate,
core.String endDate, {
- core.bool useTimezoneReporting,
- core.String locale,
core.String currency,
- core.List<core.String> filter,
- core.int maxResults,
- core.List<core.String> sort,
core.List<core.String> dimension,
+ core.List<core.String> filter,
+ core.String locale,
+ core.int maxResults,
core.List<core.String> metric,
+ core.List<core.String> sort,
core.int startIndex,
+ core.bool useTimezoneReporting,
core.String $fields,
commons.DownloadOptions downloadOptions = commons.DownloadOptions.Metadata,
}) {
@@ -1182,33 +1182,33 @@
throw core.ArgumentError('Parameter endDate is required.');
}
_queryParams['endDate'] = [endDate];
- if (useTimezoneReporting != null) {
- _queryParams['useTimezoneReporting'] = ['${useTimezoneReporting}'];
- }
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if (currency != null) {
_queryParams['currency'] = [currency];
}
- if (filter != null) {
- _queryParams['filter'] = filter;
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (sort != null) {
- _queryParams['sort'] = sort;
- }
if (dimension != null) {
_queryParams['dimension'] = dimension;
}
+ if (filter != null) {
+ _queryParams['filter'] = filter;
+ }
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (metric != null) {
_queryParams['metric'] = metric;
}
+ if (sort != null) {
+ _queryParams['sort'] = sort;
+ }
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
}
+ if (useTimezoneReporting != null) {
+ _queryParams['useTimezoneReporting'] = ['${useTimezoneReporting}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1252,9 +1252,6 @@
///
/// [savedReportId] - The saved report to retrieve.
///
- /// [startIndex] - Index of the first row of report data to return.
- /// Value must be between "0" and "5000".
- ///
/// [locale] - Optional locale to use for translating report output to a local
/// language. Defaults to "en_US" if not specified.
/// Value must have pattern "[a-zA-Z_]+".
@@ -1262,6 +1259,9 @@
/// [maxResults] - The maximum number of rows of report data to return.
/// Value must be between "0" and "50000".
///
+ /// [startIndex] - Index of the first row of report data to return.
+ /// Value must be between "0" and "5000".
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1275,9 +1275,9 @@
async.Future<AdsenseReportsGenerateResponse> generate(
core.String accountId,
core.String savedReportId, {
- core.int startIndex,
core.String locale,
core.int maxResults,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -1293,15 +1293,15 @@
if (savedReportId == null) {
throw core.ArgumentError('Parameter savedReportId is required.');
}
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
if (locale != null) {
_queryParams['locale'] = [locale];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1330,14 +1330,14 @@
///
/// [accountId] - Account to which the saved reports belong.
///
- /// [pageToken] - A continuation token, used to page through saved reports. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of saved reports to include in the
/// response, used for paging.
/// Value must be between "0" and "100".
///
+ /// [pageToken] - A continuation token, used to page through saved reports. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1350,8 +1350,8 @@
/// this method will complete with the same error.
async.Future<SavedReports> list(
core.String accountId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1364,12 +1364,12 @@
if (accountId == null) {
throw core.ArgumentError('Parameter accountId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1796,6 +1796,8 @@
///
/// [adClientId] - Ad client for which to list ad units.
///
+ /// [includeInactive] - Whether to include inactive ad units. Default: true.
+ ///
/// [maxResults] - The maximum number of ad units to include in the response,
/// used for paging.
/// Value must be between "0" and "10000".
@@ -1804,8 +1806,6 @@
/// retrieve the next page, set this parameter to the value of "nextPageToken"
/// from the previous response.
///
- /// [includeInactive] - Whether to include inactive ad units. Default: true.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1818,9 +1818,9 @@
/// this method will complete with the same error.
async.Future<AdUnits> list(
core.String adClientId, {
+ core.bool includeInactive,
core.int maxResults,
core.String pageToken,
- core.bool includeInactive,
core.String $fields,
}) {
core.String _url;
@@ -1833,15 +1833,15 @@
if (adClientId == null) {
throw core.ArgumentError('Parameter adClientId is required.');
}
+ if (includeInactive != null) {
+ _queryParams['includeInactive'] = ['${includeInactive}'];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (includeInactive != null) {
- _queryParams['includeInactive'] = ['${includeInactive}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1877,14 +1877,14 @@
///
/// [adUnitId] - Ad unit for which to list custom channels.
///
- /// [pageToken] - A continuation token, used to page through custom channels.
- /// To retrieve the next page, set this parameter to the value of
- /// "nextPageToken" from the previous response.
- ///
/// [maxResults] - The maximum number of custom channels to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through custom channels.
+ /// To retrieve the next page, set this parameter to the value of
+ /// "nextPageToken" from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1898,8 +1898,8 @@
async.Future<CustomChannels> list(
core.String adClientId,
core.String adUnitId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1915,12 +1915,12 @@
if (adUnitId == null) {
throw core.ArgumentError('Parameter adUnitId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2120,14 +2120,14 @@
///
/// [adClientId] - Ad client for which to list custom channels.
///
- /// [pageToken] - A continuation token, used to page through custom channels.
- /// To retrieve the next page, set this parameter to the value of
- /// "nextPageToken" from the previous response.
- ///
/// [maxResults] - The maximum number of custom channels to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through custom channels.
+ /// To retrieve the next page, set this parameter to the value of
+ /// "nextPageToken" from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2140,8 +2140,8 @@
/// this method will complete with the same error.
async.Future<CustomChannels> list(
core.String adClientId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2154,12 +2154,12 @@
if (adClientId == null) {
throw core.ArgumentError('Parameter adClientId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2195,16 +2195,16 @@
///
/// [customChannelId] - Custom channel for which to list ad units.
///
- /// [pageToken] - A continuation token, used to page through ad units. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [includeInactive] - Whether to include inactive ad units. Default: true.
///
/// [maxResults] - The maximum number of ad units to include in the response,
/// used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through ad units. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2218,9 +2218,9 @@
async.Future<AdUnits> list(
core.String adClientId,
core.String customChannelId, {
- core.String pageToken,
core.bool includeInactive,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2236,15 +2236,15 @@
if (customChannelId == null) {
throw core.ArgumentError('Parameter customChannelId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (includeInactive != null) {
_queryParams['includeInactive'] = ['${includeInactive}'];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2447,39 +2447,39 @@
/// Value must have pattern
/// "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)|(latest-(\d{2})-(\d{2})(-\d+y)?)|(latest-latest-(\d{2})(-\d+m)?)".
///
- /// [metric] - Numeric columns to include in the report.
- /// Value must have pattern "[a-zA-Z_]+".
- ///
/// [accountId] - Accounts upon which to report.
///
/// [currency] - Optional currency to use when reporting on monetary metrics.
/// Defaults to the account's currency if not set.
/// Value must have pattern "[a-zA-Z]+".
///
+ /// [dimension] - Dimensions to base the report on.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
+ /// [filter] - Filters to be run on the report.
+ /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
+ ///
/// [locale] - Optional locale to use for translating report output to a local
/// language. Defaults to "en_US" if not specified.
/// Value must have pattern "[a-zA-Z_]+".
///
- /// [useTimezoneReporting] - Whether the report should be generated in the
- /// AdSense account's local timezone. If false default PST/PDT timezone will
- /// be used.
- ///
- /// [startIndex] - Index of the first row of report data to return.
- /// Value must be between "0" and "5000".
- ///
/// [maxResults] - The maximum number of rows of report data to return.
/// Value must be between "0" and "50000".
///
+ /// [metric] - Numeric columns to include in the report.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
/// [sort] - The name of a dimension or metric to sort the resulting report
/// on, optionally prefixed with "+" to sort ascending or "-" to sort
/// descending. If no prefix is specified, the column is sorted ascending.
/// Value must have pattern "(\+|-)?[a-zA-Z_]+".
///
- /// [dimension] - Dimensions to base the report on.
- /// Value must have pattern "[a-zA-Z_]+".
+ /// [startIndex] - Index of the first row of report data to return.
+ /// Value must be between "0" and "5000".
///
- /// [filter] - Filters to be run on the report.
- /// Value must have pattern "[a-zA-Z_]+(==|=@).+".
+ /// [useTimezoneReporting] - Whether the report should be generated in the
+ /// AdSense account's local timezone. If false default PST/PDT timezone will
+ /// be used.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2503,16 +2503,16 @@
async.Future generate(
core.String startDate,
core.String endDate, {
- core.List<core.String> metric,
core.List<core.String> accountId,
core.String currency,
- core.String locale,
- core.bool useTimezoneReporting,
- core.int startIndex,
- core.int maxResults,
- core.List<core.String> sort,
core.List<core.String> dimension,
core.List<core.String> filter,
+ core.String locale,
+ core.int maxResults,
+ core.List<core.String> metric,
+ core.List<core.String> sort,
+ core.int startIndex,
+ core.bool useTimezoneReporting,
core.String $fields,
commons.DownloadOptions downloadOptions = commons.DownloadOptions.Metadata,
}) {
@@ -2531,36 +2531,36 @@
throw core.ArgumentError('Parameter endDate is required.');
}
_queryParams['endDate'] = [endDate];
- if (metric != null) {
- _queryParams['metric'] = metric;
- }
if (accountId != null) {
_queryParams['accountId'] = accountId;
}
if (currency != null) {
_queryParams['currency'] = [currency];
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
- if (useTimezoneReporting != null) {
- _queryParams['useTimezoneReporting'] = ['${useTimezoneReporting}'];
- }
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (sort != null) {
- _queryParams['sort'] = sort;
- }
if (dimension != null) {
_queryParams['dimension'] = dimension;
}
if (filter != null) {
_queryParams['filter'] = filter;
}
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (metric != null) {
+ _queryParams['metric'] = metric;
+ }
+ if (sort != null) {
+ _queryParams['sort'] = sort;
+ }
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
+ }
+ if (useTimezoneReporting != null) {
+ _queryParams['useTimezoneReporting'] = ['${useTimezoneReporting}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2600,15 +2600,15 @@
///
/// [savedReportId] - The saved report to retrieve.
///
- /// [startIndex] - Index of the first row of report data to return.
- /// Value must be between "0" and "5000".
+ /// [locale] - Optional locale to use for translating report output to a local
+ /// language. Defaults to "en_US" if not specified.
+ /// Value must have pattern "[a-zA-Z_]+".
///
/// [maxResults] - The maximum number of rows of report data to return.
/// Value must be between "0" and "50000".
///
- /// [locale] - Optional locale to use for translating report output to a local
- /// language. Defaults to "en_US" if not specified.
- /// Value must have pattern "[a-zA-Z_]+".
+ /// [startIndex] - Index of the first row of report data to return.
+ /// Value must be between "0" and "5000".
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2622,9 +2622,9 @@
/// this method will complete with the same error.
async.Future<AdsenseReportsGenerateResponse> generate(
core.String savedReportId, {
- core.int startIndex,
- core.int maxResults,
core.String locale,
+ core.int maxResults,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -2637,14 +2637,14 @@
if (savedReportId == null) {
throw core.ArgumentError('Parameter savedReportId is required.');
}
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2669,14 +2669,14 @@
///
/// Request parameters:
///
- /// [pageToken] - A continuation token, used to page through saved reports. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of saved reports to include in the
/// response, used for paging.
/// Value must be between "0" and "100".
///
+ /// [pageToken] - A continuation token, used to page through saved reports. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2688,8 +2688,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SavedReports> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2699,12 +2699,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2781,14 +2781,14 @@
///
/// Request parameters:
///
- /// [pageToken] - A continuation token, used to page through saved ad styles.
- /// To retrieve the next page, set this parameter to the value of
- /// "nextPageToken" from the previous response.
- ///
/// [maxResults] - The maximum number of saved ad styles to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through saved ad styles.
+ /// To retrieve the next page, set this parameter to the value of
+ /// "nextPageToken" from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2800,8 +2800,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SavedAdStyles> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2811,12 +2811,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2847,14 +2847,14 @@
///
/// [adClientId] - Ad client for which to list URL channels.
///
- /// [pageToken] - A continuation token, used to page through URL channels. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of URL channels to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through URL channels. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2867,8 +2867,8 @@
/// this method will complete with the same error.
async.Future<UrlChannels> list(
core.String adClientId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2881,12 +2881,12 @@
if (adClientId == null) {
throw core.ArgumentError('Parameter adClientId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/adsensehost/v4_1.dart b/generated/googleapis/lib/adsensehost/v4_1.dart
index b9ce7e1..0f759fe 100644
--- a/generated/googleapis/lib/adsensehost/v4_1.dart
+++ b/generated/googleapis/lib/adsensehost/v4_1.dart
@@ -576,14 +576,14 @@
///
/// [includeInactive] - Whether to include inactive ad units. Default: true.
///
- /// [pageToken] - A continuation token, used to page through ad units. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of ad units to include in the response,
/// used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through ad units. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -598,8 +598,8 @@
core.String accountId,
core.String adClientId, {
core.bool includeInactive,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -618,12 +618,12 @@
if (includeInactive != null) {
_queryParams['includeInactive'] = ['${includeInactive}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -806,16 +806,19 @@
/// Value must have pattern
/// "\d{4}-\d{2}-\d{2}|(today|startOfMonth|startOfYear)(([\-\+]\d+[dwmy]){0,3}?)".
///
+ /// [dimension] - Dimensions to base the report on.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
/// [filter] - Filters to be run on the report.
/// Value must have pattern "[a-zA-Z_]+(==|=@).+".
///
- /// [startIndex] - Index of the first row of report data to return.
- /// Value must be between "0" and "5000".
- ///
/// [locale] - Optional locale to use for translating report output to a local
/// language. Defaults to "en_US" if not specified.
/// Value must have pattern "[a-zA-Z_]+".
///
+ /// [maxResults] - The maximum number of rows of report data to return.
+ /// Value must be between "0" and "50000".
+ ///
/// [metric] - Numeric columns to include in the report.
/// Value must have pattern "[a-zA-Z_]+".
///
@@ -824,11 +827,8 @@
/// descending. If no prefix is specified, the column is sorted ascending.
/// Value must have pattern "(\+|-)?[a-zA-Z_]+".
///
- /// [maxResults] - The maximum number of rows of report data to return.
- /// Value must be between "0" and "50000".
- ///
- /// [dimension] - Dimensions to base the report on.
- /// Value must have pattern "[a-zA-Z_]+".
+ /// [startIndex] - Index of the first row of report data to return.
+ /// Value must be between "0" and "5000".
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -844,13 +844,13 @@
core.String accountId,
core.String startDate,
core.String endDate, {
+ core.List<core.String> dimension,
core.List<core.String> filter,
- core.int startIndex,
core.String locale,
+ core.int maxResults,
core.List<core.String> metric,
core.List<core.String> sort,
- core.int maxResults,
- core.List<core.String> dimension,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -871,26 +871,26 @@
throw core.ArgumentError('Parameter endDate is required.');
}
_queryParams['endDate'] = [endDate];
+ if (dimension != null) {
+ _queryParams['dimension'] = dimension;
+ }
if (filter != null) {
_queryParams['filter'] = filter;
}
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
if (locale != null) {
_queryParams['locale'] = [locale];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (metric != null) {
_queryParams['metric'] = metric;
}
if (sort != null) {
_queryParams['sort'] = sort;
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (dimension != null) {
- _queryParams['dimension'] = dimension;
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -969,14 +969,14 @@
///
/// Request parameters:
///
- /// [pageToken] - A continuation token, used to page through ad clients. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of ad clients to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through ad clients. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -988,8 +988,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<AdClients> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -999,12 +999,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1039,14 +1039,14 @@
///
/// [websiteUrl] - The URL of the user's hosted website.
///
- /// [userLocale] - The preferred locale of the user.
- ///
- /// [websiteLocale] - The locale of the user's hosted website.
- ///
/// [callbackUrl] - The URL to redirect the user to once association is
/// completed. It receives a token parameter that can then be used to retrieve
/// the associated account.
///
+ /// [userLocale] - The preferred locale of the user.
+ ///
+ /// [websiteLocale] - The locale of the user's hosted website.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1060,9 +1060,9 @@
async.Future<AssociationSession> start(
core.List<core.String> productCode,
core.String websiteUrl, {
+ core.String callbackUrl,
core.String userLocale,
core.String websiteLocale,
- core.String callbackUrl,
core.String $fields,
}) {
core.String _url;
@@ -1080,15 +1080,15 @@
throw core.ArgumentError('Parameter websiteUrl is required.');
}
_queryParams['websiteUrl'] = [websiteUrl];
+ if (callbackUrl != null) {
+ _queryParams['callbackUrl'] = [callbackUrl];
+ }
if (userLocale != null) {
_queryParams['userLocale'] = [userLocale];
}
if (websiteLocale != null) {
_queryParams['websiteLocale'] = [websiteLocale];
}
- if (callbackUrl != null) {
- _queryParams['callbackUrl'] = [callbackUrl];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1339,14 +1339,14 @@
///
/// [adClientId] - Ad client for which to list custom channels.
///
- /// [pageToken] - A continuation token, used to page through custom channels.
- /// To retrieve the next page, set this parameter to the value of
- /// "nextPageToken" from the previous response.
- ///
/// [maxResults] - The maximum number of custom channels to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through custom channels.
+ /// To retrieve the next page, set this parameter to the value of
+ /// "nextPageToken" from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1359,8 +1359,8 @@
/// this method will complete with the same error.
async.Future<CustomChannels> list(
core.String adClientId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1373,12 +1373,12 @@
if (adClientId == null) {
throw core.ArgumentError('Parameter adClientId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1544,24 +1544,24 @@
/// [dimension] - Dimensions to base the report on.
/// Value must have pattern "[a-zA-Z_]+".
///
- /// [metric] - Numeric columns to include in the report.
- /// Value must have pattern "[a-zA-Z_]+".
- ///
/// [filter] - Filters to be run on the report.
/// Value must have pattern "[a-zA-Z_]+(==|=@).+".
///
+ /// [locale] - Optional locale to use for translating report output to a local
+ /// language. Defaults to "en_US" if not specified.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
/// [maxResults] - The maximum number of rows of report data to return.
/// Value must be between "0" and "50000".
///
+ /// [metric] - Numeric columns to include in the report.
+ /// Value must have pattern "[a-zA-Z_]+".
+ ///
/// [sort] - The name of a dimension or metric to sort the resulting report
/// on, optionally prefixed with "+" to sort ascending or "-" to sort
/// descending. If no prefix is specified, the column is sorted ascending.
/// Value must have pattern "(\+|-)?[a-zA-Z_]+".
///
- /// [locale] - Optional locale to use for translating report output to a local
- /// language. Defaults to "en_US" if not specified.
- /// Value must have pattern "[a-zA-Z_]+".
- ///
/// [startIndex] - Index of the first row of report data to return.
/// Value must be between "0" and "5000".
///
@@ -1579,11 +1579,11 @@
core.String startDate,
core.String endDate, {
core.List<core.String> dimension,
- core.List<core.String> metric,
core.List<core.String> filter,
- core.int maxResults,
- core.List<core.String> sort,
core.String locale,
+ core.int maxResults,
+ core.List<core.String> metric,
+ core.List<core.String> sort,
core.int startIndex,
core.String $fields,
}) {
@@ -1605,21 +1605,21 @@
if (dimension != null) {
_queryParams['dimension'] = dimension;
}
- if (metric != null) {
- _queryParams['metric'] = metric;
- }
if (filter != null) {
_queryParams['filter'] = filter;
}
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (metric != null) {
+ _queryParams['metric'] = metric;
+ }
if (sort != null) {
_queryParams['sort'] = sort;
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
}
@@ -1766,14 +1766,14 @@
///
/// [adClientId] - Ad client for which to list URL channels.
///
- /// [pageToken] - A continuation token, used to page through URL channels. To
- /// retrieve the next page, set this parameter to the value of "nextPageToken"
- /// from the previous response.
- ///
/// [maxResults] - The maximum number of URL channels to include in the
/// response, used for paging.
/// Value must be between "0" and "10000".
///
+ /// [pageToken] - A continuation token, used to page through URL channels. To
+ /// retrieve the next page, set this parameter to the value of "nextPageToken"
+ /// from the previous response.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1786,8 +1786,8 @@
/// this method will complete with the same error.
async.Future<UrlChannels> list(
core.String adClientId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1800,12 +1800,12 @@
if (adClientId == null) {
throw core.ArgumentError('Parameter adClientId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/analytics/v3.dart b/generated/googleapis/lib/analytics/v3.dart
index 0cdceed..242cb29 100644
--- a/generated/googleapis/lib/analytics/v3.dart
+++ b/generated/googleapis/lib/analytics/v3.dart
@@ -123,26 +123,24 @@
/// 'ga:sessions,ga:pageviews'. At least one metric must be specified.
/// Value must have pattern "ga:.+".
///
- /// [output] - The selected format for the response. Default format is JSON.
- /// Possible string values are:
- /// - "dataTable" : Returns the response in Google Charts Data Table format.
- /// This is useful in creating visualization using Google Charts.
- /// - "json" : Returns the response in standard JSON format.
+ /// [dimensions] - A comma-separated list of Analytics dimensions. E.g.,
+ /// 'ga:browser,ga:city'.
+ /// Value must have pattern "(ga:.+)?".
///
/// [filters] - A comma-separated list of dimension or metric filters to be
/// applied to Analytics data.
/// Value must have pattern "ga:.+".
///
- /// [dimensions] - A comma-separated list of Analytics dimensions. E.g.,
- /// 'ga:browser,ga:city'.
- /// Value must have pattern "(ga:.+)?".
- ///
/// [include_empty_rows] - The response will include empty rows if this
/// parameter is set to true, the default is true
///
- /// [sort] - A comma-separated list of dimensions or metrics that determine
- /// the sort order for Analytics data.
- /// Value must have pattern "(-)?ga:.+".
+ /// [max_results] - The maximum number of entries to include in this feed.
+ ///
+ /// [output] - The selected format for the response. Default format is JSON.
+ /// Possible string values are:
+ /// - "dataTable" : Returns the response in Google Charts Data Table format.
+ /// This is useful in creating visualization using Google Charts.
+ /// - "json" : Returns the response in standard JSON format.
///
/// [samplingLevel] - The desired sampling level.
/// Possible string values are:
@@ -154,7 +152,9 @@
///
/// [segment] - An Analytics segment to be applied to data.
///
- /// [max_results] - The maximum number of entries to include in this feed.
+ /// [sort] - A comma-separated list of dimensions or metrics that determine
+ /// the sort order for Analytics data.
+ /// Value must have pattern "(-)?ga:.+".
///
/// [start_index] - An index of the first entity to retrieve. Use this
/// parameter as a pagination mechanism along with the max-results parameter.
@@ -174,14 +174,14 @@
core.String start_date,
core.String end_date,
core.String metrics, {
- core.String output,
- core.String filters,
core.String dimensions,
+ core.String filters,
core.bool include_empty_rows,
- core.String sort,
+ core.int max_results,
+ core.String output,
core.String samplingLevel,
core.String segment,
- core.int max_results,
+ core.String sort,
core.int start_index,
core.String $fields,
}) {
@@ -208,20 +208,20 @@
throw core.ArgumentError('Parameter metrics is required.');
}
_queryParams['metrics'] = [metrics];
- if (output != null) {
- _queryParams['output'] = [output];
+ if (dimensions != null) {
+ _queryParams['dimensions'] = [dimensions];
}
if (filters != null) {
_queryParams['filters'] = [filters];
}
- if (dimensions != null) {
- _queryParams['dimensions'] = [dimensions];
- }
if (include_empty_rows != null) {
_queryParams['include-empty-rows'] = ['${include_empty_rows}'];
}
- if (sort != null) {
- _queryParams['sort'] = [sort];
+ if (max_results != null) {
+ _queryParams['max-results'] = ['${max_results}'];
+ }
+ if (output != null) {
+ _queryParams['output'] = [output];
}
if (samplingLevel != null) {
_queryParams['samplingLevel'] = [samplingLevel];
@@ -229,8 +229,8 @@
if (segment != null) {
_queryParams['segment'] = [segment];
}
- if (max_results != null) {
- _queryParams['max-results'] = ['${max_results}'];
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
}
if (start_index != null) {
_queryParams['start-index'] = ['${start_index}'];
@@ -292,13 +292,6 @@
/// applied to the Analytics data.
/// Value must have pattern "mcf:.+".
///
- /// [start_index] - An index of the first entity to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
- /// [sort] - A comma-separated list of dimensions or metrics that determine
- /// the sort order for the Analytics data.
- /// Value must have pattern "(-)?mcf:.+".
- ///
/// [max_results] - The maximum number of entries to include in this feed.
///
/// [samplingLevel] - The desired sampling level.
@@ -309,6 +302,13 @@
/// - "HIGHER_PRECISION" : Returns a more accurate response using a large
/// sample size, but this may result in the response being slower.
///
+ /// [sort] - A comma-separated list of dimensions or metrics that determine
+ /// the sort order for the Analytics data.
+ /// Value must have pattern "(-)?mcf:.+".
+ ///
+ /// [start_index] - An index of the first entity to retrieve. Use this
+ /// parameter as a pagination mechanism along with the max-results parameter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -326,10 +326,10 @@
core.String metrics, {
core.String dimensions,
core.String filters,
- core.int start_index,
- core.String sort,
core.int max_results,
core.String samplingLevel,
+ core.String sort,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -361,18 +361,18 @@
if (filters != null) {
_queryParams['filters'] = [filters];
}
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
- if (sort != null) {
- _queryParams['sort'] = [sort];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
if (samplingLevel != null) {
_queryParams['samplingLevel'] = [samplingLevel];
}
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
+ }
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -409,20 +409,20 @@
/// 'rt:activeUsers'. At least one metric must be specified.
/// Value must have pattern "(ga:.+)|(rt:.+)".
///
- /// [max_results] - The maximum number of entries to include in this feed.
+ /// [dimensions] - A comma-separated list of real time dimensions. E.g.,
+ /// 'rt:medium,rt:city'.
+ /// Value must have pattern "(ga:.+)|(rt:.+)".
///
/// [filters] - A comma-separated list of dimension or metric filters to be
/// applied to real time data.
/// Value must have pattern "(ga:.+)|(rt:.+)".
///
+ /// [max_results] - The maximum number of entries to include in this feed.
+ ///
/// [sort] - A comma-separated list of dimensions or metrics that determine
/// the sort order for real time data.
/// Value must have pattern "(-)?((ga:.+)|(rt:.+))".
///
- /// [dimensions] - A comma-separated list of real time dimensions. E.g.,
- /// 'rt:medium,rt:city'.
- /// Value must have pattern "(ga:.+)|(rt:.+)".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -436,10 +436,10 @@
async.Future<RealtimeData> get(
core.String ids,
core.String metrics, {
- core.int max_results,
- core.String filters,
- core.String sort,
core.String dimensions,
+ core.String filters,
+ core.int max_results,
+ core.String sort,
core.String $fields,
}) {
core.String _url;
@@ -457,18 +457,18 @@
throw core.ArgumentError('Parameter metrics is required.');
}
_queryParams['metrics'] = [metrics];
- if (max_results != null) {
- _queryParams['max-results'] = ['${max_results}'];
+ if (dimensions != null) {
+ _queryParams['dimensions'] = [dimensions];
}
if (filters != null) {
_queryParams['filters'] = [filters];
}
+ if (max_results != null) {
+ _queryParams['max-results'] = ['${max_results}'];
+ }
if (sort != null) {
_queryParams['sort'] = [sort];
}
- if (dimensions != null) {
- _queryParams['dimensions'] = [dimensions];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1563,12 +1563,12 @@
///
/// [webPropertyId] - Web property ID for the custom metrics to retrieve.
///
- /// [start_index] - An index of the first entity to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
/// [max_results] - The maximum number of custom metrics to include in this
/// response.
///
+ /// [start_index] - An index of the first entity to retrieve. Use this
+ /// parameter as a pagination mechanism along with the max-results parameter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1582,8 +1582,8 @@
async.Future<CustomMetrics> list(
core.String accountId,
core.String webPropertyId, {
- core.int start_index,
core.int max_results,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -1599,12 +1599,12 @@
if (webPropertyId == null) {
throw core.ArgumentError('Parameter webPropertyId is required.');
}
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2439,11 +2439,11 @@
/// [accountId] - Account ID to retrieve filters for.
/// Value must have pattern "\d+".
///
+ /// [max_results] - The maximum number of filters to include in this response.
+ ///
/// [start_index] - An index of the first entity to retrieve. Use this
/// parameter as a pagination mechanism along with the max-results parameter.
///
- /// [max_results] - The maximum number of filters to include in this response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2456,8 +2456,8 @@
/// this method will complete with the same error.
async.Future<Filters> list(
core.String accountId, {
- core.int start_index,
core.int max_results,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -2470,12 +2470,12 @@
if (accountId == null) {
throw core.ArgumentError('Parameter accountId is required.');
}
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4682,12 +4682,12 @@
///
/// Request parameters:
///
- /// [start_index] - An index of the first segment to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
/// [max_results] - The maximum number of segments to include in this
/// response.
///
+ /// [start_index] - An index of the first segment to retrieve. Use this
+ /// parameter as a pagination mechanism along with the max-results parameter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4699,8 +4699,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Segments> list({
- core.int start_index,
core.int max_results,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -4710,12 +4710,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4972,13 +4972,13 @@
/// [profileId] - View (Profile) ID to retrieve unsampled reports for. Must be
/// a specific view (profile) ID, ~all is not supported.
///
+ /// [max_results] - The maximum number of unsampled reports to include in this
+ /// response.
+ ///
/// [start_index] - An index of the first unsampled report to retrieve. Use
/// this parameter as a pagination mechanism along with the max-results
/// parameter.
///
- /// [max_results] - The maximum number of unsampled reports to include in this
- /// response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4993,8 +4993,8 @@
core.String accountId,
core.String webPropertyId,
core.String profileId, {
- core.int start_index,
core.int max_results,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -5013,12 +5013,12 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5937,12 +5937,12 @@
/// specific account ID or '~all', which refers to all the accounts that user
/// has access to.
///
- /// [start_index] - An index of the first entity to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter.
- ///
/// [max_results] - The maximum number of web properties to include in this
/// response.
///
+ /// [start_index] - An index of the first entity to retrieve. Use this
+ /// parameter as a pagination mechanism along with the max-results parameter.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5955,8 +5955,8 @@
/// this method will complete with the same error.
async.Future<Webproperties> list(
core.String accountId, {
- core.int start_index,
core.int max_results,
+ core.int start_index,
core.String $fields,
}) {
core.String _url;
@@ -5969,12 +5969,12 @@
if (accountId == null) {
throw core.ArgumentError('Parameter accountId is required.');
}
- if (start_index != null) {
- _queryParams['start-index'] = ['${start_index}'];
- }
if (max_results != null) {
_queryParams['max-results'] = ['${max_results}'];
}
+ if (start_index != null) {
+ _queryParams['start-index'] = ['${start_index}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
index d370dcc..77bacc9 100644
--- a/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
+++ b/generated/googleapis/lib/androiddeviceprovisioning/v1.dart
@@ -527,11 +527,11 @@
/// name in the format `customers/[CUSTOMER_ID]`.
/// Value must have pattern "^customers/[^/]+$".
///
- /// [pageToken] - A token specifying which result page to return.
- ///
/// [pageSize] - The maximum number of devices to show in a page of results.
/// Must be between 1 and 100 inclusive.
///
+ /// [pageToken] - A token specifying which result page to return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -544,8 +544,8 @@
/// this method will complete with the same error.
async.Future<CustomerListDevicesResponse> list(
core.String parent, {
- core.String pageToken,
core.String pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -558,12 +558,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = [pageSize];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/androidenterprise/v1.dart b/generated/googleapis/lib/androidenterprise/v1.dart
index 325f316..0199c7d 100644
--- a/generated/googleapis/lib/androidenterprise/v1.dart
+++ b/generated/googleapis/lib/androidenterprise/v1.dart
@@ -556,11 +556,11 @@
///
/// Request parameters:
///
- /// [enterpriseToken] - The Enterprise token appended to the Callback URL.
- ///
/// [completionToken] - The Completion token initially returned by
/// GenerateSignupUrl.
///
+ /// [enterpriseToken] - The Enterprise token appended to the Callback URL.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -572,8 +572,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Enterprise> completeSignup({
- core.String enterpriseToken,
core.String completionToken,
+ core.String enterpriseToken,
core.String $fields,
}) {
core.String _url;
@@ -583,12 +583,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (enterpriseToken != null) {
- _queryParams['enterpriseToken'] = [enterpriseToken];
- }
if (completionToken != null) {
_queryParams['completionToken'] = [completionToken];
}
+ if (enterpriseToken != null) {
+ _queryParams['enterpriseToken'] = [enterpriseToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3131,20 +3131,20 @@
/// among only products that have been approved (true). Only "true" is
/// supported, and should be specified.
///
+ /// [language] - The BCP47 tag for the user's preferred language (e.g.
+ /// "en-US", "de"). Results are returned in the language best matching the
+ /// preferred language.
+ ///
/// [maxResults] - Defines how many results the list operation should return.
/// The default number depends on the resource collection.
///
- /// [token] - Defines the token of the page to return, usually taken from
- /// TokenPagination. This can only be used if token paging is enabled.
- ///
/// [query] - The search query as typed in the Google Play store search box.
/// If omitted, all approved apps will be returned (using the pagination
/// parameters), including apps that are not available in the store (e.g.
/// unpublished apps).
///
- /// [language] - The BCP47 tag for the user's preferred language (e.g.
- /// "en-US", "de"). Results are returned in the language best matching the
- /// preferred language.
+ /// [token] - Defines the token of the page to return, usually taken from
+ /// TokenPagination. This can only be used if token paging is enabled.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3159,10 +3159,10 @@
async.Future<ProductsListResponse> list(
core.String enterpriseId, {
core.bool approved,
- core.int maxResults,
- core.String token,
- core.String query,
core.String language,
+ core.int maxResults,
+ core.String query,
+ core.String token,
core.String $fields,
}) {
core.String _url;
@@ -3178,17 +3178,17 @@
if (approved != null) {
_queryParams['approved'] = ['${approved}'];
}
+ if (language != null) {
+ _queryParams['language'] = [language];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (token != null) {
- _queryParams['token'] = [token];
- }
if (query != null) {
_queryParams['query'] = [query];
}
- if (language != null) {
- _queryParams['language'] = [language];
+ if (token != null) {
+ _queryParams['token'] = [token];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/androidmanagement/v1.dart b/generated/googleapis/lib/androidmanagement/v1.dart
index 6a7f1eb..3300fb1 100644
--- a/generated/googleapis/lib/androidmanagement/v1.dart
+++ b/generated/googleapis/lib/androidmanagement/v1.dart
@@ -73,11 +73,11 @@
///
/// Request parameters:
///
+ /// [enterpriseToken] - The enterprise token appended to the callback URL.
+ ///
/// [projectId] - The ID of the Google Cloud Platform project which will own
/// the enterprise.
///
- /// [enterpriseToken] - The enterprise token appended to the callback URL.
- ///
/// [signupUrlName] - The name of the SignupUrl used to sign up for the
/// enterprise.
///
@@ -93,8 +93,8 @@
/// this method will complete with the same error.
async.Future<Enterprise> create(
Enterprise request, {
- core.String projectId,
core.String enterpriseToken,
+ core.String projectId,
core.String signupUrlName,
core.String $fields,
}) {
@@ -108,12 +108,12 @@
if (request != null) {
_body = convert.json.encode(request.toJson());
}
- if (projectId != null) {
- _queryParams['projectId'] = [projectId];
- }
if (enterpriseToken != null) {
_queryParams['enterpriseToken'] = [enterpriseToken];
}
+ if (projectId != null) {
+ _queryParams['projectId'] = [projectId];
+ }
if (signupUrlName != null) {
_queryParams['signupUrlName'] = [signupUrlName];
}
@@ -331,12 +331,12 @@
/// enterprises/{enterpriseId}/devices/{deviceId}.
/// Value must have pattern "^enterprises/[^/]+/devices/[^/]+$".
///
+ /// [wipeDataFlags] - Optional flags that control the device wiping behavior.
+ ///
/// [wipeReasonMessage] - Optional. A short message displayed to the user
/// before wiping the work profile on personal devices. This has no effect on
/// company owned devices. The maximum message length is 200 characters.
///
- /// [wipeDataFlags] - Optional flags that control the device wiping behavior.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -349,8 +349,8 @@
/// this method will complete with the same error.
async.Future<Empty> delete(
core.String name, {
- core.String wipeReasonMessage,
core.List<core.String> wipeDataFlags,
+ core.String wipeReasonMessage,
core.String $fields,
}) {
core.String _url;
@@ -363,12 +363,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (wipeReasonMessage != null) {
- _queryParams['wipeReasonMessage'] = [wipeReasonMessage];
- }
if (wipeDataFlags != null) {
_queryParams['wipeDataFlags'] = wipeDataFlags;
}
+ if (wipeReasonMessage != null) {
+ _queryParams['wipeReasonMessage'] = [wipeReasonMessage];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/androidpublisher/v3.dart b/generated/googleapis/lib/androidpublisher/v3.dart
index 862bb43..12f740c 100644
--- a/generated/googleapis/lib/androidpublisher/v3.dart
+++ b/generated/googleapis/lib/androidpublisher/v3.dart
@@ -2885,12 +2885,12 @@
///
/// [packageName] - Package name of the app.
///
- /// [token] - Pagination token. If empty, list starts at the first product.
- ///
/// [maxResults] - How many results the list operation should return.
///
/// [startIndex] - The index of the first element to return.
///
+ /// [token] - Pagination token. If empty, list starts at the first product.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2903,9 +2903,9 @@
/// this method will complete with the same error.
async.Future<InappproductsListResponse> list(
core.String packageName, {
- core.String token,
core.int maxResults,
core.int startIndex,
+ core.String token,
core.String $fields,
}) {
core.String _url;
@@ -2918,15 +2918,15 @@
if (packageName == null) {
throw core.ArgumentError('Parameter packageName is required.');
}
- if (token != null) {
- _queryParams['token'] = [token];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
}
+ if (token != null) {
+ _queryParams['token'] = [token];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3939,14 +3939,18 @@
/// [packageName] - The package name of the application for which voided
/// purchases need to be returned (for example, 'com.some.thing').
///
- /// [startIndex] - Defines the index of the first element to return. This can
- /// only be used if indexed paging is enabled.
+ /// [endTime] - The time, in milliseconds since the Epoch, of the newest
+ /// voided purchase that you want to see in the response. The value of this
+ /// parameter cannot be greater than the current time and is ignored if a
+ /// pagination token is set. Default value is current time. Note: This filter
+ /// is applied on the time at which the record is seen as voided by our
+ /// systems and not the actual voided time returned in the response.
///
/// [maxResults] - Defines how many results the list operation should return.
/// The default number depends on the resource collection.
///
- /// [token] - Defines the token of the page to return, usually taken from
- /// TokenPagination. This can only be used if token paging is enabled.
+ /// [startIndex] - Defines the index of the first element to return. This can
+ /// only be used if indexed paging is enabled.
///
/// [startTime] - The time, in milliseconds since the Epoch, of the oldest
/// voided purchase that you want to see in the response. The value of this
@@ -3955,12 +3959,8 @@
/// filter is applied on the time at which the record is seen as voided by our
/// systems and not the actual voided time returned in the response.
///
- /// [endTime] - The time, in milliseconds since the Epoch, of the newest
- /// voided purchase that you want to see in the response. The value of this
- /// parameter cannot be greater than the current time and is ignored if a
- /// pagination token is set. Default value is current time. Note: This filter
- /// is applied on the time at which the record is seen as voided by our
- /// systems and not the actual voided time returned in the response.
+ /// [token] - Defines the token of the page to return, usually taken from
+ /// TokenPagination. This can only be used if token paging is enabled.
///
/// [type] - The type of voided purchases that you want to see in the
/// response. Possible values are: 0. Only voided in-app product purchases
@@ -3984,11 +3984,11 @@
/// this method will complete with the same error.
async.Future<VoidedPurchasesListResponse> list(
core.String packageName, {
- core.int startIndex,
- core.int maxResults,
- core.String token,
- core.String startTime,
core.String endTime,
+ core.int maxResults,
+ core.int startIndex,
+ core.String startTime,
+ core.String token,
core.int type,
core.String $fields,
}) {
@@ -4002,20 +4002,20 @@
if (packageName == null) {
throw core.ArgumentError('Parameter packageName is required.');
}
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
+ if (endTime != null) {
+ _queryParams['endTime'] = [endTime];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (token != null) {
- _queryParams['token'] = [token];
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
}
if (startTime != null) {
_queryParams['startTime'] = [startTime];
}
- if (endTime != null) {
- _queryParams['endTime'] = [endTime];
+ if (token != null) {
+ _queryParams['token'] = [token];
}
if (type != null) {
_queryParams['type'] = ['${type}'];
@@ -4115,13 +4115,13 @@
///
/// [packageName] - Package name of the app.
///
- /// [translationLanguage] - Language localization code.
+ /// [maxResults] - How many results the list operation should return.
///
/// [startIndex] - The index of the first element to return.
///
/// [token] - Pagination token. If empty, list starts at the first review.
///
- /// [maxResults] - How many results the list operation should return.
+ /// [translationLanguage] - Language localization code.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4135,10 +4135,10 @@
/// this method will complete with the same error.
async.Future<ReviewsListResponse> list(
core.String packageName, {
- core.String translationLanguage,
+ core.int maxResults,
core.int startIndex,
core.String token,
- core.int maxResults,
+ core.String translationLanguage,
core.String $fields,
}) {
core.String _url;
@@ -4151,8 +4151,8 @@
if (packageName == null) {
throw core.ArgumentError('Parameter packageName is required.');
}
- if (translationLanguage != null) {
- _queryParams['translationLanguage'] = [translationLanguage];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
@@ -4160,8 +4160,8 @@
if (token != null) {
_queryParams['token'] = [token];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (translationLanguage != null) {
+ _queryParams['translationLanguage'] = [translationLanguage];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/apigee/v1.dart b/generated/googleapis/lib/apigee/v1.dart
index 6a7e69b..3437f1e 100644
--- a/generated/googleapis/lib/apigee/v1.dart
+++ b/generated/googleapis/lib/apigee/v1.dart
@@ -1212,21 +1212,21 @@
/// form: organizations/organization_ID
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [expand] - Set to `true` to get expanded details about each API.
+ /// [attributename] - The name of the attribute to search.
///
/// [attributevalue] - The value of the attribute.
///
+ /// [count] - Enter the number of API products you want returned in the API
+ /// call. The limit is 1000.
+ ///
+ /// [expand] - Set to `true` to get expanded details about each API.
+ ///
/// [startKey] - Gets a list of API products starting with a specific API
/// product in the list. For example, if you're returning 50 API products at a
/// time (using the `count` query parameter), you can view products 50-99 by
/// entering the name of the 50th API product in the first API (without using
/// `startKey`). Product name is case sensitive.
///
- /// [count] - Enter the number of API products you want returned in the API
- /// call. The limit is 1000.
- ///
- /// [attributename] - The name of the attribute to search.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1239,11 +1239,11 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListApiProductsResponse> list(
core.String parent, {
- core.bool expand,
- core.String attributevalue,
- core.String startKey,
- core.String count,
core.String attributename,
+ core.String attributevalue,
+ core.String count,
+ core.bool expand,
+ core.String startKey,
core.String $fields,
}) {
core.String _url;
@@ -1256,20 +1256,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (expand != null) {
- _queryParams['expand'] = ['${expand}'];
+ if (attributename != null) {
+ _queryParams['attributename'] = [attributename];
}
if (attributevalue != null) {
_queryParams['attributevalue'] = [attributevalue];
}
- if (startKey != null) {
- _queryParams['startKey'] = [startKey];
- }
if (count != null) {
_queryParams['count'] = [count];
}
- if (attributename != null) {
- _queryParams['attributename'] = [attributename];
+ if (expand != null) {
+ _queryParams['expand'] = ['${expand}'];
+ }
+ if (startKey != null) {
+ _queryParams['startKey'] = [startKey];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1620,17 +1620,17 @@
/// `organizations/{org}`
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [action] - Action to perform when importing an API proxy configuration
+ /// bundle. Set this parameter to one of the following values: * `import` to
+ /// import the API proxy configuration bundle. * `validate` to validate the
+ /// API proxy configuration bundle without importing it.
+ ///
/// [name] - Name of the API proxy. Restrict the characters used to:
/// A-Za-z0-9._-
///
/// [validate] - Ignored. All uploads are validated regardless of the value of
/// this field. Maintained for compatibility with Apigee Edge API.
///
- /// [action] - Action to perform when importing an API proxy configuration
- /// bundle. Set this parameter to one of the following values: * `import` to
- /// import the API proxy configuration bundle. * `validate` to validate the
- /// API proxy configuration bundle without importing it.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1644,9 +1644,9 @@
async.Future<GoogleCloudApigeeV1ApiProxyRevision> create(
GoogleApiHttpBody request,
core.String parent, {
+ core.String action,
core.String name,
core.bool validate,
- core.String action,
core.String $fields,
}) {
core.String _url;
@@ -1662,15 +1662,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (action != null) {
+ _queryParams['action'] = [action];
+ }
if (name != null) {
_queryParams['name'] = [name];
}
if (validate != null) {
_queryParams['validate'] = ['${validate}'];
}
- if (action != null) {
- _queryParams['action'] = [action];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2366,29 +2366,29 @@
/// `organizations/{org}`
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [startKey] - Returns the list of apps starting from the specified app ID.
- ///
- /// [expand] - Optional. Flag that specifies whether to return an expanded
- /// list of apps for the organization. Defaults to `false`.
- ///
- /// [includeCred] - Optional. Flag that specifies whether to include
- /// credentials in the response.
- ///
- /// [rows] - Optional. Maximum number of app IDs to return. Defaults to 10000.
- ///
- /// [status] - Optional. Filter by the status of the app. Valid values are
- /// `approved` or `revoked`. Defaults to `approved`.
- ///
- /// [keyStatus] - Optional. Key status of the app. Valid values include
- /// `approved` or `revoked`. Defaults to `approved`.
+ /// [apiProduct] - API product.
///
/// [apptype] - Optional. Filter by the type of the app. Valid values are
/// `company` or `developer`. Defaults to `developer`.
///
- /// [apiProduct] - API product.
+ /// [expand] - Optional. Flag that specifies whether to return an expanded
+ /// list of apps for the organization. Defaults to `false`.
///
/// [ids] - Optional. Comma-separated list of app IDs on which to filter.
///
+ /// [includeCred] - Optional. Flag that specifies whether to include
+ /// credentials in the response.
+ ///
+ /// [keyStatus] - Optional. Key status of the app. Valid values include
+ /// `approved` or `revoked`. Defaults to `approved`.
+ ///
+ /// [rows] - Optional. Maximum number of app IDs to return. Defaults to 10000.
+ ///
+ /// [startKey] - Returns the list of apps starting from the specified app ID.
+ ///
+ /// [status] - Optional. Filter by the status of the app. Valid values are
+ /// `approved` or `revoked`. Defaults to `approved`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2401,15 +2401,15 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListAppsResponse> list(
core.String parent, {
- core.String startKey,
- core.bool expand,
- core.bool includeCred,
- core.String rows,
- core.String status,
- core.String keyStatus,
- core.String apptype,
core.String apiProduct,
+ core.String apptype,
+ core.bool expand,
core.String ids,
+ core.bool includeCred,
+ core.String keyStatus,
+ core.String rows,
+ core.String startKey,
+ core.String status,
core.String $fields,
}) {
core.String _url;
@@ -2422,33 +2422,33 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (startKey != null) {
- _queryParams['startKey'] = [startKey];
- }
- if (expand != null) {
- _queryParams['expand'] = ['${expand}'];
- }
- if (includeCred != null) {
- _queryParams['includeCred'] = ['${includeCred}'];
- }
- if (rows != null) {
- _queryParams['rows'] = [rows];
- }
- if (status != null) {
- _queryParams['status'] = [status];
- }
- if (keyStatus != null) {
- _queryParams['keyStatus'] = [keyStatus];
+ if (apiProduct != null) {
+ _queryParams['apiProduct'] = [apiProduct];
}
if (apptype != null) {
_queryParams['apptype'] = [apptype];
}
- if (apiProduct != null) {
- _queryParams['apiProduct'] = [apiProduct];
+ if (expand != null) {
+ _queryParams['expand'] = ['${expand}'];
}
if (ids != null) {
_queryParams['ids'] = [ids];
}
+ if (includeCred != null) {
+ _queryParams['includeCred'] = ['${includeCred}'];
+ }
+ if (keyStatus != null) {
+ _queryParams['keyStatus'] = [keyStatus];
+ }
+ if (rows != null) {
+ _queryParams['rows'] = [rows];
+ }
+ if (startKey != null) {
+ _queryParams['startKey'] = [startKey];
+ }
+ if (status != null) {
+ _queryParams['status'] = [status];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2813,10 +2813,16 @@
/// structure in your request: `organizations/{org}`.
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [count] - Optional. Number of developers to return in the API call. Use
+ /// with the `startKey` parameter to provide more targeted filtering. The
+ /// limit is 1000.
+ ///
/// [expand] - Specifies whether to expand the results. Set to `true` to
/// expand the results. This query parameter is not valid if you use the
/// `count` or `startKey` query parameters.
///
+ /// [ids] - Optional. List of IDs to include, separated by commas.
+ ///
/// [includeCompany] - Flag that specifies whether to include company details
/// in the response.
///
@@ -2827,12 +2833,6 @@
/// your `startKey` is `fezzik@example.com`, the list returned will be ```
/// fezzik@example.com buttercup@example.com ```
///
- /// [ids] - Optional. List of IDs to include, separated by commas.
- ///
- /// [count] - Optional. Number of developers to return in the API call. Use
- /// with the `startKey` parameter to provide more targeted filtering. The
- /// limit is 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2845,11 +2845,11 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListOfDevelopersResponse> list(
core.String parent, {
+ core.String count,
core.bool expand,
+ core.String ids,
core.bool includeCompany,
core.String startKey,
- core.String ids,
- core.String count,
core.String $fields,
}) {
core.String _url;
@@ -2862,21 +2862,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (count != null) {
+ _queryParams['count'] = [count];
+ }
if (expand != null) {
_queryParams['expand'] = ['${expand}'];
}
+ if (ids != null) {
+ _queryParams['ids'] = [ids];
+ }
if (includeCompany != null) {
_queryParams['includeCompany'] = ['${includeCompany}'];
}
if (startKey != null) {
_queryParams['startKey'] = [startKey];
}
- if (ids != null) {
- _queryParams['ids'] = [ids];
- }
- if (count != null) {
- _queryParams['count'] = [count];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3318,16 +3318,16 @@
/// Value must have pattern
/// "^organizations/[^/]+/developers/[^/]+/apps/[^/]+$".
///
- /// [query] - **Note**: Must be used in conjunction with the `entity`
- /// parameter. Set to `count` to return the number of API resources that have
- /// been approved for access by a developer app in the specified Apigee
- /// organization.
- ///
/// [entity] - **Note**: Must be used in conjunction with the `query`
/// parameter. Set to `apiresources` to return the number of API resources
/// that have been approved for access by a developer app in the specified
/// Apigee organization.
///
+ /// [query] - **Note**: Must be used in conjunction with the `entity`
+ /// parameter. Set to `count` to return the number of API resources that have
+ /// been approved for access by a developer app in the specified Apigee
+ /// organization.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3340,8 +3340,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1DeveloperApp> get(
core.String name, {
- core.String query,
core.String entity,
+ core.String query,
core.String $fields,
}) {
core.String _url;
@@ -3354,12 +3354,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (query != null) {
- _queryParams['query'] = [query];
- }
if (entity != null) {
_queryParams['entity'] = [entity];
}
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3391,6 +3391,17 @@
/// your request: `organizations/{org}/developers/{developer_email}`
/// Value must have pattern "^organizations/[^/]+/developers/[^/]+$".
///
+ /// [count] - Number of developer apps to return in the API call. Use with the
+ /// `startKey` parameter to provide more targeted filtering. The limit is
+ /// 1000.
+ ///
+ /// [expand] - Optional. Specifies whether to expand the results. Set to
+ /// `true` to expand the results. This query parameter is not valid if you use
+ /// the `count` or `startKey` query parameters.
+ ///
+ /// [shallowExpand] - Optional. Specifies whether to expand the results in
+ /// shallow mode. Set to `true` to expand the results in shallow mode.
+ ///
/// [startKey] - **Note**: Must be used in conjunction with the `count`
/// parameter. Name of the developer app from which to start displaying the
/// list of developer apps. For example, if you're returning 50 developer apps
@@ -3398,17 +3409,6 @@
/// 50-99 by entering the name of the 50th developer app. The developer app
/// name is case sensitive.
///
- /// [shallowExpand] - Optional. Specifies whether to expand the results in
- /// shallow mode. Set to `true` to expand the results in shallow mode.
- ///
- /// [expand] - Optional. Specifies whether to expand the results. Set to
- /// `true` to expand the results. This query parameter is not valid if you use
- /// the `count` or `startKey` query parameters.
- ///
- /// [count] - Number of developer apps to return in the API call. Use with the
- /// `startKey` parameter to provide more targeted filtering. The limit is
- /// 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3421,10 +3421,10 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListDeveloperAppsResponse> list(
core.String parent, {
- core.String startKey,
- core.bool shallowExpand,
- core.bool expand,
core.String count,
+ core.bool expand,
+ core.bool shallowExpand,
+ core.String startKey,
core.String $fields,
}) {
core.String _url;
@@ -3437,17 +3437,17 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (startKey != null) {
- _queryParams['startKey'] = [startKey];
- }
- if (shallowExpand != null) {
- _queryParams['shallowExpand'] = ['${shallowExpand}'];
+ if (count != null) {
+ _queryParams['count'] = [count];
}
if (expand != null) {
_queryParams['expand'] = ['${expand}'];
}
- if (count != null) {
- _queryParams['count'] = [count];
+ if (shallowExpand != null) {
+ _queryParams['shallowExpand'] = ['${shallowExpand}'];
+ }
+ if (startKey != null) {
+ _queryParams['startKey'] = [startKey];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -4718,12 +4718,12 @@
/// environment groups in the following format: `organizations/{org}`.
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [pageToken] - Page token, returned from a previous ListEnvironmentGroups
- /// call, that you can use to retrieve the next page.
- ///
/// [pageSize] - Maximum number of environment groups to return. The page size
/// defaults to 25.
///
+ /// [pageToken] - Page token, returned from a previous ListEnvironmentGroups
+ /// call, that you can use to retrieve the next page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4736,8 +4736,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListEnvironmentGroupsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4750,12 +4750,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5016,13 +5016,13 @@
/// format: `organizations/{org}/envgroups/{envgroup}`.
/// Value must have pattern "^organizations/[^/]+/envgroups/[^/]+$".
///
+ /// [pageSize] - Maximum number of environment group attachments to return.
+ /// The page size defaults to 25.
+ ///
/// [pageToken] - Page token, returned by a previous
/// ListEnvironmentGroupAttachments call, that you can use to retrieve the
/// next page.
///
- /// [pageSize] - Maximum number of environment group attachments to return.
- /// The page size defaults to 25.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5036,8 +5036,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5050,12 +5050,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5767,13 +5767,13 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/debugmask$".
///
- /// [updateMask] - Field debug mask to support partial updates.
- ///
/// [replaceRepeatedFields] - Boolean flag that specifies whether to replace
/// existing values in the debug mask when doing an update. Set to true to
/// replace existing values. The default behavior is to append the values
/// (false).
///
+ /// [updateMask] - Field debug mask to support partial updates.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5787,8 +5787,8 @@
async.Future<GoogleCloudApigeeV1DebugMask> updateDebugmask(
GoogleCloudApigeeV1DebugMask request,
core.String name, {
- core.String updateMask,
core.bool replaceRepeatedFields,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -5804,12 +5804,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (replaceRepeatedFields != null) {
_queryParams['replaceRepeatedFields'] = ['${replaceRepeatedFields}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6653,12 +6653,12 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/apis/[^/]+/revisions/[^/]+$".
///
- /// [pageToken] - Page token, returned from a previous ListDebugSessions call,
- /// that you can use to retrieve the next page.
- ///
/// [pageSize] - Maximum number of debug sessions to return. The page size
/// defaults to 25.
///
+ /// [pageToken] - Page token, returned from a previous ListDebugSessions call,
+ /// that you can use to retrieve the next page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6671,8 +6671,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListDebugSessionsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -6685,12 +6685,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7428,22 +7428,22 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+$".
///
+ /// [P_password] - The password for the private key file, if it exists.
+ ///
/// [alias] - The alias for the key, certificate pair. Values must match
/// regular expression `[\w\s-.]{1,255}`. This must be provided for all
/// formats except 'selfsignedcert'; self-signed certs may specify the alias
/// in either this parameter or the JSON body.
///
- /// [ignoreNewlineValidation] - If `true`, do not throw an error when the file
- /// contains a chain with no newline between each certificate. By default, a
- /// newline is needed between each certificate in a chain.
- ///
- /// [P_password] - The password for the private key file, if it exists.
+ /// [format] - Required. The format of the data. Must be either
+ /// `selfsignedcert`, `keycertfile`, or `pkcs12`.
///
/// [ignoreExpiryValidation] - If `true`, no expiry validation will be
/// performed.
///
- /// [format] - Required. The format of the data. Must be either
- /// `selfsignedcert`, `keycertfile`, or `pkcs12`.
+ /// [ignoreNewlineValidation] - If `true`, do not throw an error when the file
+ /// contains a chain with no newline between each certificate. By default, a
+ /// newline is needed between each certificate in a chain.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7458,11 +7458,11 @@
async.Future<GoogleCloudApigeeV1Alias> create(
GoogleApiHttpBody request,
core.String parent, {
- core.String alias,
- core.bool ignoreNewlineValidation,
core.String P_password,
- core.bool ignoreExpiryValidation,
+ core.String alias,
core.String format,
+ core.bool ignoreExpiryValidation,
+ core.bool ignoreNewlineValidation,
core.String $fields,
}) {
core.String _url;
@@ -7478,20 +7478,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (P_password != null) {
+ _queryParams['_password'] = [P_password];
+ }
if (alias != null) {
_queryParams['alias'] = [alias];
}
- if (ignoreNewlineValidation != null) {
- _queryParams['ignoreNewlineValidation'] = ['${ignoreNewlineValidation}'];
- }
- if (P_password != null) {
- _queryParams['_password'] = [P_password];
+ if (format != null) {
+ _queryParams['format'] = [format];
}
if (ignoreExpiryValidation != null) {
_queryParams['ignoreExpiryValidation'] = ['${ignoreExpiryValidation}'];
}
- if (format != null) {
- _queryParams['format'] = [format];
+ if (ignoreNewlineValidation != null) {
+ _queryParams['ignoreNewlineValidation'] = ['${ignoreNewlineValidation}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -7729,13 +7729,13 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/keystores/[^/]+/aliases/[^/]+$".
///
+ /// [ignoreExpiryValidation] - Required. If `true`, no expiry validation will
+ /// be performed.
+ ///
/// [ignoreNewlineValidation] - If `true`, do not throw an error when the file
/// contains a chain with no newline between each certificate. By default, a
/// newline is needed between each certificate in a chain.
///
- /// [ignoreExpiryValidation] - Required. If `true`, no expiry validation will
- /// be performed.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7749,8 +7749,8 @@
async.Future<GoogleCloudApigeeV1Alias> update(
GoogleApiHttpBody request,
core.String name, {
- core.bool ignoreNewlineValidation,
core.bool ignoreExpiryValidation,
+ core.bool ignoreNewlineValidation,
core.String $fields,
}) {
core.String _url;
@@ -7766,12 +7766,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (ignoreNewlineValidation != null) {
- _queryParams['ignoreNewlineValidation'] = ['${ignoreNewlineValidation}'];
- }
if (ignoreExpiryValidation != null) {
_queryParams['ignoreExpiryValidation'] = ['${ignoreExpiryValidation}'];
}
+ if (ignoreNewlineValidation != null) {
+ _queryParams['ignoreNewlineValidation'] = ['${ignoreNewlineValidation}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7935,48 +7935,48 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/optimizedStats/.*$".
///
- /// [offset] - Use offset with limit to enable pagination of results. For
- /// example, to display results 11-20, set limit to '10' and offset to '10'.
- ///
- /// [sonar] - This parameter routes the query to api monitoring service for
- /// last hour.
- ///
/// [accuracy] - Legacy field: not used anymore.
///
- /// [limit] - This parameter is used to limit the number of result items.
- /// Default and the max value is 14400.
- ///
- /// [timeUnit] - A value of second, minute, hour, day, week, month. Time Unit
- /// specifies the granularity of metrics returned.
- ///
- /// [sort] - This parameter specifies if the sort order should be ascending or
- /// descending Supported values are DESC and ASC.
- ///
- /// [realtime] - Legacy field: not used anymore.
- ///
/// [aggTable] - If customers want to query custom aggregate tables, then this
/// parameter can be used to specify the table name. If this parameter is
/// skipped, then Edge Query will try to retrieve the data from fact tables
/// which will be expensive.
///
- /// [timeRange] - Required. Time interval for the interactive query. Time
- /// range is specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59
+ /// [filter] - Enables drill-down on specific dimension values.
///
- /// [tzo] - This parameters contains the timezone offset value.
+ /// [limit] - This parameter is used to limit the number of result items.
+ /// Default and the max value is 14400.
///
- /// [sortby] - Comma separated list of columns to sort the final result.
+ /// [offset] - Use offset with limit to enable pagination of results. For
+ /// example, to display results 11-20, set limit to '10' and offset to '10'.
///
- /// [topk] - Take 'top k' results from results, for example, to return the top
- /// 5 results 'topk=5'.
+ /// [realtime] - Legacy field: not used anymore.
///
/// [select] - Required. The select parameter contains a comma separated list
/// of metrics. E.g. sum(message_count),sum(error_count)
///
+ /// [sonar] - This parameter routes the query to api monitoring service for
+ /// last hour.
+ ///
+ /// [sort] - This parameter specifies if the sort order should be ascending or
+ /// descending Supported values are DESC and ASC.
+ ///
+ /// [sortby] - Comma separated list of columns to sort the final result.
+ ///
+ /// [timeRange] - Required. Time interval for the interactive query. Time
+ /// range is specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59
+ ///
+ /// [timeUnit] - A value of second, minute, hour, day, week, month. Time Unit
+ /// specifies the granularity of metrics returned.
+ ///
+ /// [topk] - Take 'top k' results from results, for example, to return the top
+ /// 5 results 'topk=5'.
+ ///
/// [tsAscending] - Lists timestamps in ascending order if set to true.
/// Recommend setting this value to true if you are using sortby with
/// sort=DESC.
///
- /// [filter] - Enables drill-down on specific dimension values.
+ /// [tzo] - This parameters contains the timezone offset value.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7990,21 +7990,21 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1OptimizedStats> get(
core.String name, {
- core.String offset,
- core.bool sonar,
core.String accuracy,
- core.String limit,
- core.String timeUnit,
- core.String sort,
- core.bool realtime,
core.String aggTable,
- core.String timeRange,
- core.String tzo,
- core.String sortby,
- core.String topk,
- core.String select,
- core.bool tsAscending,
core.String filter,
+ core.String limit,
+ core.String offset,
+ core.bool realtime,
+ core.String select,
+ core.bool sonar,
+ core.String sort,
+ core.String sortby,
+ core.String timeRange,
+ core.String timeUnit,
+ core.String topk,
+ core.bool tsAscending,
+ core.String tzo,
core.String $fields,
}) {
core.String _url;
@@ -8017,50 +8017,50 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (offset != null) {
- _queryParams['offset'] = [offset];
- }
- if (sonar != null) {
- _queryParams['sonar'] = ['${sonar}'];
- }
if (accuracy != null) {
_queryParams['accuracy'] = [accuracy];
}
- if (limit != null) {
- _queryParams['limit'] = [limit];
- }
- if (timeUnit != null) {
- _queryParams['timeUnit'] = [timeUnit];
- }
- if (sort != null) {
- _queryParams['sort'] = [sort];
- }
- if (realtime != null) {
- _queryParams['realtime'] = ['${realtime}'];
- }
if (aggTable != null) {
_queryParams['aggTable'] = [aggTable];
}
- if (timeRange != null) {
- _queryParams['timeRange'] = [timeRange];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
- if (tzo != null) {
- _queryParams['tzo'] = [tzo];
+ if (limit != null) {
+ _queryParams['limit'] = [limit];
}
- if (sortby != null) {
- _queryParams['sortby'] = [sortby];
+ if (offset != null) {
+ _queryParams['offset'] = [offset];
}
- if (topk != null) {
- _queryParams['topk'] = [topk];
+ if (realtime != null) {
+ _queryParams['realtime'] = ['${realtime}'];
}
if (select != null) {
_queryParams['select'] = [select];
}
+ if (sonar != null) {
+ _queryParams['sonar'] = ['${sonar}'];
+ }
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
+ }
+ if (sortby != null) {
+ _queryParams['sortby'] = [sortby];
+ }
+ if (timeRange != null) {
+ _queryParams['timeRange'] = [timeRange];
+ }
+ if (timeUnit != null) {
+ _queryParams['timeUnit'] = [timeUnit];
+ }
+ if (topk != null) {
+ _queryParams['topk'] = [topk];
+ }
if (tsAscending != null) {
_queryParams['tsAscending'] = ['${tsAscending}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (tzo != null) {
+ _queryParams['tzo'] = [tzo];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -8267,7 +8267,7 @@
/// `organizations/{org}/environments/{env}`.
/// Value must have pattern "^organizations/[^/]+/environments/[^/]+$".
///
- /// [submittedBy] - Filter response list by user who submitted queries.
+ /// [dataset] - Filter response list by dataset. Example: `api`, `mint`
///
/// [from] - Filter response list by returning asynchronous queries that
/// created after this date time. Time must be in ISO date-time format like
@@ -8276,14 +8276,14 @@
/// [inclQueriesWithoutReport] - Flag to include asynchronous queries that
/// don't have a report denifition.
///
+ /// [status] - Filter response list by asynchronous query status.
+ ///
+ /// [submittedBy] - Filter response list by user who submitted queries.
+ ///
/// [to] - Filter response list by returning asynchronous queries that created
/// before this date time. Time must be in ISO date-time format like
/// '2011-12-03T10:16:30Z'.
///
- /// [status] - Filter response list by asynchronous query status.
- ///
- /// [dataset] - Filter response list by dataset. Example: `api`, `mint`
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -8296,12 +8296,12 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListAsyncQueriesResponse> list(
core.String parent, {
- core.String submittedBy,
+ core.String dataset,
core.String from,
core.String inclQueriesWithoutReport,
- core.String to,
core.String status,
- core.String dataset,
+ core.String submittedBy,
+ core.String to,
core.String $fields,
}) {
core.String _url;
@@ -8314,8 +8314,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (submittedBy != null) {
- _queryParams['submittedBy'] = [submittedBy];
+ if (dataset != null) {
+ _queryParams['dataset'] = [dataset];
}
if (from != null) {
_queryParams['from'] = [from];
@@ -8323,14 +8323,14 @@
if (inclQueriesWithoutReport != null) {
_queryParams['inclQueriesWithoutReport'] = [inclQueriesWithoutReport];
}
- if (to != null) {
- _queryParams['to'] = [to];
- }
if (status != null) {
_queryParams['status'] = [status];
}
- if (dataset != null) {
- _queryParams['dataset'] = [dataset];
+ if (submittedBy != null) {
+ _queryParams['submittedBy'] = [submittedBy];
+ }
+ if (to != null) {
+ _queryParams['to'] = [to];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -8605,11 +8605,11 @@
/// `organizations/{org}/environments/{env}`.
/// Value must have pattern "^organizations/[^/]+/environments/[^/]+$".
///
- /// [type] - Required. Resource file type. {{ resource_file_type }}
- ///
/// [name] - Required. Name of the resource file. Must match the regular
/// expression: [a-zA-Z0-9:/\\!@#$%^&{}\[\]()+\-=,.~'` ]{1,255}
///
+ /// [type] - Required. Resource file type. {{ resource_file_type }}
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -8623,8 +8623,8 @@
async.Future<GoogleCloudApigeeV1ResourceFile> create(
GoogleApiHttpBody request,
core.String parent, {
- core.String type,
core.String name,
+ core.String type,
core.String $fields,
}) {
core.String _url;
@@ -8640,12 +8640,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (type != null) {
- _queryParams['type'] = [type];
- }
if (name != null) {
_queryParams['name'] = [name];
}
+ if (type != null) {
+ _queryParams['type'] = [type];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -9305,50 +9305,50 @@
/// Value must have pattern
/// "^organizations/[^/]+/environments/[^/]+/stats/.*$".
///
- /// [realtime] - Legacy field: not used anymore.
- ///
- /// [timeUnit] - A value of second, minute, hour, day, week, month. Time Unit
- /// specifies the granularity of metrics returned.
- ///
- /// [sortby] - Comma separated list of columns to sort the final result.
- ///
/// [accuracy] - Legacy field: not used anymore. This field is present to
/// support UI calls which still use this parameter.
///
- /// [filter] - Enables drill-down on specific dimension values
- ///
- /// [tzo] - This parameters contains the timezone offset value.
- ///
- /// [sort] - This parameter specifies if the sort order should be ascending or
- /// descending Supported values are DESC and ASC.
- ///
- /// [select] - The select parameter contains a comma separated list of
- /// metrics. E.g. sum(message_count),sum(error_count)
- ///
- /// [offset] - Use offset with limit to enable pagination of results. For
- /// example, to display results 11-20, set limit to '10' and offset to '10'.
- ///
- /// [limit] - This parameter is used to limit the number of result items.
- /// Default and the max value is 14400.
- ///
- /// [sonar] - This parameter routes the query to api monitoring service for
- /// last hour.
- ///
- /// [topk] - Take 'top k' results from results, for example, to return the top
- /// 5 results 'topk=5'.
- ///
- /// [timeRange] - Time interval for the interactive query. Time range is
- /// specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59
- ///
- /// [tsAscending] - Lists timestamps in ascending order if set to true.
- /// Recommend setting this value to true if you are using sortby with
- /// sort=DESC.
- ///
/// [aggTable] - If customers want to query custom aggregate tables, then this
/// parameter can be used to specify the table name. If this parameter is
/// skipped, then Edge Query will try to retrieve the data from fact tables
/// which will be expensive.
///
+ /// [filter] - Enables drill-down on specific dimension values
+ ///
+ /// [limit] - This parameter is used to limit the number of result items.
+ /// Default and the max value is 14400.
+ ///
+ /// [offset] - Use offset with limit to enable pagination of results. For
+ /// example, to display results 11-20, set limit to '10' and offset to '10'.
+ ///
+ /// [realtime] - Legacy field: not used anymore.
+ ///
+ /// [select] - The select parameter contains a comma separated list of
+ /// metrics. E.g. sum(message_count),sum(error_count)
+ ///
+ /// [sonar] - This parameter routes the query to api monitoring service for
+ /// last hour.
+ ///
+ /// [sort] - This parameter specifies if the sort order should be ascending or
+ /// descending Supported values are DESC and ASC.
+ ///
+ /// [sortby] - Comma separated list of columns to sort the final result.
+ ///
+ /// [timeRange] - Time interval for the interactive query. Time range is
+ /// specified as start~end E.g. 04/15/2017 00:00~05/15/2017 23:59
+ ///
+ /// [timeUnit] - A value of second, minute, hour, day, week, month. Time Unit
+ /// specifies the granularity of metrics returned.
+ ///
+ /// [topk] - Take 'top k' results from results, for example, to return the top
+ /// 5 results 'topk=5'.
+ ///
+ /// [tsAscending] - Lists timestamps in ascending order if set to true.
+ /// Recommend setting this value to true if you are using sortby with
+ /// sort=DESC.
+ ///
+ /// [tzo] - This parameters contains the timezone offset value.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9361,21 +9361,21 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1Stats> get(
core.String name, {
- core.bool realtime,
- core.String timeUnit,
- core.String sortby,
core.String accuracy,
- core.String filter,
- core.String tzo,
- core.String sort,
- core.String select,
- core.String offset,
- core.String limit,
- core.bool sonar,
- core.String topk,
- core.String timeRange,
- core.bool tsAscending,
core.String aggTable,
+ core.String filter,
+ core.String limit,
+ core.String offset,
+ core.bool realtime,
+ core.String select,
+ core.bool sonar,
+ core.String sort,
+ core.String sortby,
+ core.String timeRange,
+ core.String timeUnit,
+ core.String topk,
+ core.bool tsAscending,
+ core.String tzo,
core.String $fields,
}) {
core.String _url;
@@ -9388,50 +9388,50 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (realtime != null) {
- _queryParams['realtime'] = ['${realtime}'];
- }
- if (timeUnit != null) {
- _queryParams['timeUnit'] = [timeUnit];
- }
- if (sortby != null) {
- _queryParams['sortby'] = [sortby];
- }
if (accuracy != null) {
_queryParams['accuracy'] = [accuracy];
}
+ if (aggTable != null) {
+ _queryParams['aggTable'] = [aggTable];
+ }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (tzo != null) {
- _queryParams['tzo'] = [tzo];
- }
- if (sort != null) {
- _queryParams['sort'] = [sort];
- }
- if (select != null) {
- _queryParams['select'] = [select];
+ if (limit != null) {
+ _queryParams['limit'] = [limit];
}
if (offset != null) {
_queryParams['offset'] = [offset];
}
- if (limit != null) {
- _queryParams['limit'] = [limit];
+ if (realtime != null) {
+ _queryParams['realtime'] = ['${realtime}'];
+ }
+ if (select != null) {
+ _queryParams['select'] = [select];
}
if (sonar != null) {
_queryParams['sonar'] = ['${sonar}'];
}
- if (topk != null) {
- _queryParams['topk'] = [topk];
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
+ }
+ if (sortby != null) {
+ _queryParams['sortby'] = [sortby];
}
if (timeRange != null) {
_queryParams['timeRange'] = [timeRange];
}
+ if (timeUnit != null) {
+ _queryParams['timeUnit'] = [timeUnit];
+ }
+ if (topk != null) {
+ _queryParams['topk'] = [topk];
+ }
if (tsAscending != null) {
_queryParams['tsAscending'] = ['${tsAscending}'];
}
- if (aggTable != null) {
- _queryParams['aggTable'] = [aggTable];
+ if (tzo != null) {
+ _queryParams['tzo'] = [tzo];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -10171,12 +10171,12 @@
/// in your request: `organizations/{org}/instances/{instance}`
/// Value must have pattern "^organizations/[^/]+/instances/[^/]+$".
///
- /// [pageToken] - Page token, returned by a previous ListInstanceAttachments
- /// call, that you can use to retrieve the next page of content.
- ///
/// [pageSize] - Maximum number of instance attachments to return. Defaults to
/// 25.
///
+ /// [pageToken] - Page token, returned by a previous ListInstanceAttachments
+ /// call, that you can use to retrieve the next page of content.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -10189,8 +10189,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudApigeeV1ListInstanceAttachmentsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -10203,12 +10203,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index 0b0ae18..2251c29 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -508,6 +508,8 @@
///
/// [pageSize] - Maximum results to return per page.
///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [view] - Controls the set of fields returned in the LIST response.
/// Possible string values are:
/// - "BASIC_CERTIFICATE" : Basic certificate information, including
@@ -516,8 +518,6 @@
/// detailed information on the domain mappings that have this certificate
/// mapped.
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -531,8 +531,8 @@
async.Future<ListAuthorizedCertificatesResponse> list(
core.String appsId, {
core.int pageSize,
- core.String view,
core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -548,12 +548,12 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1318,14 +1318,14 @@
/// [appsId] - Part of `parent`. Name of the Firewall collection to retrieve.
/// Example: apps/myapp/firewall/ingressRules.
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
- /// [pageSize] - Maximum results to return per page.
- ///
/// [matchingAddress] - A valid IP Address. If set, only rules matching this
/// address will be returned. The first returned rule will be the rule that
/// fires on requests from this IP.
///
+ /// [pageSize] - Maximum results to return per page.
+ ///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1338,9 +1338,9 @@
/// this method will complete with the same error.
async.Future<ListIngressRulesResponse> list(
core.String appsId, {
- core.String pageToken,
- core.int pageSize,
core.String matchingAddress,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1353,14 +1353,14 @@
if (appsId == null) {
throw core.ArgumentError('Parameter appsId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (matchingAddress != null) {
+ _queryParams['matchingAddress'] = [matchingAddress];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (matchingAddress != null) {
- _queryParams['matchingAddress'] = [matchingAddress];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1522,12 +1522,12 @@
/// [appsId] - Part of `name`. The resource that owns the locations
/// collection, if applicable.
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1540,9 +1540,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String appsId, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1555,15 +1555,15 @@
if (appsId == null) {
throw core.ArgumentError('Parameter appsId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1661,11 +1661,11 @@
///
/// [appsId] - Part of `name`. The name of the operation's parent resource.
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1679,9 +1679,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String appsId, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1694,14 +1694,14 @@
if (appsId == null) {
throw core.ArgumentError('Parameter appsId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1919,8 +1919,6 @@
///
/// [servicesId] - Part of `name`. See documentation of `appsId`.
///
- /// [updateMask] - Standard field mask for the set of fields to be updated.
- ///
/// [migrateTraffic] - Set to true to gradually shift traffic to one or more
/// versions that you specify. By default, traffic is shifted immediately. For
/// gradual traffic migration, the target versions must be located within
@@ -1935,6 +1933,8 @@
/// Splitting Traffic
/// (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
///
+ /// [updateMask] - Standard field mask for the set of fields to be updated.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1949,8 +1949,8 @@
Service request,
core.String appsId,
core.String servicesId, {
- core.String updateMask,
core.bool migrateTraffic,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -1969,12 +1969,12 @@
if (servicesId == null) {
throw core.ArgumentError('Parameter servicesId is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (migrateTraffic != null) {
_queryParams['migrateTraffic'] = ['${migrateTraffic}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2227,6 +2227,8 @@
///
/// [pageSize] - Maximum results to return per page.
///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [view] - Controls the set of fields returned in the List response.
/// Possible string values are:
/// - "BASIC" : Basic version information including scaling and inbound
@@ -2235,8 +2237,6 @@
/// deployment. This format is required when creating resources, but is not
/// returned in Get or List by default.
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2251,8 +2251,8 @@
core.String appsId,
core.String servicesId, {
core.int pageSize,
- core.String view,
core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2271,12 +2271,12 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2672,10 +2672,10 @@
///
/// [versionsId] - Part of `parent`. See documentation of `appsId`.
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [pageSize] - Maximum results to return per page.
///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2690,8 +2690,8 @@
core.String appsId,
core.String servicesId,
core.String versionsId, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2710,12 +2710,12 @@
if (versionsId == null) {
throw core.ArgumentError('Parameter versionsId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/bigquery/v2.dart b/generated/googleapis/lib/bigquery/v2.dart
index bbe25cf..4de5545 100644
--- a/generated/googleapis/lib/bigquery/v2.dart
+++ b/generated/googleapis/lib/bigquery/v2.dart
@@ -631,21 +631,21 @@
///
/// [jobId] - [Required] Job ID of the query job
///
+ /// [location] - The geographic location where the job should run. Required
+ /// except for US and EU. See details at
+ /// https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
+ ///
/// [maxResults] - Maximum number of results to read
///
+ /// [pageToken] - Page token, returned by a previous call, to request the next
+ /// page of results
+ ///
/// [startIndex] - Zero-based index of the starting row
///
/// [timeoutMs] - How long to wait for the query to complete, in milliseconds,
/// before returning. Default is 10 seconds. If the timeout passes before the
/// job completes, the 'jobComplete' field in the response will be false
///
- /// [location] - The geographic location where the job should run. Required
- /// except for US and EU. See details at
- /// https://cloud.google.com/bigquery/docs/locations#specifying_your_location.
- ///
- /// [pageToken] - Page token, returned by a previous call, to request the next
- /// page of results
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -659,11 +659,11 @@
async.Future<GetQueryResultsResponse> getQueryResults(
core.String projectId,
core.String jobId, {
+ core.String location,
core.int maxResults,
+ core.String pageToken,
core.String startIndex,
core.int timeoutMs,
- core.String location,
- core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -679,21 +679,21 @@
if (jobId == null) {
throw core.ArgumentError('Parameter jobId is required.');
}
+ if (location != null) {
+ _queryParams['location'] = [location];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (startIndex != null) {
_queryParams['startIndex'] = [startIndex];
}
if (timeoutMs != null) {
_queryParams['timeoutMs'] = ['${timeoutMs}'];
}
- if (location != null) {
- _queryParams['location'] = [location];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -801,18 +801,22 @@
///
/// [projectId] - Project ID of the jobs to list
///
+ /// [allUsers] - Whether to display jobs owned by all users in the project.
+ /// Default false
+ ///
/// [maxCreationTime] - Max value for job creation time, in milliseconds since
/// the POSIX epoch. If set, only jobs created before or at this timestamp are
/// returned
///
/// [maxResults] - Maximum number of results to return
///
- /// [stateFilter] - Filter for job state
- ///
/// [minCreationTime] - Min value for job creation time, in milliseconds since
/// the POSIX epoch. If set, only jobs created after or at this timestamp are
/// returned
///
+ /// [pageToken] - Page token, returned by a previous call, to request the next
+ /// page of results
+ ///
/// [parentJobId] - If set, retrieves only jobs whose parent is this job.
/// Otherwise, retrieves only jobs which have no parent
///
@@ -821,11 +825,7 @@
/// - "full" : Includes all job data
/// - "minimal" : Does not include the job configuration
///
- /// [pageToken] - Page token, returned by a previous call, to request the next
- /// page of results
- ///
- /// [allUsers] - Whether to display jobs owned by all users in the project.
- /// Default false
+ /// [stateFilter] - Filter for job state
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -839,14 +839,14 @@
/// this method will complete with the same error.
async.Future<JobList> list(
core.String projectId, {
+ core.bool allUsers,
core.String maxCreationTime,
core.int maxResults,
- core.List<core.String> stateFilter,
core.String minCreationTime,
+ core.String pageToken,
core.String parentJobId,
core.String projection,
- core.String pageToken,
- core.bool allUsers,
+ core.List<core.String> stateFilter,
core.String $fields,
}) {
core.String _url;
@@ -859,29 +859,29 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
+ if (allUsers != null) {
+ _queryParams['allUsers'] = ['${allUsers}'];
+ }
if (maxCreationTime != null) {
_queryParams['maxCreationTime'] = [maxCreationTime];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (stateFilter != null) {
- _queryParams['stateFilter'] = stateFilter;
- }
if (minCreationTime != null) {
_queryParams['minCreationTime'] = [minCreationTime];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (parentJobId != null) {
_queryParams['parentJobId'] = [parentJobId];
}
if (projection != null) {
_queryParams['projection'] = [projection];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (allUsers != null) {
- _queryParams['allUsers'] = ['${allUsers}'];
+ if (stateFilter != null) {
+ _queryParams['stateFilter'] = stateFilter;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1110,13 +1110,13 @@
/// [datasetId] - Required. Dataset ID of the models to list.
/// Value must have pattern "^[^/]+$".
///
- /// [pageToken] - Page token, returned by a previous call to request the next
- /// page of results
- ///
/// [maxResults] - The maximum number of results to return in a single
/// response page. Leverage the page tokens to iterate through the entire
/// collection.
///
+ /// [pageToken] - Page token, returned by a previous call to request the next
+ /// page of results
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1130,8 +1130,8 @@
async.Future<ListModelsResponse> list(
core.String projectId,
core.String datasetId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1147,12 +1147,12 @@
if (datasetId == null) {
throw core.ArgumentError('Parameter datasetId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1310,11 +1310,11 @@
///
/// Request parameters:
///
+ /// [maxResults] - Maximum number of results to return
+ ///
/// [pageToken] - Page token, returned by a previous call, to request the next
/// page of results
///
- /// [maxResults] - Maximum number of results to return
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1326,8 +1326,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ProjectList> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1337,12 +1337,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1587,23 +1587,23 @@
/// [datasetId] - Required. Dataset ID of the routines to list
/// Value must have pattern "^[^/]+$".
///
- /// [readMask] - If set, then only the Routine fields in the field mask, as
- /// well as project_id, dataset_id and routine_id, are returned in the
- /// response. If unset, then the following Routine fields are returned: etag,
- /// project_id, dataset_id, routine_id, routine_type, creation_time,
- /// last_modified_time, and language.
- ///
- /// [pageToken] - Page token, returned by a previous call, to request the next
- /// page of results
+ /// [filter] - If set, then only the Routines matching this filter are
+ /// returned. The current supported form is either "routine_type:" or
+ /// "routineType:", where is a RoutineType enum. Example:
+ /// "routineType:SCALAR_FUNCTION".
///
/// [maxResults] - The maximum number of results to return in a single
/// response page. Leverage the page tokens to iterate through the entire
/// collection.
///
- /// [filter] - If set, then only the Routines matching this filter are
- /// returned. The current supported form is either "routine_type:" or
- /// "routineType:", where is a RoutineType enum. Example:
- /// "routineType:SCALAR_FUNCTION".
+ /// [pageToken] - Page token, returned by a previous call, to request the next
+ /// page of results
+ ///
+ /// [readMask] - If set, then only the Routine fields in the field mask, as
+ /// well as project_id, dataset_id and routine_id, are returned in the
+ /// response. If unset, then the following Routine fields are returned: etag,
+ /// project_id, dataset_id, routine_id, routine_type, creation_time,
+ /// last_modified_time, and language.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1618,10 +1618,10 @@
async.Future<ListRoutinesResponse> list(
core.String projectId,
core.String datasetId, {
- core.String readMask,
- core.String pageToken,
- core.int maxResults,
core.String filter,
+ core.int maxResults,
+ core.String pageToken,
+ core.String readMask,
core.String $fields,
}) {
core.String _url;
@@ -1637,17 +1637,17 @@
if (datasetId == null) {
throw core.ArgumentError('Parameter datasetId is required.');
}
- if (readMask != null) {
- _queryParams['readMask'] = [readMask];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (readMask != null) {
+ _queryParams['readMask'] = [readMask];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1838,14 +1838,14 @@
///
/// [maxResults] - Maximum number of results to return
///
+ /// [pageToken] - Page token, returned by a previous call, identifying the
+ /// result set
+ ///
/// [selectedFields] - List of fields to return (comma-separated). If
/// unspecified, all fields are returned
///
/// [startIndex] - Zero-based index of the starting row to read
///
- /// [pageToken] - Page token, returned by a previous call, identifying the
- /// result set
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1861,9 +1861,9 @@
core.String datasetId,
core.String tableId, {
core.int maxResults,
+ core.String pageToken,
core.String selectedFields,
core.String startIndex,
- core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1885,15 +1885,15 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (selectedFields != null) {
_queryParams['selectedFields'] = [selectedFields];
}
if (startIndex != null) {
_queryParams['startIndex'] = [startIndex];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2195,11 +2195,11 @@
///
/// [datasetId] - Dataset ID of the tables to list
///
+ /// [maxResults] - Maximum number of results to return
+ ///
/// [pageToken] - Page token, returned by a previous call, to request the next
/// page of results
///
- /// [maxResults] - Maximum number of results to return
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2213,8 +2213,8 @@
async.Future<TableList> list(
core.String projectId,
core.String datasetId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2230,12 +2230,12 @@
if (datasetId == null) {
throw core.ArgumentError('Parameter datasetId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/bigquerydatatransfer/v1.dart b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
index 30892fc..5b0fe58 100644
--- a/generated/googleapis/lib/bigquerydatatransfer/v1.dart
+++ b/generated/googleapis/lib/bigquerydatatransfer/v1.dart
@@ -202,14 +202,14 @@
/// `projects/{project_id}/locations/{location_id}
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Page size. The default page size is the maximum value of 1000
+ /// results.
+ ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page of `ListDataSourcesRequest` list results. For multiple-page results,
/// `ListDataSourcesResponse` outputs a `next_page` token, which can be used
/// as the `page_token` value to request the next page of list results.
///
- /// [pageSize] - Page size. The default page size is the maximum value of 1000
- /// results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -222,8 +222,8 @@
/// this method will complete with the same error.
async.Future<ListDataSourcesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -236,12 +236,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -525,14 +525,14 @@
/// `projects/{project_id}/locations/{location_id}
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - Page size. The default page size is the maximum value of 1000
+ /// results.
+ ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page of `ListDataSourcesRequest` list results. For multiple-page results,
/// `ListDataSourcesResponse` outputs a `next_page` token, which can be used
/// as the `page_token` value to request the next page of list results.
///
- /// [pageSize] - Page size. The default page size is the maximum value of 1000
- /// results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -545,8 +545,8 @@
/// this method will complete with the same error.
async.Future<ListDataSourcesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -559,12 +559,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -608,18 +608,6 @@
/// match - the request will fail.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [versionInfo] - Optional version info. If users want to find a very recent
- /// access token, that is, immediately after approving access, users have to
- /// set the version_info claim in the token request. To obtain the
- /// version_info, users must use the "none+gsession" response type. which be
- /// return a version_info back in the authorization response which be be put
- /// in a JWT claim in the token request.
- ///
- /// [serviceAccountName] - Optional service account name. If this field is
- /// set, transfer config will be created with this service account
- /// credentials. It requires that requesting user calling this API has
- /// permissions to act as this service account.
- ///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
/// transfer configuration. This is required if new credentials are needed, as
/// indicated by `CheckValidCreds`. In order to obtain authorization_code,
@@ -635,6 +623,18 @@
/// with the page text prompting the user to copy the code and paste it in the
/// application.
///
+ /// [serviceAccountName] - Optional service account name. If this field is
+ /// set, transfer config will be created with this service account
+ /// credentials. It requires that requesting user calling this API has
+ /// permissions to act as this service account.
+ ///
+ /// [versionInfo] - Optional version info. If users want to find a very recent
+ /// access token, that is, immediately after approving access, users have to
+ /// set the version_info claim in the token request. To obtain the
+ /// version_info, users must use the "none+gsession" response type. which be
+ /// return a version_info back in the authorization response which be be put
+ /// in a JWT claim in the token request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -648,9 +648,9 @@
async.Future<TransferConfig> create(
TransferConfig request,
core.String parent, {
- core.String versionInfo,
- core.String serviceAccountName,
core.String authorizationCode,
+ core.String serviceAccountName,
+ core.String versionInfo,
core.String $fields,
}) {
core.String _url;
@@ -666,14 +666,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (versionInfo != null) {
- _queryParams['versionInfo'] = [versionInfo];
+ if (authorizationCode != null) {
+ _queryParams['authorizationCode'] = [authorizationCode];
}
if (serviceAccountName != null) {
_queryParams['serviceAccountName'] = [serviceAccountName];
}
- if (authorizationCode != null) {
- _queryParams['authorizationCode'] = [authorizationCode];
+ if (versionInfo != null) {
+ _queryParams['versionInfo'] = [versionInfo];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -809,12 +809,12 @@
/// `projects/{project_id}/locations/{location_id}`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - Page size. The default page size is the maximum value of 1000
- /// results.
- ///
/// [dataSourceIds] - When specified, only configurations of requested data
/// sources are returned.
///
+ /// [pageSize] - Page size. The default page size is the maximum value of 1000
+ /// results.
+ ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page of `ListTransfersRequest` list results. For multiple-page results,
/// `ListTransfersResponse` outputs a `next_page` token, which can be used as
@@ -832,8 +832,8 @@
/// this method will complete with the same error.
async.Future<ListTransferConfigsResponse> list(
core.String parent, {
- core.int pageSize,
core.List<core.String> dataSourceIds,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -847,12 +847,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (dataSourceIds != null) {
_queryParams['dataSourceIds'] = dataSourceIds;
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -914,6 +914,9 @@
/// requesting user calling this API has permissions to act as this service
/// account.
///
+ /// [updateMask] - Required. Required list of fields to be updated in this
+ /// request.
+ ///
/// [versionInfo] - Optional version info. If users want to find a very recent
/// access token, that is, immediately after approving access, users have to
/// set the version_info claim in the token request. To obtain the
@@ -921,9 +924,6 @@
/// return a version_info back in the authorization response which be be put
/// in a JWT claim in the token request.
///
- /// [updateMask] - Required. Required list of fields to be updated in this
- /// request.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -939,8 +939,8 @@
core.String name, {
core.String authorizationCode,
core.String serviceAccountName,
- core.String versionInfo,
core.String updateMask,
+ core.String versionInfo,
core.String $fields,
}) {
core.String _url;
@@ -962,12 +962,12 @@
if (serviceAccountName != null) {
_queryParams['serviceAccountName'] = [serviceAccountName];
}
- if (versionInfo != null) {
- _queryParams['versionInfo'] = [versionInfo];
- }
if (updateMask != null) {
_queryParams['updateMask'] = [updateMask];
}
+ if (versionInfo != null) {
+ _queryParams['versionInfo'] = [versionInfo];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1243,9 +1243,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$".
///
- /// [states] - When specified, only transfer runs with requested states are
- /// returned.
- ///
/// [pageSize] - Page size. The default page size is the maximum value of 1000
/// results.
///
@@ -1259,6 +1256,9 @@
/// - "RUN_ATTEMPT_UNSPECIFIED" : All runs should be returned.
/// - "LATEST" : Only latest run per day should be returned.
///
+ /// [states] - When specified, only transfer runs with requested states are
+ /// returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1271,10 +1271,10 @@
/// this method will complete with the same error.
async.Future<ListTransferRunsResponse> list(
core.String parent, {
- core.List<core.String> states,
core.int pageSize,
core.String pageToken,
core.String runAttempt,
+ core.List<core.String> states,
core.String $fields,
}) {
core.String _url;
@@ -1287,9 +1287,6 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (states != null) {
- _queryParams['states'] = states;
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
@@ -1299,6 +1296,9 @@
if (runAttempt != null) {
_queryParams['runAttempt'] = [runAttempt];
}
+ if (states != null) {
+ _queryParams['states'] = states;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1335,16 +1335,16 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$".
///
- /// [pageToken] - Pagination token, which can be used to request a specific
- /// page of `ListTransferLogsRequest` list results. For multiple-page results,
- /// `ListTransferLogsResponse` outputs a `next_page` token, which can be used
- /// as the `page_token` value to request the next page of list results.
+ /// [messageTypes] - Message types to return. If not populated - INFO, WARNING
+ /// and ERROR messages are returned.
///
/// [pageSize] - Page size. The default page size is the maximum value of 1000
/// results.
///
- /// [messageTypes] - Message types to return. If not populated - INFO, WARNING
- /// and ERROR messages are returned.
+ /// [pageToken] - Pagination token, which can be used to request a specific
+ /// page of `ListTransferLogsRequest` list results. For multiple-page results,
+ /// `ListTransferLogsResponse` outputs a `next_page` token, which can be used
+ /// as the `page_token` value to request the next page of list results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1358,9 +1358,9 @@
/// this method will complete with the same error.
async.Future<ListTransferLogsResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.List<core.String> messageTypes,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1373,14 +1373,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (messageTypes != null) {
+ _queryParams['messageTypes'] = messageTypes;
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (messageTypes != null) {
- _queryParams['messageTypes'] = messageTypes;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1425,18 +1425,6 @@
/// match - the request will fail.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [versionInfo] - Optional version info. If users want to find a very recent
- /// access token, that is, immediately after approving access, users have to
- /// set the version_info claim in the token request. To obtain the
- /// version_info, users must use the "none+gsession" response type. which be
- /// return a version_info back in the authorization response which be be put
- /// in a JWT claim in the token request.
- ///
- /// [serviceAccountName] - Optional service account name. If this field is
- /// set, transfer config will be created with this service account
- /// credentials. It requires that requesting user calling this API has
- /// permissions to act as this service account.
- ///
/// [authorizationCode] - Optional OAuth2 authorization code to use with this
/// transfer configuration. This is required if new credentials are needed, as
/// indicated by `CheckValidCreds`. In order to obtain authorization_code,
@@ -1452,6 +1440,18 @@
/// with the page text prompting the user to copy the code and paste it in the
/// application.
///
+ /// [serviceAccountName] - Optional service account name. If this field is
+ /// set, transfer config will be created with this service account
+ /// credentials. It requires that requesting user calling this API has
+ /// permissions to act as this service account.
+ ///
+ /// [versionInfo] - Optional version info. If users want to find a very recent
+ /// access token, that is, immediately after approving access, users have to
+ /// set the version_info claim in the token request. To obtain the
+ /// version_info, users must use the "none+gsession" response type. which be
+ /// return a version_info back in the authorization response which be be put
+ /// in a JWT claim in the token request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1465,9 +1465,9 @@
async.Future<TransferConfig> create(
TransferConfig request,
core.String parent, {
- core.String versionInfo,
- core.String serviceAccountName,
core.String authorizationCode,
+ core.String serviceAccountName,
+ core.String versionInfo,
core.String $fields,
}) {
core.String _url;
@@ -1483,14 +1483,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (versionInfo != null) {
- _queryParams['versionInfo'] = [versionInfo];
+ if (authorizationCode != null) {
+ _queryParams['authorizationCode'] = [authorizationCode];
}
if (serviceAccountName != null) {
_queryParams['serviceAccountName'] = [serviceAccountName];
}
- if (authorizationCode != null) {
- _queryParams['authorizationCode'] = [authorizationCode];
+ if (versionInfo != null) {
+ _queryParams['versionInfo'] = [versionInfo];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1624,6 +1624,9 @@
/// `projects/{project_id}/locations/{location_id}`
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [dataSourceIds] - When specified, only configurations of requested data
+ /// sources are returned.
+ ///
/// [pageSize] - Page size. The default page size is the maximum value of 1000
/// results.
///
@@ -1632,9 +1635,6 @@
/// `ListTransfersResponse` outputs a `next_page` token, which can be used as
/// the `page_token` value to request the next page of list results.
///
- /// [dataSourceIds] - When specified, only configurations of requested data
- /// sources are returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1647,9 +1647,9 @@
/// this method will complete with the same error.
async.Future<ListTransferConfigsResponse> list(
core.String parent, {
+ core.List<core.String> dataSourceIds,
core.int pageSize,
core.String pageToken,
- core.List<core.String> dataSourceIds,
core.String $fields,
}) {
core.String _url;
@@ -1662,15 +1662,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (dataSourceIds != null) {
+ _queryParams['dataSourceIds'] = dataSourceIds;
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (dataSourceIds != null) {
- _queryParams['dataSourceIds'] = dataSourceIds;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1722,6 +1722,12 @@
/// with the page text prompting the user to copy the code and paste it in the
/// application.
///
+ /// [serviceAccountName] - Optional service account name. If this field is set
+ /// and "service_account_name" is set in update_mask, transfer config will be
+ /// updated to use this service account credentials. It requires that
+ /// requesting user calling this API has permissions to act as this service
+ /// account.
+ ///
/// [updateMask] - Required. Required list of fields to be updated in this
/// request.
///
@@ -1732,12 +1738,6 @@
/// return a version_info back in the authorization response which be be put
/// in a JWT claim in the token request.
///
- /// [serviceAccountName] - Optional service account name. If this field is set
- /// and "service_account_name" is set in update_mask, transfer config will be
- /// updated to use this service account credentials. It requires that
- /// requesting user calling this API has permissions to act as this service
- /// account.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1752,9 +1752,9 @@
TransferConfig request,
core.String name, {
core.String authorizationCode,
+ core.String serviceAccountName,
core.String updateMask,
core.String versionInfo,
- core.String serviceAccountName,
core.String $fields,
}) {
core.String _url;
@@ -1773,15 +1773,15 @@
if (authorizationCode != null) {
_queryParams['authorizationCode'] = [authorizationCode];
}
+ if (serviceAccountName != null) {
+ _queryParams['serviceAccountName'] = [serviceAccountName];
+ }
if (updateMask != null) {
_queryParams['updateMask'] = [updateMask];
}
if (versionInfo != null) {
_queryParams['versionInfo'] = [versionInfo];
}
- if (serviceAccountName != null) {
- _queryParams['serviceAccountName'] = [serviceAccountName];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2055,9 +2055,6 @@
/// [pageSize] - Page size. The default page size is the maximum value of 1000
/// results.
///
- /// [states] - When specified, only transfer runs with requested states are
- /// returned.
- ///
/// [pageToken] - Pagination token, which can be used to request a specific
/// page of `ListTransferRunsRequest` list results. For multiple-page results,
/// `ListTransferRunsResponse` outputs a `next_page` token, which can be used
@@ -2068,6 +2065,9 @@
/// - "RUN_ATTEMPT_UNSPECIFIED" : All runs should be returned.
/// - "LATEST" : Only latest run per day should be returned.
///
+ /// [states] - When specified, only transfer runs with requested states are
+ /// returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2081,9 +2081,9 @@
async.Future<ListTransferRunsResponse> list(
core.String parent, {
core.int pageSize,
- core.List<core.String> states,
core.String pageToken,
core.String runAttempt,
+ core.List<core.String> states,
core.String $fields,
}) {
core.String _url;
@@ -2099,15 +2099,15 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (states != null) {
- _queryParams['states'] = states;
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (runAttempt != null) {
_queryParams['runAttempt'] = [runAttempt];
}
+ if (states != null) {
+ _queryParams['states'] = states;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2144,16 +2144,16 @@
/// Value must have pattern
/// "^projects/[^/]+/transferConfigs/[^/]+/runs/[^/]+$".
///
- /// [pageToken] - Pagination token, which can be used to request a specific
- /// page of `ListTransferLogsRequest` list results. For multiple-page results,
- /// `ListTransferLogsResponse` outputs a `next_page` token, which can be used
- /// as the `page_token` value to request the next page of list results.
+ /// [messageTypes] - Message types to return. If not populated - INFO, WARNING
+ /// and ERROR messages are returned.
///
/// [pageSize] - Page size. The default page size is the maximum value of 1000
/// results.
///
- /// [messageTypes] - Message types to return. If not populated - INFO, WARNING
- /// and ERROR messages are returned.
+ /// [pageToken] - Pagination token, which can be used to request a specific
+ /// page of `ListTransferLogsRequest` list results. For multiple-page results,
+ /// `ListTransferLogsResponse` outputs a `next_page` token, which can be used
+ /// as the `page_token` value to request the next page of list results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2167,9 +2167,9 @@
/// this method will complete with the same error.
async.Future<ListTransferLogsResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.List<core.String> messageTypes,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2182,14 +2182,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (messageTypes != null) {
+ _queryParams['messageTypes'] = messageTypes;
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (messageTypes != null) {
- _queryParams['messageTypes'] = messageTypes;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/bigqueryreservation/v1.dart b/generated/googleapis/lib/bigqueryreservation/v1.dart
index 77d67d7..98f9041 100644
--- a/generated/googleapis/lib/bigqueryreservation/v1.dart
+++ b/generated/googleapis/lib/bigqueryreservation/v1.dart
@@ -274,13 +274,13 @@
///
/// [pageSize] - The maximum number of items to return per page.
///
+ /// [pageToken] - The next_page_token value returned from a previous List
+ /// request, if any.
+ ///
/// [query] - Please specify resource name as assignee in the query. Examples:
/// * `assignee=projects/myproject` * `assignee=folders/123` *
/// `assignee=organizations/456`
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -294,8 +294,8 @@
async.Future<SearchAllAssignmentsResponse> searchAllAssignments(
core.String parent, {
core.int pageSize,
- core.String query,
core.String pageToken,
+ core.String query,
core.String $fields,
}) {
core.String _url;
@@ -311,12 +311,12 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (query != null) {
- _queryParams['query'] = [query];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -675,11 +675,11 @@
/// `projects/myproject/locations/US`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - The maximum number of items to return.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [pageSize] - The maximum number of items to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -692,8 +692,8 @@
/// this method will complete with the same error.
async.Future<ListCapacityCommitmentsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -706,12 +706,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/bigtableadmin/v2.dart b/generated/googleapis/lib/bigtableadmin/v2.dart
index 9aff4d2..e48ff12 100644
--- a/generated/googleapis/lib/bigtableadmin/v2.dart
+++ b/generated/googleapis/lib/bigtableadmin/v2.dart
@@ -279,11 +279,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations/projects/.*$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -297,9 +297,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -312,14 +312,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -899,13 +899,13 @@
/// `projects/{project}/instances/{instance}`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [ignoreWarnings] - If true, ignore safety checks when creating the app
- /// profile.
- ///
/// [appProfileId] - Required. The ID to be used when referring to the new app
/// profile within its instance, e.g., just `myprofile` rather than
/// `projects/myproject/instances/myinstance/appProfiles/myprofile`.
///
+ /// [ignoreWarnings] - If true, ignore safety checks when creating the app
+ /// profile.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -919,8 +919,8 @@
async.Future<AppProfile> create(
AppProfile request,
core.String parent, {
- core.bool ignoreWarnings,
core.String appProfileId,
+ core.bool ignoreWarnings,
core.String $fields,
}) {
core.String _url;
@@ -936,12 +936,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (ignoreWarnings != null) {
- _queryParams['ignoreWarnings'] = ['${ignoreWarnings}'];
- }
if (appProfileId != null) {
_queryParams['appProfileId'] = [appProfileId];
}
+ if (ignoreWarnings != null) {
+ _queryParams['ignoreWarnings'] = ['${ignoreWarnings}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1084,8 +1084,6 @@
/// `projects/myproject/instances/-`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [pageToken] - The value of `next_page_token` returned by a previous call.
- ///
/// [pageSize] - Maximum number of results per page. A page_size of zero lets
/// the server choose the number of items to return. A page_size which is
/// strictly positive will return at most that many items. A negative
@@ -1094,6 +1092,8 @@
/// set in subsequent calls, it must match the page_size given in the first
/// request.
///
+ /// [pageToken] - The value of `next_page_token` returned by a previous call.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1106,8 +1106,8 @@
/// this method will complete with the same error.
async.Future<ListAppProfilesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1120,12 +1120,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1787,9 +1787,6 @@
/// backup is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` -->
/// The backup's size is greater than 10GB
///
- /// [pageSize] - Number of backups to be returned in the response. If 0 or
- /// less, defaults to the server's maximum allowed page size.
- ///
/// [orderBy] - An expression for specifying the sort order of the results of
/// the request. The string value should specify one or more fields in Backup.
/// The full syntax is described at https://aip.dev/132#ordering. Fields
@@ -1801,6 +1798,9 @@
/// empty, results will be sorted by `start_time` in descending order starting
/// from the most recently created backup.
///
+ /// [pageSize] - Number of backups to be returned in the response. If 0 or
+ /// less, defaults to the server's maximum allowed page size.
+ ///
/// [pageToken] - If non-empty, `page_token` should contain a next_page_token
/// from a previous ListBackupsResponse to the same `parent` and with the same
/// `filter`.
@@ -1818,8 +1818,8 @@
async.Future<ListBackupsResponse> list(
core.String parent, {
core.String filter,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -1836,12 +1836,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -2492,6 +2492,16 @@
/// `projects/{project}/instances/{instance}`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
+ /// [pageSize] - Maximum number of results per page. A page_size of zero lets
+ /// the server choose the number of items to return. A page_size which is
+ /// strictly positive will return at most that many items. A negative
+ /// page_size will cause an error. Following the first request, subsequent
+ /// paginated calls are not required to pass a page_size. If a page_size is
+ /// set in subsequent calls, it must match the page_size given in the first
+ /// request.
+ ///
+ /// [pageToken] - The value of `next_page_token` returned by a previous call.
+ ///
/// [view] - The view to be applied to the returned tables' fields. Only
/// NAME_ONLY view (default) and REPLICATION_VIEW are supported.
/// Possible string values are:
@@ -2504,16 +2514,6 @@
/// table's replication state.
/// - "FULL" : Populates all fields.
///
- /// [pageToken] - The value of `next_page_token` returned by a previous call.
- ///
- /// [pageSize] - Maximum number of results per page. A page_size of zero lets
- /// the server choose the number of items to return. A page_size which is
- /// strictly positive will return at most that many items. A negative
- /// page_size will cause an error. Following the first request, subsequent
- /// paginated calls are not required to pass a page_size. If a page_size is
- /// set in subsequent calls, it must match the page_size given in the first
- /// request.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2526,9 +2526,9 @@
/// this method will complete with the same error.
async.Future<ListTablesResponse> list(
core.String parent, {
- core.String view,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2541,14 +2541,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2875,11 +2875,11 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2893,9 +2893,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2908,14 +2908,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/blogger/v3.dart b/generated/googleapis/lib/blogger/v3.dart
index 2cda0bd..97e5525 100644
--- a/generated/googleapis/lib/blogger/v3.dart
+++ b/generated/googleapis/lib/blogger/v3.dart
@@ -139,6 +139,8 @@
///
/// [blogId] - null
///
+ /// [maxPosts] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -146,8 +148,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [maxPosts] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -160,8 +160,8 @@
/// this method will complete with the same error.
async.Future<Blog> get(
core.String blogId, {
- core.String view,
core.int maxPosts,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -174,12 +174,12 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (maxPosts != null) {
_queryParams['maxPosts'] = ['${maxPosts}'];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -264,6 +264,8 @@
///
/// [userId] - null
///
+ /// [fetchUserInfo] - null
+ ///
/// [role] - null
///
/// [status] - Default value of status is LIVE.
@@ -275,8 +277,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [fetchUserInfo] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -289,10 +289,10 @@
/// this method will complete with the same error.
async.Future<BlogList> listByUser(
core.String userId, {
+ core.bool fetchUserInfo,
core.List<core.String> role,
core.List<core.String> status,
core.String view,
- core.bool fetchUserInfo,
core.String $fields,
}) {
core.String _url;
@@ -305,6 +305,9 @@
if (userId == null) {
throw core.ArgumentError('Parameter userId is required.');
}
+ if (fetchUserInfo != null) {
+ _queryParams['fetchUserInfo'] = ['${fetchUserInfo}'];
+ }
if (role != null) {
_queryParams['role'] = role;
}
@@ -314,9 +317,6 @@
if (view != null) {
_queryParams['view'] = [view];
}
- if (fetchUserInfo != null) {
- _queryParams['fetchUserInfo'] = ['${fetchUserInfo}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -556,14 +556,9 @@
///
/// [postId] - null
///
- /// [fetchBodies] - null
+ /// [endDate] - null
///
- /// [view] - null
- /// Possible string values are:
- /// - "VIEW_TYPE_UNSPECIFIED"
- /// - "READER"
- /// - "AUTHOR"
- /// - "ADMIN"
+ /// [fetchBodies] - null
///
/// [maxResults] - null
///
@@ -578,7 +573,12 @@
/// - "PENDING"
/// - "SPAM"
///
- /// [endDate] - null
+ /// [view] - null
+ /// Possible string values are:
+ /// - "VIEW_TYPE_UNSPECIFIED"
+ /// - "READER"
+ /// - "AUTHOR"
+ /// - "ADMIN"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -593,13 +593,13 @@
async.Future<CommentList> list(
core.String blogId,
core.String postId, {
+ core.String endDate,
core.bool fetchBodies,
- core.String view,
core.int maxResults,
core.String pageToken,
core.String startDate,
core.String status,
- core.String endDate,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -615,12 +615,12 @@
if (postId == null) {
throw core.ArgumentError('Parameter postId is required.');
}
+ if (endDate != null) {
+ _queryParams['endDate'] = [endDate];
+ }
if (fetchBodies != null) {
_queryParams['fetchBodies'] = ['${fetchBodies}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
@@ -633,8 +633,8 @@
if (status != null) {
_queryParams['status'] = [status];
}
- if (endDate != null) {
- _queryParams['endDate'] = [endDate];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -664,9 +664,11 @@
///
/// [blogId] - null
///
+ /// [endDate] - null
+ ///
/// [fetchBodies] - null
///
- /// [endDate] - null
+ /// [maxResults] - null
///
/// [pageToken] - null
///
@@ -674,8 +676,6 @@
///
/// [status] - null
///
- /// [maxResults] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -688,12 +688,12 @@
/// this method will complete with the same error.
async.Future<CommentList> listByBlog(
core.String blogId, {
- core.bool fetchBodies,
core.String endDate,
+ core.bool fetchBodies,
+ core.int maxResults,
core.String pageToken,
core.String startDate,
core.List<core.String> status,
- core.int maxResults,
core.String $fields,
}) {
core.String _url;
@@ -706,11 +706,14 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
+ if (endDate != null) {
+ _queryParams['endDate'] = [endDate];
+ }
if (fetchBodies != null) {
_queryParams['fetchBodies'] = ['${fetchBodies}'];
}
- if (endDate != null) {
- _queryParams['endDate'] = [endDate];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -721,9 +724,6 @@
if (status != null) {
_queryParams['status'] = status;
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1132,6 +1132,14 @@
///
/// [blogId] - null
///
+ /// [fetchBodies] - null
+ ///
+ /// [maxResults] - null
+ ///
+ /// [pageToken] - null
+ ///
+ /// [status] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1139,14 +1147,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [maxResults] - null
- ///
- /// [fetchBodies] - null
- ///
- /// [status] - null
- ///
- /// [pageToken] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1159,11 +1159,11 @@
/// this method will complete with the same error.
async.Future<PageList> list(
core.String blogId, {
- core.String view,
- core.int maxResults,
core.bool fetchBodies,
- core.List<core.String> status,
+ core.int maxResults,
core.String pageToken,
+ core.List<core.String> status,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1176,20 +1176,20 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (fetchBodies != null) {
+ _queryParams['fetchBodies'] = ['${fetchBodies}'];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (fetchBodies != null) {
- _queryParams['fetchBodies'] = ['${fetchBodies}'];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (status != null) {
_queryParams['status'] = status;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1410,10 +1410,10 @@
///
/// [pageId] - null
///
- /// [revert_1] - null
- ///
/// [publish_1] - null
///
+ /// [revert_1] - null
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1428,8 +1428,8 @@
Page request,
core.String blogId,
core.String pageId, {
- core.bool revert_1,
core.bool publish_1,
+ core.bool revert_1,
core.String $fields,
}) {
core.String _url;
@@ -1448,12 +1448,12 @@
if (pageId == null) {
throw core.ArgumentError('Parameter pageId is required.');
}
- if (revert_1 != null) {
- _queryParams['revert'] = ['${revert_1}'];
- }
if (publish_1 != null) {
_queryParams['publish'] = ['${publish_1}'];
}
+ if (revert_1 != null) {
+ _queryParams['revert'] = ['${revert_1}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1560,13 +1560,25 @@
///
/// [blogId] - null
///
+ /// [endDate] - null
+ ///
+ /// [fetchBodies] - null
+ ///
+ /// [labels] - null
+ ///
+ /// [maxResults] - null
+ ///
/// [orderBy] - null
/// Possible string values are:
/// - "ORDER_BY_UNSPECIFIED"
/// - "PUBLISHED"
/// - "UPDATED"
///
- /// [fetchBodies] - null
+ /// [pageToken] - null
+ ///
+ /// [startDate] - null
+ ///
+ /// [status] - null
///
/// [view] - null
/// Possible string values are:
@@ -1575,18 +1587,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [maxResults] - null
- ///
- /// [startDate] - null
- ///
- /// [labels] - null
- ///
- /// [endDate] - null
- ///
- /// [pageToken] - null
- ///
- /// [status] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1600,15 +1600,15 @@
async.Future<PostUserInfosList> list(
core.String userId,
core.String blogId, {
- core.String orderBy,
- core.bool fetchBodies,
- core.String view,
- core.int maxResults,
- core.String startDate,
- core.String labels,
core.String endDate,
+ core.bool fetchBodies,
+ core.String labels,
+ core.int maxResults,
+ core.String orderBy,
core.String pageToken,
+ core.String startDate,
core.List<core.String> status,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1624,33 +1624,33 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (endDate != null) {
+ _queryParams['endDate'] = [endDate];
}
if (fetchBodies != null) {
_queryParams['fetchBodies'] = ['${fetchBodies}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (labels != null) {
+ _queryParams['labels'] = [labels];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (startDate != null) {
- _queryParams['startDate'] = [startDate];
- }
- if (labels != null) {
- _queryParams['labels'] = [labels];
- }
- if (endDate != null) {
- _queryParams['endDate'] = [endDate];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (startDate != null) {
+ _queryParams['startDate'] = [startDate];
+ }
if (status != null) {
_queryParams['status'] = status;
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1744,12 +1744,12 @@
///
/// [postId] - null
///
- /// [maxComments] - null
- ///
/// [fetchBody] - null
///
/// [fetchImages] - null
///
+ /// [maxComments] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1770,9 +1770,9 @@
async.Future<Post> get(
core.String blogId,
core.String postId, {
- core.int maxComments,
core.bool fetchBody,
core.bool fetchImages,
+ core.int maxComments,
core.String view,
core.String $fields,
}) {
@@ -1789,15 +1789,15 @@
if (postId == null) {
throw core.ArgumentError('Parameter postId is required.');
}
- if (maxComments != null) {
- _queryParams['maxComments'] = ['${maxComments}'];
- }
if (fetchBody != null) {
_queryParams['fetchBody'] = ['${fetchBody}'];
}
if (fetchImages != null) {
_queryParams['fetchImages'] = ['${fetchImages}'];
}
+ if (maxComments != null) {
+ _queryParams['maxComments'] = ['${maxComments}'];
+ }
if (view != null) {
_queryParams['view'] = [view];
}
@@ -1830,6 +1830,8 @@
///
/// [path] - null
///
+ /// [maxComments] - null
+ ///
/// [view] - null
/// Possible string values are:
/// - "VIEW_TYPE_UNSPECIFIED"
@@ -1837,8 +1839,6 @@
/// - "AUTHOR"
/// - "ADMIN"
///
- /// [maxComments] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1852,8 +1852,8 @@
async.Future<Post> getByPath(
core.String blogId,
core.String path, {
- core.String view,
core.int maxComments,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1870,12 +1870,12 @@
throw core.ArgumentError('Parameter path is required.');
}
_queryParams['path'] = [path];
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (maxComments != null) {
_queryParams['maxComments'] = ['${maxComments}'];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1904,12 +1904,12 @@
///
/// [blogId] - null
///
- /// [isDraft] - null
- ///
/// [fetchBody] - null
///
/// [fetchImages] - null
///
+ /// [isDraft] - null
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1923,9 +1923,9 @@
async.Future<Post> insert(
Post request,
core.String blogId, {
- core.bool isDraft,
core.bool fetchBody,
core.bool fetchImages,
+ core.bool isDraft,
core.String $fields,
}) {
core.String _url;
@@ -1941,15 +1941,15 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
- if (isDraft != null) {
- _queryParams['isDraft'] = ['${isDraft}'];
- }
if (fetchBody != null) {
_queryParams['fetchBody'] = ['${fetchBody}'];
}
if (fetchImages != null) {
_queryParams['fetchImages'] = ['${fetchImages}'];
}
+ if (isDraft != null) {
+ _queryParams['isDraft'] = ['${isDraft}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1974,34 +1974,34 @@
///
/// [blogId] - null
///
- /// [maxResults] - null
- ///
- /// [pageToken] - null
+ /// [endDate] - null
///
/// [fetchBodies] - null
///
- /// [endDate] - null
- ///
- /// [view] - null
- /// Possible string values are:
- /// - "VIEW_TYPE_UNSPECIFIED"
- /// - "READER"
- /// - "AUTHOR"
- /// - "ADMIN"
- ///
/// [fetchImages] - null
///
+ /// [labels] - null
+ ///
+ /// [maxResults] - null
+ ///
/// [orderBy] - null
/// Possible string values are:
/// - "ORDER_BY_UNSPECIFIED"
/// - "PUBLISHED"
/// - "UPDATED"
///
+ /// [pageToken] - null
+ ///
/// [startDate] - null
///
/// [status] - null
///
- /// [labels] - null
+ /// [view] - null
+ /// Possible string values are:
+ /// - "VIEW_TYPE_UNSPECIFIED"
+ /// - "READER"
+ /// - "AUTHOR"
+ /// - "ADMIN"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2015,16 +2015,16 @@
/// this method will complete with the same error.
async.Future<PostList> list(
core.String blogId, {
- core.int maxResults,
- core.String pageToken,
- core.bool fetchBodies,
core.String endDate,
- core.String view,
+ core.bool fetchBodies,
core.bool fetchImages,
+ core.String labels,
+ core.int maxResults,
core.String orderBy,
+ core.String pageToken,
core.String startDate,
core.List<core.String> status,
- core.String labels,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2037,35 +2037,35 @@
if (blogId == null) {
throw core.ArgumentError('Parameter blogId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (endDate != null) {
+ _queryParams['endDate'] = [endDate];
}
if (fetchBodies != null) {
_queryParams['fetchBodies'] = ['${fetchBodies}'];
}
- if (endDate != null) {
- _queryParams['endDate'] = [endDate];
- }
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (fetchImages != null) {
_queryParams['fetchImages'] = ['${fetchImages}'];
}
+ if (labels != null) {
+ _queryParams['labels'] = [labels];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (startDate != null) {
_queryParams['startDate'] = [startDate];
}
if (status != null) {
_queryParams['status'] = status;
}
- if (labels != null) {
- _queryParams['labels'] = [labels];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2095,13 +2095,13 @@
///
/// [postId] - null
///
- /// [publish_1] - null
+ /// [fetchBody] - null
///
/// [fetchImages] - null
///
/// [maxComments] - null
///
- /// [fetchBody] - null
+ /// [publish_1] - null
///
/// [revert_1] - null
///
@@ -2119,10 +2119,10 @@
Post request,
core.String blogId,
core.String postId, {
- core.bool publish_1,
+ core.bool fetchBody,
core.bool fetchImages,
core.int maxComments,
- core.bool fetchBody,
+ core.bool publish_1,
core.bool revert_1,
core.String $fields,
}) {
@@ -2142,8 +2142,8 @@
if (postId == null) {
throw core.ArgumentError('Parameter postId is required.');
}
- if (publish_1 != null) {
- _queryParams['publish'] = ['${publish_1}'];
+ if (fetchBody != null) {
+ _queryParams['fetchBody'] = ['${fetchBody}'];
}
if (fetchImages != null) {
_queryParams['fetchImages'] = ['${fetchImages}'];
@@ -2151,8 +2151,8 @@
if (maxComments != null) {
_queryParams['maxComments'] = ['${maxComments}'];
}
- if (fetchBody != null) {
- _queryParams['fetchBody'] = ['${fetchBody}'];
+ if (publish_1 != null) {
+ _queryParams['publish'] = ['${publish_1}'];
}
if (revert_1 != null) {
_queryParams['revert'] = ['${revert_1}'];
@@ -2308,14 +2308,14 @@
///
/// [q] - null
///
+ /// [fetchBodies] - null
+ ///
/// [orderBy] - null
/// Possible string values are:
/// - "ORDER_BY_UNSPECIFIED"
/// - "PUBLISHED"
/// - "UPDATED"
///
- /// [fetchBodies] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2329,8 +2329,8 @@
async.Future<PostList> search(
core.String blogId,
core.String q, {
- core.String orderBy,
core.bool fetchBodies,
+ core.String orderBy,
core.String $fields,
}) {
core.String _url;
@@ -2347,12 +2347,12 @@
throw core.ArgumentError('Parameter q is required.');
}
_queryParams['q'] = [q];
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (fetchBodies != null) {
_queryParams['fetchBodies'] = ['${fetchBodies}'];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2383,15 +2383,15 @@
///
/// [postId] - null
///
- /// [publish_1] - null
- ///
- /// [revert_1] - null
- ///
- /// [maxComments] - null
+ /// [fetchBody] - null
///
/// [fetchImages] - null
///
- /// [fetchBody] - null
+ /// [maxComments] - null
+ ///
+ /// [publish_1] - null
+ ///
+ /// [revert_1] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2407,11 +2407,11 @@
Post request,
core.String blogId,
core.String postId, {
+ core.bool fetchBody,
+ core.bool fetchImages,
+ core.int maxComments,
core.bool publish_1,
core.bool revert_1,
- core.int maxComments,
- core.bool fetchImages,
- core.bool fetchBody,
core.String $fields,
}) {
core.String _url;
@@ -2430,21 +2430,21 @@
if (postId == null) {
throw core.ArgumentError('Parameter postId is required.');
}
+ if (fetchBody != null) {
+ _queryParams['fetchBody'] = ['${fetchBody}'];
+ }
+ if (fetchImages != null) {
+ _queryParams['fetchImages'] = ['${fetchImages}'];
+ }
+ if (maxComments != null) {
+ _queryParams['maxComments'] = ['${maxComments}'];
+ }
if (publish_1 != null) {
_queryParams['publish'] = ['${publish_1}'];
}
if (revert_1 != null) {
_queryParams['revert'] = ['${revert_1}'];
}
- if (maxComments != null) {
- _queryParams['maxComments'] = ['${maxComments}'];
- }
- if (fetchImages != null) {
- _queryParams['fetchImages'] = ['${fetchImages}'];
- }
- if (fetchBody != null) {
- _queryParams['fetchBody'] = ['${fetchBody}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/books/v1.dart b/generated/googleapis/lib/books/v1.dart
index 0a63ab1..a584a45 100644
--- a/generated/googleapis/lib/books/v1.dart
+++ b/generated/googleapis/lib/books/v1.dart
@@ -203,15 +203,15 @@
///
/// [shelf] - ID of bookshelf to retrieve volumes.
///
- /// [startIndex] - Index of the first element to return (starts at 0)
- ///
- /// [source] - String to identify the originator of this request.
- ///
/// [maxResults] - Maximum number of results to return
///
/// [showPreorders] - Set to true to show pre-ordered books. Defaults to
/// false.
///
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [startIndex] - Index of the first element to return (starts at 0)
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -225,10 +225,10 @@
async.Future<Volumes> list(
core.String userId,
core.String shelf, {
- core.int startIndex,
- core.String source,
core.int maxResults,
core.bool showPreorders,
+ core.String source,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -244,18 +244,18 @@
if (shelf == null) {
throw core.ArgumentError('Parameter shelf is required.');
}
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (showPreorders != null) {
_queryParams['showPreorders'] = ['${showPreorders}'];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -288,15 +288,15 @@
///
/// Request parameters:
///
- /// [name] - The document name. It can be set only if the drive_document_id is
- /// set.
- ///
/// [driveDocumentId] - A drive document id. The upload_client_token must not
/// be set.
///
/// [mimeType] - The document MIME type. It can be set only if the
/// drive_document_id is set.
///
+ /// [name] - The document name. It can be set only if the drive_document_id is
+ /// set.
+ ///
/// [uploadClientToken] - Scotty upload token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -310,9 +310,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<BooksCloudloadingResource> addBook({
- core.String name,
core.String driveDocumentId,
core.String mimeType,
+ core.String name,
core.String uploadClientToken,
core.String $fields,
}) {
@@ -323,15 +323,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (name != null) {
- _queryParams['name'] = [name];
- }
if (driveDocumentId != null) {
_queryParams['drive_document_id'] = [driveDocumentId];
}
if (mimeType != null) {
_queryParams['mime_type'] = [mimeType];
}
+ if (name != null) {
+ _queryParams['name'] = [name];
+ }
if (uploadClientToken != null) {
_queryParams['upload_client_token'] = [uploadClientToken];
}
@@ -562,10 +562,10 @@
///
/// Request parameters:
///
- /// [source] - String to identify the originator of this request.
- ///
/// [docId] - The docid to share.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [volumeId] - The volume to share.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -579,8 +579,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Empty> share({
- core.String source,
core.String docId,
+ core.String source,
core.String volumeId,
core.String $fields,
}) {
@@ -591,12 +591,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (docId != null) {
_queryParams['docId'] = [docId];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if (volumeId != null) {
_queryParams['volumeId'] = [volumeId];
}
@@ -625,10 +625,10 @@
///
/// [docId] - The docid to unshare.
///
- /// [volumeId] - The volume to unshare.
- ///
/// [source] - String to identify the originator of this request.
///
+ /// [volumeId] - The volume to unshare.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -641,8 +641,8 @@
/// this method will complete with the same error.
async.Future<Empty> unshare({
core.String docId,
- core.String volumeId,
core.String source,
+ core.String volumeId,
core.String $fields,
}) {
core.String _url;
@@ -655,12 +655,12 @@
if (docId != null) {
_queryParams['docId'] = [docId];
}
- if (volumeId != null) {
- _queryParams['volumeId'] = [volumeId];
- }
if (source != null) {
_queryParams['source'] = [source];
}
+ if (volumeId != null) {
+ _queryParams['volumeId'] = [volumeId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -698,10 +698,10 @@
///
/// [summaryId] - The ID for the layer to get the summary for.
///
- /// [source] - String to identify the originator of this request.
- ///
/// [contentVersion] - The content version for the requested volume.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -715,8 +715,8 @@
async.Future<Layersummary> get(
core.String volumeId,
core.String summaryId, {
- core.String source,
core.String contentVersion,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -732,12 +732,12 @@
if (summaryId == null) {
throw core.ArgumentError('Parameter summaryId is required.');
}
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (contentVersion != null) {
_queryParams['contentVersion'] = [contentVersion];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -765,14 +765,14 @@
///
/// [volumeId] - The volume to retrieve layers for.
///
+ /// [contentVersion] - The content version for the requested volume.
+ ///
/// [maxResults] - Maximum number of results to return
///
/// [pageToken] - The value of the nextToken from the previous page.
///
/// [source] - String to identify the originator of this request.
///
- /// [contentVersion] - The content version for the requested volume.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -785,10 +785,10 @@
/// this method will complete with the same error.
async.Future<Layersummaries> list(
core.String volumeId, {
+ core.String contentVersion,
core.int maxResults,
core.String pageToken,
core.String source,
- core.String contentVersion,
core.String $fields,
}) {
core.String _url;
@@ -801,6 +801,9 @@
if (volumeId == null) {
throw core.ArgumentError('Parameter volumeId is required.');
}
+ if (contentVersion != null) {
+ _queryParams['contentVersion'] = [contentVersion];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
@@ -810,9 +813,6 @@
if (source != null) {
_queryParams['source'] = [source];
}
- if (contentVersion != null) {
- _queryParams['contentVersion'] = [contentVersion];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -853,22 +853,22 @@
/// [allowWebDefinitions] - For the dictionary layer. Whether or not to allow
/// web definitions.
///
- /// [source] - String to identify the originator of this request.
+ /// [contentVersion] - The content version for the volume you are trying to
+ /// retrieve.
+ ///
+ /// [h] - The requested pixel height for any images. If height is provided
+ /// width must also be provided.
///
/// [locale] - The locale information for the data. ISO-639-1 language and
/// ISO-3166-1 country code. Ex: 'en_US'.
///
/// [scale] - The requested scale for the image.
///
- /// [h] - The requested pixel height for any images. If height is provided
- /// width must also be provided.
+ /// [source] - String to identify the originator of this request.
///
/// [w] - The requested pixel width for any images. If width is provided
/// height must also be provided.
///
- /// [contentVersion] - The content version for the volume you are trying to
- /// retrieve.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -884,12 +884,12 @@
core.String layerId,
core.String annotationDataId, {
core.bool allowWebDefinitions,
- core.String source,
+ core.String contentVersion,
+ core.int h,
core.String locale,
core.int scale,
- core.int h,
+ core.String source,
core.int w,
- core.String contentVersion,
core.String $fields,
}) {
core.String _url;
@@ -911,8 +911,11 @@
if (allowWebDefinitions != null) {
_queryParams['allowWebDefinitions'] = ['${allowWebDefinitions}'];
}
- if (source != null) {
- _queryParams['source'] = [source];
+ if (contentVersion != null) {
+ _queryParams['contentVersion'] = [contentVersion];
+ }
+ if (h != null) {
+ _queryParams['h'] = ['${h}'];
}
if (locale != null) {
_queryParams['locale'] = [locale];
@@ -920,15 +923,12 @@
if (scale != null) {
_queryParams['scale'] = ['${scale}'];
}
- if (h != null) {
- _queryParams['h'] = ['${h}'];
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if (w != null) {
_queryParams['w'] = ['${w}'];
}
- if (contentVersion != null) {
- _queryParams['contentVersion'] = [contentVersion];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -960,33 +960,33 @@
///
/// [layerId] - The ID for the layer to get the annotation data.
///
- /// [w] - The requested pixel width for any images. If width is provided
- /// height must also be provided.
+ /// [annotationDataId] - The list of Annotation Data Ids to retrieve.
+ /// Pagination is ignored if this is set.
///
- /// [scale] - The requested scale for the image.
+ /// [contentVersion] - The content version for the requested volume.
///
- /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
- /// timestamp (inclusive).
- ///
- /// [maxResults] - Maximum number of results to return
+ /// [h] - The requested pixel height for any images. If height is provided
+ /// width must also be provided.
///
/// [locale] - The locale information for the data. ISO-639-1 language and
/// ISO-3166-1 country code. Ex: 'en_US'.
///
+ /// [maxResults] - Maximum number of results to return
+ ///
/// [pageToken] - The value of the nextToken from the previous page.
///
+ /// [scale] - The requested scale for the image.
+ ///
/// [source] - String to identify the originator of this request.
///
- /// [contentVersion] - The content version for the requested volume.
- ///
- /// [annotationDataId] - The list of Annotation Data Ids to retrieve.
- /// Pagination is ignored if this is set.
- ///
/// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
/// this timestamp (exclusive).
///
- /// [h] - The requested pixel height for any images. If height is provided
- /// width must also be provided.
+ /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
+ /// timestamp (inclusive).
+ ///
+ /// [w] - The requested pixel width for any images. If width is provided
+ /// height must also be provided.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1001,17 +1001,17 @@
async.Future<Annotationsdata> list(
core.String volumeId,
core.String layerId, {
- core.int w,
- core.int scale,
- core.String updatedMin,
- core.int maxResults,
- core.String locale,
- core.String pageToken,
- core.String source,
- core.String contentVersion,
core.List<core.String> annotationDataId,
- core.String updatedMax,
+ core.String contentVersion,
core.int h,
+ core.String locale,
+ core.int maxResults,
+ core.String pageToken,
+ core.int scale,
+ core.String source,
+ core.String updatedMax,
+ core.String updatedMin,
+ core.int w,
core.String $fields,
}) {
core.String _url;
@@ -1027,38 +1027,38 @@
if (layerId == null) {
throw core.ArgumentError('Parameter layerId is required.');
}
- if (w != null) {
- _queryParams['w'] = ['${w}'];
- }
- if (scale != null) {
- _queryParams['scale'] = ['${scale}'];
- }
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [updatedMin];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (source != null) {
- _queryParams['source'] = [source];
+ if (annotationDataId != null) {
+ _queryParams['annotationDataId'] = annotationDataId;
}
if (contentVersion != null) {
_queryParams['contentVersion'] = [contentVersion];
}
- if (annotationDataId != null) {
- _queryParams['annotationDataId'] = annotationDataId;
+ if (h != null) {
+ _queryParams['h'] = ['${h}'];
+ }
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (scale != null) {
+ _queryParams['scale'] = ['${scale}'];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if (updatedMax != null) {
_queryParams['updatedMax'] = [updatedMax];
}
- if (h != null) {
- _queryParams['h'] = ['${h}'];
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [updatedMin];
+ }
+ if (w != null) {
+ _queryParams['w'] = ['${w}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1175,36 +1175,36 @@
///
/// [layerId] - The ID for the layer to get the annotations.
///
- /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
- /// timestamp (inclusive).
- ///
/// [contentVersion] - The content version for the requested volume.
///
- /// [startPosition] - The start position to start retrieving data from.
- ///
- /// [endPosition] - The end position to end retrieving data from.
- ///
- /// [startOffset] - The start offset to start retrieving data from.
- ///
- /// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
- /// this timestamp (exclusive).
- ///
- /// [volumeAnnotationsVersion] - The version of the volume annotations that
- /// you are requesting.
- ///
- /// [source] - String to identify the originator of this request.
- ///
/// [endOffset] - The end offset to end retrieving data from.
///
- /// [maxResults] - Maximum number of results to return
+ /// [endPosition] - The end position to end retrieving data from.
///
/// [locale] - The locale information for the data. ISO-639-1 language and
/// ISO-3166-1 country code. Ex: 'en_US'.
///
+ /// [maxResults] - Maximum number of results to return
+ ///
+ /// [pageToken] - The value of the nextToken from the previous page.
+ ///
/// [showDeleted] - Set to true to return deleted annotations. updatedMin must
/// be in the request to use this. Defaults to false.
///
- /// [pageToken] - The value of the nextToken from the previous page.
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [startOffset] - The start offset to start retrieving data from.
+ ///
+ /// [startPosition] - The start position to start retrieving data from.
+ ///
+ /// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
+ /// this timestamp (exclusive).
+ ///
+ /// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
+ /// timestamp (inclusive).
+ ///
+ /// [volumeAnnotationsVersion] - The version of the volume annotations that
+ /// you are requesting.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1219,19 +1219,19 @@
async.Future<Volumeannotations> list(
core.String volumeId,
core.String layerId, {
- core.String updatedMin,
core.String contentVersion,
- core.String startPosition,
- core.String endPosition,
- core.String startOffset,
- core.String updatedMax,
- core.String volumeAnnotationsVersion,
- core.String source,
core.String endOffset,
- core.int maxResults,
+ core.String endPosition,
core.String locale,
- core.bool showDeleted,
+ core.int maxResults,
core.String pageToken,
+ core.bool showDeleted,
+ core.String source,
+ core.String startOffset,
+ core.String startPosition,
+ core.String updatedMax,
+ core.String updatedMin,
+ core.String volumeAnnotationsVersion,
core.String $fields,
}) {
core.String _url;
@@ -1247,45 +1247,45 @@
if (layerId == null) {
throw core.ArgumentError('Parameter layerId is required.');
}
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [updatedMin];
- }
if (contentVersion != null) {
_queryParams['contentVersion'] = [contentVersion];
}
- if (startPosition != null) {
- _queryParams['startPosition'] = [startPosition];
- }
- if (endPosition != null) {
- _queryParams['endPosition'] = [endPosition];
- }
- if (startOffset != null) {
- _queryParams['startOffset'] = [startOffset];
- }
- if (updatedMax != null) {
- _queryParams['updatedMax'] = [updatedMax];
- }
- if (volumeAnnotationsVersion != null) {
- _queryParams['volumeAnnotationsVersion'] = [volumeAnnotationsVersion];
- }
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (endOffset != null) {
_queryParams['endOffset'] = [endOffset];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (endPosition != null) {
+ _queryParams['endPosition'] = [endPosition];
}
if (locale != null) {
_queryParams['locale'] = [locale];
}
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
+ if (startOffset != null) {
+ _queryParams['startOffset'] = [startOffset];
+ }
+ if (startPosition != null) {
+ _queryParams['startPosition'] = [startPosition];
+ }
+ if (updatedMax != null) {
+ _queryParams['updatedMax'] = [updatedMax];
+ }
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [updatedMin];
+ }
+ if (volumeAnnotationsVersion != null) {
+ _queryParams['volumeAnnotationsVersion'] = [volumeAnnotationsVersion];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1433,13 +1433,6 @@
///
/// Request parameters:
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
- /// en_US.
- ///
- /// [nonce] - The client nonce value.
- ///
/// [cpksver] - The device/version ID from which to request the restrictions.
///
/// [licenseTypes] - The type of access license to request. If not specified,
@@ -1450,6 +1443,13 @@
/// - "CONCURRENT" : Concurrent access license.
/// - "DOWNLOAD" : Offline download access license.
///
+ /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
+ /// en_US.
+ ///
+ /// [nonce] - The client nonce value.
+ ///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [volumeId] - The volume to request concurrent/download restrictions for.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1463,11 +1463,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<RequestAccessData> requestAccess({
- core.String source,
- core.String locale,
- core.String nonce,
core.String cpksver,
core.String licenseTypes,
+ core.String locale,
+ core.String nonce,
+ core.String source,
core.String volumeId,
core.String $fields,
}) {
@@ -1478,8 +1478,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source != null) {
- _queryParams['source'] = [source];
+ if (cpksver != null) {
+ _queryParams['cpksver'] = [cpksver];
+ }
+ if (licenseTypes != null) {
+ _queryParams['licenseTypes'] = [licenseTypes];
}
if (locale != null) {
_queryParams['locale'] = [locale];
@@ -1487,11 +1490,8 @@
if (nonce != null) {
_queryParams['nonce'] = [nonce];
}
- if (cpksver != null) {
- _queryParams['cpksver'] = [cpksver];
- }
- if (licenseTypes != null) {
- _queryParams['licenseTypes'] = [licenseTypes];
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if (volumeId != null) {
_queryParams['volumeId'] = [volumeId];
@@ -1521,21 +1521,21 @@
///
/// [cpksver] - The device/version ID from which to release the restriction.
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
- /// en_US.
- ///
- /// [showPreorders] - Set to true to show pre-ordered books. Defaults to
- /// false.
+ /// [features] - List of features supported by the client, i.e., 'RENTALS'
///
/// [includeNonComicsSeries] - Set to true to include non-comics series.
/// Defaults to false.
///
- /// [features] - List of features supported by the client, i.e., 'RENTALS'
+ /// [locale] - ISO-639-1, ISO-3166-1 codes for message localization, i.e.
+ /// en_US.
///
/// [nonce] - The client nonce value.
///
+ /// [showPreorders] - Set to true to show pre-ordered books. Defaults to
+ /// false.
+ ///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [volumeIds] - The volume(s) to request download restrictions for.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1550,12 +1550,12 @@
/// this method will complete with the same error.
async.Future<Volumes> syncVolumeLicenses({
core.String cpksver,
- core.String source,
- core.String locale,
- core.bool showPreorders,
- core.bool includeNonComicsSeries,
core.List<core.String> features,
+ core.bool includeNonComicsSeries,
+ core.String locale,
core.String nonce,
+ core.bool showPreorders,
+ core.String source,
core.List<core.String> volumeIds,
core.String $fields,
}) {
@@ -1569,24 +1569,24 @@
if (cpksver != null) {
_queryParams['cpksver'] = [cpksver];
}
- if (source != null) {
- _queryParams['source'] = [source];
- }
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
- if (showPreorders != null) {
- _queryParams['showPreorders'] = ['${showPreorders}'];
+ if (features != null) {
+ _queryParams['features'] = features;
}
if (includeNonComicsSeries != null) {
_queryParams['includeNonComicsSeries'] = ['${includeNonComicsSeries}'];
}
- if (features != null) {
- _queryParams['features'] = features;
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
}
if (nonce != null) {
_queryParams['nonce'] = [nonce];
}
+ if (showPreorders != null) {
+ _queryParams['showPreorders'] = ['${showPreorders}'];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if (volumeIds != null) {
_queryParams['volumeIds'] = volumeIds;
}
@@ -1741,12 +1741,12 @@
///
/// [annotationId] - The ID for the annotation to insert.
///
- /// [source] - String to identify the originator of this request.
+ /// [country] - ISO-3166-1 code to override the IP-based location.
///
/// [showOnlySummaryInResponse] - Requests that only the summary of the
/// specified layer be provided in the response.
///
- /// [country] - ISO-3166-1 code to override the IP-based location.
+ /// [source] - String to identify the originator of this request.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1761,9 +1761,9 @@
async.Future<Annotation> insert(
Annotation request, {
core.String annotationId,
- core.String source,
- core.bool showOnlySummaryInResponse,
core.String country,
+ core.bool showOnlySummaryInResponse,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -1779,16 +1779,16 @@
if (annotationId != null) {
_queryParams['annotationId'] = [annotationId];
}
- if (source != null) {
- _queryParams['source'] = [source];
+ if (country != null) {
+ _queryParams['country'] = [country];
}
if (showOnlySummaryInResponse != null) {
_queryParams['showOnlySummaryInResponse'] = [
'${showOnlySummaryInResponse}'
];
}
- if (country != null) {
- _queryParams['country'] = [country];
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1812,28 +1812,28 @@
///
/// Request parameters:
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [layerIds] - The layer ID(s) to limit annotation by.
+ /// [contentVersion] - The content version for the requested volume.
///
/// [layerId] - The layer ID to limit annotation by.
///
- /// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
- /// this timestamp (exclusive).
+ /// [layerIds] - The layer ID(s) to limit annotation by.
+ ///
+ /// [maxResults] - Maximum number of results to return
+ ///
+ /// [pageToken] - The value of the nextToken from the previous page.
///
/// [showDeleted] - Set to true to return deleted annotations. updatedMin must
/// be in the request to use this. Defaults to false.
///
- /// [volumeId] - The volume to restrict annotations to.
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [updatedMax] - RFC 3339 timestamp to restrict to items updated prior to
+ /// this timestamp (exclusive).
///
/// [updatedMin] - RFC 3339 timestamp to restrict to items updated since this
/// timestamp (inclusive).
///
- /// [pageToken] - The value of the nextToken from the previous page.
- ///
- /// [maxResults] - Maximum number of results to return
- ///
- /// [contentVersion] - The content version for the requested volume.
+ /// [volumeId] - The volume to restrict annotations to.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1846,16 +1846,16 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Annotations> list({
- core.String source,
- core.List<core.String> layerIds,
- core.String layerId,
- core.String updatedMax,
- core.bool showDeleted,
- core.String volumeId,
- core.String updatedMin,
- core.String pageToken,
- core.int maxResults,
core.String contentVersion,
+ core.String layerId,
+ core.List<core.String> layerIds,
+ core.int maxResults,
+ core.String pageToken,
+ core.bool showDeleted,
+ core.String source,
+ core.String updatedMax,
+ core.String updatedMin,
+ core.String volumeId,
core.String $fields,
}) {
core.String _url;
@@ -1865,35 +1865,35 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source != null) {
- _queryParams['source'] = [source];
- }
- if (layerIds != null) {
- _queryParams['layerIds'] = layerIds;
+ if (contentVersion != null) {
+ _queryParams['contentVersion'] = [contentVersion];
}
if (layerId != null) {
_queryParams['layerId'] = [layerId];
}
- if (updatedMax != null) {
- _queryParams['updatedMax'] = [updatedMax];
- }
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
- }
- if (volumeId != null) {
- _queryParams['volumeId'] = [volumeId];
- }
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [updatedMin];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (layerIds != null) {
+ _queryParams['layerIds'] = layerIds;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (contentVersion != null) {
- _queryParams['contentVersion'] = [contentVersion];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
+ if (updatedMax != null) {
+ _queryParams['updatedMax'] = [updatedMax];
+ }
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [updatedMin];
+ }
+ if (volumeId != null) {
+ _queryParams['volumeId'] = [volumeId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2044,8 +2044,6 @@
///
/// [shelf] - ID of bookshelf to which to add a volume.
///
- /// [source] - String to identify the originator of this request.
- ///
/// [reason] - The reason for which the book is added to the library.
/// Possible string values are:
/// - "REASON_UNDEFINED"
@@ -2053,6 +2051,8 @@
/// - "IOS_SEARCH" : Volumes added from the Search flow on iOS.
/// - "ONBOARDING" : Volumes added from the Onboarding flow.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [volumeId] - ID of volume to add.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2067,8 +2067,8 @@
/// this method will complete with the same error.
async.Future<Empty> addVolume(
core.String shelf, {
- core.String source,
core.String reason,
+ core.String source,
core.String volumeId,
core.String $fields,
}) {
@@ -2082,12 +2082,12 @@
if (shelf == null) {
throw core.ArgumentError('Parameter shelf is required.');
}
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (reason != null) {
_queryParams['reason'] = [reason];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if (volumeId != null) {
_queryParams['volumeId'] = [volumeId];
}
@@ -2277,10 +2277,10 @@
///
/// [shelf] - ID of bookshelf with the volume.
///
- /// [volumeId] - ID of volume to move.
- ///
/// [source] - String to identify the originator of this request.
///
+ /// [volumeId] - ID of volume to move.
+ ///
/// [volumePosition] - Position on shelf to move the item (0 puts the item
/// before the current first item, 1 puts it between the first and the second
/// and so on.)
@@ -2297,8 +2297,8 @@
/// this method will complete with the same error.
async.Future<Empty> moveVolume(
core.String shelf, {
- core.String volumeId,
core.String source,
+ core.String volumeId,
core.int volumePosition,
core.String $fields,
}) {
@@ -2312,12 +2312,12 @@
if (shelf == null) {
throw core.ArgumentError('Parameter shelf is required.');
}
- if (volumeId != null) {
- _queryParams['volumeId'] = [volumeId];
- }
if (source != null) {
_queryParams['source'] = [source];
}
+ if (volumeId != null) {
+ _queryParams['volumeId'] = [volumeId];
+ }
if (volumePosition != null) {
_queryParams['volumePosition'] = ['${volumePosition}'];
}
@@ -2347,15 +2347,15 @@
///
/// [shelf] - ID of bookshelf from which to remove a volume.
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [volumeId] - ID of volume to remove.
- ///
/// [reason] - The reason for which the book is removed from the library.
/// Possible string values are:
/// - "REASON_UNDEFINED"
/// - "ONBOARDING" : Samples removed from the Onboarding flow.
///
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [volumeId] - ID of volume to remove.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2368,9 +2368,9 @@
/// this method will complete with the same error.
async.Future<Empty> removeVolume(
core.String shelf, {
+ core.String reason,
core.String source,
core.String volumeId,
- core.String reason,
core.String $fields,
}) {
core.String _url;
@@ -2383,15 +2383,15 @@
if (shelf == null) {
throw core.ArgumentError('Parameter shelf is required.');
}
+ if (reason != null) {
+ _queryParams['reason'] = [reason];
+ }
if (source != null) {
_queryParams['source'] = [source];
}
if (volumeId != null) {
_queryParams['volumeId'] = [volumeId];
}
- if (reason != null) {
- _queryParams['reason'] = [reason];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2425,22 +2425,22 @@
///
/// [shelf] - The bookshelf ID or name retrieve volumes for.
///
- /// [maxResults] - Maximum number of results to return
- ///
- /// [source] - String to identify the originator of this request.
- ///
/// [country] - ISO-3166-1 code to override the IP-based location.
///
+ /// [maxResults] - Maximum number of results to return
+ ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
/// - "FULL" : Includes all volume data.
/// - "LITE" : Includes a subset of fields in volumeInfo and accessInfo.
///
+ /// [q] - Full-text search query string in this bookshelf.
+ ///
/// [showPreorders] - Set to true to show pre-ordered books. Defaults to
/// false.
///
- /// [q] - Full-text search query string in this bookshelf.
+ /// [source] - String to identify the originator of this request.
///
/// [startIndex] - Index of the first element to return (starts at 0)
///
@@ -2456,12 +2456,12 @@
/// this method will complete with the same error.
async.Future<Volumes> list(
core.String shelf, {
- core.int maxResults,
- core.String source,
core.String country,
+ core.int maxResults,
core.String projection,
- core.bool showPreorders,
core.String q,
+ core.bool showPreorders,
+ core.String source,
core.int startIndex,
core.String $fields,
}) {
@@ -2475,23 +2475,23 @@
if (shelf == null) {
throw core.ArgumentError('Parameter shelf is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (country != null) {
_queryParams['country'] = [country];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (projection != null) {
_queryParams['projection'] = [projection];
}
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
if (showPreorders != null) {
_queryParams['showPreorders'] = ['${showPreorders}'];
}
- if (q != null) {
- _queryParams['q'] = [q];
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
@@ -2529,11 +2529,11 @@
///
/// [volumeId] - ID of volume for which to retrieve a reading position.
///
- /// [source] - String to identify the originator of this request.
- ///
/// [contentVersion] - Volume content version for which this reading position
/// is requested.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2546,8 +2546,8 @@
/// this method will complete with the same error.
async.Future<ReadingPosition> get(
core.String volumeId, {
- core.String source,
core.String contentVersion,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -2560,12 +2560,12 @@
if (volumeId == null) {
throw core.ArgumentError('Parameter volumeId is required.');
}
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (contentVersion != null) {
_queryParams['contentVersion'] = [contentVersion];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2591,18 +2591,6 @@
///
/// [volumeId] - ID of volume for which to update the reading position.
///
- /// [position] - Position string for the new volume reading position.
- ///
- /// [deviceCookie] - Random persistent device cookie optional on set position.
- ///
- /// [source] - String to identify the originator of this request.
- ///
- /// [contentVersion] - Volume content version for which this reading position
- /// applies.
- ///
- /// [timestamp] - RFC 3339 UTC format timestamp associated with this reading
- /// position.
- ///
/// [action] - Action that caused this reading position to be set.
/// Possible string values are:
/// - "ACTION_UNDEFINED"
@@ -2613,6 +2601,18 @@
/// - "scroll" : User navigated to page.
/// - "search" : User chose search results within volume.
///
+ /// [contentVersion] - Volume content version for which this reading position
+ /// applies.
+ ///
+ /// [deviceCookie] - Random persistent device cookie optional on set position.
+ ///
+ /// [position] - Position string for the new volume reading position.
+ ///
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [timestamp] - RFC 3339 UTC format timestamp associated with this reading
+ /// position.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2625,12 +2625,12 @@
/// this method will complete with the same error.
async.Future<Empty> setPosition(
core.String volumeId, {
- core.String position,
- core.String deviceCookie,
- core.String source,
- core.String contentVersion,
- core.String timestamp,
core.String action,
+ core.String contentVersion,
+ core.String deviceCookie,
+ core.String position,
+ core.String source,
+ core.String timestamp,
core.String $fields,
}) {
core.String _url;
@@ -2643,24 +2643,24 @@
if (volumeId == null) {
throw core.ArgumentError('Parameter volumeId is required.');
}
- if (position != null) {
- _queryParams['position'] = [position];
- }
- if (deviceCookie != null) {
- _queryParams['deviceCookie'] = [deviceCookie];
- }
- if (source != null) {
- _queryParams['source'] = [source];
+ if (action != null) {
+ _queryParams['action'] = [action];
}
if (contentVersion != null) {
_queryParams['contentVersion'] = [contentVersion];
}
+ if (deviceCookie != null) {
+ _queryParams['deviceCookie'] = [deviceCookie];
+ }
+ if (position != null) {
+ _queryParams['position'] = [position];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if (timestamp != null) {
_queryParams['timestamp'] = [timestamp];
}
- if (action != null) {
- _queryParams['action'] = [action];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2691,13 +2691,13 @@
///
/// Request parameters:
///
- /// [source] - String to identify the originator of this request.
- ///
/// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
/// Used for generating notification title and body.
///
/// [notificationId] - String to identify the notification.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2709,9 +2709,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Notification> get({
- core.String source,
core.String locale,
core.String notificationId,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -2721,15 +2721,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source != null) {
- _queryParams['source'] = [source];
- }
if (locale != null) {
_queryParams['locale'] = [locale];
}
if (notificationId != null) {
_queryParams['notification_id'] = [notificationId];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2807,12 +2807,10 @@
///
/// Request parameters:
///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Default is
- /// en-US if unset.
- ///
/// [categoryId] - List of category ids requested.
///
- /// [pageToken] - The value of the nextToken from the previous page.
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Default is
+ /// en-US if unset.
///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned volumes. Books with a higher maturity rating are filtered out.
@@ -2824,6 +2822,8 @@
/// [pageSize] - Number of maximum results per page to be included in the
/// response.
///
+ /// [pageToken] - The value of the nextToken from the previous page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2835,11 +2835,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Volume2> listCategoryVolumes({
- core.String locale,
core.List<core.String> categoryId,
- core.String pageToken,
+ core.String locale,
core.String maxAllowedMaturityRating,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2849,14 +2849,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if (categoryId != null) {
_queryParams['categoryId'] = categoryId;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
}
if (maxAllowedMaturityRating != null) {
_queryParams['maxAllowedMaturityRating'] = [maxAllowedMaturityRating];
@@ -2864,6 +2861,9 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2893,6 +2893,9 @@
///
/// Request parameters:
///
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
+ /// Used for generating recommendations.
+ ///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned recommendations. Books with a higher maturity rating are filtered
/// out.
@@ -2903,9 +2906,6 @@
///
/// [source] - String to identify the originator of this request.
///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
- /// Used for generating recommendations.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2917,9 +2917,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Discoveryclusters> get({
+ core.String locale,
core.String maxAllowedMaturityRating,
core.String source,
- core.String locale,
core.String $fields,
}) {
core.String _url;
@@ -2929,15 +2929,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
if (maxAllowedMaturityRating != null) {
_queryParams['maxAllowedMaturityRating'] = [maxAllowedMaturityRating];
}
if (source != null) {
_queryParams['source'] = [source];
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2966,22 +2966,22 @@
///
/// Request parameters:
///
- /// [offerId] - null
- ///
- /// [manufacturer] - device manufacturer
- ///
- /// [product] - device product
- ///
- /// [model] - device model
- ///
- /// [volumeId] - Volume id to exercise the offer
+ /// [androidId] - device android_id
///
/// [device] - device device
///
- /// [androidId] - device android_id
+ /// [manufacturer] - device manufacturer
+ ///
+ /// [model] - device model
+ ///
+ /// [offerId] - null
+ ///
+ /// [product] - device product
///
/// [serial] - device serial
///
+ /// [volumeId] - Volume id to exercise the offer
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2993,14 +2993,14 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Empty> accept({
- core.String offerId,
- core.String manufacturer,
- core.String product,
- core.String model,
- core.String volumeId,
- core.String device,
core.String androidId,
+ core.String device,
+ core.String manufacturer,
+ core.String model,
+ core.String offerId,
+ core.String product,
core.String serial,
+ core.String volumeId,
core.String $fields,
}) {
core.String _url;
@@ -3010,30 +3010,30 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (offerId != null) {
- _queryParams['offerId'] = [offerId];
- }
- if (manufacturer != null) {
- _queryParams['manufacturer'] = [manufacturer];
- }
- if (product != null) {
- _queryParams['product'] = [product];
- }
- if (model != null) {
- _queryParams['model'] = [model];
- }
- if (volumeId != null) {
- _queryParams['volumeId'] = [volumeId];
+ if (androidId != null) {
+ _queryParams['androidId'] = [androidId];
}
if (device != null) {
_queryParams['device'] = [device];
}
- if (androidId != null) {
- _queryParams['androidId'] = [androidId];
+ if (manufacturer != null) {
+ _queryParams['manufacturer'] = [manufacturer];
+ }
+ if (model != null) {
+ _queryParams['model'] = [model];
+ }
+ if (offerId != null) {
+ _queryParams['offerId'] = [offerId];
+ }
+ if (product != null) {
+ _queryParams['product'] = [product];
}
if (serial != null) {
_queryParams['serial'] = [serial];
}
+ if (volumeId != null) {
+ _queryParams['volumeId'] = [volumeId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3058,17 +3058,17 @@
///
/// [androidId] - device android_id
///
- /// [product] - device product
+ /// [device] - device device
///
- /// [serial] - device serial
+ /// [manufacturer] - device manufacturer
///
/// [model] - device model
///
/// [offerId] - Offer to dimiss
///
- /// [device] - device device
+ /// [product] - device product
///
- /// [manufacturer] - device manufacturer
+ /// [serial] - device serial
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3082,12 +3082,12 @@
/// this method will complete with the same error.
async.Future<Empty> dismiss({
core.String androidId,
- core.String product,
- core.String serial,
- core.String model,
- core.String offerId,
core.String device,
core.String manufacturer,
+ core.String model,
+ core.String offerId,
+ core.String product,
+ core.String serial,
core.String $fields,
}) {
core.String _url;
@@ -3100,11 +3100,11 @@
if (androidId != null) {
_queryParams['androidId'] = [androidId];
}
- if (product != null) {
- _queryParams['product'] = [product];
+ if (device != null) {
+ _queryParams['device'] = [device];
}
- if (serial != null) {
- _queryParams['serial'] = [serial];
+ if (manufacturer != null) {
+ _queryParams['manufacturer'] = [manufacturer];
}
if (model != null) {
_queryParams['model'] = [model];
@@ -3112,11 +3112,11 @@
if (offerId != null) {
_queryParams['offerId'] = [offerId];
}
- if (device != null) {
- _queryParams['device'] = [device];
+ if (product != null) {
+ _queryParams['product'] = [product];
}
- if (manufacturer != null) {
- _queryParams['manufacturer'] = [manufacturer];
+ if (serial != null) {
+ _queryParams['serial'] = [serial];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -3140,18 +3140,18 @@
///
/// Request parameters:
///
- /// [serial] - device serial
- ///
/// [androidId] - device android_id
///
+ /// [device] - device device
+ ///
/// [manufacturer] - device manufacturer
///
/// [model] - device model
///
- /// [device] - device device
- ///
/// [product] - device product
///
+ /// [serial] - device serial
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3163,12 +3163,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Offers> get({
- core.String serial,
core.String androidId,
+ core.String device,
core.String manufacturer,
core.String model,
- core.String device,
core.String product,
+ core.String serial,
core.String $fields,
}) {
core.String _url;
@@ -3178,24 +3178,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (serial != null) {
- _queryParams['serial'] = [serial];
- }
if (androidId != null) {
_queryParams['androidId'] = [androidId];
}
+ if (device != null) {
+ _queryParams['device'] = [device];
+ }
if (manufacturer != null) {
_queryParams['manufacturer'] = [manufacturer];
}
if (model != null) {
_queryParams['model'] = [model];
}
- if (device != null) {
- _queryParams['device'] = [device];
- }
if (product != null) {
_queryParams['product'] = [product];
}
+ if (serial != null) {
+ _queryParams['serial'] = [serial];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3362,17 +3362,17 @@
///
/// [country] - ISO-3166-1 code to override the IP-based location.
///
+ /// [includeNonComicsSeries] - Set to true to include non-comics series.
+ /// Defaults to false.
+ ///
+ /// [partner] - Brand results for partner ID.
+ ///
/// [projection] - Restrict information returned to a set of selected fields.
/// Possible string values are:
/// - "PROJECTION_UNDEFINED"
/// - "FULL" : Includes all volume data.
/// - "LITE" : Includes a subset of fields in volumeInfo and accessInfo.
///
- /// [partner] - Brand results for partner ID.
- ///
- /// [includeNonComicsSeries] - Set to true to include non-comics series.
- /// Defaults to false.
- ///
/// [source] - string to identify the originator of this request.
///
/// [userLibraryConsistentRead] - null
@@ -3390,9 +3390,9 @@
async.Future<Volume> get(
core.String volumeId, {
core.String country,
- core.String projection,
- core.String partner,
core.bool includeNonComicsSeries,
+ core.String partner,
+ core.String projection,
core.String source,
core.bool userLibraryConsistentRead,
core.String $fields,
@@ -3410,14 +3410,14 @@
if (country != null) {
_queryParams['country'] = [country];
}
- if (projection != null) {
- _queryParams['projection'] = [projection];
+ if (includeNonComicsSeries != null) {
+ _queryParams['includeNonComicsSeries'] = ['${includeNonComicsSeries}'];
}
if (partner != null) {
_queryParams['partner'] = [partner];
}
- if (includeNonComicsSeries != null) {
- _queryParams['includeNonComicsSeries'] = ['${includeNonComicsSeries}'];
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
}
if (source != null) {
_queryParams['source'] = [source];
@@ -3449,19 +3449,10 @@
///
/// Request parameters:
///
- /// [partner] - Restrict and brand results for partner ID.
- ///
- /// [startIndex] - Index of the first result to return (starts at 0)
- ///
- /// [libraryRestrict] - Restrict search to this user's library.
+ /// [download] - Restrict to volumes by download availability.
/// Possible string values are:
- /// - "LIBRARY_RESTRICT_UNDEFINED"
- /// - "my-library" : Restrict to the user's library, any shelf.
- /// - "no-restrict" : Do not restrict based on user's library.
- ///
- /// [maxResults] - Maximum number of results to return.
- ///
- /// [source] - String to identify the originator of this request.
+ /// - "DOWNLOAD_UNDEFINED"
+ /// - "EPUB" : All volumes with epub.
///
/// [filter] - Filter search results.
/// Possible string values are:
@@ -3472,21 +3463,13 @@
/// - "paid-ebooks" : Google eBook with a price.
/// - "partial" : Public able to see parts of text.
///
- /// [showPreorders] - Set to true to show books available for preorder.
- /// Defaults to false.
+ /// [langRestrict] - Restrict results to books with this language code.
///
- /// [projection] - Restrict information returned to a set of selected fields.
+ /// [libraryRestrict] - Restrict search to this user's library.
/// Possible string values are:
- /// - "PROJECTION_UNDEFINED"
- /// - "FULL" : Includes all volume data.
- /// - "LITE" : Includes a subset of fields in volumeInfo and accessInfo.
- ///
- /// [printType] - Restrict to books or magazines.
- /// Possible string values are:
- /// - "PRINT_TYPE_UNDEFINED"
- /// - "ALL" : All volume content types.
- /// - "BOOKS" : Just books.
- /// - "MAGAZINES" : Just magazines.
+ /// - "LIBRARY_RESTRICT_UNDEFINED"
+ /// - "my-library" : Restrict to the user's library, any shelf.
+ /// - "no-restrict" : Do not restrict based on user's library.
///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned recommendations. Books with a higher maturity rating are filtered
@@ -3496,12 +3479,7 @@
/// - "MATURE" : Show books which are rated mature or lower.
/// - "not-mature" : Show books which are rated not mature.
///
- /// [download] - Restrict to volumes by download availability.
- /// Possible string values are:
- /// - "DOWNLOAD_UNDEFINED"
- /// - "EPUB" : All volumes with epub.
- ///
- /// [langRestrict] - Restrict results to books with this language code.
+ /// [maxResults] - Maximum number of results to return.
///
/// [orderBy] - Sort search results.
/// Possible string values are:
@@ -3509,8 +3487,30 @@
/// - "newest" : Most recently published.
/// - "relevance" : Relevance to search terms.
///
+ /// [partner] - Restrict and brand results for partner ID.
+ ///
+ /// [printType] - Restrict to books or magazines.
+ /// Possible string values are:
+ /// - "PRINT_TYPE_UNDEFINED"
+ /// - "ALL" : All volume content types.
+ /// - "BOOKS" : Just books.
+ /// - "MAGAZINES" : Just magazines.
+ ///
+ /// [projection] - Restrict information returned to a set of selected fields.
+ /// Possible string values are:
+ /// - "PROJECTION_UNDEFINED"
+ /// - "FULL" : Includes all volume data.
+ /// - "LITE" : Includes a subset of fields in volumeInfo and accessInfo.
+ ///
/// [q] - Full-text search query string.
///
+ /// [showPreorders] - Set to true to show books available for preorder.
+ /// Defaults to false.
+ ///
+ /// [source] - String to identify the originator of this request.
+ ///
+ /// [startIndex] - Index of the first result to return (starts at 0)
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3522,20 +3522,20 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Volumes> list({
- core.String partner,
- core.int startIndex,
- core.String libraryRestrict,
- core.int maxResults,
- core.String source,
- core.String filter,
- core.bool showPreorders,
- core.String projection,
- core.String printType,
- core.String maxAllowedMaturityRating,
core.String download,
+ core.String filter,
core.String langRestrict,
+ core.String libraryRestrict,
+ core.String maxAllowedMaturityRating,
+ core.int maxResults,
core.String orderBy,
+ core.String partner,
+ core.String printType,
+ core.String projection,
core.String q,
+ core.bool showPreorders,
+ core.String source,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -3545,48 +3545,48 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (partner != null) {
- _queryParams['partner'] = [partner];
- }
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
- if (libraryRestrict != null) {
- _queryParams['libraryRestrict'] = [libraryRestrict];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (source != null) {
- _queryParams['source'] = [source];
+ if (download != null) {
+ _queryParams['download'] = [download];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (showPreorders != null) {
- _queryParams['showPreorders'] = ['${showPreorders}'];
+ if (langRestrict != null) {
+ _queryParams['langRestrict'] = [langRestrict];
}
- if (projection != null) {
- _queryParams['projection'] = [projection];
- }
- if (printType != null) {
- _queryParams['printType'] = [printType];
+ if (libraryRestrict != null) {
+ _queryParams['libraryRestrict'] = [libraryRestrict];
}
if (maxAllowedMaturityRating != null) {
_queryParams['maxAllowedMaturityRating'] = [maxAllowedMaturityRating];
}
- if (download != null) {
- _queryParams['download'] = [download];
- }
- if (langRestrict != null) {
- _queryParams['langRestrict'] = [langRestrict];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (partner != null) {
+ _queryParams['partner'] = [partner];
+ }
+ if (printType != null) {
+ _queryParams['printType'] = [printType];
+ }
+ if (projection != null) {
+ _queryParams['projection'] = [projection];
+ }
if (q != null) {
_queryParams['q'] = [q];
}
+ if (showPreorders != null) {
+ _queryParams['showPreorders'] = ['${showPreorders}'];
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3618,11 +3618,6 @@
///
/// [volumeId] - ID of the source volume.
///
- /// [source] - String to identify the originator of this request.
- ///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
- /// Used for generating recommendations.
- ///
/// [association] - Association type.
/// Possible string values are:
/// - "ASSOCIATION_UNDEFINED"
@@ -3630,6 +3625,9 @@
/// - "end-of-volume" : Recommendations for display end-of-volume.
/// - "related-for-play" : Related volumes for Play Store.
///
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
+ /// Used for generating recommendations.
+ ///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned recommendations. Books with a higher maturity rating are filtered
/// out.
@@ -3638,6 +3636,8 @@
/// - "MATURE" : Show books which are rated mature or lower.
/// - "not-mature" : Show books which are rated not mature.
///
+ /// [source] - String to identify the originator of this request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3650,10 +3650,10 @@
/// this method will complete with the same error.
async.Future<Volumes> list(
core.String volumeId, {
- core.String source,
- core.String locale,
core.String association,
+ core.String locale,
core.String maxAllowedMaturityRating,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -3666,18 +3666,18 @@
if (volumeId == null) {
throw core.ArgumentError('Parameter volumeId is required.');
}
- if (source != null) {
- _queryParams['source'] = [source];
+ if (association != null) {
+ _queryParams['association'] = [association];
}
if (locale != null) {
_queryParams['locale'] = [locale];
}
- if (association != null) {
- _queryParams['association'] = [association];
- }
if (maxAllowedMaturityRating != null) {
_queryParams['maxAllowedMaturityRating'] = [maxAllowedMaturityRating];
}
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3708,20 +3708,20 @@
///
/// Request parameters:
///
- /// [processingState] - The processing state of the user uploaded volumes to
- /// be returned. Applicable only if the UPLOADED is specified in the
- /// acquireMethod.
+ /// [acquireMethod] - How the book was acquired
///
- /// [maxResults] - Maximum number of results to return.
- ///
- /// [source] - String to identify the originator of this request.
+ /// [country] - ISO-3166-1 code to override the IP-based location.
///
/// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex:'en_US'.
/// Used for generating recommendations.
///
- /// [acquireMethod] - How the book was acquired
+ /// [maxResults] - Maximum number of results to return.
///
- /// [country] - ISO-3166-1 code to override the IP-based location.
+ /// [processingState] - The processing state of the user uploaded volumes to
+ /// be returned. Applicable only if the UPLOADED is specified in the
+ /// acquireMethod.
+ ///
+ /// [source] - String to identify the originator of this request.
///
/// [startIndex] - Index of the first result to return (starts at 0)
///
@@ -3736,12 +3736,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Volumes> list({
- core.List<core.String> processingState,
- core.int maxResults,
- core.String source,
- core.String locale,
core.List<core.String> acquireMethod,
core.String country,
+ core.String locale,
+ core.int maxResults,
+ core.List<core.String> processingState,
+ core.String source,
core.int startIndex,
core.String $fields,
}) {
@@ -3752,24 +3752,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (processingState != null) {
- _queryParams['processingState'] = processingState;
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (source != null) {
- _queryParams['source'] = [source];
- }
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if (acquireMethod != null) {
_queryParams['acquireMethod'] = acquireMethod;
}
if (country != null) {
_queryParams['country'] = [country];
}
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (processingState != null) {
+ _queryParams['processingState'] = processingState;
+ }
+ if (source != null) {
+ _queryParams['source'] = [source];
+ }
if (startIndex != null) {
_queryParams['startIndex'] = ['${startIndex}'];
}
@@ -3802,7 +3802,8 @@
///
/// Request parameters:
///
- /// [source] - String to identify the originator of this request.
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
+ /// Used for generating recommendations.
///
/// [maxAllowedMaturityRating] - The maximum allowed maturity rating of
/// returned recommendations. Books with a higher maturity rating are filtered
@@ -3812,8 +3813,7 @@
/// - "MATURE" : Show books which are rated mature or lower.
/// - "not-mature" : Show books which are rated not mature.
///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
- /// Used for generating recommendations.
+ /// [source] - String to identify the originator of this request.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3826,9 +3826,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Volumes> list({
- core.String source,
- core.String maxAllowedMaturityRating,
core.String locale,
+ core.String maxAllowedMaturityRating,
+ core.String source,
core.String $fields,
}) {
core.String _url;
@@ -3838,14 +3838,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source != null) {
- _queryParams['source'] = [source];
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
}
if (maxAllowedMaturityRating != null) {
_queryParams['maxAllowedMaturityRating'] = [maxAllowedMaturityRating];
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
+ if (source != null) {
+ _queryParams['source'] = [source];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -3869,7 +3869,8 @@
///
/// Request parameters:
///
- /// [volumeId] - ID of the source volume.
+ /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
+ /// Used for generating recommendations.
///
/// [rating] - Rating to be given to the volume.
/// Possible string values are:
@@ -3877,11 +3878,10 @@
/// - "HAVE_IT" : Rating indicating a dismissal due to ownership.
/// - "NOT_INTERESTED" : Rating indicating a negative dismissal of a volume.
///
- /// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
- /// Used for generating recommendations.
- ///
/// [source] - String to identify the originator of this request.
///
+ /// [volumeId] - ID of the source volume.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3893,10 +3893,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<BooksVolumesRecommendedRateResponse> rate({
- core.String volumeId,
- core.String rating,
core.String locale,
+ core.String rating,
core.String source,
+ core.String volumeId,
core.String $fields,
}) {
core.String _url;
@@ -3906,18 +3906,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (volumeId != null) {
- _queryParams['volumeId'] = [volumeId];
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
}
if (rating != null) {
_queryParams['rating'] = [rating];
}
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
if (source != null) {
_queryParams['source'] = [source];
}
+ if (volumeId != null) {
+ _queryParams['volumeId'] = [volumeId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3948,20 +3948,20 @@
///
/// Request parameters:
///
- /// [processingState] - The processing state of the user uploaded volumes to
- /// be returned.
- ///
/// [locale] - ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'.
/// Used for generating recommendations.
///
- /// [volumeId] - The ids of the volumes to be returned. If not specified all
- /// that match the processingState are returned.
+ /// [maxResults] - Maximum number of results to return.
+ ///
+ /// [processingState] - The processing state of the user uploaded volumes to
+ /// be returned.
+ ///
+ /// [source] - String to identify the originator of this request.
///
/// [startIndex] - Index of the first result to return (starts at 0)
///
- /// [maxResults] - Maximum number of results to return.
- ///
- /// [source] - String to identify the originator of this request.
+ /// [volumeId] - The ids of the volumes to be returned. If not specified all
+ /// that match the processingState are returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3974,12 +3974,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Volumes> list({
- core.List<core.String> processingState,
core.String locale,
- core.List<core.String> volumeId,
- core.int startIndex,
core.int maxResults,
+ core.List<core.String> processingState,
core.String source,
+ core.int startIndex,
+ core.List<core.String> volumeId,
core.String $fields,
}) {
core.String _url;
@@ -3989,24 +3989,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (processingState != null) {
- _queryParams['processingState'] = processingState;
- }
if (locale != null) {
_queryParams['locale'] = [locale];
}
- if (volumeId != null) {
- _queryParams['volumeId'] = volumeId;
- }
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (processingState != null) {
+ _queryParams['processingState'] = processingState;
+ }
if (source != null) {
_queryParams['source'] = [source];
}
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
+ }
+ if (volumeId != null) {
+ _queryParams['volumeId'] = volumeId;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/calendar/v3.dart b/generated/googleapis/lib/calendar/v3.dart
index a3df618..c32b2d5 100644
--- a/generated/googleapis/lib/calendar/v3.dart
+++ b/generated/googleapis/lib/calendar/v3.dart
@@ -264,8 +264,16 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
+ /// [maxResults] - Maximum number of entries returned on one result page. By
+ /// default the value is 100 entries. The page size can never be larger than
+ /// 250 entries. Optional.
+ ///
/// [pageToken] - Token specifying which result page to return. Optional.
///
+ /// [showDeleted] - Whether to include deleted ACLs in the result. Deleted
+ /// ACLs are represented by role equal to "none". Deleted ACLs will always be
+ /// included if syncToken is provided. Optional. The default is False.
+ ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then.
@@ -277,14 +285,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [maxResults] - Maximum number of entries returned on one result page. By
- /// default the value is 100 entries. The page size can never be larger than
- /// 250 entries. Optional.
- ///
- /// [showDeleted] - Whether to include deleted ACLs in the result. Deleted
- /// ACLs are represented by role equal to "none". Deleted ACLs will always be
- /// included if syncToken is provided. Optional. The default is False.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -297,10 +297,10 @@
/// this method will complete with the same error.
async.Future<Acl> list(
core.String calendarId, {
- core.String pageToken,
- core.String syncToken,
core.int maxResults,
+ core.String pageToken,
core.bool showDeleted,
+ core.String syncToken,
core.String $fields,
}) {
core.String _url;
@@ -313,18 +313,18 @@
if (calendarId == null) {
throw core.ArgumentError('Parameter calendarId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (syncToken != null) {
- _queryParams['syncToken'] = [syncToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
+ if (syncToken != null) {
+ _queryParams['syncToken'] = [syncToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -499,12 +499,16 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
+ /// [maxResults] - Maximum number of entries returned on one result page. By
+ /// default the value is 100 entries. The page size can never be larger than
+ /// 250 entries. Optional.
+ ///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
/// [showDeleted] - Whether to include deleted ACLs in the result. Deleted
/// ACLs are represented by role equal to "none". Deleted ACLs will always be
/// included if syncToken is provided. Optional. The default is False.
///
- /// [pageToken] - Token specifying which result page to return. Optional.
- ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then.
@@ -516,10 +520,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [maxResults] - Maximum number of entries returned on one result page. By
- /// default the value is 100 entries. The page size can never be larger than
- /// 250 entries. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -533,10 +533,10 @@
async.Future<Channel> watch(
Channel request,
core.String calendarId, {
- core.bool showDeleted,
- core.String pageToken,
- core.String syncToken,
core.int maxResults,
+ core.String pageToken,
+ core.bool showDeleted,
+ core.String syncToken,
core.String $fields,
}) {
core.String _url;
@@ -552,18 +552,18 @@
if (calendarId == null) {
throw core.ArgumentError('Parameter calendarId is required.');
}
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -757,12 +757,6 @@
/// default the value is 100 entries. The page size can never be larger than
/// 250 entries. Optional.
///
- /// [showDeleted] - Whether to include deleted calendar list entries in the
- /// result. Optional. The default is False.
- ///
- /// [showHidden] - Whether to show hidden entries. Optional. The default is
- /// False.
- ///
/// [minAccessRole] - The minimum access role for the user in the returned
/// entries. Optional. The default is no restriction.
/// Possible string values are:
@@ -771,6 +765,14 @@
/// - "reader" : The user can read events that are not private.
/// - "writer" : The user can read and modify events.
///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
+ /// [showDeleted] - Whether to include deleted calendar list entries in the
+ /// result. Optional. The default is False.
+ ///
+ /// [showHidden] - Whether to show hidden entries. Optional. The default is
+ /// False.
+ ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then. If
@@ -786,8 +788,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [pageToken] - Token specifying which result page to return. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -800,11 +800,11 @@
/// this method will complete with the same error.
async.Future<CalendarList> list({
core.int maxResults,
+ core.String minAccessRole,
+ core.String pageToken,
core.bool showDeleted,
core.bool showHidden,
- core.String minAccessRole,
core.String syncToken,
- core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -817,21 +817,21 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (minAccessRole != null) {
+ _queryParams['minAccessRole'] = [minAccessRole];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
if (showHidden != null) {
_queryParams['showHidden'] = ['${showHidden}'];
}
- if (minAccessRole != null) {
- _queryParams['minAccessRole'] = [minAccessRole];
- }
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -989,10 +989,9 @@
///
/// Request parameters:
///
- /// [pageToken] - Token specifying which result page to return. Optional.
- ///
- /// [showHidden] - Whether to show hidden entries. Optional. The default is
- /// False.
+ /// [maxResults] - Maximum number of entries returned on one result page. By
+ /// default the value is 100 entries. The page size can never be larger than
+ /// 250 entries. Optional.
///
/// [minAccessRole] - The minimum access role for the user in the returned
/// entries. Optional. The default is no restriction.
@@ -1002,6 +1001,14 @@
/// - "reader" : The user can read events that are not private.
/// - "writer" : The user can read and modify events.
///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
+ /// [showDeleted] - Whether to include deleted calendar list entries in the
+ /// result. Optional. The default is False.
+ ///
+ /// [showHidden] - Whether to show hidden entries. Optional. The default is
+ /// False.
+ ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then. If
@@ -1017,13 +1024,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [showDeleted] - Whether to include deleted calendar list entries in the
- /// result. Optional. The default is False.
- ///
- /// [maxResults] - Maximum number of entries returned on one result page. By
- /// default the value is 100 entries. The page size can never be larger than
- /// 250 entries. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1036,12 +1036,12 @@
/// this method will complete with the same error.
async.Future<Channel> watch(
Channel request, {
- core.String pageToken,
- core.bool showHidden,
- core.String minAccessRole,
- core.String syncToken,
- core.bool showDeleted,
core.int maxResults,
+ core.String minAccessRole,
+ core.String pageToken,
+ core.bool showDeleted,
+ core.bool showHidden,
+ core.String syncToken,
core.String $fields,
}) {
core.String _url;
@@ -1054,23 +1054,23 @@
if (request != null) {
_body = convert.json.encode(request.toJson());
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (showHidden != null) {
- _queryParams['showHidden'] = ['${showHidden}'];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (minAccessRole != null) {
_queryParams['minAccessRole'] = [minAccessRole];
}
- if (syncToken != null) {
- _queryParams['syncToken'] = [syncToken];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (showHidden != null) {
+ _queryParams['showHidden'] = ['${showHidden}'];
+ }
+ if (syncToken != null) {
+ _queryParams['syncToken'] = [syncToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1610,17 +1610,17 @@
///
/// [eventId] - Event identifier.
///
- /// [timeZone] - Time zone used in the response. Optional. The default is the
- /// time zone of the calendar.
+ /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
+ /// returned in the email field for the organizer, creator and attendees, even
+ /// if no real email address is available (i.e. a generated, non-working value
+ /// will be provided).
///
/// [maxAttendees] - The maximum number of attendees to include in the
/// response. If there are more than the specified number of attendees, only
/// the participant is returned. Optional.
///
- /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
- /// returned in the email field for the organizer, creator and attendees, even
- /// if no real email address is available (i.e. a generated, non-working value
- /// will be provided).
+ /// [timeZone] - Time zone used in the response. Optional. The default is the
+ /// time zone of the calendar.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1635,9 +1635,9 @@
async.Future<Event> get(
core.String calendarId,
core.String eventId, {
- core.String timeZone,
- core.int maxAttendees,
core.bool alwaysIncludeEmail,
+ core.int maxAttendees,
+ core.String timeZone,
core.String $fields,
}) {
core.String _url;
@@ -1653,14 +1653,14 @@
if (eventId == null) {
throw core.ArgumentError('Parameter eventId is required.');
}
- if (timeZone != null) {
- _queryParams['timeZone'] = [timeZone];
+ if (alwaysIncludeEmail != null) {
+ _queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
}
if (maxAttendees != null) {
_queryParams['maxAttendees'] = ['${maxAttendees}'];
}
- if (alwaysIncludeEmail != null) {
- _queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
+ if (timeZone != null) {
+ _queryParams['timeZone'] = [timeZone];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1777,6 +1777,16 @@
/// createRequest field of conferenceData. The default is 0.
/// Value must be between "0" and "1".
///
+ /// [maxAttendees] - The maximum number of attendees to include in the
+ /// response. If there are more than the specified number of attendees, only
+ /// the participant is returned. Optional.
+ ///
+ /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
+ ///
+ /// Whether to send notifications about the creation of the new event. Note
+ /// that some emails might still be sent even if you set the value to false.
+ /// The default is false.
+ ///
/// [sendUpdates] - Whether to send notifications about the creation of the
/// new event. Note that some emails might still be sent. The default is
/// false.
@@ -1788,16 +1798,6 @@
/// migration use cases (note that in most migration cases the import method
/// should be used).
///
- /// [maxAttendees] - The maximum number of attendees to include in the
- /// response. If there are more than the specified number of attendees, only
- /// the participant is returned. Optional.
- ///
- /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
- ///
- /// Whether to send notifications about the creation of the new event. Note
- /// that some emails might still be sent even if you set the value to false.
- /// The default is false.
- ///
/// [supportsAttachments] - Whether API client performing operation supports
/// event attachments. Optional. The default is False.
///
@@ -1815,9 +1815,9 @@
Event request,
core.String calendarId, {
core.int conferenceDataVersion,
- core.String sendUpdates,
core.int maxAttendees,
core.bool sendNotifications,
+ core.String sendUpdates,
core.bool supportsAttachments,
core.String $fields,
}) {
@@ -1837,15 +1837,15 @@
if (conferenceDataVersion != null) {
_queryParams['conferenceDataVersion'] = ['${conferenceDataVersion}'];
}
- if (sendUpdates != null) {
- _queryParams['sendUpdates'] = [sendUpdates];
- }
if (maxAttendees != null) {
_queryParams['maxAttendees'] = ['${maxAttendees}'];
}
if (sendNotifications != null) {
_queryParams['sendNotifications'] = ['${sendNotifications}'];
}
+ if (sendUpdates != null) {
+ _queryParams['sendUpdates'] = [sendUpdates];
+ }
if (supportsAttachments != null) {
_queryParams['supportsAttachments'] = ['${supportsAttachments}'];
}
@@ -1878,40 +1878,40 @@
///
/// [eventId] - Recurring event identifier.
///
- /// [timeMin] - Lower bound (inclusive) for an event's end time to filter by.
- /// Optional. The default is not to filter by end time. Must be an RFC3339
- /// timestamp with mandatory time zone offset.
+ /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
+ /// returned in the email field for the organizer, creator and attendees, even
+ /// if no real email address is available (i.e. a generated, non-working value
+ /// will be provided).
///
/// [maxAttendees] - The maximum number of attendees to include in the
/// response. If there are more than the specified number of attendees, only
/// the participant is returned. Optional.
///
- /// [showDeleted] - Whether to include deleted events (with status equals
- /// "cancelled") in the result. Cancelled instances of recurring events will
- /// still be included if singleEvents is False. Optional. The default is
- /// False.
+ /// [maxResults] - Maximum number of events returned on one result page. By
+ /// default the value is 250 events. The page size can never be larger than
+ /// 2500 events. Optional.
///
/// [originalStart] - The original start time of the instance in the result.
/// Optional.
///
/// [pageToken] - Token specifying which result page to return. Optional.
///
+ /// [showDeleted] - Whether to include deleted events (with status equals
+ /// "cancelled") in the result. Cancelled instances of recurring events will
+ /// still be included if singleEvents is False. Optional. The default is
+ /// False.
+ ///
/// [timeMax] - Upper bound (exclusive) for an event's start time to filter
/// by. Optional. The default is not to filter by start time. Must be an
/// RFC3339 timestamp with mandatory time zone offset.
///
+ /// [timeMin] - Lower bound (inclusive) for an event's end time to filter by.
+ /// Optional. The default is not to filter by end time. Must be an RFC3339
+ /// timestamp with mandatory time zone offset.
+ ///
/// [timeZone] - Time zone used in the response. Optional. The default is the
/// time zone of the calendar.
///
- /// [maxResults] - Maximum number of events returned on one result page. By
- /// default the value is 250 events. The page size can never be larger than
- /// 2500 events. Optional.
- ///
- /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
- /// returned in the email field for the organizer, creator and attendees, even
- /// if no real email address is available (i.e. a generated, non-working value
- /// will be provided).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1925,15 +1925,15 @@
async.Future<Events> instances(
core.String calendarId,
core.String eventId, {
- core.DateTime timeMin,
+ core.bool alwaysIncludeEmail,
core.int maxAttendees,
- core.bool showDeleted,
+ core.int maxResults,
core.String originalStart,
core.String pageToken,
+ core.bool showDeleted,
core.DateTime timeMax,
+ core.DateTime timeMin,
core.String timeZone,
- core.int maxResults,
- core.bool alwaysIncludeEmail,
core.String $fields,
}) {
core.String _url;
@@ -1949,14 +1949,14 @@
if (eventId == null) {
throw core.ArgumentError('Parameter eventId is required.');
}
- if (timeMin != null) {
- _queryParams['timeMin'] = [(timeMin).toIso8601String()];
+ if (alwaysIncludeEmail != null) {
+ _queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
}
if (maxAttendees != null) {
_queryParams['maxAttendees'] = ['${maxAttendees}'];
}
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (originalStart != null) {
_queryParams['originalStart'] = [originalStart];
@@ -1964,18 +1964,18 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
if (timeMax != null) {
_queryParams['timeMax'] = [(timeMax).toIso8601String()];
}
+ if (timeMin != null) {
+ _queryParams['timeMin'] = [(timeMin).toIso8601String()];
+ }
if (timeZone != null) {
_queryParams['timeZone'] = [timeZone];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (alwaysIncludeEmail != null) {
- _queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2006,12 +2006,47 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
- /// [timeMax] - Upper bound (exclusive) for an event's start time to filter
- /// by. Optional. The default is not to filter by start time. Must be an
- /// RFC3339 timestamp with mandatory time zone offset, for example,
- /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
- /// provided but are ignored. If timeMin is set, timeMax must be greater than
- /// timeMin.
+ /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
+ /// returned in the email field for the organizer, creator and attendees, even
+ /// if no real email address is available (i.e. a generated, non-working value
+ /// will be provided).
+ ///
+ /// [iCalUID] - Specifies event ID in the iCalendar format to be included in
+ /// the response. Optional.
+ ///
+ /// [maxAttendees] - The maximum number of attendees to include in the
+ /// response. If there are more than the specified number of attendees, only
+ /// the participant is returned. Optional.
+ ///
+ /// [maxResults] - Maximum number of events returned on one result page. The
+ /// number of events in the resulting page may be less than this value, or
+ /// none at all, even if there are more events matching the query. Incomplete
+ /// pages can be detected by a non-empty nextPageToken field in the response.
+ /// By default the value is 250 events. The page size can never be larger than
+ /// 2500 events. Optional.
+ ///
+ /// [orderBy] - The order of the events returned in the result. Optional. The
+ /// default is an unspecified, stable order.
+ /// Possible string values are:
+ /// - "startTime" : Order by the start date/time (ascending). This is only
+ /// available when querying single events (i.e. the parameter singleEvents is
+ /// True)
+ /// - "updated" : Order by last modification time (ascending).
+ ///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
+ /// [privateExtendedProperty] - Extended properties constraint specified as
+ /// propertyName=value. Matches only private properties. This parameter might
+ /// be repeated multiple times to return events that match all given
+ /// constraints.
+ ///
+ /// [q] - Free text search terms to find events that match these terms in any
+ /// field, except for extended properties. Optional.
+ ///
+ /// [sharedExtendedProperty] - Extended properties constraint specified as
+ /// propertyName=value. Matches only shared properties. This parameter might
+ /// be repeated multiple times to return events that match all given
+ /// constraints.
///
/// [showDeleted] - Whether to include deleted events (with status equals
/// "cancelled") in the result. Cancelled instances of recurring events (but
@@ -2020,48 +2055,13 @@
/// True, only single instances of deleted events (but not the underlying
/// recurring events) are returned. Optional. The default is False.
///
- /// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
- /// returned in the email field for the organizer, creator and attendees, even
- /// if no real email address is available (i.e. a generated, non-working value
- /// will be provided).
- ///
- /// [updatedMin] - Lower bound for an event's last modification time (as a
- /// RFC3339 timestamp) to filter by. When specified, entries deleted since
- /// this time will always be included regardless of showDeleted. Optional. The
- /// default is not to filter by last modification time.
- ///
- /// [timeZone] - Time zone used in the response. Optional. The default is the
- /// time zone of the calendar.
- ///
- /// [sharedExtendedProperty] - Extended properties constraint specified as
- /// propertyName=value. Matches only shared properties. This parameter might
- /// be repeated multiple times to return events that match all given
- /// constraints.
- ///
- /// [privateExtendedProperty] - Extended properties constraint specified as
- /// propertyName=value. Matches only private properties. This parameter might
- /// be repeated multiple times to return events that match all given
- /// constraints.
- ///
- /// [timeMin] - Lower bound (exclusive) for an event's end time to filter by.
- /// Optional. The default is not to filter by end time. Must be an RFC3339
- /// timestamp with mandatory time zone offset, for example,
- /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
- /// provided but are ignored. If timeMax is set, timeMin must be smaller than
- /// timeMax.
- ///
- /// [iCalUID] - Specifies event ID in the iCalendar format to be included in
- /// the response. Optional.
- ///
/// [showHiddenInvitations] - Whether to include hidden invitations in the
/// result. Optional. The default is False.
///
- /// [maxResults] - Maximum number of events returned on one result page. The
- /// number of events in the resulting page may be less than this value, or
- /// none at all, even if there are more events matching the query. Incomplete
- /// pages can be detected by a non-empty nextPageToken field in the response.
- /// By default the value is 250 events. The page size can never be larger than
- /// 2500 events. Optional.
+ /// [singleEvents] - Whether to expand recurring events into instances and
+ /// only return single one-off events and instances of recurring events, but
+ /// not the underlying recurring events themselves. Optional. The default is
+ /// False.
///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
@@ -2085,27 +2085,27 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [pageToken] - Token specifying which result page to return. Optional.
+ /// [timeMax] - Upper bound (exclusive) for an event's start time to filter
+ /// by. Optional. The default is not to filter by start time. Must be an
+ /// RFC3339 timestamp with mandatory time zone offset, for example,
+ /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
+ /// provided but are ignored. If timeMin is set, timeMax must be greater than
+ /// timeMin.
///
- /// [q] - Free text search terms to find events that match these terms in any
- /// field, except for extended properties. Optional.
+ /// [timeMin] - Lower bound (exclusive) for an event's end time to filter by.
+ /// Optional. The default is not to filter by end time. Must be an RFC3339
+ /// timestamp with mandatory time zone offset, for example,
+ /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
+ /// provided but are ignored. If timeMax is set, timeMin must be smaller than
+ /// timeMax.
///
- /// [singleEvents] - Whether to expand recurring events into instances and
- /// only return single one-off events and instances of recurring events, but
- /// not the underlying recurring events themselves. Optional. The default is
- /// False.
+ /// [timeZone] - Time zone used in the response. Optional. The default is the
+ /// time zone of the calendar.
///
- /// [orderBy] - The order of the events returned in the result. Optional. The
- /// default is an unspecified, stable order.
- /// Possible string values are:
- /// - "startTime" : Order by the start date/time (ascending). This is only
- /// available when querying single events (i.e. the parameter singleEvents is
- /// True)
- /// - "updated" : Order by last modification time (ascending).
- ///
- /// [maxAttendees] - The maximum number of attendees to include in the
- /// response. If there are more than the specified number of attendees, only
- /// the participant is returned. Optional.
+ /// [updatedMin] - Lower bound for an event's last modification time (as a
+ /// RFC3339 timestamp) to filter by. When specified, entries deleted since
+ /// this time will always be included regardless of showDeleted. Optional. The
+ /// default is not to filter by last modification time.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2119,23 +2119,23 @@
/// this method will complete with the same error.
async.Future<Events> list(
core.String calendarId, {
- core.DateTime timeMax,
- core.bool showDeleted,
core.bool alwaysIncludeEmail,
- core.DateTime updatedMin,
- core.String timeZone,
- core.List<core.String> sharedExtendedProperty,
- core.List<core.String> privateExtendedProperty,
- core.DateTime timeMin,
core.String iCalUID,
- core.bool showHiddenInvitations,
- core.int maxResults,
- core.String syncToken,
- core.String pageToken,
- core.String q,
- core.bool singleEvents,
- core.String orderBy,
core.int maxAttendees,
+ core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
+ core.List<core.String> privateExtendedProperty,
+ core.String q,
+ core.List<core.String> sharedExtendedProperty,
+ core.bool showDeleted,
+ core.bool showHiddenInvitations,
+ core.bool singleEvents,
+ core.String syncToken,
+ core.DateTime timeMax,
+ core.DateTime timeMin,
+ core.String timeZone,
+ core.DateTime updatedMin,
core.String $fields,
}) {
core.String _url;
@@ -2148,56 +2148,56 @@
if (calendarId == null) {
throw core.ArgumentError('Parameter calendarId is required.');
}
- if (timeMax != null) {
- _queryParams['timeMax'] = [(timeMax).toIso8601String()];
- }
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
- }
if (alwaysIncludeEmail != null) {
_queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
}
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [(updatedMin).toIso8601String()];
- }
- if (timeZone != null) {
- _queryParams['timeZone'] = [timeZone];
- }
- if (sharedExtendedProperty != null) {
- _queryParams['sharedExtendedProperty'] = sharedExtendedProperty;
- }
- if (privateExtendedProperty != null) {
- _queryParams['privateExtendedProperty'] = privateExtendedProperty;
- }
- if (timeMin != null) {
- _queryParams['timeMin'] = [(timeMin).toIso8601String()];
- }
if (iCalUID != null) {
_queryParams['iCalUID'] = [iCalUID];
}
- if (showHiddenInvitations != null) {
- _queryParams['showHiddenInvitations'] = ['${showHiddenInvitations}'];
+ if (maxAttendees != null) {
+ _queryParams['maxAttendees'] = ['${maxAttendees}'];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (syncToken != null) {
- _queryParams['syncToken'] = [syncToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (privateExtendedProperty != null) {
+ _queryParams['privateExtendedProperty'] = privateExtendedProperty;
+ }
if (q != null) {
_queryParams['q'] = [q];
}
+ if (sharedExtendedProperty != null) {
+ _queryParams['sharedExtendedProperty'] = sharedExtendedProperty;
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
+ if (showHiddenInvitations != null) {
+ _queryParams['showHiddenInvitations'] = ['${showHiddenInvitations}'];
+ }
if (singleEvents != null) {
_queryParams['singleEvents'] = ['${singleEvents}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (syncToken != null) {
+ _queryParams['syncToken'] = [syncToken];
}
- if (maxAttendees != null) {
- _queryParams['maxAttendees'] = ['${maxAttendees}'];
+ if (timeMax != null) {
+ _queryParams['timeMax'] = [(timeMax).toIso8601String()];
+ }
+ if (timeMin != null) {
+ _queryParams['timeMin'] = [(timeMin).toIso8601String()];
+ }
+ if (timeZone != null) {
+ _queryParams['timeZone'] = [timeZone];
+ }
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [(updatedMin).toIso8601String()];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2321,27 +2321,11 @@
///
/// [eventId] - Event identifier.
///
- /// [sendUpdates] - Guests who should receive notifications about the event
- /// update (for example, title changes, etc.).
- /// Possible string values are:
- /// - "all" : Notifications are sent to all guests.
- /// - "externalOnly" : Notifications are sent to non-Google Calendar guests
- /// only.
- /// - "none" : No notifications are sent. This value should only be used for
- /// migration use cases (note that in most migration cases the import method
- /// should be used).
- ///
/// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
/// returned in the email field for the organizer, creator and attendees, even
/// if no real email address is available (i.e. a generated, non-working value
/// will be provided).
///
- /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
- ///
- /// Whether to send notifications about the event update (for example,
- /// description changes, etc.). Note that some emails might still be sent even
- /// if you set the value to false. The default is false.
- ///
/// [conferenceDataVersion] - Version number of conference data supported by
/// the API client. Version 0 assumes no conference data support and ignores
/// conference data in the event's body. Version 1 enables support for copying
@@ -2353,6 +2337,22 @@
/// response. If there are more than the specified number of attendees, only
/// the participant is returned. Optional.
///
+ /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
+ ///
+ /// Whether to send notifications about the event update (for example,
+ /// description changes, etc.). Note that some emails might still be sent even
+ /// if you set the value to false. The default is false.
+ ///
+ /// [sendUpdates] - Guests who should receive notifications about the event
+ /// update (for example, title changes, etc.).
+ /// Possible string values are:
+ /// - "all" : Notifications are sent to all guests.
+ /// - "externalOnly" : Notifications are sent to non-Google Calendar guests
+ /// only.
+ /// - "none" : No notifications are sent. This value should only be used for
+ /// migration use cases (note that in most migration cases the import method
+ /// should be used).
+ ///
/// [supportsAttachments] - Whether API client performing operation supports
/// event attachments. Optional. The default is False.
///
@@ -2370,11 +2370,11 @@
Event request,
core.String calendarId,
core.String eventId, {
- core.String sendUpdates,
core.bool alwaysIncludeEmail,
- core.bool sendNotifications,
core.int conferenceDataVersion,
core.int maxAttendees,
+ core.bool sendNotifications,
+ core.String sendUpdates,
core.bool supportsAttachments,
core.String $fields,
}) {
@@ -2394,21 +2394,21 @@
if (eventId == null) {
throw core.ArgumentError('Parameter eventId is required.');
}
- if (sendUpdates != null) {
- _queryParams['sendUpdates'] = [sendUpdates];
- }
if (alwaysIncludeEmail != null) {
_queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
}
- if (sendNotifications != null) {
- _queryParams['sendNotifications'] = ['${sendNotifications}'];
- }
if (conferenceDataVersion != null) {
_queryParams['conferenceDataVersion'] = ['${conferenceDataVersion}'];
}
if (maxAttendees != null) {
_queryParams['maxAttendees'] = ['${maxAttendees}'];
}
+ if (sendNotifications != null) {
+ _queryParams['sendNotifications'] = ['${sendNotifications}'];
+ }
+ if (sendUpdates != null) {
+ _queryParams['sendUpdates'] = [sendUpdates];
+ }
if (supportsAttachments != null) {
_queryParams['supportsAttachments'] = ['${supportsAttachments}'];
}
@@ -2443,6 +2443,12 @@
///
/// [text] - The text describing the event to be created.
///
+ /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
+ ///
+ /// Whether to send notifications about the creation of the event. Note that
+ /// some emails might still be sent even if you set the value to false. The
+ /// default is false.
+ ///
/// [sendUpdates] - Guests who should receive notifications about the creation
/// of the new event.
/// Possible string values are:
@@ -2453,12 +2459,6 @@
/// migration use cases (note that in most migration cases the import method
/// should be used).
///
- /// [sendNotifications] - Deprecated. Please use sendUpdates instead.
- ///
- /// Whether to send notifications about the creation of the event. Note that
- /// some emails might still be sent even if you set the value to false. The
- /// default is false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2472,8 +2472,8 @@
async.Future<Event> quickAdd(
core.String calendarId,
core.String text, {
- core.String sendUpdates,
core.bool sendNotifications,
+ core.String sendUpdates,
core.String $fields,
}) {
core.String _url;
@@ -2490,12 +2490,12 @@
throw core.ArgumentError('Parameter text is required.');
}
_queryParams['text'] = [text];
- if (sendUpdates != null) {
- _queryParams['sendUpdates'] = [sendUpdates];
- }
if (sendNotifications != null) {
_queryParams['sendNotifications'] = ['${sendNotifications}'];
}
+ if (sendUpdates != null) {
+ _queryParams['sendUpdates'] = [sendUpdates];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2540,8 +2540,9 @@
/// createRequest field of conferenceData. The default is 0.
/// Value must be between "0" and "1".
///
- /// [supportsAttachments] - Whether API client performing operation supports
- /// event attachments. Optional. The default is False.
+ /// [maxAttendees] - The maximum number of attendees to include in the
+ /// response. If there are more than the specified number of attendees, only
+ /// the participant is returned. Optional.
///
/// [sendNotifications] - Deprecated. Please use sendUpdates instead.
///
@@ -2549,10 +2550,6 @@
/// description changes, etc.). Note that some emails might still be sent even
/// if you set the value to false. The default is false.
///
- /// [maxAttendees] - The maximum number of attendees to include in the
- /// response. If there are more than the specified number of attendees, only
- /// the participant is returned. Optional.
- ///
/// [sendUpdates] - Guests who should receive notifications about the event
/// update (for example, title changes, etc.).
/// Possible string values are:
@@ -2563,6 +2560,9 @@
/// migration use cases (note that in most migration cases the import method
/// should be used).
///
+ /// [supportsAttachments] - Whether API client performing operation supports
+ /// event attachments. Optional. The default is False.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2579,10 +2579,10 @@
core.String eventId, {
core.bool alwaysIncludeEmail,
core.int conferenceDataVersion,
- core.bool supportsAttachments,
- core.bool sendNotifications,
core.int maxAttendees,
+ core.bool sendNotifications,
core.String sendUpdates,
+ core.bool supportsAttachments,
core.String $fields,
}) {
core.String _url;
@@ -2607,18 +2607,18 @@
if (conferenceDataVersion != null) {
_queryParams['conferenceDataVersion'] = ['${conferenceDataVersion}'];
}
- if (supportsAttachments != null) {
- _queryParams['supportsAttachments'] = ['${supportsAttachments}'];
+ if (maxAttendees != null) {
+ _queryParams['maxAttendees'] = ['${maxAttendees}'];
}
if (sendNotifications != null) {
_queryParams['sendNotifications'] = ['${sendNotifications}'];
}
- if (maxAttendees != null) {
- _queryParams['maxAttendees'] = ['${maxAttendees}'];
- }
if (sendUpdates != null) {
_queryParams['sendUpdates'] = [sendUpdates];
}
+ if (supportsAttachments != null) {
+ _queryParams['supportsAttachments'] = ['${supportsAttachments}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2650,36 +2650,24 @@
/// calendarList.list method. If you want to access the primary calendar of
/// the currently logged in user, use the "primary" keyword.
///
- /// [q] - Free text search terms to find events that match these terms in any
- /// field, except for extended properties. Optional.
- ///
- /// [timeMax] - Upper bound (exclusive) for an event's start time to filter
- /// by. Optional. The default is not to filter by start time. Must be an
- /// RFC3339 timestamp with mandatory time zone offset, for example,
- /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
- /// provided but are ignored. If timeMin is set, timeMax must be greater than
- /// timeMin.
- ///
- /// [pageToken] - Token specifying which result page to return. Optional.
- ///
/// [alwaysIncludeEmail] - Deprecated and ignored. A value will always be
/// returned in the email field for the organizer, creator and attendees, even
/// if no real email address is available (i.e. a generated, non-working value
/// will be provided).
///
- /// [sharedExtendedProperty] - Extended properties constraint specified as
- /// propertyName=value. Matches only shared properties. This parameter might
- /// be repeated multiple times to return events that match all given
- /// constraints.
- ///
/// [iCalUID] - Specifies event ID in the iCalendar format to be included in
/// the response. Optional.
///
- /// [showHiddenInvitations] - Whether to include hidden invitations in the
- /// result. Optional. The default is False.
+ /// [maxAttendees] - The maximum number of attendees to include in the
+ /// response. If there are more than the specified number of attendees, only
+ /// the participant is returned. Optional.
///
- /// [timeZone] - Time zone used in the response. Optional. The default is the
- /// time zone of the calendar.
+ /// [maxResults] - Maximum number of events returned on one result page. The
+ /// number of events in the resulting page may be less than this value, or
+ /// none at all, even if there are more events matching the query. Incomplete
+ /// pages can be detected by a non-empty nextPageToken field in the response.
+ /// By default the value is 250 events. The page size can never be larger than
+ /// 2500 events. Optional.
///
/// [orderBy] - The order of the events returned in the result. Optional. The
/// default is an unspecified, stable order.
@@ -2689,6 +2677,36 @@
/// True)
/// - "updated" : Order by last modification time (ascending).
///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
+ /// [privateExtendedProperty] - Extended properties constraint specified as
+ /// propertyName=value. Matches only private properties. This parameter might
+ /// be repeated multiple times to return events that match all given
+ /// constraints.
+ ///
+ /// [q] - Free text search terms to find events that match these terms in any
+ /// field, except for extended properties. Optional.
+ ///
+ /// [sharedExtendedProperty] - Extended properties constraint specified as
+ /// propertyName=value. Matches only shared properties. This parameter might
+ /// be repeated multiple times to return events that match all given
+ /// constraints.
+ ///
+ /// [showDeleted] - Whether to include deleted events (with status equals
+ /// "cancelled") in the result. Cancelled instances of recurring events (but
+ /// not the underlying recurring event) will still be included if showDeleted
+ /// and singleEvents are both False. If showDeleted and singleEvents are both
+ /// True, only single instances of deleted events (but not the underlying
+ /// recurring events) are returned. Optional. The default is False.
+ ///
+ /// [showHiddenInvitations] - Whether to include hidden invitations in the
+ /// result. Optional. The default is False.
+ ///
+ /// [singleEvents] - Whether to expand recurring events into instances and
+ /// only return single one-off events and instances of recurring events, but
+ /// not the underlying recurring events themselves. Optional. The default is
+ /// False.
+ ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then.
@@ -2711,38 +2729,12 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [privateExtendedProperty] - Extended properties constraint specified as
- /// propertyName=value. Matches only private properties. This parameter might
- /// be repeated multiple times to return events that match all given
- /// constraints.
- ///
- /// [showDeleted] - Whether to include deleted events (with status equals
- /// "cancelled") in the result. Cancelled instances of recurring events (but
- /// not the underlying recurring event) will still be included if showDeleted
- /// and singleEvents are both False. If showDeleted and singleEvents are both
- /// True, only single instances of deleted events (but not the underlying
- /// recurring events) are returned. Optional. The default is False.
- ///
- /// [updatedMin] - Lower bound for an event's last modification time (as a
- /// RFC3339 timestamp) to filter by. When specified, entries deleted since
- /// this time will always be included regardless of showDeleted. Optional. The
- /// default is not to filter by last modification time.
- ///
- /// [maxResults] - Maximum number of events returned on one result page. The
- /// number of events in the resulting page may be less than this value, or
- /// none at all, even if there are more events matching the query. Incomplete
- /// pages can be detected by a non-empty nextPageToken field in the response.
- /// By default the value is 250 events. The page size can never be larger than
- /// 2500 events. Optional.
- ///
- /// [maxAttendees] - The maximum number of attendees to include in the
- /// response. If there are more than the specified number of attendees, only
- /// the participant is returned. Optional.
- ///
- /// [singleEvents] - Whether to expand recurring events into instances and
- /// only return single one-off events and instances of recurring events, but
- /// not the underlying recurring events themselves. Optional. The default is
- /// False.
+ /// [timeMax] - Upper bound (exclusive) for an event's start time to filter
+ /// by. Optional. The default is not to filter by start time. Must be an
+ /// RFC3339 timestamp with mandatory time zone offset, for example,
+ /// 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be
+ /// provided but are ignored. If timeMin is set, timeMax must be greater than
+ /// timeMin.
///
/// [timeMin] - Lower bound (exclusive) for an event's end time to filter by.
/// Optional. The default is not to filter by end time. Must be an RFC3339
@@ -2751,6 +2743,14 @@
/// provided but are ignored. If timeMax is set, timeMin must be smaller than
/// timeMax.
///
+ /// [timeZone] - Time zone used in the response. Optional. The default is the
+ /// time zone of the calendar.
+ ///
+ /// [updatedMin] - Lower bound for an event's last modification time (as a
+ /// RFC3339 timestamp) to filter by. When specified, entries deleted since
+ /// this time will always be included regardless of showDeleted. Optional. The
+ /// default is not to filter by last modification time.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2764,23 +2764,23 @@
async.Future<Channel> watch(
Channel request,
core.String calendarId, {
- core.String q,
- core.DateTime timeMax,
- core.String pageToken,
core.bool alwaysIncludeEmail,
- core.List<core.String> sharedExtendedProperty,
core.String iCalUID,
- core.bool showHiddenInvitations,
- core.String timeZone,
- core.String orderBy,
- core.String syncToken,
- core.List<core.String> privateExtendedProperty,
- core.bool showDeleted,
- core.DateTime updatedMin,
- core.int maxResults,
core.int maxAttendees,
+ core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
+ core.List<core.String> privateExtendedProperty,
+ core.String q,
+ core.List<core.String> sharedExtendedProperty,
+ core.bool showDeleted,
+ core.bool showHiddenInvitations,
core.bool singleEvents,
+ core.String syncToken,
+ core.DateTime timeMax,
core.DateTime timeMin,
+ core.String timeZone,
+ core.DateTime updatedMin,
core.String $fields,
}) {
core.String _url;
@@ -2796,57 +2796,57 @@
if (calendarId == null) {
throw core.ArgumentError('Parameter calendarId is required.');
}
- if (q != null) {
- _queryParams['q'] = [q];
- }
- if (timeMax != null) {
- _queryParams['timeMax'] = [(timeMax).toIso8601String()];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (alwaysIncludeEmail != null) {
_queryParams['alwaysIncludeEmail'] = ['${alwaysIncludeEmail}'];
}
- if (sharedExtendedProperty != null) {
- _queryParams['sharedExtendedProperty'] = sharedExtendedProperty;
- }
if (iCalUID != null) {
_queryParams['iCalUID'] = [iCalUID];
}
- if (showHiddenInvitations != null) {
- _queryParams['showHiddenInvitations'] = ['${showHiddenInvitations}'];
- }
- if (timeZone != null) {
- _queryParams['timeZone'] = [timeZone];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (syncToken != null) {
- _queryParams['syncToken'] = [syncToken];
- }
- if (privateExtendedProperty != null) {
- _queryParams['privateExtendedProperty'] = privateExtendedProperty;
- }
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
- }
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [(updatedMin).toIso8601String()];
+ if (maxAttendees != null) {
+ _queryParams['maxAttendees'] = ['${maxAttendees}'];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (maxAttendees != null) {
- _queryParams['maxAttendees'] = ['${maxAttendees}'];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (privateExtendedProperty != null) {
+ _queryParams['privateExtendedProperty'] = privateExtendedProperty;
+ }
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
+ if (sharedExtendedProperty != null) {
+ _queryParams['sharedExtendedProperty'] = sharedExtendedProperty;
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
+ if (showHiddenInvitations != null) {
+ _queryParams['showHiddenInvitations'] = ['${showHiddenInvitations}'];
}
if (singleEvents != null) {
_queryParams['singleEvents'] = ['${singleEvents}'];
}
+ if (syncToken != null) {
+ _queryParams['syncToken'] = [syncToken];
+ }
+ if (timeMax != null) {
+ _queryParams['timeMax'] = [(timeMax).toIso8601String()];
+ }
if (timeMin != null) {
_queryParams['timeMin'] = [(timeMin).toIso8601String()];
}
+ if (timeZone != null) {
+ _queryParams['timeZone'] = [timeZone];
+ }
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [(updatedMin).toIso8601String()];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2979,12 +2979,12 @@
///
/// Request parameters:
///
- /// [pageToken] - Token specifying which result page to return. Optional.
- ///
/// [maxResults] - Maximum number of entries returned on one result page. By
/// default the value is 100 entries. The page size can never be larger than
/// 250 entries. Optional.
///
+ /// [pageToken] - Token specifying which result page to return. Optional.
+ ///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
/// last page of results from the previous list request. It makes the result
/// of this list request contain only entries that have changed since then.
@@ -3005,8 +3005,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Settings> list({
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String syncToken,
core.String $fields,
}) {
@@ -3017,12 +3017,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
}
@@ -3050,6 +3050,10 @@
///
/// Request parameters:
///
+ /// [maxResults] - Maximum number of entries returned on one result page. By
+ /// default the value is 100 entries. The page size can never be larger than
+ /// 250 entries. Optional.
+ ///
/// [pageToken] - Token specifying which result page to return. Optional.
///
/// [syncToken] - Token obtained from the nextSyncToken field returned on the
@@ -3061,10 +3065,6 @@
/// Learn more about incremental synchronization.
/// Optional. The default is to return all entries.
///
- /// [maxResults] - Maximum number of entries returned on one result page. By
- /// default the value is 100 entries. The page size can never be larger than
- /// 250 entries. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3077,9 +3077,9 @@
/// this method will complete with the same error.
async.Future<Channel> watch(
Channel request, {
+ core.int maxResults,
core.String pageToken,
core.String syncToken,
- core.int maxResults,
core.String $fields,
}) {
core.String _url;
@@ -3092,15 +3092,15 @@
if (request != null) {
_body = convert.json.encode(request.toJson());
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/chat/v1.dart b/generated/googleapis/lib/chat/v1.dart
index f242c05..ac0200a 100644
--- a/generated/googleapis/lib/chat/v1.dart
+++ b/generated/googleapis/lib/chat/v1.dart
@@ -306,13 +306,13 @@
/// spaces/AAAAMpdlehY
/// Value must have pattern "^spaces/[^/]+$".
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return.
- ///
/// [pageSize] - Requested page size. The value is capped at 1000. Server may
/// return fewer results than requested. If unspecified, server will default
/// to 100.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -325,8 +325,8 @@
/// this method will complete with the same error.
async.Future<ListMembershipsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -339,12 +339,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/civicinfo/v2.dart b/generated/googleapis/lib/civicinfo/v2.dart
index 86497eb..d8e4f04 100644
--- a/generated/googleapis/lib/civicinfo/v2.dart
+++ b/generated/googleapis/lib/civicinfo/v2.dart
@@ -157,14 +157,6 @@
///
/// [address] - The registered address of the voter to look up.
///
- /// [returnAllAvailableData] - If set to true, the query will return the
- /// success code and include any partial information when it is unable to
- /// determine a matching address or unable to determine the election for
- /// electionId=0 queries.
- ///
- /// [officialOnly] - If set to true, only data from official state sources
- /// will be returned.
- ///
/// [electionId] - The unique ID of the election to look up. A list of
/// election IDs can be obtained at
/// https://www.googleapis.com/civicinfo/{version}/elections. If no election
@@ -172,6 +164,14 @@
/// for the given voter, the additional elections are provided in the
/// otherElections response field.
///
+ /// [officialOnly] - If set to true, only data from official state sources
+ /// will be returned.
+ ///
+ /// [returnAllAvailableData] - If set to true, the query will return the
+ /// success code and include any partial information when it is unable to
+ /// determine a matching address or unable to determine the election for
+ /// electionId=0 queries.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -184,9 +184,9 @@
/// this method will complete with the same error.
async.Future<VoterInfoResponse> voterInfoQuery(
core.String address, {
- core.bool returnAllAvailableData,
- core.bool officialOnly,
core.String electionId,
+ core.bool officialOnly,
+ core.bool returnAllAvailableData,
core.String $fields,
}) {
core.String _url;
@@ -200,14 +200,14 @@
throw core.ArgumentError('Parameter address is required.');
}
_queryParams['address'] = [address];
- if (returnAllAvailableData != null) {
- _queryParams['returnAllAvailableData'] = ['${returnAllAvailableData}'];
+ if (electionId != null) {
+ _queryParams['electionId'] = [electionId];
}
if (officialOnly != null) {
_queryParams['officialOnly'] = ['${officialOnly}'];
}
- if (electionId != null) {
- _queryParams['electionId'] = [electionId];
+ if (returnAllAvailableData != null) {
+ _queryParams['returnAllAvailableData'] = ['${returnAllAvailableData}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -238,21 +238,21 @@
///
/// Request parameters:
///
- /// [levels] - A list of office levels to filter by. Only offices that serve
- /// at least one of these levels will be returned. Divisions that don't
- /// contain a matching office will not be returned.
+ /// [address] - The address to look up. May only be specified if the field
+ /// ocdId is not given in the URL
///
/// [includeOffices] - Whether to return information about offices and
/// officials. If false, only the top-level district information will be
/// returned.
///
+ /// [levels] - A list of office levels to filter by. Only offices that serve
+ /// at least one of these levels will be returned. Divisions that don't
+ /// contain a matching office will not be returned.
+ ///
/// [roles] - A list of office roles to filter by. Only offices fulfilling one
/// of these roles will be returned. Divisions that don't contain a matching
/// office will not be returned.
///
- /// [address] - The address to look up. May only be specified if the field
- /// ocdId is not given in the URL
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -264,10 +264,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<RepresentativeInfoResponse> representativeInfoByAddress({
- core.List<core.String> levels,
- core.bool includeOffices,
- core.List<core.String> roles,
core.String address,
+ core.bool includeOffices,
+ core.List<core.String> levels,
+ core.List<core.String> roles,
core.String $fields,
}) {
core.String _url;
@@ -277,18 +277,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (levels != null) {
- _queryParams['levels'] = levels;
+ if (address != null) {
+ _queryParams['address'] = [address];
}
if (includeOffices != null) {
_queryParams['includeOffices'] = ['${includeOffices}'];
}
+ if (levels != null) {
+ _queryParams['levels'] = levels;
+ }
if (roles != null) {
_queryParams['roles'] = roles;
}
- if (address != null) {
- _queryParams['address'] = [address];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -314,18 +314,18 @@
/// [ocdId] - The Open Civic Data division identifier of the division to look
/// up.
///
- /// [roles] - A list of office roles to filter by. Only offices fulfilling one
- /// of these roles will be returned. Divisions that don't contain a matching
- /// office will not be returned.
+ /// [levels] - A list of office levels to filter by. Only offices that serve
+ /// at least one of these levels will be returned. Divisions that don't
+ /// contain a matching office will not be returned.
///
/// [recursive] - If true, information about all divisions contained in the
/// division requested will be included as well. For example, if querying
/// ocd-division/country:us/district:dc, this would also return all DC's wards
/// and ANCs.
///
- /// [levels] - A list of office levels to filter by. Only offices that serve
- /// at least one of these levels will be returned. Divisions that don't
- /// contain a matching office will not be returned.
+ /// [roles] - A list of office roles to filter by. Only offices fulfilling one
+ /// of these roles will be returned. Divisions that don't contain a matching
+ /// office will not be returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -339,9 +339,9 @@
/// this method will complete with the same error.
async.Future<RepresentativeInfoData> representativeInfoByDivision(
core.String ocdId, {
- core.List<core.String> roles,
- core.bool recursive,
core.List<core.String> levels,
+ core.bool recursive,
+ core.List<core.String> roles,
core.String $fields,
}) {
core.String _url;
@@ -354,14 +354,14 @@
if (ocdId == null) {
throw core.ArgumentError('Parameter ocdId is required.');
}
- if (roles != null) {
- _queryParams['roles'] = roles;
+ if (levels != null) {
+ _queryParams['levels'] = levels;
}
if (recursive != null) {
_queryParams['recursive'] = ['${recursive}'];
}
- if (levels != null) {
- _queryParams['levels'] = levels;
+ if (roles != null) {
+ _queryParams['roles'] = roles;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/classroom/v1.dart b/generated/googleapis/lib/classroom/v1.dart
index 6447d09..38f091c 100644
--- a/generated/googleapis/lib/classroom/v1.dart
+++ b/generated/googleapis/lib/classroom/v1.dart
@@ -325,6 +325,14 @@
///
/// Request parameters:
///
+ /// [courseStates] - Restricts returned courses to those in one of the
+ /// specified states The default value is ACTIVE, ARCHIVED, PROVISIONED,
+ /// DECLINED.
+ ///
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the server may assign a maximum. The server may return
+ /// fewer than the specified number of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
@@ -340,14 +348,6 @@
/// the numeric identifier for the user * the email address of the user * the
/// string literal `"me"`, indicating the requesting user
///
- /// [courseStates] - Restricts returned courses to those in one of the
- /// specified states The default value is ACTIVE, ARCHIVED, PROVISIONED,
- /// DECLINED.
- ///
- /// [pageSize] - Maximum number of items to return. Zero or unspecified
- /// indicates that the server may assign a maximum. The server may return
- /// fewer than the specified number of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -359,11 +359,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListCoursesResponse> list({
+ core.List<core.String> courseStates,
+ core.int pageSize,
core.String pageToken,
core.String studentId,
core.String teacherId,
- core.List<core.String> courseStates,
- core.int pageSize,
core.String $fields,
}) {
core.String _url;
@@ -373,6 +373,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (courseStates != null) {
+ _queryParams['courseStates'] = courseStates;
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -382,12 +388,6 @@
if (teacherId != null) {
_queryParams['teacherId'] = [teacherId];
}
- if (courseStates != null) {
- _queryParams['courseStates'] = courseStates;
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -953,24 +953,24 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [announcementStates] - Restriction on the `state` of announcements
+ /// returned. If this argument is left unspecified, the default value is
+ /// `PUBLISHED`.
+ ///
/// [orderBy] - Optional sort ordering for results. A comma-separated list of
/// fields with an optional sort direction keyword. Supported field is
/// `updateTime`. Supported direction keywords are `asc` and `desc`. If not
/// specified, `updateTime desc` is the default behavior. Examples:
/// `updateTime asc`, `updateTime`
///
- /// [pageToken] - nextPageToken value returned from a previous list call,
- /// indicating that the subsequent page of results should be returned. The
- /// list request must be otherwise identical to the one that resulted in this
- /// token.
- ///
/// [pageSize] - Maximum number of items to return. Zero or unspecified
/// indicates that the server may assign a maximum. The server may return
/// fewer than the specified number of results.
///
- /// [announcementStates] - Restriction on the `state` of announcements
- /// returned. If this argument is left unspecified, the default value is
- /// `PUBLISHED`.
+ /// [pageToken] - nextPageToken value returned from a previous list call,
+ /// indicating that the subsequent page of results should be returned. The
+ /// list request must be otherwise identical to the one that resulted in this
+ /// token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -984,10 +984,10 @@
/// this method will complete with the same error.
async.Future<ListAnnouncementsResponse> list(
core.String courseId, {
- core.String orderBy,
- core.String pageToken,
- core.int pageSize,
core.List<core.String> announcementStates,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1000,17 +1000,17 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
+ if (announcementStates != null) {
+ _queryParams['announcementStates'] = announcementStates;
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (announcementStates != null) {
- _queryParams['announcementStates'] = announcementStates;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1406,24 +1406,24 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [courseWorkStates] - Restriction on the work status to return. Only
+ /// courseWork that matches is returned. If unspecified, items with a work
+ /// status of `PUBLISHED` is returned.
+ ///
/// [orderBy] - Optional sort ordering for results. A comma-separated list of
/// fields with an optional sort direction keyword. Supported fields are
/// `updateTime` and `dueDate`. Supported direction keywords are `asc` and
/// `desc`. If not specified, `updateTime desc` is the default behavior.
/// Examples: `dueDate asc,updateTime desc`, `updateTime,dueDate desc`
///
- /// [pageToken] - nextPageToken value returned from a previous list call,
- /// indicating that the subsequent page of results should be returned. The
- /// list request must be otherwise identical to the one that resulted in this
- /// token.
- ///
/// [pageSize] - Maximum number of items to return. Zero or unspecified
/// indicates that the server may assign a maximum. The server may return
/// fewer than the specified number of results.
///
- /// [courseWorkStates] - Restriction on the work status to return. Only
- /// courseWork that matches is returned. If unspecified, items with a work
- /// status of `PUBLISHED` is returned.
+ /// [pageToken] - nextPageToken value returned from a previous list call,
+ /// indicating that the subsequent page of results should be returned. The
+ /// list request must be otherwise identical to the one that resulted in this
+ /// token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1437,10 +1437,10 @@
/// this method will complete with the same error.
async.Future<ListCourseWorkResponse> list(
core.String courseId, {
- core.String orderBy,
- core.String pageToken,
- core.int pageSize,
core.List<core.String> courseWorkStates,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1453,17 +1453,17 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
+ if (courseWorkStates != null) {
+ _queryParams['courseWorkStates'] = courseWorkStates;
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (courseWorkStates != null) {
- _queryParams['courseWorkStates'] = courseWorkStates;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1741,19 +1741,6 @@
/// set to the string literal `"-"` to request student work for all course
/// work in the specified course.
///
- /// [pageSize] - Maximum number of items to return. Zero or unspecified
- /// indicates that the server may assign a maximum. The server may return
- /// fewer than the specified number of results.
- ///
- /// [userId] - Optional argument to restrict returned student work to those
- /// owned by the student with the specified identifier. The identifier can be
- /// one of the following: * the numeric identifier for the user * the email
- /// address of the user * the string literal `"me"`, indicating the requesting
- /// user
- ///
- /// [states] - Requested submission states. If specified, returned student
- /// submissions match one of the specified submission states.
- ///
/// [late] - Requested lateness value. If specified, returned student
/// submissions are restricted by the requested value. If unspecified,
/// submissions are returned regardless of `late` value.
@@ -1763,11 +1750,24 @@
/// - "LATE_ONLY" : Return StudentSubmissions where late is true.
/// - "NOT_LATE_ONLY" : Return StudentSubmissions where late is false.
///
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the server may assign a maximum. The server may return
+ /// fewer than the specified number of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
/// token.
///
+ /// [states] - Requested submission states. If specified, returned student
+ /// submissions match one of the specified submission states.
+ ///
+ /// [userId] - Optional argument to restrict returned student work to those
+ /// owned by the student with the specified identifier. The identifier can be
+ /// one of the following: * the numeric identifier for the user * the email
+ /// address of the user * the string literal `"me"`, indicating the requesting
+ /// user
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1781,11 +1781,11 @@
async.Future<ListStudentSubmissionsResponse> list(
core.String courseId,
core.String courseWorkId, {
- core.int pageSize,
- core.String userId,
- core.List<core.String> states,
core.String late,
+ core.int pageSize,
core.String pageToken,
+ core.List<core.String> states,
+ core.String userId,
core.String $fields,
}) {
core.String _url;
@@ -1801,20 +1801,20 @@
if (courseWorkId == null) {
throw core.ArgumentError('Parameter courseWorkId is required.');
}
+ if (late != null) {
+ _queryParams['late'] = [late];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (userId != null) {
- _queryParams['userId'] = [userId];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (states != null) {
_queryParams['states'] = states;
}
- if (late != null) {
- _queryParams['late'] = [late];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (userId != null) {
+ _queryParams['userId'] = [userId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2482,24 +2482,6 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
- /// [pageToken] - nextPageToken value returned from a previous list call,
- /// indicating that the subsequent page of results should be returned. The
- /// list request must be otherwise identical to the one that resulted in this
- /// token.
- ///
- /// [materialLink] - Optional filtering for course work material with at least
- /// one link material whose URL partially matches the provided string.
- ///
- /// [pageSize] - Maximum number of items to return. Zero or unspecified
- /// indicates that the server may assign a maximum. The server may return
- /// fewer than the specified number of results.
- ///
- /// [orderBy] - Optional sort ordering for results. A comma-separated list of
- /// fields with an optional sort direction keyword. Supported field is
- /// `updateTime`. Supported direction keywords are `asc` and `desc`. If not
- /// specified, `updateTime desc` is the default behavior. Examples:
- /// `updateTime asc`, `updateTime`
- ///
/// [courseWorkMaterialStates] - Restriction on the work status to return.
/// Only course work material that matches is returned. If unspecified, items
/// with a work status of `PUBLISHED` is returned.
@@ -2509,6 +2491,24 @@
/// `material_link` is also specified, course work material must have
/// materials matching both filters.
///
+ /// [materialLink] - Optional filtering for course work material with at least
+ /// one link material whose URL partially matches the provided string.
+ ///
+ /// [orderBy] - Optional sort ordering for results. A comma-separated list of
+ /// fields with an optional sort direction keyword. Supported field is
+ /// `updateTime`. Supported direction keywords are `asc` and `desc`. If not
+ /// specified, `updateTime desc` is the default behavior. Examples:
+ /// `updateTime asc`, `updateTime`
+ ///
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the server may assign a maximum. The server may return
+ /// fewer than the specified number of results.
+ ///
+ /// [pageToken] - nextPageToken value returned from a previous list call,
+ /// indicating that the subsequent page of results should be returned. The
+ /// list request must be otherwise identical to the one that resulted in this
+ /// token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2521,12 +2521,12 @@
/// this method will complete with the same error.
async.Future<ListCourseWorkMaterialResponse> list(
core.String courseId, {
- core.String pageToken,
- core.String materialLink,
- core.int pageSize,
- core.String orderBy,
core.List<core.String> courseWorkMaterialStates,
core.String materialDriveId,
+ core.String materialLink,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2539,24 +2539,24 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (materialLink != null) {
- _queryParams['materialLink'] = [materialLink];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (courseWorkMaterialStates != null) {
_queryParams['courseWorkMaterialStates'] = courseWorkMaterialStates;
}
if (materialDriveId != null) {
_queryParams['materialDriveId'] = [materialDriveId];
}
+ if (materialLink != null) {
+ _queryParams['materialLink'] = [materialLink];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2879,15 +2879,15 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [pageSize] - Maximum number of items to return. The default is 30 if
+ /// unspecified or `0`. The server may return fewer than the specified number
+ /// of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
/// token.
///
- /// [pageSize] - Maximum number of items to return. The default is 30 if
- /// unspecified or `0`. The server may return fewer than the specified number
- /// of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2900,8 +2900,8 @@
/// this method will complete with the same error.
async.Future<ListStudentsResponse> list(
core.String courseId, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2914,12 +2914,12 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3150,15 +3150,15 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [pageSize] - Maximum number of items to return. The default is 30 if
+ /// unspecified or `0`. The server may return fewer than the specified number
+ /// of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
/// token.
///
- /// [pageSize] - Maximum number of items to return. The default is 30 if
- /// unspecified or `0`. The server may return fewer than the specified number
- /// of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3171,8 +3171,8 @@
/// this method will complete with the same error.
async.Future<ListTeachersResponse> list(
core.String courseId, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3185,12 +3185,12 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3411,15 +3411,15 @@
/// [courseId] - Identifier of the course. This identifier can be either the
/// Classroom-assigned identifier or an alias.
///
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the server may assign a maximum. The server may return
+ /// fewer than the specified number of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
/// token.
///
- /// [pageSize] - Maximum number of items to return. Zero or unspecified
- /// indicates that the server may assign a maximum. The server may return
- /// fewer than the specified number of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3432,8 +3432,8 @@
/// this method will complete with the same error.
async.Future<ListTopicResponse> list(
core.String courseId, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3446,12 +3446,12 @@
if (courseId == null) {
throw core.ArgumentError('Parameter courseId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3779,6 +3779,13 @@
///
/// Request parameters:
///
+ /// [courseId] - Restricts returned invitations to those for a course with the
+ /// specified identifier.
+ ///
+ /// [pageSize] - Maximum number of items to return. The default is 500 if
+ /// unspecified or `0`. The server may return fewer than the specified number
+ /// of results.
+ ///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
@@ -3789,13 +3796,6 @@
/// the user * the email address of the user * the string literal `"me"`,
/// indicating the requesting user
///
- /// [courseId] - Restricts returned invitations to those for a course with the
- /// specified identifier.
- ///
- /// [pageSize] - Maximum number of items to return. The default is 500 if
- /// unspecified or `0`. The server may return fewer than the specified number
- /// of results.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3807,10 +3807,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListInvitationsResponse> list({
- core.String pageToken,
- core.String userId,
core.String courseId,
core.int pageSize,
+ core.String pageToken,
+ core.String userId,
core.String $fields,
}) {
core.String _url;
@@ -3820,18 +3820,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (userId != null) {
- _queryParams['userId'] = [userId];
- }
if (courseId != null) {
_queryParams['courseId'] = [courseId];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (userId != null) {
+ _queryParams['userId'] = [userId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4218,21 +4218,21 @@
/// indicating that results should be returned for all students that the
/// requesting user is permitted to view guardian invitations.
///
- /// [pageSize] - Maximum number of items to return. Zero or unspecified
- /// indicates that the server may assign a maximum. The server may return
- /// fewer than the specified number of results.
- ///
/// [invitedEmailAddress] - If specified, only results with the specified
/// `invited_email_address` are returned.
///
- /// [states] - If specified, only results with the specified `state` values
- /// are returned. Otherwise, results with a `state` of `PENDING` are returned.
+ /// [pageSize] - Maximum number of items to return. Zero or unspecified
+ /// indicates that the server may assign a maximum. The server may return
+ /// fewer than the specified number of results.
///
/// [pageToken] - nextPageToken value returned from a previous list call,
/// indicating that the subsequent page of results should be returned. The
/// list request must be otherwise identical to the one that resulted in this
/// token.
///
+ /// [states] - If specified, only results with the specified `state` values
+ /// are returned. Otherwise, results with a `state` of `PENDING` are returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4245,10 +4245,10 @@
/// this method will complete with the same error.
async.Future<ListGuardianInvitationsResponse> list(
core.String studentId, {
- core.int pageSize,
core.String invitedEmailAddress,
- core.List<core.String> states,
+ core.int pageSize,
core.String pageToken,
+ core.List<core.String> states,
core.String $fields,
}) {
core.String _url;
@@ -4261,18 +4261,18 @@
if (studentId == null) {
throw core.ArgumentError('Parameter studentId is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (invitedEmailAddress != null) {
_queryParams['invitedEmailAddress'] = [invitedEmailAddress];
}
- if (states != null) {
- _queryParams['states'] = states;
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (states != null) {
+ _queryParams['states'] = states;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudasset/v1.dart b/generated/googleapis/lib/cloudasset/v1.dart
index a1ac60e..4ffe413 100644
--- a/generated/googleapis/lib/cloudasset/v1.dart
+++ b/generated/googleapis/lib/cloudasset/v1.dart
@@ -405,7 +405,12 @@
/// "projects/12345").
/// Value must have pattern "^[^/]+/[^/]+$".
///
- /// [readTimeWindow_startTime] - Start time of the time window (exclusive).
+ /// [assetNames] - A list of the full names of the assets. See:
+ /// https://cloud.google.com/asset-inventory/docs/resource-name-format
+ /// Example:
+ /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ /// The request becomes a no-op if the asset name list is empty, and the max
+ /// size of the asset name list is 100 in one request.
///
/// [contentType] - Optional. The content type.
/// Possible string values are:
@@ -419,12 +424,7 @@
/// [readTimeWindow_endTime] - End time of the time window (inclusive). If not
/// specified, the current timestamp is used instead.
///
- /// [assetNames] - A list of the full names of the assets. See:
- /// https://cloud.google.com/asset-inventory/docs/resource-name-format
- /// Example:
- /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
- /// The request becomes a no-op if the asset name list is empty, and the max
- /// size of the asset name list is 100 in one request.
+ /// [readTimeWindow_startTime] - Start time of the time window (exclusive).
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -438,10 +438,10 @@
/// this method will complete with the same error.
async.Future<BatchGetAssetsHistoryResponse> batchGetAssetsHistory(
core.String parent, {
- core.String readTimeWindow_startTime,
+ core.List<core.String> assetNames,
core.String contentType,
core.String readTimeWindow_endTime,
- core.List<core.String> assetNames,
+ core.String readTimeWindow_startTime,
core.String $fields,
}) {
core.String _url;
@@ -454,8 +454,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (readTimeWindow_startTime != null) {
- _queryParams['readTimeWindow.startTime'] = [readTimeWindow_startTime];
+ if (assetNames != null) {
+ _queryParams['assetNames'] = assetNames;
}
if (contentType != null) {
_queryParams['contentType'] = [contentType];
@@ -463,8 +463,8 @@
if (readTimeWindow_endTime != null) {
_queryParams['readTimeWindow.endTime'] = [readTimeWindow_endTime];
}
- if (assetNames != null) {
- _queryParams['assetNames'] = assetNames;
+ if (readTimeWindow_startTime != null) {
+ _queryParams['readTimeWindow.startTime'] = [readTimeWindow_startTime];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -694,6 +694,12 @@
/// (e.g., `networkTags`), map fields (e.g., `labels`) and struct fields
/// (e.g., `additionalAttributes`) are not supported.
///
+ /// [pageSize] - Optional. The page size for search result pagination. Page
+ /// size is capped at 500 even if a larger value is given. If set to zero,
+ /// server will pick an appropriate default. Returned results may be fewer
+ /// than requested. When this happens, there could be more results as long as
+ /// `next_page_token` is returned.
+ ///
/// [pageToken] - Optional. If present, then retrieve the next batch of
/// results from the preceding call to this method. `page_token` must be the
/// value of `next_page_token` from the previous response. The values of all
@@ -726,12 +732,6 @@
/// searchable fields and are also located in the "us-west1" region or the
/// "global" location.
///
- /// [pageSize] - Optional. The page size for search result pagination. Page
- /// size is capped at 500 even if a larger value is given. If set to zero,
- /// server will pick an appropriate default. Returned results may be fewer
- /// than requested. When this happens, there could be more results as long as
- /// `next_page_token` is returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -746,9 +746,9 @@
core.String scope, {
core.List<core.String> assetTypes,
core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String query,
- core.int pageSize,
core.String $fields,
}) {
core.String _url;
@@ -767,15 +767,15 @@
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (query != null) {
_queryParams['query'] = [query];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudbilling/v1.dart b/generated/googleapis/lib/cloudbilling/v1.dart
index e052ea8..c6f43b1 100644
--- a/generated/googleapis/lib/cloudbilling/v1.dart
+++ b/generated/googleapis/lib/cloudbilling/v1.dart
@@ -249,14 +249,6 @@
///
/// Request parameters:
///
- /// [pageToken] - A token identifying a page of results to return. This should
- /// be a `next_page_token` value returned from a previous
- /// `ListBillingAccounts` call. If unspecified, the first page of results is
- /// returned.
- ///
- /// [pageSize] - Requested page size. The maximum page size is 100; this is
- /// also the default.
- ///
/// [filter] - Options for how to filter the returned billing accounts.
/// Currently this only supports filtering for
/// [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
@@ -264,6 +256,14 @@
/// "master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean
/// algebra and other fields are not currently supported.
///
+ /// [pageSize] - Requested page size. The maximum page size is 100; this is
+ /// also the default.
+ ///
+ /// [pageToken] - A token identifying a page of results to return. This should
+ /// be a `next_page_token` value returned from a previous
+ /// `ListBillingAccounts` call. If unspecified, the first page of results is
+ /// returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -275,9 +275,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListBillingAccountsResponse> list({
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -287,14 +287,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -735,12 +735,12 @@
///
/// Request parameters:
///
+ /// [pageSize] - Requested page size. Defaults to 5000.
+ ///
/// [pageToken] - A token identifying a page of results to return. This should
/// be a `next_page_token` value returned from a previous `ListServices` call.
/// If unspecified, the first page of results is returned.
///
- /// [pageSize] - Requested page size. Defaults to 5000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -752,8 +752,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListServicesResponse> list({
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -763,12 +763,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -805,21 +805,21 @@
/// response proto. Will use the conversion rate as of start_time. Optional.
/// If not specified USD will be used.
///
- /// [pageToken] - A token identifying a page of results to return. This should
- /// be a `next_page_token` value returned from a previous `ListSkus` call. If
- /// unspecified, the first page of results is returned.
- ///
- /// [pageSize] - Requested page size. Defaults to 5000.
- ///
- /// [startTime] - Optional inclusive start time of the time range for which
- /// the pricing versions will be returned. Timestamps in the future are not
+ /// [endTime] - Optional exclusive end time of the time range for which the
+ /// pricing versions will be returned. Timestamps in the future are not
/// allowed. The time range has to be within a single calendar month in
/// America/Los_Angeles timezone. Time range as a whole is optional. If not
/// specified, the latest pricing will be returned (up to 12 hours old at
/// most).
///
- /// [endTime] - Optional exclusive end time of the time range for which the
- /// pricing versions will be returned. Timestamps in the future are not
+ /// [pageSize] - Requested page size. Defaults to 5000.
+ ///
+ /// [pageToken] - A token identifying a page of results to return. This should
+ /// be a `next_page_token` value returned from a previous `ListSkus` call. If
+ /// unspecified, the first page of results is returned.
+ ///
+ /// [startTime] - Optional inclusive start time of the time range for which
+ /// the pricing versions will be returned. Timestamps in the future are not
/// allowed. The time range has to be within a single calendar month in
/// America/Los_Angeles timezone. Time range as a whole is optional. If not
/// specified, the latest pricing will be returned (up to 12 hours old at
@@ -838,10 +838,10 @@
async.Future<ListSkusResponse> list(
core.String parent, {
core.String currencyCode,
- core.String pageToken,
- core.int pageSize,
- core.String startTime,
core.String endTime,
+ core.int pageSize,
+ core.String pageToken,
+ core.String startTime,
core.String $fields,
}) {
core.String _url;
@@ -857,18 +857,18 @@
if (currencyCode != null) {
_queryParams['currencyCode'] = [currencyCode];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (endTime != null) {
+ _queryParams['endTime'] = [endTime];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (startTime != null) {
_queryParams['startTime'] = [startTime];
}
- if (endTime != null) {
- _queryParams['endTime'] = [endTime];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart
index c061a31..b8a2794 100644
--- a/generated/googleapis/lib/cloudbuild/v1.dart
+++ b/generated/googleapis/lib/cloudbuild/v1.dart
@@ -387,14 +387,14 @@
///
/// [projectId] - Required. ID of the project.
///
- /// [parent] - The parent of the collection of `Builds`. Format:
- /// `projects/{project}/locations/location`
- ///
/// [filter] - The raw filter text to constrain the results.
///
+ /// [pageSize] - Number of results to return in the list.
+ ///
/// [pageToken] - Token to provide to skip to a particular spot in the list.
///
- /// [pageSize] - Number of results to return in the list.
+ /// [parent] - The parent of the collection of `Builds`. Format:
+ /// `projects/{project}/locations/location`
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -408,10 +408,10 @@
/// this method will complete with the same error.
async.Future<ListBuildsResponse> list(
core.String projectId, {
- core.String parent,
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String parent,
core.String $fields,
}) {
core.String _url;
@@ -424,17 +424,17 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
- if (parent != null) {
- _queryParams['parent'] = [parent];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (parent != null) {
+ _queryParams['parent'] = [parent];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -748,13 +748,13 @@
/// `projects/{project}/locations/location`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [projectId] - Required. ID of the project.
+ /// [filter] - The raw filter text to constrain the results.
///
/// [pageSize] - Number of results to return in the list.
///
/// [pageToken] - Token to provide to skip to a particular spot in the list.
///
- /// [filter] - The raw filter text to constrain the results.
+ /// [projectId] - Required. ID of the project.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -768,10 +768,10 @@
/// this method will complete with the same error.
async.Future<ListBuildsResponse> list(
core.String parent, {
- core.String projectId,
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
+ core.String projectId,
core.String $fields,
}) {
core.String _url;
@@ -784,8 +784,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (projectId != null) {
- _queryParams['projectId'] = [projectId];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
@@ -793,8 +793,8 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (projectId != null) {
+ _queryParams['projectId'] = [projectId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1194,10 +1194,10 @@
///
/// [projectId] - Required. ID of the project for which to list BuildTriggers.
///
- /// [pageToken] - Token to provide to skip to a particular spot in the list.
- ///
/// [pageSize] - Number of results to return in the list.
///
+ /// [pageToken] - Token to provide to skip to a particular spot in the list.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1210,8 +1210,8 @@
/// this method will complete with the same error.
async.Future<ListBuildTriggersResponse> list(
core.String projectId, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1224,12 +1224,12 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/clouddebugger/v2.dart b/generated/googleapis/lib/clouddebugger/v2.dart
index 25e92f4..ce9fbc1 100644
--- a/generated/googleapis/lib/clouddebugger/v2.dart
+++ b/generated/googleapis/lib/clouddebugger/v2.dart
@@ -313,12 +313,12 @@
/// [clientVersion] - Required. The client version making the call. Schema:
/// `domain/type/version` (e.g., `google.com/intellij/v1`).
///
- /// [project] - Required. Project number of a Google Cloud project whose
- /// debuggees to list.
- ///
/// [includeInactive] - When set to `true`, the result includes all debuggees.
/// Otherwise, the result includes only debuggees that are active.
///
+ /// [project] - Required. Project number of a Google Cloud project whose
+ /// debuggees to list.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -331,8 +331,8 @@
/// this method will complete with the same error.
async.Future<ListDebuggeesResponse> list({
core.String clientVersion,
- core.String project,
core.bool includeInactive,
+ core.String project,
core.String $fields,
}) {
core.String _url;
@@ -345,12 +345,12 @@
if (clientVersion != null) {
_queryParams['clientVersion'] = [clientVersion];
}
- if (project != null) {
- _queryParams['project'] = [project];
- }
if (includeInactive != null) {
_queryParams['includeInactive'] = ['${includeInactive}'];
}
+ if (project != null) {
+ _queryParams['project'] = [project];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -510,15 +510,6 @@
///
/// [debuggeeId] - Required. ID of the debuggee whose breakpoints to list.
///
- /// [clientVersion] - Required. The client version making the call. Schema:
- /// `domain/type/version` (e.g., `google.com/intellij/v1`).
- ///
- /// [waitToken] - A wait token that, if specified, blocks the call until the
- /// breakpoints list has changed, or a server selected timeout has expired.
- /// The value should be set from the last response. The error code
- /// `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should
- /// be called again with the same `wait_token`.
- ///
/// [action_value] - Only breakpoints with the specified action will pass the
/// filter.
/// Possible string values are:
@@ -528,17 +519,26 @@
/// - "LOG" : Log each breakpoint hit. The breakpoint remains active until
/// deleted or expired.
///
- /// [stripResults] - This field is deprecated. The following fields are always
- /// stripped out of the result: `stack_frames`, `evaluated_expressions` and
- /// `variable_table`.
- ///
- /// [includeInactive] - When set to `true`, the response includes active and
- /// inactive breakpoints. Otherwise, it includes only active breakpoints.
+ /// [clientVersion] - Required. The client version making the call. Schema:
+ /// `domain/type/version` (e.g., `google.com/intellij/v1`).
///
/// [includeAllUsers] - When set to `true`, the response includes the list of
/// breakpoints set by any user. Otherwise, it includes only breakpoints set
/// by the caller.
///
+ /// [includeInactive] - When set to `true`, the response includes active and
+ /// inactive breakpoints. Otherwise, it includes only active breakpoints.
+ ///
+ /// [stripResults] - This field is deprecated. The following fields are always
+ /// stripped out of the result: `stack_frames`, `evaluated_expressions` and
+ /// `variable_table`.
+ ///
+ /// [waitToken] - A wait token that, if specified, blocks the call until the
+ /// breakpoints list has changed, or a server selected timeout has expired.
+ /// The value should be set from the last response. The error code
+ /// `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which should
+ /// be called again with the same `wait_token`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -551,12 +551,12 @@
/// this method will complete with the same error.
async.Future<ListBreakpointsResponse> list(
core.String debuggeeId, {
- core.String clientVersion,
- core.String waitToken,
core.String action_value,
- core.bool stripResults,
- core.bool includeInactive,
+ core.String clientVersion,
core.bool includeAllUsers,
+ core.bool includeInactive,
+ core.bool stripResults,
+ core.String waitToken,
core.String $fields,
}) {
core.String _url;
@@ -569,23 +569,23 @@
if (debuggeeId == null) {
throw core.ArgumentError('Parameter debuggeeId is required.');
}
- if (clientVersion != null) {
- _queryParams['clientVersion'] = [clientVersion];
- }
- if (waitToken != null) {
- _queryParams['waitToken'] = [waitToken];
- }
if (action_value != null) {
_queryParams['action.value'] = [action_value];
}
- if (stripResults != null) {
- _queryParams['stripResults'] = ['${stripResults}'];
+ if (clientVersion != null) {
+ _queryParams['clientVersion'] = [clientVersion];
+ }
+ if (includeAllUsers != null) {
+ _queryParams['includeAllUsers'] = ['${includeAllUsers}'];
}
if (includeInactive != null) {
_queryParams['includeInactive'] = ['${includeInactive}'];
}
- if (includeAllUsers != null) {
- _queryParams['includeAllUsers'] = ['${includeAllUsers}'];
+ if (stripResults != null) {
+ _queryParams['stripResults'] = ['${stripResults}'];
+ }
+ if (waitToken != null) {
+ _queryParams['waitToken'] = [waitToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -616,9 +616,6 @@
/// [debuggeeId] - Required. ID of the debuggee where the breakpoint is to be
/// set.
///
- /// [clientVersion] - Required. The client version making the call. Schema:
- /// `domain/type/version` (e.g., `google.com/intellij/v1`).
- ///
/// [canaryOption] - The canary option set by the user upon setting
/// breakpoint.
/// Possible string values are:
@@ -631,6 +628,9 @@
/// the canary_mode of the debuggee is not CANARY_MODE_ALWAYS_ENABLED or
/// CANARY_MODE_ALWAYS_DISABLED.
///
+ /// [clientVersion] - Required. The client version making the call. Schema:
+ /// `domain/type/version` (e.g., `google.com/intellij/v1`).
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -644,8 +644,8 @@
async.Future<SetBreakpointResponse> set(
Breakpoint request,
core.String debuggeeId, {
- core.String clientVersion,
core.String canaryOption,
+ core.String clientVersion,
core.String $fields,
}) {
core.String _url;
@@ -661,12 +661,12 @@
if (debuggeeId == null) {
throw core.ArgumentError('Parameter debuggeeId is required.');
}
- if (clientVersion != null) {
- _queryParams['clientVersion'] = [clientVersion];
- }
if (canaryOption != null) {
_queryParams['canaryOption'] = [canaryOption];
}
+ if (clientVersion != null) {
+ _queryParams['clientVersion'] = [clientVersion];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudfunctions/v1.dart b/generated/googleapis/lib/cloudfunctions/v1.dart
index e8b2d75..e9ef199 100644
--- a/generated/googleapis/lib/cloudfunctions/v1.dart
+++ b/generated/googleapis/lib/cloudfunctions/v1.dart
@@ -115,22 +115,22 @@
///
/// Request parameters:
///
- /// [pageSize] - The maximum number of records that should be returned.
- /// Requested page size cannot exceed 100. If not set, the default page size
- /// is 100. Pagination is only supported when querying for a specific
- /// function.
- ///
/// [filter] - Required. A filter for matching the requested operations. The
/// supported formats of *filter* are: To query for a specific function:
/// project:*,location:*,function:* To query for all of the latest operations
/// for a project: project:*,latest:true
///
+ /// [name] - Must not be set.
+ ///
+ /// [pageSize] - The maximum number of records that should be returned.
+ /// Requested page size cannot exceed 100. If not set, the default page size
+ /// is 100. Pagination is only supported when querying for a specific
+ /// function.
+ ///
/// [pageToken] - Token identifying which result to start with, which is
/// returned by a previous list call. Pagination is only supported when
/// querying for a specific function.
///
- /// [name] - Must not be set.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -142,10 +142,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list({
- core.int pageSize,
core.String filter,
- core.String pageToken,
core.String name,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -155,18 +155,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (name != null) {
_queryParams['name'] = [name];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -211,12 +211,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -229,9 +229,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -244,15 +244,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudidentity/v1.dart b/generated/googleapis/lib/cloudidentity/v1.dart
index de08a1f..d283131 100644
--- a/generated/googleapis/lib/cloudidentity/v1.dart
+++ b/generated/googleapis/lib/cloudidentity/v1.dart
@@ -326,9 +326,13 @@
///
/// Request parameters:
///
- /// [pageSize] - Optional. The maximum number of Devices to return. If
- /// unspecified, at most 20 Devices will be returned. The maximum value is
- /// 100; values above 100 will be coerced to 100.
+ /// [customer] - Required. [Resource
+ /// name](https://cloud.google.com/apis/design/resource_names) of the customer
+ /// in the format: `customers/{customer_id}`, where customer_id is the
+ /// customer to whom the device belongs. If you're using this API for your own
+ /// organization, use `customers/my_customer`. If you're using this API to
+ /// manage another organization, use `customers/{customer_id}`, where
+ /// customer_id is the customer to whom the device belongs.
///
/// [filter] - Optional. Additional restrictions when fetching list of
/// devices. [Help Center article
@@ -340,13 +344,9 @@
/// `serial_number`. `desc` may be specified optionally at the end to specify
/// results to be sorted in descending order. Default order is ascending.
///
- /// [customer] - Required. [Resource
- /// name](https://cloud.google.com/apis/design/resource_names) of the customer
- /// in the format: `customers/{customer_id}`, where customer_id is the
- /// customer to whom the device belongs. If you're using this API for your own
- /// organization, use `customers/my_customer`. If you're using this API to
- /// manage another organization, use `customers/{customer_id}`, where
- /// customer_id is the customer to whom the device belongs.
+ /// [pageSize] - Optional. The maximum number of Devices to return. If
+ /// unspecified, at most 20 Devices will be returned. The maximum value is
+ /// 100; values above 100 will be coerced to 100.
///
/// [pageToken] - Optional. A page token, received from a previous
/// `ListDevices` call. Provide this to retrieve the subsequent page. When
@@ -375,10 +375,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GoogleAppsCloudidentityDevicesV1ListDevicesResponse> list({
- core.int pageSize,
+ core.String customer,
core.String filter,
core.String orderBy,
- core.String customer,
+ core.int pageSize,
core.String pageToken,
core.String view,
core.String $fields,
@@ -390,8 +390,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (customer != null) {
+ _queryParams['customer'] = [customer];
}
if (filter != null) {
_queryParams['filter'] = [filter];
@@ -399,8 +399,8 @@
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (customer != null) {
- _queryParams['customer'] = [customer];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -815,17 +815,6 @@
/// the device. Format: devices/{device}
/// Value must have pattern "^devices/[^/]+$".
///
- /// [pageToken] - Optional. A page token, received from a previous
- /// `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When
- /// paginating, all other parameters provided to `ListBooks` must match the
- /// call that provided the page token.
- ///
- /// [pageSize] - Optional. The maximum number of DeviceUsers to return. If
- /// unspecified, at most 5 DeviceUsers will be returned. The maximum value is
- /// 20; values above 20 will be coerced to 20.
- ///
- /// [orderBy] - Optional. Order specification for devices in the response.
- ///
/// [customer] - Required. [Resource
/// name](https://cloud.google.com/apis/design/resource_names) of the
/// customer. If you're using this API for your own organization, use
@@ -836,6 +825,17 @@
/// [filter] - Optional. Additional restrictions when fetching list of
/// devices. [HC article](https://support.google.com/a/answer/7549103)
///
+ /// [orderBy] - Optional. Order specification for devices in the response.
+ ///
+ /// [pageSize] - Optional. The maximum number of DeviceUsers to return. If
+ /// unspecified, at most 5 DeviceUsers will be returned. The maximum value is
+ /// 20; values above 20 will be coerced to 20.
+ ///
+ /// [pageToken] - Optional. A page token, received from a previous
+ /// `ListDeviceUsers` call. Provide this to retrieve the subsequent page. When
+ /// paginating, all other parameters provided to `ListBooks` must match the
+ /// call that provided the page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -849,11 +849,11 @@
/// this method will complete with the same error.
async.Future<GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
- core.String orderBy,
core.String customer,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -866,21 +866,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (customer != null) {
_queryParams['customer'] = [customer];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -920,6 +920,18 @@
/// DeviceUser belonging to the user.
/// Value must have pattern "^devices/[^/]+/deviceUsers$".
///
+ /// [androidId] - Android Id returned by
+ /// [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).
+ ///
+ /// [pageSize] - The maximum number of DeviceUsers to return. If unspecified,
+ /// at most 20 DeviceUsers will be returned. The maximum value is 20; values
+ /// above 20 will be coerced to 20.
+ ///
+ /// [pageToken] - A page token, received from a previous `LookupDeviceUsers`
+ /// call. Provide this to retrieve the subsequent page. When paginating, all
+ /// other parameters provided to `LookupDeviceUsers` must match the call that
+ /// provided the page token.
+ ///
/// [rawResourceId] - Raw Resource Id used by Google Endpoint Verification. If
/// the user is enrolled into Google Endpoint Verification, this id will be
/// saved as the 'device_resource_id' field in the following platform
@@ -931,18 +943,6 @@
/// be set to 'me' to fetch the DeviceUser's resource name for the calling
/// user.
///
- /// [pageToken] - A page token, received from a previous `LookupDeviceUsers`
- /// call. Provide this to retrieve the subsequent page. When paginating, all
- /// other parameters provided to `LookupDeviceUsers` must match the call that
- /// provided the page token.
- ///
- /// [androidId] - Android Id returned by
- /// [Settings.Secure#ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID).
- ///
- /// [pageSize] - The maximum number of DeviceUsers to return. If unspecified,
- /// at most 20 DeviceUsers will be returned. The maximum value is 20; values
- /// above 20 will be coerced to 20.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -957,11 +957,11 @@
async.Future<GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse>
lookup(
core.String parent, {
- core.String rawResourceId,
- core.String userId,
- core.String pageToken,
core.String androidId,
core.int pageSize,
+ core.String pageToken,
+ core.String rawResourceId,
+ core.String userId,
core.String $fields,
}) {
core.String _url;
@@ -974,21 +974,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (rawResourceId != null) {
- _queryParams['rawResourceId'] = [rawResourceId];
- }
- if (userId != null) {
- _queryParams['userId'] = [userId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (androidId != null) {
_queryParams['androidId'] = [androidId];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (rawResourceId != null) {
+ _queryParams['rawResourceId'] = [rawResourceId];
+ }
+ if (userId != null) {
+ _queryParams['userId'] = [userId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1159,17 +1159,6 @@
/// devices/{device}/deviceUsers/{deviceUser}
/// Value must have pattern "^devices/[^/]+/deviceUsers/[^/]+$".
///
- /// [orderBy] - Optional. Order specification for client states in the
- /// response.
- ///
- /// [filter] - Optional. Additional restrictions when fetching list of client
- /// states.
- ///
- /// [pageToken] - Optional. A page token, received from a previous
- /// `ListClientStates` call. Provide this to retrieve the subsequent page.
- /// When paginating, all other parameters provided to `ListClientStates` must
- /// match the call that provided the page token.
- ///
/// [customer] - Required. [Resource
/// name](https://cloud.google.com/apis/design/resource_names) of the
/// customer. If you're using this API for your own organization, use
@@ -1177,6 +1166,17 @@
/// organization, use `customers/{customer_id}`, where customer_id is the
/// customer to whom the device belongs.
///
+ /// [filter] - Optional. Additional restrictions when fetching list of client
+ /// states.
+ ///
+ /// [orderBy] - Optional. Order specification for client states in the
+ /// response.
+ ///
+ /// [pageToken] - Optional. A page token, received from a previous
+ /// `ListClientStates` call. Provide this to retrieve the subsequent page.
+ /// When paginating, all other parameters provided to `ListClientStates` must
+ /// match the call that provided the page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1190,10 +1190,10 @@
/// this method will complete with the same error.
async.Future<GoogleAppsCloudidentityDevicesV1ListClientStatesResponse> list(
core.String parent, {
- core.String orderBy,
- core.String filter,
- core.String pageToken,
core.String customer,
+ core.String filter,
+ core.String orderBy,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1206,18 +1206,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (customer != null) {
+ _queryParams['customer'] = [customer];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (customer != null) {
- _queryParams['customer'] = [customer];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1265,10 +1265,6 @@
/// Value must have pattern
/// "^devices/[^/]+/deviceUsers/[^/]+/clientStates/[^/]+$".
///
- /// [updateMask] - Optional. Comma-separated list of fully qualified names of
- /// fields to be updated. If not specified, all updatable fields in
- /// ClientState are updated.
- ///
/// [customer] - Required. [Resource
/// name](https://cloud.google.com/apis/design/resource_names) of the
/// customer. If you're using this API for your own organization, use
@@ -1276,6 +1272,10 @@
/// organization, use `customers/{customer_id}`, where customer_id is the
/// customer to whom the device belongs.
///
+ /// [updateMask] - Optional. Comma-separated list of fully qualified names of
+ /// fields to be updated. If not specified, all updatable fields in
+ /// ClientState are updated.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1289,8 +1289,8 @@
async.Future<Operation> patch(
GoogleAppsCloudidentityDevicesV1ClientState request,
core.String name, {
- core.String updateMask,
core.String customer,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -1306,12 +1306,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (customer != null) {
_queryParams['customer'] = [customer];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1511,17 +1511,17 @@
/// [pageSize] - The default page size is 200 (max 1000) for the BASIC view,
/// and 50 (max 500) for the FULL view.
///
+ /// [pageToken] - The next_page_token value returned from a previous list
+ /// request, if any.
+ ///
+ /// [parent] - Required. Customer ID to list all groups from.
+ ///
/// [view] - Group resource view to be returned. Defaults to [View.BASIC]().
/// Possible string values are:
/// - "VIEW_UNSPECIFIED" : Default. Should not be used.
/// - "BASIC" : Server responses only include basic information.
/// - "FULL" : Full representation of the resource.
///
- /// [parent] - Required. Customer ID to list all groups from.
- ///
- /// [pageToken] - The next_page_token value returned from a previous list
- /// request, if any.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1534,9 +1534,9 @@
/// this method will complete with the same error.
async.Future<ListGroupsResponse> list({
core.int pageSize,
- core.String view,
- core.String parent,
core.String pageToken,
+ core.String parent,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1549,14 +1549,14 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (parent != null) {
_queryParams['parent'] = [parent];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1582,15 +1582,15 @@
///
/// Request parameters:
///
+ /// [groupKey_id] - The ID of the entity within the given namespace. The ID
+ /// must be unique within its namespace.
+ ///
/// [groupKey_namespace] - Namespaces provide isolation for IDs, so an ID only
/// needs to be unique within its namespace. Namespaces are currently only
/// created as part of IdentitySource creation from Admin Console. A namespace
/// `"identitysources/{identity_source_id}"` is created corresponding to every
/// Identity Source `identity_source_id`.
///
- /// [groupKey_id] - The ID of the entity within the given namespace. The ID
- /// must be unique within its namespace.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1602,8 +1602,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<LookupGroupNameResponse> lookup({
- core.String groupKey_namespace,
core.String groupKey_id,
+ core.String groupKey_namespace,
core.String $fields,
}) {
core.String _url;
@@ -1613,12 +1613,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (groupKey_namespace != null) {
- _queryParams['groupKey.namespace'] = [groupKey_namespace];
- }
if (groupKey_id != null) {
_queryParams['groupKey.id'] = [groupKey_id];
}
+ if (groupKey_namespace != null) {
+ _queryParams['groupKey.namespace'] = [groupKey_namespace];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1705,22 +1705,22 @@
///
/// Request parameters:
///
- /// [view] - Group resource view to be returned. Defaults to [View.BASIC]().
- /// Possible string values are:
- /// - "VIEW_UNSPECIFIED" : Default. Should not be used.
- /// - "BASIC" : Server responses only include basic information.
- /// - "FULL" : Full representation of the resource.
+ /// [pageSize] - The default page size is 200 (max 1000) for the BASIC view,
+ /// and 50 (max 500) for the FULL view.
+ ///
+ /// [pageToken] - The next_page_token value returned from a previous search
+ /// request, if any.
///
/// [query] - Required. `Required`. Query string for performing search on
/// groups. Users can search on parent and label attributes of groups. EXACT
/// match ('==') is supported on parent, and CONTAINS match ('in') is
/// supported on labels.
///
- /// [pageToken] - The next_page_token value returned from a previous search
- /// request, if any.
- ///
- /// [pageSize] - The default page size is 200 (max 1000) for the BASIC view,
- /// and 50 (max 500) for the FULL view.
+ /// [view] - Group resource view to be returned. Defaults to [View.BASIC]().
+ /// Possible string values are:
+ /// - "VIEW_UNSPECIFIED" : Default. Should not be used.
+ /// - "BASIC" : Server responses only include basic information.
+ /// - "FULL" : Full representation of the resource.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1733,10 +1733,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<SearchGroupsResponse> search({
- core.String view,
- core.String query,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String query,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1746,17 +1746,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (view != null) {
- _queryParams['view'] = [view];
- }
- if (query != null) {
- _queryParams['query'] = [query];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1964,15 +1964,15 @@
/// [pageSize] - The default page size is 200 (max 1000) for the BASIC view,
/// and 50 (max 500) for the FULL view.
///
+ /// [pageToken] - The next_page_token value returned from a previous list
+ /// request, if any.
+ ///
/// [view] - Membership resource view to be returned. Defaults to View.BASIC.
/// Possible string values are:
/// - "VIEW_UNSPECIFIED" : Default. Should not be used.
/// - "BASIC" : Server responses only include basic information.
/// - "FULL" : Full representation of the resource.
///
- /// [pageToken] - The next_page_token value returned from a previous list
- /// request, if any.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1986,8 +1986,8 @@
async.Future<ListMembershipsResponse> list(
core.String parent, {
core.int pageSize,
- core.String view,
core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2003,12 +2003,12 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudiot/v1.dart b/generated/googleapis/lib/cloudiot/v1.dart
index 39e5237..412cadc 100644
--- a/generated/googleapis/lib/cloudiot/v1.dart
+++ b/generated/googleapis/lib/cloudiot/v1.dart
@@ -877,15 +877,11 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/registries/[^/]+$".
///
- /// [gatewayListOptions_gatewayType] - If `GATEWAY` is specified, only
- /// gateways are returned. If `NON_GATEWAY` is specified, only non-gateway
- /// devices are returned. If `GATEWAY_TYPE_UNSPECIFIED` is specified, all
- /// devices are returned.
- /// Possible string values are:
- /// - "GATEWAY_TYPE_UNSPECIFIED" : If unspecified, the device is considered a
- /// non-gateway device.
- /// - "GATEWAY" : The device is a gateway.
- /// - "NON_GATEWAY" : The device is not a gateway.
+ /// [deviceIds] - A list of device string IDs. For example, `['device0',
+ /// 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
+ ///
+ /// [deviceNumIds] - A list of device numeric IDs. If empty, this field is
+ /// ignored. Maximum IDs: 10,000.
///
/// [fieldMask] - The fields of the `Device` resource to be returned in the
/// response. The fields `id` and `num_id` are always returned, along with any
@@ -903,21 +899,25 @@
/// `123` is specified, only devices bound to the gateway with `num_id` 123
/// are returned.
///
+ /// [gatewayListOptions_gatewayType] - If `GATEWAY` is specified, only
+ /// gateways are returned. If `NON_GATEWAY` is specified, only non-gateway
+ /// devices are returned. If `GATEWAY_TYPE_UNSPECIFIED` is specified, all
+ /// devices are returned.
+ /// Possible string values are:
+ /// - "GATEWAY_TYPE_UNSPECIFIED" : If unspecified, the device is considered a
+ /// non-gateway device.
+ /// - "GATEWAY" : The device is a gateway.
+ /// - "NON_GATEWAY" : The device is not a gateway.
+ ///
/// [pageSize] - The maximum number of devices to return in the response. If
/// this value is zero, the service will select a default size. A call may
/// return fewer objects than requested. A non-empty `next_page_token` in the
/// response indicates that more data is available.
///
- /// [deviceNumIds] - A list of device numeric IDs. If empty, this field is
- /// ignored. Maximum IDs: 10,000.
- ///
/// [pageToken] - The value returned by the last `ListDevicesResponse`;
/// indicates that this is a continuation of a prior `ListDevices` call and
/// the system should return the next page of data.
///
- /// [deviceIds] - A list of device string IDs. For example, `['device0',
- /// 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -930,14 +930,14 @@
/// this method will complete with the same error.
async.Future<ListDevicesResponse> list(
core.String parent, {
- core.String gatewayListOptions_gatewayType,
+ core.List<core.String> deviceIds,
+ core.List<core.String> deviceNumIds,
core.String fieldMask,
core.String gatewayListOptions_associationsDeviceId,
core.String gatewayListOptions_associationsGatewayId,
+ core.String gatewayListOptions_gatewayType,
core.int pageSize,
- core.List<core.String> deviceNumIds,
core.String pageToken,
- core.List<core.String> deviceIds,
core.String $fields,
}) {
core.String _url;
@@ -950,10 +950,11 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (gatewayListOptions_gatewayType != null) {
- _queryParams['gatewayListOptions.gatewayType'] = [
- gatewayListOptions_gatewayType
- ];
+ if (deviceIds != null) {
+ _queryParams['deviceIds'] = deviceIds;
+ }
+ if (deviceNumIds != null) {
+ _queryParams['deviceNumIds'] = deviceNumIds;
}
if (fieldMask != null) {
_queryParams['fieldMask'] = [fieldMask];
@@ -968,18 +969,17 @@
gatewayListOptions_associationsGatewayId
];
}
+ if (gatewayListOptions_gatewayType != null) {
+ _queryParams['gatewayListOptions.gatewayType'] = [
+ gatewayListOptions_gatewayType
+ ];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (deviceNumIds != null) {
- _queryParams['deviceNumIds'] = deviceNumIds;
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (deviceIds != null) {
- _queryParams['deviceIds'] = deviceIds;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1558,6 +1558,22 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/registries/[^/]+/groups/[^/]+$".
///
+ /// [deviceIds] - A list of device string IDs. For example, `['device0',
+ /// 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
+ ///
+ /// [deviceNumIds] - A list of device numeric IDs. If empty, this field is
+ /// ignored. Maximum IDs: 10,000.
+ ///
+ /// [fieldMask] - The fields of the `Device` resource to be returned in the
+ /// response. The fields `id` and `num_id` are always returned, along with any
+ /// other fields specified.
+ ///
+ /// [gatewayListOptions_associationsDeviceId] - If set, returns only the
+ /// gateways with which the specified device is associated. The device ID can
+ /// be numeric (`num_id`) or the user-defined string (`id`). For example, if
+ /// `456` is specified, returns only the gateways to which the device with
+ /// `num_id` 456 is bound.
+ ///
/// [gatewayListOptions_associationsGatewayId] - If set, only devices
/// associated with the specified gateway are returned. The gateway ID can be
/// numeric (`num_id`) or the user-defined string (`id`). For example, if
@@ -1574,18 +1590,6 @@
/// - "GATEWAY" : The device is a gateway.
/// - "NON_GATEWAY" : The device is not a gateway.
///
- /// [deviceIds] - A list of device string IDs. For example, `['device0',
- /// 'device12']`. If empty, this field is ignored. Maximum IDs: 10,000
- ///
- /// [gatewayListOptions_associationsDeviceId] - If set, returns only the
- /// gateways with which the specified device is associated. The device ID can
- /// be numeric (`num_id`) or the user-defined string (`id`). For example, if
- /// `456` is specified, returns only the gateways to which the device with
- /// `num_id` 456 is bound.
- ///
- /// [deviceNumIds] - A list of device numeric IDs. If empty, this field is
- /// ignored. Maximum IDs: 10,000.
- ///
/// [pageSize] - The maximum number of devices to return in the response. If
/// this value is zero, the service will select a default size. A call may
/// return fewer objects than requested. A non-empty `next_page_token` in the
@@ -1595,10 +1599,6 @@
/// indicates that this is a continuation of a prior `ListDevices` call and
/// the system should return the next page of data.
///
- /// [fieldMask] - The fields of the `Device` resource to be returned in the
- /// response. The fields `id` and `num_id` are always returned, along with any
- /// other fields specified.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1611,14 +1611,14 @@
/// this method will complete with the same error.
async.Future<ListDevicesResponse> list(
core.String parent, {
+ core.List<core.String> deviceIds,
+ core.List<core.String> deviceNumIds,
+ core.String fieldMask,
+ core.String gatewayListOptions_associationsDeviceId,
core.String gatewayListOptions_associationsGatewayId,
core.String gatewayListOptions_gatewayType,
- core.List<core.String> deviceIds,
- core.String gatewayListOptions_associationsDeviceId,
- core.List<core.String> deviceNumIds,
core.int pageSize,
core.String pageToken,
- core.String fieldMask,
core.String $fields,
}) {
core.String _url;
@@ -1631,6 +1631,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (deviceIds != null) {
+ _queryParams['deviceIds'] = deviceIds;
+ }
+ if (deviceNumIds != null) {
+ _queryParams['deviceNumIds'] = deviceNumIds;
+ }
+ if (fieldMask != null) {
+ _queryParams['fieldMask'] = [fieldMask];
+ }
+ if (gatewayListOptions_associationsDeviceId != null) {
+ _queryParams['gatewayListOptions.associationsDeviceId'] = [
+ gatewayListOptions_associationsDeviceId
+ ];
+ }
if (gatewayListOptions_associationsGatewayId != null) {
_queryParams['gatewayListOptions.associationsGatewayId'] = [
gatewayListOptions_associationsGatewayId
@@ -1641,26 +1655,12 @@
gatewayListOptions_gatewayType
];
}
- if (deviceIds != null) {
- _queryParams['deviceIds'] = deviceIds;
- }
- if (gatewayListOptions_associationsDeviceId != null) {
- _queryParams['gatewayListOptions.associationsDeviceId'] = [
- gatewayListOptions_associationsDeviceId
- ];
- }
- if (deviceNumIds != null) {
- _queryParams['deviceNumIds'] = deviceNumIds;
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (fieldMask != null) {
- _queryParams['fieldMask'] = [fieldMask];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart
index 1b36b70..59f916a 100644
--- a/generated/googleapis/lib/cloudkms/v1.dart
+++ b/generated/googleapis/lib/cloudkms/v1.dart
@@ -125,10 +125,10 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -143,8 +143,8 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -158,12 +158,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -387,6 +387,10 @@
/// KeyRings, in the format `projects / * /locations / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [filter] - Optional. Only include resources that match the filter in the
+ /// response. For more information, see [Sorting and filtering list
+ /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+ ///
/// [orderBy] - Optional. Specify how the results should be sorted. If not
/// specified, the results will be sorted in the default order. For more
/// information, see [Sorting and filtering list
@@ -397,10 +401,6 @@
/// including the ListKeyRingsResponse.next_page_token in a subsequent
/// request. If unspecified, the server will pick an appropriate default.
///
- /// [filter] - Optional. Only include resources that match the filter in the
- /// response. For more information, see [Sorting and filtering list
- /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
- ///
/// [pageToken] - Optional. Optional pagination token, returned earlier via
/// ListKeyRingsResponse.next_page_token.
///
@@ -416,9 +416,9 @@
/// this method will complete with the same error.
async.Future<ListKeyRingsResponse> list(
core.String parent, {
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
core.String pageToken,
core.String $fields,
}) {
@@ -432,15 +432,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -610,14 +610,14 @@
/// CryptoKeys.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
+ /// [cryptoKeyId] - Required. It must be unique within a KeyRing and match the
+ /// regular expression `[a-zA-Z0-9_-]{1,63}`
+ ///
/// [skipInitialVersionCreation] - If set to true, the request will create a
/// CryptoKey without any CryptoKeyVersions. You must manually call
/// CreateCryptoKeyVersion or ImportCryptoKeyVersion before you can use this
/// CryptoKey.
///
- /// [cryptoKeyId] - Required. It must be unique within a KeyRing and match the
- /// regular expression `[a-zA-Z0-9_-]{1,63}`
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -631,8 +631,8 @@
async.Future<CryptoKey> create(
CryptoKey request,
core.String parent, {
- core.bool skipInitialVersionCreation,
core.String cryptoKeyId,
+ core.bool skipInitialVersionCreation,
core.String $fields,
}) {
core.String _url;
@@ -648,14 +648,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (cryptoKeyId != null) {
+ _queryParams['cryptoKeyId'] = [cryptoKeyId];
+ }
if (skipInitialVersionCreation != null) {
_queryParams['skipInitialVersionCreation'] = [
'${skipInitialVersionCreation}'
];
}
- if (cryptoKeyId != null) {
- _queryParams['cryptoKeyId'] = [cryptoKeyId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -921,30 +921,30 @@
/// format `projects / * /locations / * /keyRings / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
- /// [versionView] - The fields of the primary version to include in the
- /// response.
- /// Possible string values are:
- /// - "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED" : Default view for each
- /// CryptoKeyVersion. Does not include the attestation field.
- /// - "FULL" : Provides all fields in each CryptoKeyVersion, including the
- /// attestation.
- ///
- /// [pageToken] - Optional. Optional pagination token, returned earlier via
- /// ListCryptoKeysResponse.next_page_token.
- ///
/// [filter] - Optional. Only include resources that match the filter in the
/// response. For more information, see [Sorting and filtering list
/// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
///
+ /// [orderBy] - Optional. Specify how the results should be sorted. If not
+ /// specified, the results will be sorted in the default order. For more
+ /// information, see [Sorting and filtering list
+ /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+ ///
/// [pageSize] - Optional. Optional limit on the number of CryptoKeys to
/// include in the response. Further CryptoKeys can subsequently be obtained
/// by including the ListCryptoKeysResponse.next_page_token in a subsequent
/// request. If unspecified, the server will pick an appropriate default.
///
- /// [orderBy] - Optional. Specify how the results should be sorted. If not
- /// specified, the results will be sorted in the default order. For more
- /// information, see [Sorting and filtering list
- /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+ /// [pageToken] - Optional. Optional pagination token, returned earlier via
+ /// ListCryptoKeysResponse.next_page_token.
+ ///
+ /// [versionView] - The fields of the primary version to include in the
+ /// response.
+ /// Possible string values are:
+ /// - "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED" : Default view for each
+ /// CryptoKeyVersion. Does not include the attestation field.
+ /// - "FULL" : Provides all fields in each CryptoKeyVersion, including the
+ /// attestation.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -958,11 +958,11 @@
/// this method will complete with the same error.
async.Future<ListCryptoKeysResponse> list(
core.String parent, {
- core.String versionView,
- core.String pageToken,
core.String filter,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
+ core.String versionView,
core.String $fields,
}) {
core.String _url;
@@ -975,20 +975,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (versionView != null) {
- _queryParams['versionView'] = [versionView];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (versionView != null) {
+ _queryParams['versionView'] = [versionView];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1684,6 +1684,11 @@
/// response. For more information, see [Sorting and filtering list
/// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
///
+ /// [orderBy] - Optional. Specify how the results should be sorted. If not
+ /// specified, the results will be sorted in the default order. For more
+ /// information, see [Sorting and filtering list
+ /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+ ///
/// [pageSize] - Optional. Optional limit on the number of CryptoKeyVersions
/// to include in the response. Further CryptoKeyVersions can subsequently be
/// obtained by including the ListCryptoKeyVersionsResponse.next_page_token in
@@ -1693,11 +1698,6 @@
/// [pageToken] - Optional. Optional pagination token, returned earlier via
/// ListCryptoKeyVersionsResponse.next_page_token.
///
- /// [orderBy] - Optional. Specify how the results should be sorted. If not
- /// specified, the results will be sorted in the default order. For more
- /// information, see [Sorting and filtering list
- /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
- ///
/// [view] - The fields to include in the response.
/// Possible string values are:
/// - "CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED" : Default view for each
@@ -1718,9 +1718,9 @@
async.Future<ListCryptoKeyVersionsResponse> list(
core.String parent, {
core.String filter,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String orderBy,
core.String view,
core.String $fields,
}) {
@@ -1737,15 +1737,15 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (view != null) {
_queryParams['view'] = [view];
}
@@ -2094,8 +2094,9 @@
/// format `projects / * /locations / * /keyRings / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+$".
///
- /// [pageToken] - Optional. Optional pagination token, returned earlier via
- /// ListImportJobsResponse.next_page_token.
+ /// [filter] - Optional. Only include resources that match the filter in the
+ /// response. For more information, see [Sorting and filtering list
+ /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
///
/// [orderBy] - Optional. Specify how the results should be sorted. If not
/// specified, the results will be sorted in the default order. For more
@@ -2107,9 +2108,8 @@
/// by including the ListImportJobsResponse.next_page_token in a subsequent
/// request. If unspecified, the server will pick an appropriate default.
///
- /// [filter] - Optional. Only include resources that match the filter in the
- /// response. For more information, see [Sorting and filtering list
- /// results](https://cloud.google.com/kms/docs/sorting-and-filtering).
+ /// [pageToken] - Optional. Optional pagination token, returned earlier via
+ /// ListImportJobsResponse.next_page_token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2123,10 +2123,10 @@
/// this method will complete with the same error.
async.Future<ListImportJobsResponse> list(
core.String parent, {
- core.String pageToken,
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2139,8 +2139,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
@@ -2148,8 +2148,8 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/cloudresourcemanager/v1.dart b/generated/googleapis/lib/cloudresourcemanager/v1.dart
index d93666a..9f6cce4 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v1.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v1.dart
@@ -588,15 +588,15 @@
/// [pageSize] - The maximum number of items to return. This is a suggestion
/// for the server.
///
+ /// [pageToken] - The `next_page_token` value returned from a previous List
+ /// request, if any.
+ ///
/// [parent] - Required. The name of the resource to list all attached Liens.
/// For example, `projects/1234`. (google.api.field_policy).resource_type
/// annotation is not set since the parent depends on the meta api
/// implementation. This field could be a project or other sub project
/// resources.
///
- /// [pageToken] - The `next_page_token` value returned from a previous List
- /// request, if any.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -609,8 +609,8 @@
/// this method will complete with the same error.
async.Future<ListLiensResponse> list({
core.int pageSize,
- core.String parent,
core.String pageToken,
+ core.String parent,
core.String $fields,
}) {
core.String _url;
@@ -623,12 +623,12 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (parent != null) {
- _queryParams['parent'] = [parent];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (parent != null) {
+ _queryParams['parent'] = [parent];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1846,13 +1846,6 @@
///
/// Request parameters:
///
- /// [pageSize] - Optional. The maximum number of Projects to return in the
- /// response. The server can return fewer Projects than requested. If
- /// unspecified, server picks an appropriate default.
- ///
- /// [pageToken] - Optional. A pagination token returned from a previous call
- /// to ListProjects that indicates from where listing should continue.
- ///
/// [filter] - Optional. An expression for filtering the results of the
/// request. Filter rules are case insensitive. If multiple fields are
/// included in a filter query, the query will return results that match any
@@ -1877,6 +1870,13 @@
/// (example: "parent.type:folder parent.id:123"). In this case an alternate
/// search index is used which provides more consistent results.
///
+ /// [pageSize] - Optional. The maximum number of Projects to return in the
+ /// response. The server can return fewer Projects than requested. If
+ /// unspecified, server picks an appropriate default.
+ ///
+ /// [pageToken] - Optional. A pagination token returned from a previous call
+ /// to ListProjects that indicates from where listing should continue.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1888,9 +1888,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListProjectsResponse> list({
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -1900,15 +1900,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudresourcemanager/v2.dart b/generated/googleapis/lib/cloudresourcemanager/v2.dart
index c071903..9f9b6d6 100644
--- a/generated/googleapis/lib/cloudresourcemanager/v2.dart
+++ b/generated/googleapis/lib/cloudresourcemanager/v2.dart
@@ -308,19 +308,19 @@
///
/// Request parameters:
///
- /// [showDeleted] - Optional. Controls whether Folders in the DELETE_REQUESTED
- /// state should be returned. Defaults to false.
+ /// [pageSize] - Optional. The maximum number of Folders to return in the
+ /// response.
+ ///
+ /// [pageToken] - Optional. A pagination token returned from a previous call
+ /// to `ListFolders` that indicates where this listing should continue from.
///
/// [parent] - Required. The resource name of the Organization or Folder whose
/// Folders are being listed. Must be of the form `folders/{folder_id}` or
/// `organizations/{org_id}`. Access to this method is controlled by checking
/// the `resourcemanager.folders.list` permission on the `parent`.
///
- /// [pageToken] - Optional. A pagination token returned from a previous call
- /// to `ListFolders` that indicates where this listing should continue from.
- ///
- /// [pageSize] - Optional. The maximum number of Folders to return in the
- /// response.
+ /// [showDeleted] - Optional. Controls whether Folders in the DELETE_REQUESTED
+ /// state should be returned. Defaults to false.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -333,10 +333,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListFoldersResponse> list({
- core.bool showDeleted,
- core.String parent,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String parent,
+ core.bool showDeleted,
core.String $fields,
}) {
core.String _url;
@@ -346,17 +346,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
- }
- if (parent != null) {
- _queryParams['parent'] = [parent];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (parent != null) {
+ _queryParams['parent'] = [parent];
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/cloudscheduler/v1.dart b/generated/googleapis/lib/cloudscheduler/v1.dart
index f465a6a..23a3965 100644
--- a/generated/googleapis/lib/cloudscheduler/v1.dart
+++ b/generated/googleapis/lib/cloudscheduler/v1.dart
@@ -120,12 +120,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -138,9 +138,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -153,15 +153,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/cloudsearch/v1.dart b/generated/googleapis/lib/cloudsearch/v1.dart
index e94297b..58328ef 100644
--- a/generated/googleapis/lib/cloudsearch/v1.dart
+++ b/generated/googleapis/lib/cloudsearch/v1.dart
@@ -268,12 +268,12 @@
/// [debugOptions_enableDebugging] - If you are asked by Google to help with
/// debugging, set this field. Otherwise, ignore this field.
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
- ///
/// [pageSize] - Maximum number of items to fetch in a request. Defaults to
/// 100.
///
+ /// [pageToken] - The next_page_token value returned from a previous List
+ /// request, if any.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -287,8 +287,8 @@
async.Future<ListUnmappedIdentitiesResponse> list(
core.String parent, {
core.bool debugOptions_enableDebugging,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -306,12 +306,12 @@
'${debugOptions_enableDebugging}'
];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -361,18 +361,18 @@
/// identitysources/{source_id}}
/// Value must have pattern "^identitysources/[^/]+$".
///
- /// [userResourceName] - null
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
///
/// [groupResourceName] - null
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
- ///
/// [pageSize] - Maximum number of items to fetch in a request. Defaults to
/// 100.
///
- /// [debugOptions_enableDebugging] - If you are asked by Google to help with
- /// debugging, set this field. Otherwise, ignore this field.
+ /// [pageToken] - The next_page_token value returned from a previous List
+ /// request, if any.
+ ///
+ /// [userResourceName] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -387,11 +387,11 @@
async.Future<ListItemNamesForUnmappedIdentityResponse>
listForunmappedidentity(
core.String parent, {
- core.String userResourceName,
- core.String groupResourceName,
- core.String pageToken,
- core.int pageSize,
core.bool debugOptions_enableDebugging,
+ core.String groupResourceName,
+ core.int pageSize,
+ core.String pageToken,
+ core.String userResourceName,
core.String $fields,
}) {
core.String _url;
@@ -404,23 +404,23 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (userResourceName != null) {
- _queryParams['userResourceName'] = [userResourceName];
- }
- if (groupResourceName != null) {
- _queryParams['groupResourceName'] = [groupResourceName];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (debugOptions_enableDebugging != null) {
_queryParams['debugOptions.enableDebugging'] = [
'${debugOptions_enableDebugging}'
];
}
+ if (groupResourceName != null) {
+ _queryParams['groupResourceName'] = [groupResourceName];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (userResourceName != null) {
+ _queryParams['userResourceName'] = [userResourceName];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -458,12 +458,15 @@
/// identitysources/{source_id}
/// Value must have pattern "^identitysources/[^/]+$".
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
///
/// [pageSize] - Maximum number of items to fetch in a request. Defaults to
/// 100.
///
+ /// [pageToken] - The next_page_token value returned from a previous List
+ /// request, if any.
+ ///
/// [resolutionStatusCode] - Limit users selection to this status.
/// Possible string values are:
/// - "CODE_UNSPECIFIED" : Input-only value. Used to list all unmapped
@@ -478,9 +481,6 @@
/// external identity is too large.
/// - "INTERNAL_ERROR" : Internal error.
///
- /// [debugOptions_enableDebugging] - If you are asked by Google to help with
- /// debugging, set this field. Otherwise, ignore this field.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -493,10 +493,10 @@
/// this method will complete with the same error.
async.Future<ListUnmappedIdentitiesResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
- core.String resolutionStatusCode,
core.bool debugOptions_enableDebugging,
+ core.int pageSize,
+ core.String pageToken,
+ core.String resolutionStatusCode,
core.String $fields,
}) {
core.String _url;
@@ -509,20 +509,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (resolutionStatusCode != null) {
- _queryParams['resolutionStatusCode'] = [resolutionStatusCode];
- }
if (debugOptions_enableDebugging != null) {
_queryParams['debugOptions.enableDebugging'] = [
'${debugOptions_enableDebugging}'
];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (resolutionStatusCode != null) {
+ _queryParams['resolutionStatusCode'] = [resolutionStatusCode];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -765,20 +765,12 @@
/// datasources/{source_id}/items/{item_id}
/// Value must have pattern "^datasources/[^/]+/items/[^/]+$".
///
- /// [debugOptions_enableDebugging] - If you are asked by Google to help with
- /// debugging, set this field. Otherwise, ignore this field.
- ///
- /// [version] - Required. The incremented version of the item to delete from
- /// the index. The indexing system stores the version from the datasource as a
- /// byte string and compares the Item version in the index to the version of
- /// the queued Item using lexical ordering. Cloud Search Indexing won't delete
- /// any queued item with a version value that is less than or equal to the
- /// version of the currently indexed item. The maximum length for this field
- /// is 1024 bytes.
- ///
/// [connectorName] - Name of connector making this call. Format:
/// datasources/{source_id}/connectors/{ID}
///
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
+ ///
/// [mode] - Required. The RequestMode for this request.
/// Possible string values are:
/// - "UNSPECIFIED" : Priority is not specified in the update request. Leaving
@@ -787,6 +779,14 @@
/// - "ASYNCHRONOUS" : For changes that are executed after the response is
/// sent back to the caller.
///
+ /// [version] - Required. The incremented version of the item to delete from
+ /// the index. The indexing system stores the version from the datasource as a
+ /// byte string and compares the Item version in the index to the version of
+ /// the queued Item using lexical ordering. Cloud Search Indexing won't delete
+ /// any queued item with a version value that is less than or equal to the
+ /// version of the currently indexed item. The maximum length for this field
+ /// is 1024 bytes.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -799,10 +799,10 @@
/// this method will complete with the same error.
async.Future<Operation> delete(
core.String name, {
- core.bool debugOptions_enableDebugging,
- core.String version,
core.String connectorName,
+ core.bool debugOptions_enableDebugging,
core.String mode,
+ core.String version,
core.String $fields,
}) {
core.String _url;
@@ -815,20 +815,20 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (connectorName != null) {
+ _queryParams['connectorName'] = [connectorName];
+ }
if (debugOptions_enableDebugging != null) {
_queryParams['debugOptions.enableDebugging'] = [
'${debugOptions_enableDebugging}'
];
}
- if (version != null) {
- _queryParams['version'] = [version];
- }
- if (connectorName != null) {
- _queryParams['connectorName'] = [connectorName];
- }
if (mode != null) {
_queryParams['mode'] = [mode];
}
+ if (version != null) {
+ _queryParams['version'] = [version];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1048,12 +1048,6 @@
/// datasources/{source_id}
/// Value must have pattern "^datasources/[^/]+$".
///
- /// [connectorName] - Name of connector making this call. Format:
- /// datasources/{source_id}/connectors/{ID}
- ///
- /// [debugOptions_enableDebugging] - If you are asked by Google to help with
- /// debugging, set this field. Otherwise, ignore this field.
- ///
/// [brief] - When set to true, the indexing system only populates the
/// following fields: name, version, queue. metadata.hash, metadata.title,
/// metadata.sourceRepositoryURL, metadata.objectType, metadata.createTime,
@@ -1062,6 +1056,12 @@
/// itemStatus.processingError.code, itemStatus.repositoryError.type, If this
/// value is false, then all the fields are populated in Item.
///
+ /// [connectorName] - Name of connector making this call. Format:
+ /// datasources/{source_id}/connectors/{ID}
+ ///
+ /// [debugOptions_enableDebugging] - If you are asked by Google to help with
+ /// debugging, set this field. Otherwise, ignore this field.
+ ///
/// [pageSize] - Maximum number of items to fetch in a request. The max value
/// is 1000 when brief is true. The max value is 10 if brief is false. The
/// default value is 10
@@ -1081,9 +1081,9 @@
/// this method will complete with the same error.
async.Future<ListItemsResponse> list(
core.String name, {
+ core.bool brief,
core.String connectorName,
core.bool debugOptions_enableDebugging,
- core.bool brief,
core.int pageSize,
core.String pageToken,
core.String $fields,
@@ -1098,6 +1098,9 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (brief != null) {
+ _queryParams['brief'] = ['${brief}'];
+ }
if (connectorName != null) {
_queryParams['connectorName'] = [connectorName];
}
@@ -1106,9 +1109,6 @@
'${debugOptions_enableDebugging}'
];
}
- if (brief != null) {
- _queryParams['brief'] = ['${brief}'];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
@@ -1555,11 +1555,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations/.*$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1573,9 +1573,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1588,14 +1588,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1745,6 +1745,11 @@
///
/// Request parameters:
///
+ /// [pageToken] - Number of sources to return in the response.
+ ///
+ /// [requestOptions_debugOptions_enableDebugging] - If you are asked by Google
+ /// to help with debugging, set this field. Otherwise, ignore this field.
+ ///
/// [requestOptions_languageCode] - The BCP-47 language code, such as "en-US"
/// or "sr-Latn". For more information, see
/// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. For
@@ -1755,10 +1760,9 @@
/// not use this parameter. Instead, suggest autocompletes only based on
/// characters in the query.
///
- /// [requestOptions_debugOptions_enableDebugging] - If you are asked by Google
- /// to help with debugging, set this field. Otherwise, ignore this field.
- ///
- /// [pageToken] - Number of sources to return in the response.
+ /// [requestOptions_searchApplicationId] - The ID generated when you create a
+ /// search application using the [admin
+ /// console](https://support.google.com/a/answer/9043922).
///
/// [requestOptions_timeZone] - Current user's time zone id, such as
/// "America/Los_Angeles" or "Australia/Sydney". These IDs are defined by
@@ -1768,10 +1772,6 @@
/// This field is used to correctly interpret date and time queries. If this
/// field is not specified, the default time zone (UTC) is used.
///
- /// [requestOptions_searchApplicationId] - The ID generated when you create a
- /// search application using the [admin
- /// console](https://support.google.com/a/answer/9043922).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1783,11 +1783,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListQuerySourcesResponse> list({
- core.String requestOptions_languageCode,
- core.bool requestOptions_debugOptions_enableDebugging,
core.String pageToken,
- core.String requestOptions_timeZone,
+ core.bool requestOptions_debugOptions_enableDebugging,
+ core.String requestOptions_languageCode,
core.String requestOptions_searchApplicationId,
+ core.String requestOptions_timeZone,
core.String $fields,
}) {
core.String _url;
@@ -1797,27 +1797,27 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (requestOptions_languageCode != null) {
- _queryParams['requestOptions.languageCode'] = [
- requestOptions_languageCode
- ];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (requestOptions_debugOptions_enableDebugging != null) {
_queryParams['requestOptions.debugOptions.enableDebugging'] = [
'${requestOptions_debugOptions_enableDebugging}'
];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (requestOptions_timeZone != null) {
- _queryParams['requestOptions.timeZone'] = [requestOptions_timeZone];
+ if (requestOptions_languageCode != null) {
+ _queryParams['requestOptions.languageCode'] = [
+ requestOptions_languageCode
+ ];
}
if (requestOptions_searchApplicationId != null) {
_queryParams['requestOptions.searchApplicationId'] = [
requestOptions_searchApplicationId
];
}
+ if (requestOptions_timeZone != null) {
+ _queryParams['requestOptions.timeZone'] = [requestOptions_timeZone];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2026,12 +2026,12 @@
///
/// Request parameters:
///
- /// [pageSize] - Maximum number of datasources to fetch in a request. The max
- /// value is 100. The default value is 10
- ///
/// [debugOptions_enableDebugging] - If you are asked by Google to help with
/// debugging, set this field. Otherwise, ignore this field.
///
+ /// [pageSize] - Maximum number of datasources to fetch in a request. The max
+ /// value is 100. The default value is 10
+ ///
/// [pageToken] - Starting index of the results.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2045,8 +2045,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListDataSourceResponse> list({
- core.int pageSize,
core.bool debugOptions_enableDebugging,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -2057,14 +2057,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (debugOptions_enableDebugging != null) {
_queryParams['debugOptions.enableDebugging'] = [
'${debugOptions_enableDebugging}'
];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -2519,19 +2519,19 @@
///
/// Request parameters:
///
- /// [toDate_month] - Month of date. Must be from 1 to 12.
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
+ /// [fromDate_month] - Month of date. Must be from 1 to 12.
///
/// [fromDate_year] - Year of date. Must be from 1 to 9999.
///
/// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [fromDate_month] - Month of date. Must be from 1 to 12.
+ /// [toDate_month] - Month of date. Must be from 1 to 12.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
+ /// [toDate_year] - Year of date. Must be from 1 to 9999.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2544,12 +2544,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GetCustomerIndexStatsResponse> getIndex({
- core.int toDate_month,
- core.int toDate_year,
+ core.int fromDate_day,
+ core.int fromDate_month,
core.int fromDate_year,
core.int toDate_day,
- core.int fromDate_month,
- core.int fromDate_day,
+ core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -2559,11 +2559,11 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (toDate_month != null) {
- _queryParams['toDate.month'] = ['${toDate_month}'];
+ if (fromDate_day != null) {
+ _queryParams['fromDate.day'] = ['${fromDate_day}'];
}
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
+ if (fromDate_month != null) {
+ _queryParams['fromDate.month'] = ['${fromDate_month}'];
}
if (fromDate_year != null) {
_queryParams['fromDate.year'] = ['${fromDate_year}'];
@@ -2571,11 +2571,11 @@
if (toDate_day != null) {
_queryParams['toDate.day'] = ['${toDate_day}'];
}
- if (fromDate_month != null) {
- _queryParams['fromDate.month'] = ['${fromDate_month}'];
+ if (toDate_month != null) {
+ _queryParams['toDate.month'] = ['${toDate_month}'];
}
- if (fromDate_day != null) {
- _queryParams['fromDate.day'] = ['${fromDate_day}'];
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2601,20 +2601,20 @@
///
/// Request parameters:
///
- /// [toDate_month] - Month of date. Must be from 1 to 12.
- ///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
- ///
/// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
- ///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
/// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
+ /// [toDate_month] - Month of date. Must be from 1 to 12.
+ ///
+ /// [toDate_year] - Year of date. Must be from 1 to 9999.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2626,12 +2626,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GetCustomerQueryStatsResponse> getQuery({
- core.int toDate_month,
- core.int fromDate_year,
core.int fromDate_day,
- core.int toDate_year,
core.int fromDate_month,
+ core.int fromDate_year,
core.int toDate_day,
+ core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -2641,24 +2641,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (toDate_month != null) {
- _queryParams['toDate.month'] = ['${toDate_month}'];
- }
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
- }
if (fromDate_day != null) {
_queryParams['fromDate.day'] = ['${fromDate_day}'];
}
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
- }
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ }
if (toDate_day != null) {
_queryParams['toDate.day'] = ['${toDate_day}'];
}
+ if (toDate_month != null) {
+ _queryParams['toDate.month'] = ['${toDate_month}'];
+ }
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2684,20 +2684,20 @@
///
/// Request parameters:
///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
+ /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
/// [toDate_month] - Month of date. Must be from 1 to 12.
///
/// [toDate_year] - Year of date. Must be from 1 to 9999.
///
- /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2709,12 +2709,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GetCustomerSessionStatsResponse> getSession({
- core.int fromDate_year,
- core.int fromDate_month,
core.int fromDate_day,
+ core.int fromDate_month,
+ core.int fromDate_year,
+ core.int toDate_day,
core.int toDate_month,
core.int toDate_year,
- core.int toDate_day,
core.String $fields,
}) {
core.String _url;
@@ -2724,14 +2724,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ if (fromDate_day != null) {
+ _queryParams['fromDate.day'] = ['${fromDate_day}'];
}
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
- if (fromDate_day != null) {
- _queryParams['fromDate.day'] = ['${fromDate_day}'];
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ }
+ if (toDate_day != null) {
+ _queryParams['toDate.day'] = ['${toDate_day}'];
}
if (toDate_month != null) {
_queryParams['toDate.month'] = ['${toDate_month}'];
@@ -2739,9 +2742,6 @@
if (toDate_year != null) {
_queryParams['toDate.year'] = ['${toDate_year}'];
}
- if (toDate_day != null) {
- _queryParams['toDate.day'] = ['${toDate_day}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2766,18 +2766,18 @@
///
/// Request parameters:
///
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
+ ///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
/// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
- ///
/// [toDate_month] - Month of date. Must be from 1 to 12.
///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
- ///
/// [toDate_year] - Year of date. Must be from 1 to 9999.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -2791,11 +2791,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GetCustomerUserStatsResponse> getUser({
- core.int fromDate_month,
- core.int toDate_day,
core.int fromDate_day,
- core.int toDate_month,
+ core.int fromDate_month,
core.int fromDate_year,
+ core.int toDate_day,
+ core.int toDate_month,
core.int toDate_year,
core.String $fields,
}) {
@@ -2806,21 +2806,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (fromDate_day != null) {
+ _queryParams['fromDate.day'] = ['${fromDate_day}'];
+ }
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ }
if (toDate_day != null) {
_queryParams['toDate.day'] = ['${toDate_day}'];
}
- if (fromDate_day != null) {
- _queryParams['fromDate.day'] = ['${fromDate_day}'];
- }
if (toDate_month != null) {
_queryParams['toDate.month'] = ['${toDate_month}'];
}
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
- }
if (toDate_year != null) {
_queryParams['toDate.year'] = ['${toDate_year}'];
}
@@ -2868,20 +2868,20 @@
/// the following format: "datasources/{source_id}"
/// Value must have pattern "^datasources/[^/]+$".
///
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
+ ///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
/// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
- ///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ /// [toDate_month] - Month of date. Must be from 1 to 12.
///
/// [toDate_year] - Year of date. Must be from 1 to 9999.
///
- /// [toDate_month] - Month of date. Must be from 1 to 12.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2894,12 +2894,12 @@
/// this method will complete with the same error.
async.Future<GetDataSourceIndexStatsResponse> get(
core.String name, {
- core.int fromDate_month,
- core.int toDate_day,
core.int fromDate_day,
+ core.int fromDate_month,
core.int fromDate_year,
- core.int toDate_year,
+ core.int toDate_day,
core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -2912,24 +2912,24 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (fromDate_month != null) {
- _queryParams['fromDate.month'] = ['${fromDate_month}'];
- }
- if (toDate_day != null) {
- _queryParams['toDate.day'] = ['${toDate_day}'];
- }
if (fromDate_day != null) {
_queryParams['fromDate.day'] = ['${fromDate_day}'];
}
+ if (fromDate_month != null) {
+ _queryParams['fromDate.month'] = ['${fromDate_month}'];
+ }
if (fromDate_year != null) {
_queryParams['fromDate.year'] = ['${fromDate_year}'];
}
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
+ if (toDate_day != null) {
+ _queryParams['toDate.day'] = ['${toDate_day}'];
}
if (toDate_month != null) {
_queryParams['toDate.month'] = ['${toDate_month}'];
}
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2974,20 +2974,20 @@
/// following format: searchapplications/{application_id}
/// Value must have pattern "^searchapplications/[^/]+$".
///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
- ///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
- ///
/// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
- ///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
+ /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
+ ///
/// [toDate_month] - Month of date. Must be from 1 to 12.
///
+ /// [toDate_year] - Year of date. Must be from 1 to 9999.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3000,12 +3000,12 @@
/// this method will complete with the same error.
async.Future<GetSearchApplicationQueryStatsResponse> get(
core.String name, {
- core.int toDate_year,
- core.int fromDate_year,
core.int fromDate_day,
- core.int toDate_day,
core.int fromDate_month,
+ core.int fromDate_year,
+ core.int toDate_day,
core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -3018,24 +3018,24 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
- }
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
- }
if (fromDate_day != null) {
_queryParams['fromDate.day'] = ['${fromDate_day}'];
}
- if (toDate_day != null) {
- _queryParams['toDate.day'] = ['${toDate_day}'];
- }
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ }
+ if (toDate_day != null) {
+ _queryParams['toDate.day'] = ['${toDate_day}'];
+ }
if (toDate_month != null) {
_queryParams['toDate.month'] = ['${toDate_month}'];
}
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3081,19 +3081,19 @@
/// following format: searchapplications/{application_id}
/// Value must have pattern "^searchapplications/[^/]+$".
///
- /// [toDate_month] - Month of date. Must be from 1 to 12.
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
///
/// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ /// [toDate_month] - Month of date. Must be from 1 to 12.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
+ /// [toDate_year] - Year of date. Must be from 1 to 9999.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3107,12 +3107,12 @@
/// this method will complete with the same error.
async.Future<GetSearchApplicationSessionStatsResponse> get(
core.String name, {
- core.int toDate_month,
- core.int fromDate_month,
- core.int toDate_year,
- core.int toDate_day,
- core.int fromDate_year,
core.int fromDate_day,
+ core.int fromDate_month,
+ core.int fromDate_year,
+ core.int toDate_day,
+ core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -3125,23 +3125,23 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (toDate_month != null) {
- _queryParams['toDate.month'] = ['${toDate_month}'];
+ if (fromDate_day != null) {
+ _queryParams['fromDate.day'] = ['${fromDate_day}'];
}
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
}
if (toDate_day != null) {
_queryParams['toDate.day'] = ['${toDate_day}'];
}
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ if (toDate_month != null) {
+ _queryParams['toDate.month'] = ['${toDate_month}'];
}
- if (fromDate_day != null) {
- _queryParams['fromDate.day'] = ['${fromDate_day}'];
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -3187,19 +3187,19 @@
/// following format: searchapplications/{application_id}
/// Value must have pattern "^searchapplications/[^/]+$".
///
- /// [fromDate_year] - Year of date. Must be from 1 to 9999.
- ///
- /// [toDate_year] - Year of date. Must be from 1 to 9999.
+ /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// and month.
///
/// [fromDate_month] - Month of date. Must be from 1 to 12.
///
- /// [fromDate_day] - Day of month. Must be from 1 to 31 and valid for the year
+ /// [fromDate_year] - Year of date. Must be from 1 to 9999.
+ ///
+ /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
/// and month.
///
/// [toDate_month] - Month of date. Must be from 1 to 12.
///
- /// [toDate_day] - Day of month. Must be from 1 to 31 and valid for the year
- /// and month.
+ /// [toDate_year] - Year of date. Must be from 1 to 9999.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3213,12 +3213,12 @@
/// this method will complete with the same error.
async.Future<GetSearchApplicationUserStatsResponse> get(
core.String name, {
- core.int fromDate_year,
- core.int toDate_year,
- core.int fromDate_month,
core.int fromDate_day,
- core.int toDate_month,
+ core.int fromDate_month,
+ core.int fromDate_year,
core.int toDate_day,
+ core.int toDate_month,
+ core.int toDate_year,
core.String $fields,
}) {
core.String _url;
@@ -3231,23 +3231,23 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (fromDate_year != null) {
- _queryParams['fromDate.year'] = ['${fromDate_year}'];
- }
- if (toDate_year != null) {
- _queryParams['toDate.year'] = ['${toDate_year}'];
+ if (fromDate_day != null) {
+ _queryParams['fromDate.day'] = ['${fromDate_day}'];
}
if (fromDate_month != null) {
_queryParams['fromDate.month'] = ['${fromDate_month}'];
}
- if (fromDate_day != null) {
- _queryParams['fromDate.day'] = ['${fromDate_day}'];
+ if (fromDate_year != null) {
+ _queryParams['fromDate.year'] = ['${fromDate_year}'];
+ }
+ if (toDate_day != null) {
+ _queryParams['toDate.day'] = ['${toDate_day}'];
}
if (toDate_month != null) {
_queryParams['toDate.month'] = ['${toDate_month}'];
}
- if (toDate_day != null) {
- _queryParams['toDate.day'] = ['${toDate_day}'];
+ if (toDate_year != null) {
+ _queryParams['toDate.year'] = ['${toDate_year}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/cloudshell/v1.dart b/generated/googleapis/lib/cloudshell/v1.dart
index a587cec..0b3d252 100644
--- a/generated/googleapis/lib/cloudshell/v1.dart
+++ b/generated/googleapis/lib/cloudshell/v1.dart
@@ -234,11 +234,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -252,9 +252,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -267,14 +267,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/cloudtasks/v2.dart b/generated/googleapis/lib/cloudtasks/v2.dart
index 0578b68..4409b7a 100644
--- a/generated/googleapis/lib/cloudtasks/v2.dart
+++ b/generated/googleapis/lib/cloudtasks/v2.dart
@@ -120,10 +120,10 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -138,8 +138,8 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -153,12 +153,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -432,17 +432,6 @@
/// `projects/PROJECT_ID/locations/LOCATION_ID`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - A token identifying the page of results to return. To
- /// request the first page results, page_token must be empty. To request the
- /// next page of results, page_token must be the value of next_page_token
- /// returned from the previous call to ListQueues method. It is an error to
- /// switch the value of the filter while iterating through pages.
- ///
- /// [pageSize] - Requested page size. The maximum page size is 9800. If
- /// unspecified, the page size will be the maximum. Fewer queues than
- /// requested might be returned, even if more queues exist; use the
- /// next_page_token in the response to determine if more queues exist.
- ///
/// [filter] - `filter` can be used to specify a subset of queues. Any Queue
/// field can be used as a filter and several operators as supported. For
/// example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
@@ -451,6 +440,17 @@
/// Sample filter "state: PAUSED". Note that using filters might cause fewer
/// queues than the requested page_size to be returned.
///
+ /// [pageSize] - Requested page size. The maximum page size is 9800. If
+ /// unspecified, the page size will be the maximum. Fewer queues than
+ /// requested might be returned, even if more queues exist; use the
+ /// next_page_token in the response to determine if more queues exist.
+ ///
+ /// [pageToken] - A token identifying the page of results to return. To
+ /// request the first page results, page_token must be empty. To request the
+ /// next page of results, page_token must be the value of next_page_token
+ /// returned from the previous call to ListQueues method. It is an error to
+ /// switch the value of the filter while iterating through pages.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -463,9 +463,9 @@
/// this method will complete with the same error.
async.Future<ListQueuesResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -478,14 +478,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1096,6 +1096,17 @@
/// `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/queues/[^/]+$".
///
+ /// [pageSize] - Maximum page size. Fewer tasks than requested might be
+ /// returned, even if more tasks exist; use next_page_token in the response to
+ /// determine if more tasks exist. The maximum page size is 1000. If
+ /// unspecified, the page size will be the maximum.
+ ///
+ /// [pageToken] - A token identifying the page of results to return. To
+ /// request the first page results, page_token must be empty. To request the
+ /// next page of results, page_token must be the value of next_page_token
+ /// returned from the previous call to ListTasks method. The page token is
+ /// valid for only 2 hours.
+ ///
/// [responseView] - The response_view specifies which subset of the Task will
/// be returned. By default response_view is BASIC; not all information is
/// retrieved by default because some data, such as payloads, might be
@@ -1114,17 +1125,6 @@
/// `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
/// permission on the Queue resource.
///
- /// [pageToken] - A token identifying the page of results to return. To
- /// request the first page results, page_token must be empty. To request the
- /// next page of results, page_token must be the value of next_page_token
- /// returned from the previous call to ListTasks method. The page token is
- /// valid for only 2 hours.
- ///
- /// [pageSize] - Maximum page size. Fewer tasks than requested might be
- /// returned, even if more tasks exist; use next_page_token in the response to
- /// determine if more tasks exist. The maximum page size is 1000. If
- /// unspecified, the page size will be the maximum.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1137,9 +1137,9 @@
/// this method will complete with the same error.
async.Future<ListTasksResponse> list(
core.String parent, {
- core.String responseView,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String responseView,
core.String $fields,
}) {
core.String _url;
@@ -1152,14 +1152,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (responseView != null) {
- _queryParams['responseView'] = [responseView];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (responseView != null) {
+ _queryParams['responseView'] = [responseView];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/composer/v1.dart b/generated/googleapis/lib/composer/v1.dart
index da88034..b836d42 100644
--- a/generated/googleapis/lib/composer/v1.dart
+++ b/generated/googleapis/lib/composer/v1.dart
@@ -243,11 +243,11 @@
/// form: "projects/{projectId}/locations/{locationId}"
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - The maximum number of environments to return.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [pageSize] - The maximum number of environments to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -260,8 +260,8 @@
/// this method will complete with the same error.
async.Future<ListEnvironmentsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -274,12 +274,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -441,11 +441,11 @@
/// form: "projects/{projectId}/locations/{locationId}"
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [pageSize] - The maximum number of image_versions to return.
+ ///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [pageSize] - The maximum number of image_versions to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -458,8 +458,8 @@
/// this method will complete with the same error.
async.Future<ListImageVersionsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -472,12 +472,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -625,11 +625,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -643,9 +643,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -658,14 +658,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/container/v1.dart b/generated/googleapis/lib/container/v1.dart
index 0a9256e..c759ebe 100644
--- a/generated/googleapis/lib/container/v1.dart
+++ b/generated/googleapis/lib/container/v1.dart
@@ -83,8 +83,10 @@
/// the format `projects / * `.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Specifies a page token to use. Set this to the nextPageToken
- /// returned by previous list requests to get the next page of results.
+ /// [filter] - Filtering currently only supports equality on the
+ /// networkProjectId and must be in the form: "networkProjectId=[PROJECTID]",
+ /// where `networkProjectId` is the project which owns the listed subnetworks.
+ /// This defaults to the parent project ID.
///
/// [pageSize] - The max number of results per page that should be returned.
/// If the number of available results is larger than `page_size`, a
@@ -92,10 +94,8 @@
/// results in subsequent requests. Acceptable values are 0 to 500, inclusive.
/// (Default: 500)
///
- /// [filter] - Filtering currently only supports equality on the
- /// networkProjectId and must be in the form: "networkProjectId=[PROJECTID]",
- /// where `networkProjectId` is the project which owns the listed subnetworks.
- /// This defaults to the parent project ID.
+ /// [pageToken] - Specifies a page token to use. Set this to the nextPageToken
+ /// returned by previous list requests to get the next page of results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -109,9 +109,9 @@
/// this method will complete with the same error.
async.Future<ListUsableSubnetworksResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -124,14 +124,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -457,11 +457,6 @@
/// Specified in the format `projects / * /locations / * /clusters / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$".
///
- /// [zone] - Deprecated. The name of the Google Compute Engine
- /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- /// cluster resides. This field has been deprecated and replaced by the name
- /// field.
- ///
/// [clusterId] - Deprecated. The name of the cluster to retrieve. This field
/// has been deprecated and replaced by the name field.
///
@@ -469,6 +464,11 @@
/// project number](https://support.google.com/cloud/answer/6158840). This
/// field has been deprecated and replaced by the name field.
///
+ /// [zone] - Deprecated. The name of the Google Compute Engine
+ /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ /// cluster resides. This field has been deprecated and replaced by the name
+ /// field.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -481,9 +481,9 @@
/// this method will complete with the same error.
async.Future<Cluster> get(
core.String name, {
- core.String zone,
core.String clusterId,
core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -496,15 +496,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
- }
if (clusterId != null) {
_queryParams['clusterId'] = [clusterId];
}
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -585,15 +585,15 @@
/// "-" matches all zones and all regions.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [projectId] - Deprecated. The Google Developers Console [project ID or
+ /// project number](https://support.google.com/cloud/answer/6158840). This
+ /// field has been deprecated and replaced by the parent field.
+ ///
/// [zone] - Deprecated. The name of the Google Compute Engine
/// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
/// cluster resides, or "-" for all zones. This field has been deprecated and
/// replaced by the parent field.
///
- /// [projectId] - Deprecated. The Google Developers Console [project ID or
- /// project number](https://support.google.com/cloud/answer/6158840). This
- /// field has been deprecated and replaced by the parent field.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -606,8 +606,8 @@
/// this method will complete with the same error.
async.Future<ListClustersResponse> list(
core.String parent, {
- core.String zone,
core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -620,12 +620,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
- }
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1428,18 +1428,18 @@
/// [clusterId] - Deprecated. The name of the cluster. This field has been
/// deprecated and replaced by the name field.
///
- /// [zone] - Deprecated. The name of the Google Compute Engine
- /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- /// cluster resides. This field has been deprecated and replaced by the name
- /// field.
+ /// [nodePoolId] - Deprecated. The name of the node pool to delete. This field
+ /// has been deprecated and replaced by the name field.
///
/// [projectId] - Deprecated. The Google Developers Console [project ID or
/// project
/// number](https://developers.google.com/console/help/new/#projectnumber).
/// This field has been deprecated and replaced by the name field.
///
- /// [nodePoolId] - Deprecated. The name of the node pool to delete. This field
- /// has been deprecated and replaced by the name field.
+ /// [zone] - Deprecated. The name of the Google Compute Engine
+ /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ /// cluster resides. This field has been deprecated and replaced by the name
+ /// field.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1454,9 +1454,9 @@
async.Future<Operation> delete(
core.String name, {
core.String clusterId,
- core.String zone,
- core.String projectId,
core.String nodePoolId,
+ core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -1472,14 +1472,14 @@
if (clusterId != null) {
_queryParams['clusterId'] = [clusterId];
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
+ if (nodePoolId != null) {
+ _queryParams['nodePoolId'] = [nodePoolId];
}
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
- if (nodePoolId != null) {
- _queryParams['nodePoolId'] = [nodePoolId];
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1512,11 +1512,6 @@
/// [clusterId] - Deprecated. The name of the cluster. This field has been
/// deprecated and replaced by the name field.
///
- /// [zone] - Deprecated. The name of the Google Compute Engine
- /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- /// cluster resides. This field has been deprecated and replaced by the name
- /// field.
- ///
/// [nodePoolId] - Deprecated. The name of the node pool. This field has been
/// deprecated and replaced by the name field.
///
@@ -1525,6 +1520,11 @@
/// number](https://developers.google.com/console/help/new/#projectnumber).
/// This field has been deprecated and replaced by the name field.
///
+ /// [zone] - Deprecated. The name of the Google Compute Engine
+ /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ /// cluster resides. This field has been deprecated and replaced by the name
+ /// field.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1538,9 +1538,9 @@
async.Future<NodePool> get(
core.String name, {
core.String clusterId,
- core.String zone,
core.String nodePoolId,
core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -1556,15 +1556,15 @@
if (clusterId != null) {
_queryParams['clusterId'] = [clusterId];
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
- }
if (nodePoolId != null) {
_queryParams['nodePoolId'] = [nodePoolId];
}
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1592,18 +1592,18 @@
/// /clusters / * `.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$".
///
- /// [zone] - Deprecated. The name of the Google Compute Engine
- /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- /// cluster resides. This field has been deprecated and replaced by the parent
- /// field.
+ /// [clusterId] - Deprecated. The name of the cluster. This field has been
+ /// deprecated and replaced by the parent field.
///
/// [projectId] - Deprecated. The Google Developers Console [project ID or
/// project
/// number](https://developers.google.com/console/help/new/#projectnumber).
/// This field has been deprecated and replaced by the parent field.
///
- /// [clusterId] - Deprecated. The name of the cluster. This field has been
- /// deprecated and replaced by the parent field.
+ /// [zone] - Deprecated. The name of the Google Compute Engine
+ /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ /// cluster resides. This field has been deprecated and replaced by the parent
+ /// field.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1617,9 +1617,9 @@
/// this method will complete with the same error.
async.Future<ListNodePoolsResponse> list(
core.String parent, {
- core.String zone,
- core.String projectId,
core.String clusterId,
+ core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -1632,14 +1632,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
+ if (clusterId != null) {
+ _queryParams['clusterId'] = [clusterId];
}
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
- if (clusterId != null) {
- _queryParams['clusterId'] = [clusterId];
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2094,17 +2094,17 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/operations/[^/]+$".
///
- /// [zone] - Deprecated. The name of the Google Compute Engine
- /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
- /// cluster resides. This field has been deprecated and replaced by the name
- /// field.
+ /// [operationId] - Deprecated. The server-assigned `name` of the operation.
+ /// This field has been deprecated and replaced by the name field.
///
/// [projectId] - Deprecated. The Google Developers Console [project ID or
/// project number](https://support.google.com/cloud/answer/6158840). This
/// field has been deprecated and replaced by the name field.
///
- /// [operationId] - Deprecated. The server-assigned `name` of the operation.
- /// This field has been deprecated and replaced by the name field.
+ /// [zone] - Deprecated. The name of the Google Compute Engine
+ /// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
+ /// cluster resides. This field has been deprecated and replaced by the name
+ /// field.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2118,9 +2118,9 @@
/// this method will complete with the same error.
async.Future<Operation> get(
core.String name, {
- core.String zone,
- core.String projectId,
core.String operationId,
+ core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -2133,14 +2133,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
+ if (operationId != null) {
+ _queryParams['operationId'] = [operationId];
}
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
- if (operationId != null) {
- _queryParams['operationId'] = [operationId];
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2169,15 +2169,15 @@
/// "-" matches all zones and all regions.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [projectId] - Deprecated. The Google Developers Console [project ID or
+ /// project number](https://support.google.com/cloud/answer/6158840). This
+ /// field has been deprecated and replaced by the parent field.
+ ///
/// [zone] - Deprecated. The name of the Google Compute Engine
/// [zone](https://cloud.google.com/compute/docs/zones#available) to return
/// operations for, or `-` for all zones. This field has been deprecated and
/// replaced by the parent field.
///
- /// [projectId] - Deprecated. The Google Developers Console [project ID or
- /// project number](https://support.google.com/cloud/answer/6158840). This
- /// field has been deprecated and replaced by the parent field.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2190,8 +2190,8 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String parent, {
- core.String zone,
core.String projectId,
+ core.String zone,
core.String $fields,
}) {
core.String _url;
@@ -2204,12 +2204,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (zone != null) {
- _queryParams['zone'] = [zone];
- }
if (projectId != null) {
_queryParams['projectId'] = [projectId];
}
+ if (zone != null) {
+ _queryParams['zone'] = [zone];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/customsearch/v1.dart b/generated/googleapis/lib/customsearch/v1.dart
index 8234676..2f9bbe3 100644
--- a/generated/googleapis/lib/customsearch/v1.dart
+++ b/generated/googleapis/lib/customsearch/v1.dart
@@ -54,61 +54,10 @@
///
/// Request parameters:
///
- /// [dateRestrict] - Restricts results to URLs based on date. Supported values
- /// include: * `d[number]`: requests results from the specified number of past
- /// days. * `w[number]`: requests results from the specified number of past
- /// weeks. * `m[number]`: requests results from the specified number of past
- /// months. * `y[number]`: requests results from the specified number of past
- /// years.
- ///
- /// [relatedSite] - Specifies that all search results should be pages that are
- /// related to the specified URL.
- ///
- /// [hl] - Sets the user interface language. * Explicitly setting this
- /// parameter improves the performance and the quality of your search results.
- /// * See the [Interface
- /// Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
- /// section of [Internationalizing Queries and Results
- /// Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
- /// for more information, and (Supported Interface
- /// Languages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]
- /// for a list of supported languages.
- ///
- /// [fileType] - Restricts results to files of a specified extension. A list
- /// of file types indexable by Google can be found in Search Console [Help
- /// Center](https://support.google.com/webmasters/answer/35287).
- ///
- /// [googlehost] - **Deprecated**. Use the `gl` parameter for a similar
- /// effect. The local Google domain (for example, google.com, google.de, or
- /// google.fr) to use to perform the search.
- ///
- /// [imgType] - Returns images of a type. Acceptable values are: * `"clipart"`
- /// * `"face"` * `"lineart"` * `"stock"` * `"photo"` * `"animated"`
- /// Possible string values are:
- /// - "imgTypeUndefined" : No image type specified.
- /// - "clipart" : Clipart-style images only.
- /// - "face" : Images of faces only.
- /// - "lineart" : Line art images only.
- /// - "stock" : Stock images only.
- /// - "photo" : Photo images only.
- /// - "animated" : Animated images only.
- ///
- /// [q] - Query
- ///
- /// [imgColorType] - Returns black and white, grayscale, transparent, or color
- /// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
- /// and white * `"trans"`: transparent background
- /// Possible string values are:
- /// - "imgColorTypeUndefined" : No image color type specified.
- /// - "mono" : Black and white images only.
- /// - "gray" : Grayscale images only.
- /// - "color" : Color images only.
- /// - "trans" : Images with transparent background
- ///
- /// [rights] - Filters based on licensing. Supported values include:
- /// `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`,
- /// `cc_nonderived` and combinations of these. See [typical
- /// combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
+ /// [c2coff] - Enables or disables [Simplified and Traditional Chinese
+ /// Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).
+ /// The default value for this parameter is 0 (zero), meaning that the feature
+ /// is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
///
/// [cr] - Restricts search results to documents originating in a particular
/// country. You may use [Boolean
@@ -122,27 +71,72 @@
///
/// [cx] - The Programmable Search Engine ID to use for this request.
///
- /// [siteSearchFilter] - Controls whether to include or exclude results from
- /// the site named in the `siteSearch` parameter. Acceptable values are: *
- /// `"e"`: exclude * `"i"`: include
- /// Possible string values are:
- /// - "siteSearchFilterUndefined" : Filter mode unspecified.
- /// - "e" : Exclude results from the listed sites.
- /// - "i" : Include only results from the listed sites.
+ /// [dateRestrict] - Restricts results to URLs based on date. Supported values
+ /// include: * `d[number]`: requests results from the specified number of past
+ /// days. * `w[number]`: requests results from the specified number of past
+ /// weeks. * `m[number]`: requests results from the specified number of past
+ /// months. * `y[number]`: requests results from the specified number of past
+ /// years.
///
- /// [orTerms] - Provides additional search terms to check for in a document,
- /// where each document in the search results must contain at least one of the
- /// additional search terms.
+ /// [exactTerms] - Identifies a phrase that all documents in the search
+ /// results must contain.
///
- /// [sort] - The sort expression to apply to the results. The sort parameter
- /// specifies that the results be sorted according to the specified expression
- /// i.e. sort by date. [Example:
- /// sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).
+ /// [excludeTerms] - Identifies a word or phrase that should not appear in any
+ /// documents in the search results.
+ ///
+ /// [fileType] - Restricts results to files of a specified extension. A list
+ /// of file types indexable by Google can be found in Search Console [Help
+ /// Center](https://support.google.com/webmasters/answer/35287).
+ ///
+ /// [filter] - Controls turning on or off the duplicate content filter. * See
+ /// [Automatic
+ /// Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
+ /// for more information about Google's search results filters. Note that host
+ /// crowding filtering applies only to multi-site searches. * By default,
+ /// Google applies filtering to all search results to improve the quality of
+ /// those results. Acceptable values are: * `0`: Turns off duplicate content
+ /// filter. * `1`: Turns on duplicate content filter.
+ ///
+ /// [gl] - Geolocation of end user. * The `gl` parameter value is a two-letter
+ /// country code. The `gl` parameter boosts search results whose country of
+ /// origin matches the parameter value. See the [Country
+ /// Codes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)
+ /// page for a list of valid values. * Specifying a `gl` parameter value
+ /// should lead to more relevant results. This is particularly true for
+ /// international customers and, even more specifically, for customers in
+ /// English- speaking countries other than the United States.
+ ///
+ /// [googlehost] - **Deprecated**. Use the `gl` parameter for a similar
+ /// effect. The local Google domain (for example, google.com, google.de, or
+ /// google.fr) to use to perform the search.
///
/// [highRange] - Specifies the ending value for a search range. * Use
/// `lowRange` and `highRange` to append an inclusive search range of
/// `lowRange...highRange` to the query.
///
+ /// [hl] - Sets the user interface language. * Explicitly setting this
+ /// parameter improves the performance and the quality of your search results.
+ /// * See the [Interface
+ /// Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
+ /// section of [Internationalizing Queries and Results
+ /// Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
+ /// for more information, and (Supported Interface
+ /// Languages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]
+ /// for a list of supported languages.
+ ///
+ /// [hq] - Appends the specified query terms to the query, as if they were
+ /// combined with a logical AND operator.
+ ///
+ /// [imgColorType] - Returns black and white, grayscale, transparent, or color
+ /// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
+ /// and white * `"trans"`: transparent background
+ /// Possible string values are:
+ /// - "imgColorTypeUndefined" : No image color type specified.
+ /// - "mono" : Black and white images only.
+ /// - "gray" : Grayscale images only.
+ /// - "color" : Color images only.
+ /// - "trans" : Images with transparent background
+ ///
/// [imgDominantColor] - Returns images of a specific dominant color.
/// Acceptable values are: * `"black"` * `"blue"` * `"brown"` * `"gray"` *
/// `"green"` * `"orange"` * `"pink"` * `"purple"` * `"red"` * `"teal"` *
@@ -162,38 +156,29 @@
/// - "white" : Predominantly white images only.
/// - "yellow" : Predominantly yellow images only.
///
- /// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
- /// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
+ /// [imgSize] - Returns images of a specified size. Acceptable values are: *
+ /// `"huge"` * `"icon"` * `"large"` * `"medium"` * `"small"` * `"xlarge"` *
+ /// `"xxlarge"`
/// Possible string values are:
- /// - "safeUndefined" : SafeSearch mode unspecified. (Falls back to engine's
- /// configuration.)
- /// - "active" : Turn SafeSearch on.
- /// - "high" : Deprecated, equivalent to "active".
- /// - "medium" : Deprecated, equivalent to "active".
- /// - "off" : Turn SafeSearch off.
+ /// - "imgSizeUndefined" : No image size specified.
+ /// - "HUGE" : Only the largest possible images.
+ /// - "ICON" : Only very small icon-sized images.
+ /// - "LARGE" : Only large images.
+ /// - "MEDIUM" : Only medium images.
+ /// - "SMALL" : Only small images.
+ /// - "XLARGE" : Only very large images.
+ /// - "XXLARGE" : Only extremely large images.
///
- /// [num] - Number of search results to return. * Valid values are integers
- /// between 1 and 10, inclusive.
- ///
- /// [filter] - Controls turning on or off the duplicate content filter. * See
- /// [Automatic
- /// Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
- /// for more information about Google's search results filters. Note that host
- /// crowding filtering applies only to multi-site searches. * By default,
- /// Google applies filtering to all search results to improve the quality of
- /// those results. Acceptable values are: * `0`: Turns off duplicate content
- /// filter. * `1`: Turns on duplicate content filter.
- ///
- /// [searchType] - Specifies the search type: `image`. If unspecified, results
- /// are limited to webpages. Acceptable values are: * `"image"`: custom image
- /// search.
+ /// [imgType] - Returns images of a type. Acceptable values are: * `"clipart"`
+ /// * `"face"` * `"lineart"` * `"stock"` * `"photo"` * `"animated"`
/// Possible string values are:
- /// - "searchTypeUndefined" : Search type unspecified (defaults to web
- /// search).
- /// - "image" : Image search.
- ///
- /// [exactTerms] - Identifies a phrase that all documents in the search
- /// results must contain.
+ /// - "imgTypeUndefined" : No image type specified.
+ /// - "clipart" : Clipart-style images only.
+ /// - "face" : Images of faces only.
+ /// - "lineart" : Line art images only.
+ /// - "stock" : Stock images only.
+ /// - "photo" : Photo images only.
+ /// - "animated" : Animated images only.
///
/// [linkSite] - Specifies that all search results should contain a link to a
/// particular URL.
@@ -202,30 +187,6 @@
/// `lowRange` and `highRange` to append an inclusive search range of
/// `lowRange...highRange` to the query.
///
- /// [gl] - Geolocation of end user. * The `gl` parameter value is a two-letter
- /// country code. The `gl` parameter boosts search results whose country of
- /// origin matches the parameter value. See the [Country
- /// Codes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)
- /// page for a list of valid values. * Specifying a `gl` parameter value
- /// should lead to more relevant results. This is particularly true for
- /// international customers and, even more specifically, for customers in
- /// English- speaking countries other than the United States.
- ///
- /// [excludeTerms] - Identifies a word or phrase that should not appear in any
- /// documents in the search results.
- ///
- /// [c2coff] - Enables or disables [Simplified and Traditional Chinese
- /// Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).
- /// The default value for this parameter is 0 (zero), meaning that the feature
- /// is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
- ///
- /// [start] - The index of the first result to return. The default number of
- /// results per page is 10, so `&start=11` would start at the top of the
- /// second page of results. **Note**: The JSON API will never return more than
- /// 100 results, even if more than 100 documents match the query, so setting
- /// the sum of `start + num` to a number greater than 100 will produce an
- /// error. Also note that the maximum value for `num` is 10.
- ///
/// [lr] - Restricts the search to documents written in a particular language
/// (e.g., `lr=lang_ja`). Acceptable values are: * `"lang_ar"`: Arabic *
/// `"lang_bg"`: Bulgarian * `"lang_ca"`: Catalan * `"lang_cs"`: Czech *
@@ -241,24 +202,63 @@
/// `"lang_sv"`: Swedish * `"lang_tr"`: Turkish * `"lang_zh-CN"`: Chinese
/// (Simplified) * `"lang_zh-TW"`: Chinese (Traditional)
///
- /// [imgSize] - Returns images of a specified size. Acceptable values are: *
- /// `"huge"` * `"icon"` * `"large"` * `"medium"` * `"small"` * `"xlarge"` *
- /// `"xxlarge"`
+ /// [num] - Number of search results to return. * Valid values are integers
+ /// between 1 and 10, inclusive.
+ ///
+ /// [orTerms] - Provides additional search terms to check for in a document,
+ /// where each document in the search results must contain at least one of the
+ /// additional search terms.
+ ///
+ /// [q] - Query
+ ///
+ /// [relatedSite] - Specifies that all search results should be pages that are
+ /// related to the specified URL.
+ ///
+ /// [rights] - Filters based on licensing. Supported values include:
+ /// `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`,
+ /// `cc_nonderived` and combinations of these. See [typical
+ /// combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
+ ///
+ /// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
+ /// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
/// Possible string values are:
- /// - "imgSizeUndefined" : No image size specified.
- /// - "HUGE" : Only the largest possible images.
- /// - "ICON" : Only very small icon-sized images.
- /// - "LARGE" : Only large images.
- /// - "MEDIUM" : Only medium images.
- /// - "SMALL" : Only small images.
- /// - "XLARGE" : Only very large images.
- /// - "XXLARGE" : Only extremely large images.
+ /// - "safeUndefined" : SafeSearch mode unspecified. (Falls back to engine's
+ /// configuration.)
+ /// - "active" : Turn SafeSearch on.
+ /// - "high" : Deprecated, equivalent to "active".
+ /// - "medium" : Deprecated, equivalent to "active".
+ /// - "off" : Turn SafeSearch off.
+ ///
+ /// [searchType] - Specifies the search type: `image`. If unspecified, results
+ /// are limited to webpages. Acceptable values are: * `"image"`: custom image
+ /// search.
+ /// Possible string values are:
+ /// - "searchTypeUndefined" : Search type unspecified (defaults to web
+ /// search).
+ /// - "image" : Image search.
///
/// [siteSearch] - Specifies a given site which should always be included or
/// excluded from results (see `siteSearchFilter` parameter, below).
///
- /// [hq] - Appends the specified query terms to the query, as if they were
- /// combined with a logical AND operator.
+ /// [siteSearchFilter] - Controls whether to include or exclude results from
+ /// the site named in the `siteSearch` parameter. Acceptable values are: *
+ /// `"e"`: exclude * `"i"`: include
+ /// Possible string values are:
+ /// - "siteSearchFilterUndefined" : Filter mode unspecified.
+ /// - "e" : Exclude results from the listed sites.
+ /// - "i" : Include only results from the listed sites.
+ ///
+ /// [sort] - The sort expression to apply to the results. The sort parameter
+ /// specifies that the results be sorted according to the specified expression
+ /// i.e. sort by date. [Example:
+ /// sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).
+ ///
+ /// [start] - The index of the first result to return. The default number of
+ /// results per page is 10, so `&start=11` would start at the top of the
+ /// second page of results. **Note**: The JSON API will never return more than
+ /// 100 results, even if more than 100 documents match the query, so setting
+ /// the sum of `start + num` to a number greater than 100 will produce an
+ /// error. Also note that the maximum value for `num` is 10.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -271,37 +271,37 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Search> list({
- core.String dateRestrict,
- core.String relatedSite,
- core.String hl,
- core.String fileType,
- core.String googlehost,
- core.String imgType,
- core.String q,
- core.String imgColorType,
- core.String rights,
+ core.String c2coff,
core.String cr,
core.String cx,
- core.String siteSearchFilter,
- core.String orTerms,
- core.String sort,
- core.String highRange,
- core.String imgDominantColor,
- core.String safe,
- core.int num,
- core.String filter,
- core.String searchType,
+ core.String dateRestrict,
core.String exactTerms,
+ core.String excludeTerms,
+ core.String fileType,
+ core.String filter,
+ core.String gl,
+ core.String googlehost,
+ core.String highRange,
+ core.String hl,
+ core.String hq,
+ core.String imgColorType,
+ core.String imgDominantColor,
+ core.String imgSize,
+ core.String imgType,
core.String linkSite,
core.String lowRange,
- core.String gl,
- core.String excludeTerms,
- core.String c2coff,
- core.int start,
core.String lr,
- core.String imgSize,
+ core.int num,
+ core.String orTerms,
+ core.String q,
+ core.String relatedSite,
+ core.String rights,
+ core.String safe,
+ core.String searchType,
core.String siteSearch,
- core.String hq,
+ core.String siteSearchFilter,
+ core.String sort,
+ core.int start,
core.String $fields,
}) {
core.String _url;
@@ -311,32 +311,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (dateRestrict != null) {
- _queryParams['dateRestrict'] = [dateRestrict];
- }
- if (relatedSite != null) {
- _queryParams['relatedSite'] = [relatedSite];
- }
- if (hl != null) {
- _queryParams['hl'] = [hl];
- }
- if (fileType != null) {
- _queryParams['fileType'] = [fileType];
- }
- if (googlehost != null) {
- _queryParams['googlehost'] = [googlehost];
- }
- if (imgType != null) {
- _queryParams['imgType'] = [imgType];
- }
- if (q != null) {
- _queryParams['q'] = [q];
- }
- if (imgColorType != null) {
- _queryParams['imgColorType'] = [imgColorType];
- }
- if (rights != null) {
- _queryParams['rights'] = [rights];
+ if (c2coff != null) {
+ _queryParams['c2coff'] = [c2coff];
}
if (cr != null) {
_queryParams['cr'] = [cr];
@@ -344,35 +320,47 @@
if (cx != null) {
_queryParams['cx'] = [cx];
}
- if (siteSearchFilter != null) {
- _queryParams['siteSearchFilter'] = [siteSearchFilter];
+ if (dateRestrict != null) {
+ _queryParams['dateRestrict'] = [dateRestrict];
}
- if (orTerms != null) {
- _queryParams['orTerms'] = [orTerms];
+ if (exactTerms != null) {
+ _queryParams['exactTerms'] = [exactTerms];
}
- if (sort != null) {
- _queryParams['sort'] = [sort];
+ if (excludeTerms != null) {
+ _queryParams['excludeTerms'] = [excludeTerms];
}
- if (highRange != null) {
- _queryParams['highRange'] = [highRange];
- }
- if (imgDominantColor != null) {
- _queryParams['imgDominantColor'] = [imgDominantColor];
- }
- if (safe != null) {
- _queryParams['safe'] = [safe];
- }
- if (num != null) {
- _queryParams['num'] = ['${num}'];
+ if (fileType != null) {
+ _queryParams['fileType'] = [fileType];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (searchType != null) {
- _queryParams['searchType'] = [searchType];
+ if (gl != null) {
+ _queryParams['gl'] = [gl];
}
- if (exactTerms != null) {
- _queryParams['exactTerms'] = [exactTerms];
+ if (googlehost != null) {
+ _queryParams['googlehost'] = [googlehost];
+ }
+ if (highRange != null) {
+ _queryParams['highRange'] = [highRange];
+ }
+ if (hl != null) {
+ _queryParams['hl'] = [hl];
+ }
+ if (hq != null) {
+ _queryParams['hq'] = [hq];
+ }
+ if (imgColorType != null) {
+ _queryParams['imgColorType'] = [imgColorType];
+ }
+ if (imgDominantColor != null) {
+ _queryParams['imgDominantColor'] = [imgDominantColor];
+ }
+ if (imgSize != null) {
+ _queryParams['imgSize'] = [imgSize];
+ }
+ if (imgType != null) {
+ _queryParams['imgType'] = [imgType];
}
if (linkSite != null) {
_queryParams['linkSite'] = [linkSite];
@@ -380,29 +368,41 @@
if (lowRange != null) {
_queryParams['lowRange'] = [lowRange];
}
- if (gl != null) {
- _queryParams['gl'] = [gl];
- }
- if (excludeTerms != null) {
- _queryParams['excludeTerms'] = [excludeTerms];
- }
- if (c2coff != null) {
- _queryParams['c2coff'] = [c2coff];
- }
- if (start != null) {
- _queryParams['start'] = ['${start}'];
- }
if (lr != null) {
_queryParams['lr'] = [lr];
}
- if (imgSize != null) {
- _queryParams['imgSize'] = [imgSize];
+ if (num != null) {
+ _queryParams['num'] = ['${num}'];
+ }
+ if (orTerms != null) {
+ _queryParams['orTerms'] = [orTerms];
+ }
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
+ if (relatedSite != null) {
+ _queryParams['relatedSite'] = [relatedSite];
+ }
+ if (rights != null) {
+ _queryParams['rights'] = [rights];
+ }
+ if (safe != null) {
+ _queryParams['safe'] = [safe];
+ }
+ if (searchType != null) {
+ _queryParams['searchType'] = [searchType];
}
if (siteSearch != null) {
_queryParams['siteSearch'] = [siteSearch];
}
- if (hq != null) {
- _queryParams['hq'] = [hq];
+ if (siteSearchFilter != null) {
+ _queryParams['siteSearchFilter'] = [siteSearchFilter];
+ }
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
+ }
+ if (start != null) {
+ _queryParams['start'] = ['${start}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -434,114 +434,10 @@
///
/// Request parameters:
///
- /// [relatedSite] - Specifies that all search results should be pages that are
- /// related to the specified URL.
- ///
- /// [cx] - The Programmable Search Engine ID to use for this request.
- ///
- /// [hl] - Sets the user interface language. * Explicitly setting this
- /// parameter improves the performance and the quality of your search results.
- /// * See the [Interface
- /// Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
- /// section of [Internationalizing Queries and Results
- /// Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
- /// for more information, and (Supported Interface
- /// Languages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]
- /// for a list of supported languages.
- ///
- /// [imgType] - Returns images of a type. Acceptable values are: * `"clipart"`
- /// * `"face"` * `"lineart"` * `"stock"` * `"photo"` * `"animated"`
- /// Possible string values are:
- /// - "imgTypeUndefined" : No image type specified.
- /// - "clipart" : Clipart-style images only.
- /// - "face" : Images of faces only.
- /// - "lineart" : Line art images only.
- /// - "stock" : Stock images only.
- /// - "photo" : Photo images only.
- /// - "animated" : Animated images only.
- ///
- /// [siteSearch] - Specifies a given site which should always be included or
- /// excluded from results (see `siteSearchFilter` parameter, below).
- ///
- /// [lowRange] - Specifies the starting value for a search range. Use
- /// `lowRange` and `highRange` to append an inclusive search range of
- /// `lowRange...highRange` to the query.
- ///
- /// [gl] - Geolocation of end user. * The `gl` parameter value is a two-letter
- /// country code. The `gl` parameter boosts search results whose country of
- /// origin matches the parameter value. See the [Country
- /// Codes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)
- /// page for a list of valid values. * Specifying a `gl` parameter value
- /// should lead to more relevant results. This is particularly true for
- /// international customers and, even more specifically, for customers in
- /// English- speaking countries other than the United States.
- ///
- /// [filter] - Controls turning on or off the duplicate content filter. * See
- /// [Automatic
- /// Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
- /// for more information about Google's search results filters. Note that host
- /// crowding filtering applies only to multi-site searches. * By default,
- /// Google applies filtering to all search results to improve the quality of
- /// those results. Acceptable values are: * `0`: Turns off duplicate content
- /// filter. * `1`: Turns on duplicate content filter.
- ///
- /// [q] - Query
- ///
- /// [siteSearchFilter] - Controls whether to include or exclude results from
- /// the site named in the `siteSearch` parameter. Acceptable values are: *
- /// `"e"`: exclude * `"i"`: include
- /// Possible string values are:
- /// - "siteSearchFilterUndefined" : Filter mode unspecified.
- /// - "e" : Exclude results from the listed sites.
- /// - "i" : Include only results from the listed sites.
- ///
- /// [hq] - Appends the specified query terms to the query, as if they were
- /// combined with a logical AND operator.
- ///
- /// [num] - Number of search results to return. * Valid values are integers
- /// between 1 and 10, inclusive.
- ///
- /// [orTerms] - Provides additional search terms to check for in a document,
- /// where each document in the search results must contain at least one of the
- /// additional search terms.
- ///
- /// [lr] - Restricts the search to documents written in a particular language
- /// (e.g., `lr=lang_ja`). Acceptable values are: * `"lang_ar"`: Arabic *
- /// `"lang_bg"`: Bulgarian * `"lang_ca"`: Catalan * `"lang_cs"`: Czech *
- /// `"lang_da"`: Danish * `"lang_de"`: German * `"lang_el"`: Greek *
- /// `"lang_en"`: English * `"lang_es"`: Spanish * `"lang_et"`: Estonian *
- /// `"lang_fi"`: Finnish * `"lang_fr"`: French * `"lang_hr"`: Croatian *
- /// `"lang_hu"`: Hungarian * `"lang_id"`: Indonesian * `"lang_is"`: Icelandic
- /// * `"lang_it"`: Italian * `"lang_iw"`: Hebrew * `"lang_ja"`: Japanese *
- /// `"lang_ko"`: Korean * `"lang_lt"`: Lithuanian * `"lang_lv"`: Latvian *
- /// `"lang_nl"`: Dutch * `"lang_no"`: Norwegian * `"lang_pl"`: Polish *
- /// `"lang_pt"`: Portuguese * `"lang_ro"`: Romanian * `"lang_ru"`: Russian *
- /// `"lang_sk"`: Slovak * `"lang_sl"`: Slovenian * `"lang_sr"`: Serbian *
- /// `"lang_sv"`: Swedish * `"lang_tr"`: Turkish * `"lang_zh-CN"`: Chinese
- /// (Simplified) * `"lang_zh-TW"`: Chinese (Traditional)
- ///
- /// [rights] - Filters based on licensing. Supported values include:
- /// `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`,
- /// `cc_nonderived` and combinations of these. See [typical
- /// combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
- ///
- /// [sort] - The sort expression to apply to the results. The sort parameter
- /// specifies that the results be sorted according to the specified expression
- /// i.e. sort by date. [Example:
- /// sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).
- ///
- /// [imgSize] - Returns images of a specified size. Acceptable values are: *
- /// `"huge"` * `"icon"` * `"large"` * `"medium"` * `"small"` * `"xlarge"` *
- /// `"xxlarge"`
- /// Possible string values are:
- /// - "imgSizeUndefined" : No image size specified.
- /// - "HUGE" : Only the largest possible images.
- /// - "ICON" : Only very small icon-sized images.
- /// - "LARGE" : Only large images.
- /// - "MEDIUM" : Only medium images.
- /// - "SMALL" : Only small images.
- /// - "XLARGE" : Only very large images.
- /// - "XXLARGE" : Only extremely large images.
+ /// [c2coff] - Enables or disables [Simplified and Traditional Chinese
+ /// Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).
+ /// The default value for this parameter is 0 (zero), meaning that the feature
+ /// is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
///
/// [cr] - Restricts search results to documents originating in a particular
/// country. You may use [Boolean
@@ -553,6 +449,8 @@
/// Values](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCollections)
/// page for a list of valid values for this parameter.
///
+ /// [cx] - The Programmable Search Engine ID to use for this request.
+ ///
/// [dateRestrict] - Restricts results to URLs based on date. Supported values
/// include: * `d[number]`: requests results from the specified number of past
/// days. * `w[number]`: requests results from the specified number of past
@@ -560,42 +458,64 @@
/// months. * `y[number]`: requests results from the specified number of past
/// years.
///
- /// [start] - The index of the first result to return. The default number of
- /// results per page is 10, so `&start=11` would start at the top of the
- /// second page of results. **Note**: The JSON API will never return more than
- /// 100 results, even if more than 100 documents match the query, so setting
- /// the sum of `start + num` to a number greater than 100 will produce an
- /// error. Also note that the maximum value for `num` is 10.
+ /// [exactTerms] - Identifies a phrase that all documents in the search
+ /// results must contain.
///
- /// [linkSite] - Specifies that all search results should contain a link to a
- /// particular URL.
- ///
- /// [searchType] - Specifies the search type: `image`. If unspecified, results
- /// are limited to webpages. Acceptable values are: * `"image"`: custom image
- /// search.
- /// Possible string values are:
- /// - "searchTypeUndefined" : Search type unspecified (defaults to web
- /// search).
- /// - "image" : Image search.
+ /// [excludeTerms] - Identifies a word or phrase that should not appear in any
+ /// documents in the search results.
///
/// [fileType] - Restricts results to files of a specified extension. A list
/// of file types indexable by Google can be found in Search Console [Help
/// Center](https://support.google.com/webmasters/answer/35287).
///
+ /// [filter] - Controls turning on or off the duplicate content filter. * See
+ /// [Automatic
+ /// Filtering](https://developers.google.com/custom-search/docs/xml_results#automaticFiltering)
+ /// for more information about Google's search results filters. Note that host
+ /// crowding filtering applies only to multi-site searches. * By default,
+ /// Google applies filtering to all search results to improve the quality of
+ /// those results. Acceptable values are: * `0`: Turns off duplicate content
+ /// filter. * `1`: Turns on duplicate content filter.
+ ///
+ /// [gl] - Geolocation of end user. * The `gl` parameter value is a two-letter
+ /// country code. The `gl` parameter boosts search results whose country of
+ /// origin matches the parameter value. See the [Country
+ /// Codes](https://developers.google.com/custom-search/docs/xml_results_appendices#countryCodes)
+ /// page for a list of valid values. * Specifying a `gl` parameter value
+ /// should lead to more relevant results. This is particularly true for
+ /// international customers and, even more specifically, for customers in
+ /// English- speaking countries other than the United States.
+ ///
+ /// [googlehost] - **Deprecated**. Use the `gl` parameter for a similar
+ /// effect. The local Google domain (for example, google.com, google.de, or
+ /// google.fr) to use to perform the search.
+ ///
/// [highRange] - Specifies the ending value for a search range. * Use
/// `lowRange` and `highRange` to append an inclusive search range of
/// `lowRange...highRange` to the query.
///
- /// [exactTerms] - Identifies a phrase that all documents in the search
- /// results must contain.
+ /// [hl] - Sets the user interface language. * Explicitly setting this
+ /// parameter improves the performance and the quality of your search results.
+ /// * See the [Interface
+ /// Languages](https://developers.google.com/custom-search/docs/xml_results#wsInterfaceLanguages)
+ /// section of [Internationalizing Queries and Results
+ /// Presentation](https://developers.google.com/custom-search/docs/xml_results#wsInternationalizing)
+ /// for more information, and (Supported Interface
+ /// Languages)[https://developers.google.com/custom-search/docs/xml_results_appendices#interfaceLanguages]
+ /// for a list of supported languages.
///
- /// [c2coff] - Enables or disables [Simplified and Traditional Chinese
- /// Search](https://developers.google.com/custom-search/docs/xml_results#chineseSearch).
- /// The default value for this parameter is 0 (zero), meaning that the feature
- /// is enabled. Supported values are: * `1`: Disabled * `0`: Enabled (default)
+ /// [hq] - Appends the specified query terms to the query, as if they were
+ /// combined with a logical AND operator.
///
- /// [excludeTerms] - Identifies a word or phrase that should not appear in any
- /// documents in the search results.
+ /// [imgColorType] - Returns black and white, grayscale, transparent, or color
+ /// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
+ /// and white * `"trans"`: transparent background
+ /// Possible string values are:
+ /// - "imgColorTypeUndefined" : No image color type specified.
+ /// - "mono" : Black and white images only.
+ /// - "gray" : Grayscale images only.
+ /// - "color" : Color images only.
+ /// - "trans" : Images with transparent background
///
/// [imgDominantColor] - Returns images of a specific dominant color.
/// Acceptable values are: * `"black"` * `"blue"` * `"brown"` * `"gray"` *
@@ -616,6 +536,69 @@
/// - "white" : Predominantly white images only.
/// - "yellow" : Predominantly yellow images only.
///
+ /// [imgSize] - Returns images of a specified size. Acceptable values are: *
+ /// `"huge"` * `"icon"` * `"large"` * `"medium"` * `"small"` * `"xlarge"` *
+ /// `"xxlarge"`
+ /// Possible string values are:
+ /// - "imgSizeUndefined" : No image size specified.
+ /// - "HUGE" : Only the largest possible images.
+ /// - "ICON" : Only very small icon-sized images.
+ /// - "LARGE" : Only large images.
+ /// - "MEDIUM" : Only medium images.
+ /// - "SMALL" : Only small images.
+ /// - "XLARGE" : Only very large images.
+ /// - "XXLARGE" : Only extremely large images.
+ ///
+ /// [imgType] - Returns images of a type. Acceptable values are: * `"clipart"`
+ /// * `"face"` * `"lineart"` * `"stock"` * `"photo"` * `"animated"`
+ /// Possible string values are:
+ /// - "imgTypeUndefined" : No image type specified.
+ /// - "clipart" : Clipart-style images only.
+ /// - "face" : Images of faces only.
+ /// - "lineart" : Line art images only.
+ /// - "stock" : Stock images only.
+ /// - "photo" : Photo images only.
+ /// - "animated" : Animated images only.
+ ///
+ /// [linkSite] - Specifies that all search results should contain a link to a
+ /// particular URL.
+ ///
+ /// [lowRange] - Specifies the starting value for a search range. Use
+ /// `lowRange` and `highRange` to append an inclusive search range of
+ /// `lowRange...highRange` to the query.
+ ///
+ /// [lr] - Restricts the search to documents written in a particular language
+ /// (e.g., `lr=lang_ja`). Acceptable values are: * `"lang_ar"`: Arabic *
+ /// `"lang_bg"`: Bulgarian * `"lang_ca"`: Catalan * `"lang_cs"`: Czech *
+ /// `"lang_da"`: Danish * `"lang_de"`: German * `"lang_el"`: Greek *
+ /// `"lang_en"`: English * `"lang_es"`: Spanish * `"lang_et"`: Estonian *
+ /// `"lang_fi"`: Finnish * `"lang_fr"`: French * `"lang_hr"`: Croatian *
+ /// `"lang_hu"`: Hungarian * `"lang_id"`: Indonesian * `"lang_is"`: Icelandic
+ /// * `"lang_it"`: Italian * `"lang_iw"`: Hebrew * `"lang_ja"`: Japanese *
+ /// `"lang_ko"`: Korean * `"lang_lt"`: Lithuanian * `"lang_lv"`: Latvian *
+ /// `"lang_nl"`: Dutch * `"lang_no"`: Norwegian * `"lang_pl"`: Polish *
+ /// `"lang_pt"`: Portuguese * `"lang_ro"`: Romanian * `"lang_ru"`: Russian *
+ /// `"lang_sk"`: Slovak * `"lang_sl"`: Slovenian * `"lang_sr"`: Serbian *
+ /// `"lang_sv"`: Swedish * `"lang_tr"`: Turkish * `"lang_zh-CN"`: Chinese
+ /// (Simplified) * `"lang_zh-TW"`: Chinese (Traditional)
+ ///
+ /// [num] - Number of search results to return. * Valid values are integers
+ /// between 1 and 10, inclusive.
+ ///
+ /// [orTerms] - Provides additional search terms to check for in a document,
+ /// where each document in the search results must contain at least one of the
+ /// additional search terms.
+ ///
+ /// [q] - Query
+ ///
+ /// [relatedSite] - Specifies that all search results should be pages that are
+ /// related to the specified URL.
+ ///
+ /// [rights] - Filters based on licensing. Supported values include:
+ /// `cc_publicdomain`, `cc_attribute`, `cc_sharealike`, `cc_noncommercial`,
+ /// `cc_nonderived` and combinations of these. See [typical
+ /// combinations](https://wiki.creativecommons.org/wiki/CC_Search_integration).
+ ///
/// [safe] - Search safety level. Acceptable values are: * `"active"`: Enables
/// SafeSearch filtering. * `"off"`: Disables SafeSearch filtering. (default)
/// Possible string values are:
@@ -626,19 +609,36 @@
/// - "medium" : Deprecated, equivalent to "active".
/// - "off" : Turn SafeSearch off.
///
- /// [imgColorType] - Returns black and white, grayscale, transparent, or color
- /// images. Acceptable values are: * `"color"` * `"gray"` * `"mono"`: black
- /// and white * `"trans"`: transparent background
+ /// [searchType] - Specifies the search type: `image`. If unspecified, results
+ /// are limited to webpages. Acceptable values are: * `"image"`: custom image
+ /// search.
/// Possible string values are:
- /// - "imgColorTypeUndefined" : No image color type specified.
- /// - "mono" : Black and white images only.
- /// - "gray" : Grayscale images only.
- /// - "color" : Color images only.
- /// - "trans" : Images with transparent background
+ /// - "searchTypeUndefined" : Search type unspecified (defaults to web
+ /// search).
+ /// - "image" : Image search.
///
- /// [googlehost] - **Deprecated**. Use the `gl` parameter for a similar
- /// effect. The local Google domain (for example, google.com, google.de, or
- /// google.fr) to use to perform the search.
+ /// [siteSearch] - Specifies a given site which should always be included or
+ /// excluded from results (see `siteSearchFilter` parameter, below).
+ ///
+ /// [siteSearchFilter] - Controls whether to include or exclude results from
+ /// the site named in the `siteSearch` parameter. Acceptable values are: *
+ /// `"e"`: exclude * `"i"`: include
+ /// Possible string values are:
+ /// - "siteSearchFilterUndefined" : Filter mode unspecified.
+ /// - "e" : Exclude results from the listed sites.
+ /// - "i" : Include only results from the listed sites.
+ ///
+ /// [sort] - The sort expression to apply to the results. The sort parameter
+ /// specifies that the results be sorted according to the specified expression
+ /// i.e. sort by date. [Example:
+ /// sort=date](https://developers.google.com/custom-search/docs/structured_search#sort-by-attribute).
+ ///
+ /// [start] - The index of the first result to return. The default number of
+ /// results per page is 10, so `&start=11` would start at the top of the
+ /// second page of results. **Note**: The JSON API will never return more than
+ /// 100 results, even if more than 100 documents match the query, so setting
+ /// the sum of `start + num` to a number greater than 100 will produce an
+ /// error. Also note that the maximum value for `num` is 10.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -651,37 +651,37 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Search> list({
- core.String relatedSite,
+ core.String c2coff,
+ core.String cr,
core.String cx,
- core.String hl,
- core.String imgType,
- core.String siteSearch,
- core.String lowRange,
- core.String gl,
+ core.String dateRestrict,
+ core.String exactTerms,
+ core.String excludeTerms,
+ core.String fileType,
core.String filter,
- core.String q,
- core.String siteSearchFilter,
+ core.String gl,
+ core.String googlehost,
+ core.String highRange,
+ core.String hl,
core.String hq,
+ core.String imgColorType,
+ core.String imgDominantColor,
+ core.String imgSize,
+ core.String imgType,
+ core.String linkSite,
+ core.String lowRange,
+ core.String lr,
core.int num,
core.String orTerms,
- core.String lr,
+ core.String q,
+ core.String relatedSite,
core.String rights,
- core.String sort,
- core.String imgSize,
- core.String cr,
- core.String dateRestrict,
- core.int start,
- core.String linkSite,
- core.String searchType,
- core.String fileType,
- core.String highRange,
- core.String exactTerms,
- core.String c2coff,
- core.String excludeTerms,
- core.String imgDominantColor,
core.String safe,
- core.String imgColorType,
- core.String googlehost,
+ core.String searchType,
+ core.String siteSearch,
+ core.String siteSearchFilter,
+ core.String sort,
+ core.int start,
core.String $fields,
}) {
core.String _url;
@@ -691,98 +691,98 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (relatedSite != null) {
- _queryParams['relatedSite'] = [relatedSite];
+ if (c2coff != null) {
+ _queryParams['c2coff'] = [c2coff];
+ }
+ if (cr != null) {
+ _queryParams['cr'] = [cr];
}
if (cx != null) {
_queryParams['cx'] = [cx];
}
- if (hl != null) {
- _queryParams['hl'] = [hl];
+ if (dateRestrict != null) {
+ _queryParams['dateRestrict'] = [dateRestrict];
}
- if (imgType != null) {
- _queryParams['imgType'] = [imgType];
+ if (exactTerms != null) {
+ _queryParams['exactTerms'] = [exactTerms];
}
- if (siteSearch != null) {
- _queryParams['siteSearch'] = [siteSearch];
+ if (excludeTerms != null) {
+ _queryParams['excludeTerms'] = [excludeTerms];
}
- if (lowRange != null) {
- _queryParams['lowRange'] = [lowRange];
- }
- if (gl != null) {
- _queryParams['gl'] = [gl];
+ if (fileType != null) {
+ _queryParams['fileType'] = [fileType];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (q != null) {
- _queryParams['q'] = [q];
+ if (gl != null) {
+ _queryParams['gl'] = [gl];
}
- if (siteSearchFilter != null) {
- _queryParams['siteSearchFilter'] = [siteSearchFilter];
+ if (googlehost != null) {
+ _queryParams['googlehost'] = [googlehost];
+ }
+ if (highRange != null) {
+ _queryParams['highRange'] = [highRange];
+ }
+ if (hl != null) {
+ _queryParams['hl'] = [hl];
}
if (hq != null) {
_queryParams['hq'] = [hq];
}
+ if (imgColorType != null) {
+ _queryParams['imgColorType'] = [imgColorType];
+ }
+ if (imgDominantColor != null) {
+ _queryParams['imgDominantColor'] = [imgDominantColor];
+ }
+ if (imgSize != null) {
+ _queryParams['imgSize'] = [imgSize];
+ }
+ if (imgType != null) {
+ _queryParams['imgType'] = [imgType];
+ }
+ if (linkSite != null) {
+ _queryParams['linkSite'] = [linkSite];
+ }
+ if (lowRange != null) {
+ _queryParams['lowRange'] = [lowRange];
+ }
+ if (lr != null) {
+ _queryParams['lr'] = [lr];
+ }
if (num != null) {
_queryParams['num'] = ['${num}'];
}
if (orTerms != null) {
_queryParams['orTerms'] = [orTerms];
}
- if (lr != null) {
- _queryParams['lr'] = [lr];
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
+ if (relatedSite != null) {
+ _queryParams['relatedSite'] = [relatedSite];
}
if (rights != null) {
_queryParams['rights'] = [rights];
}
- if (sort != null) {
- _queryParams['sort'] = [sort];
- }
- if (imgSize != null) {
- _queryParams['imgSize'] = [imgSize];
- }
- if (cr != null) {
- _queryParams['cr'] = [cr];
- }
- if (dateRestrict != null) {
- _queryParams['dateRestrict'] = [dateRestrict];
- }
- if (start != null) {
- _queryParams['start'] = ['${start}'];
- }
- if (linkSite != null) {
- _queryParams['linkSite'] = [linkSite];
+ if (safe != null) {
+ _queryParams['safe'] = [safe];
}
if (searchType != null) {
_queryParams['searchType'] = [searchType];
}
- if (fileType != null) {
- _queryParams['fileType'] = [fileType];
+ if (siteSearch != null) {
+ _queryParams['siteSearch'] = [siteSearch];
}
- if (highRange != null) {
- _queryParams['highRange'] = [highRange];
+ if (siteSearchFilter != null) {
+ _queryParams['siteSearchFilter'] = [siteSearchFilter];
}
- if (exactTerms != null) {
- _queryParams['exactTerms'] = [exactTerms];
+ if (sort != null) {
+ _queryParams['sort'] = [sort];
}
- if (c2coff != null) {
- _queryParams['c2coff'] = [c2coff];
- }
- if (excludeTerms != null) {
- _queryParams['excludeTerms'] = [excludeTerms];
- }
- if (imgDominantColor != null) {
- _queryParams['imgDominantColor'] = [imgDominantColor];
- }
- if (safe != null) {
- _queryParams['safe'] = [safe];
- }
- if (imgColorType != null) {
- _queryParams['imgColorType'] = [imgColorType];
- }
- if (googlehost != null) {
- _queryParams['googlehost'] = [googlehost];
+ if (start != null) {
+ _queryParams['start'] = ['${start}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 4dafedb..36a072f 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -1011,12 +1011,12 @@
/// projects/{project_id}/locations/{location}
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Optional. The page token, returned by a previous call, to
- /// request the next page of results.
- ///
/// [pageSize] - Optional. The maximum number of results to return in each
/// response.
///
+ /// [pageToken] - Optional. The page token, returned by a previous call, to
+ /// request the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1029,8 +1029,8 @@
/// this method will complete with the same error.
async.Future<ListWorkflowTemplatesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1043,12 +1043,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1885,6 +1885,9 @@
///
/// [clusterName] - Required. The cluster name.
///
+ /// [clusterUuid] - Optional. Specifying the cluster_uuid means the RPC should
+ /// fail (with error NOT_FOUND) if cluster with specified UUID does not exist.
+ ///
/// [requestId] - Optional. A unique id used to identify the request. If the
/// server receives two DeleteClusterRequest requests with the same id, then
/// the second request will be ignored and the first
@@ -1894,9 +1897,6 @@
/// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
/// hyphens (-). The maximum length is 40 characters.
///
- /// [clusterUuid] - Optional. Specifying the cluster_uuid means the RPC should
- /// fail (with error NOT_FOUND) if cluster with specified UUID does not exist.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1911,8 +1911,8 @@
core.String projectId,
core.String region,
core.String clusterName, {
- core.String requestId,
core.String clusterUuid,
+ core.String requestId,
core.String $fields,
}) {
core.String _url;
@@ -1931,12 +1931,12 @@
if (clusterName == null) {
throw core.ArgumentError('Parameter clusterName is required.');
}
- if (requestId != null) {
- _queryParams['requestId'] = [requestId];
- }
if (clusterUuid != null) {
_queryParams['clusterUuid'] = [clusterUuid];
}
+ if (requestId != null) {
+ _queryParams['requestId'] = [requestId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2173,10 +2173,6 @@
///
/// [region] - Required. The Dataproc region in which to handle the request.
///
- /// [pageToken] - Optional. The standard List page token.
- ///
- /// [pageSize] - Optional. The standard List page size.
- ///
/// [filter] - Optional. A filter constraining the clusters to list. Filters
/// are case-sensitive and have the following syntax:field = value AND field =
/// value ...where field is one of status.state, clusterName, or labels.[KEY],
@@ -2189,6 +2185,10 @@
/// implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
/// = mycluster AND labels.env = staging AND labels.starred = *
///
+ /// [pageSize] - Optional. The standard List page size.
+ ///
+ /// [pageToken] - Optional. The standard List page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2202,9 +2202,9 @@
async.Future<ListClustersResponse> list(
core.String projectId,
core.String region, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2220,14 +2220,14 @@
if (region == null) {
throw core.ArgumentError('Parameter region is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2266,15 +2266,6 @@
///
/// [clusterName] - Required. The cluster name.
///
- /// [requestId] - Optional. A unique id used to identify the request. If the
- /// server receives two UpdateClusterRequest requests with the same id, then
- /// the second request will be ignored and the first
- /// google.longrunning.Operation created and stored in the backend is
- /// returned.It is recommended to always set this value to a UUID
- /// (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
- /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
- /// hyphens (-). The maximum length is 40 characters.
- ///
/// [gracefulDecommissionTimeout] - Optional. Timeout for graceful YARN
/// decomissioning. Graceful decommissioning allows removing nodes from the
/// cluster without interrupting jobs in progress. Timeout specifies how long
@@ -2285,6 +2276,15 @@
/// (https://developers.google.com/protocol-buffers/docs/proto3#json)).Only
/// supported on Dataproc image versions 1.2 and higher.
///
+ /// [requestId] - Optional. A unique id used to identify the request. If the
+ /// server receives two UpdateClusterRequest requests with the same id, then
+ /// the second request will be ignored and the first
+ /// google.longrunning.Operation created and stored in the backend is
+ /// returned.It is recommended to always set this value to a UUID
+ /// (https://en.wikipedia.org/wiki/Universally_unique_identifier).The id must
+ /// contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and
+ /// hyphens (-). The maximum length is 40 characters.
+ ///
/// [updateMask] - Required. Specifies the path, relative to Cluster, of the
/// field to update. For example, to change the number of workers in a cluster
/// to 5, the update_mask parameter would be specified as
@@ -2316,8 +2316,8 @@
core.String projectId,
core.String region,
core.String clusterName, {
- core.String requestId,
core.String gracefulDecommissionTimeout,
+ core.String requestId,
core.String updateMask,
core.String $fields,
}) {
@@ -2340,14 +2340,14 @@
if (clusterName == null) {
throw core.ArgumentError('Parameter clusterName is required.');
}
- if (requestId != null) {
- _queryParams['requestId'] = [requestId];
- }
if (gracefulDecommissionTimeout != null) {
_queryParams['gracefulDecommissionTimeout'] = [
gracefulDecommissionTimeout
];
}
+ if (requestId != null) {
+ _queryParams['requestId'] = [requestId];
+ }
if (updateMask != null) {
_queryParams['updateMask'] = [updateMask];
}
@@ -2784,12 +2784,18 @@
///
/// [region] - Required. The Dataproc region in which to handle the request.
///
- /// [pageToken] - Optional. The page token, returned by a previous call, to
- /// request the next page of results.
- ///
/// [clusterName] - Optional. If set, the returned jobs list includes only
/// jobs that were submitted to the named cluster.
///
+ /// [filter] - Optional. A filter constraining the jobs to list. Filters are
+ /// case-sensitive and have the following syntax:field = value AND field =
+ /// value ...where field is status.state or labels.[KEY], and [KEY] is a label
+ /// key. value can be * to match all values. status.state can be either ACTIVE
+ /// or NON_ACTIVE. Only the logical AND operator is supported; space-separated
+ /// items are treated as having an implicit AND operator.Example
+ /// filter:status.state = ACTIVE AND labels.env = staging AND labels.starred =
+ /// *
+ ///
/// [jobStateMatcher] - Optional. Specifies enumerated categories of jobs to
/// list. (default = match ALL jobs).If filter is provided, jobStateMatcher
/// will be ignored.
@@ -2800,17 +2806,11 @@
/// - "NON_ACTIVE" : Only match jobs in terminal states: CANCELLED, DONE, or
/// ERROR.
///
- /// [filter] - Optional. A filter constraining the jobs to list. Filters are
- /// case-sensitive and have the following syntax:field = value AND field =
- /// value ...where field is status.state or labels.[KEY], and [KEY] is a label
- /// key. value can be * to match all values. status.state can be either ACTIVE
- /// or NON_ACTIVE. Only the logical AND operator is supported; space-separated
- /// items are treated as having an implicit AND operator.Example
- /// filter:status.state = ACTIVE AND labels.env = staging AND labels.starred =
- /// *
- ///
/// [pageSize] - Optional. The number of results to return in each response.
///
+ /// [pageToken] - Optional. The page token, returned by a previous call, to
+ /// request the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2824,11 +2824,11 @@
async.Future<ListJobsResponse> list(
core.String projectId,
core.String region, {
- core.String pageToken,
core.String clusterName,
- core.String jobStateMatcher,
core.String filter,
+ core.String jobStateMatcher,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2844,21 +2844,21 @@
if (region == null) {
throw core.ArgumentError('Parameter region is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (clusterName != null) {
_queryParams['clusterName'] = [clusterName];
}
- if (jobStateMatcher != null) {
- _queryParams['jobStateMatcher'] = [jobStateMatcher];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (jobStateMatcher != null) {
+ _queryParams['jobStateMatcher'] = [jobStateMatcher];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3459,11 +3459,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/regions/[^/]+/operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3477,9 +3477,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3492,14 +3492,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -4078,12 +4078,12 @@
/// projects/{project_id}/locations/{location}
/// Value must have pattern "^projects/[^/]+/regions/[^/]+$".
///
- /// [pageToken] - Optional. The page token, returned by a previous call, to
- /// request the next page of results.
- ///
/// [pageSize] - Optional. The maximum number of results to return in each
/// response.
///
+ /// [pageToken] - Optional. The page token, returned by a previous call, to
+ /// request the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4096,8 +4096,8 @@
/// this method will complete with the same error.
async.Future<ListWorkflowTemplatesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4110,12 +4110,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/datastore/v1.dart b/generated/googleapis/lib/datastore/v1.dart
index 2fc83f9..517b635 100644
--- a/generated/googleapis/lib/datastore/v1.dart
+++ b/generated/googleapis/lib/datastore/v1.dart
@@ -782,14 +782,14 @@
///
/// [projectId] - Project ID against which to make the request.
///
+ /// [filter] - null
+ ///
/// [pageSize] - The maximum number of items to return. If zero, then all
/// results will be returned.
///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
///
- /// [filter] - null
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -802,9 +802,9 @@
/// this method will complete with the same error.
async.Future<GoogleDatastoreAdminV1ListIndexesResponse> list(
core.String projectId, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -817,15 +817,15 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1029,12 +1029,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1047,9 +1047,9 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1062,15 +1062,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/deploymentmanager/v2.dart b/generated/googleapis/lib/deploymentmanager/v2.dart
index 7067609..9feb967 100644
--- a/generated/googleapis/lib/deploymentmanager/v2.dart
+++ b/generated/googleapis/lib/deploymentmanager/v2.dart
@@ -411,28 +411,6 @@
/// Value must have pattern
/// "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
///
- /// [orderBy] - Sorts list results by a certain order. By default, results are
- /// returned in alphanumerical order based on the resource name.
- ///
- /// You can also sort results in descending order based on the creation
- /// timestamp using `orderBy="creationTimestamp desc"`. This sorts results
- /// based on the `creationTimestamp` field in reverse chronological order
- /// (newest result first). Use this to sort resources like operations so that
- /// the newest operation is returned first.
- ///
- /// Currently, only sorting by `name` or `creationTimestamp desc` is
- /// supported.
- ///
- /// [maxResults] - The maximum number of results per page that should be
- /// returned. If the number of available results is larger than `maxResults`,
- /// Compute Engine returns a `nextPageToken` that can be used to get the next
- /// page of results in subsequent list requests. Acceptable values are `0` to
- /// `500`, inclusive. (Default: `500`)
- ///
- /// [pageToken] - Specifies a page token to use. Set `pageToken` to the
- /// `nextPageToken` returned by a previous list request to get the next page
- /// of results.
- ///
/// [filter] - A filter expression that filters resources listed in the
/// response. The expression must specify the field name, a comparison
/// operator, and the value that you want to use for filtering. The value must
@@ -456,6 +434,28 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [maxResults] - The maximum number of results per page that should be
+ /// returned. If the number of available results is larger than `maxResults`,
+ /// Compute Engine returns a `nextPageToken` that can be used to get the next
+ /// page of results in subsequent list requests. Acceptable values are `0` to
+ /// `500`, inclusive. (Default: `500`)
+ ///
+ /// [orderBy] - Sorts list results by a certain order. By default, results are
+ /// returned in alphanumerical order based on the resource name.
+ ///
+ /// You can also sort results in descending order based on the creation
+ /// timestamp using `orderBy="creationTimestamp desc"`. This sorts results
+ /// based on the `creationTimestamp` field in reverse chronological order
+ /// (newest result first). Use this to sort resources like operations so that
+ /// the newest operation is returned first.
+ ///
+ /// Currently, only sorting by `name` or `creationTimestamp desc` is
+ /// supported.
+ ///
+ /// [pageToken] - Specifies a page token to use. Set `pageToken` to the
+ /// `nextPageToken` returned by a previous list request to get the next page
+ /// of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -468,10 +468,10 @@
/// this method will complete with the same error.
async.Future<DeploymentsListResponse> list(
core.String project, {
- core.String orderBy,
- core.int maxResults,
- core.String pageToken,
core.String filter,
+ core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -484,18 +484,18 @@
if (project == null) {
throw core.ArgumentError('Parameter project is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -528,6 +528,11 @@
/// [deployment] - The name of the deployment for this request.
/// Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
///
+ /// [createPolicy] - Sets the policy to use for creating new resources.
+ /// Possible string values are:
+ /// - "ACQUIRE"
+ /// - "CREATE_OR_ACQUIRE"
+ ///
/// [deletePolicy] - Sets the policy to use for deleting resources.
/// Possible string values are:
/// - "ABANDON"
@@ -544,11 +549,6 @@
/// deployment will still exist after you cancel the preview and you must
/// separately delete this deployment if you want to remove it.
///
- /// [createPolicy] - Sets the policy to use for creating new resources.
- /// Possible string values are:
- /// - "ACQUIRE"
- /// - "CREATE_OR_ACQUIRE"
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -563,9 +563,9 @@
Deployment request,
core.String project,
core.String deployment, {
+ core.String createPolicy,
core.String deletePolicy,
core.bool preview,
- core.String createPolicy,
core.String $fields,
}) {
core.String _url;
@@ -584,15 +584,15 @@
if (deployment == null) {
throw core.ArgumentError('Parameter deployment is required.');
}
+ if (createPolicy != null) {
+ _queryParams['createPolicy'] = [createPolicy];
+ }
if (deletePolicy != null) {
_queryParams['deletePolicy'] = [deletePolicy];
}
if (preview != null) {
_queryParams['preview'] = ['${preview}'];
}
- if (createPolicy != null) {
- _queryParams['createPolicy'] = [createPolicy];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -999,12 +999,6 @@
/// [deployment] - The name of the deployment for this request.
/// Value must have pattern "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?".
///
- /// [maxResults] - The maximum number of results per page that should be
- /// returned. If the number of available results is larger than `maxResults`,
- /// Compute Engine returns a `nextPageToken` that can be used to get the next
- /// page of results in subsequent list requests. Acceptable values are `0` to
- /// `500`, inclusive. (Default: `500`)
- ///
/// [filter] - A filter expression that filters resources listed in the
/// response. The expression must specify the field name, a comparison
/// operator, and the value that you want to use for filtering. The value must
@@ -1028,6 +1022,12 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [maxResults] - The maximum number of results per page that should be
+ /// returned. If the number of available results is larger than `maxResults`,
+ /// Compute Engine returns a `nextPageToken` that can be used to get the next
+ /// page of results in subsequent list requests. Acceptable values are `0` to
+ /// `500`, inclusive. (Default: `500`)
+ ///
/// [orderBy] - Sorts list results by a certain order. By default, results are
/// returned in alphanumerical order based on the resource name.
///
@@ -1057,8 +1057,8 @@
async.Future<ManifestsListResponse> list(
core.String project,
core.String deployment, {
- core.int maxResults,
core.String filter,
+ core.int maxResults,
core.String orderBy,
core.String pageToken,
core.String $fields,
@@ -1076,12 +1076,12 @@
if (deployment == null) {
throw core.ArgumentError('Parameter deployment is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
@@ -1204,6 +1204,12 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [maxResults] - The maximum number of results per page that should be
+ /// returned. If the number of available results is larger than `maxResults`,
+ /// Compute Engine returns a `nextPageToken` that can be used to get the next
+ /// page of results in subsequent list requests. Acceptable values are `0` to
+ /// `500`, inclusive. (Default: `500`)
+ ///
/// [orderBy] - Sorts list results by a certain order. By default, results are
/// returned in alphanumerical order based on the resource name.
///
@@ -1216,12 +1222,6 @@
/// Currently, only sorting by `name` or `creationTimestamp desc` is
/// supported.
///
- /// [maxResults] - The maximum number of results per page that should be
- /// returned. If the number of available results is larger than `maxResults`,
- /// Compute Engine returns a `nextPageToken` that can be used to get the next
- /// page of results in subsequent list requests. Acceptable values are `0` to
- /// `500`, inclusive. (Default: `500`)
- ///
/// [pageToken] - Specifies a page token to use. Set `pageToken` to the
/// `nextPageToken` returned by a previous list request to get the next page
/// of results.
@@ -1239,8 +1239,8 @@
async.Future<OperationsListResponse> list(
core.String project, {
core.String filter,
- core.String orderBy,
core.int maxResults,
+ core.String orderBy,
core.String pageToken,
core.String $fields,
}) {
@@ -1257,12 +1257,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -1391,6 +1391,12 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [maxResults] - The maximum number of results per page that should be
+ /// returned. If the number of available results is larger than `maxResults`,
+ /// Compute Engine returns a `nextPageToken` that can be used to get the next
+ /// page of results in subsequent list requests. Acceptable values are `0` to
+ /// `500`, inclusive. (Default: `500`)
+ ///
/// [orderBy] - Sorts list results by a certain order. By default, results are
/// returned in alphanumerical order based on the resource name.
///
@@ -1403,12 +1409,6 @@
/// Currently, only sorting by `name` or `creationTimestamp desc` is
/// supported.
///
- /// [maxResults] - The maximum number of results per page that should be
- /// returned. If the number of available results is larger than `maxResults`,
- /// Compute Engine returns a `nextPageToken` that can be used to get the next
- /// page of results in subsequent list requests. Acceptable values are `0` to
- /// `500`, inclusive. (Default: `500`)
- ///
/// [pageToken] - Specifies a page token to use. Set `pageToken` to the
/// `nextPageToken` returned by a previous list request to get the next page
/// of results.
@@ -1427,8 +1427,8 @@
core.String project,
core.String deployment, {
core.String filter,
- core.String orderBy,
core.int maxResults,
+ core.String orderBy,
core.String pageToken,
core.String $fields,
}) {
@@ -1448,12 +1448,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -1492,10 +1492,6 @@
/// Value must have pattern
/// "(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))".
///
- /// [pageToken] - Specifies a page token to use. Set `pageToken` to the
- /// `nextPageToken` returned by a previous list request to get the next page
- /// of results.
- ///
/// [filter] - A filter expression that filters resources listed in the
/// response. The expression must specify the field name, a comparison
/// operator, and the value that you want to use for filtering. The value must
@@ -1519,6 +1515,12 @@
/// (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
/// ```
///
+ /// [maxResults] - The maximum number of results per page that should be
+ /// returned. If the number of available results is larger than `maxResults`,
+ /// Compute Engine returns a `nextPageToken` that can be used to get the next
+ /// page of results in subsequent list requests. Acceptable values are `0` to
+ /// `500`, inclusive. (Default: `500`)
+ ///
/// [orderBy] - Sorts list results by a certain order. By default, results are
/// returned in alphanumerical order based on the resource name.
///
@@ -1531,11 +1533,9 @@
/// Currently, only sorting by `name` or `creationTimestamp desc` is
/// supported.
///
- /// [maxResults] - The maximum number of results per page that should be
- /// returned. If the number of available results is larger than `maxResults`,
- /// Compute Engine returns a `nextPageToken` that can be used to get the next
- /// page of results in subsequent list requests. Acceptable values are `0` to
- /// `500`, inclusive. (Default: `500`)
+ /// [pageToken] - Specifies a page token to use. Set `pageToken` to the
+ /// `nextPageToken` returned by a previous list request to get the next page
+ /// of results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1549,10 +1549,10 @@
/// this method will complete with the same error.
async.Future<TypesListResponse> list(
core.String project, {
- core.String pageToken,
core.String filter,
- core.String orderBy,
core.int maxResults,
+ core.String orderBy,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1565,17 +1565,17 @@
if (project == null) {
throw core.ArgumentError('Parameter project is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/dfareporting/v3_4.dart b/generated/googleapis/lib/dfareporting/v3_4.dart
index 1c6f6ab..7aec6bd 100644
--- a/generated/googleapis/lib/dfareporting/v3_4.dart
+++ b/generated/googleapis/lib/dfareporting/v3_4.dart
@@ -579,26 +579,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [subaccountId] - Select only user profiles with the specified subaccount
- /// ID.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [userRoleId] - Select only user profiles with the specified user role ID.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [active] - Select only active user profiles.
///
/// [ids] - Select only user profiles with these IDs.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
- /// [active] - Select only active user profiles.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name, ID or email.
/// Wildcards (*) are allowed. For example, "user profile*2015" will return
@@ -608,8 +596,20 @@
/// example, a search string of "user profile" will match objects with name
/// "my user profile", "user profile 2015", or simply "user profile".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [subaccountId] - Select only user profiles with the specified subaccount
+ /// ID.
+ ///
+ /// [userRoleId] - Select only user profiles with the specified user role ID.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -623,15 +623,15 @@
/// this method will complete with the same error.
async.Future<AccountUserProfilesListResponse> list(
core.String profileId, {
- core.String subaccountId,
- core.String sortOrder,
- core.String userRoleId,
- core.String pageToken,
- core.List<core.String> ids,
- core.String sortField,
core.bool active,
- core.String searchString,
+ core.List<core.String> ids,
core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
+ core.String subaccountId,
+ core.String userRoleId,
core.String $fields,
}) {
core.String _url;
@@ -644,32 +644,32 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (subaccountId != null) {
- _queryParams['subaccountId'] = [subaccountId];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (userRoleId != null) {
- _queryParams['userRoleId'] = [userRoleId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
}
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
- if (active != null) {
- _queryParams['active'] = ['${active}'];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (searchString != null) {
_queryParams['searchString'] = [searchString];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (subaccountId != null) {
+ _queryParams['subaccountId'] = [subaccountId];
+ }
+ if (userRoleId != null) {
+ _queryParams['userRoleId'] = [userRoleId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -882,6 +882,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [active] - Select only active accounts. Don't set this field to select
+ /// both active and non-active accounts.
+ ///
+ /// [ids] - Select only accounts with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
@@ -896,19 +904,11 @@
/// - "ID"
/// - "NAME"
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [ids] - Select only accounts with these IDs.
- ///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [active] - Select only active accounts. Don't set this field to select
- /// both active and non-active accounts.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -921,13 +921,13 @@
/// this method will complete with the same error.
async.Future<AccountsListResponse> list(
core.String profileId, {
+ core.bool active,
+ core.List<core.String> ids,
+ core.int maxResults,
core.String pageToken,
core.String searchString,
core.String sortField,
- core.int maxResults,
- core.List<core.String> ids,
core.String sortOrder,
- core.bool active,
core.String $fields,
}) {
core.String _url;
@@ -940,6 +940,15 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -949,18 +958,9 @@
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (active != null) {
- _queryParams['active'] = ['${active}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1224,15 +1224,16 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [placementIds] - Select only ads with these placement IDs assigned.
+ /// [active] - Select only active ads.
+ ///
+ /// [advertiserId] - Select only ads with this advertiser ID.
+ ///
+ /// [archived] - Select only archived ads.
+ ///
+ /// [audienceSegmentIds] - Select only ads with these audience segment IDs.
///
/// [campaignIds] - Select only ads with these campaign IDs.
///
- /// [dynamicClickTracker] - Select only dynamic click trackers. Applicable
- /// when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click
- /// trackers. If false, select static click trackers. Leave unset to select
- /// both.
- ///
/// [compatibility] - Select default ads with the specified compatibility.
/// Applicable when type is AD_SERVING_DEFAULT_AD. DISPLAY and
/// DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile
@@ -1247,50 +1248,31 @@
/// - "IN_STREAM_VIDEO"
/// - "IN_STREAM_AUDIO"
///
- /// [type] - Select only ads with these types.
- ///
- /// [ids] - Select only ads with these IDs.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [archived] - Select only archived ads.
- ///
- /// [audienceSegmentIds] - Select only ads with these audience segment IDs.
- ///
- /// [active] - Select only active ads.
- ///
- /// [remarketingListIds] - Select only ads whose list targeting expression use
- /// these remarketing list IDs.
- ///
- /// [sizeIds] - Select only ads with these size IDs.
+ /// [creativeIds] - Select only ads with these creative IDs assigned.
///
/// [creativeOptimizationConfigurationIds] - Select only ads with these
/// creative optimization configuration IDs.
///
- /// [advertiserId] - Select only ads with this advertiser ID.
+ /// [dynamicClickTracker] - Select only dynamic click trackers. Applicable
+ /// when type is AD_SERVING_CLICK_TRACKER. If true, select dynamic click
+ /// trackers. If false, select static click trackers. Leave unset to select
+ /// both.
+ ///
+ /// [ids] - Select only ads with these IDs.
+ ///
+ /// [landingPageIds] - Select only ads with these landing page IDs.
///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [sslCompliant] - Select only ads that are SSL-compliant.
- ///
- /// [landingPageIds] - Select only ads with these landing page IDs.
- ///
- /// [creativeIds] - Select only ads with these creative IDs assigned.
- ///
/// [overriddenEventTagId] - Select only ads with this event tag override ID.
///
- /// [sslRequired] - Select only ads that require SSL.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [placementIds] - Select only ads with these placement IDs assigned.
+ ///
+ /// [remarketingListIds] - Select only ads whose list targeting expression use
+ /// these remarketing list IDs.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "ad*2015" will return objects with names like
@@ -1299,6 +1281,24 @@
/// string. For example, a search string of "ad" will match objects with name
/// "my ad", "ad 2015", or simply "ad".
///
+ /// [sizeIds] - Select only ads with these size IDs.
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [sslCompliant] - Select only ads that are SSL-compliant.
+ ///
+ /// [sslRequired] - Select only ads that require SSL.
+ ///
+ /// [type] - Select only ads with these types.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1311,29 +1311,29 @@
/// this method will complete with the same error.
async.Future<AdsListResponse> list(
core.String profileId, {
- core.List<core.String> placementIds,
- core.List<core.String> campaignIds,
- core.bool dynamicClickTracker,
- core.String compatibility,
- core.List<core.String> type,
- core.List<core.String> ids,
- core.String sortOrder,
+ core.bool active,
+ core.String advertiserId,
core.bool archived,
core.List<core.String> audienceSegmentIds,
- core.bool active,
- core.List<core.String> remarketingListIds,
- core.List<core.String> sizeIds,
- core.List<core.String> creativeOptimizationConfigurationIds,
- core.String advertiserId,
- core.int maxResults,
- core.String pageToken,
- core.bool sslCompliant,
- core.List<core.String> landingPageIds,
+ core.List<core.String> campaignIds,
+ core.String compatibility,
core.List<core.String> creativeIds,
+ core.List<core.String> creativeOptimizationConfigurationIds,
+ core.bool dynamicClickTracker,
+ core.List<core.String> ids,
+ core.List<core.String> landingPageIds,
+ core.int maxResults,
core.String overriddenEventTagId,
- core.bool sslRequired,
- core.String sortField,
+ core.String pageToken,
+ core.List<core.String> placementIds,
+ core.List<core.String> remarketingListIds,
core.String searchString,
+ core.List<core.String> sizeIds,
+ core.String sortField,
+ core.String sortOrder,
+ core.bool sslCompliant,
+ core.bool sslRequired,
+ core.List<core.String> type,
core.String $fields,
}) {
core.String _url;
@@ -1346,26 +1346,11 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (placementIds != null) {
- _queryParams['placementIds'] = placementIds;
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
}
- if (campaignIds != null) {
- _queryParams['campaignIds'] = campaignIds;
- }
- if (dynamicClickTracker != null) {
- _queryParams['dynamicClickTracker'] = ['${dynamicClickTracker}'];
- }
- if (compatibility != null) {
- _queryParams['compatibility'] = [compatibility];
- }
- if (type != null) {
- _queryParams['type'] = type;
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
}
if (archived != null) {
_queryParams['archived'] = ['${archived}'];
@@ -1373,48 +1358,63 @@
if (audienceSegmentIds != null) {
_queryParams['audienceSegmentIds'] = audienceSegmentIds;
}
- if (active != null) {
- _queryParams['active'] = ['${active}'];
+ if (campaignIds != null) {
+ _queryParams['campaignIds'] = campaignIds;
}
- if (remarketingListIds != null) {
- _queryParams['remarketingListIds'] = remarketingListIds;
+ if (compatibility != null) {
+ _queryParams['compatibility'] = [compatibility];
}
- if (sizeIds != null) {
- _queryParams['sizeIds'] = sizeIds;
+ if (creativeIds != null) {
+ _queryParams['creativeIds'] = creativeIds;
}
if (creativeOptimizationConfigurationIds != null) {
_queryParams['creativeOptimizationConfigurationIds'] =
creativeOptimizationConfigurationIds;
}
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
+ if (dynamicClickTracker != null) {
+ _queryParams['dynamicClickTracker'] = ['${dynamicClickTracker}'];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (sslCompliant != null) {
- _queryParams['sslCompliant'] = ['${sslCompliant}'];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (landingPageIds != null) {
_queryParams['landingPageIds'] = landingPageIds;
}
- if (creativeIds != null) {
- _queryParams['creativeIds'] = creativeIds;
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (overriddenEventTagId != null) {
_queryParams['overriddenEventTagId'] = [overriddenEventTagId];
}
- if (sslRequired != null) {
- _queryParams['sslRequired'] = ['${sslRequired}'];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (placementIds != null) {
+ _queryParams['placementIds'] = placementIds;
+ }
+ if (remarketingListIds != null) {
+ _queryParams['remarketingListIds'] = remarketingListIds;
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sizeIds != null) {
+ _queryParams['sizeIds'] = sizeIds;
}
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (sslCompliant != null) {
+ _queryParams['sslCompliant'] = ['${sslCompliant}'];
+ }
+ if (sslRequired != null) {
+ _queryParams['sslRequired'] = ['${sslRequired}'];
+ }
+ if (type != null) {
+ _queryParams['type'] = type;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1736,6 +1736,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [ids] - Select only advertiser groups with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "advertiser*2015" will return objects with names
/// like "advertiser group June 2015", "advertiser group April 2015", or
@@ -1744,22 +1751,15 @@
/// search string of "advertisergroup" will match objects with name "my
/// advertisergroup", "advertisergroup 2015", or simply "advertisergroup".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [ids] - Select only advertiser groups with these IDs.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1773,12 +1773,12 @@
/// this method will complete with the same error.
async.Future<AdvertiserGroupsListResponse> list(
core.String profileId, {
- core.String searchString,
- core.int maxResults,
core.List<core.String> ids,
- core.String sortOrder,
- core.String sortField,
+ core.int maxResults,
core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -1791,23 +1791,23 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
}
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2076,29 +2076,22 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [subaccountId] - Select only landing pages that belong to this subaccount.
+ /// [advertiserIds] - Select only landing pages that belong to these
+ /// advertisers.
+ ///
+ /// [archived] - Select only archived landing pages. Don't set this field to
+ /// select both archived and non-archived landing pages.
///
/// [campaignIds] - Select only landing pages that are associated with these
/// campaigns.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [ids] - Select only landing pages with these IDs.
///
- /// [advertiserIds] - Select only landing pages that belong to these
- /// advertisers.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [archived] - Select only archived landing pages. Don't set this field to
- /// select both archived and non-archived landing pages.
- ///
/// [searchString] - Allows searching for landing pages by name or ID.
/// Wildcards (*) are allowed. For example, "landingpage*2017" will return
/// landing pages with names like "landingpage July 2017", "landingpage March
@@ -2107,10 +2100,17 @@
/// example, a search string of "landingpage" will match campaigns with name
/// "my landingpage", "landingpage 2015", or simply "landingpage".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
- /// [ids] - Select only landing pages with these IDs.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [subaccountId] - Select only landing pages that belong to this subaccount.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2124,16 +2124,16 @@
/// this method will complete with the same error.
async.Future<AdvertiserLandingPagesListResponse> list(
core.String profileId, {
- core.String subaccountId,
- core.List<core.String> campaignIds,
- core.String sortOrder,
core.List<core.String> advertiserIds,
- core.String pageToken,
- core.String sortField,
core.bool archived,
- core.String searchString,
- core.int maxResults,
+ core.List<core.String> campaignIds,
core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
+ core.String subaccountId,
core.String $fields,
}) {
core.String _url;
@@ -2146,35 +2146,35 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (subaccountId != null) {
- _queryParams['subaccountId'] = [subaccountId];
- }
- if (campaignIds != null) {
- _queryParams['campaignIds'] = campaignIds;
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (advertiserIds != null) {
_queryParams['advertiserIds'] = advertiserIds;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
if (archived != null) {
_queryParams['archived'] = ['${archived}'];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (campaignIds != null) {
+ _queryParams['campaignIds'] = campaignIds;
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (subaccountId != null) {
+ _queryParams['subaccountId'] = [subaccountId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2443,12 +2443,37 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [advertiserGroupIds] - Select only advertisers with these advertiser group
+ /// IDs.
+ ///
+ /// [floodlightConfigurationIds] - Select only advertisers with these
+ /// floodlight configuration IDs.
+ ///
+ /// [ids] - Select only advertisers with these IDs.
+ ///
+ /// [includeAdvertisersWithoutGroupsOnly] - Select only advertisers which do
+ /// not belong to any advertiser group.
+ ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [subaccountId] - Select only advertisers with these subaccount IDs.
+ /// [onlyParent] - Select only advertisers which use another advertiser's
+ /// floodlight configuration.
///
- /// [ids] - Select only advertisers with these IDs.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
+ /// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
+ /// are allowed. For example, "advertiser*2015" will return objects with names
+ /// like "advertiser June 2015", "advertiser April 2015", or simply
+ /// "advertiser 2015". Most of the searches also add wildcards implicitly at
+ /// the start and the end of the search string. For example, a search string
+ /// of "advertiser" will match objects with name "my advertiser", "advertiser
+ /// 2015", or simply "advertiser" .
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
@@ -2460,32 +2485,7 @@
/// - "APPROVED"
/// - "ON_HOLD"
///
- /// [onlyParent] - Select only advertisers which use another advertiser's
- /// floodlight configuration.
- ///
- /// [floodlightConfigurationIds] - Select only advertisers with these
- /// floodlight configuration IDs.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
- /// are allowed. For example, "advertiser*2015" will return objects with names
- /// like "advertiser June 2015", "advertiser April 2015", or simply
- /// "advertiser 2015". Most of the searches also add wildcards implicitly at
- /// the start and the end of the search string. For example, a search string
- /// of "advertiser" will match objects with name "my advertiser", "advertiser
- /// 2015", or simply "advertiser" .
- ///
- /// [advertiserGroupIds] - Select only advertisers with these advertiser group
- /// IDs.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [includeAdvertisersWithoutGroupsOnly] - Select only advertisers which do
- /// not belong to any advertiser group.
+ /// [subaccountId] - Select only advertisers with these subaccount IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2499,18 +2499,18 @@
/// this method will complete with the same error.
async.Future<AdvertisersListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.String subaccountId,
+ core.List<core.String> advertiserGroupIds,
+ core.List<core.String> floodlightConfigurationIds,
core.List<core.String> ids,
+ core.bool includeAdvertisersWithoutGroupsOnly,
+ core.int maxResults,
+ core.bool onlyParent,
+ core.String pageToken,
+ core.String searchString,
+ core.String sortField,
core.String sortOrder,
core.String status,
- core.bool onlyParent,
- core.List<core.String> floodlightConfigurationIds,
- core.String sortField,
- core.String searchString,
- core.List<core.String> advertiserGroupIds,
- core.String pageToken,
- core.bool includeAdvertisersWithoutGroupsOnly,
+ core.String subaccountId,
core.String $fields,
}) {
core.String _url;
@@ -2523,43 +2523,43 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (advertiserGroupIds != null) {
+ _queryParams['advertiserGroupIds'] = advertiserGroupIds;
}
- if (subaccountId != null) {
- _queryParams['subaccountId'] = [subaccountId];
+ if (floodlightConfigurationIds != null) {
+ _queryParams['floodlightConfigurationIds'] = floodlightConfigurationIds;
}
if (ids != null) {
_queryParams['ids'] = ids;
}
+ if (includeAdvertisersWithoutGroupsOnly != null) {
+ _queryParams['includeAdvertisersWithoutGroupsOnly'] = [
+ '${includeAdvertisersWithoutGroupsOnly}'
+ ];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (onlyParent != null) {
+ _queryParams['onlyParent'] = ['${onlyParent}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
if (status != null) {
_queryParams['status'] = [status];
}
- if (onlyParent != null) {
- _queryParams['onlyParent'] = ['${onlyParent}'];
- }
- if (floodlightConfigurationIds != null) {
- _queryParams['floodlightConfigurationIds'] = floodlightConfigurationIds;
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (advertiserGroupIds != null) {
- _queryParams['advertiserGroupIds'] = advertiserGroupIds;
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (includeAdvertisersWithoutGroupsOnly != null) {
- _queryParams['includeAdvertisersWithoutGroupsOnly'] = [
- '${includeAdvertisersWithoutGroupsOnly}'
- ];
+ if (subaccountId != null) {
+ _queryParams['subaccountId'] = [subaccountId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2841,13 +2841,13 @@
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2862,8 +2862,8 @@
core.String profileId,
core.String campaignId, {
core.int maxResults,
- core.String sortOrder,
core.String pageToken,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -2882,12 +2882,12 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3037,28 +3037,28 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [advertiserGroupIds] - Select only campaigns whose advertisers belong to
+ /// these advertiser groups.
+ ///
+ /// [advertiserIds] - Select only campaigns that belong to these advertisers.
///
/// [archived] - Select only archived campaigns. Don't set this field to
/// select both archived and non-archived campaigns.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [ids] - Select only campaigns with these IDs.
- ///
/// [atLeastOneOptimizationActivity] - Select only campaigns that have at
/// least one optimization activity.
///
/// [excludedIds] - Exclude campaigns with these IDs.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [ids] - Select only campaigns with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [overriddenEventTagId] - Select only campaigns that have overridden this
+ /// event tag ID.
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for campaigns by name or ID. Wildcards
/// (*) are allowed. For example, "campaign*2015" will return campaigns with
@@ -3068,18 +3068,18 @@
/// "campaign" will match campaigns with name "my campaign", "campaign 2015",
/// or simply "campaign".
///
- /// [advertiserGroupIds] - Select only campaigns whose advertisers belong to
- /// these advertiser groups.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
- /// [overriddenEventTagId] - Select only campaigns that have overridden this
- /// event tag ID.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [subaccountId] - Select only campaigns that belong to this subaccount.
///
- /// [advertiserIds] - Select only campaigns that belong to these advertisers.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3092,19 +3092,19 @@
/// this method will complete with the same error.
async.Future<CampaignsListResponse> list(
core.String profileId, {
- core.int maxResults,
+ core.List<core.String> advertiserGroupIds,
+ core.List<core.String> advertiserIds,
core.bool archived,
- core.String sortField,
- core.List<core.String> ids,
core.bool atLeastOneOptimizationActivity,
core.List<core.String> excludedIds,
- core.String sortOrder,
- core.String searchString,
- core.List<core.String> advertiserGroupIds,
+ core.List<core.String> ids,
+ core.int maxResults,
core.String overriddenEventTagId,
core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String subaccountId,
- core.List<core.String> advertiserIds,
core.String $fields,
}) {
core.String _url;
@@ -3117,18 +3117,15 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (advertiserGroupIds != null) {
+ _queryParams['advertiserGroupIds'] = advertiserGroupIds;
+ }
+ if (advertiserIds != null) {
+ _queryParams['advertiserIds'] = advertiserIds;
}
if (archived != null) {
_queryParams['archived'] = ['${archived}'];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
if (atLeastOneOptimizationActivity != null) {
_queryParams['atLeastOneOptimizationActivity'] = [
'${atLeastOneOptimizationActivity}'
@@ -3137,14 +3134,11 @@
if (excludedIds != null) {
_queryParams['excludedIds'] = excludedIds;
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (advertiserGroupIds != null) {
- _queryParams['advertiserGroupIds'] = advertiserGroupIds;
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (overriddenEventTagId != null) {
_queryParams['overriddenEventTagId'] = [overriddenEventTagId];
@@ -3152,12 +3146,18 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if (subaccountId != null) {
_queryParams['subaccountId'] = [subaccountId];
}
- if (advertiserIds != null) {
- _queryParams['advertiserIds'] = advertiserIds;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3386,6 +3386,27 @@
/// - "ACTION_EMAIL_TAGS"
/// - "ACTION_SHARE"
///
+ /// [ids] - Select only change logs with these IDs.
+ ///
+ /// [maxChangeTime] - Select only change logs whose change time is before the
+ /// specified maxChangeTime.The time should be formatted as an RFC3339
+ /// date/time string. For example, for 10:54 PM on July 18th, 2015, in the
+ /// America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
+ /// other words, the year, month, day, the letter T, the hour (24-hour clock
+ /// system), minute, second, and then the time zone offset.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [minChangeTime] - Select only change logs whose change time is after the
+ /// specified minChangeTime.The time should be formatted as an RFC3339
+ /// date/time string. For example, for 10:54 PM on July 18th, 2015, in the
+ /// America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
+ /// other words, the year, month, day, the letter T, the hour (24-hour clock
+ /// system), minute, second, and then the time zone offset.
+ ///
+ /// [objectIds] - Select only change logs with these object IDs.
+ ///
/// [objectType] - Select only change logs with the specified object type.
/// Possible string values are:
/// - "OBJECT_ADVERTISER"
@@ -3429,33 +3450,12 @@
/// - "OBJECT_SEARCH_LIFT_STUDY"
/// - "OBJECT_FLOODLIGHT_DV360_LINK"
///
- /// [maxChangeTime] - Select only change logs whose change time is before the
- /// specified maxChangeTime.The time should be formatted as an RFC3339
- /// date/time string. For example, for 10:54 PM on July 18th, 2015, in the
- /// America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
- /// other words, the year, month, day, the letter T, the hour (24-hour clock
- /// system), minute, second, and then the time zone offset.
- ///
- /// [objectIds] - Select only change logs with these object IDs.
- ///
- /// [userProfileIds] - Select only change logs with these user profile IDs.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [minChangeTime] - Select only change logs whose change time is after the
- /// specified minChangeTime.The time should be formatted as an RFC3339
- /// date/time string. For example, for 10:54 PM on July 18th, 2015, in the
- /// America/New York time zone, the format is "2015-07-18T22:54:00-04:00". In
- /// other words, the year, month, day, the letter T, the hour (24-hour clock
- /// system), minute, second, and then the time zone offset.
- ///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Select only change logs whose object ID, user name, old
/// or new values match the search string.
///
- /// [ids] - Select only change logs with these IDs.
+ /// [userProfileIds] - Select only change logs with these user profile IDs.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3470,15 +3470,15 @@
async.Future<ChangeLogsListResponse> list(
core.String profileId, {
core.String action,
- core.String objectType,
+ core.List<core.String> ids,
core.String maxChangeTime,
- core.List<core.String> objectIds,
- core.List<core.String> userProfileIds,
core.int maxResults,
core.String minChangeTime,
+ core.List<core.String> objectIds,
+ core.String objectType,
core.String pageToken,
core.String searchString,
- core.List<core.String> ids,
+ core.List<core.String> userProfileIds,
core.String $fields,
}) {
core.String _url;
@@ -3494,32 +3494,32 @@
if (action != null) {
_queryParams['action'] = [action];
}
- if (objectType != null) {
- _queryParams['objectType'] = [objectType];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxChangeTime != null) {
_queryParams['maxChangeTime'] = [maxChangeTime];
}
- if (objectIds != null) {
- _queryParams['objectIds'] = objectIds;
- }
- if (userProfileIds != null) {
- _queryParams['userProfileIds'] = userProfileIds;
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (minChangeTime != null) {
_queryParams['minChangeTime'] = [minChangeTime];
}
+ if (objectIds != null) {
+ _queryParams['objectIds'] = objectIds;
+ }
+ if (objectType != null) {
+ _queryParams['objectType'] = [objectType];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (searchString != null) {
_queryParams['searchString'] = [searchString];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (userProfileIds != null) {
+ _queryParams['userProfileIds'] = userProfileIds;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -3555,10 +3555,10 @@
///
/// [countryDartIds] - Select only cities from these countries.
///
- /// [namePrefix] - Select only cities with names starting with this prefix.
- ///
/// [dartIds] - Select only cities with these DART IDs.
///
+ /// [namePrefix] - Select only cities with names starting with this prefix.
+ ///
/// [regionDartIds] - Select only cities from these regions.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -3574,8 +3574,8 @@
async.Future<CitiesListResponse> list(
core.String profileId, {
core.List<core.String> countryDartIds,
- core.String namePrefix,
core.List<core.String> dartIds,
+ core.String namePrefix,
core.List<core.String> regionDartIds,
core.String $fields,
}) {
@@ -3592,12 +3592,12 @@
if (countryDartIds != null) {
_queryParams['countryDartIds'] = countryDartIds;
}
- if (namePrefix != null) {
- _queryParams['namePrefix'] = [namePrefix];
- }
if (dartIds != null) {
_queryParams['dartIds'] = dartIds;
}
+ if (namePrefix != null) {
+ _queryParams['namePrefix'] = [namePrefix];
+ }
if (regionDartIds != null) {
_queryParams['regionDartIds'] = regionDartIds;
}
@@ -3918,10 +3918,12 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [ids] - Select only content categories with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "contentcategory*2015" will return objects with
@@ -3931,17 +3933,15 @@
/// search string of "contentcategory" will match objects with name "my
/// contentcategory", "contentcategory 2015", or simply "contentcategory".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
- /// [ids] - Select only content categories with these IDs.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3955,12 +3955,12 @@
/// this method will complete with the same error.
async.Future<ContentCategoriesListResponse> list(
core.String profileId, {
- core.String sortOrder,
- core.String searchString,
+ core.List<core.String> ids,
core.int maxResults,
core.String pageToken,
+ core.String searchString,
core.String sortField,
- core.List<core.String> ids,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -3973,11 +3973,8 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
@@ -3985,11 +3982,14 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -4659,6 +4659,13 @@
///
/// [creativeFieldId] - Creative field ID for this creative field value.
///
+ /// [ids] - Select only creative field values with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for creative field values by their
/// values. Wildcards (e.g. *) are not allowed.
///
@@ -4667,13 +4674,6 @@
/// - "ID"
/// - "VALUE"
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [ids] - Select only creative field values with these IDs.
- ///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
@@ -4692,11 +4692,11 @@
async.Future<CreativeFieldValuesListResponse> list(
core.String profileId,
core.String creativeFieldId, {
- core.String searchString,
- core.String sortField,
+ core.List<core.String> ids,
core.int maxResults,
core.String pageToken,
- core.List<core.String> ids,
+ core.String searchString,
+ core.String sortField,
core.String sortOrder,
core.String $fields,
}) {
@@ -4713,11 +4713,8 @@
if (creativeFieldId == null) {
throw core.ArgumentError('Parameter creativeFieldId is required.');
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
@@ -4725,8 +4722,11 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
@@ -5073,6 +5073,16 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [advertiserIds] - Select only creative fields that belong to these
+ /// advertisers.
+ ///
+ /// [ids] - Select only creative fields with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for creative fields by name or ID.
/// Wildcards (*) are allowed. For example, "creativefield*2015" will return
/// creative fields with names like "creativefield June 2015", "creativefield
@@ -5082,26 +5092,16 @@
/// with the name "my creativefield", "creativefield 2015", or simply
/// "creativefield".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
- /// [advertiserIds] - Select only creative fields that belong to these
- /// advertisers.
- ///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [ids] - Select only creative fields with these IDs.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5114,13 +5114,13 @@
/// this method will complete with the same error.
async.Future<CreativeFieldsListResponse> list(
core.String profileId, {
- core.String searchString,
- core.String pageToken,
- core.int maxResults,
- core.String sortField,
core.List<core.String> advertiserIds,
- core.String sortOrder,
core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -5133,27 +5133,27 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (advertiserIds != null) {
+ _queryParams['advertiserIds'] = advertiserIds;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (advertiserIds != null) {
- _queryParams['advertiserIds'] = advertiserIds;
- }
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5419,21 +5419,18 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [advertiserIds] - Select only creative groups that belong to these
+ /// advertisers.
///
/// [groupNumber] - Select only creative groups that belong to this subgroup.
/// Value must be between "1" and "2".
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
/// [ids] - Select only creative groups with these IDs.
///
- /// [advertiserIds] - Select only creative groups that belong to these
- /// advertisers.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for creative groups by name or ID.
/// Wildcards (*) are allowed. For example, "creativegroup*2015" will return
@@ -5444,7 +5441,10 @@
/// with the name "my creativegroup", "creativegroup 2015", or simply
/// "creativegroup".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
@@ -5463,13 +5463,13 @@
/// this method will complete with the same error.
async.Future<CreativeGroupsListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.int groupNumber,
- core.String sortField,
- core.List<core.String> ids,
core.List<core.String> advertiserIds,
- core.String searchString,
+ core.int groupNumber,
+ core.List<core.String> ids,
+ core.int maxResults,
core.String pageToken,
+ core.String searchString,
+ core.String sortField,
core.String sortOrder,
core.String $fields,
}) {
@@ -5483,26 +5483,26 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (advertiserIds != null) {
+ _queryParams['advertiserIds'] = advertiserIds;
}
if (groupNumber != null) {
_queryParams['groupNumber'] = ['${groupNumber}'];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (advertiserIds != null) {
- _queryParams['advertiserIds'] = advertiserIds;
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (searchString != null) {
_queryParams['searchString'] = [searchString];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
@@ -5772,26 +5772,29 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [creativeFieldIds] - Select only creatives with these creative field IDs.
- ///
- /// [types] - Select only creatives with these creative types.
- ///
- /// [sizeIds] - Select only creatives with these size IDs.
- ///
- /// [campaignId] - Select only creatives with this campaign ID.
- ///
- /// [advertiserId] - Select only creatives with this advertiser ID.
- ///
/// [active] - Select only active creatives. Leave blank to select active and
/// inactive creatives.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [advertiserId] - Select only creatives with this advertiser ID.
+ ///
+ /// [archived] - Select only archived creatives. Leave blank to select
+ /// archived and unarchived creatives.
+ ///
+ /// [campaignId] - Select only creatives with this campaign ID.
+ ///
+ /// [companionCreativeIds] - Select only in-stream video creatives with these
+ /// companion IDs.
+ ///
+ /// [creativeFieldIds] - Select only creatives with these creative field IDs.
+ ///
+ /// [ids] - Select only creatives with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
+ /// [renderingIds] - Select only creatives with these rendering IDs.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "creative*2015" will return objects with names
@@ -5801,26 +5804,23 @@
/// will match objects with name "my creative", "creative 2015", or simply
/// "creative".
///
- /// [studioCreativeId] - Select only creatives corresponding to this Studio
- /// creative ID.
+ /// [sizeIds] - Select only creatives with these size IDs.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [ids] - Select only creatives with these IDs.
- ///
- /// [companionCreativeIds] - Select only in-stream video creatives with these
- /// companion IDs.
- ///
- /// [renderingIds] - Select only creatives with these rendering IDs.
- ///
- /// [archived] - Select only archived creatives. Leave blank to select
- /// archived and unarchived creatives.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
+ /// [studioCreativeId] - Select only creatives corresponding to this Studio
+ /// creative ID.
+ ///
+ /// [types] - Select only creatives with these creative types.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5833,22 +5833,22 @@
/// this method will complete with the same error.
async.Future<CreativesListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.List<core.String> creativeFieldIds,
- core.List<core.String> types,
- core.List<core.String> sizeIds,
- core.String campaignId,
- core.String advertiserId,
core.bool active,
- core.String sortField,
- core.String searchString,
- core.String studioCreativeId,
- core.String pageToken,
- core.List<core.String> ids,
- core.List<core.String> companionCreativeIds,
- core.List<core.String> renderingIds,
+ core.String advertiserId,
core.bool archived,
+ core.String campaignId,
+ core.List<core.String> companionCreativeIds,
+ core.List<core.String> creativeFieldIds,
+ core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.List<core.String> renderingIds,
+ core.String searchString,
+ core.List<core.String> sizeIds,
+ core.String sortField,
core.String sortOrder,
+ core.String studioCreativeId,
+ core.List<core.String> types,
core.String $fields,
}) {
core.String _url;
@@ -5861,54 +5861,54 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (creativeFieldIds != null) {
- _queryParams['creativeFieldIds'] = creativeFieldIds;
- }
- if (types != null) {
- _queryParams['types'] = types;
- }
- if (sizeIds != null) {
- _queryParams['sizeIds'] = sizeIds;
- }
- if (campaignId != null) {
- _queryParams['campaignId'] = [campaignId];
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
}
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (active != null) {
- _queryParams['active'] = ['${active}'];
+ if (archived != null) {
+ _queryParams['archived'] = ['${archived}'];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (studioCreativeId != null) {
- _queryParams['studioCreativeId'] = [studioCreativeId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (campaignId != null) {
+ _queryParams['campaignId'] = [campaignId];
}
if (companionCreativeIds != null) {
_queryParams['companionCreativeIds'] = companionCreativeIds;
}
+ if (creativeFieldIds != null) {
+ _queryParams['creativeFieldIds'] = creativeFieldIds;
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (renderingIds != null) {
_queryParams['renderingIds'] = renderingIds;
}
- if (archived != null) {
- _queryParams['archived'] = ['${archived}'];
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sizeIds != null) {
+ _queryParams['sizeIds'] = sizeIds;
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
+ if (studioCreativeId != null) {
+ _queryParams['studioCreativeId'] = [studioCreativeId];
+ }
+ if (types != null) {
+ _queryParams['types'] = types;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6125,11 +6125,11 @@
///
/// [profileId] - The DFA user profile ID.
///
- /// [pageToken] - The value of the nextToken from the previous result page.
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "100".
///
+ /// [pageToken] - The value of the nextToken from the previous result page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6143,8 +6143,8 @@
async.Future<DimensionValueList> query(
DimensionValueRequest request,
core.String profileId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -6160,12 +6160,12 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6312,9 +6312,36 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [acceptsInStreamVideoPlacements] - This search filter is no longer
+ /// supported and will have no effect on the results returned.
+ ///
+ /// [acceptsInterstitialPlacements] - This search filter is no longer
+ /// supported and will have no effect on the results returned.
+ ///
/// [acceptsPublisherPaidPlacements] - Select only directory sites that accept
/// publisher paid placements. This field can be left blank.
///
+ /// [active] - Select only active directory sites. Leave blank to retrieve
+ /// both active and inactive directory sites.
+ ///
+ /// [dfpNetworkCode] - Select only directory sites with this Ad Manager
+ /// network code.
+ ///
+ /// [ids] - Select only directory sites with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
+ /// [searchString] - Allows searching for objects by name, ID or URL.
+ /// Wildcards (*) are allowed. For example, "directory site*2015" will return
+ /// objects with names like "directory site June 2015", "directory site April
+ /// 2015", or simply "directory site 2015". Most of the searches also add
+ /// wildcards implicitly at the start and the end of the search string. For
+ /// example, a search string of "directory site" will match objects with name
+ /// "my directory site", "directory site 2015" or simply, "directory site".
+ ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
@@ -6325,33 +6352,6 @@
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [ids] - Select only directory sites with these IDs.
- ///
- /// [active] - Select only active directory sites. Leave blank to retrieve
- /// both active and inactive directory sites.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [acceptsInStreamVideoPlacements] - This search filter is no longer
- /// supported and will have no effect on the results returned.
- ///
- /// [searchString] - Allows searching for objects by name, ID or URL.
- /// Wildcards (*) are allowed. For example, "directory site*2015" will return
- /// objects with names like "directory site June 2015", "directory site April
- /// 2015", or simply "directory site 2015". Most of the searches also add
- /// wildcards implicitly at the start and the end of the search string. For
- /// example, a search string of "directory site" will match objects with name
- /// "my directory site", "directory site 2015" or simply, "directory site".
- ///
- /// [dfpNetworkCode] - Select only directory sites with this Ad Manager
- /// network code.
- ///
- /// [acceptsInterstitialPlacements] - This search filter is no longer
- /// supported and will have no effect on the results returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6364,17 +6364,17 @@
/// this method will complete with the same error.
async.Future<DirectorySitesListResponse> list(
core.String profileId, {
+ core.bool acceptsInStreamVideoPlacements,
+ core.bool acceptsInterstitialPlacements,
core.bool acceptsPublisherPaidPlacements,
+ core.bool active,
+ core.String dfpNetworkCode,
+ core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
core.String sortField,
core.String sortOrder,
- core.List<core.String> ids,
- core.bool active,
- core.String pageToken,
- core.int maxResults,
- core.bool acceptsInStreamVideoPlacements,
- core.String searchString,
- core.String dfpNetworkCode,
- core.bool acceptsInterstitialPlacements,
core.String $fields,
}) {
core.String _url;
@@ -6387,45 +6387,45 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
+ if (acceptsInStreamVideoPlacements != null) {
+ _queryParams['acceptsInStreamVideoPlacements'] = [
+ '${acceptsInStreamVideoPlacements}'
+ ];
+ }
+ if (acceptsInterstitialPlacements != null) {
+ _queryParams['acceptsInterstitialPlacements'] = [
+ '${acceptsInterstitialPlacements}'
+ ];
+ }
if (acceptsPublisherPaidPlacements != null) {
_queryParams['acceptsPublisherPaidPlacements'] = [
'${acceptsPublisherPaidPlacements}'
];
}
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
+ }
+ if (dfpNetworkCode != null) {
+ _queryParams['dfpNetworkCode'] = [dfpNetworkCode];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
- if (active != null) {
- _queryParams['active'] = ['${active}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (acceptsInStreamVideoPlacements != null) {
- _queryParams['acceptsInStreamVideoPlacements'] = [
- '${acceptsInStreamVideoPlacements}'
- ];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (dfpNetworkCode != null) {
- _queryParams['dfpNetworkCode'] = [dfpNetworkCode];
- }
- if (acceptsInterstitialPlacements != null) {
- _queryParams['acceptsInterstitialPlacements'] = [
- '${acceptsInterstitialPlacements}'
- ];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6598,6 +6598,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [advertiserId] - Select only dynamic targeting keys whose object has this
+ /// advertiser ID.
+ ///
+ /// [names] - Select only dynamic targeting keys exactly matching these names.
+ ///
+ /// [objectId] - Select only dynamic targeting keys with this object ID.
+ ///
/// [objectType] - Select only dynamic targeting keys with this object type.
/// Possible string values are:
/// - "OBJECT_ADVERTISER"
@@ -6605,13 +6612,6 @@
/// - "OBJECT_CREATIVE"
/// - "OBJECT_PLACEMENT"
///
- /// [objectId] - Select only dynamic targeting keys with this object ID.
- ///
- /// [names] - Select only dynamic targeting keys exactly matching these names.
- ///
- /// [advertiserId] - Select only dynamic targeting keys whose object has this
- /// advertiser ID.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6624,10 +6624,10 @@
/// this method will complete with the same error.
async.Future<DynamicTargetingKeysListResponse> list(
core.String profileId, {
- core.String objectType,
- core.String objectId,
- core.List<core.String> names,
core.String advertiserId,
+ core.List<core.String> names,
+ core.String objectId,
+ core.String objectType,
core.String $fields,
}) {
core.String _url;
@@ -6640,17 +6640,17 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (objectType != null) {
- _queryParams['objectType'] = [objectType];
- }
- if (objectId != null) {
- _queryParams['objectId'] = [objectId];
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
}
if (names != null) {
_queryParams['names'] = names;
}
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
+ if (objectId != null) {
+ _queryParams['objectId'] = [objectId];
+ }
+ if (objectType != null) {
+ _queryParams['objectType'] = [objectType];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -6855,6 +6855,12 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [adId] - Select only event tags that belong to this ad.
+ ///
+ /// [advertiserId] - Select only event tags that belong to this advertiser.
+ ///
+ /// [campaignId] - Select only event tags that belong to this campaign.
+ ///
/// [definitionsOnly] - Examine only the specified campaign or advertiser's
/// event tags for matching selector criteria. When set to false, the parent
/// advertiser and parent campaign of the specified ad or campaign is examined
@@ -6862,25 +6868,6 @@
/// well, along with the enabledByDefault field. This parameter can not be set
/// to true when adId is specified as ads do not define their own even tags.
///
- /// [adId] - Select only event tags that belong to this ad.
- ///
- /// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
- /// are allowed. For example, "eventtag*2015" will return objects with names
- /// like "eventtag June 2015", "eventtag April 2015", or simply "eventtag
- /// 2015". Most of the searches also add wildcards implicitly at the start and
- /// the end of the search string. For example, a search string of "eventtag"
- /// will match objects with name "my eventtag", "eventtag 2015", or simply
- /// "eventtag".
- ///
- /// [advertiserId] - Select only event tags that belong to this advertiser.
- ///
- /// [ids] - Select only event tags with these IDs.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
/// [enabled] - Select only enabled event tags. What is considered enabled or
/// disabled depends on the definitionsOnly parameter. When definitionsOnly is
/// set to true, only the specified advertiser or campaign's event tags'
@@ -6894,7 +6881,20 @@
/// pixel, a third-party JavaScript URL, or a third-party click-through URL
/// for either impression or click tracking.
///
- /// [campaignId] - Select only event tags that belong to this campaign.
+ /// [ids] - Select only event tags with these IDs.
+ ///
+ /// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
+ /// are allowed. For example, "eventtag*2015" will return objects with names
+ /// like "eventtag June 2015", "eventtag April 2015", or simply "eventtag
+ /// 2015". Most of the searches also add wildcards implicitly at the start and
+ /// the end of the search string. For example, a search string of "eventtag"
+ /// will match objects with name "my eventtag", "eventtag 2015", or simply
+ /// "eventtag".
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
@@ -6913,15 +6913,15 @@
/// this method will complete with the same error.
async.Future<EventTagsListResponse> list(
core.String profileId, {
- core.bool definitionsOnly,
core.String adId,
- core.String searchString,
core.String advertiserId,
- core.List<core.String> ids,
- core.String sortField,
+ core.String campaignId,
+ core.bool definitionsOnly,
core.bool enabled,
core.List<core.String> eventTagTypes,
- core.String campaignId,
+ core.List<core.String> ids,
+ core.String searchString,
+ core.String sortField,
core.String sortOrder,
core.String $fields,
}) {
@@ -6935,23 +6935,17 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (definitionsOnly != null) {
- _queryParams['definitionsOnly'] = ['${definitionsOnly}'];
- }
if (adId != null) {
_queryParams['adId'] = [adId];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (campaignId != null) {
+ _queryParams['campaignId'] = [campaignId];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (definitionsOnly != null) {
+ _queryParams['definitionsOnly'] = ['${definitionsOnly}'];
}
if (enabled != null) {
_queryParams['enabled'] = ['${enabled}'];
@@ -6959,8 +6953,14 @@
if (eventTagTypes != null) {
_queryParams['eventTagTypes'] = eventTagTypes;
}
- if (campaignId != null) {
- _queryParams['campaignId'] = [campaignId];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
@@ -7190,26 +7190,26 @@
///
/// [profileId] - The DFA profile ID.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "10".
+ ///
+ /// [pageToken] - The value of the nextToken from the previous result page.
+ ///
/// [scope] - The scope that defines which results are returned.
/// Possible string values are:
/// - "ALL" : All files in account.
/// - "MINE" : My files.
/// - "SHARED_WITH_ME" : Files shared with me.
///
- /// [pageToken] - The value of the nextToken from the previous result page.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
- ///
/// [sortField] - The field by which to sort the list.
/// Possible string values are:
/// - "ID" : Sort by file ID.
/// - "LAST_MODIFIED_TIME" : Sort by 'lastmodifiedAt' field.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "10".
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -7223,11 +7223,11 @@
/// this method will complete with the same error.
async.Future<FileList> list(
core.String profileId, {
- core.String scope,
- core.String pageToken,
- core.String sortOrder,
- core.String sortField,
core.int maxResults,
+ core.String pageToken,
+ core.String scope,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -7240,20 +7240,20 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (scope != null) {
- _queryParams['scope'] = [scope];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (scope != null) {
+ _queryParams['scope'] = [scope];
}
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -7521,35 +7521,9 @@
/// advertiser ID. Must specify either ids, advertiserId, or
/// floodlightConfigurationId for a non-empty result.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [floodlightActivityGroupIds] - Select only floodlight activities with the
/// specified floodlight activity group IDs.
///
- /// [floodlightConfigurationId] - Select only floodlight activities for the
- /// specified floodlight configuration ID. Must specify either ids,
- /// advertiserId, or floodlightConfigurationId for a non-empty result.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [ids] - Select only floodlight activities with the specified IDs. Must
- /// specify either ids, advertiserId, or floodlightConfigurationId for a
- /// non-empty result.
- ///
- /// [tagString] - Select only floodlight activities with the specified tag
- /// string.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [floodlightActivityGroupName] - Select only floodlight activities with the
/// specified floodlight activity group name.
///
@@ -7562,6 +7536,19 @@
/// - "COUNTER"
/// - "SALE"
///
+ /// [floodlightConfigurationId] - Select only floodlight activities for the
+ /// specified floodlight configuration ID. Must specify either ids,
+ /// advertiserId, or floodlightConfigurationId for a non-empty result.
+ ///
+ /// [ids] - Select only floodlight activities with the specified IDs. Must
+ /// specify either ids, advertiserId, or floodlightConfigurationId for a
+ /// non-empty result.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "floodlightactivity*2015" will return objects
/// with names like "floodlightactivity June 2015", "floodlightactivity April
@@ -7571,6 +7558,19 @@
/// name "my floodlightactivity activity", "floodlightactivity 2015", or
/// simply "floodlightactivity".
///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [tagString] - Select only floodlight activities with the specified tag
+ /// string.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7584,18 +7584,18 @@
async.Future<FloodlightActivitiesListResponse> list(
core.String profileId, {
core.String advertiserId,
- core.String sortField,
- core.String sortOrder,
core.List<core.String> floodlightActivityGroupIds,
- core.String floodlightConfigurationId,
- core.int maxResults,
- core.List<core.String> ids,
- core.String tagString,
- core.String pageToken,
core.String floodlightActivityGroupName,
core.String floodlightActivityGroupTagString,
core.String floodlightActivityGroupType,
+ core.String floodlightConfigurationId,
+ core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
+ core.String tagString,
core.String $fields,
}) {
core.String _url;
@@ -7611,30 +7611,9 @@
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (floodlightActivityGroupIds != null) {
_queryParams['floodlightActivityGroupIds'] = floodlightActivityGroupIds;
}
- if (floodlightConfigurationId != null) {
- _queryParams['floodlightConfigurationId'] = [floodlightConfigurationId];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
- if (tagString != null) {
- _queryParams['tagString'] = [tagString];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (floodlightActivityGroupName != null) {
_queryParams['floodlightActivityGroupName'] = [
floodlightActivityGroupName
@@ -7650,9 +7629,30 @@
floodlightActivityGroupType
];
}
+ if (floodlightConfigurationId != null) {
+ _queryParams['floodlightConfigurationId'] = [floodlightConfigurationId];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (searchString != null) {
_queryParams['searchString'] = [searchString];
}
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (tagString != null) {
+ _queryParams['tagString'] = [tagString];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7925,27 +7925,19 @@
/// advertiser ID. Must specify either advertiserId or
/// floodlightConfigurationId for a non-empty result.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [floodlightConfigurationId] - Select only floodlight activity groups with
+ /// the specified floodlight configuration ID. Must specify either
+ /// advertiserId, or floodlightConfigurationId for a non-empty result.
///
/// [ids] - Select only floodlight activity groups with the specified IDs.
/// Must specify either advertiserId or floodlightConfigurationId for a
/// non-empty result.
///
- /// [floodlightConfigurationId] - Select only floodlight activity groups with
- /// the specified floodlight configuration ID. Must specify either
- /// advertiserId, or floodlightConfigurationId for a non-empty result.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "floodlightactivitygroup*2015" will return
/// objects with names like "floodlightactivitygroup June 2015",
@@ -7956,7 +7948,15 @@
/// floodlightactivitygroup activity", "floodlightactivitygroup 2015", or
/// simply "floodlightactivitygroup".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [type] - Select only floodlight activity groups with the specified
/// floodlight activity group type.
@@ -7977,13 +7977,13 @@
async.Future<FloodlightActivityGroupsListResponse> list(
core.String profileId, {
core.String advertiserId,
- core.String sortOrder,
- core.List<core.String> ids,
core.String floodlightConfigurationId,
- core.String sortField,
+ core.List<core.String> ids,
core.int maxResults,
- core.String searchString,
core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String type,
core.String $fields,
}) {
@@ -8000,26 +8000,26 @@
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (floodlightConfigurationId != null) {
+ _queryParams['floodlightConfigurationId'] = [floodlightConfigurationId];
}
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (floodlightConfigurationId != null) {
- _queryParams['floodlightConfigurationId'] = [floodlightConfigurationId];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (searchString != null) {
_queryParams['searchString'] = [searchString];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if (type != null) {
_queryParams['type'] = [type];
@@ -8487,29 +8487,29 @@
///
/// [projectId] - Project ID for order documents.
///
+ /// [ids] - Select only inventory items with these IDs.
+ ///
/// [inPlan] - Select only inventory items that are in plan.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
/// [orderId] - Select only inventory items that belong to specified orders.
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [siteId] - Select only inventory items that are associated with these
/// sites.
///
- /// [ids] - Select only inventory items with these IDs.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [type] - Select only inventory items with this type.
/// Possible string values are:
@@ -8529,14 +8529,14 @@
async.Future<InventoryItemsListResponse> list(
core.String profileId,
core.String projectId, {
- core.bool inPlan,
- core.List<core.String> orderId,
- core.List<core.String> siteId,
core.List<core.String> ids,
- core.String sortOrder,
- core.String sortField,
+ core.bool inPlan,
core.int maxResults,
+ core.List<core.String> orderId,
core.String pageToken,
+ core.List<core.String> siteId,
+ core.String sortField,
+ core.String sortOrder,
core.String type,
core.String $fields,
}) {
@@ -8553,30 +8553,30 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
- if (inPlan != null) {
- _queryParams['inPlan'] = ['${inPlan}'];
- }
- if (orderId != null) {
- _queryParams['orderId'] = orderId;
- }
- if (siteId != null) {
- _queryParams['siteId'] = siteId;
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (inPlan != null) {
+ _queryParams['inPlan'] = ['${inPlan}'];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orderId != null) {
+ _queryParams['orderId'] = orderId;
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (siteId != null) {
+ _queryParams['siteId'] = siteId;
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if (type != null) {
_queryParams['type'] = [type];
}
@@ -8783,10 +8783,15 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [directories] - Select only apps from these directories.
///
+ /// [ids] - Select only apps with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "app*2015" will return objects with names like
/// "app Jan 2018", "app Jan 2018", or simply "app 2018". Most of the searches
@@ -8794,11 +8799,6 @@
/// string. For example, a search string of "app" will match objects with name
/// "my app", "app 2018", or simply "app".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [ids] - Select only apps with these IDs.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -8811,11 +8811,11 @@
/// this method will complete with the same error.
async.Future<MobileAppsListResponse> list(
core.String profileId, {
- core.String pageToken,
core.List<core.String> directories,
- core.String searchString,
- core.int maxResults,
core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
core.String $fields,
}) {
core.String _url;
@@ -8828,20 +8828,20 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (directories != null) {
_queryParams['directories'] = directories;
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -9286,28 +9286,17 @@
///
/// [projectId] - Project ID for order documents.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [approved] - Select only order documents that have been approved by at
/// least one user.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [ids] - Select only order documents with these IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
/// [orderId] - Select only order documents for specified orders.
///
- /// [siteId] - Select only order documents that are associated with these
- /// sites.
- ///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for order documents by name or ID.
/// Wildcards (*) are allowed. For example, "orderdocument*2015" will return
@@ -9318,7 +9307,18 @@
/// with name "my orderdocument", "orderdocument 2015", or simply
/// "orderdocument".
///
- /// [ids] - Select only order documents with these IDs.
+ /// [siteId] - Select only order documents that are associated with these
+ /// sites.
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -9333,15 +9333,15 @@
async.Future<OrderDocumentsListResponse> list(
core.String profileId,
core.String projectId, {
- core.int maxResults,
- core.String pageToken,
core.bool approved,
- core.String sortOrder,
+ core.List<core.String> ids,
+ core.int maxResults,
core.List<core.String> orderId,
+ core.String pageToken,
+ core.String searchString,
core.List<core.String> siteId,
core.String sortField,
- core.String searchString,
- core.List<core.String> ids,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -9357,20 +9357,23 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
+ if (approved != null) {
+ _queryParams['approved'] = ['${approved}'];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (orderId != null) {
+ _queryParams['orderId'] = orderId;
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (approved != null) {
- _queryParams['approved'] = ['${approved}'];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (orderId != null) {
- _queryParams['orderId'] = orderId;
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
}
if (siteId != null) {
_queryParams['siteId'] = siteId;
@@ -9378,11 +9381,8 @@
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -9486,15 +9486,10 @@
///
/// [projectId] - Project ID for orders.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
+ /// [ids] - Select only orders with these IDs.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
@@ -9507,10 +9502,15 @@
///
/// [siteId] - Select only orders that are associated with these site IDs.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
- /// [ids] - Select only orders with these IDs.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -9525,13 +9525,13 @@
async.Future<OrdersListResponse> list(
core.String profileId,
core.String projectId, {
- core.String sortOrder,
- core.String sortField,
+ core.List<core.String> ids,
+ core.int maxResults,
core.String pageToken,
core.String searchString,
core.List<core.String> siteId,
- core.int maxResults,
- core.List<core.String> ids,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -9547,11 +9547,11 @@
if (projectId == null) {
throw core.ArgumentError('Parameter projectId is required.');
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -9562,11 +9562,11 @@
if (siteId != null) {
_queryParams['siteId'] = siteId;
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -9716,56 +9716,44 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [placementStrategyIds] - Select only placement groups that are associated
- /// with these placement strategies.
+ /// [advertiserIds] - Select only placement groups that belong to these
+ /// advertisers.
+ ///
+ /// [archived] - Select only archived placements. Don't set this field to
+ /// select both archived and non-archived placements.
+ ///
+ /// [campaignIds] - Select only placement groups that belong to these
+ /// campaigns.
///
/// [contentCategoryIds] - Select only placement groups that are associated
/// with these content categories.
///
- /// [searchString] - Allows searching for placement groups by name or ID.
- /// Wildcards (*) are allowed. For example, "placement*2015" will return
- /// placement groups with names like "placement group June 2015", "placement
- /// group May 2015", or simply "placements 2015". Most of the searches also
- /// add wildcards implicitly at the start and the end of the search string.
- /// For example, a search string of "placementgroup" will match placement
- /// groups with name "my placementgroup", "placementgroup 2015", or simply
- /// "placementgroup".
+ /// [directorySiteIds] - Select only placement groups that are associated with
+ /// these directory sites.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [ids] - Select only placement groups with these IDs.
///
- /// [advertiserIds] - Select only placement groups that belong to these
- /// advertisers.
+ /// [maxEndDate] - Select only placements or placement groups whose end date
+ /// is on or before the specified maxEndDate. The date should be formatted as
+ /// "yyyy-MM-dd".
///
- /// [campaignIds] - Select only placement groups that belong to these
- /// campaigns.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "800".
+ ///
+ /// [maxStartDate] - Select only placements or placement groups whose start
+ /// date is on or before the specified maxStartDate. The date should be
+ /// formatted as "yyyy-MM-dd".
///
/// [minEndDate] - Select only placements or placement groups whose end date
/// is on or after the specified minEndDate. The date should be formatted as
/// "yyyy-MM-dd".
///
- /// [archived] - Select only archived placements. Don't set this field to
- /// select both archived and non-archived placements.
- ///
- /// [directorySiteIds] - Select only placement groups that are associated with
- /// these directory sites.
- ///
- /// [siteIds] - Select only placement groups that are associated with these
- /// sites.
- ///
- /// [pricingTypes] - Select only placement groups with these pricing types.
+ /// [minStartDate] - Select only placements or placement groups whose start
+ /// date is on or after the specified minStartDate. The date should be
+ /// formatted as "yyyy-MM-dd".
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [ids] - Select only placement groups with these IDs.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [placementGroupType] - Select only placement groups belonging with this
/// group type. A package is a simple group of placements that acts as a
/// single pricing point for a group of tags. A roadblock is a group of
@@ -9777,20 +9765,32 @@
/// - "PLACEMENT_PACKAGE"
/// - "PLACEMENT_ROADBLOCK"
///
- /// [maxEndDate] - Select only placements or placement groups whose end date
- /// is on or before the specified maxEndDate. The date should be formatted as
- /// "yyyy-MM-dd".
+ /// [placementStrategyIds] - Select only placement groups that are associated
+ /// with these placement strategies.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "800".
+ /// [pricingTypes] - Select only placement groups with these pricing types.
///
- /// [minStartDate] - Select only placements or placement groups whose start
- /// date is on or after the specified minStartDate. The date should be
- /// formatted as "yyyy-MM-dd".
+ /// [searchString] - Allows searching for placement groups by name or ID.
+ /// Wildcards (*) are allowed. For example, "placement*2015" will return
+ /// placement groups with names like "placement group June 2015", "placement
+ /// group May 2015", or simply "placements 2015". Most of the searches also
+ /// add wildcards implicitly at the start and the end of the search string.
+ /// For example, a search string of "placementgroup" will match placement
+ /// groups with name "my placementgroup", "placementgroup 2015", or simply
+ /// "placementgroup".
///
- /// [maxStartDate] - Select only placements or placement groups whose start
- /// date is on or before the specified maxStartDate. The date should be
- /// formatted as "yyyy-MM-dd".
+ /// [siteIds] - Select only placement groups that are associated with these
+ /// sites.
+ ///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -9804,25 +9804,25 @@
/// this method will complete with the same error.
async.Future<PlacementGroupsListResponse> list(
core.String profileId, {
- core.List<core.String> placementStrategyIds,
- core.List<core.String> contentCategoryIds,
- core.String searchString,
- core.String sortField,
core.List<core.String> advertiserIds,
- core.List<core.String> campaignIds,
- core.String minEndDate,
core.bool archived,
+ core.List<core.String> campaignIds,
+ core.List<core.String> contentCategoryIds,
core.List<core.String> directorySiteIds,
- core.List<core.String> siteIds,
- core.List<core.String> pricingTypes,
- core.String pageToken,
core.List<core.String> ids,
- core.String sortOrder,
- core.String placementGroupType,
core.String maxEndDate,
core.int maxResults,
- core.String minStartDate,
core.String maxStartDate,
+ core.String minEndDate,
+ core.String minStartDate,
+ core.String pageToken,
+ core.String placementGroupType,
+ core.List<core.String> placementStrategyIds,
+ core.List<core.String> pricingTypes,
+ core.String searchString,
+ core.List<core.String> siteIds,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -9835,62 +9835,62 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (placementStrategyIds != null) {
- _queryParams['placementStrategyIds'] = placementStrategyIds;
- }
- if (contentCategoryIds != null) {
- _queryParams['contentCategoryIds'] = contentCategoryIds;
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
if (advertiserIds != null) {
_queryParams['advertiserIds'] = advertiserIds;
}
- if (campaignIds != null) {
- _queryParams['campaignIds'] = campaignIds;
- }
- if (minEndDate != null) {
- _queryParams['minEndDate'] = [minEndDate];
- }
if (archived != null) {
_queryParams['archived'] = ['${archived}'];
}
+ if (campaignIds != null) {
+ _queryParams['campaignIds'] = campaignIds;
+ }
+ if (contentCategoryIds != null) {
+ _queryParams['contentCategoryIds'] = contentCategoryIds;
+ }
if (directorySiteIds != null) {
_queryParams['directorySiteIds'] = directorySiteIds;
}
- if (siteIds != null) {
- _queryParams['siteIds'] = siteIds;
- }
- if (pricingTypes != null) {
- _queryParams['pricingTypes'] = pricingTypes;
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (placementGroupType != null) {
- _queryParams['placementGroupType'] = [placementGroupType];
- }
if (maxEndDate != null) {
_queryParams['maxEndDate'] = [maxEndDate];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (maxStartDate != null) {
+ _queryParams['maxStartDate'] = [maxStartDate];
+ }
+ if (minEndDate != null) {
+ _queryParams['minEndDate'] = [minEndDate];
+ }
if (minStartDate != null) {
_queryParams['minStartDate'] = [minStartDate];
}
- if (maxStartDate != null) {
- _queryParams['maxStartDate'] = [maxStartDate];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (placementGroupType != null) {
+ _queryParams['placementGroupType'] = [placementGroupType];
+ }
+ if (placementStrategyIds != null) {
+ _queryParams['placementStrategyIds'] = placementStrategyIds;
+ }
+ if (pricingTypes != null) {
+ _queryParams['pricingTypes'] = pricingTypes;
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (siteIds != null) {
+ _queryParams['siteIds'] = siteIds;
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -10215,9 +10215,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [ids] - Select only placement strategies with these IDs.
+ ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "placementstrategy*2015" will return objects
/// with names like "placementstrategy June 2015", "placementstrategy April
@@ -10227,20 +10231,16 @@
/// name "my placementstrategy", "placementstrategy 2015", or simply
/// "placementstrategy".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [ids] - Select only placement strategies with these IDs.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -10253,12 +10253,12 @@
/// this method will complete with the same error.
async.Future<PlacementStrategiesListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.String searchString,
- core.String pageToken,
core.List<core.String> ids,
- core.String sortOrder,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -10271,24 +10271,24 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
}
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -10442,13 +10442,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [tagFormats] - Tag formats to generate for these placements. *Note:*
- /// PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
+ /// [campaignId] - Generate placements belonging to this campaign. This is a
+ /// required field.
///
/// [placementIds] - Generate tags for these placements.
///
- /// [campaignId] - Generate placements belonging to this campaign. This is a
- /// required field.
+ /// [tagFormats] - Tag formats to generate for these placements. *Note:*
+ /// PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -10462,9 +10462,9 @@
/// this method will complete with the same error.
async.Future<PlacementsGenerateTagsResponse> generatetags(
core.String profileId, {
- core.List<core.String> tagFormats,
- core.List<core.String> placementIds,
core.String campaignId,
+ core.List<core.String> placementIds,
+ core.List<core.String> tagFormats,
core.String $fields,
}) {
core.String _url;
@@ -10477,14 +10477,14 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (tagFormats != null) {
- _queryParams['tagFormats'] = tagFormats;
+ if (campaignId != null) {
+ _queryParams['campaignId'] = [campaignId];
}
if (placementIds != null) {
_queryParams['placementIds'] = placementIds;
}
- if (campaignId != null) {
- _queryParams['campaignId'] = [campaignId];
+ if (tagFormats != null) {
+ _queryParams['tagFormats'] = tagFormats;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -10627,15 +10627,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [advertiserIds] - Select only placements that belong to these advertisers.
+ ///
/// [archived] - Select only archived placements. Don't set this field to
/// select both archived and non-archived placements.
///
/// [campaignIds] - Select only placements that belong to these campaigns.
///
- /// [maxEndDate] - Select only placements or placement groups whose end date
- /// is on or before the specified maxEndDate. The date should be formatted as
- /// "yyyy-MM-dd".
- ///
/// [compatibilities] - Select only placements that are associated with these
/// compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering
/// either on desktop or on mobile devices for regular or interstitial ads
@@ -10643,25 +10641,46 @@
/// IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with
/// the VAST standard.
///
- /// [advertiserIds] - Select only placements that belong to these advertisers.
+ /// [contentCategoryIds] - Select only placements that are associated with
+ /// these content categories.
+ ///
+ /// [directorySiteIds] - Select only placements that are associated with these
+ /// directory sites.
+ ///
+ /// [groupIds] - Select only placements that belong to these placement groups.
+ ///
+ /// [ids] - Select only placements with these IDs.
+ ///
+ /// [maxEndDate] - Select only placements or placement groups whose end date
+ /// is on or before the specified maxEndDate. The date should be formatted as
+ /// "yyyy-MM-dd".
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [maxStartDate] - Select only placements or placement groups whose start
+ /// date is on or before the specified maxStartDate. The date should be
+ /// formatted as "yyyy-MM-dd".
///
/// [minEndDate] - Select only placements or placement groups whose end date
/// is on or after the specified minEndDate. The date should be formatted as
/// "yyyy-MM-dd".
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [siteIds] - Select only placements that are associated with these sites.
+ /// [minStartDate] - Select only placements or placement groups whose start
+ /// date is on or after the specified minStartDate. The date should be
+ /// formatted as "yyyy-MM-dd".
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [sortField] - Field by which to sort the list.
+ /// [paymentSource] - Select only placements with this payment source.
/// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// - "PLACEMENT_AGENCY_PAID"
+ /// - "PLACEMENT_PUBLISHER_PAID"
+ ///
+ /// [placementStrategyIds] - Select only placements that are associated with
+ /// these placement strategies.
+ ///
+ /// [pricingTypes] - Select only placements with these pricing types.
///
/// [searchString] - Allows searching for placements by name or ID. Wildcards
/// (*) are allowed. For example, "placement*2015" will return placements with
@@ -10671,38 +10690,19 @@
/// of "placement" will match placements with name "my placement", "placement
/// 2015", or simply "placement" .
///
- /// [groupIds] - Select only placements that belong to these placement groups.
- ///
- /// [contentCategoryIds] - Select only placements that are associated with
- /// these content categories.
- ///
- /// [pricingTypes] - Select only placements with these pricing types.
- ///
- /// [maxStartDate] - Select only placements or placement groups whose start
- /// date is on or before the specified maxStartDate. The date should be
- /// formatted as "yyyy-MM-dd".
- ///
- /// [directorySiteIds] - Select only placements that are associated with these
- /// directory sites.
- ///
- /// [paymentSource] - Select only placements with this payment source.
- /// Possible string values are:
- /// - "PLACEMENT_AGENCY_PAID"
- /// - "PLACEMENT_PUBLISHER_PAID"
- ///
- /// [ids] - Select only placements with these IDs.
- ///
- /// [minStartDate] - Select only placements or placement groups whose start
- /// date is on or after the specified minStartDate. The date should be
- /// formatted as "yyyy-MM-dd".
+ /// [siteIds] - Select only placements that are associated with these sites.
///
/// [sizeIds] - Select only placements that are associated with these sizes.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
- /// [placementStrategyIds] - Select only placements that are associated with
- /// these placement strategies.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -10716,28 +10716,28 @@
/// this method will complete with the same error.
async.Future<PlacementsListResponse> list(
core.String profileId, {
+ core.List<core.String> advertiserIds,
core.bool archived,
core.List<core.String> campaignIds,
- core.String maxEndDate,
core.List<core.String> compatibilities,
- core.List<core.String> advertiserIds,
- core.String minEndDate,
- core.String sortOrder,
- core.List<core.String> siteIds,
- core.String pageToken,
- core.String sortField,
- core.String searchString,
- core.List<core.String> groupIds,
core.List<core.String> contentCategoryIds,
- core.List<core.String> pricingTypes,
- core.String maxStartDate,
core.List<core.String> directorySiteIds,
- core.String paymentSource,
+ core.List<core.String> groupIds,
core.List<core.String> ids,
- core.String minStartDate,
- core.List<core.String> sizeIds,
+ core.String maxEndDate,
core.int maxResults,
+ core.String maxStartDate,
+ core.String minEndDate,
+ core.String minStartDate,
+ core.String pageToken,
+ core.String paymentSource,
core.List<core.String> placementStrategyIds,
+ core.List<core.String> pricingTypes,
+ core.String searchString,
+ core.List<core.String> siteIds,
+ core.List<core.String> sizeIds,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -10750,72 +10750,72 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
+ if (advertiserIds != null) {
+ _queryParams['advertiserIds'] = advertiserIds;
+ }
if (archived != null) {
_queryParams['archived'] = ['${archived}'];
}
if (campaignIds != null) {
_queryParams['campaignIds'] = campaignIds;
}
- if (maxEndDate != null) {
- _queryParams['maxEndDate'] = [maxEndDate];
- }
if (compatibilities != null) {
_queryParams['compatibilities'] = compatibilities;
}
- if (advertiserIds != null) {
- _queryParams['advertiserIds'] = advertiserIds;
- }
- if (minEndDate != null) {
- _queryParams['minEndDate'] = [minEndDate];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (siteIds != null) {
- _queryParams['siteIds'] = siteIds;
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (groupIds != null) {
- _queryParams['groupIds'] = groupIds;
- }
if (contentCategoryIds != null) {
_queryParams['contentCategoryIds'] = contentCategoryIds;
}
- if (pricingTypes != null) {
- _queryParams['pricingTypes'] = pricingTypes;
- }
- if (maxStartDate != null) {
- _queryParams['maxStartDate'] = [maxStartDate];
- }
if (directorySiteIds != null) {
_queryParams['directorySiteIds'] = directorySiteIds;
}
- if (paymentSource != null) {
- _queryParams['paymentSource'] = [paymentSource];
+ if (groupIds != null) {
+ _queryParams['groupIds'] = groupIds;
}
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (minStartDate != null) {
- _queryParams['minStartDate'] = [minStartDate];
- }
- if (sizeIds != null) {
- _queryParams['sizeIds'] = sizeIds;
+ if (maxEndDate != null) {
+ _queryParams['maxEndDate'] = [maxEndDate];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (maxStartDate != null) {
+ _queryParams['maxStartDate'] = [maxStartDate];
+ }
+ if (minEndDate != null) {
+ _queryParams['minEndDate'] = [minEndDate];
+ }
+ if (minStartDate != null) {
+ _queryParams['minStartDate'] = [minStartDate];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (paymentSource != null) {
+ _queryParams['paymentSource'] = [paymentSource];
+ }
if (placementStrategyIds != null) {
_queryParams['placementStrategyIds'] = placementStrategyIds;
}
+ if (pricingTypes != null) {
+ _queryParams['pricingTypes'] = pricingTypes;
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (siteIds != null) {
+ _queryParams['siteIds'] = siteIds;
+ }
+ if (sizeIds != null) {
+ _queryParams['sizeIds'] = sizeIds;
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -11251,24 +11251,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
/// [advertiserIds] - Select only projects with these advertiser IDs.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [ids] - Select only projects with these IDs.
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for projects by name or ID. Wildcards
/// (*) are allowed. For example, "project*2015" will return projects with
@@ -11278,6 +11268,16 @@
/// will match projects with name "my project", "project 2015", or simply
/// "project".
///
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -11290,13 +11290,13 @@
/// this method will complete with the same error.
async.Future<ProjectsListResponse> list(
core.String profileId, {
- core.int maxResults,
core.List<core.String> advertiserIds,
- core.String sortOrder,
core.List<core.String> ids,
+ core.int maxResults,
core.String pageToken,
- core.String sortField,
core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -11309,26 +11309,26 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (advertiserIds != null) {
_queryParams['advertiserIds'] = advertiserIds;
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -11719,6 +11719,24 @@
///
/// [advertiserId] - Select only remarketing lists owned by this advertiser.
///
+ /// [active] - Select only active or only inactive remarketing lists.
+ ///
+ /// [floodlightActivityId] - Select only remarketing lists that have this
+ /// floodlight activity ID.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [name] - Allows searching for objects by name or ID. Wildcards (*) are
+ /// allowed. For example, "remarketing list*2015" will return objects with
+ /// names like "remarketing list June 2015", "remarketing list April 2015", or
+ /// simply "remarketing list 2015". Most of the searches also add wildcards
+ /// implicitly at the start and the end of the search string. For example, a
+ /// search string of "remarketing list" will match objects with name "my
+ /// remarketing list", "remarketing list 2015", or simply "remarketing list".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
@@ -11729,24 +11747,6 @@
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [floodlightActivityId] - Select only remarketing lists that have this
- /// floodlight activity ID.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
- ///
- /// [active] - Select only active or only inactive remarketing lists.
- ///
- /// [name] - Allows searching for objects by name or ID. Wildcards (*) are
- /// allowed. For example, "remarketing list*2015" will return objects with
- /// names like "remarketing list June 2015", "remarketing list April 2015", or
- /// simply "remarketing list 2015". Most of the searches also add wildcards
- /// implicitly at the start and the end of the search string. For example, a
- /// search string of "remarketing list" will match objects with name "my
- /// remarketing list", "remarketing list 2015", or simply "remarketing list".
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -11760,13 +11760,13 @@
async.Future<RemarketingListsListResponse> list(
core.String profileId,
core.String advertiserId, {
+ core.bool active,
+ core.String floodlightActivityId,
+ core.int maxResults,
+ core.String name,
+ core.String pageToken,
core.String sortField,
core.String sortOrder,
- core.String floodlightActivityId,
- core.String pageToken,
- core.int maxResults,
- core.bool active,
- core.String name,
core.String $fields,
}) {
core.String _url;
@@ -11783,27 +11783,27 @@
throw core.ArgumentError('Parameter advertiserId is required.');
}
_queryParams['advertiserId'] = [advertiserId];
+ if (active != null) {
+ _queryParams['active'] = ['${active}'];
+ }
+ if (floodlightActivityId != null) {
+ _queryParams['floodlightActivityId'] = [floodlightActivityId];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (name != null) {
+ _queryParams['name'] = [name];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (floodlightActivityId != null) {
- _queryParams['floodlightActivityId'] = [floodlightActivityId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (active != null) {
- _queryParams['active'] = ['${active}'];
- }
- if (name != null) {
- _queryParams['name'] = [name];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -12131,27 +12131,27 @@
///
/// [profileId] - The DFA user profile ID.
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING" : Ascending order.
- /// - "DESCENDING" : Descending order.
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "10".
+ ///
+ /// [pageToken] - The value of the nextToken from the previous result page.
///
/// [scope] - The scope that defines which results are returned.
/// Possible string values are:
/// - "ALL" : All reports in account.
/// - "MINE" : My reports.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "10".
- ///
- /// [pageToken] - The value of the nextToken from the previous result page.
- ///
/// [sortField] - The field by which to sort the list.
/// Possible string values are:
/// - "ID" : Sort by report ID.
/// - "LAST_MODIFIED_TIME" : Sort by 'lastModifiedTime' field.
/// - "NAME" : Sort by name of reports.
///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING" : Ascending order.
+ /// - "DESCENDING" : Descending order.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -12164,11 +12164,11 @@
/// this method will complete with the same error.
async.Future<ReportList> list(
core.String profileId, {
- core.String sortOrder,
- core.String scope,
core.int maxResults,
core.String pageToken,
+ core.String scope,
core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -12181,21 +12181,21 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (scope != null) {
- _queryParams['scope'] = [scope];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (scope != null) {
+ _queryParams['scope'] = [scope];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -12570,11 +12570,6 @@
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "10".
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [pageToken] - The value of the nextToken from the previous result page.
///
/// [sortField] - The field by which to sort the list.
@@ -12582,6 +12577,11 @@
/// - "ID"
/// - "LAST_MODIFIED_TIME"
///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -12596,9 +12596,9 @@
core.String profileId,
core.String reportId, {
core.int maxResults,
- core.String sortOrder,
core.String pageToken,
core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -12617,15 +12617,15 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -12773,24 +12773,29 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [unmappedSite] - Select only sites that have not been mapped to a
- /// directory site.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [acceptsInStreamVideoPlacements] - This search filter is no longer
/// supported and will have no effect on the results returned.
///
+ /// [acceptsInterstitialPlacements] - This search filter is no longer
+ /// supported and will have no effect on the results returned.
+ ///
/// [acceptsPublisherPaidPlacements] - Select only sites that accept publisher
/// paid placements.
///
+ /// [adWordsSite] - Select only AdWords sites.
+ ///
+ /// [approved] - Select only approved sites.
+ ///
+ /// [campaignIds] - Select only sites with these campaign IDs.
+ ///
+ /// [directorySiteIds] - Select only sites with these directory site IDs.
+ ///
+ /// [ids] - Select only sites with these IDs.
+ ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [campaignIds] - Select only sites with these campaign IDs.
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name, ID or keyName.
/// Wildcards (*) are allowed. For example, "site*2015" will return objects
@@ -12799,26 +12804,21 @@
/// the end of the search string. For example, a search string of "site" will
/// match objects with name "my site", "site 2015", or simply "site".
///
- /// [directorySiteIds] - Select only sites with these directory site IDs.
- ///
- /// [adWordsSite] - Select only AdWords sites.
- ///
- /// [approved] - Select only approved sites.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [ids] - Select only sites with these IDs.
- ///
- /// [acceptsInterstitialPlacements] - This search filter is no longer
- /// supported and will have no effect on the results returned.
- ///
- /// [subaccountId] - Select only sites with this subaccount ID.
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [subaccountId] - Select only sites with this subaccount ID.
+ ///
+ /// [unmappedSite] - Select only sites that have not been mapped to a
+ /// directory site.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -12831,21 +12831,21 @@
/// this method will complete with the same error.
async.Future<SitesListResponse> list(
core.String profileId, {
- core.bool unmappedSite,
- core.String sortOrder,
core.bool acceptsInStreamVideoPlacements,
+ core.bool acceptsInterstitialPlacements,
core.bool acceptsPublisherPaidPlacements,
- core.int maxResults,
- core.List<core.String> campaignIds,
- core.String searchString,
- core.List<core.String> directorySiteIds,
core.bool adWordsSite,
core.bool approved,
- core.String pageToken,
+ core.List<core.String> campaignIds,
+ core.List<core.String> directorySiteIds,
core.List<core.String> ids,
- core.bool acceptsInterstitialPlacements,
- core.String subaccountId,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
core.String sortField,
+ core.String sortOrder,
+ core.String subaccountId,
+ core.bool unmappedSite,
core.String $fields,
}) {
core.String _url;
@@ -12858,56 +12858,56 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (unmappedSite != null) {
- _queryParams['unmappedSite'] = ['${unmappedSite}'];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (acceptsInStreamVideoPlacements != null) {
_queryParams['acceptsInStreamVideoPlacements'] = [
'${acceptsInStreamVideoPlacements}'
];
}
+ if (acceptsInterstitialPlacements != null) {
+ _queryParams['acceptsInterstitialPlacements'] = [
+ '${acceptsInterstitialPlacements}'
+ ];
+ }
if (acceptsPublisherPaidPlacements != null) {
_queryParams['acceptsPublisherPaidPlacements'] = [
'${acceptsPublisherPaidPlacements}'
];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (campaignIds != null) {
- _queryParams['campaignIds'] = campaignIds;
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (directorySiteIds != null) {
- _queryParams['directorySiteIds'] = directorySiteIds;
- }
if (adWordsSite != null) {
_queryParams['adWordsSite'] = ['${adWordsSite}'];
}
if (approved != null) {
_queryParams['approved'] = ['${approved}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (campaignIds != null) {
+ _queryParams['campaignIds'] = campaignIds;
+ }
+ if (directorySiteIds != null) {
+ _queryParams['directorySiteIds'] = directorySiteIds;
}
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (acceptsInterstitialPlacements != null) {
- _queryParams['acceptsInterstitialPlacements'] = [
- '${acceptsInterstitialPlacements}'
- ];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if (subaccountId != null) {
_queryParams['subaccountId'] = [subaccountId];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
+ if (unmappedSite != null) {
+ _queryParams['unmappedSite'] = ['${unmappedSite}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -13181,11 +13181,11 @@
///
/// [iabStandard] - Select only IAB standard sizes.
///
+ /// [ids] - Select only sizes with these IDs.
+ ///
/// [width] - Select only sizes with this width.
/// Value must be between "0" and "32767".
///
- /// [ids] - Select only sizes with these IDs.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -13200,8 +13200,8 @@
core.String profileId, {
core.int height,
core.bool iabStandard,
- core.int width,
core.List<core.String> ids,
+ core.int width,
core.String $fields,
}) {
core.String _url;
@@ -13220,12 +13220,12 @@
if (iabStandard != null) {
_queryParams['iabStandard'] = ['${iabStandard}'];
}
- if (width != null) {
- _queryParams['width'] = ['${width}'];
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
+ if (width != null) {
+ _queryParams['width'] = ['${width}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -13372,9 +13372,13 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [ids] - Select only subaccounts with these IDs.
+ ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
+ ///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "subaccount*2015" will return objects with names
/// like "subaccount June 2015", "subaccount April 2015", or simply
@@ -13383,20 +13387,16 @@
/// of "subaccount" will match objects with name "my subaccount", "subaccount
/// 2015", or simply "subaccount" .
///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [ids] - Select only subaccounts with these IDs.
- ///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
/// [sortField] - Field by which to sort the list.
/// Possible string values are:
/// - "ID"
/// - "NAME"
///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -13409,12 +13409,12 @@
/// this method will complete with the same error.
async.Future<SubaccountsListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.String searchString,
- core.String sortOrder,
core.List<core.String> ids,
+ core.int maxResults,
core.String pageToken,
+ core.String searchString,
core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -13427,24 +13427,24 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (ids != null) {
_queryParams['ids'] = ids;
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
if (sortField != null) {
_queryParams['sortField'] = [sortField];
}
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -13658,19 +13658,12 @@
/// [advertiserId] - Select only targetable remarketing lists targetable by
/// these advertisers.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
/// [active] - Select only active or only inactive targetable remarketing
/// lists.
///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
/// [name] - Allows searching for objects by name or ID. Wildcards (*) are
/// allowed. For example, "remarketing list*2015" will return objects with
/// names like "remarketing list June 2015", "remarketing list April 2015", or
@@ -13681,8 +13674,15 @@
///
/// [pageToken] - Value of the nextPageToken from the previous result page.
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
+ ///
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -13697,12 +13697,12 @@
async.Future<TargetableRemarketingListsListResponse> list(
core.String profileId,
core.String advertiserId, {
- core.String sortField,
- core.String sortOrder,
core.bool active,
+ core.int maxResults,
core.String name,
core.String pageToken,
- core.int maxResults,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -13719,23 +13719,23 @@
throw core.ArgumentError('Parameter advertiserId is required.');
}
_queryParams['advertiserId'] = [advertiserId];
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (active != null) {
_queryParams['active'] = ['${active}'];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (name != null) {
_queryParams['name'] = [name];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -13885,13 +13885,14 @@
///
/// [profileId] - User profile ID associated with this request.
///
+ /// [advertiserId] - Select only targeting templates with this advertiser ID.
+ ///
+ /// [ids] - Select only targeting templates with these IDs.
+ ///
/// [maxResults] - Maximum number of results to return.
/// Value must be between "0" and "1000".
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "template*2015" will return objects with names
@@ -13901,17 +13902,16 @@
/// will match objects with name "my template", "template 2015", or simply
/// "template".
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
- ///
- /// [advertiserId] - Select only targeting templates with this advertiser ID.
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
/// [sortOrder] - Order of sorted results.
/// Possible string values are:
/// - "ASCENDING"
/// - "DESCENDING"
///
- /// [ids] - Select only targeting templates with these IDs.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -13924,13 +13924,13 @@
/// this method will complete with the same error.
async.Future<TargetingTemplatesListResponse> list(
core.String profileId, {
- core.int maxResults,
- core.String sortField,
- core.String searchString,
- core.String pageToken,
core.String advertiserId,
- core.String sortOrder,
core.List<core.String> ids,
+ core.int maxResults,
+ core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -13943,27 +13943,27 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = ids;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
}
if (sortOrder != null) {
_queryParams['sortOrder'] = [sortOrder];
}
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -14620,22 +14620,15 @@
///
/// [profileId] - User profile ID associated with this request.
///
- /// [subaccountId] - Select only user roles that belong to this subaccount.
- ///
- /// [sortOrder] - Order of sorted results.
- /// Possible string values are:
- /// - "ASCENDING"
- /// - "DESCENDING"
- ///
- /// [ids] - Select only user roles with the specified IDs.
- ///
/// [accountUserRoleOnly] - Select only account level user roles not
/// associated with any specific subaccount.
///
- /// [sortField] - Field by which to sort the list.
- /// Possible string values are:
- /// - "ID"
- /// - "NAME"
+ /// [ids] - Select only user roles with the specified IDs.
+ ///
+ /// [maxResults] - Maximum number of results to return.
+ /// Value must be between "0" and "1000".
+ ///
+ /// [pageToken] - Value of the nextPageToken from the previous result page.
///
/// [searchString] - Allows searching for objects by name or ID. Wildcards (*)
/// are allowed. For example, "userrole*2015" will return objects with names
@@ -14645,10 +14638,17 @@
/// will match objects with name "my userrole", "userrole 2015", or simply
/// "userrole".
///
- /// [maxResults] - Maximum number of results to return.
- /// Value must be between "0" and "1000".
+ /// [sortField] - Field by which to sort the list.
+ /// Possible string values are:
+ /// - "ID"
+ /// - "NAME"
///
- /// [pageToken] - Value of the nextPageToken from the previous result page.
+ /// [sortOrder] - Order of sorted results.
+ /// Possible string values are:
+ /// - "ASCENDING"
+ /// - "DESCENDING"
+ ///
+ /// [subaccountId] - Select only user roles that belong to this subaccount.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -14662,14 +14662,14 @@
/// this method will complete with the same error.
async.Future<UserRolesListResponse> list(
core.String profileId, {
- core.String subaccountId,
- core.String sortOrder,
- core.List<core.String> ids,
core.bool accountUserRoleOnly,
- core.String sortField,
- core.String searchString,
+ core.List<core.String> ids,
core.int maxResults,
core.String pageToken,
+ core.String searchString,
+ core.String sortField,
+ core.String sortOrder,
+ core.String subaccountId,
core.String $fields,
}) {
core.String _url;
@@ -14682,23 +14682,11 @@
if (profileId == null) {
throw core.ArgumentError('Parameter profileId is required.');
}
- if (subaccountId != null) {
- _queryParams['subaccountId'] = [subaccountId];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (ids != null) {
- _queryParams['ids'] = ids;
- }
if (accountUserRoleOnly != null) {
_queryParams['accountUserRoleOnly'] = ['${accountUserRoleOnly}'];
}
- if (sortField != null) {
- _queryParams['sortField'] = [sortField];
- }
- if (searchString != null) {
- _queryParams['searchString'] = [searchString];
+ if (ids != null) {
+ _queryParams['ids'] = ids;
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
@@ -14706,6 +14694,18 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (searchString != null) {
+ _queryParams['searchString'] = [searchString];
+ }
+ if (sortField != null) {
+ _queryParams['sortField'] = [sortField];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (subaccountId != null) {
+ _queryParams['subaccountId'] = [subaccountId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/dialogflow/v2.dart b/generated/googleapis/lib/dialogflow/v2.dart
index 45a2727..a4e28dd 100644
--- a/generated/googleapis/lib/dialogflow/v2.dart
+++ b/generated/googleapis/lib/dialogflow/v2.dart
@@ -556,12 +556,12 @@
/// [parent] - Required. The project to list agents from. Format: `projects/`.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The next_page_token value returned from a previous list
- /// request.
- ///
/// [pageSize] - Optional. The maximum number of items to return in a single
/// page. By default 100 and at most 1000.
///
+ /// [pageToken] - The next_page_token value returned from a previous list
+ /// request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -574,8 +574,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2SearchAgentsResponse> search(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -588,12 +588,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1049,9 +1049,6 @@
/// `projects//agent`.
/// Value must have pattern "^projects/[^/]+/agent$".
///
- /// [pageToken] - Optional. The next_page_token value returned from a previous
- /// list request.
- ///
/// [languageCode] - Optional. The language used to access language-specific
/// data. If not specified, the agent's default language is used. For more
/// information, see [Multilingual intent and entity
@@ -1060,6 +1057,9 @@
/// [pageSize] - Optional. The maximum number of items to return in a single
/// page. By default 100 and at most 1000.
///
+ /// [pageToken] - Optional. The next_page_token value returned from a previous
+ /// list request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1072,9 +1072,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListEntityTypesResponse> list(
core.String parent, {
- core.String pageToken,
core.String languageCode,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1087,15 +1087,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1391,12 +1391,12 @@
/// `projects//agent`.
/// Value must have pattern "^projects/[^/]+/agent$".
///
- /// [pageToken] - Optional. The next_page_token value returned from a previous
- /// list request.
- ///
/// [pageSize] - Optional. The maximum number of items to return in a single
/// page. By default 100 and at most 1000.
///
+ /// [pageToken] - Optional. The next_page_token value returned from a previous
+ /// list request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1409,8 +1409,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListEnvironmentsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1423,12 +1423,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1792,12 +1792,12 @@
/// Value must have pattern
/// "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$".
///
- /// [pageToken] - Optional. The next_page_token value returned from a previous
- /// list request.
- ///
/// [pageSize] - Optional. The maximum number of items to return in a single
/// page. By default 100 and at most 1000.
///
+ /// [pageToken] - Optional. The next_page_token value returned from a previous
+ /// list request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1810,8 +1810,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListContextsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1824,12 +1824,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2124,12 +2124,12 @@
/// Value must have pattern
/// "^projects/[^/]+/agent/environments/[^/]+/users/[^/]+/sessions/[^/]+$".
///
- /// [pageToken] - Optional. The next_page_token value returned from a previous
- /// list request.
- ///
/// [pageSize] - Optional. The maximum number of items to return in a single
/// page. By default 100 and at most 1000.
///
+ /// [pageToken] - Optional. The next_page_token value returned from a previous
+ /// list request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2142,8 +2142,8 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListSessionEntityTypesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2156,12 +2156,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2585,6 +2585,13 @@
/// `projects//agent`.
/// Value must have pattern "^projects/[^/]+/agent$".
///
+ /// [intentView] - Optional. The resource view to apply to the returned
+ /// intent.
+ /// Possible string values are:
+ /// - "INTENT_VIEW_UNSPECIFIED" : Training phrases field is not populated in
+ /// the response.
+ /// - "INTENT_VIEW_FULL" : All fields are populated.
+ ///
/// [languageCode] - Optional. The language used to access language-specific
/// data. If not specified, the agent's default language is used. For more
/// information, see [Multilingual intent and entity
@@ -2596,13 +2603,6 @@
/// [pageToken] - Optional. The next_page_token value returned from a previous
/// list request.
///
- /// [intentView] - Optional. The resource view to apply to the returned
- /// intent.
- /// Possible string values are:
- /// - "INTENT_VIEW_UNSPECIFIED" : Training phrases field is not populated in
- /// the response.
- /// - "INTENT_VIEW_FULL" : All fields are populated.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2615,10 +2615,10 @@
/// this method will complete with the same error.
async.Future<GoogleCloudDialogflowV2ListIntentsResponse> list(
core.String parent, {
+ core.String intentView,
core.String languageCode,
core.int pageSize,
core.String pageToken,
- core.String intentView,
core.String $fields,
}) {
core.String _url;
@@ -2631,6 +2631,9 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (intentView != null) {
+ _queryParams['intentView'] = [intentView];
+ }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
@@ -2640,9 +2643,6 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (intentView != null) {
- _queryParams['intentView'] = [intentView];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2674,13 +2674,6 @@
/// `projects//agent/intents/`.
/// Value must have pattern "^projects/[^/]+/agent/intents/[^/]+$".
///
- /// [updateMask] - Optional. The mask to control which fields get updated.
- ///
- /// [languageCode] - Optional. The language used to access language-specific
- /// data. If not specified, the agent's default language is used. For more
- /// information, see [Multilingual intent and entity
- /// data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
- ///
/// [intentView] - Optional. The resource view to apply to the returned
/// intent.
/// Possible string values are:
@@ -2688,6 +2681,13 @@
/// the response.
/// - "INTENT_VIEW_FULL" : All fields are populated.
///
+ /// [languageCode] - Optional. The language used to access language-specific
+ /// data. If not specified, the agent's default language is used. For more
+ /// information, see [Multilingual intent and entity
+ /// data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
+ ///
+ /// [updateMask] - Optional. The mask to control which fields get updated.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2701,9 +2701,9 @@
async.Future<GoogleCloudDialogflowV2Intent> patch(
GoogleCloudDialogflowV2Intent request,
core.String name, {
- core.String updateMask,
- core.String languageCode,
core.String intentView,
+ core.String languageCode,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -2719,14 +2719,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
+ if (intentView != null) {
+ _queryParams['intentView'] = [intentView];
}
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
- if (intentView != null) {
- _queryParams['intentView'] = [intentView];
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -3673,10 +3673,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -3691,8 +3691,8 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -3706,12 +3706,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -3865,10 +3865,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -3883,8 +3883,8 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -3898,12 +3898,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/digitalassetlinks/v1.dart b/generated/googleapis/lib/digitalassetlinks/v1.dart
index 0222de8..7c8e148 100644
--- a/generated/googleapis/lib/digitalassetlinks/v1.dart
+++ b/generated/googleapis/lib/digitalassetlinks/v1.dart
@@ -69,25 +69,15 @@
///
/// Request parameters:
///
- /// [source_web_site] - Web assets are identified by a URL that contains only
- /// the scheme, hostname and port parts. The format is http[s]://[:] Hostnames
- /// must be fully qualified: they must end in a single period ("`.`"). Only
- /// the schemes "http" and "https" are currently allowed. Port numbers are
- /// given as a decimal number, and they must be omitted if the standard port
- /// numbers are used: 80 for http and 443 for https. We call this limited URL
- /// the "site". All URLs that share the same scheme, hostname and port are
- /// considered to be a part of the site and thus belong to the web asset.
- /// Example: the asset with the site `https://www.google.com` contains all
- /// these URLs: * `https://www.google.com/` * `https://www.google.com:443/` *
- /// `https://www.google.com/foo` * `https://www.google.com/foo?bar` *
- /// `https://www.google.com/foo#bar` * `https://user@password:www.google.com/`
- /// But it does not contain these URLs: * `http://www.google.com/` (wrong
- /// scheme) * `https://google.com/` (hostname does not match) *
- /// `https://www.google.com:444/` (port does not match) REQUIRED
- ///
- /// [target_androidApp_packageName] - Android App assets are naturally
- /// identified by their Java package name. For example, the Google Maps app
- /// uses the package name `com.google.android.apps.maps`. REQUIRED
+ /// [relation] - Query string for the relation. We identify relations with
+ /// strings of the format `/`, where `` must be one of a set of pre-defined
+ /// purpose categories, and `` is a free-form lowercase alphanumeric string
+ /// that describes the specific use case of the statement. Refer to [our API
+ /// documentation](/digital-asset-links/v1/relation-strings) for the current
+ /// list of supported relations. For a query to match an asset link, both the
+ /// query's and the asset link's relation strings must match exactly. Example:
+ /// A query with relation `delegate_permission/common.handle_all_urls` matches
+ /// an asset link with relation `delegate_permission/common.handle_all_urls`.
///
/// [source_androidApp_certificate_sha256Fingerprint] - The uppercase SHA-265
/// fingerprint of the certificate. From the PEM certificate, it can be
@@ -104,15 +94,25 @@
/// and represent the result as a hexstring (that is, uppercase hexadecimal
/// representations of each octet, separated by colons).
///
- /// [relation] - Query string for the relation. We identify relations with
- /// strings of the format `/`, where `` must be one of a set of pre-defined
- /// purpose categories, and `` is a free-form lowercase alphanumeric string
- /// that describes the specific use case of the statement. Refer to [our API
- /// documentation](/digital-asset-links/v1/relation-strings) for the current
- /// list of supported relations. For a query to match an asset link, both the
- /// query's and the asset link's relation strings must match exactly. Example:
- /// A query with relation `delegate_permission/common.handle_all_urls` matches
- /// an asset link with relation `delegate_permission/common.handle_all_urls`.
+ /// [source_androidApp_packageName] - Android App assets are naturally
+ /// identified by their Java package name. For example, the Google Maps app
+ /// uses the package name `com.google.android.apps.maps`. REQUIRED
+ ///
+ /// [source_web_site] - Web assets are identified by a URL that contains only
+ /// the scheme, hostname and port parts. The format is http[s]://[:] Hostnames
+ /// must be fully qualified: they must end in a single period ("`.`"). Only
+ /// the schemes "http" and "https" are currently allowed. Port numbers are
+ /// given as a decimal number, and they must be omitted if the standard port
+ /// numbers are used: 80 for http and 443 for https. We call this limited URL
+ /// the "site". All URLs that share the same scheme, hostname and port are
+ /// considered to be a part of the site and thus belong to the web asset.
+ /// Example: the asset with the site `https://www.google.com` contains all
+ /// these URLs: * `https://www.google.com/` * `https://www.google.com:443/` *
+ /// `https://www.google.com/foo` * `https://www.google.com/foo?bar` *
+ /// `https://www.google.com/foo#bar` * `https://user@password:www.google.com/`
+ /// But it does not contain these URLs: * `http://www.google.com/` (wrong
+ /// scheme) * `https://google.com/` (hostname does not match) *
+ /// `https://www.google.com:444/` (port does not match) REQUIRED
///
/// [target_androidApp_certificate_sha256Fingerprint] - The uppercase SHA-265
/// fingerprint of the certificate. From the PEM certificate, it can be
@@ -129,6 +129,10 @@
/// and represent the result as a hexstring (that is, uppercase hexadecimal
/// representations of each octet, separated by colons).
///
+ /// [target_androidApp_packageName] - Android App assets are naturally
+ /// identified by their Java package name. For example, the Google Maps app
+ /// uses the package name `com.google.android.apps.maps`. REQUIRED
+ ///
/// [target_web_site] - Web assets are identified by a URL that contains only
/// the scheme, hostname and port parts. The format is http[s]://[:] Hostnames
/// must be fully qualified: they must end in a single period ("`.`"). Only
@@ -145,10 +149,6 @@
/// scheme) * `https://google.com/` (hostname does not match) *
/// `https://www.google.com:444/` (port does not match) REQUIRED
///
- /// [source_androidApp_packageName] - Android App assets are naturally
- /// identified by their Java package name. For example, the Google Maps app
- /// uses the package name `com.google.android.apps.maps`. REQUIRED
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -160,13 +160,13 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CheckResponse> check({
- core.String source_web_site,
- core.String target_androidApp_packageName,
- core.String source_androidApp_certificate_sha256Fingerprint,
core.String relation,
- core.String target_androidApp_certificate_sha256Fingerprint,
- core.String target_web_site,
+ core.String source_androidApp_certificate_sha256Fingerprint,
core.String source_androidApp_packageName,
+ core.String source_web_site,
+ core.String target_androidApp_certificate_sha256Fingerprint,
+ core.String target_androidApp_packageName,
+ core.String target_web_site,
core.String $fields,
}) {
core.String _url;
@@ -176,35 +176,35 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source_web_site != null) {
- _queryParams['source.web.site'] = [source_web_site];
- }
- if (target_androidApp_packageName != null) {
- _queryParams['target.androidApp.packageName'] = [
- target_androidApp_packageName
- ];
+ if (relation != null) {
+ _queryParams['relation'] = [relation];
}
if (source_androidApp_certificate_sha256Fingerprint != null) {
_queryParams['source.androidApp.certificate.sha256Fingerprint'] = [
source_androidApp_certificate_sha256Fingerprint
];
}
- if (relation != null) {
- _queryParams['relation'] = [relation];
+ if (source_androidApp_packageName != null) {
+ _queryParams['source.androidApp.packageName'] = [
+ source_androidApp_packageName
+ ];
+ }
+ if (source_web_site != null) {
+ _queryParams['source.web.site'] = [source_web_site];
}
if (target_androidApp_certificate_sha256Fingerprint != null) {
_queryParams['target.androidApp.certificate.sha256Fingerprint'] = [
target_androidApp_certificate_sha256Fingerprint
];
}
+ if (target_androidApp_packageName != null) {
+ _queryParams['target.androidApp.packageName'] = [
+ target_androidApp_packageName
+ ];
+ }
if (target_web_site != null) {
_queryParams['target.web.site'] = [target_web_site];
}
- if (source_androidApp_packageName != null) {
- _queryParams['source.androidApp.packageName'] = [
- source_androidApp_packageName
- ];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -246,26 +246,6 @@
///
/// Request parameters:
///
- /// [source_web_site] - Web assets are identified by a URL that contains only
- /// the scheme, hostname and port parts. The format is http[s]://[:] Hostnames
- /// must be fully qualified: they must end in a single period ("`.`"). Only
- /// the schemes "http" and "https" are currently allowed. Port numbers are
- /// given as a decimal number, and they must be omitted if the standard port
- /// numbers are used: 80 for http and 443 for https. We call this limited URL
- /// the "site". All URLs that share the same scheme, hostname and port are
- /// considered to be a part of the site and thus belong to the web asset.
- /// Example: the asset with the site `https://www.google.com` contains all
- /// these URLs: * `https://www.google.com/` * `https://www.google.com:443/` *
- /// `https://www.google.com/foo` * `https://www.google.com/foo?bar` *
- /// `https://www.google.com/foo#bar` * `https://user@password:www.google.com/`
- /// But it does not contain these URLs: * `http://www.google.com/` (wrong
- /// scheme) * `https://google.com/` (hostname does not match) *
- /// `https://www.google.com:444/` (port does not match) REQUIRED
- ///
- /// [source_androidApp_packageName] - Android App assets are naturally
- /// identified by their Java package name. For example, the Google Maps app
- /// uses the package name `com.google.android.apps.maps`. REQUIRED
- ///
/// [relation] - Use only associations that match the specified relation. See
/// the [`Statement`](#Statement) message for a detailed definition of
/// relation strings. For a query to match a statement, one of the following
@@ -290,6 +270,26 @@
/// and represent the result as a hexstring (that is, uppercase hexadecimal
/// representations of each octet, separated by colons).
///
+ /// [source_androidApp_packageName] - Android App assets are naturally
+ /// identified by their Java package name. For example, the Google Maps app
+ /// uses the package name `com.google.android.apps.maps`. REQUIRED
+ ///
+ /// [source_web_site] - Web assets are identified by a URL that contains only
+ /// the scheme, hostname and port parts. The format is http[s]://[:] Hostnames
+ /// must be fully qualified: they must end in a single period ("`.`"). Only
+ /// the schemes "http" and "https" are currently allowed. Port numbers are
+ /// given as a decimal number, and they must be omitted if the standard port
+ /// numbers are used: 80 for http and 443 for https. We call this limited URL
+ /// the "site". All URLs that share the same scheme, hostname and port are
+ /// considered to be a part of the site and thus belong to the web asset.
+ /// Example: the asset with the site `https://www.google.com` contains all
+ /// these URLs: * `https://www.google.com/` * `https://www.google.com:443/` *
+ /// `https://www.google.com/foo` * `https://www.google.com/foo?bar` *
+ /// `https://www.google.com/foo#bar` * `https://user@password:www.google.com/`
+ /// But it does not contain these URLs: * `http://www.google.com/` (wrong
+ /// scheme) * `https://google.com/` (hostname does not match) *
+ /// `https://www.google.com:444/` (port does not match) REQUIRED
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -301,10 +301,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListResponse> list({
- core.String source_web_site,
- core.String source_androidApp_packageName,
core.String relation,
core.String source_androidApp_certificate_sha256Fingerprint,
+ core.String source_androidApp_packageName,
+ core.String source_web_site,
core.String $fields,
}) {
core.String _url;
@@ -314,14 +314,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (source_web_site != null) {
- _queryParams['source.web.site'] = [source_web_site];
- }
- if (source_androidApp_packageName != null) {
- _queryParams['source.androidApp.packageName'] = [
- source_androidApp_packageName
- ];
- }
if (relation != null) {
_queryParams['relation'] = [relation];
}
@@ -330,6 +322,14 @@
source_androidApp_certificate_sha256Fingerprint
];
}
+ if (source_androidApp_packageName != null) {
+ _queryParams['source.androidApp.packageName'] = [
+ source_androidApp_packageName
+ ];
+ }
+ if (source_web_site != null) {
+ _queryParams['source.web.site'] = [source_web_site];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/displayvideo/v1.dart b/generated/googleapis/lib/displayvideo/v1.dart
index 1f9fa78..a82f89c 100644
--- a/generated/googleapis/lib/displayvideo/v1.dart
+++ b/generated/googleapis/lib/displayvideo/v1.dart
@@ -250,11 +250,6 @@
/// to.
/// Value must have pattern "^[^/]+$".
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `targetingType` (default) The default sorting order is ascending. To
- /// specify descending order for a field, a suffix "desc" should be added to
- /// the field name. Example: `targetingType desc`.
- ///
/// [filter] - Allows filtering by assigned targeting option properties.
/// Supported syntax: * Filter expressions are made up of one or more
/// restrictions. * Restrictions can be combined by the logical operator
@@ -264,15 +259,20 @@
/// `targetingType="TARGETING_TYPE_CHANNEL"` The length of this field should
/// be no more than 500 characters.
///
- /// [pageToken] - A token that lets the client fetch the next page of results.
- /// Typically, this is the value of next_page_token returned from the previous
- /// call to `BulkListAdvertiserAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `targetingType` (default) The default sorting order is ascending. To
+ /// specify descending order for a field, a suffix "desc" should be added to
+ /// the field name. Example: `targetingType desc`.
///
/// [pageSize] - Requested page size. The size must be an integer between `1`
/// and `5000`. If unspecified, the default is '5000'. Returns error code
/// `INVALID_ARGUMENT` if an invalid value is specified.
///
+ /// [pageToken] - A token that lets the client fetch the next page of results.
+ /// Typically, this is the value of next_page_token returned from the previous
+ /// call to `BulkListAdvertiserAssignedTargetingOptions` method. If not
+ /// specified, the first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -286,10 +286,10 @@
async.Future<BulkListAdvertiserAssignedTargetingOptionsResponse>
bulkListAdvertiserAssignedTargetingOptions(
core.String advertiserId, {
- core.String orderBy,
core.String filter,
- core.String pageToken,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -302,18 +302,18 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -492,10 +492,6 @@
///
/// Request parameters:
///
- /// [partnerId] - Required. The ID of the partner that the fetched advertisers
- /// should all belong to. The system only supports listing advertisers for one
- /// partner at a time.
- ///
/// [filter] - Allows filtering by advertiser properties. Supported syntax: *
/// Filter expressions are made up of one or more restrictions. * Restrictions
/// can be combined by `AND` or `OR` logical operators. A sequence of
@@ -511,13 +507,17 @@
/// ascending. To specify descending order for a field, a suffix "desc" should
/// be added to the field name. For example, `displayName desc`.
///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of next_page_token returned from the
/// previous call to `ListAdvertisers` method. If not specified, the first
/// page of results will be returned.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`.
+ /// [partnerId] - Required. The ID of the partner that the fetched advertisers
+ /// should all belong to. The system only supports listing advertisers for one
+ /// partner at a time.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -530,11 +530,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAdvertisersResponse> list({
- core.String partnerId,
core.String filter,
core.String orderBy,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -544,20 +544,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -914,19 +914,6 @@
/// [advertiserId] - The ID of the advertiser to list campaigns for.
/// Value must have pattern "^[^/]+$".
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListCampaigns` method. If not specified, the first page
- /// of results will be returned.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `displayName` (default) * `entityStatus` The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `displayName desc`.
- ///
/// [filter] - Allows filtering by campaign properties. Supported syntax: *
/// Filter expressions are made up of one or more restrictions. * Restrictions
/// can be combined by `AND` or `OR` logical operators. A sequence of
@@ -938,6 +925,19 @@
/// entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be
/// no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `displayName` (default) * `entityStatus` The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListCampaigns` method. If not specified, the first page
+ /// of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -950,10 +950,10 @@
/// this method will complete with the same error.
async.Future<ListCampaignsResponse> list(
core.String advertiserId, {
- core.String pageToken,
- core.int pageSize,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -966,17 +966,17 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1216,11 +1216,6 @@
/// [advertiserId] - The ID of the advertiser that owns the channels.
/// Value must have pattern "^[^/]+$".
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListChannels` method. If not specified, the first page
- /// of results will be returned.
- ///
/// [filter] - Allows filtering by channel fields. Supported syntax: * Filter
/// expressions for channel currently can only contain at most one *
/// restriction. * A restriction has the form of `{field} {operator} {value}`.
@@ -1229,15 +1224,20 @@
/// `displayName : "google"`. The length of this field should be no more than
/// 500 characters.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `displayName` (default) * `channelId` The default sorting order is
/// ascending. To specify descending order for a field, a suffix " desc"
/// should be added to the field name. Example: `displayName desc`.
///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListChannels` method. If not specified, the first page
+ /// of results will be returned.
+ ///
/// [partnerId] - The ID of the partner that owns the channels.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1252,10 +1252,10 @@
/// this method will complete with the same error.
async.Future<ListChannelsResponse> list(
core.String advertiserId, {
- core.String pageToken,
core.String filter,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String partnerId,
core.String $fields,
}) {
@@ -1269,17 +1269,17 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
@@ -1316,10 +1316,10 @@
/// [channelId] - Output only. The unique ID of the channel. Assigned by the
/// system.
///
- /// [updateMask] - Required. The mask to control which fields to update.
- ///
/// [partnerId] - The ID of the partner that owns the created channel.
///
+ /// [updateMask] - Required. The mask to control which fields to update.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1334,8 +1334,8 @@
Channel request,
core.String advertiserId,
core.String channelId, {
- core.String updateMask,
core.String partnerId,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -1354,12 +1354,12 @@
if (channelId == null) {
throw core.ArgumentError('Parameter channelId is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1613,11 +1613,6 @@
/// requested sites belong.
/// Value must have pattern "^[^/]+$".
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListSites` method. If not specified, the first page of
- /// results will be returned.
- ///
/// [filter] - Allows filtering by site fields. Supported syntax: * Filter
/// expressions for site currently can only contain at most one * restriction.
/// * A restriction has the form of `{field} {operator} {value}`. * The
@@ -1625,8 +1620,6 @@
/// Examples: * All sites for which the URL or app ID contains "google":
/// `urlOrAppId : "google"`
///
- /// [partnerId] - The ID of the partner that owns the parent channel.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `urlOrAppId` (default) The default sorting order is ascending. To specify
/// descending order for a field, a suffix " desc" should be added to the
@@ -1636,6 +1629,13 @@
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListSites` method. If not specified, the first page of
+ /// results will be returned.
+ ///
+ /// [partnerId] - The ID of the partner that owns the parent channel.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1649,11 +1649,11 @@
async.Future<ListSitesResponse> list(
core.String advertiserId,
core.String channelId, {
- core.String pageToken,
core.String filter,
- core.String partnerId,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -1669,21 +1669,21 @@
if (channelId == null) {
throw core.ArgumentError('Parameter channelId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1901,21 +1901,6 @@
/// [advertiserId] - Required. The ID of the advertiser to list creatives for.
/// Value must have pattern "^[^/]+$".
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions`
- /// (sorts by width first, then by height) The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `createTime desc`.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListCreatives` method. If not specified, the first page
- /// of results will be returned.
- ///
/// [filter] - Allows filtering by creative properties. Supported syntax: *
/// Filter expressions are made up of one or more restrictions. * Restriction
/// for the same field must be combined by `OR`. * Restriction for different
@@ -1947,6 +1932,21 @@
/// * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2`
/// The length of this field should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `creativeId` (default) * `createTime` * `mediaDuration` * `dimensions`
+ /// (sorts by width first, then by height) The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `createTime desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListCreatives` method. If not specified, the first page
+ /// of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1959,10 +1959,10 @@
/// this method will complete with the same error.
async.Future<ListCreativesResponse> list(
core.String advertiserId, {
- core.int pageSize,
- core.String orderBy,
- core.String pageToken,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1975,18 +1975,18 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2280,20 +2280,6 @@
/// orders for.
/// Value must have pattern "^[^/]+$".
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// "displayName" (default) * "entityStatus" The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `displayName desc`.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListInsertionOrders` method. If not specified, the first
- /// page of results will be returned.
- ///
/// [filter] - Allows filtering by insertion order properties. Supported
/// syntax: * Filter expressions are made up of one or more restrictions. *
/// Restrictions can be combined by `AND` or `OR` logical operators. A
@@ -2311,6 +2297,20 @@
/// `budget.budget_segments.date_range.end_date<"2019-03-28"` The length of
/// this field should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// "displayName" (default) * "entityStatus" The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListInsertionOrders` method. If not specified, the first
+ /// page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2323,10 +2323,10 @@
/// this method will complete with the same error.
async.Future<ListInsertionOrdersResponse> list(
core.String advertiserId, {
+ core.String filter,
core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -2339,6 +2339,9 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
@@ -2348,9 +2351,6 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2541,20 +2541,6 @@
/// targeting options for.
/// Value must have pattern "^[^/]+$".
///
- /// [pageToken] - A token that lets the client fetch the next page of results.
- /// Typically, this is the value of next_page_token returned from the previous
- /// call to `BulkListLineItemAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `targetingType` (default) The default sorting order is ascending. To
- /// specify descending order for a field, a suffix "desc" should be added to
- /// the field name. Example: `targetingType desc`.
- ///
- /// [pageSize] - Requested page size. The size must be an integer between `1`
- /// and `5000`. If unspecified, the default is '5000'. Returns error code
- /// `INVALID_ARGUMENT` if an invalid value is specified.
- ///
/// [filter] - Allows filtering by assigned targeting option properties.
/// Supported syntax: * Filter expressions are made up of one or more
/// restrictions. * Restrictions can be combined by the logical operator `OR`
@@ -2569,6 +2555,20 @@
/// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
/// length of this field should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `targetingType` (default) The default sorting order is ascending. To
+ /// specify descending order for a field, a suffix "desc" should be added to
+ /// the field name. Example: `targetingType desc`.
+ ///
+ /// [pageSize] - Requested page size. The size must be an integer between `1`
+ /// and `5000`. If unspecified, the default is '5000'. Returns error code
+ /// `INVALID_ARGUMENT` if an invalid value is specified.
+ ///
+ /// [pageToken] - A token that lets the client fetch the next page of results.
+ /// Typically, this is the value of next_page_token returned from the previous
+ /// call to `BulkListLineItemAssignedTargetingOptions` method. If not
+ /// specified, the first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2583,10 +2583,10 @@
bulkListLineItemAssignedTargetingOptions(
core.String advertiserId,
core.String lineItemId, {
- core.String pageToken,
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2602,8 +2602,8 @@
if (lineItemId == null) {
throw core.ArgumentError('Parameter lineItemId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
@@ -2611,8 +2611,8 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2827,12 +2827,6 @@
/// for.
/// Value must have pattern "^[^/]+$".
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// "displayName" (default) * "entityStatus" * “flight.dateRange.endDate” The
- /// default sorting order is ascending. To specify descending order for a
- /// field, a suffix "desc" should be added to the field name. Example:
- /// `displayName desc`.
- ///
/// [filter] - Allows filtering by line item properties. Supported syntax: *
/// Filter expressions are made up of one or more restrictions. * Restrictions
/// can be combined by `AND` or `OR` logical operators. A sequence of
@@ -2855,15 +2849,21 @@
/// `warningMessages:"NO_VALID_CREATIVE"` The length of this field should be
/// no more than 500 characters.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListLineItems` method. If not specified, the first page
- /// of results will be returned.
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// "displayName" (default) * "entityStatus" * “flight.dateRange.endDate” The
+ /// default sorting order is ascending. To specify descending order for a
+ /// field, a suffix "desc" should be added to the field name. Example:
+ /// `displayName desc`.
///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListLineItems` method. If not specified, the first page
+ /// of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2876,10 +2876,10 @@
/// this method will complete with the same error.
async.Future<ListLineItemsResponse> list(
core.String advertiserId, {
- core.String orderBy,
core.String filter,
- core.String pageToken,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2892,18 +2892,18 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3594,20 +3594,6 @@
/// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific
/// sub-exchanges.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListLineItemAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `assignedTargetingOptionId` (default) The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `assignedTargetingOptionId desc`.
- ///
/// [filter] - Allows filtering by assigned targeting option properties.
/// Supported syntax: * Filter expressions are made up of one or more
/// restrictions. * Restrictions can be combined by the logical operator `OR`.
@@ -3620,6 +3606,20 @@
/// `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The
/// length of this field should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `assignedTargetingOptionId` (default) The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `assignedTargetingOptionId desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListLineItemAssignedTargetingOptions` method. If not
+ /// specified, the first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3634,10 +3634,10 @@
core.String advertiserId,
core.String lineItemId,
core.String targetingType, {
+ core.String filter,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String orderBy,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -3656,18 +3656,18 @@
if (targetingType == null) {
throw core.ArgumentError('Parameter targetingType is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3830,15 +3830,6 @@
/// fetched location lists belong.
/// Value must have pattern "^[^/]+$".
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `locationListId` (default) * `displayName` The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `displayName desc`.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. Defaults
- /// to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid
- /// value is specified.
- ///
/// [filter] - Allows filtering by location list fields. Supported syntax: *
/// Filter expressions are made up of one or more restrictions. * Restrictions
/// can be combined by `AND` or `OR` logical operators. A sequence of
@@ -3848,6 +3839,15 @@
/// `locationType="TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location
/// list: `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `locationListId` (default) * `displayName` The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. Defaults
+ /// to `100` if not set. Returns error code `INVALID_ARGUMENT` if an invalid
+ /// value is specified.
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of next_page_token returned from the
/// previous call to `ListLocationLists` method. If not specified, the first
@@ -3865,9 +3865,9 @@
/// this method will complete with the same error.
async.Future<ListLocationListsResponse> list(
core.String advertiserId, {
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
core.String pageToken,
core.String $fields,
}) {
@@ -3881,15 +3881,15 @@
if (advertiserId == null) {
throw core.ArgumentError('Parameter advertiserId is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -4210,11 +4210,6 @@
/// [locationListId] - Required. The ID of the location list to which these
/// assignments are assigned.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListAssignedLocations` method. If not specified, the
- /// first page of results will be returned.
- ///
/// [filter] - Allows filtering by location list assignment fields. Supported
/// syntax: * Filter expressions are made up of one or more restrictions. *
/// Restrictions can be combined by the logical operator `OR`. * A restriction
@@ -4231,6 +4226,11 @@
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListAssignedLocations` method. If not specified, the
+ /// first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4244,10 +4244,10 @@
async.Future<ListAssignedLocationsResponse> list(
core.String advertiserId,
core.String locationListId, {
- core.String pageToken,
core.String filter,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4263,9 +4263,6 @@
if (locationListId == null) {
throw core.ArgumentError('Parameter locationListId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
@@ -4275,6 +4272,9 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4867,11 +4867,6 @@
/// list to which the requested negative keywords belong.
/// Value must have pattern "^[^/]+$".
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `keywordValue` (default) The default sorting order is ascending. To
- /// specify descending order for a field, a suffix " desc" should be added to
- /// the field name. Example: `keywordValue desc`.
- ///
/// [filter] - Allows filtering by negative keyword fields. Supported syntax:
/// * Filter expressions for negative keyword currently can only contain at
/// most one * restriction. * A restriction has the form of `{field}
@@ -4879,6 +4874,11 @@
/// fields: - `keywordValue` Examples: * All negative keywords for which the
/// keyword value contains "google": `keywordValue : "google"`
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `keywordValue` (default) The default sorting order is ascending. To
+ /// specify descending order for a field, a suffix " desc" should be added to
+ /// the field name. Example: `keywordValue desc`.
+ ///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
@@ -4901,8 +4901,8 @@
async.Future<ListNegativeKeywordsResponse> list(
core.String advertiserId,
core.String negativeKeywordListId, {
- core.String orderBy,
core.String filter,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
core.String $fields,
@@ -4920,12 +4920,12 @@
if (negativeKeywordListId == null) {
throw core.ArgumentError('Parameter negativeKeywordListId is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
@@ -5513,11 +5513,6 @@
/// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific
/// sub-exchanges.
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `assignedTargetingOptionId` (default) The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `assignedTargetingOptionId desc`.
- ///
/// [filter] - Allows filtering by assigned targeting option properties.
/// Supported syntax: * Filter expressions are made up of one or more
/// restrictions. * Restrictions can be combined by the logical operator `OR`.
@@ -5527,15 +5522,20 @@
/// 123456 `assignedTargetingOptionId="123456"` The length of this field
/// should be no more than 500 characters.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListAdvertiserAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `assignedTargetingOptionId` (default) The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `assignedTargetingOptionId desc`.
///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListAdvertiserAssignedTargetingOptions` method. If not
+ /// specified, the first page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5549,10 +5549,10 @@
async.Future<ListAdvertiserAssignedTargetingOptionsResponse> list(
core.String advertiserId,
core.String targetingType, {
- core.String orderBy,
core.String filter,
- core.String pageToken,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5568,18 +5568,18 @@
if (targetingType == null) {
throw core.ArgumentError('Parameter targetingType is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5678,17 +5678,7 @@
///
/// Request parameters:
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `combinedAudienceId` (default) * `displayName` The default sorting order
- /// is ascending. To specify descending order for a field, a suffix "desc"
- /// should be added to the field name. Example: `displayName desc`.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListCombinedAudiences` method. If not specified, the
- /// first page of results will be returned.
- ///
- /// [partnerId] - The ID of the partner that has access to the fetched
+ /// [advertiserId] - The ID of the advertiser that has access to the fetched
/// combined audiences.
///
/// [filter] - Allows filtering by combined audience fields. Supported syntax:
@@ -5699,11 +5689,21 @@
/// name contains "Google": `displayName : "Google"`. The length of this field
/// should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `combinedAudienceId` (default) * `displayName` The default sorting order
+ /// is ascending. To specify descending order for a field, a suffix "desc"
+ /// should be added to the field name. Example: `displayName desc`.
+ ///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
- /// [advertiserId] - The ID of the advertiser that has access to the fetched
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListCombinedAudiences` method. If not specified, the
+ /// first page of results will be returned.
+ ///
+ /// [partnerId] - The ID of the partner that has access to the fetched
/// combined audiences.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -5717,12 +5717,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListCombinedAudiencesResponse> list({
+ core.String advertiserId,
+ core.String filter,
core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String partnerId,
- core.String filter,
- core.int pageSize,
- core.String advertiserId,
core.String $fields,
}) {
core.String _url;
@@ -5732,24 +5732,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
+ }
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5848,18 +5848,6 @@
///
/// Request parameters:
///
- /// [partnerId] - The ID of the DV360 partner that has access to the custom
- /// bidding algorithm.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListCustomBiddingAlgorithms` method. If not specified,
- /// the first page of results will be returned.
- ///
/// [advertiserId] - The ID of the DV360 advertiser that has access to the
/// custom bidding algorithm.
///
@@ -5885,6 +5873,18 @@
/// descending order for a field, a suffix "desc" should be added to the field
/// name. Example: `displayName desc`.
///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListCustomBiddingAlgorithms` method. If not specified,
+ /// the first page of results will be returned.
+ ///
+ /// [partnerId] - The ID of the DV360 partner that has access to the custom
+ /// bidding algorithm.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5896,12 +5896,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListCustomBiddingAlgorithmsResponse> list({
- core.String partnerId,
- core.int pageSize,
- core.String pageToken,
core.String advertiserId,
core.String filter,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -5911,15 +5911,6 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
@@ -5929,6 +5920,15 @@
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6015,23 +6015,9 @@
///
/// Request parameters:
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListCustomLists` method. If not specified, the first
- /// page of results will be returned.
- ///
/// [advertiserId] - The ID of the DV360 advertiser that has access to the
/// fetched custom lists.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `customListId` (default) * `displayName` The default sorting order is
- /// ascending. To specify descending order for a field, a suffix "desc" should
- /// be added to the field name. Example: `displayName desc`.
- ///
/// [filter] - Allows filtering by custom list fields. Supported syntax: *
/// Filter expressions for custom lists currently can only contain at most one
/// restriction. * A restriction has the form of `{field} {operator} {value}`.
@@ -6040,6 +6026,20 @@
/// `displayName : "Google"`. The length of this field should be no more than
/// 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `customListId` (default) * `displayName` The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix "desc" should
+ /// be added to the field name. Example: `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListCustomLists` method. If not specified, the first
+ /// page of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6051,11 +6051,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListCustomListsResponse> list({
- core.String pageToken,
core.String advertiserId,
- core.int pageSize,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -6065,20 +6065,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -6113,12 +6113,12 @@
/// party audience to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that has access to the fetched first
- /// and third party audience.
- ///
/// [advertiserId] - The ID of the advertiser that has access to the fetched
/// first and third party audience.
///
+ /// [partnerId] - The ID of the partner that has access to the fetched first
+ /// and third party audience.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6131,8 +6131,8 @@
/// this method will complete with the same error.
async.Future<FirstAndThirdPartyAudience> get(
core.String firstAndThirdPartyAudienceId, {
- core.String partnerId,
core.String advertiserId,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -6146,12 +6146,12 @@
throw core.ArgumentError(
'Parameter firstAndThirdPartyAudienceId is required.');
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6179,12 +6179,6 @@
/// [advertiserId] - The ID of the advertiser that has access to the fetched
/// first and third party audiences.
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `firstAndThirdPartyAudienceId` (default) * `displayName` The default
- /// sorting order is ascending. To specify descending order for a field, a
- /// suffix "desc" should be added to the field name. Example: `displayName
- /// desc`.
- ///
/// [filter] - Allows filtering by first and third party audience fields.
/// Supported syntax: * Filter expressions for first and third party audiences
/// currently can only contain at most one restriction. * A restriction has
@@ -6194,6 +6188,16 @@
/// : "Google"`. The length of this field should be no more than 500
/// characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `firstAndThirdPartyAudienceId` (default) * `displayName` The default
+ /// sorting order is ascending. To specify descending order for a field, a
+ /// suffix "desc" should be added to the field name. Example: `displayName
+ /// desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of next_page_token returned from the
/// previous call to `ListFirstAndThirdPartyAudiences` method. If not
@@ -6202,10 +6206,6 @@
/// [partnerId] - The ID of the partner that has access to the fetched first
/// and third party audiences.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6218,11 +6218,11 @@
/// this method will complete with the same error.
async.Future<ListFirstAndThirdPartyAudiencesResponse> list({
core.String advertiserId,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String partnerId,
- core.int pageSize,
core.String $fields,
}) {
core.String _url;
@@ -6235,11 +6235,14 @@
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -6247,9 +6250,6 @@
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6343,11 +6343,11 @@
/// [floodlightGroupId] - Output only. The unique ID of the Floodlight group.
/// Assigned by the system.
///
- /// [updateMask] - Required. The mask to control which fields to update.
- ///
/// [partnerId] - Required. The partner context by which the Floodlight group
/// is being accessed.
///
+ /// [updateMask] - Required. The mask to control which fields to update.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6361,8 +6361,8 @@
async.Future<FloodlightGroup> patch(
FloodlightGroup request,
core.String floodlightGroupId, {
- core.String updateMask,
core.String partnerId,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -6378,12 +6378,12 @@
if (floodlightGroupId == null) {
throw core.ArgumentError('Parameter floodlightGroupId is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6488,14 +6488,6 @@
/// contains "Google": `displayName : "Google"`. The length of this field
/// should be no more than 500 characters.
///
- /// [partnerId] - The ID of the partner that has access to the fetched Google
- /// audiences.
- ///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListGoogleAudiences` method. If not specified, the first
- /// page of results will be returned.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `googleAudienceId` (default) * `displayName` The default sorting order is
/// ascending. To specify descending order for a field, a suffix "desc" should
@@ -6505,6 +6497,14 @@
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListGoogleAudiences` method. If not specified, the first
+ /// page of results will be returned.
+ ///
+ /// [partnerId] - The ID of the partner that has access to the fetched Google
+ /// audiences.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6518,10 +6518,10 @@
async.Future<ListGoogleAudiencesResponse> list({
core.String advertiserId,
core.String filter,
- core.String partnerId,
- core.String pageToken,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -6537,18 +6537,18 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6651,12 +6651,12 @@
/// to delete.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that owns the inventory source group.
- /// Only this partner has write access to this group.
- ///
/// [advertiserId] - The ID of the advertiser that owns the inventory source
/// group. The parent partner does not have access to this group.
///
+ /// [partnerId] - The ID of the partner that owns the inventory source group.
+ /// Only this partner has write access to this group.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6669,8 +6669,8 @@
/// this method will complete with the same error.
async.Future<Empty> delete(
core.String inventorySourceGroupId, {
- core.String partnerId,
core.String advertiserId,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -6683,12 +6683,12 @@
if (inventorySourceGroupId == null) {
throw core.ArgumentError('Parameter inventorySourceGroupId is required.');
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6716,14 +6716,14 @@
/// to fetch.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that has access to the inventory
- /// source group. A partner cannot access an advertiser-owned inventory source
- /// group.
- ///
/// [advertiserId] - The ID of the advertiser that has access to the inventory
/// source group. If an inventory source group is partner-owned, only
/// advertisers to which the group is explicitly shared can access the group.
///
+ /// [partnerId] - The ID of the partner that has access to the inventory
+ /// source group. A partner cannot access an advertiser-owned inventory source
+ /// group.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6736,8 +6736,8 @@
/// this method will complete with the same error.
async.Future<InventorySourceGroup> get(
core.String inventorySourceGroupId, {
- core.String partnerId,
core.String advertiserId,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -6750,12 +6750,12 @@
if (inventorySourceGroupId == null) {
throw core.ArgumentError('Parameter inventorySourceGroupId is required.');
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6797,14 +6797,14 @@
/// order is ascending. To specify descending order for a field, a suffix
/// "desc" should be added to the field name. For example, `displayName desc`.
///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of next_page_token returned from the
/// previous call to `ListInventorySources` method. If not specified, the
/// first page of results will be returned.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`.
- ///
/// [partnerId] - The ID of the partner that has access to the inventory
/// source group. A partner cannot access advertiser-owned inventory source
/// groups.
@@ -6823,8 +6823,8 @@
core.String advertiserId,
core.String filter,
core.String orderBy,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String partnerId,
core.String $fields,
}) {
@@ -6844,12 +6844,12 @@
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
@@ -6882,14 +6882,14 @@
/// [inventorySourceGroupId] - Output only. The unique ID of the inventory
/// source group. Assigned by the system.
///
- /// [updateMask] - Required. The mask to control which fields to update.
- ///
/// [advertiserId] - The ID of the advertiser that owns the inventory source
/// group. The parent partner does not have access to this group.
///
/// [partnerId] - The ID of the partner that owns the inventory source group.
/// Only this partner has write access to this group.
///
+ /// [updateMask] - Required. The mask to control which fields to update.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6903,9 +6903,9 @@
async.Future<InventorySourceGroup> patch(
InventorySourceGroup request,
core.String inventorySourceGroupId, {
- core.String updateMask,
core.String advertiserId,
core.String partnerId,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -6921,15 +6921,15 @@
if (inventorySourceGroupId == null) {
throw core.ArgumentError('Parameter inventorySourceGroupId is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7032,14 +7032,14 @@
/// to which the assignment will be assigned.
/// Value must have pattern "^[^/]+$".
///
- /// [partnerId] - The ID of the partner that owns the parent inventory source
- /// group. Only this partner will have write access to this assigned inventory
- /// source.
- ///
/// [advertiserId] - The ID of the advertiser that owns the parent inventory
/// source group. The parent partner will not have access to this assigned
/// inventory source.
///
+ /// [partnerId] - The ID of the partner that owns the parent inventory source
+ /// group. Only this partner will have write access to this assigned inventory
+ /// source.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7053,8 +7053,8 @@
async.Future<AssignedInventorySource> create(
AssignedInventorySource request,
core.String inventorySourceGroupId, {
- core.String partnerId,
core.String advertiserId,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -7070,12 +7070,12 @@
if (inventorySourceGroupId == null) {
throw core.ArgumentError('Parameter inventorySourceGroupId is required.');
}
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7183,6 +7183,24 @@
/// to which these assignments are assigned.
/// Value must have pattern "^[^/]+$".
///
+ /// [advertiserId] - The ID of the advertiser that has access to the
+ /// assignment. If the parent inventory source group is partner-owned, only
+ /// advertisers to which the parent group is explicitly shared can access the
+ /// assigned inventory source.
+ ///
+ /// [filter] - Allows filtering by assigned inventory source fields. Supported
+ /// syntax: * Filter expressions are made up of one or more restrictions. *
+ /// Restrictions can be combined by the logical operator `OR`. * A restriction
+ /// has the form of `{field} {operator} {value}`. * The operator must be
+ /// `EQUALS (=)`. * Supported fields: - `assignedInventorySourceId` The length
+ /// of this field should be no more than 500 characters.
+ ///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `assignedInventorySourceId` (default) The default sorting order is
+ /// ascending. To specify descending order for a field, a suffix " desc"
+ /// should be added to the field name. Example: `assignedInventorySourceId
+ /// desc`.
+ ///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
@@ -7192,28 +7210,10 @@
/// previous call to `ListAssignedInventorySources` method. If not specified,
/// the first page of results will be returned.
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `assignedInventorySourceId` (default) The default sorting order is
- /// ascending. To specify descending order for a field, a suffix " desc"
- /// should be added to the field name. Example: `assignedInventorySourceId
- /// desc`.
- ///
/// [partnerId] - The ID of the partner that has access to the assignment. If
/// the parent inventory source group is advertiser-owned, the assignment
/// cannot be accessed via a partner.
///
- /// [filter] - Allows filtering by assigned inventory source fields. Supported
- /// syntax: * Filter expressions are made up of one or more restrictions. *
- /// Restrictions can be combined by the logical operator `OR`. * A restriction
- /// has the form of `{field} {operator} {value}`. * The operator must be
- /// `EQUALS (=)`. * Supported fields: - `assignedInventorySourceId` The length
- /// of this field should be no more than 500 characters.
- ///
- /// [advertiserId] - The ID of the advertiser that has access to the
- /// assignment. If the parent inventory source group is partner-owned, only
- /// advertisers to which the parent group is explicitly shared can access the
- /// assigned inventory source.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7226,12 +7226,12 @@
/// this method will complete with the same error.
async.Future<ListAssignedInventorySourcesResponse> list(
core.String inventorySourceGroupId, {
+ core.String advertiserId,
+ core.String filter,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String orderBy,
core.String partnerId,
- core.String filter,
- core.String advertiserId,
core.String $fields,
}) {
core.String _url;
@@ -7244,24 +7244,24 @@
if (inventorySourceGroupId == null) {
throw core.ArgumentError('Parameter inventorySourceGroupId is required.');
}
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
+ }
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (partnerId != null) {
_queryParams['partnerId'] = [partnerId];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7354,7 +7354,7 @@
///
/// Request parameters:
///
- /// [partnerId] - The ID of the partner that has access to the inventory
+ /// [advertiserId] - The ID of the advertiser that has access to the inventory
/// source.
///
/// [filter] - Allows filtering by inventory source properties. Supported
@@ -7369,14 +7369,6 @@
/// `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"` The
/// length of this field should be no more than 500 characters.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListInventorySources` method. If not specified, the
- /// first page of results will be returned.
- ///
- /// [advertiserId] - The ID of the advertiser that has access to the inventory
- /// source.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `displayName` (default) The default sorting order is ascending. To specify
/// descending order for a field, a suffix "desc" should be added to the field
@@ -7385,6 +7377,14 @@
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`.
///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListInventorySources` method. If not specified, the
+ /// first page of results will be returned.
+ ///
+ /// [partnerId] - The ID of the partner that has access to the inventory
+ /// source.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7396,12 +7396,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListInventorySourcesResponse> list({
- core.String partnerId,
- core.String filter,
- core.String pageToken,
core.String advertiserId,
+ core.String filter,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String partnerId,
core.String $fields,
}) {
core.String _url;
@@ -7411,24 +7411,24 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (partnerId != null) {
- _queryParams['partnerId'] = [partnerId];
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (partnerId != null) {
+ _queryParams['partnerId'] = [partnerId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7659,19 +7659,19 @@
/// `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be
/// no more than 500 characters.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListPartners` method. If not specified, the first page
- /// of results will be returned.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`.
- ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `displayName` The default sorting order is ascending. To specify
/// descending order for a field, a suffix "desc" should be added to the field
/// name. For example, `displayName desc`.
///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListPartners` method. If not specified, the first page
+ /// of results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7684,9 +7684,9 @@
/// this method will complete with the same error.
async.Future<ListPartnersResponse> list({
core.String filter,
- core.String pageToken,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -7699,14 +7699,14 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -7871,6 +7871,16 @@
/// [partnerId] - The ID of the partner that owns the channels.
/// Value must have pattern "^[^/]+$".
///
+ /// [advertiserId] - The ID of the advertiser that owns the channels.
+ ///
+ /// [filter] - Allows filtering by channel fields. Supported syntax: * Filter
+ /// expressions for channel currently can only contain at most one *
+ /// restriction. * A restriction has the form of `{field} {operator} {value}`.
+ /// * The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
+ /// Examples: * All channels for which the display name contains "google":
+ /// `displayName : "google"`. The length of this field should be no more than
+ /// 500 characters.
+ ///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `displayName` (default) * `channelId` The default sorting order is
/// ascending. To specify descending order for a field, a suffix " desc"
@@ -7885,16 +7895,6 @@
/// previous call to `ListChannels` method. If not specified, the first page
/// of results will be returned.
///
- /// [filter] - Allows filtering by channel fields. Supported syntax: * Filter
- /// expressions for channel currently can only contain at most one *
- /// restriction. * A restriction has the form of `{field} {operator} {value}`.
- /// * The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
- /// Examples: * All channels for which the display name contains "google":
- /// `displayName : "google"`. The length of this field should be no more than
- /// 500 characters.
- ///
- /// [advertiserId] - The ID of the advertiser that owns the channels.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7907,11 +7907,11 @@
/// this method will complete with the same error.
async.Future<ListChannelsResponse> list(
core.String partnerId, {
+ core.String advertiserId,
+ core.String filter,
core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String filter,
- core.String advertiserId,
core.String $fields,
}) {
core.String _url;
@@ -7924,6 +7924,12 @@
if (partnerId == null) {
throw core.ArgumentError('Parameter partnerId is required.');
}
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
+ }
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
@@ -7933,12 +7939,6 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -7971,10 +7971,10 @@
/// [channelId] - Output only. The unique ID of the channel. Assigned by the
/// system.
///
- /// [updateMask] - Required. The mask to control which fields to update.
- ///
/// [advertiserId] - The ID of the advertiser that owns the created channel.
///
+ /// [updateMask] - Required. The mask to control which fields to update.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -7989,8 +7989,8 @@
Channel request,
core.String partnerId,
core.String channelId, {
- core.String updateMask,
core.String advertiserId,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -8009,12 +8009,12 @@
if (channelId == null) {
throw core.ArgumentError('Parameter channelId is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -8268,6 +8268,8 @@
/// requested sites belong.
/// Value must have pattern "^[^/]+$".
///
+ /// [advertiserId] - The ID of the advertiser that owns the parent channel.
+ ///
/// [filter] - Allows filtering by site fields. Supported syntax: * Filter
/// expressions for site currently can only contain at most one * restriction.
/// * A restriction has the form of `{field} {operator} {value}`. * The
@@ -8275,21 +8277,19 @@
/// Examples: * All sites for which the URL or app ID contains "google":
/// `urlOrAppId : "google"`
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListSites` method. If not specified, the first page of
- /// results will be returned.
- ///
- /// [advertiserId] - The ID of the advertiser that owns the parent channel.
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `urlOrAppId` (default) The default sorting order is ascending. To specify
+ /// descending order for a field, a suffix " desc" should be added to the
+ /// field name. Example: `urlOrAppId desc`.
///
/// [pageSize] - Requested page size. Must be between `1` and `100`. If
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `urlOrAppId` (default) The default sorting order is ascending. To specify
- /// descending order for a field, a suffix " desc" should be added to the
- /// field name. Example: `urlOrAppId desc`.
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListSites` method. If not specified, the first page of
+ /// results will be returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -8304,11 +8304,11 @@
async.Future<ListSitesResponse> list(
core.String partnerId,
core.String channelId, {
- core.String filter,
- core.String pageToken,
core.String advertiserId,
- core.int pageSize,
+ core.String filter,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -8324,20 +8324,20 @@
if (channelId == null) {
throw core.ArgumentError('Parameter channelId is required.');
}
+ if (advertiserId != null) {
+ _queryParams['advertiserId'] = [advertiserId];
+ }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (advertiserId != null) {
- _queryParams['advertiserId'] = [advertiserId];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -8918,10 +8918,14 @@
/// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific
/// sub-exchanges.
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListPartnerAssignedTargetingOptions` method. If not
- /// specified, the first page of results will be returned.
+ /// [filter] - Allows filtering by assigned targeting option properties.
+ /// Supported syntax: * Filter expressions are made up of one or more
+ /// restrictions. * Restrictions can be combined by the logical operator `OR`.
+ /// * A restriction has the form of `{field} {operator} {value}`. * The
+ /// operator must be `EQUALS (=)`. * Supported fields: -
+ /// `assignedTargetingOptionId` Examples: * AssignedTargetingOption with ID
+ /// 123456 `assignedTargetingOptionId="123456"` The length of this field
+ /// should be no more than 500 characters.
///
/// [orderBy] - Field by which to sort the list. Acceptable values are: *
/// `assignedTargetingOptionId` (default) The default sorting order is
@@ -8932,14 +8936,10 @@
/// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
/// if an invalid value is specified.
///
- /// [filter] - Allows filtering by assigned targeting option properties.
- /// Supported syntax: * Filter expressions are made up of one or more
- /// restrictions. * Restrictions can be combined by the logical operator `OR`.
- /// * A restriction has the form of `{field} {operator} {value}`. * The
- /// operator must be `EQUALS (=)`. * Supported fields: -
- /// `assignedTargetingOptionId` Examples: * AssignedTargetingOption with ID
- /// 123456 `assignedTargetingOptionId="123456"` The length of this field
- /// should be no more than 500 characters.
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListPartnerAssignedTargetingOptions` method. If not
+ /// specified, the first page of results will be returned.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -8954,10 +8954,10 @@
async.Future<ListPartnerAssignedTargetingOptionsResponse> list(
core.String partnerId,
core.String targetingType, {
- core.String pageToken,
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -8973,8 +8973,8 @@
if (targetingType == null) {
throw core.ArgumentError('Parameter targetingType is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
@@ -8982,8 +8982,8 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -9378,18 +9378,9 @@
/// - "TARGETING_TYPE_SUB_EXCHANGE" : Purchase impressions from specific
/// sub-exchanges.
///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `targetingOptionId` (default) The default sorting order is ascending. To
- /// specify descending order for a field, a suffix "desc" should be added to
- /// the field name. Example: `targetingOptionId desc`.
- ///
/// [advertiserId] - Required. The Advertiser this request is being made in
/// the context of.
///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
- /// if an invalid value is specified.
- ///
/// [filter] - Allows filtering by targeting option properties. Supported
/// syntax: * Filter expressions are made up of one or more restrictions. *
/// Restrictions can be combined by `OR` logical operators. * A restriction
@@ -9405,6 +9396,15 @@
/// `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length
/// of this field should be no more than 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `targetingOptionId` (default) The default sorting order is ascending. To
+ /// specify descending order for a field, a suffix "desc" should be added to
+ /// the field name. Example: `targetingOptionId desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`. Returns error code `INVALID_ARGUMENT`
+ /// if an invalid value is specified.
+ ///
/// [pageToken] - A token identifying a page of results the server should
/// return. Typically, this is the value of next_page_token returned from the
/// previous call to `ListTargetingOptions` method. If not specified, the
@@ -9422,10 +9422,10 @@
/// this method will complete with the same error.
async.Future<ListTargetingOptionsResponse> list(
core.String targetingType, {
- core.String orderBy,
core.String advertiserId,
- core.int pageSize,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -9439,18 +9439,18 @@
if (targetingType == null) {
throw core.ArgumentError('Parameter targetingType is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (advertiserId != null) {
_queryParams['advertiserId'] = [advertiserId];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -9695,19 +9695,6 @@
///
/// Request parameters:
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of next_page_token returned from the
- /// previous call to `ListUsers` method. If not specified, the first page of
- /// results will be returned.
- ///
- /// [pageSize] - Requested page size. Must be between `1` and `100`. If
- /// unspecified will default to `100`.
- ///
- /// [orderBy] - Field by which to sort the list. Acceptable values are: *
- /// `displayName` (default) The default sorting order is ascending. To specify
- /// descending order for a field, a suffix "desc" should be added to the field
- /// name. For example, `displayName desc`.
- ///
/// [filter] - Allows filtering by user properties. Supported syntax: * Filter
/// expressions are made up of one or more restrictions. * Restrictions can be
/// combined by the logical operator `AND`. * A restriction has the form of
@@ -9732,6 +9719,19 @@
/// `parentPartnerId="123"` The length of this field should be no more than
/// 500 characters.
///
+ /// [orderBy] - Field by which to sort the list. Acceptable values are: *
+ /// `displayName` (default) The default sorting order is ascending. To specify
+ /// descending order for a field, a suffix "desc" should be added to the field
+ /// name. For example, `displayName desc`.
+ ///
+ /// [pageSize] - Requested page size. Must be between `1` and `100`. If
+ /// unspecified will default to `100`.
+ ///
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of next_page_token returned from the
+ /// previous call to `ListUsers` method. If not specified, the first page of
+ /// results will be returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -9743,10 +9743,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListUsersResponse> list({
- core.String pageToken,
- core.int pageSize,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -9756,17 +9756,17 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/dlp/v2.dart b/generated/googleapis/lib/dlp/v2.dart
index ea79237..4372553 100644
--- a/generated/googleapis/lib/dlp/v2.dart
+++ b/generated/googleapis/lib/dlp/v2.dart
@@ -63,14 +63,14 @@
///
/// Request parameters:
///
- /// [locationId] - Deprecated. This field has no effect.
+ /// [filter] - filter to only return infoTypes supported by certain parts of
+ /// the API. Defaults to supported_by=INSPECT.
///
/// [languageCode] - BCP-47 language code for localized infoType friendly
/// names. If omitted, or if localized strings are not available, en-US
/// strings will be returned.
///
- /// [filter] - filter to only return infoTypes supported by certain parts of
- /// the API. Defaults to supported_by=INSPECT.
+ /// [locationId] - Deprecated. This field has no effect.
///
/// [parent] - The parent resource name. The format of this value is as
/// follows: locations/ LOCATION_ID
@@ -86,9 +86,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInfoTypesResponse> list({
- core.String locationId,
- core.String languageCode,
core.String filter,
+ core.String languageCode,
+ core.String locationId,
core.String parent,
core.String $fields,
}) {
@@ -99,14 +99,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
}
if (parent != null) {
_queryParams['parent'] = [parent];
@@ -159,12 +159,12 @@
/// [filter] - filter to only return infoTypes supported by certain parts of
/// the API. Defaults to supported_by=INSPECT.
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [languageCode] - BCP-47 language code for localized infoType friendly
/// names. If omitted, or if localized strings are not available, en-US
/// strings will be returned.
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -178,8 +178,8 @@
async.Future<GooglePrivacyDlpV2ListInfoTypesResponse> list(
core.String parent, {
core.String filter,
- core.String locationId,
core.String languageCode,
+ core.String locationId,
core.String $fields,
}) {
core.String _url;
@@ -195,12 +195,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
- }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -444,6 +444,8 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
/// ascending, redundant space characters are insignificant. Example: `name
@@ -452,14 +454,12 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
- /// [locationId] - Deprecated. This field has no effect.
+ /// [pageSize] - Size of the page, can be limited by server. If zero server
+ /// returns a page of max size 100.
///
/// [pageToken] - Page token to continue retrieval. Comes from previous call
/// to `ListDeidentifyTemplates`.
///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -472,10 +472,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent, {
- core.String orderBy,
core.String locationId,
- core.String pageToken,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -488,18 +488,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1151,8 +1151,7 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListDeidentifyTemplates`.
+ /// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
@@ -1162,11 +1161,12 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [pageSize] - Size of the page, can be limited by server. If zero server
/// returns a page of max size 100.
///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListDeidentifyTemplates`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1179,10 +1179,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent, {
- core.String pageToken,
- core.String orderBy,
core.String locationId,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1195,18 +1195,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1499,6 +1499,8 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
/// ascending, redundant space characters are insignificant. Example: `name
@@ -1507,8 +1509,6 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [pageSize] - Size of the page, can be limited by server. If zero server
/// returns a page of max size 100.
///
@@ -1527,8 +1527,8 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent, {
- core.String orderBy,
core.String locationId,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
core.String $fields,
@@ -1543,12 +1543,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
@@ -1844,6 +1844,8 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
/// ascending, redundant space characters are insignificant. Example: `name
@@ -1856,8 +1858,6 @@
/// [pageSize] - Size of the page, can be limited by server. If zero server
/// returns a page of max size 100.
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [pageToken] - Page token to continue retrieval. Comes from previous call
/// to `ListStoredInfoTypes`.
///
@@ -1873,9 +1873,9 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent, {
+ core.String locationId,
core.String orderBy,
core.int pageSize,
- core.String locationId,
core.String pageToken,
core.String $fields,
}) {
@@ -1889,15 +1889,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -2189,12 +2189,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListStoredInfoTypes`.
- ///
/// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
@@ -2206,6 +2200,12 @@
/// `name`: corresponds to resource name. - `display_name`: corresponds to
/// info type's display name.
///
+ /// [pageSize] - Size of the page, can be limited by server. If zero server
+ /// returns a page of max size 100.
+ ///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListStoredInfoTypes`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2218,10 +2218,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent, {
- core.int pageSize,
- core.String pageToken,
core.String locationId,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2234,18 +2234,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2777,12 +2777,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListDeidentifyTemplates`.
- ///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
/// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
@@ -2793,6 +2787,12 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
+ /// [pageSize] - Size of the page, can be limited by server. If zero server
+ /// returns a page of max size 100.
+ ///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListDeidentifyTemplates`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2805,10 +2805,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String locationId,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2821,18 +2821,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3169,22 +3169,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
- /// [orderBy] - Comma separated list of fields to order by, followed by `asc`
- /// or `desc` postfix. This list is case-insensitive, default sorting order is
- /// ascending, redundant space characters are insignificant. Example: `name
- /// asc, end_time asc, create_time desc` Supported fields are: -
- /// `create_time`: corresponds to time the job was created. - `end_time`:
- /// corresponds to time the job ended. - `name`: corresponds to job's name. -
- /// `state`: corresponds to `state`
- ///
- /// [type] - The type of job. Defaults to `DlpJobType.INSPECT`
- /// Possible string values are:
- /// - "DLP_JOB_TYPE_UNSPECIFIED" : Unused
- /// - "INSPECT_JOB" : The job inspected Google Cloud for sensitive data.
- /// - "RISK_ANALYSIS_JOB" : The job executed a Risk Analysis computation.
- ///
/// [filter] - Allows filtering. Supported syntax: * Filter expressions are
/// made up of one or more restrictions. * Restrictions can be combined by
/// `AND` or `OR` logical operators. A sequence of restrictions implicitly
@@ -3204,10 +3188,26 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
+ /// [orderBy] - Comma separated list of fields to order by, followed by `asc`
+ /// or `desc` postfix. This list is case-insensitive, default sorting order is
+ /// ascending, redundant space characters are insignificant. Example: `name
+ /// asc, end_time asc, create_time desc` Supported fields are: -
+ /// `create_time`: corresponds to time the job was created. - `end_time`:
+ /// corresponds to time the job ended. - `name`: corresponds to job's name. -
+ /// `state`: corresponds to `state`
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
+ /// [type] - The type of job. Defaults to `DlpJobType.INSPECT`
+ /// Possible string values are:
+ /// - "DLP_JOB_TYPE_UNSPECIFIED" : Unused
+ /// - "INSPECT_JOB" : The job inspected Google Cloud for sensitive data.
+ /// - "RISK_ANALYSIS_JOB" : The job executed a Risk Analysis computation.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3220,12 +3220,12 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDlpJobsResponse> list(
core.String parent, {
+ core.String filter,
core.String locationId,
core.String orderBy,
- core.String type,
- core.String filter,
core.int pageSize,
core.String pageToken,
+ core.String type,
core.String $fields,
}) {
core.String _url;
@@ -3238,24 +3238,24 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (type != null) {
- _queryParams['type'] = [type];
- }
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (type != null) {
+ _queryParams['type'] = [type];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3951,22 +3951,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [orderBy] - Comma separated list of triggeredJob fields to order by,
- /// followed by `asc` or `desc` postfix. This list is case-insensitive,
- /// default sorting order is ascending, redundant space characters are
- /// insignificant. Example: `name asc,update_time, create_time desc` Supported
- /// fields are: - `create_time`: corresponds to time the JobTrigger was
- /// created. - `update_time`: corresponds to time the JobTrigger was last
- /// updated. - `last_run_time`: corresponds to the last time the JobTrigger
- /// ran. - `name`: corresponds to JobTrigger's name. - `display_name`:
- /// corresponds to JobTrigger's display name. - `status`: corresponds to
- /// JobTrigger's status.
- ///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to ListJobTriggers. `order_by` field must not change for subsequent calls.
- ///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [filter] - Allows filtering. Supported syntax: * Filter expressions are
/// made up of one or more restrictions. * Restrictions can be combined by
/// `AND` or `OR` logical operators. A sequence of restrictions implicitly
@@ -3983,8 +3967,24 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
+ /// [orderBy] - Comma separated list of triggeredJob fields to order by,
+ /// followed by `asc` or `desc` postfix. This list is case-insensitive,
+ /// default sorting order is ascending, redundant space characters are
+ /// insignificant. Example: `name asc,update_time, create_time desc` Supported
+ /// fields are: - `create_time`: corresponds to time the JobTrigger was
+ /// created. - `update_time`: corresponds to time the JobTrigger was last
+ /// updated. - `last_run_time`: corresponds to the last time the JobTrigger
+ /// ran. - `name`: corresponds to JobTrigger's name. - `display_name`:
+ /// corresponds to JobTrigger's display name. - `status`: corresponds to
+ /// JobTrigger's status.
+ ///
/// [pageSize] - Size of the page, can be limited by a server.
///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to ListJobTriggers. `order_by` field must not change for subsequent calls.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3997,11 +3997,11 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListJobTriggersResponse> list(
core.String parent, {
- core.String orderBy,
- core.String pageToken,
- core.String locationId,
core.String filter,
+ core.String locationId,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4014,21 +4014,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4561,11 +4561,7 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListDeidentifyTemplates`.
+ /// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
@@ -4575,7 +4571,11 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
- /// [locationId] - Deprecated. This field has no effect.
+ /// [pageSize] - Size of the page, can be limited by server. If zero server
+ /// returns a page of max size 100.
+ ///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListDeidentifyTemplates`.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4589,10 +4589,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDeidentifyTemplatesResponse> list(
core.String parent, {
+ core.String locationId,
+ core.String orderBy,
core.int pageSize,
core.String pageToken,
- core.String orderBy,
- core.String locationId,
core.String $fields,
}) {
core.String _url;
@@ -4605,18 +4605,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5077,16 +5077,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [orderBy] - Comma separated list of fields to order by, followed by `asc`
- /// or `desc` postfix. This list is case-insensitive, default sorting order is
- /// ascending, redundant space characters are insignificant. Example: `name
- /// asc, end_time asc, create_time desc` Supported fields are: -
- /// `create_time`: corresponds to time the job was created. - `end_time`:
- /// corresponds to time the job ended. - `name`: corresponds to job's name. -
- /// `state`: corresponds to `state`
- ///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - Allows filtering. Supported syntax: * Filter expressions are
/// made up of one or more restrictions. * Restrictions can be combined by
/// `AND` or `OR` logical operators. A sequence of restrictions implicitly
@@ -5108,8 +5098,18 @@
///
/// [locationId] - Deprecated. This field has no effect.
///
+ /// [orderBy] - Comma separated list of fields to order by, followed by `asc`
+ /// or `desc` postfix. This list is case-insensitive, default sorting order is
+ /// ascending, redundant space characters are insignificant. Example: `name
+ /// asc, end_time asc, create_time desc` Supported fields are: -
+ /// `create_time`: corresponds to time the job was created. - `end_time`:
+ /// corresponds to time the job ended. - `name`: corresponds to job's name. -
+ /// `state`: corresponds to `state`
+ ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [type] - The type of job. Defaults to `DlpJobType.INSPECT`
/// Possible string values are:
/// - "DLP_JOB_TYPE_UNSPECIFIED" : Unused
@@ -5128,11 +5128,11 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListDlpJobsResponse> list(
core.String parent, {
- core.String orderBy,
- core.String pageToken,
core.String filter,
core.String locationId,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String type,
core.String $fields,
}) {
@@ -5146,21 +5146,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (type != null) {
_queryParams['type'] = [type];
}
@@ -5473,8 +5473,7 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListInspectTemplates`.
+ /// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
/// or `desc` postfix. This list is case-insensitive, default sorting order is
@@ -5484,11 +5483,12 @@
/// to time the template was last updated. - `name`: corresponds to template's
/// name. - `display_name`: corresponds to template's display name.
///
- /// [locationId] - Deprecated. This field has no effect.
- ///
/// [pageSize] - Size of the page, can be limited by server. If zero server
/// returns a page of max size 100.
///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListInspectTemplates`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5501,10 +5501,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListInspectTemplatesResponse> list(
core.String parent, {
- core.String pageToken,
- core.String orderBy,
core.String locationId,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5517,18 +5517,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (locationId != null) {
+ _queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (locationId != null) {
- _queryParams['locationId'] = [locationId];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5930,24 +5930,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - Size of the page, can be limited by a server.
- ///
- /// [orderBy] - Comma separated list of triggeredJob fields to order by,
- /// followed by `asc` or `desc` postfix. This list is case-insensitive,
- /// default sorting order is ascending, redundant space characters are
- /// insignificant. Example: `name asc,update_time, create_time desc` Supported
- /// fields are: - `create_time`: corresponds to time the JobTrigger was
- /// created. - `update_time`: corresponds to time the JobTrigger was last
- /// updated. - `last_run_time`: corresponds to the last time the JobTrigger
- /// ran. - `name`: corresponds to JobTrigger's name. - `display_name`:
- /// corresponds to JobTrigger's display name. - `status`: corresponds to
- /// JobTrigger's status.
- ///
- /// [locationId] - Deprecated. This field has no effect.
- ///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to ListJobTriggers. `order_by` field must not change for subsequent calls.
- ///
/// [filter] - Allows filtering. Supported syntax: * Filter expressions are
/// made up of one or more restrictions. * Restrictions can be combined by
/// `AND` or `OR` logical operators. A sequence of restrictions implicitly
@@ -5964,6 +5946,24 @@
/// \"2017-12-12T00:00:00+00:00\" The length of this field should be no more
/// than 500 characters.
///
+ /// [locationId] - Deprecated. This field has no effect.
+ ///
+ /// [orderBy] - Comma separated list of triggeredJob fields to order by,
+ /// followed by `asc` or `desc` postfix. This list is case-insensitive,
+ /// default sorting order is ascending, redundant space characters are
+ /// insignificant. Example: `name asc,update_time, create_time desc` Supported
+ /// fields are: - `create_time`: corresponds to time the JobTrigger was
+ /// created. - `update_time`: corresponds to time the JobTrigger was last
+ /// updated. - `last_run_time`: corresponds to the last time the JobTrigger
+ /// ran. - `name`: corresponds to JobTrigger's name. - `display_name`:
+ /// corresponds to JobTrigger's display name. - `status`: corresponds to
+ /// JobTrigger's status.
+ ///
+ /// [pageSize] - Size of the page, can be limited by a server.
+ ///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to ListJobTriggers. `order_by` field must not change for subsequent calls.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5976,11 +5976,11 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListJobTriggersResponse> list(
core.String parent, {
- core.int pageSize,
- core.String orderBy,
- core.String locationId,
- core.String pageToken,
core.String filter,
+ core.String locationId,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5993,21 +5993,21 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6296,12 +6296,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListStoredInfoTypes`.
- ///
- /// [pageSize] - Size of the page, can be limited by server. If zero server
- /// returns a page of max size 100.
- ///
/// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
@@ -6313,6 +6307,12 @@
/// `name`: corresponds to resource name. - `display_name`: corresponds to
/// info type's display name.
///
+ /// [pageSize] - Size of the page, can be limited by server. If zero server
+ /// returns a page of max size 100.
+ ///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListStoredInfoTypes`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6325,10 +6325,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String locationId,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -6341,18 +6341,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6641,9 +6641,6 @@
/// parent=projects/example-project/locations/europe-west3
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Page token to continue retrieval. Comes from previous call
- /// to `ListStoredInfoTypes`.
- ///
/// [locationId] - Deprecated. This field has no effect.
///
/// [orderBy] - Comma separated list of fields to order by, followed by `asc`
@@ -6658,6 +6655,9 @@
/// [pageSize] - Size of the page, can be limited by server. If zero server
/// returns a page of max size 100.
///
+ /// [pageToken] - Page token to continue retrieval. Comes from previous call
+ /// to `ListStoredInfoTypes`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6670,10 +6670,10 @@
/// this method will complete with the same error.
async.Future<GooglePrivacyDlpV2ListStoredInfoTypesResponse> list(
core.String parent, {
- core.String pageToken,
core.String locationId,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -6686,9 +6686,6 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (locationId != null) {
_queryParams['locationId'] = [locationId];
}
@@ -6698,6 +6695,9 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/dns/v1.dart b/generated/googleapis/lib/dns/v1.dart
index 2bea071..42d9377 100644
--- a/generated/googleapis/lib/dns/v1.dart
+++ b/generated/googleapis/lib/dns/v1.dart
@@ -228,18 +228,18 @@
/// [managedZone] - Identifies the managed zone addressed by this request. Can
/// be the managed zone name or ID.
///
- /// [sortBy] - Sorting criterion. The only supported value is change sequence.
- /// Possible string values are:
- /// - "changeSequence"
- ///
- /// [sortOrder] - Sorting order direction: 'ascending' or 'descending'.
- ///
/// [maxResults] - Optional. Maximum number of results to be returned. If
/// unspecified, the server will decide how many results to return.
///
/// [pageToken] - Optional. A tag returned by a previous list request that was
/// truncated. Use this parameter to continue a previous list request.
///
+ /// [sortBy] - Sorting criterion. The only supported value is change sequence.
+ /// Possible string values are:
+ /// - "changeSequence"
+ ///
+ /// [sortOrder] - Sorting order direction: 'ascending' or 'descending'.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -253,10 +253,10 @@
async.Future<ChangesListResponse> list(
core.String project,
core.String managedZone, {
- core.String sortBy,
- core.String sortOrder,
core.int maxResults,
core.String pageToken,
+ core.String sortBy,
+ core.String sortOrder,
core.String $fields,
}) {
core.String _url;
@@ -272,18 +272,18 @@
if (managedZone == null) {
throw core.ArgumentError('Parameter managedZone is required.');
}
- if (sortBy != null) {
- _queryParams['sortBy'] = [sortBy];
- }
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (sortBy != null) {
+ _queryParams['sortBy'] = [sortBy];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -563,12 +563,12 @@
///
/// [managedZone] - Identifies the managed zone addressed by this request.
///
- /// [pageToken] - Optional. A tag returned by a previous list request that was
- /// truncated. Use this parameter to continue a previous list request.
- ///
/// [maxResults] - Optional. Maximum number of results to be returned. If
/// unspecified, the server will decide how many results to return.
///
+ /// [pageToken] - Optional. A tag returned by a previous list request that was
+ /// truncated. Use this parameter to continue a previous list request.
+ ///
/// [sortBy] - Sorting criterion. The only supported values are START_TIME and
/// ID.
/// Possible string values are:
@@ -588,8 +588,8 @@
async.Future<ManagedZoneOperationsListResponse> list(
core.String project,
core.String managedZone, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String sortBy,
core.String $fields,
}) {
@@ -606,12 +606,12 @@
if (managedZone == null) {
throw core.ArgumentError('Parameter managedZone is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (sortBy != null) {
_queryParams['sortBy'] = [sortBy];
}
@@ -846,14 +846,14 @@
///
/// [project] - Identifies the project addressed by this request.
///
+ /// [dnsName] - Restricts the list to return only zones with this domain name.
+ ///
/// [maxResults] - Optional. Maximum number of results to be returned. If
/// unspecified, the server will decide how many results to return.
///
/// [pageToken] - Optional. A tag returned by a previous list request that was
/// truncated. Use this parameter to continue a previous list request.
///
- /// [dnsName] - Restricts the list to return only zones with this domain name.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -866,9 +866,9 @@
/// this method will complete with the same error.
async.Future<ManagedZonesListResponse> list(
core.String project, {
+ core.String dnsName,
core.int maxResults,
core.String pageToken,
- core.String dnsName,
core.String $fields,
}) {
core.String _url;
@@ -881,15 +881,15 @@
if (project == null) {
throw core.ArgumentError('Parameter project is required.');
}
+ if (dnsName != null) {
+ _queryParams['dnsName'] = [dnsName];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (dnsName != null) {
- _queryParams['dnsName'] = [dnsName];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1263,12 +1263,12 @@
///
/// [project] - Identifies the project addressed by this request.
///
- /// [pageToken] - Optional. A tag returned by a previous list request that was
- /// truncated. Use this parameter to continue a previous list request.
- ///
/// [maxResults] - Optional. Maximum number of results to be returned. If
/// unspecified, the server will decide how many results to return.
///
+ /// [pageToken] - Optional. A tag returned by a previous list request that was
+ /// truncated. Use this parameter to continue a previous list request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1281,8 +1281,8 @@
/// this method will complete with the same error.
async.Future<PoliciesListResponse> list(
core.String project, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1295,12 +1295,12 @@
if (project == null) {
throw core.ArgumentError('Parameter project is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1546,15 +1546,15 @@
/// [maxResults] - Optional. Maximum number of results to be returned. If
/// unspecified, the server will decide how many results to return.
///
- /// [type] - Restricts the list to return only records of this type. If
- /// present, the "name" parameter must also be present.
- ///
/// [name] - Restricts the list to return only records with this fully
/// qualified domain name.
///
/// [pageToken] - Optional. A tag returned by a previous list request that was
/// truncated. Use this parameter to continue a previous list request.
///
+ /// [type] - Restricts the list to return only records of this type. If
+ /// present, the "name" parameter must also be present.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1569,9 +1569,9 @@
core.String project,
core.String managedZone, {
core.int maxResults,
- core.String type,
core.String name,
core.String pageToken,
+ core.String type,
core.String $fields,
}) {
core.String _url;
@@ -1590,15 +1590,15 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (type != null) {
- _queryParams['type'] = [type];
- }
if (name != null) {
_queryParams['name'] = [name];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (type != null) {
+ _queryParams['type'] = [type];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/doubleclicksearch/v2.dart b/generated/googleapis/lib/doubleclicksearch/v2.dart
index d568b01..649588f 100644
--- a/generated/googleapis/lib/doubleclicksearch/v2.dart
+++ b/generated/googleapis/lib/doubleclicksearch/v2.dart
@@ -90,11 +90,11 @@
///
/// [adGroupId] - Numeric ID of the ad group.
///
- /// [criterionId] - Numeric ID of the criterion.
+ /// [adId] - Numeric ID of the ad.
///
/// [campaignId] - Numeric ID of the campaign.
///
- /// [adId] - Numeric ID of the ad.
+ /// [criterionId] - Numeric ID of the criterion.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -115,9 +115,9 @@
core.int startDate,
core.int startRow, {
core.String adGroupId,
- core.String criterionId,
- core.String campaignId,
core.String adId,
+ core.String campaignId,
+ core.String criterionId,
core.String $fields,
}) {
core.String _url;
@@ -155,14 +155,14 @@
if (adGroupId != null) {
_queryParams['adGroupId'] = [adGroupId];
}
- if (criterionId != null) {
- _queryParams['criterionId'] = [criterionId];
+ if (adId != null) {
+ _queryParams['adId'] = [adId];
}
if (campaignId != null) {
_queryParams['campaignId'] = [campaignId];
}
- if (adId != null) {
- _queryParams['adId'] = [adId];
+ if (criterionId != null) {
+ _queryParams['criterionId'] = [criterionId];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/file/v1.dart b/generated/googleapis/lib/file/v1.dart
index 08f6d6d..ab22fac 100644
--- a/generated/googleapis/lib/file/v1.dart
+++ b/generated/googleapis/lib/file/v1.dart
@@ -123,14 +123,14 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - The standard list filter.
+ ///
/// [includeUnrevealedLocations] - If true, the returned list will include
/// locations which are not yet revealed.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -144,10 +144,10 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.bool includeUnrevealedLocations,
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.bool includeUnrevealedLocations,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -160,19 +160,19 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (includeUnrevealedLocations != null) {
_queryParams['includeUnrevealedLocations'] = [
'${includeUnrevealedLocations}'
];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -379,15 +379,15 @@
/// information for all locations, use "-" for the {location} value.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [filter] - List filter.
+ ///
/// [orderBy] - Sort results. Supported values are "name", "name desc" or ""
/// (unsorted).
///
- /// [pageToken] - The next_page_token value to use if there are additional
- /// results to retrieve for this list request.
- ///
/// [pageSize] - The maximum number of items to return.
///
- /// [filter] - List filter.
+ /// [pageToken] - The next_page_token value to use if there are additional
+ /// results to retrieve for this list request.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -401,10 +401,10 @@
/// this method will complete with the same error.
async.Future<ListInstancesResponse> list(
core.String parent, {
- core.String orderBy,
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -417,17 +417,17 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -706,10 +706,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -723,8 +723,8 @@
async.Future<ListOperationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -740,12 +740,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index 619c3be..0d23f98 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -387,14 +387,6 @@
/// [name] - Resource name for the project. Format: `projects/{project_id}`
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Next page token for the next batch of `Release` instances.
- ///
- /// [pageSize] - Page size to load. Maximum of 100. Defaults to 10. Note:
- /// `page_size` is just a hint and the service may choose to load fewer than
- /// `page_size` results due to the size of the output. To traverse all of the
- /// releases, the caller should iterate until the `page_token` on the response
- /// is empty.
- ///
/// [filter] - `Release` filter. The list method supports filters with
/// restrictions on the `Release.name`, `Release.ruleset_name`, and
/// `Release.test_suite_name`. Example 1: A filter of 'name=prod*' might
@@ -412,6 +404,14 @@
/// the search filters are relative to the project. Fully qualified prefixed
/// may also be used. e.g. `test_suite_name=projects/foo/testsuites/uuid1`
///
+ /// [pageSize] - Page size to load. Maximum of 100. Defaults to 10. Note:
+ /// `page_size` is just a hint and the service may choose to load fewer than
+ /// `page_size` results due to the size of the output. To traverse all of the
+ /// releases, the caller should iterate until the `page_token` on the response
+ /// is empty.
+ ///
+ /// [pageToken] - Next page token for the next batch of `Release` instances.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -424,9 +424,9 @@
/// this method will complete with the same error.
async.Future<ListReleasesResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -439,14 +439,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -707,14 +707,14 @@
/// date/time specifications. Example: `create_time >
/// date("2017-01-01T00:00:00Z") AND name=UUID-*`
///
- /// [pageToken] - Next page token for loading the next batch of `Ruleset`
- /// instances.
- ///
/// [pageSize] - Page size to load. Maximum of 100. Defaults to 10. Note:
/// `page_size` is just a hint and the service may choose to load less than
/// `page_size` due to the size of the output. To traverse all of the
/// releases, caller should iterate until the `page_token` is empty.
///
+ /// [pageToken] - Next page token for loading the next batch of `Ruleset`
+ /// instances.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -728,8 +728,8 @@
async.Future<ListRulesetsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -745,12 +745,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/firestore/v1.dart b/generated/googleapis/lib/firestore/v1.dart
index b9da2c1..f282424 100644
--- a/generated/googleapis/lib/firestore/v1.dart
+++ b/generated/googleapis/lib/firestore/v1.dart
@@ -619,13 +619,13 @@
/// Value must have pattern
/// "^projects/[^/]+/databases/[^/]+/collectionGroups/[^/]+$".
///
- /// [pageToken] - A page token, returned from a previous call to
- /// FirestoreAdmin.ListIndexes, that may be used to get the next page of
- /// results.
+ /// [filter] - The filter to apply to list results.
///
/// [pageSize] - The number of results to return.
///
- /// [filter] - The filter to apply to list results.
+ /// [pageToken] - A page token, returned from a previous call to
+ /// FirestoreAdmin.ListIndexes, that may be used to get the next page of
+ /// results.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -639,9 +639,9 @@
/// this method will complete with the same error.
async.Future<GoogleFirestoreAdminV1ListIndexesResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -654,14 +654,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1088,11 +1088,11 @@
/// [mask_fieldPaths] - The list of field paths in the mask. See
/// Document.fields for a field path syntax reference.
///
- /// [transaction] - Reads the document in a transaction.
- ///
/// [readTime] - Reads the version of the document at the given time. This may
/// not be older than 270 seconds.
///
+ /// [transaction] - Reads the document in a transaction.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1106,8 +1106,8 @@
async.Future<Document> get(
core.String name, {
core.List<core.String> mask_fieldPaths,
- core.String transaction,
core.String readTime,
+ core.String transaction,
core.String $fields,
}) {
core.String _url;
@@ -1123,12 +1123,12 @@
if (mask_fieldPaths != null) {
_queryParams['mask.fieldPaths'] = mask_fieldPaths;
}
- if (transaction != null) {
- _queryParams['transaction'] = [transaction];
- }
if (readTime != null) {
_queryParams['readTime'] = [readTime];
}
+ if (transaction != null) {
+ _queryParams['transaction'] = [transaction];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1165,12 +1165,14 @@
/// [mask_fieldPaths] - The list of field paths in the mask. See
/// Document.fields for a field path syntax reference.
///
- /// [pageToken] - The `next_page_token` value returned from a previous List
- /// request, if any.
- ///
/// [orderBy] - The order to sort results by. For example: `priority desc,
/// name`.
///
+ /// [pageSize] - The maximum number of documents to return.
+ ///
+ /// [pageToken] - The `next_page_token` value returned from a previous List
+ /// request, if any.
+ ///
/// [readTime] - Reads documents as they were at the given time. This may not
/// be older than 270 seconds.
///
@@ -1182,8 +1184,6 @@
///
/// [transaction] - Reads documents in a transaction.
///
- /// [pageSize] - The maximum number of documents to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1198,12 +1198,12 @@
core.String parent,
core.String collectionId, {
core.List<core.String> mask_fieldPaths,
- core.String pageToken,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String readTime,
core.bool showMissing,
core.String transaction,
- core.int pageSize,
core.String $fields,
}) {
core.String _url;
@@ -1222,12 +1222,15 @@
if (mask_fieldPaths != null) {
_queryParams['mask.fieldPaths'] = mask_fieldPaths;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (readTime != null) {
_queryParams['readTime'] = [readTime];
}
@@ -1237,9 +1240,6 @@
if (transaction != null) {
_queryParams['transaction'] = [transaction];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1457,14 +1457,14 @@
/// [currentDocument_exists] - When set to `true`, the target document must
/// exist. When set to `false`, the target document must not exist.
///
- /// [updateMask_fieldPaths] - The list of field paths in the mask. See
- /// Document.fields for a field path syntax reference.
+ /// [currentDocument_updateTime] - When set, the target document must exist
+ /// and have been last updated at that time.
///
/// [mask_fieldPaths] - The list of field paths in the mask. See
/// Document.fields for a field path syntax reference.
///
- /// [currentDocument_updateTime] - When set, the target document must exist
- /// and have been last updated at that time.
+ /// [updateMask_fieldPaths] - The list of field paths in the mask. See
+ /// Document.fields for a field path syntax reference.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1480,9 +1480,9 @@
Document request,
core.String name, {
core.bool currentDocument_exists,
- core.List<core.String> updateMask_fieldPaths,
- core.List<core.String> mask_fieldPaths,
core.String currentDocument_updateTime,
+ core.List<core.String> mask_fieldPaths,
+ core.List<core.String> updateMask_fieldPaths,
core.String $fields,
}) {
core.String _url;
@@ -1501,14 +1501,14 @@
if (currentDocument_exists != null) {
_queryParams['currentDocument.exists'] = ['${currentDocument_exists}'];
}
- if (updateMask_fieldPaths != null) {
- _queryParams['updateMask.fieldPaths'] = updateMask_fieldPaths;
+ if (currentDocument_updateTime != null) {
+ _queryParams['currentDocument.updateTime'] = [currentDocument_updateTime];
}
if (mask_fieldPaths != null) {
_queryParams['mask.fieldPaths'] = mask_fieldPaths;
}
- if (currentDocument_updateTime != null) {
- _queryParams['currentDocument.updateTime'] = [currentDocument_updateTime];
+ if (updateMask_fieldPaths != null) {
+ _queryParams['updateMask.fieldPaths'] = updateMask_fieldPaths;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1897,11 +1897,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/databases/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1915,9 +1915,9 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1930,14 +1930,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2022,12 +2022,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2040,9 +2040,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -2055,15 +2055,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart
index cac1b69..5dd3977 100644
--- a/generated/googleapis/lib/fitness/v1.dart
+++ b/generated/googleapis/lib/fitness/v1.dart
@@ -661,16 +661,16 @@
/// nanoseconds from the epoch. The ID is formatted like: "startTime-endTime"
/// where startTime and endTime are 64 bit integers.
///
+ /// [limit] - If specified, no more than this many data points will be
+ /// included in the dataset. If there are more data points in the dataset,
+ /// nextPageToken will be set in the dataset response.
+ ///
/// [pageToken] - The continuation token, which is used to page through large
/// datasets. To get the next page of a dataset, set this parameter to the
/// value of nextPageToken from the previous response. Each subsequent call
/// will yield a partial dataset with data point end timestamps that are
/// strictly smaller than those in the previous partial response.
///
- /// [limit] - If specified, no more than this many data points will be
- /// included in the dataset. If there are more data points in the dataset,
- /// nextPageToken will be set in the dataset response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -685,8 +685,8 @@
core.String userId,
core.String dataSourceId,
core.String datasetId, {
- core.String pageToken,
core.int limit,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -705,12 +705,12 @@
if (datasetId == null) {
throw core.ArgumentError('Parameter datasetId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -960,14 +960,14 @@
/// [userId] - List sessions for the person identified. Use me to indicate the
/// authenticated user. Only me is supported at this time.
///
+ /// [activityType] - If non-empty, only sessions with these activity types
+ /// should be returned.
+ ///
/// [endTime] - An RFC3339 timestamp. Only sessions ending between the start
/// and end times will be included in the response. If this time is omitted
/// but startTime is specified, all sessions from startTime to the end of time
/// will be returned.
///
- /// [activityType] - If non-empty, only sessions with these activity types
- /// should be returned.
- ///
/// [includeDeleted] - If true, and if both startTime and endTime are omitted,
/// session deletions will be returned.
///
@@ -995,8 +995,8 @@
/// this method will complete with the same error.
async.Future<ListSessionsResponse> list(
core.String userId, {
- core.String endTime,
core.List<core.int> activityType,
+ core.String endTime,
core.bool includeDeleted,
core.String pageToken,
core.String startTime,
@@ -1012,13 +1012,13 @@
if (userId == null) {
throw core.ArgumentError('Parameter userId is required.');
}
- if (endTime != null) {
- _queryParams['endTime'] = [endTime];
- }
if (activityType != null) {
_queryParams['activityType'] =
activityType.map((item) => '${item}').toList();
}
+ if (endTime != null) {
+ _queryParams['endTime'] = [endTime];
+ }
if (includeDeleted != null) {
_queryParams['includeDeleted'] = ['${includeDeleted}'];
}
diff --git a/generated/googleapis/lib/games/v1.dart b/generated/googleapis/lib/games/v1.dart
index 4beadcc..f0b7c5f 100644
--- a/generated/googleapis/lib/games/v1.dart
+++ b/generated/googleapis/lib/games/v1.dart
@@ -74,14 +74,14 @@
///
/// Request parameters:
///
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
+ ///
/// [maxResults] - The maximum number of achievement resources to return in
/// the response, used for paging. For any response, the actual number of
/// achievement resources returned may be less than the specified
/// `maxResults`.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
- ///
/// [pageToken] - The token returned by the previous request.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -95,8 +95,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<AchievementDefinitionsListResponse> list({
- core.int maxResults,
core.String language,
+ core.int maxResults,
core.String pageToken,
core.String $fields,
}) {
@@ -107,12 +107,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (language != null) {
_queryParams['language'] = [language];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -216,13 +216,8 @@
/// [playerId] - A player ID. A value of `me` may be used in place of the
/// authenticated player's ID.
///
- /// [state] - Tells the server to return only achievements with the specified
- /// state. If this parameter isn't specified, all achievements are returned.
- /// Possible string values are:
- /// - "ALL" : List all achievements. This is the default.
- /// - "HIDDEN" : List only hidden achievements.
- /// - "REVEALED" : List only revealed achievements.
- /// - "UNLOCKED" : List only unlocked achievements.
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
///
/// [maxResults] - The maximum number of achievement resources to return in
/// the response, used for paging. For any response, the actual number of
@@ -231,8 +226,13 @@
///
/// [pageToken] - The token returned by the previous request.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
+ /// [state] - Tells the server to return only achievements with the specified
+ /// state. If this parameter isn't specified, all achievements are returned.
+ /// Possible string values are:
+ /// - "ALL" : List all achievements. This is the default.
+ /// - "HIDDEN" : List only hidden achievements.
+ /// - "REVEALED" : List only revealed achievements.
+ /// - "UNLOCKED" : List only unlocked achievements.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -246,10 +246,10 @@
/// this method will complete with the same error.
async.Future<PlayerAchievementListResponse> list(
core.String playerId, {
- core.String state,
+ core.String language,
core.int maxResults,
core.String pageToken,
- core.String language,
+ core.String state,
core.String $fields,
}) {
core.String _url;
@@ -262,8 +262,8 @@
if (playerId == null) {
throw core.ArgumentError('Parameter playerId is required.');
}
- if (state != null) {
- _queryParams['state'] = [state];
+ if (language != null) {
+ _queryParams['language'] = [language];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
@@ -271,8 +271,8 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (language != null) {
- _queryParams['language'] = [language];
+ if (state != null) {
+ _queryParams['state'] = [state];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -690,8 +690,6 @@
///
/// Request parameters:
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
@@ -699,6 +697,8 @@
/// used for paging. For any response, the actual number of events to return
/// may be less than the specified maxResults.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -710,9 +710,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<PlayerEventListResponse> listByPlayer({
- core.String pageToken,
core.String language,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -722,15 +722,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (language != null) {
_queryParams['language'] = [language];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -756,12 +756,12 @@
/// [language] - The preferred language to use for strings returned by this
/// method.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [maxResults] - The maximum number of event definitions to return in the
/// response, used for paging. For any response, the actual number of event
/// definitions to return may be less than the specified `maxResults`.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -774,8 +774,8 @@
/// this method will complete with the same error.
async.Future<EventDefinitionListResponse> listDefinitions({
core.String language,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -788,12 +788,12 @@
if (language != null) {
_queryParams['language'] = [language];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -934,14 +934,14 @@
///
/// Request parameters:
///
- /// [pageToken] - The token returned by the previous request.
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
///
/// [maxResults] - The maximum number of leaderboards to return in the
/// response. For any response, the actual number of leaderboards returned may
/// be less than the specified `maxResults`.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
+ /// [pageToken] - The token returned by the previous request.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -954,9 +954,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<LeaderboardListResponse> list({
- core.String pageToken,
- core.int maxResults,
core.String language,
+ core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -966,14 +966,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (language != null) {
+ _queryParams['language'] = [language];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (language != null) {
- _queryParams['language'] = [language];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1201,14 +1201,14 @@
/// - "FRIENDS_ALL" : Retrieve a list of players who are friends of the user
/// in alphabetical order.
///
- /// [pageToken] - The token returned by the previous request.
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
///
/// [maxResults] - The maximum number of player resources to return in the
/// response, used for paging. For any response, the actual number of player
/// resources returned may be less than the specified `maxResults`.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
+ /// [pageToken] - The token returned by the previous request.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1222,9 +1222,9 @@
/// this method will complete with the same error.
async.Future<PlayerListResponse> list(
core.String collection, {
- core.String pageToken,
- core.int maxResults,
core.String language,
+ core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1237,14 +1237,14 @@
if (collection == null) {
throw core.ArgumentError('Parameter collection is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (language != null) {
+ _queryParams['language'] = [language];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (language != null) {
- _queryParams['language'] = [language];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1353,10 +1353,6 @@
/// - "WEEKLY" : List the top scores for the current day.
/// - "DAILY" : List the top scores for the current week.
///
- /// [maxResults] - The maximum number of leaderboard scores to return in the
- /// response. For any response, the actual number of leaderboard scores
- /// returned may be less than the specified `maxResults`.
- ///
/// [includeRankType] - The types of ranks to return. If the parameter is
/// omitted, no ranks will be returned.
/// Possible string values are:
@@ -1368,11 +1364,15 @@
/// - "SOCIAL" : (Obsolete) Retrieve the social rank.
/// - "FRIENDS" : Retrieve the rank on the friends collection.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
+ /// [maxResults] - The maximum number of leaderboard scores to return in the
+ /// response. For any response, the actual number of leaderboard scores
+ /// returned may be less than the specified `maxResults`.
+ ///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1387,10 +1387,10 @@
core.String playerId,
core.String leaderboardId,
core.String timeSpan, {
- core.int maxResults,
core.String includeRankType,
- core.String pageToken,
core.String language,
+ core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1409,18 +1409,18 @@
if (timeSpan == null) {
throw core.ArgumentError('Parameter timeSpan is required.');
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (includeRankType != null) {
_queryParams['includeRankType'] = [includeRankType];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (language != null) {
_queryParams['language'] = [language];
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1465,8 +1465,6 @@
/// - "WEEKLY" : The score is a weekly score.
/// - "DAILY" : The score is a daily score.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [language] - The preferred language to use for strings returned by this
/// method.
///
@@ -1474,6 +1472,8 @@
/// response. For any response, the actual number of leaderboard scores
/// returned may be less than the specified `maxResults`.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1488,9 +1488,9 @@
core.String leaderboardId,
core.String collection,
core.String timeSpan, {
- core.String pageToken,
core.String language,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1510,15 +1510,15 @@
throw core.ArgumentError('Parameter timeSpan is required.');
}
_queryParams['timeSpan'] = [timeSpan];
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (language != null) {
_queryParams['language'] = [language];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1560,6 +1560,13 @@
/// - "WEEKLY" : The score is a weekly score.
/// - "DAILY" : The score is a daily score.
///
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
+ ///
+ /// [maxResults] - The maximum number of leaderboard scores to return in the
+ /// response. For any response, the actual number of leaderboard scores
+ /// returned may be less than the specified `maxResults`.
+ ///
/// [pageToken] - The token returned by the previous request.
///
/// [resultsAbove] - The preferred number of scores to return above the
@@ -1570,13 +1577,6 @@
/// [returnTopIfAbsent] - True if the top scores should be returned when the
/// player is not in the leaderboard. Defaults to true.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
- ///
- /// [maxResults] - The maximum number of leaderboard scores to return in the
- /// response. For any response, the actual number of leaderboard scores
- /// returned may be less than the specified `maxResults`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1591,11 +1591,11 @@
core.String leaderboardId,
core.String collection,
core.String timeSpan, {
+ core.String language,
+ core.int maxResults,
core.String pageToken,
core.int resultsAbove,
core.bool returnTopIfAbsent,
- core.String language,
- core.int maxResults,
core.String $fields,
}) {
core.String _url;
@@ -1615,6 +1615,12 @@
throw core.ArgumentError('Parameter timeSpan is required.');
}
_queryParams['timeSpan'] = [timeSpan];
+ if (language != null) {
+ _queryParams['language'] = [language];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -1624,12 +1630,6 @@
if (returnTopIfAbsent != null) {
_queryParams['returnTopIfAbsent'] = ['${returnTopIfAbsent}'];
}
- if (language != null) {
- _queryParams['language'] = [language];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1664,14 +1664,14 @@
/// value. For time, the score represents elapsed time in milliseconds. For
/// currency, the score represents a value in micro units.
///
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
+ ///
/// [scoreTag] - Additional information about the score you're submitting.
/// Values must contain no more than 64 URI-safe characters as defined by
/// section 2.3 of RFC 3986.
/// Value must have pattern "[a-zA-Z0-9-._~]{0,64}".
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1685,8 +1685,8 @@
async.Future<PlayerScoreResponse> submit(
core.String leaderboardId,
core.String score, {
- core.String scoreTag,
core.String language,
+ core.String scoreTag,
core.String $fields,
}) {
core.String _url;
@@ -1703,12 +1703,12 @@
throw core.ArgumentError('Parameter score is required.');
}
_queryParams['score'] = [score];
- if (scoreTag != null) {
- _queryParams['scoreTag'] = [scoreTag];
- }
if (language != null) {
_queryParams['language'] = [language];
}
+ if (scoreTag != null) {
+ _queryParams['scoreTag'] = [scoreTag];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1853,15 +1853,15 @@
/// [playerId] - A player ID. A value of `me` may be used in place of the
/// authenticated player's ID.
///
+ /// [language] - The preferred language to use for strings returned by this
+ /// method.
+ ///
/// [maxResults] - The maximum number of snapshot resources to return in the
/// response, used for paging. For any response, the actual number of snapshot
/// resources returned may be less than the specified `maxResults`.
///
/// [pageToken] - The token returned by the previous request.
///
- /// [language] - The preferred language to use for strings returned by this
- /// method.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1874,9 +1874,9 @@
/// this method will complete with the same error.
async.Future<SnapshotListResponse> list(
core.String playerId, {
+ core.String language,
core.int maxResults,
core.String pageToken,
- core.String language,
core.String $fields,
}) {
core.String _url;
@@ -1889,15 +1889,15 @@
if (playerId == null) {
throw core.ArgumentError('Parameter playerId is required.');
}
+ if (language != null) {
+ _queryParams['language'] = [language];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (language != null) {
- _queryParams['language'] = [language];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/gamesconfiguration/v1configuration.dart b/generated/googleapis/lib/gamesconfiguration/v1configuration.dart
index 1575ec1..1aa1dfc 100644
--- a/generated/googleapis/lib/gamesconfiguration/v1configuration.dart
+++ b/generated/googleapis/lib/gamesconfiguration/v1configuration.dart
@@ -229,12 +229,12 @@
/// [applicationId] - The application ID from the Google Play developer
/// console.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [maxResults] - The maximum number of resource configurations to return in
/// the response, used for paging. For any response, the actual number of
/// resources returned may be less than the specified `maxResults`.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -247,8 +247,8 @@
/// this method will complete with the same error.
async.Future<AchievementConfigurationListResponse> list(
core.String applicationId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -261,12 +261,12 @@
if (applicationId == null) {
throw core.ArgumentError('Parameter applicationId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/gamesmanagement/v1management.dart b/generated/googleapis/lib/gamesmanagement/v1management.dart
index 38e8ce6..2dadb59 100644
--- a/generated/googleapis/lib/gamesmanagement/v1management.dart
+++ b/generated/googleapis/lib/gamesmanagement/v1management.dart
@@ -312,12 +312,12 @@
/// [applicationId] - The application ID from the Google Play developer
/// console.
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [maxResults] - The maximum number of player resources to return in the
/// response, used for paging. For any response, the actual number of player
/// resources returned may be less than the specified `maxResults`.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -330,8 +330,8 @@
/// this method will complete with the same error.
async.Future<HiddenPlayerList> listHidden(
core.String applicationId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -344,12 +344,12 @@
if (applicationId == null) {
throw core.ArgumentError('Parameter applicationId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/gmail/v1.dart b/generated/googleapis/lib/gmail/v1.dart
index f309b02..f80c661 100644
--- a/generated/googleapis/lib/gmail/v1.dart
+++ b/generated/googleapis/lib/gmail/v1.dart
@@ -503,11 +503,11 @@
/// [includeSpamTrash] - Include drafts from `SPAM` and `TRASH` in the
/// results.
///
+ /// [maxResults] - Maximum number of drafts to return.
+ ///
/// [pageToken] - Page token to retrieve a specific page of results in the
/// list.
///
- /// [maxResults] - Maximum number of drafts to return.
- ///
/// [q] - Only return draft messages matching the specified query. Supports
/// the same query format as the Gmail search box. For example,
/// `"from:someuser@example.com rfc822msgid: is:unread"`.
@@ -525,8 +525,8 @@
async.Future<ListDraftsResponse> list(
core.String userId, {
core.bool includeSpamTrash,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String q,
core.String $fields,
}) {
@@ -543,12 +543,12 @@
if (includeSpamTrash != null) {
_queryParams['includeSpamTrash'] = ['${includeSpamTrash}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (q != null) {
_queryParams['q'] = [q];
}
@@ -756,11 +756,11 @@
///
/// [labelId] - Only return messages with a label matching the ID.
///
+ /// [maxResults] - The maximum number of history records to return.
+ ///
/// [pageToken] - Page token to retrieve a specific page of results in the
/// list.
///
- /// [maxResults] - The maximum number of history records to return.
- ///
/// [startHistoryId] - Required. Returns history records after the specified
/// `startHistoryId`. The supplied `startHistoryId` should be obtained from
/// the `historyId` of a message, thread, or previous `list` response. History
@@ -787,8 +787,8 @@
core.String userId, {
core.List<core.String> historyTypes,
core.String labelId,
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String startHistoryId,
core.String $fields,
}) {
@@ -808,12 +808,12 @@
if (labelId != null) {
_queryParams['labelId'] = [labelId];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (startHistoryId != null) {
_queryParams['startHistoryId'] = [startHistoryId];
}
@@ -1388,9 +1388,6 @@
///
/// [id] - The ID of the message to retrieve.
///
- /// [metadataHeaders] - When given and format is `METADATA`, only include
- /// headers specified.
- ///
/// [format] - The format to return the message in.
/// Possible string values are:
/// - "minimal" : Returns only email message ID and labels; does not return
@@ -1404,6 +1401,9 @@
/// gmail.metadata scope.
/// - "metadata" : Returns only email message ID, labels, and email headers.
///
+ /// [metadataHeaders] - When given and format is `METADATA`, only include
+ /// headers specified.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1417,8 +1417,8 @@
async.Future<Message> get(
core.String userId,
core.String id, {
- core.List<core.String> metadataHeaders,
core.String format,
+ core.List<core.String> metadataHeaders,
core.String $fields,
}) {
core.String _url;
@@ -1434,12 +1434,12 @@
if (id == null) {
throw core.ArgumentError('Parameter id is required.');
}
- if (metadataHeaders != null) {
- _queryParams['metadataHeaders'] = metadataHeaders;
- }
if (format != null) {
_queryParams['format'] = [format];
}
+ if (metadataHeaders != null) {
+ _queryParams['metadataHeaders'] = metadataHeaders;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1473,8 +1473,9 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
- /// [processForCalendar] - Process calendar invites in the email and add any
- /// extracted meetings to the Google Calendar for this user.
+ /// [deleted] - Mark the email as permanently deleted (not TRASH) and only
+ /// visible in Google Vault to a Vault administrator. Only used for G Suite
+ /// accounts.
///
/// [internalDateSource] - Source for Gmail's internal date of the message.
/// Possible string values are:
@@ -1486,9 +1487,8 @@
/// [neverMarkSpam] - Ignore the Gmail spam classifier decision and never mark
/// this email as SPAM in the mailbox.
///
- /// [deleted] - Mark the email as permanently deleted (not TRASH) and only
- /// visible in Google Vault to a Vault administrator. Only used for G Suite
- /// accounts.
+ /// [processForCalendar] - Process calendar invites in the email and add any
+ /// extracted meetings to the Google Calendar for this user.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1509,10 +1509,10 @@
async.Future<Message> import(
Message request,
core.String userId, {
- core.bool processForCalendar,
+ core.bool deleted,
core.String internalDateSource,
core.bool neverMarkSpam,
- core.bool deleted,
+ core.bool processForCalendar,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia,
@@ -1530,8 +1530,8 @@
if (userId == null) {
throw core.ArgumentError('Parameter userId is required.');
}
- if (processForCalendar != null) {
- _queryParams['processForCalendar'] = ['${processForCalendar}'];
+ if (deleted != null) {
+ _queryParams['deleted'] = ['${deleted}'];
}
if (internalDateSource != null) {
_queryParams['internalDateSource'] = [internalDateSource];
@@ -1539,8 +1539,8 @@
if (neverMarkSpam != null) {
_queryParams['neverMarkSpam'] = ['${neverMarkSpam}'];
}
- if (deleted != null) {
- _queryParams['deleted'] = ['${deleted}'];
+ if (processForCalendar != null) {
+ _queryParams['processForCalendar'] = ['${processForCalendar}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1681,14 +1681,6 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
- /// [pageToken] - Page token to retrieve a specific page of results in the
- /// list.
- ///
- /// [q] - Only return messages matching the specified query. Supports the same
- /// query format as the Gmail search box. For example,
- /// `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be
- /// used when accessing the api using the gmail.metadata scope.
- ///
/// [includeSpamTrash] - Include messages from `SPAM` and `TRASH` in the
/// results.
///
@@ -1697,6 +1689,14 @@
///
/// [maxResults] - Maximum number of messages to return.
///
+ /// [pageToken] - Page token to retrieve a specific page of results in the
+ /// list.
+ ///
+ /// [q] - Only return messages matching the specified query. Supports the same
+ /// query format as the Gmail search box. For example,
+ /// `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be
+ /// used when accessing the api using the gmail.metadata scope.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1709,11 +1709,11 @@
/// this method will complete with the same error.
async.Future<ListMessagesResponse> list(
core.String userId, {
- core.String pageToken,
- core.String q,
core.bool includeSpamTrash,
core.List<core.String> labelIds,
core.int maxResults,
+ core.String pageToken,
+ core.String q,
core.String $fields,
}) {
core.String _url;
@@ -1726,12 +1726,6 @@
if (userId == null) {
throw core.ArgumentError('Parameter userId is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (q != null) {
- _queryParams['q'] = [q];
- }
if (includeSpamTrash != null) {
_queryParams['includeSpamTrash'] = ['${includeSpamTrash}'];
}
@@ -1741,6 +1735,12 @@
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4228,9 +4228,6 @@
///
/// [id] - The ID of the thread to retrieve.
///
- /// [metadataHeaders] - When given and format is METADATA, only include
- /// headers specified.
- ///
/// [format] - The format to return the messages in.
/// Possible string values are:
/// - "full" : Returns the full email message data with body content parsed in
@@ -4240,6 +4237,9 @@
/// - "minimal" : Returns only email message IDs and labels; does not return
/// the email headers, body, or payload.
///
+ /// [metadataHeaders] - When given and format is METADATA, only include
+ /// headers specified.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4253,8 +4253,8 @@
async.Future<Thread> get(
core.String userId,
core.String id, {
- core.List<core.String> metadataHeaders,
core.String format,
+ core.List<core.String> metadataHeaders,
core.String $fields,
}) {
core.String _url;
@@ -4270,12 +4270,12 @@
if (id == null) {
throw core.ArgumentError('Parameter id is required.');
}
- if (metadataHeaders != null) {
- _queryParams['metadataHeaders'] = metadataHeaders;
- }
if (format != null) {
_queryParams['format'] = [format];
}
+ if (metadataHeaders != null) {
+ _queryParams['metadataHeaders'] = metadataHeaders;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4304,22 +4304,22 @@
/// [userId] - The user's email address. The special value `me` can be used to
/// indicate the authenticated user.
///
+ /// [includeSpamTrash] - Include threads from `SPAM` and `TRASH` in the
+ /// results.
+ ///
/// [labelIds] - Only return threads with labels that match all of the
/// specified label IDs.
///
+ /// [maxResults] - Maximum number of threads to return.
+ ///
+ /// [pageToken] - Page token to retrieve a specific page of results in the
+ /// list.
+ ///
/// [q] - Only return threads matching the specified query. Supports the same
/// query format as the Gmail search box. For example,
/// `"from:someuser@example.com rfc822msgid: is:unread"`. Parameter cannot be
/// used when accessing the api using the gmail.metadata scope.
///
- /// [pageToken] - Page token to retrieve a specific page of results in the
- /// list.
- ///
- /// [includeSpamTrash] - Include threads from `SPAM` and `TRASH` in the
- /// results.
- ///
- /// [maxResults] - Maximum number of threads to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4332,11 +4332,11 @@
/// this method will complete with the same error.
async.Future<ListThreadsResponse> list(
core.String userId, {
- core.List<core.String> labelIds,
- core.String q,
- core.String pageToken,
core.bool includeSpamTrash,
+ core.List<core.String> labelIds,
core.int maxResults,
+ core.String pageToken,
+ core.String q,
core.String $fields,
}) {
core.String _url;
@@ -4349,20 +4349,20 @@
if (userId == null) {
throw core.ArgumentError('Parameter userId is required.');
}
+ if (includeSpamTrash != null) {
+ _queryParams['includeSpamTrash'] = ['${includeSpamTrash}'];
+ }
if (labelIds != null) {
_queryParams['labelIds'] = labelIds;
}
- if (q != null) {
- _queryParams['q'] = [q];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (includeSpamTrash != null) {
- _queryParams['includeSpamTrash'] = ['${includeSpamTrash}'];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (q != null) {
+ _queryParams['q'] = [q];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/healthcare/v1.dart b/generated/googleapis/lib/healthcare/v1.dart
index ef40b40..ac517a5 100644
--- a/generated/googleapis/lib/healthcare/v1.dart
+++ b/generated/googleapis/lib/healthcare/v1.dart
@@ -122,10 +122,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -139,8 +139,8 @@
async.Future<ListLocationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -156,12 +156,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1191,16 +1191,16 @@
/// [parent] - Name of the dataset.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$".
///
+ /// [filter] - Restricts stores returned to those matching a filter. Syntax:
+ /// https://cloud.google.com/appengine/docs/standard/python/search/query_strings
+ /// Only filtering on labels is supported. For example, `labels.key=value`.
+ ///
/// [pageSize] - Limit on the number of DICOM stores to return in a single
/// response. If zero the default page size of 100 is used.
///
/// [pageToken] - The next_page_token value returned from the previous List
/// request, if any.
///
- /// [filter] - Restricts stores returned to those matching a filter. Syntax:
- /// https://cloud.google.com/appengine/docs/standard/python/search/query_strings
- /// Only filtering on labels is supported. For example, `labels.key=value`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1213,9 +1213,9 @@
/// this method will complete with the same error.
async.Future<ListDicomStoresResponse> list(
core.String parent, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -1228,15 +1228,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3417,13 +3417,13 @@
/// [parent] - Name of the dataset.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$".
///
- /// [pageSize] - Limit on the number of FHIR stores to return in a single
- /// response. If zero the default page size of 100 is used.
- ///
/// [filter] - Restricts stores returned to those matching a filter. Syntax:
/// https://cloud.google.com/appengine/docs/standard/python/search/query_strings
/// Only filtering on labels is supported, for example `labels.key=value`.
///
+ /// [pageSize] - Limit on the number of FHIR stores to return in a single
+ /// response. If zero the default page size of 100 is used.
+ ///
/// [pageToken] - The next_page_token value returned from the previous List
/// request, if any.
///
@@ -3439,8 +3439,8 @@
/// this method will complete with the same error.
async.Future<ListFhirStoresResponse> list(
core.String parent, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -3454,12 +3454,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -3712,28 +3712,28 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/Patient/[^/]+$".
///
- /// [P_type] - String of comma-delimited FHIR resource types. If provided,
- /// only resources of the specified resource type(s) are returned.
- ///
/// [P_count] - Maximum number of resources in a page. Defaults to 100.
///
- /// [start] - The response includes records subsequent to the start date. If
- /// no start date is provided, all records prior to the end date are in scope.
- ///
- /// [P_since] - If provided, only resources updated after this time are
- /// returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For
- /// example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The
- /// time must be specified to the second and include a time zone.
- ///
- /// [end] - The response includes records prior to the end date. If no end
- /// date is provided, all records subsequent to the start date are in scope.
- ///
/// [P_pageToken] - Used to retrieve the next or previous page of results when
/// using pagination. Set `_page_token` to the value of _page_token set in
/// next or previous page links' url. Next and previous page are returned in
/// the response bundle's links field, where `link.relation` is "previous" or
/// "next". Omit `_page_token` if no previous request has been made.
///
+ /// [P_since] - If provided, only resources updated after this time are
+ /// returned. The time uses the format YYYY-MM-DDThh:mm:ss.sss+zz:zz. For
+ /// example, `2015-02-07T13:28:17.239+02:00` or `2017-01-01T00:00:00Z`. The
+ /// time must be specified to the second and include a time zone.
+ ///
+ /// [P_type] - String of comma-delimited FHIR resource types. If provided,
+ /// only resources of the specified resource type(s) are returned.
+ ///
+ /// [end] - The response includes records prior to the end date. If no end
+ /// date is provided, all records subsequent to the start date are in scope.
+ ///
+ /// [start] - The response includes records subsequent to the start date. If
+ /// no start date is provided, all records prior to the end date are in scope.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3746,12 +3746,12 @@
/// this method will complete with the same error.
async.Future<HttpBody> Patient_everything(
core.String name, {
- core.String P_type,
core.int P_count,
- core.String start,
- core.String P_since,
- core.String end,
core.String P_pageToken,
+ core.String P_since,
+ core.String P_type,
+ core.String end,
+ core.String start,
core.String $fields,
}) {
core.String _url;
@@ -3764,23 +3764,23 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (P_type != null) {
- _queryParams['_type'] = [P_type];
- }
if (P_count != null) {
_queryParams['_count'] = ['${P_count}'];
}
- if (start != null) {
- _queryParams['start'] = [start];
+ if (P_pageToken != null) {
+ _queryParams['_page_token'] = [P_pageToken];
}
if (P_since != null) {
_queryParams['_since'] = [P_since];
}
+ if (P_type != null) {
+ _queryParams['_type'] = [P_type];
+ }
if (end != null) {
_queryParams['end'] = [end];
}
- if (P_pageToken != null) {
- _queryParams['_page_token'] = [P_pageToken];
+ if (start != null) {
+ _queryParams['start'] = [start];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -4169,13 +4169,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/fhirStores/[^/]+/fhir/[^/]+/[^/]+$".
///
- /// [P_pageToken] - Used to retrieve the first, previous, next, or last page
- /// of resource versions when using pagination. Value should be set to the
- /// value of `_page_token` set in next or previous page links' URLs. Next and
- /// previous page are returned in the response bundle's links field, where
- /// `link.relation` is "previous" or "next". Omit `_page_token` if no previous
- /// request has been made.
- ///
/// [P_at] - Only include resource versions that were current at some point
/// during the time period specified in the date time value. The date
/// parameter format is yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm] Clients may specify
@@ -4186,6 +4179,13 @@
/// [P_count] - The maximum number of search results on a page. Defaults to
/// 1000.
///
+ /// [P_pageToken] - Used to retrieve the first, previous, next, or last page
+ /// of resource versions when using pagination. Value should be set to the
+ /// value of `_page_token` set in next or previous page links' URLs. Next and
+ /// previous page are returned in the response bundle's links field, where
+ /// `link.relation` is "previous" or "next". Omit `_page_token` if no previous
+ /// request has been made.
+ ///
/// [P_since] - Only include resource versions that were created at or after
/// the given instant in time. The instant in time uses the format
/// YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00
@@ -4204,9 +4204,9 @@
/// this method will complete with the same error.
async.Future<HttpBody> history(
core.String name, {
- core.String P_pageToken,
core.String P_at,
core.int P_count,
+ core.String P_pageToken,
core.String P_since,
core.String $fields,
}) {
@@ -4220,15 +4220,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (P_pageToken != null) {
- _queryParams['_page_token'] = [P_pageToken];
- }
if (P_at != null) {
_queryParams['_at'] = [P_at];
}
if (P_count != null) {
_queryParams['_count'] = ['${P_count}'];
}
+ if (P_pageToken != null) {
+ _queryParams['_page_token'] = [P_pageToken];
+ }
if (P_since != null) {
_queryParams['_since'] = [P_since];
}
@@ -4878,12 +4878,12 @@
/// https://cloud.google.com/appengine/docs/standard/python/search/query_strings
/// Only filtering on labels is supported. For example, `labels.key=value`.
///
- /// [pageToken] - The next_page_token value returned from the previous List
- /// request, if any.
- ///
/// [pageSize] - Limit on the number of HL7v2 stores to return in a single
/// response. If zero the default page size of 100 is used.
///
+ /// [pageToken] - The next_page_token value returned from the previous List
+ /// request, if any.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4897,8 +4897,8 @@
async.Future<ListHl7V2StoresResponse> list(
core.String parent, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4914,12 +4914,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5393,22 +5393,6 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/datasets/[^/]+/hl7V2Stores/[^/]+$".
///
- /// [view] - Specifies the parts of the Message to return in the response.
- /// When unspecified, equivalent to BASIC. Setting this to anything other than
- /// BASIC with a `page_size` larger than the default can generate a large
- /// response, which impacts the performance of this method.
- /// Possible string values are:
- /// - "MESSAGE_VIEW_UNSPECIFIED" : Not specified, equivalent to FULL.
- /// - "RAW_ONLY" : Server responses include all the message fields except
- /// parsed_data field.
- /// - "PARSED_ONLY" : Server responses include all the message fields except
- /// data field.
- /// - "FULL" : Server responses include all the message fields.
- /// - "BASIC" : Server responses include only the name field.
- ///
- /// [pageToken] - The next_page_token value returned from the previous List
- /// request, if any.
- ///
/// [filter] - Restricts messages returned to those matching a filter. Syntax:
/// https://cloud.google.com/appengine/docs/standard/python/search/query_strings
/// Fields/functions available for filtering are: * `message_type`, from the
@@ -5427,13 +5411,29 @@
/// `labels."priority"="high"`. The operator `:*` can be used to assert the
/// existence of a label. For example, `labels."priority":*`.
///
- /// [pageSize] - Limit on the number of messages to return in a single
- /// response. If zero the default page size of 100 is used.
- ///
/// [orderBy] - Orders messages returned by the specified order_by clause.
/// Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order
/// Fields available for ordering are: * `send_time`
///
+ /// [pageSize] - Limit on the number of messages to return in a single
+ /// response. If zero the default page size of 100 is used.
+ ///
+ /// [pageToken] - The next_page_token value returned from the previous List
+ /// request, if any.
+ ///
+ /// [view] - Specifies the parts of the Message to return in the response.
+ /// When unspecified, equivalent to BASIC. Setting this to anything other than
+ /// BASIC with a `page_size` larger than the default can generate a large
+ /// response, which impacts the performance of this method.
+ /// Possible string values are:
+ /// - "MESSAGE_VIEW_UNSPECIFIED" : Not specified, equivalent to FULL.
+ /// - "RAW_ONLY" : Server responses include all the message fields except
+ /// parsed_data field.
+ /// - "PARSED_ONLY" : Server responses include all the message fields except
+ /// data field.
+ /// - "FULL" : Server responses include all the message fields.
+ /// - "BASIC" : Server responses include only the name field.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5446,11 +5446,11 @@
/// this method will complete with the same error.
async.Future<ListMessagesResponse> list(
core.String parent, {
- core.String view,
- core.String pageToken,
core.String filter,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -5463,20 +5463,20 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -5705,11 +5705,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/datasets/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5723,9 +5723,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5738,14 +5738,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/iam/v1.dart b/generated/googleapis/lib/iam/v1.dart
index 9e7c1ca..f6d3b94 100644
--- a/generated/googleapis/lib/iam/v1.dart
+++ b/generated/googleapis/lib/iam/v1.dart
@@ -427,6 +427,11 @@
/// [pageSize] - Optional limit on the number of roles to include in the
/// response. The default is 300, and the maximum is 1,000.
///
+ /// [pageToken] - Optional pagination token returned in an earlier
+ /// ListRolesResponse.
+ ///
+ /// [showDeleted] - Include Roles that have been deleted.
+ ///
/// [view] - Optional view for the returned Role objects. When `FULL` is
/// specified, the `includedPermissions` field is returned, which includes a
/// list of all permissions in the role. The default value is `BASIC`, which
@@ -436,11 +441,6 @@
/// value.
/// - "FULL" : Returns all fields.
///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
- /// [pageToken] - Optional pagination token returned in an earlier
- /// ListRolesResponse.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -454,9 +454,9 @@
async.Future<ListRolesResponse> list(
core.String parent, {
core.int pageSize,
- core.String view,
- core.bool showDeleted,
core.String pageToken,
+ core.bool showDeleted,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -472,14 +472,14 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -964,6 +964,14 @@
/// ID or organization ID.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Optional limit on the number of roles to include in the
+ /// response. The default is 300, and the maximum is 1,000.
+ ///
+ /// [pageToken] - Optional pagination token returned in an earlier
+ /// ListRolesResponse.
+ ///
+ /// [showDeleted] - Include Roles that have been deleted.
+ ///
/// [view] - Optional view for the returned Role objects. When `FULL` is
/// specified, the `includedPermissions` field is returned, which includes a
/// list of all permissions in the role. The default value is `BASIC`, which
@@ -973,14 +981,6 @@
/// value.
/// - "FULL" : Returns all fields.
///
- /// [pageToken] - Optional pagination token returned in an earlier
- /// ListRolesResponse.
- ///
- /// [pageSize] - Optional limit on the number of roles to include in the
- /// response. The default is 300, and the maximum is 1,000.
- ///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -993,10 +993,10 @@
/// this method will complete with the same error.
async.Future<ListRolesResponse> list(
core.String parent, {
- core.String view,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.bool showDeleted,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -1009,18 +1009,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1586,14 +1586,14 @@
/// service accounts, such as `projects/my-project-123`.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Optional pagination token returned in an earlier
- /// ListServiceAccountsResponse.next_page_token.
- ///
/// [pageSize] - Optional limit on the number of service accounts to include
/// in the response. Further accounts can subsequently be obtained by
/// including the ListServiceAccountsResponse.next_page_token in a subsequent
/// request. The default is 20, and the maximum is 100.
///
+ /// [pageToken] - Optional pagination token returned in an earlier
+ /// ListServiceAccountsResponse.next_page_token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1606,8 +1606,8 @@
/// this method will complete with the same error.
async.Future<ListServiceAccountsResponse> list(
core.String name, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1620,12 +1620,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2499,6 +2499,12 @@
///
/// Request parameters:
///
+ /// [pageSize] - Optional limit on the number of roles to include in the
+ /// response. The default is 300, and the maximum is 1,000.
+ ///
+ /// [pageToken] - Optional pagination token returned in an earlier
+ /// ListRolesResponse.
+ ///
/// [parent] - The `parent` parameter's value depends on the target resource
/// for the request, namely [`roles`](/iam/reference/rest/v1/roles),
/// [`projects`](/iam/reference/rest/v1/projects.roles), or
@@ -2520,11 +2526,7 @@
/// Note: Wildcard (*) values are invalid; you must specify a complete project
/// ID or organization ID.
///
- /// [pageToken] - Optional pagination token returned in an earlier
- /// ListRolesResponse.
- ///
- /// [pageSize] - Optional limit on the number of roles to include in the
- /// response. The default is 300, and the maximum is 1,000.
+ /// [showDeleted] - Include Roles that have been deleted.
///
/// [view] - Optional view for the returned Role objects. When `FULL` is
/// specified, the `includedPermissions` field is returned, which includes a
@@ -2535,8 +2537,6 @@
/// value.
/// - "FULL" : Returns all fields.
///
- /// [showDeleted] - Include Roles that have been deleted.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2548,11 +2548,11 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListRolesResponse> list({
- core.String parent,
- core.String pageToken,
core.int pageSize,
- core.String view,
+ core.String pageToken,
+ core.String parent,
core.bool showDeleted,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2562,21 +2562,21 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (parent != null) {
- _queryParams['parent'] = [parent];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (view != null) {
- _queryParams['view'] = [view];
+ if (parent != null) {
+ _queryParams['parent'] = [parent];
}
if (showDeleted != null) {
_queryParams['showDeleted'] = ['${showDeleted}'];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/iap/v1.dart b/generated/googleapis/lib/iap/v1.dart
index 5f08018..91712dc 100644
--- a/generated/googleapis/lib/iap/v1.dart
+++ b/generated/googleapis/lib/iap/v1.dart
@@ -410,17 +410,17 @@
/// projects/{project_number/id}/brands/{brand}.
/// Value must have pattern "^projects/[^/]+/brands/[^/]+$".
///
+ /// [pageSize] - The maximum number of clients to return. The service may
+ /// return fewer than this value. If unspecified, at most 100 clients will be
+ /// returned. The maximum value is 1000; values above 1000 will be coerced to
+ /// 1000.
+ ///
/// [pageToken] - A page token, received from a previous
/// `ListIdentityAwareProxyClients` call. Provide this to retrieve the
/// subsequent page. When paginating, all other parameters provided to
/// `ListIdentityAwareProxyClients` must match the call that provided the page
/// token.
///
- /// [pageSize] - The maximum number of clients to return. The service may
- /// return fewer than this value. If unspecified, at most 100 clients will be
- /// returned. The maximum value is 1000; values above 1000 will be coerced to
- /// 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -433,8 +433,8 @@
/// this method will complete with the same error.
async.Future<ListIdentityAwareProxyClientsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -447,12 +447,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/jobs/v2.dart b/generated/googleapis/lib/jobs/v2.dart
index ce16396..5e42229 100644
--- a/generated/googleapis/lib/jobs/v2.dart
+++ b/generated/googleapis/lib/jobs/v2.dart
@@ -359,6 +359,10 @@
/// "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd".
/// Value must have pattern "^companies/[^/]+$".
///
+ /// [idsOnly] - Optional. If set to `true`, only job ID, job requisition ID
+ /// and language code will be returned. A typical use is to synchronize job
+ /// repositories. Defaults to false.
+ ///
/// [includeJobsCount] - Deprecated. Please DO NOT use this field except for
/// small companies. Suggest counting jobs page by page instead. Optional. Set
/// to true if the total number of open jobs is to be returned. Defaults to
@@ -375,10 +379,6 @@
///
/// [pageToken] - Optional. The starting point of a query result.
///
- /// [idsOnly] - Optional. If set to `true`, only job ID, job requisition ID
- /// and language code will be returned. A typical use is to synchronize job
- /// repositories. Defaults to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -391,11 +391,11 @@
/// this method will complete with the same error.
async.Future<ListCompanyJobsResponse> list(
core.String companyName, {
+ core.bool idsOnly,
core.bool includeJobsCount,
core.String jobRequisitionId,
core.int pageSize,
core.String pageToken,
- core.bool idsOnly,
core.String $fields,
}) {
core.String _url;
@@ -408,6 +408,9 @@
if (companyName == null) {
throw core.ArgumentError('Parameter companyName is required.');
}
+ if (idsOnly != null) {
+ _queryParams['idsOnly'] = ['${idsOnly}'];
+ }
if (includeJobsCount != null) {
_queryParams['includeJobsCount'] = ['${includeJobsCount}'];
}
@@ -420,9 +423,6 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (idsOnly != null) {
- _queryParams['idsOnly'] = ['${idsOnly}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -765,11 +765,6 @@
///
/// Request parameters:
///
- /// [pageSize] - Optional. The maximum number of jobs to be returned per page
- /// of results. If ids_only is set to true, the maximum allowed page size is
- /// 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if
- /// empty or a number < 1 is specified.
- ///
/// [filter] - Required. The filter string specifies the jobs to be
/// enumerated. Supported operator: =, AND The fields eligible for filtering
/// are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query:
@@ -780,6 +775,11 @@
/// and Job.language_code will be returned. A typical use case is to
/// synchronize job repositories. Defaults to false.
///
+ /// [pageSize] - Optional. The maximum number of jobs to be returned per page
+ /// of results. If ids_only is set to true, the maximum allowed page size is
+ /// 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if
+ /// empty or a number < 1 is specified.
+ ///
/// [pageToken] - Optional. The starting point of a query result.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -793,9 +793,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListJobsResponse> list({
- core.int pageSize,
core.String filter,
core.bool idsOnly,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -806,15 +806,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (idsOnly != null) {
_queryParams['idsOnly'] = ['${idsOnly}'];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -1010,6 +1010,9 @@
///
/// Request parameters:
///
+ /// [companyName] - Optional. If provided, restricts completion to the
+ /// specified company.
+ ///
/// [languageCode] - Required. The language of the query. This is the BCP-47
/// language code, such as "en-US" or "sr-Latn". For more information, see
/// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). For
@@ -1019,18 +1022,10 @@
/// type, only open jobs with same language_code or companies having open jobs
/// with same language_code are returned.
///
- /// [query] - Required. The query used to generate suggestions.
- ///
/// [pageSize] - Required. Completion result count. The maximum allowed page
/// size is 10.
///
- /// [type] - Optional. The completion topic. The default is
- /// CompletionType.COMBINED.
- /// Possible string values are:
- /// - "COMPLETION_TYPE_UNSPECIFIED" : Default value.
- /// - "JOB_TITLE" : Only suggest job titles.
- /// - "COMPANY_NAME" : Only suggest company names.
- /// - "COMBINED" : Suggest both job titles and company names.
+ /// [query] - Required. The query used to generate suggestions.
///
/// [scope] - Optional. The scope of the completion. The defaults is
/// CompletionScope.PUBLIC.
@@ -1041,8 +1036,13 @@
/// - "PUBLIC" : Suggestions are based on all jobs data in the system that's
/// visible to the client
///
- /// [companyName] - Optional. If provided, restricts completion to the
- /// specified company.
+ /// [type] - Optional. The completion topic. The default is
+ /// CompletionType.COMBINED.
+ /// Possible string values are:
+ /// - "COMPLETION_TYPE_UNSPECIFIED" : Default value.
+ /// - "JOB_TITLE" : Only suggest job titles.
+ /// - "COMPANY_NAME" : Only suggest company names.
+ /// - "COMBINED" : Suggest both job titles and company names.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1055,12 +1055,12 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<CompleteQueryResponse> complete({
- core.String languageCode,
- core.String query,
- core.int pageSize,
- core.String type,
- core.String scope,
core.String companyName,
+ core.String languageCode,
+ core.int pageSize,
+ core.String query,
+ core.String scope,
+ core.String type,
core.String $fields,
}) {
core.String _url;
@@ -1070,23 +1070,23 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (companyName != null) {
+ _queryParams['companyName'] = [companyName];
+ }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
- if (query != null) {
- _queryParams['query'] = [query];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (type != null) {
- _queryParams['type'] = [type];
+ if (query != null) {
+ _queryParams['query'] = [query];
}
if (scope != null) {
_queryParams['scope'] = [scope];
}
- if (companyName != null) {
- _queryParams['companyName'] = [companyName];
+ if (type != null) {
+ _queryParams['type'] = [type];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/jobs/v3.dart b/generated/googleapis/lib/jobs/v3.dart
index e3cf0c3..a05c0e8 100644
--- a/generated/googleapis/lib/jobs/v3.dart
+++ b/generated/googleapis/lib/jobs/v3.dart
@@ -71,6 +71,10 @@
/// "projects/api-test-project".
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [companyName] - Optional. If provided, restricts completion to specified
+ /// company. The format is "projects/{project_id}/companies/{company_id}", for
+ /// example, "projects/api-test-project/companies/foo".
+ ///
/// [languageCode] - Deprecated. Use language_codes instead. Optional. The
/// language of the query. This is the BCP-47 language code, such as "en-US"
/// or "sr-Latn". For more information, see [Tags for Identifying
@@ -93,16 +97,12 @@
/// or companies having open jobs with the same language_codes are returned.
/// The maximum number of allowed characters is 255.
///
- /// [companyName] - Optional. If provided, restricts completion to specified
- /// company. The format is "projects/{project_id}/companies/{company_id}", for
- /// example, "projects/api-test-project/companies/foo".
+ /// [pageSize] - Required. Completion result count. The maximum allowed page
+ /// size is 10.
///
/// [query] - Required. The query used to generate suggestions. The maximum
/// number of allowed characters is 255.
///
- /// [pageSize] - Required. Completion result count. The maximum allowed page
- /// size is 10.
- ///
/// [scope] - Optional. The scope of the completion. The defaults is
/// CompletionScope.PUBLIC.
/// Possible string values are:
@@ -132,11 +132,11 @@
/// this method will complete with the same error.
async.Future<CompleteQueryResponse> complete(
core.String name, {
+ core.String companyName,
core.String languageCode,
core.List<core.String> languageCodes,
- core.String companyName,
- core.String query,
core.int pageSize,
+ core.String query,
core.String scope,
core.String type,
core.String $fields,
@@ -151,21 +151,21 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (companyName != null) {
+ _queryParams['companyName'] = [companyName];
+ }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
if (languageCodes != null) {
_queryParams['languageCodes'] = languageCodes;
}
- if (companyName != null) {
- _queryParams['companyName'] = [companyName];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (query != null) {
_queryParams['query'] = [query];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (scope != null) {
_queryParams['scope'] = [scope];
}
@@ -436,6 +436,9 @@
/// "projects/api-test-project".
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Optional. The maximum number of companies to be returned, at
+ /// most 100. Default is 100 if a non-positive number is provided.
+ ///
/// [pageToken] - Optional. The starting indicator from which to return
/// results.
///
@@ -443,9 +446,6 @@
/// have open jobs. Defaults to false. If true, at most page_size of companies
/// are fetched, among which only those with open jobs are returned.
///
- /// [pageSize] - Optional. The maximum number of companies to be returned, at
- /// most 100. Default is 100 if a non-positive number is provided.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -458,9 +458,9 @@
/// this method will complete with the same error.
async.Future<ListCompaniesResponse> list(
core.String parent, {
+ core.int pageSize,
core.String pageToken,
core.bool requireOpenJobs,
- core.int pageSize,
core.String $fields,
}) {
core.String _url;
@@ -473,15 +473,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (requireOpenJobs != null) {
_queryParams['requireOpenJobs'] = ['${requireOpenJobs}'];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -797,13 +797,6 @@
/// "projects/api-test-project".
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - Optional. The starting point of a query result.
- ///
- /// [pageSize] - Optional. The maximum number of jobs to be returned per page
- /// of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum
- /// allowed page size is 1000. Otherwise, the maximum allowed page size is
- /// 100. Default is 100 if empty or a number < 1 is specified.
- ///
/// [filter] - Required. The filter string specifies the jobs to be
/// enumerated. Supported operator: =, AND The fields eligible for filtering
/// are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query:
@@ -827,6 +820,13 @@
/// - "JOB_VIEW_FULL" : All available attributes are included in the search
/// results.
///
+ /// [pageSize] - Optional. The maximum number of jobs to be returned per page
+ /// of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum
+ /// allowed page size is 1000. Otherwise, the maximum allowed page size is
+ /// 100. Default is 100 if empty or a number < 1 is specified.
+ ///
+ /// [pageToken] - Optional. The starting point of a query result.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -839,10 +839,10 @@
/// this method will complete with the same error.
async.Future<ListJobsResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
core.String jobView,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -855,18 +855,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (jobView != null) {
_queryParams['jobView'] = [jobView];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/kgsearch/v1.dart b/generated/googleapis/lib/kgsearch/v1.dart
index 988d898..88178ae 100644
--- a/generated/googleapis/lib/kgsearch/v1.dart
+++ b/generated/googleapis/lib/kgsearch/v1.dart
@@ -56,21 +56,21 @@
/// string. To specify multiple ids in the HTTP request, repeat the parameter
/// in the URL as in ...?ids=A&ids=B
///
- /// [types] - Restricts returned entities with these types, e.g. Person (as
- /// defined in http://schema.org/Person). If multiple types are specified,
- /// returned entities will contain one or more of these types.
- ///
- /// [query] - The literal query string for search.
- ///
- /// [prefix] - Enables prefix match against names and aliases of entities
- ///
/// [indent] - Enables indenting of json results.
///
- /// [limit] - Limits the number of entities to be returned.
- ///
/// [languages] - The list of language codes (defined in ISO 693) to run the
/// query with, e.g. 'en'.
///
+ /// [limit] - Limits the number of entities to be returned.
+ ///
+ /// [prefix] - Enables prefix match against names and aliases of entities
+ ///
+ /// [query] - The literal query string for search.
+ ///
+ /// [types] - Restricts returned entities with these types, e.g. Person (as
+ /// defined in http://schema.org/Person). If multiple types are specified,
+ /// returned entities will contain one or more of these types.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -83,12 +83,12 @@
/// this method will complete with the same error.
async.Future<SearchResponse> search({
core.List<core.String> ids,
- core.List<core.String> types,
- core.String query,
- core.bool prefix,
core.bool indent,
- core.int limit,
core.List<core.String> languages,
+ core.int limit,
+ core.bool prefix,
+ core.String query,
+ core.List<core.String> types,
core.String $fields,
}) {
core.String _url;
@@ -101,23 +101,23 @@
if (ids != null) {
_queryParams['ids'] = ids;
}
- if (types != null) {
- _queryParams['types'] = types;
- }
- if (query != null) {
- _queryParams['query'] = [query];
- }
- if (prefix != null) {
- _queryParams['prefix'] = ['${prefix}'];
- }
if (indent != null) {
_queryParams['indent'] = ['${indent}'];
}
+ if (languages != null) {
+ _queryParams['languages'] = languages;
+ }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
- if (languages != null) {
- _queryParams['languages'] = languages;
+ if (prefix != null) {
+ _queryParams['prefix'] = ['${prefix}'];
+ }
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
+ if (types != null) {
+ _queryParams['types'] = types;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/licensing/v1.dart b/generated/googleapis/lib/licensing/v1.dart
index 124cc76..2a31178 100644
--- a/generated/googleapis/lib/licensing/v1.dart
+++ b/generated/googleapis/lib/licensing/v1.dart
@@ -273,16 +273,16 @@
/// accepted the primary domain name as a value for this field. If the
/// customer is suspended, the server returns an error.
///
- /// [pageToken] - Token to fetch the next page of data. The maxResults query
- /// string is related to the pageToken since maxResults determines how many
- /// entries are returned on each page. This is an optional query string. If
- /// not specified, the server returns the first page.
- ///
/// [maxResults] - The maxResults query string determines how many entries are
/// returned on each page of a large response. This is an optional parameter.
/// The value must be a positive number.
/// Value must be between "1" and "1000".
///
+ /// [pageToken] - Token to fetch the next page of data. The maxResults query
+ /// string is related to the pageToken since maxResults determines how many
+ /// entries are returned on each page. This is an optional query string. If
+ /// not specified, the server returns the first page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -296,8 +296,8 @@
async.Future<LicenseAssignmentList> listForProduct(
core.String productId,
core.String customerId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -314,12 +314,12 @@
throw core.ArgumentError('Parameter customerId is required.');
}
_queryParams['customerId'] = [customerId];
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -354,16 +354,16 @@
/// accepted the primary domain name as a value for this field. If the
/// customer is suspended, the server returns an error.
///
- /// [pageToken] - Token to fetch the next page of data. The maxResults query
- /// string is related to the pageToken since maxResults determines how many
- /// entries are returned on each page. This is an optional query string. If
- /// not specified, the server returns the first page.
- ///
/// [maxResults] - The maxResults query string determines how many entries are
/// returned on each page of a large response. This is an optional parameter.
/// The value must be a positive number.
/// Value must be between "1" and "1000".
///
+ /// [pageToken] - Token to fetch the next page of data. The maxResults query
+ /// string is related to the pageToken since maxResults determines how many
+ /// entries are returned on each page. This is an optional query string. If
+ /// not specified, the server returns the first page.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -378,8 +378,8 @@
core.String productId,
core.String skuId,
core.String customerId, {
- core.String pageToken,
core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -399,12 +399,12 @@
throw core.ArgumentError('Parameter customerId is required.');
}
_queryParams['customerId'] = [customerId];
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/logging/v2.dart b/generated/googleapis/lib/logging/v2.dart
index abcd91f..cf368e9 100644
--- a/generated/googleapis/lib/logging/v2.dart
+++ b/generated/googleapis/lib/logging/v2.dart
@@ -904,15 +904,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -925,8 +925,8 @@
/// this method will complete with the same error.
async.Future<ListLogsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -939,12 +939,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1242,6 +1242,15 @@
/// "projects/my-project-id/sinks/my-sink-id".
/// Value must have pattern "^billingAccounts/[^/]+/sinks/[^/]+$".
///
+ /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ /// this field. When updating a sink, the effect of this field on the value of
+ /// writer_identity in the updated sink depends on both the old and new values
+ /// 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 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 set to false or defaulted to false.
+ ///
/// [updateMask] - Optional. Field mask that specifies the fields in sink that
/// need an update. A sink field will be overwritten if, and only if, it is in
/// the update mask. name and output only fields cannot be updated.An empty
@@ -1252,15 +1261,6 @@
/// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
/// updateMask=filter.
///
- /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
- /// this field. When updating a sink, the effect of this field on the value of
- /// writer_identity in the updated sink depends on both the old and new values
- /// 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 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 set to false or defaulted to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1274,8 +1274,8 @@
async.Future<LogSink> patch(
LogSink request,
core.String sinkName, {
- core.String updateMask,
core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -1291,12 +1291,12 @@
if (sinkName == null) {
throw core.ArgumentError('Parameter sinkName is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (uniqueWriterIdentity != null) {
_queryParams['uniqueWriterIdentity'] = ['${uniqueWriterIdentity}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1700,15 +1700,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// Value must have pattern "^[^/]+/[^/]+$".
///
+ /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1721,8 +1721,8 @@
/// this method will complete with the same error.
async.Future<ListExclusionsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1735,12 +1735,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2370,15 +2370,15 @@
/// of LOCATION_ID will return all buckets.
/// Value must have pattern "^folders/[^/]+/locations/[^/]+$".
///
+ /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2391,8 +2391,8 @@
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2405,12 +2405,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2644,15 +2644,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2665,8 +2665,8 @@
/// this method will complete with the same error.
async.Future<ListLogsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2679,12 +2679,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2981,6 +2981,15 @@
/// "projects/my-project-id/sinks/my-sink-id".
/// Value must have pattern "^folders/[^/]+/sinks/[^/]+$".
///
+ /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ /// this field. When updating a sink, the effect of this field on the value of
+ /// writer_identity in the updated sink depends on both the old and new values
+ /// 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 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 set to false or defaulted to false.
+ ///
/// [updateMask] - Optional. Field mask that specifies the fields in sink that
/// need an update. A sink field will be overwritten if, and only if, it is in
/// the update mask. name and output only fields cannot be updated.An empty
@@ -2991,15 +3000,6 @@
/// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
/// updateMask=filter.
///
- /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
- /// this field. When updating a sink, the effect of this field on the value of
- /// writer_identity in the updated sink depends on both the old and new values
- /// 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 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 set to false or defaulted to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3013,8 +3013,8 @@
async.Future<LogSink> patch(
LogSink request,
core.String sinkName, {
- core.String updateMask,
core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -3030,12 +3030,12 @@
if (sinkName == null) {
throw core.ArgumentError('Parameter sinkName is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (uniqueWriterIdentity != null) {
_queryParams['uniqueWriterIdentity'] = ['${uniqueWriterIdentity}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4096,15 +4096,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4117,8 +4117,8 @@
/// this method will complete with the same error.
async.Future<ListExclusionsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4131,12 +4131,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4437,15 +4437,15 @@
/// of LOCATION_ID will return all buckets.
/// Value must have pattern "^organizations/[^/]+/locations/[^/]+$".
///
+ /// [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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4458,8 +4458,8 @@
/// this method will complete with the same error.
async.Future<ListBucketsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -4472,12 +4472,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4975,15 +4975,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4996,8 +4996,8 @@
/// this method will complete with the same error.
async.Future<ListSinksResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5010,12 +5010,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5143,6 +5143,15 @@
/// "projects/my-project-id/sinks/my-sink-id".
/// Value must have pattern "^organizations/[^/]+/sinks/[^/]+$".
///
+ /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ /// this field. When updating a sink, the effect of this field on the value of
+ /// writer_identity in the updated sink depends on both the old and new values
+ /// 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 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 set to false or defaulted to false.
+ ///
/// [updateMask] - Optional. Field mask that specifies the fields in sink that
/// need an update. A sink field will be overwritten if, and only if, it is in
/// the update mask. name and output only fields cannot be updated.An empty
@@ -5153,15 +5162,6 @@
/// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
/// updateMask=filter.
///
- /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
- /// this field. When updating a sink, the effect of this field on the value of
- /// writer_identity in the updated sink depends on both the old and new values
- /// 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 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 set to false or defaulted to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5175,8 +5175,8 @@
async.Future<LogSink> update(
LogSink request,
core.String sinkName, {
- core.String updateMask,
core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -5192,12 +5192,12 @@
if (sinkName == null) {
throw core.ArgumentError('Parameter sinkName is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (uniqueWriterIdentity != null) {
_queryParams['uniqueWriterIdentity'] = ['${uniqueWriterIdentity}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5417,15 +5417,15 @@
/// "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
/// 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.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5438,8 +5438,8 @@
/// this method will complete with the same error.
async.Future<ListExclusionsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5452,12 +5452,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6658,6 +6658,15 @@
/// "projects/my-project-id/sinks/my-sink-id".
/// Value must have pattern "^projects/[^/]+/sinks/[^/]+$".
///
+ /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ /// this field. When updating a sink, the effect of this field on the value of
+ /// writer_identity in the updated sink depends on both the old and new values
+ /// 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 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 set to false or defaulted to false.
+ ///
/// [updateMask] - Optional. Field mask that specifies the fields in sink that
/// need an update. A sink field will be overwritten if, and only if, it is in
/// the update mask. name and output only fields cannot be updated.An empty
@@ -6668,15 +6677,6 @@
/// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
/// updateMask=filter.
///
- /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
- /// this field. When updating a sink, the effect of this field on the value of
- /// writer_identity in the updated sink depends on both the old and new values
- /// 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 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 set to false or defaulted to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6690,8 +6690,8 @@
async.Future<LogSink> patch(
LogSink request,
core.String sinkName, {
- core.String updateMask,
core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -6707,12 +6707,12 @@
if (sinkName == null) {
throw core.ArgumentError('Parameter sinkName is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (uniqueWriterIdentity != null) {
_queryParams['uniqueWriterIdentity'] = ['${uniqueWriterIdentity}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6749,6 +6749,15 @@
/// "projects/my-project-id/sinks/my-sink-id".
/// Value must have pattern "^projects/[^/]+/sinks/[^/]+$".
///
+ /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
+ /// this field. When updating a sink, the effect of this field on the value of
+ /// writer_identity in the updated sink depends on both the old and new values
+ /// 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 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 set to false or defaulted to false.
+ ///
/// [updateMask] - Optional. Field mask that specifies the fields in sink that
/// need an update. A sink field will be overwritten if, and only if, it is in
/// the update mask. name and output only fields cannot be updated.An empty
@@ -6759,15 +6768,6 @@
/// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample:
/// updateMask=filter.
///
- /// [uniqueWriterIdentity] - Optional. See sinks.create for a description of
- /// this field. When updating a sink, the effect of this field on the value of
- /// writer_identity in the updated sink depends on both the old and new values
- /// 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 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 set to false or defaulted to false.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6781,8 +6781,8 @@
async.Future<LogSink> update(
LogSink request,
core.String sinkName, {
- core.String updateMask,
core.bool uniqueWriterIdentity,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -6798,12 +6798,12 @@
if (sinkName == null) {
throw core.ArgumentError('Parameter sinkName is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (uniqueWriterIdentity != null) {
_queryParams['uniqueWriterIdentity'] = ['${uniqueWriterIdentity}'];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/managedidentities/v1.dart b/generated/googleapis/lib/managedidentities/v1.dart
index b1b4c76..3af6435 100644
--- a/generated/googleapis/lib/managedidentities/v1.dart
+++ b/generated/googleapis/lib/managedidentities/v1.dart
@@ -124,13 +124,13 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [includeUnrevealedLocations] - If true, the returned list will include
/// locations which are not yet revealed.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -144,9 +144,9 @@
async.Future<ListLocationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.bool includeUnrevealedLocations,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -162,9 +162,6 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (includeUnrevealedLocations != null) {
_queryParams['includeUnrevealedLocations'] = [
'${includeUnrevealedLocations}'
@@ -173,6 +170,9 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -573,8 +573,8 @@
/// form: `projects/{project_id}/locations/global`
/// Value must have pattern "^projects/[^/]+/locations/global$".
///
- /// [pageToken] - Optional. The `next_page_token` value returned from a
- /// previous ListDomainsRequest request, if any.
+ /// [filter] - Optional. A filter specifying constraints of a list operation.
+ /// For example, `Domain.fqdn="mydomain.myorginization"`.
///
/// [orderBy] - Optional. Specifies the ordering of results. See [Sorting
/// order](https://cloud.google.com/apis/design/design_patterns#sorting_order)
@@ -586,8 +586,8 @@
/// rely on a response's next_page_token to determine if there are additional
/// results to list.
///
- /// [filter] - Optional. A filter specifying constraints of a list operation.
- /// For example, `Domain.fqdn="mydomain.myorginization"`.
+ /// [pageToken] - Optional. The `next_page_token` value returned from a
+ /// previous ListDomainsRequest request, if any.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -601,10 +601,10 @@
/// this method will complete with the same error.
async.Future<ListDomainsResponse> list(
core.String parent, {
- core.String pageToken,
+ core.String filter,
core.String orderBy,
core.int pageSize,
- core.String filter,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -617,8 +617,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
@@ -626,8 +626,8 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1205,12 +1205,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/global/operations$".
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1223,9 +1223,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -1238,15 +1238,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/manufacturers/v1.dart b/generated/googleapis/lib/manufacturers/v1.dart
index a36d4fd..fe8a530 100644
--- a/generated/googleapis/lib/manufacturers/v1.dart
+++ b/generated/googleapis/lib/manufacturers/v1.dart
@@ -212,14 +212,14 @@
/// The ID of the Manufacturer Center account.
/// Value must have pattern "^accounts/[^/]+$".
///
- /// [pageToken] - The token returned by the previous request.
- ///
/// [include] - The information to be included in the response. Only sections
/// listed here will be returned.
///
/// [pageSize] - Maximum number of product statuses to return in the response,
/// used for paging.
///
+ /// [pageToken] - The token returned by the previous request.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -232,9 +232,9 @@
/// this method will complete with the same error.
async.Future<ListProductsResponse> list(
core.String parent, {
- core.String pageToken,
core.List<core.String> include,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -247,15 +247,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (include != null) {
_queryParams['include'] = include;
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/ml/v1.dart b/generated/googleapis/lib/ml/v1.dart
index ea1ac9d..bc4ac2f 100644
--- a/generated/googleapis/lib/ml/v1.dart
+++ b/generated/googleapis/lib/ml/v1.dart
@@ -1965,15 +1965,15 @@
///
/// [filter] - Optional. Specifies the subset of models to retrieve.
///
- /// [pageToken] - Optional. A page token to request the next page of results.
- /// You get the token from the `next_page_token` field of the response from
- /// the previous call.
- ///
/// [pageSize] - Optional. The number of models to retrieve per "page" of
/// results. If there are more remaining results than this number, the
/// response message will contain a valid value in the `next_page_token`
/// field. The default value is 20, and the maximum page size is 100.
///
+ /// [pageToken] - Optional. A page token to request the next page of results.
+ /// You get the token from the `next_page_token` field of the response from
+ /// the previous call.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1987,8 +1987,8 @@
async.Future<GoogleCloudMlV1ListModelsResponse> list(
core.String parent, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2004,12 +2004,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2406,10 +2406,6 @@
/// [parent] - Required. The name of the model for which to list the version.
/// Value must have pattern "^projects/[^/]+/models/[^/]+$".
///
- /// [pageToken] - Optional. A page token to request the next page of results.
- /// You get the token from the `next_page_token` field of the response from
- /// the previous call.
- ///
/// [filter] - Optional. Specifies the subset of versions to retrieve.
///
/// [pageSize] - Optional. The number of versions to retrieve per "page" of
@@ -2417,6 +2413,10 @@
/// response message will contain a valid value in the `next_page_token`
/// field. The default value is 20, and the maximum page size is 100.
///
+ /// [pageToken] - Optional. A page token to request the next page of results.
+ /// You get the token from the `next_page_token` field of the response from
+ /// the previous call.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2429,9 +2429,9 @@
/// this method will complete with the same error.
async.Future<GoogleCloudMlV1ListVersionsResponse> list(
core.String parent, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2444,15 +2444,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2736,12 +2736,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2754,9 +2754,9 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2769,15 +2769,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/monitoring/v3.dart b/generated/googleapis/lib/monitoring/v3.dart
index 7ef89cd..1b2e3c1 100644
--- a/generated/googleapis/lib/monitoring/v3.dart
+++ b/generated/googleapis/lib/monitoring/v3.dart
@@ -274,24 +274,24 @@
/// operation, instead.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The maximum number of results to return in a single response.
- ///
/// [filter] - If provided, this field specifies the criteria that must be met
/// by alert policies to be included in the response.For more details, see
/// sorting and filtering
/// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
///
- /// [pageToken] - If this field is not empty then it must contain the
- /// nextPageToken value returned by a previous call to this method. Using this
- /// field causes the method to return more results from the previous method
- /// call.
- ///
/// [orderBy] - A comma-separated list of fields by which to sort the result.
/// Supports the same set of field references as the filter field. Entries can
/// be prefixed with a minus sign to sort by the field in descending order.For
/// more details, see sorting and filtering
/// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ ///
+ /// [pageToken] - If this field is not empty then it must contain the
+ /// nextPageToken value returned by a previous call to this method. Using this
+ /// field causes the method to return more results from the previous method
+ /// call.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -304,10 +304,10 @@
/// this method will complete with the same error.
async.Future<ListAlertPoliciesResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
- core.String pageToken,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -320,18 +320,18 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -692,6 +692,13 @@
/// is: projects/[PROJECT_ID_OR_NUMBER]
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [ancestorsOfGroup] - A group name. The format is:
+ /// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are
+ /// ancestors of the specified group. The groups are returned in order,
+ /// starting with the immediate parent and ending with the most distant
+ /// ancestor. If the specified group has no immediate parent, the results are
+ /// empty.
+ ///
/// [childrenOfGroup] - A group name. The format is:
/// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups whose
/// parent_name field contains the group name. If no groups have this parent,
@@ -702,21 +709,14 @@
/// of the specified group. This is a superset of the results returned by the
/// children_of_group filter, and includes children-of-children, and so forth.
///
+ /// [pageSize] - A positive number that is the maximum number of results to
+ /// return.
+ ///
/// [pageToken] - If this field is not empty then it must contain the
/// next_page_token value returned by a previous call to this method. Using
/// this field causes the method to return additional results from the
/// previous method call.
///
- /// [ancestorsOfGroup] - A group name. The format is:
- /// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are
- /// ancestors of the specified group. The groups are returned in order,
- /// starting with the immediate parent and ending with the most distant
- /// ancestor. If the specified group has no immediate parent, the results are
- /// empty.
- ///
- /// [pageSize] - A positive number that is the maximum number of results to
- /// return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -729,11 +729,11 @@
/// this method will complete with the same error.
async.Future<ListGroupsResponse> list(
core.String name, {
+ core.String ancestorsOfGroup,
core.String childrenOfGroup,
core.String descendantsOfGroup,
- core.String pageToken,
- core.String ancestorsOfGroup,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -746,21 +746,21 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (ancestorsOfGroup != null) {
+ _queryParams['ancestorsOfGroup'] = [ancestorsOfGroup];
+ }
if (childrenOfGroup != null) {
_queryParams['childrenOfGroup'] = [childrenOfGroup];
}
if (descendantsOfGroup != null) {
_queryParams['descendantsOfGroup'] = [descendantsOfGroup];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (ancestorsOfGroup != null) {
- _queryParams['ancestorsOfGroup'] = [ancestorsOfGroup];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -861,12 +861,6 @@
/// projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]
/// Value must have pattern "^projects/[^/]+/groups/[^/]+$".
///
- /// [interval_startTime] - Optional. The beginning of the time interval. The
- /// default value for the start time is the end time. The start time must not
- /// be later than the end time.
- ///
- /// [interval_endTime] - Required. The end of the time interval.
- ///
/// [filter] - An optional list filter
/// (https://cloud.google.com/monitoring/api/learn_more#filtering) describing
/// the members to be returned. The filter may reference the type, labels, and
@@ -874,6 +868,12 @@
/// return only resources representing Compute Engine VM instances, use this
/// filter: `resource.type = "gce_instance"`
///
+ /// [interval_endTime] - Required. The end of the time interval.
+ ///
+ /// [interval_startTime] - Optional. The beginning of the time interval. The
+ /// default value for the start time is the end time. The start time must not
+ /// be later than the end time.
+ ///
/// [pageSize] - A positive number that is the maximum number of results to
/// return.
///
@@ -894,9 +894,9 @@
/// this method will complete with the same error.
async.Future<ListGroupMembersResponse> list(
core.String name, {
- core.String interval_startTime,
- core.String interval_endTime,
core.String filter,
+ core.String interval_endTime,
+ core.String interval_startTime,
core.int pageSize,
core.String pageToken,
core.String $fields,
@@ -911,14 +911,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (interval_startTime != null) {
- _queryParams['interval.startTime'] = [interval_startTime];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (interval_endTime != null) {
_queryParams['interval.endTime'] = [interval_endTime];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (interval_startTime != null) {
+ _queryParams['interval.startTime'] = [interval_startTime];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
@@ -1133,14 +1133,14 @@
/// (https://cloud.google.com/monitoring/custom-metrics): metric.type =
/// starts_with("custom.googleapis.com/")
///
+ /// [pageSize] - A positive number that is the maximum number of results to
+ /// return.
+ ///
/// [pageToken] - If this field is not empty then it must contain the
/// nextPageToken value returned by a previous call to this method. Using this
/// field causes the method to return additional results from the previous
/// method call.
///
- /// [pageSize] - A positive number that is the maximum number of results to
- /// return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1154,8 +1154,8 @@
async.Future<ListMetricDescriptorsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1171,12 +1171,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1268,14 +1268,6 @@
/// is: projects/[PROJECT_ID_OR_NUMBER]
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - If this field is not empty then it must contain the
- /// nextPageToken value returned by a previous call to this method. Using this
- /// field causes the method to return additional results from the previous
- /// method call.
- ///
- /// [pageSize] - A positive number that is the maximum number of results to
- /// return.
- ///
/// [filter] - An optional filter
/// (https://cloud.google.com/monitoring/api/v3/filters) describing the
/// descriptors to be returned. The filter can reference the descriptor's type
@@ -1283,6 +1275,14 @@
/// Engine descriptors that have an id label: resource.type =
/// starts_with("gce_") AND resource.label:id
///
+ /// [pageSize] - A positive number that is the maximum number of results to
+ /// return.
+ ///
+ /// [pageToken] - If this field is not empty then it must contain the
+ /// nextPageToken value returned by a previous call to this method. Using this
+ /// field causes the method to return additional results from the previous
+ /// method call.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1295,9 +1295,9 @@
/// this method will complete with the same error.
async.Future<ListMonitoredResourceDescriptorsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1310,14 +1310,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1750,25 +1750,25 @@
/// GetNotificationChannel operation.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// If not set to a positive number, a reasonable value will be chosen by the
- /// service.
- ///
/// [filter] - If provided, this field specifies the criteria that must be met
/// by notification channels to be included in the response.For more details,
/// see sorting and filtering
/// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
///
- /// [pageToken] - If non-empty, page_token must contain a value returned as
- /// the next_page_token in a previous response to request the next set of
- /// results.
- ///
/// [orderBy] - A comma-separated list of fields by which to sort the result.
/// Supports the same set of fields as in filter. Entries can be prefixed with
/// a minus sign to sort in descending rather than ascending order.For more
/// details, see sorting and filtering
/// (https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ /// If not set to a positive number, a reasonable value will be chosen by the
+ /// service.
+ ///
+ /// [pageToken] - If non-empty, page_token must contain a value returned as
+ /// the next_page_token in a previous response to request the next set of
+ /// results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1781,10 +1781,10 @@
/// this method will complete with the same error.
async.Future<ListNotificationChannelsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
- core.String pageToken,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1797,18 +1797,18 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2086,14 +2086,15 @@
/// is: projects/[PROJECT_ID_OR_NUMBER]
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - If this field is not empty then it must contain the
- /// nextPageToken value returned by a previous call to this method. Using this
- /// field causes the method to return additional results from the previous
- /// method call.
- ///
- /// [interval_startTime] - Optional. The beginning of the time interval. The
- /// default value for the start time is the end time. The start time must not
- /// be later than the end time.
+ /// [aggregation_alignmentPeriod] - The alignment_period specifies a time
+ /// interval, in seconds, that is used to divide the data in all the time
+ /// series into consistent blocks of time. This will be done before the
+ /// per-series aligner can be applied to the data.The value must be at least
+ /// 60 seconds. If a per-series aligner other than ALIGN_NONE is specified,
+ /// this field is required or an error is returned. If no per-series aligner
+ /// is specified, or the aligner ALIGN_NONE is specified, then this field is
+ /// ignored.The maximum value of the alignment_period is 104 weeks (2 years)
+ /// for charts, and 90,000 seconds (25 hours) for alerting policies.
///
/// [aggregation_crossSeriesReducer] - The reduction operation to be used to
/// combine time series into a single time series, where the value of each
@@ -2168,35 +2169,18 @@
/// DELTA metrics of numeric and distribution type. The value of the output is
/// DOUBLE.
///
- /// [filter] - Required. A monitoring filter
- /// (https://cloud.google.com/monitoring/api/v3/filters) that specifies which
- /// time series should be returned. The filter must specify a single metric
- /// type, and can additionally specify metric labels and other information.
- /// For example: metric.type =
- /// "compute.googleapis.com/instance/cpu/usage_time" AND
- /// metric.labels.instance_name = "my-instance-name"
- ///
- /// [view] - Required. Specifies which information is returned about the time
- /// series.
- /// Possible string values are:
- /// - "FULL" : Returns the identity of the metric(s), the time series, and the
- /// time series data.
- /// - "HEADERS" : Returns the identity of the metric and the time series
- /// resource, but not the time series data.
- ///
- /// [aggregation_alignmentPeriod] - The alignment_period specifies a time
- /// interval, in seconds, that is used to divide the data in all the time
- /// series into consistent blocks of time. This will be done before the
- /// per-series aligner can be applied to the data.The value must be at least
- /// 60 seconds. If a per-series aligner other than ALIGN_NONE is specified,
- /// this field is required or an error is returned. If no per-series aligner
- /// is specified, or the aligner ALIGN_NONE is specified, then this field is
- /// ignored.The maximum value of the alignment_period is 104 weeks (2 years)
- /// for charts, and 90,000 seconds (25 hours) for alerting policies.
- ///
- /// [orderBy] - Unsupported: must be left blank. The points in each time
- /// series are currently returned in reverse time order (most recent to
- /// oldest).
+ /// [aggregation_groupByFields] - The set of fields to preserve when
+ /// cross_series_reducer is specified. The group_by_fields determine how the
+ /// time series are partitioned into subsets prior to applying the aggregation
+ /// operation. Each subset contains time series that have the same value for
+ /// each of the grouping fields. Each individual time series is a member of
+ /// exactly one subset. The cross_series_reducer is applied to each subset of
+ /// time series. It is not possible to reduce across different resource types,
+ /// so this field implicitly contains resource.type. Fields not specified in
+ /// group_by_fields are aggregated away. If group_by_fields is not specified
+ /// and all the time series have the same resource type, then the time series
+ /// are aggregated into a single output time series. If cross_series_reducer
+ /// is not defined, this field is ignored.
///
/// [aggregation_perSeriesAligner] - An Aligner describes how to bring the
/// data points in a single time series into temporal alignment. Except for
@@ -2304,26 +2288,42 @@
/// care should be taken that the values for the metric will always be
/// positive. The output is a GAUGE metric with value_type DOUBLE.
///
+ /// [filter] - Required. A monitoring filter
+ /// (https://cloud.google.com/monitoring/api/v3/filters) that specifies which
+ /// time series should be returned. The filter must specify a single metric
+ /// type, and can additionally specify metric labels and other information.
+ /// For example: metric.type =
+ /// "compute.googleapis.com/instance/cpu/usage_time" AND
+ /// metric.labels.instance_name = "my-instance-name"
+ ///
/// [interval_endTime] - Required. The end of the time interval.
///
+ /// [interval_startTime] - Optional. The beginning of the time interval. The
+ /// default value for the start time is the end time. The start time must not
+ /// be later than the end time.
+ ///
+ /// [orderBy] - Unsupported: must be left blank. The points in each time
+ /// series are currently returned in reverse time order (most recent to
+ /// oldest).
+ ///
/// [pageSize] - A positive number that is the maximum number of results to
/// return. If page_size is empty or more than 100,000 results, the effective
/// page_size is 100,000 results. If view is set to FULL, this is the maximum
/// number of Points returned. If view is set to HEADERS, this is the maximum
/// number of TimeSeries returned.
///
- /// [aggregation_groupByFields] - The set of fields to preserve when
- /// cross_series_reducer is specified. The group_by_fields determine how the
- /// time series are partitioned into subsets prior to applying the aggregation
- /// operation. Each subset contains time series that have the same value for
- /// each of the grouping fields. Each individual time series is a member of
- /// exactly one subset. The cross_series_reducer is applied to each subset of
- /// time series. It is not possible to reduce across different resource types,
- /// so this field implicitly contains resource.type. Fields not specified in
- /// group_by_fields are aggregated away. If group_by_fields is not specified
- /// and all the time series have the same resource type, then the time series
- /// are aggregated into a single output time series. If cross_series_reducer
- /// is not defined, this field is ignored.
+ /// [pageToken] - If this field is not empty then it must contain the
+ /// nextPageToken value returned by a previous call to this method. Using this
+ /// field causes the method to return additional results from the previous
+ /// method call.
+ ///
+ /// [view] - Required. Specifies which information is returned about the time
+ /// series.
+ /// Possible string values are:
+ /// - "FULL" : Returns the identity of the metric(s), the time series, and the
+ /// time series data.
+ /// - "HEADERS" : Returns the identity of the metric and the time series
+ /// resource, but not the time series data.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2337,17 +2337,17 @@
/// this method will complete with the same error.
async.Future<ListTimeSeriesResponse> list(
core.String name, {
- core.String pageToken,
- core.String interval_startTime,
- core.String aggregation_crossSeriesReducer,
- core.String filter,
- core.String view,
core.String aggregation_alignmentPeriod,
- core.String orderBy,
- core.String aggregation_perSeriesAligner,
- core.String interval_endTime,
- core.int pageSize,
+ core.String aggregation_crossSeriesReducer,
core.List<core.String> aggregation_groupByFields,
+ core.String aggregation_perSeriesAligner,
+ core.String filter,
+ core.String interval_endTime,
+ core.String interval_startTime,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -2360,44 +2360,44 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (interval_startTime != null) {
- _queryParams['interval.startTime'] = [interval_startTime];
+ if (aggregation_alignmentPeriod != null) {
+ _queryParams['aggregation.alignmentPeriod'] = [
+ aggregation_alignmentPeriod
+ ];
}
if (aggregation_crossSeriesReducer != null) {
_queryParams['aggregation.crossSeriesReducer'] = [
aggregation_crossSeriesReducer
];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
- if (view != null) {
- _queryParams['view'] = [view];
- }
- if (aggregation_alignmentPeriod != null) {
- _queryParams['aggregation.alignmentPeriod'] = [
- aggregation_alignmentPeriod
- ];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (aggregation_groupByFields != null) {
+ _queryParams['aggregation.groupByFields'] = aggregation_groupByFields;
}
if (aggregation_perSeriesAligner != null) {
_queryParams['aggregation.perSeriesAligner'] = [
aggregation_perSeriesAligner
];
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (interval_endTime != null) {
_queryParams['interval.endTime'] = [interval_endTime];
}
+ if (interval_startTime != null) {
+ _queryParams['interval.startTime'] = [interval_startTime];
+ }
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (aggregation_groupByFields != null) {
- _queryParams['aggregation.groupByFields'] = aggregation_groupByFields;
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (view != null) {
+ _queryParams['view'] = [view];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2985,14 +2985,14 @@
/// "CLUSTER_ISTIO" (deprecated) and "CLOUD_ENDPOINTS" (reserved for future
/// use).
///
+ /// [pageSize] - A non-negative number that is the maximum number of results
+ /// to return. When 0, use default page size.
+ ///
/// [pageToken] - If this field is not empty then it must contain the
/// nextPageToken value returned by a previous call to this method. Using this
/// field causes the method to return additional results from the previous
/// method call.
///
- /// [pageSize] - A non-negative number that is the maximum number of results
- /// to return. When 0, use default page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3006,8 +3006,8 @@
async.Future<ListServicesResponse> list(
core.String parent, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3023,12 +3023,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3316,6 +3316,11 @@
/// workspaces/[HOST_PROJECT_ID_OR_NUMBER]/services/-
/// Value must have pattern "^[^/]+/[^/]+/services/[^/]+$".
///
+ /// [filter] - A filter specifying what ServiceLevelObjectives to return.
+ ///
+ /// [pageSize] - A non-negative number that is the maximum number of results
+ /// to return. When 0, use default page size.
+ ///
/// [pageToken] - If this field is not empty then it must contain the
/// nextPageToken value returned by a previous call to this method. Using this
/// field causes the method to return additional results from the previous
@@ -3335,11 +3340,6 @@
/// RequestBasedSli or WindowsBasedSli, return the ServiceLevelIndicator as it
/// was provided.
///
- /// [filter] - A filter specifying what ServiceLevelObjectives to return.
- ///
- /// [pageSize] - A non-negative number that is the maximum number of results
- /// to return. When 0, use default page size.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3352,10 +3352,10 @@
/// this method will complete with the same error.
async.Future<ListServiceLevelObjectivesResponse> list(
core.String parent, {
- core.String pageToken,
- core.String view,
core.String filter,
core.int pageSize,
+ core.String pageToken,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -3368,18 +3368,18 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3475,16 +3475,16 @@
///
/// Request parameters:
///
- /// [pageToken] - If this field is not empty then it must contain the
- /// nextPageToken value returned by a previous call to this method. Using this
- /// field causes the method to return more results from the previous method
- /// call. NOTE: this field is not yet implemented
- ///
/// [pageSize] - The maximum number of results to return in a single response.
/// The server may further constrain the maximum number of results returned in
/// a single page. If the page_size is <=0, the server will decide the number
/// of results to be returned. NOTE: this field is not yet implemented
///
+ /// [pageToken] - If this field is not empty then it must contain the
+ /// nextPageToken value returned by a previous call to this method. Using this
+ /// field causes the method to return more results from the previous method
+ /// call. NOTE: this field is not yet implemented
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3496,8 +3496,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListUptimeCheckIpsResponse> list({
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3507,12 +3507,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/networkmanagement/v1.dart b/generated/googleapis/lib/networkmanagement/v1.dart
index b9f21c6..d2ab441 100644
--- a/generated/googleapis/lib/networkmanagement/v1.dart
+++ b/generated/googleapis/lib/networkmanagement/v1.dart
@@ -123,10 +123,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -140,8 +140,8 @@
async.Future<ListLocationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -157,12 +157,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -458,13 +458,6 @@
/// `projects/{project_id}/locations/global`
/// Value must have pattern "^projects/[^/]+/locations/global$".
///
- /// [pageToken] - Page token from an earlier query, as returned in
- /// `next_page_token`.
- ///
- /// [pageSize] - Number of `ConnectivityTests` to return.
- ///
- /// [orderBy] - Field to use to sort the list.
- ///
/// [filter] - Lists the `ConnectivityTests` that match the filter expression.
/// A filter expression filters the resources listed in the response. The
/// expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`,
@@ -476,6 +469,13 @@
/// labels: - Resources that have a key called `foo` labels.foo:* - Resources
/// that have a key called `foo` whose value is `bar` labels.foo = bar
///
+ /// [orderBy] - Field to use to sort the list.
+ ///
+ /// [pageSize] - Number of `ConnectivityTests` to return.
+ ///
+ /// [pageToken] - Page token from an earlier query, as returned in
+ /// `next_page_token`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -488,10 +488,10 @@
/// this method will complete with the same error.
async.Future<ListConnectivityTestsResponse> list(
core.String parent, {
- core.String pageToken,
- core.int pageSize,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -504,17 +504,17 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/osconfig/v1.dart b/generated/googleapis/lib/osconfig/v1.dart
index e41cc40..f7db9ad 100644
--- a/generated/googleapis/lib/osconfig/v1.dart
+++ b/generated/googleapis/lib/osconfig/v1.dart
@@ -483,15 +483,15 @@
/// [parent] - Required. In the form of `projects / * `
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [filter] - If provided, this field specifies the criteria that must be met
+ /// by patch jobs to be included in the response. Currently, filtering is only
+ /// available on the patch_deployment field.
+ ///
/// [pageSize] - The maximum number of instance status to return.
///
/// [pageToken] - A pagination token returned from a previous call that
/// indicates where this listing should continue from.
///
- /// [filter] - If provided, this field specifies the criteria that must be met
- /// by patch jobs to be included in the response. Currently, filtering is only
- /// available on the patch_deployment field.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -504,9 +504,9 @@
/// this method will complete with the same error.
async.Future<ListPatchJobsResponse> list(
core.String parent, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -519,15 +519,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/pagespeedonline/v5.dart b/generated/googleapis/lib/pagespeedonline/v5.dart
index 1523474..fbba0f4 100644
--- a/generated/googleapis/lib/pagespeedonline/v5.dart
+++ b/generated/googleapis/lib/pagespeedonline/v5.dart
@@ -59,6 +59,13 @@
///
/// Request parameters:
///
+ /// [captchaToken] - The captcha token passed when filling out a captcha.
+ ///
+ /// [category] - A Lighthouse category to run; if none are given, only
+ /// Performance category will be run
+ ///
+ /// [locale] - The locale used to localize formatted results
+ ///
/// [strategy] - The analysis strategy (desktop or mobile) to use, and desktop
/// is the default
/// Possible string values are:
@@ -66,18 +73,11 @@
/// - "DESKTOP" : Fetch and analyze the URL for desktop browsers.
/// - "MOBILE" : Fetch and analyze the URL for mobile devices.
///
- /// [utmCampaign] - Campaign name for analytics.
- ///
- /// [category] - A Lighthouse category to run; if none are given, only
- /// Performance category will be run
- ///
- /// [locale] - The locale used to localize formatted results
- ///
/// [url] - Required. The URL to fetch and analyze
///
- /// [utmSource] - Campaign source for analytics.
+ /// [utmCampaign] - Campaign name for analytics.
///
- /// [captchaToken] - The captcha token passed when filling out a captcha.
+ /// [utmSource] - Campaign source for analytics.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -90,13 +90,13 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<PagespeedApiPagespeedResponseV5> runpagespeed({
- core.String strategy,
- core.String utmCampaign,
+ core.String captchaToken,
core.List<core.String> category,
core.String locale,
+ core.String strategy,
core.String url,
+ core.String utmCampaign,
core.String utmSource,
- core.String captchaToken,
core.String $fields,
}) {
core.String _url;
@@ -106,11 +106,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (strategy != null) {
- _queryParams['strategy'] = [strategy];
- }
- if (utmCampaign != null) {
- _queryParams['utm_campaign'] = [utmCampaign];
+ if (captchaToken != null) {
+ _queryParams['captchaToken'] = [captchaToken];
}
if (category != null) {
_queryParams['category'] = category;
@@ -118,15 +115,18 @@
if (locale != null) {
_queryParams['locale'] = [locale];
}
+ if (strategy != null) {
+ _queryParams['strategy'] = [strategy];
+ }
if (url != null) {
_queryParams['url'] = [url];
}
+ if (utmCampaign != null) {
+ _queryParams['utm_campaign'] = [utmCampaign];
+ }
if (utmSource != null) {
_queryParams['utm_source'] = [utmSource];
}
- if (captchaToken != null) {
- _queryParams['captchaToken'] = [captchaToken];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index 1801873..3f96c93 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -588,11 +588,9 @@
///
/// Request parameters:
///
- /// [requestSyncToken] - Optional. Whether the response should include
- /// `next_sync_token`, which can be used to get all changes since the last
- /// request. For subsequent sync requests use the `sync_token` param instead.
- /// Initial sync requests that specify `request_sync_token` have an additional
- /// rate limit.
+ /// [pageSize] - Optional. The number of "Other contacts" to include in the
+ /// response. Valid values are between 1 and 1000, inclusive. Defaults to 100
+ /// if not set or set to 0.
///
/// [pageToken] - Optional. A page token, received from a previous
/// `ListOtherContacts` call. Provide this to retrieve the subsequent page.
@@ -603,9 +601,11 @@
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Valid values are: * emailAddresses * names * phoneNumbers
///
- /// [pageSize] - Optional. The number of "Other contacts" to include in the
- /// response. Valid values are between 1 and 1000, inclusive. Defaults to 100
- /// if not set or set to 0.
+ /// [requestSyncToken] - Optional. Whether the response should include
+ /// `next_sync_token`, which can be used to get all changes since the last
+ /// request. For subsequent sync requests use the `sync_token` param instead.
+ /// Initial sync requests that specify `request_sync_token` have an additional
+ /// rate limit.
///
/// [syncToken] - Optional. A sync token, received from a previous
/// `ListOtherContacts` call. Provide this to retrieve only the resources
@@ -624,10 +624,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListOtherContactsResponse> list({
- core.bool requestSyncToken,
+ core.int pageSize,
core.String pageToken,
core.String readMask,
- core.int pageSize,
+ core.bool requestSyncToken,
core.String syncToken,
core.String $fields,
}) {
@@ -638,8 +638,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (requestSyncToken != null) {
- _queryParams['requestSyncToken'] = ['${requestSyncToken}'];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -647,8 +647,8 @@
if (readMask != null) {
_queryParams['readMask'] = [readMask];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (requestSyncToken != null) {
+ _queryParams['requestSyncToken'] = ['${requestSyncToken}'];
}
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
@@ -811,9 +811,6 @@
/// will be deleted.
/// Value must have pattern "^people/[^/]+$".
///
- /// [sources] - Optional. A mask of what source types to return. Defaults to
- /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
- ///
/// [personFields] - Optional. A field mask to restrict which fields on the
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Defaults to empty if not set, which will skip the post mutate
@@ -824,6 +821,9 @@
/// organizations * phoneNumbers * photos * relations * sipAddresses * skills
/// * urls * userDefined
///
+ /// [sources] - Optional. A mask of what source types to return. Defaults to
+ /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -836,8 +836,8 @@
/// this method will complete with the same error.
async.Future<DeleteContactPhotoResponse> deleteContactPhoto(
core.String resourceName, {
- core.List<core.String> sources,
core.String personFields,
+ core.List<core.String> sources,
core.String $fields,
}) {
core.String _url;
@@ -850,12 +850,12 @@
if (resourceName == null) {
throw core.ArgumentError('Parameter resourceName is required.');
}
- if (sources != null) {
- _queryParams['sources'] = sources;
- }
if (personFields != null) {
_queryParams['personFields'] = [personFields];
}
+ if (sources != null) {
+ _queryParams['sources'] = sources;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -890,13 +890,6 @@
/// [`people.connections.list`](/people/api/rest/v1/people.connections/list).
/// Value must have pattern "^people/[^/]+$".
///
- /// [sources] - Optional. A mask of what source types to return. Defaults to
- /// ReadSourceType.PROFILE and ReadSourceType.CONTACT if not set.
- ///
- /// [requestMask_includeField] - Required. Comma-separated list of person
- /// fields to be included in the response. Each path should start with
- /// `person.`: for example, `person.names` or `person.photos`.
- ///
/// [personFields] - Required. A field mask to restrict which fields on the
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Valid values are: * addresses * ageRanges * biographies *
@@ -906,6 +899,13 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
+ /// [requestMask_includeField] - Required. Comma-separated list of person
+ /// fields to be included in the response. Each path should start with
+ /// `person.`: for example, `person.names` or `person.photos`.
+ ///
+ /// [sources] - Optional. A mask of what source types to return. Defaults to
+ /// ReadSourceType.PROFILE and ReadSourceType.CONTACT if not set.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -918,9 +918,9 @@
/// this method will complete with the same error.
async.Future<Person> get(
core.String resourceName, {
- core.List<core.String> sources,
- core.String requestMask_includeField,
core.String personFields,
+ core.String requestMask_includeField,
+ core.List<core.String> sources,
core.String $fields,
}) {
core.String _url;
@@ -933,14 +933,14 @@
if (resourceName == null) {
throw core.ArgumentError('Parameter resourceName is required.');
}
- if (sources != null) {
- _queryParams['sources'] = sources;
+ if (personFields != null) {
+ _queryParams['personFields'] = [personFields];
}
if (requestMask_includeField != null) {
_queryParams['requestMask.includeField'] = [requestMask_includeField];
}
- if (personFields != null) {
- _queryParams['personFields'] = [personFields];
+ if (sources != null) {
+ _queryParams['sources'] = sources;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -966,10 +966,6 @@
///
/// Request parameters:
///
- /// [requestMask_includeField] - Required. Comma-separated list of person
- /// fields to be included in the response. Each path should start with
- /// `person.`: for example, `person.names` or `person.photos`.
- ///
/// [personFields] - Required. A field mask to restrict which fields on each
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Valid values are: * addresses * ageRanges * biographies *
@@ -979,6 +975,10 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
+ /// [requestMask_includeField] - Required. Comma-separated list of person
+ /// fields to be included in the response. Each path should start with
+ /// `person.`: for example, `person.names` or `person.photos`.
+ ///
/// [resourceNames] - Required. The resource names of the people to provide
/// information about. It's repeatable. The URL query parameter should be
/// resourceNames=<name1>&resourceNames=<name2>&... - To get information about
@@ -1003,8 +1003,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<GetPeopleResponse> getBatchGet({
- core.String requestMask_includeField,
core.String personFields,
+ core.String requestMask_includeField,
core.List<core.String> resourceNames,
core.List<core.String> sources,
core.String $fields,
@@ -1016,12 +1016,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (requestMask_includeField != null) {
- _queryParams['requestMask.includeField'] = [requestMask_includeField];
- }
if (personFields != null) {
_queryParams['personFields'] = [personFields];
}
+ if (requestMask_includeField != null) {
+ _queryParams['requestMask.includeField'] = [requestMask_includeField];
+ }
if (resourceNames != null) {
_queryParams['resourceNames'] = resourceNames;
}
@@ -1051,27 +1051,19 @@
///
/// Request parameters:
///
- /// [syncToken] - Optional. A sync token, received from a previous
- /// `ListDirectoryPeople` call. Provide this to retrieve only the resources
- /// changed since the last request. When syncing, all other parameters
- /// provided to `ListDirectoryPeople` must match the call that provided the
- /// sync token.
- ///
/// [mergeSources] - Optional. Additional data to merge into the directory
/// sources if they are connected through verified join keys such as email
/// addresses or phone numbers.
///
+ /// [pageSize] - Optional. The number of people to include in the response.
+ /// Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set
+ /// or set to 0.
+ ///
/// [pageToken] - Optional. A page token, received from a previous
/// `ListDirectoryPeople` call. Provide this to retrieve the subsequent page.
/// When paginating, all other parameters provided to `ListDirectoryPeople`
/// must match the call that provided the page token.
///
- /// [requestSyncToken] - Optional. Whether the response should include
- /// `next_sync_token`, which can be used to get all changes since the last
- /// request. For subsequent sync requests use the `sync_token` param instead.
- ///
- /// [sources] - Required. Directory sources to return.
- ///
/// [readMask] - Required. A field mask to restrict which fields on each
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Valid values are: * addresses * ageRanges * biographies *
@@ -1081,9 +1073,17 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
- /// [pageSize] - Optional. The number of people to include in the response.
- /// Valid values are between 1 and 1000, inclusive. Defaults to 100 if not set
- /// or set to 0.
+ /// [requestSyncToken] - Optional. Whether the response should include
+ /// `next_sync_token`, which can be used to get all changes since the last
+ /// request. For subsequent sync requests use the `sync_token` param instead.
+ ///
+ /// [sources] - Required. Directory sources to return.
+ ///
+ /// [syncToken] - Optional. A sync token, received from a previous
+ /// `ListDirectoryPeople` call. Provide this to retrieve only the resources
+ /// changed since the last request. When syncing, all other parameters
+ /// provided to `ListDirectoryPeople` must match the call that provided the
+ /// sync token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1096,13 +1096,13 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListDirectoryPeopleResponse> listDirectoryPeople({
- core.String syncToken,
core.List<core.String> mergeSources,
+ core.int pageSize,
core.String pageToken,
+ core.String readMask,
core.bool requestSyncToken,
core.List<core.String> sources,
- core.String readMask,
- core.int pageSize,
+ core.String syncToken,
core.String $fields,
}) {
core.String _url;
@@ -1112,26 +1112,26 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (syncToken != null) {
- _queryParams['syncToken'] = [syncToken];
- }
if (mergeSources != null) {
_queryParams['mergeSources'] = mergeSources;
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (readMask != null) {
+ _queryParams['readMask'] = [readMask];
+ }
if (requestSyncToken != null) {
_queryParams['requestSyncToken'] = ['${requestSyncToken}'];
}
if (sources != null) {
_queryParams['sources'] = sources;
}
- if (readMask != null) {
- _queryParams['readMask'] = [readMask];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (syncToken != null) {
+ _queryParams['syncToken'] = [syncToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1160,16 +1160,18 @@
/// sources if they are connected through verified join keys such as email
/// addresses or phone numbers.
///
- /// [sources] - Required. Directory sources to return.
- ///
- /// [query] - Required. Prefix query that matches fields in the person. Does
- /// NOT use the read_mask for determining what fields to match.
+ /// [pageSize] - Optional. The number of people to include in the response.
+ /// Valid values are between 1 and 500, inclusive. Defaults to 100 if not set
+ /// or set to 0.
///
/// [pageToken] - Optional. A page token, received from a previous
/// `SearchDirectoryPeople` call. Provide this to retrieve the subsequent
/// page. When paginating, all other parameters provided to
/// `SearchDirectoryPeople` must match the call that provided the page token.
///
+ /// [query] - Required. Prefix query that matches fields in the person. Does
+ /// NOT use the read_mask for determining what fields to match.
+ ///
/// [readMask] - Required. A field mask to restrict which fields on each
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Valid values are: * addresses * ageRanges * biographies *
@@ -1179,9 +1181,7 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
- /// [pageSize] - Optional. The number of people to include in the response.
- /// Valid values are between 1 and 500, inclusive. Defaults to 100 if not set
- /// or set to 0.
+ /// [sources] - Required. Directory sources to return.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1195,11 +1195,11 @@
/// this method will complete with the same error.
async.Future<SearchDirectoryPeopleResponse> searchDirectoryPeople({
core.List<core.String> mergeSources,
- core.List<core.String> sources,
- core.String query,
- core.String pageToken,
- core.String readMask,
core.int pageSize,
+ core.String pageToken,
+ core.String query,
+ core.String readMask,
+ core.List<core.String> sources,
core.String $fields,
}) {
core.String _url;
@@ -1212,20 +1212,20 @@
if (mergeSources != null) {
_queryParams['mergeSources'] = mergeSources;
}
- if (sources != null) {
- _queryParams['sources'] = sources;
- }
- if (query != null) {
- _queryParams['query'] = [query];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (query != null) {
+ _queryParams['query'] = [query];
+ }
if (readMask != null) {
_queryParams['readMask'] = [readMask];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (sources != null) {
+ _queryParams['sources'] = sources;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1270,18 +1270,6 @@
/// `people/{person_id}`.
/// Value must have pattern "^people/[^/]+$".
///
- /// [updatePersonFields] - Required. A field mask to restrict which fields on
- /// the person are updated. Multiple fields can be specified by separating
- /// them with commas. All updated fields will be replaced. Valid values are: *
- /// addresses * biographies * birthdays * calendarUrls * clientData *
- /// emailAddresses * events * externalIds * genders * imClients * interests *
- /// locales * locations * memberships * miscKeywords * names * nicknames *
- /// occupations * organizations * phoneNumbers * relations * sipAddresses *
- /// urls * userDefined
- ///
- /// [sources] - Optional. A mask of what source types to return. Defaults to
- /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
- ///
/// [personFields] - Optional. A field mask to restrict which fields on each
/// person are returned. Multiple fields can be specified by separating them
/// with commas. Defaults to all fields if not set. Valid values are: *
@@ -1292,6 +1280,18 @@
/// phoneNumbers * photos * relations * sipAddresses * skills * urls *
/// userDefined
///
+ /// [sources] - Optional. A mask of what source types to return. Defaults to
+ /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
+ ///
+ /// [updatePersonFields] - Required. A field mask to restrict which fields on
+ /// the person are updated. Multiple fields can be specified by separating
+ /// them with commas. All updated fields will be replaced. Valid values are: *
+ /// addresses * biographies * birthdays * calendarUrls * clientData *
+ /// emailAddresses * events * externalIds * genders * imClients * interests *
+ /// locales * locations * memberships * miscKeywords * names * nicknames *
+ /// occupations * organizations * phoneNumbers * relations * sipAddresses *
+ /// urls * userDefined
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1305,9 +1305,9 @@
async.Future<Person> updateContact(
Person request,
core.String resourceName, {
- core.String updatePersonFields,
- core.List<core.String> sources,
core.String personFields,
+ core.List<core.String> sources,
+ core.String updatePersonFields,
core.String $fields,
}) {
core.String _url;
@@ -1323,14 +1323,14 @@
if (resourceName == null) {
throw core.ArgumentError('Parameter resourceName is required.');
}
- if (updatePersonFields != null) {
- _queryParams['updatePersonFields'] = [updatePersonFields];
+ if (personFields != null) {
+ _queryParams['personFields'] = [personFields];
}
if (sources != null) {
_queryParams['sources'] = sources;
}
- if (personFields != null) {
- _queryParams['personFields'] = [personFields];
+ if (updatePersonFields != null) {
+ _queryParams['updatePersonFields'] = [updatePersonFields];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -1425,33 +1425,10 @@
/// Only `people/me` is valid.
/// Value must have pattern "^people/[^/]+$".
///
- /// [sortOrder] - Optional. The order in which the connections should be
- /// sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
- /// Possible string values are:
- /// - "LAST_MODIFIED_ASCENDING" : Sort people by when they were changed; older
- /// entries first.
- /// - "LAST_MODIFIED_DESCENDING" : Sort people by when they were changed;
- /// newer entries first.
- /// - "FIRST_NAME_ASCENDING" : Sort people by first name.
- /// - "LAST_NAME_ASCENDING" : Sort people by last name.
- ///
- /// [requestSyncToken] - Optional. Whether the response should include
- /// `next_sync_token` on the last page, which can be used to get all changes
- /// since the last request. For subsequent sync requests use the `sync_token`
- /// param instead. Initial sync requests that specify `request_sync_token`
- /// have an additional rate limit.
- ///
/// [pageSize] - Optional. The number of connections to include in the
/// response. Valid values are between 1 and 1000, inclusive. Defaults to 100
/// if not set or set to 0.
///
- /// [sources] - Optional. A mask of what source types to return. Defaults to
- /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
- ///
- /// [requestMask_includeField] - Required. Comma-separated list of person
- /// fields to be included in the response. Each path should start with
- /// `person.`: for example, `person.names` or `person.photos`.
- ///
/// [pageToken] - Optional. A page token, received from a previous
/// `ListConnections` call. Provide this to retrieve the subsequent page. When
/// paginating, all other parameters provided to `ListConnections` must match
@@ -1466,6 +1443,29 @@
/// occupations * organizations * phoneNumbers * photos * relations *
/// sipAddresses * skills * urls * userDefined
///
+ /// [requestMask_includeField] - Required. Comma-separated list of person
+ /// fields to be included in the response. Each path should start with
+ /// `person.`: for example, `person.names` or `person.photos`.
+ ///
+ /// [requestSyncToken] - Optional. Whether the response should include
+ /// `next_sync_token` on the last page, which can be used to get all changes
+ /// since the last request. For subsequent sync requests use the `sync_token`
+ /// param instead. Initial sync requests that specify `request_sync_token`
+ /// have an additional rate limit.
+ ///
+ /// [sortOrder] - Optional. The order in which the connections should be
+ /// sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
+ /// Possible string values are:
+ /// - "LAST_MODIFIED_ASCENDING" : Sort people by when they were changed; older
+ /// entries first.
+ /// - "LAST_MODIFIED_DESCENDING" : Sort people by when they were changed;
+ /// newer entries first.
+ /// - "FIRST_NAME_ASCENDING" : Sort people by first name.
+ /// - "LAST_NAME_ASCENDING" : Sort people by last name.
+ ///
+ /// [sources] - Optional. A mask of what source types to return. Defaults to
+ /// ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
+ ///
/// [syncToken] - Optional. A sync token, received from a previous
/// `ListConnections` call. Provide this to retrieve only the resources
/// changed since the last request. Sync requests that specify `sync_token`
@@ -1484,13 +1484,13 @@
/// this method will complete with the same error.
async.Future<ListConnectionsResponse> list(
core.String resourceName, {
- core.String sortOrder,
- core.bool requestSyncToken,
core.int pageSize,
- core.List<core.String> sources,
- core.String requestMask_includeField,
core.String pageToken,
core.String personFields,
+ core.String requestMask_includeField,
+ core.bool requestSyncToken,
+ core.String sortOrder,
+ core.List<core.String> sources,
core.String syncToken,
core.String $fields,
}) {
@@ -1504,27 +1504,27 @@
if (resourceName == null) {
throw core.ArgumentError('Parameter resourceName is required.');
}
- if (sortOrder != null) {
- _queryParams['sortOrder'] = [sortOrder];
- }
- if (requestSyncToken != null) {
- _queryParams['requestSyncToken'] = ['${requestSyncToken}'];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (sources != null) {
- _queryParams['sources'] = sources;
- }
- if (requestMask_includeField != null) {
- _queryParams['requestMask.includeField'] = [requestMask_includeField];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (personFields != null) {
_queryParams['personFields'] = [personFields];
}
+ if (requestMask_includeField != null) {
+ _queryParams['requestMask.includeField'] = [requestMask_includeField];
+ }
+ if (requestSyncToken != null) {
+ _queryParams['requestSyncToken'] = ['${requestSyncToken}'];
+ }
+ if (sortOrder != null) {
+ _queryParams['sortOrder'] = [sortOrder];
+ }
+ if (sources != null) {
+ _queryParams['sources'] = sources;
+ }
if (syncToken != null) {
_queryParams['syncToken'] = [syncToken];
}
diff --git a/generated/googleapis/lib/poly/v1.dart b/generated/googleapis/lib/poly/v1.dart
index c12b139..2bba5b6 100644
--- a/generated/googleapis/lib/poly/v1.dart
+++ b/generated/googleapis/lib/poly/v1.dart
@@ -108,6 +108,23 @@
///
/// Request parameters:
///
+ /// [category] - Filter assets based on the specified category. Supported
+ /// values are:
+ /// `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`,
+ /// `scenes`, `technology`, and `transport`.
+ ///
+ /// [curated] - Return only assets that have been curated by the Poly team.
+ ///
+ /// [format] - Return only assets with the matching format. Acceptable values
+ /// are:
+ /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
+ ///
+ /// [keywords] - One or more search terms to be matched against all text that
+ /// Poly has
+ /// indexed for assets, which includes display_name,
+ /// description, and tags. Multiple keywords should be
+ /// separated by spaces.
+ ///
/// [maxComplexity] - Returns assets that are of the specified complexity or
/// less. Defaults to
/// COMPLEX. For example, a request for
@@ -119,37 +136,20 @@
/// - "MEDIUM" : A MEDIUM.
/// - "SIMPLE" : A SIMPLE.
///
+ /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
+ /// `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
+ /// based on a combination of popularity and other features.
+ ///
/// [pageSize] - The maximum number of assets to be returned. This value must
/// be between `1`
/// and `100`. Defaults to `20`.
///
- /// [keywords] - One or more search terms to be matched against all text that
- /// Poly has
- /// indexed for assets, which includes display_name,
- /// description, and tags. Multiple keywords should be
- /// separated by spaces.
- ///
/// [pageToken] - Specifies a continuation token from a previous search whose
/// results were
/// split into multiple pages. To get the next page, submit the same request
/// specifying the value from
/// next_page_token.
///
- /// [curated] - Return only assets that have been curated by the Poly team.
- ///
- /// [orderBy] - Specifies an ordering for assets. Acceptable values are:
- /// `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
- /// based on a combination of popularity and other features.
- ///
- /// [category] - Filter assets based on the specified category. Supported
- /// values are:
- /// `animals`, `architecture`, `art`, `food`, `nature`, `objects`, `people`,
- /// `scenes`, `technology`, and `transport`.
- ///
- /// [format] - Return only assets with the matching format. Acceptable values
- /// are:
- /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -161,14 +161,14 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListAssetsResponse> list({
- core.String maxComplexity,
- core.int pageSize,
- core.String keywords,
- core.String pageToken,
- core.bool curated,
- core.String orderBy,
core.String category,
+ core.bool curated,
core.String format,
+ core.String keywords,
+ core.String maxComplexity,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -178,29 +178,29 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (maxComplexity != null) {
- _queryParams['maxComplexity'] = [maxComplexity];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (keywords != null) {
- _queryParams['keywords'] = [keywords];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (category != null) {
+ _queryParams['category'] = [category];
}
if (curated != null) {
_queryParams['curated'] = ['${curated}'];
}
+ if (format != null) {
+ _queryParams['format'] = [format];
+ }
+ if (keywords != null) {
+ _queryParams['keywords'] = [keywords];
+ }
+ if (maxComplexity != null) {
+ _queryParams['maxComplexity'] = [maxComplexity];
+ }
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (category != null) {
- _queryParams['category'] = [category];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
- if (format != null) {
- _queryParams['format'] = [format];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -251,13 +251,23 @@
/// an OAuth token with the request.
/// Value must have pattern "^users/[^/]+$".
///
+ /// [format] - Return only assets with the matching format. Acceptable values
+ /// are:
+ /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
+ ///
/// [orderBy] - Specifies an ordering for assets. Acceptable values are:
/// `BEST`, `NEWEST`, `OLDEST`. Defaults to `BEST`, which ranks assets
/// based on a combination of popularity and other features.
///
- /// [format] - Return only assets with the matching format. Acceptable values
- /// are:
- /// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, and `TILT`.
+ /// [pageSize] - The maximum number of assets to be returned. This value must
+ /// be between `1`
+ /// and `100`. Defaults to `20`.
+ ///
+ /// [pageToken] - Specifies a continuation token from a previous search whose
+ /// results were
+ /// split into multiple pages. To get the next page, submit the same request
+ /// specifying the value from
+ /// next_page_token.
///
/// [visibility] - The visibility of the assets to be returned.
/// Defaults to
@@ -268,16 +278,6 @@
/// - "PUBLISHED" : A PUBLISHED.
/// - "PRIVATE" : A PRIVATE.
///
- /// [pageToken] - Specifies a continuation token from a previous search whose
- /// results were
- /// split into multiple pages. To get the next page, submit the same request
- /// specifying the value from
- /// next_page_token.
- ///
- /// [pageSize] - The maximum number of assets to be returned. This value must
- /// be between `1`
- /// and `100`. Defaults to `20`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -290,11 +290,11 @@
/// this method will complete with the same error.
async.Future<ListUserAssetsResponse> list(
core.String name, {
- core.String orderBy,
core.String format,
- core.String visibility,
- core.String pageToken,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String visibility,
core.String $fields,
}) {
core.String _url;
@@ -307,20 +307,20 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
- }
if (format != null) {
_queryParams['format'] = [format];
}
- if (visibility != null) {
- _queryParams['visibility'] = [visibility];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (visibility != null) {
+ _queryParams['visibility'] = [visibility];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -359,12 +359,6 @@
/// an OAuth token with the request.
/// Value must have pattern "^users/[^/]+$".
///
- /// [pageToken] - Specifies a continuation token from a previous search whose
- /// results were
- /// split into multiple pages. To get the next page, submit the same request
- /// specifying the value from
- /// next_page_token.
- ///
/// [format] - Return only assets with the matching format. Acceptable values
/// are:
/// `BLOCKS`, `FBX`, `GLTF`, `GLTF2`, `OBJ`, `TILT`.
@@ -377,6 +371,12 @@
/// be between `1`
/// and `100`. Defaults to `20`.
///
+ /// [pageToken] - Specifies a continuation token from a previous search whose
+ /// results were
+ /// split into multiple pages. To get the next page, submit the same request
+ /// specifying the value from
+ /// next_page_token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -389,10 +389,10 @@
/// this method will complete with the same error.
async.Future<ListLikedAssetsResponse> list(
core.String name, {
- core.String pageToken,
core.String format,
core.String orderBy,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -405,9 +405,6 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (format != null) {
_queryParams['format'] = [format];
}
@@ -417,6 +414,9 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart
index 8e2f9a4..d558b75 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -332,12 +332,12 @@
/// Format is `projects/{project-id}`.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [pageSize] - Maximum number of snapshots to return.
+ ///
/// [pageToken] - The value returned by the last `ListSnapshotsResponse`;
/// indicates that this is a continuation of a prior `ListSnapshots` call, and
/// that the system should return the next page of data.
///
- /// [pageSize] - Maximum number of snapshots to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -350,8 +350,8 @@
/// this method will complete with the same error.
async.Future<ListSnapshotsResponse> list(
core.String project, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -364,12 +364,12 @@
if (project == null) {
throw core.ArgumentError('Parameter project is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2076,13 +2076,13 @@
/// to. Format is `projects/{project}/topics/{topic}`.
/// Value must have pattern "^projects/[^/]+/topics/[^/]+$".
///
+ /// [pageSize] - Maximum number of subscription names to return.
+ ///
/// [pageToken] - The value returned by the last
/// `ListTopicSubscriptionsResponse`; indicates that this is a continuation of
/// a prior `ListTopicSubscriptions` call, and that the system should return
/// the next page of data.
///
- /// [pageSize] - Maximum number of subscription names to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2095,8 +2095,8 @@
/// this method will complete with the same error.
async.Future<ListTopicSubscriptionsResponse> list(
core.String topic, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2109,12 +2109,12 @@
if (topic == null) {
throw core.ArgumentError('Parameter topic is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/recommender/v1.dart b/generated/googleapis/lib/recommender/v1.dart
index 49f318a..a9fa408 100644
--- a/generated/googleapis/lib/recommender/v1.dart
+++ b/generated/googleapis/lib/recommender/v1.dart
@@ -369,15 +369,15 @@
/// Supported filter fields: state_info.state Eg:
/// `state_info.state:"DISMISSED" or state_info.state:"FAILED"
///
+ /// [pageSize] - Optional. The maximum number of results to return from this
+ /// request. Non-positive values are ignored. If not specified, the server
+ /// will determine the number of results to return.
+ ///
/// [pageToken] - Optional. If present, retrieves the next batch of results
/// from the preceding call to this method. `page_token` must be the value of
/// `next_page_token` from the previous response. The values of other method
/// parameters must 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. If not specified, the server
- /// will determine the number of results to return.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -391,8 +391,8 @@
async.Future<GoogleCloudRecommenderV1ListRecommendationsResponse> list(
core.String parent, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -408,12 +408,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/redis/v1.dart b/generated/googleapis/lib/redis/v1.dart
index dc923ee..8df3caa 100644
--- a/generated/googleapis/lib/redis/v1.dart
+++ b/generated/googleapis/lib/redis/v1.dart
@@ -122,11 +122,11 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -140,9 +140,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -155,14 +155,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -944,12 +944,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -962,9 +962,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -977,15 +977,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/remotebuildexecution/v2.dart b/generated/googleapis/lib/remotebuildexecution/v2.dart
index 1b784ef..f2f386a 100644
--- a/generated/googleapis/lib/remotebuildexecution/v2.dart
+++ b/generated/googleapis/lib/remotebuildexecution/v2.dart
@@ -77,15 +77,15 @@
///
/// [sizeBytes] - The size of the blob, in bytes.
///
- /// [inlineStdout] - A hint to the server to request inlining stdout in the
- /// ActionResult message.
+ /// [inlineOutputFiles] - A hint to the server to inline the contents of the
+ /// listed output files. Each path needs to exactly match one path in
+ /// `output_files` in the Command message.
///
/// [inlineStderr] - A hint to the server to request inlining stderr in the
/// ActionResult message.
///
- /// [inlineOutputFiles] - A hint to the server to inline the contents of the
- /// listed output files. Each path needs to exactly match one path in
- /// `output_files` in the Command message.
+ /// [inlineStdout] - A hint to the server to request inlining stdout in the
+ /// ActionResult message.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -101,9 +101,9 @@
core.String instanceName,
core.String hash,
core.String sizeBytes, {
- core.bool inlineStdout,
- core.bool inlineStderr,
core.List<core.String> inlineOutputFiles,
+ core.bool inlineStderr,
+ core.bool inlineStdout,
core.String $fields,
}) {
core.String _url;
@@ -122,14 +122,14 @@
if (sizeBytes == null) {
throw core.ArgumentError('Parameter sizeBytes is required.');
}
- if (inlineStdout != null) {
- _queryParams['inlineStdout'] = ['${inlineStdout}'];
+ if (inlineOutputFiles != null) {
+ _queryParams['inlineOutputFiles'] = inlineOutputFiles;
}
if (inlineStderr != null) {
_queryParams['inlineStderr'] = ['${inlineStderr}'];
}
- if (inlineOutputFiles != null) {
- _queryParams['inlineOutputFiles'] = inlineOutputFiles;
+ if (inlineStdout != null) {
+ _queryParams['inlineStdout'] = ['${inlineStdout}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -604,16 +604,16 @@
///
/// [sizeBytes] - The size of the blob, in bytes.
///
- /// [pageToken] - A page token, which must be a value received in a previous
- /// GetTreeResponse. If present, the server will use that token as an offset,
- /// returning only that page and the ones that succeed it.
- ///
/// [pageSize] - A maximum page size to request. If present, the server will
/// request no more than this many items. Regardless of whether a page size is
/// specified, the server may place its own limit on the number of items to be
/// returned and require the client to retrieve more items using a subsequent
/// request.
///
+ /// [pageToken] - A page token, which must be a value received in a previous
+ /// GetTreeResponse. If present, the server will use that token as an offset,
+ /// returning only that page and the ones that succeed it.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -628,8 +628,8 @@
core.String instanceName,
core.String hash,
core.String sizeBytes, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -648,12 +648,12 @@
if (sizeBytes == null) {
throw core.ArgumentError('Parameter sizeBytes is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/reseller/v1.dart b/generated/googleapis/lib/reseller/v1.dart
index d685784..6d1b9c2 100644
--- a/generated/googleapis/lib/reseller/v1.dart
+++ b/generated/googleapis/lib/reseller/v1.dart
@@ -937,20 +937,6 @@
///
/// Request parameters:
///
- /// [maxResults] - When retrieving a large list, the maxResults is the maximum
- /// number of results per page. The nextPageToken value takes you to the next
- /// page. The default is 20.
- /// Value must be between "1" and "100".
- ///
- /// [customerNamePrefix] - When retrieving all of your subscriptions and
- /// filtering for specific customers, you can enter a prefix for a customer
- /// name. Using an example customer group that includes exam.com,
- /// example20.com and example.com:
- /// - exa -- Returns all customer names that start with 'exa' which could
- /// include exam.com, example20.com, and example.com. A name prefix is similar
- /// to using a regular expression's asterisk, exa*.
- /// - example -- Returns example20.com and example.com.
- ///
/// [customerAuthToken] - The customerAuthToken query string is required when
/// creating a resold account that transfers a direct customer's subscription
/// or transfers another reseller customer's subscription to your reseller
@@ -963,6 +949,20 @@
/// customerId as a key for persistent data. If the domain name for a
/// customerId is changed, the Google system automatically updates.
///
+ /// [customerNamePrefix] - When retrieving all of your subscriptions and
+ /// filtering for specific customers, you can enter a prefix for a customer
+ /// name. Using an example customer group that includes exam.com,
+ /// example20.com and example.com:
+ /// - exa -- Returns all customer names that start with 'exa' which could
+ /// include exam.com, example20.com, and example.com. A name prefix is similar
+ /// to using a regular expression's asterisk, exa*.
+ /// - example -- Returns example20.com and example.com.
+ ///
+ /// [maxResults] - When retrieving a large list, the maxResults is the maximum
+ /// number of results per page. The nextPageToken value takes you to the next
+ /// page. The default is 20.
+ /// Value must be between "1" and "100".
+ ///
/// [pageToken] - Token to specify next page in the list
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -976,10 +976,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<Subscriptions> list({
- core.int maxResults,
- core.String customerNamePrefix,
core.String customerAuthToken,
core.String customerId,
+ core.String customerNamePrefix,
+ core.int maxResults,
core.String pageToken,
core.String $fields,
}) {
@@ -990,18 +990,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (customerNamePrefix != null) {
- _queryParams['customerNamePrefix'] = [customerNamePrefix];
- }
if (customerAuthToken != null) {
_queryParams['customerAuthToken'] = [customerAuthToken];
}
if (customerId != null) {
_queryParams['customerId'] = [customerId];
}
+ if (customerNamePrefix != null) {
+ _queryParams['customerNamePrefix'] = [customerNamePrefix];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/run/v1.dart b/generated/googleapis/lib/run/v1.dart
index 197b893..5e01eb1 100644
--- a/generated/googleapis/lib/run/v1.dart
+++ b/generated/googleapis/lib/run/v1.dart
@@ -81,10 +81,10 @@
/// `projects/myproject`.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [pageSize] - Maximum results to return per page.
///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -97,8 +97,8 @@
/// this method will complete with the same error.
async.Future<ListAuthorizedDomainsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -111,12 +111,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -205,25 +205,25 @@
/// or number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
- /// [resourceVersion] - The baseline resource version from which the list or
- /// watch operation should start. Not currently used by Cloud Run.
+ /// [continue_] - Optional encoded string to continue paging.
///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
+ /// [includeUninitialized] - Not currently used by Cloud Run.
+ ///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
/// [limit] - The maximum number of records that should be returned.
///
+ /// [resourceVersion] - The baseline resource version from which the list or
+ /// watch operation should start. Not currently used by Cloud Run.
+ ///
/// [watch] - Flag that indicates that the client expects to watch this
/// resource as well. Not currently used by Cloud Run.
///
- /// [continue_] - Optional encoded string to continue paging.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -236,13 +236,13 @@
/// this method will complete with the same error.
async.Future<ListConfigurationsResponse> list(
core.String parent, {
+ core.String continue_,
+ core.String fieldSelector,
core.bool includeUninitialized,
core.String labelSelector,
- core.String resourceVersion,
- core.String fieldSelector,
core.int limit,
+ core.String resourceVersion,
core.bool watch,
- core.String continue_,
core.String $fields,
}) {
core.String _url;
@@ -255,27 +255,27 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (continue_ != null) {
+ _queryParams['continue'] = [continue_];
+ }
+ if (fieldSelector != null) {
+ _queryParams['fieldSelector'] = [fieldSelector];
+ }
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
if (labelSelector != null) {
_queryParams['labelSelector'] = [labelSelector];
}
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
- }
- if (fieldSelector != null) {
- _queryParams['fieldSelector'] = [fieldSelector];
- }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
+ }
if (watch != null) {
_queryParams['watch'] = ['${watch}'];
}
- if (continue_ != null) {
- _queryParams['continue'] = [continue_];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -370,10 +370,10 @@
/// managed), replace {namespace_id} with the project ID or number.
/// Value must have pattern "^namespaces/[^/]+/domainmappings/[^/]+$".
///
- /// [kind] - Cloud Run currently ignores this parameter.
- ///
/// [apiVersion] - Cloud Run currently ignores this parameter.
///
+ /// [kind] - Cloud Run currently ignores this parameter.
+ ///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
/// Run currently ignores this setting, and deletes in the background. Please
/// see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
@@ -391,8 +391,8 @@
/// this method will complete with the same error.
async.Future<Status> delete(
core.String name, {
- core.String kind,
core.String apiVersion,
+ core.String kind,
core.String propagationPolicy,
core.String $fields,
}) {
@@ -406,12 +406,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (kind != null) {
- _queryParams['kind'] = [kind];
- }
if (apiVersion != null) {
_queryParams['apiVersion'] = [apiVersion];
}
+ if (kind != null) {
+ _queryParams['kind'] = [kind];
+ }
if (propagationPolicy != null) {
_queryParams['propagationPolicy'] = [propagationPolicy];
}
@@ -494,7 +494,7 @@
/// or number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [limit] - The maximum number of records that should be returned.
+ /// [continue_] - Optional encoded string to continue paging.
///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
@@ -502,7 +502,10 @@
///
/// [includeUninitialized] - Not currently used by Cloud Run.
///
- /// [continue_] - Optional encoded string to continue paging.
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
+ /// [limit] - The maximum number of records that should be returned.
///
/// [resourceVersion] - The baseline resource version from which the list or
/// watch operation should start. Not currently used by Cloud Run.
@@ -510,9 +513,6 @@
/// [watch] - Flag that indicates that the client expects to watch this
/// resource as well. Not currently used by Cloud Run.
///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -525,13 +525,13 @@
/// this method will complete with the same error.
async.Future<ListDomainMappingsResponse> list(
core.String parent, {
- core.int limit,
+ core.String continue_,
core.String fieldSelector,
core.bool includeUninitialized,
- core.String continue_,
+ core.String labelSelector,
+ core.int limit,
core.String resourceVersion,
core.bool watch,
- core.String labelSelector,
core.String $fields,
}) {
core.String _url;
@@ -544,8 +544,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (limit != null) {
- _queryParams['limit'] = ['${limit}'];
+ if (continue_ != null) {
+ _queryParams['continue'] = [continue_];
}
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
@@ -553,8 +553,11 @@
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
- if (continue_ != null) {
- _queryParams['continue'] = [continue_];
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
+ if (limit != null) {
+ _queryParams['limit'] = ['${limit}'];
}
if (resourceVersion != null) {
_queryParams['resourceVersion'] = [resourceVersion];
@@ -562,9 +565,6 @@
if (watch != null) {
_queryParams['watch'] = ['${watch}'];
}
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -724,24 +724,24 @@
/// number.
/// Value must have pattern "^namespaces/[^/]+$".
///
- /// [resourceVersion] - The baseline resource version from which the list or
- /// watch operation should start. Not currently used by Cloud Run.
- ///
- /// [includeUninitialized] - Not currently used by Cloud Run.
+ /// [continue_] - Optional encoded string to continue paging.
///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
- /// [limit] - The maximum number of records that should be returned.
- ///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
+ /// [includeUninitialized] - Not currently used by Cloud Run.
///
/// [labelSelector] - Allows to filter resources based on a label. Supported
/// operations are =, !=, exists, in, and notIn.
///
- /// [continue_] - Optional encoded string to continue paging.
+ /// [limit] - The maximum number of records that should be returned.
+ ///
+ /// [resourceVersion] - The baseline resource version from which the list or
+ /// watch operation should start. Not currently used by Cloud Run.
+ ///
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -755,13 +755,13 @@
/// this method will complete with the same error.
async.Future<ListRevisionsResponse> list(
core.String parent, {
- core.String resourceVersion,
- core.bool includeUninitialized,
- core.String fieldSelector,
- core.int limit,
- core.bool watch,
- core.String labelSelector,
core.String continue_,
+ core.String fieldSelector,
+ core.bool includeUninitialized,
+ core.String labelSelector,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -774,26 +774,26 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
- }
- if (includeUninitialized != null) {
- _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
+ if (continue_ != null) {
+ _queryParams['continue'] = [continue_];
}
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
}
- if (limit != null) {
- _queryParams['limit'] = ['${limit}'];
- }
- if (watch != null) {
- _queryParams['watch'] = ['${watch}'];
+ if (includeUninitialized != null) {
+ _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
if (labelSelector != null) {
_queryParams['labelSelector'] = [labelSelector];
}
- if (continue_ != null) {
- _queryParams['continue'] = [continue_];
+ if (limit != null) {
+ _queryParams['limit'] = ['${limit}'];
+ }
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
+ }
+ if (watch != null) {
+ _queryParams['watch'] = ['${watch}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -883,6 +883,15 @@
///
/// [continue_] - Optional encoded string to continue paging.
///
+ /// [fieldSelector] - Allows to filter resources based on a specific value for
+ /// a field name. Send this in a query string format. i.e.
+ /// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
+ ///
+ /// [includeUninitialized] - Not currently used by Cloud Run.
+ ///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
/// [limit] - The maximum number of records that should be returned.
///
/// [resourceVersion] - The baseline resource version from which the list or
@@ -891,15 +900,6 @@
/// [watch] - Flag that indicates that the client expects to watch this
/// resource as well. Not currently used by Cloud Run.
///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [fieldSelector] - Allows to filter resources based on a specific value for
- /// a field name. Send this in a query string format. i.e.
- /// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -913,12 +913,12 @@
async.Future<ListRoutesResponse> list(
core.String parent, {
core.String continue_,
+ core.String fieldSelector,
+ core.bool includeUninitialized,
+ core.String labelSelector,
core.int limit,
core.String resourceVersion,
core.bool watch,
- core.String labelSelector,
- core.bool includeUninitialized,
- core.String fieldSelector,
core.String $fields,
}) {
core.String _url;
@@ -934,6 +934,15 @@
if (continue_ != null) {
_queryParams['continue'] = [continue_];
}
+ if (fieldSelector != null) {
+ _queryParams['fieldSelector'] = [fieldSelector];
+ }
+ if (includeUninitialized != null) {
+ _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
+ }
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
@@ -943,15 +952,6 @@
if (watch != null) {
_queryParams['watch'] = ['${watch}'];
}
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
- }
- if (includeUninitialized != null) {
- _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
- }
- if (fieldSelector != null) {
- _queryParams['fieldSelector'] = [fieldSelector];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1048,13 +1048,13 @@
///
/// [apiVersion] - Cloud Run currently ignores this parameter.
///
+ /// [kind] - Cloud Run currently ignores this parameter.
+ ///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
/// Run currently ignores this setting, and deletes in the background. Please
/// see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
/// for more information.
///
- /// [kind] - Cloud Run currently ignores this parameter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1068,8 +1068,8 @@
async.Future<Status> delete(
core.String name, {
core.String apiVersion,
- core.String propagationPolicy,
core.String kind,
+ core.String propagationPolicy,
core.String $fields,
}) {
core.String _url;
@@ -1085,12 +1085,12 @@
if (apiVersion != null) {
_queryParams['apiVersion'] = [apiVersion];
}
- if (propagationPolicy != null) {
- _queryParams['propagationPolicy'] = [propagationPolicy];
- }
if (kind != null) {
_queryParams['kind'] = [kind];
}
+ if (propagationPolicy != null) {
+ _queryParams['propagationPolicy'] = [propagationPolicy];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1176,19 +1176,19 @@
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
- ///
- /// [resourceVersion] - The baseline resource version from which the list or
- /// watch operation should start. Not currently used by Cloud Run.
- ///
- /// [limit] - The maximum number of records that should be returned.
- ///
/// [includeUninitialized] - Not currently used by Cloud Run.
///
/// [labelSelector] - Allows to filter resources based on a label. Supported
/// operations are =, !=, exists, in, and notIn.
///
+ /// [limit] - The maximum number of records that should be returned.
+ ///
+ /// [resourceVersion] - The baseline resource version from which the list or
+ /// watch operation should start. Not currently used by Cloud Run.
+ ///
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1203,11 +1203,11 @@
core.String parent, {
core.String continue_,
core.String fieldSelector,
- core.bool watch,
- core.String resourceVersion,
- core.int limit,
core.bool includeUninitialized,
core.String labelSelector,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -1226,21 +1226,21 @@
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
}
- if (watch != null) {
- _queryParams['watch'] = ['${watch}'];
- }
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
- }
- if (limit != null) {
- _queryParams['limit'] = ['${limit}'];
- }
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
if (labelSelector != null) {
_queryParams['labelSelector'] = [labelSelector];
}
+ if (limit != null) {
+ _queryParams['limit'] = ['${limit}'];
+ }
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
+ }
+ if (watch != null) {
+ _queryParams['watch'] = ['${watch}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1431,10 +1431,10 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -1449,8 +1449,8 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -1464,12 +1464,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -1507,10 +1507,10 @@
/// `projects/myproject`.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Continuation token for fetching the next page of results.
- ///
/// [pageSize] - Maximum results to return per page.
///
+ /// [pageToken] - Continuation token for fetching the next page of results.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1523,8 +1523,8 @@
/// this method will complete with the same error.
async.Future<ListAuthorizedDomainsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1537,12 +1537,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1631,25 +1631,25 @@
/// or number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
- /// [resourceVersion] - The baseline resource version from which the list or
- /// watch operation should start. Not currently used by Cloud Run.
- ///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [limit] - The maximum number of records that should be returned.
- ///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
- ///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
+ /// [includeUninitialized] - Not currently used by Cloud Run.
+ ///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
+ /// [limit] - The maximum number of records that should be returned.
+ ///
+ /// [resourceVersion] - The baseline resource version from which the list or
+ /// watch operation should start. Not currently used by Cloud Run.
+ ///
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1662,13 +1662,13 @@
/// this method will complete with the same error.
async.Future<ListConfigurationsResponse> list(
core.String parent, {
- core.String labelSelector,
- core.String resourceVersion,
core.String continue_,
- core.bool includeUninitialized,
- core.int limit,
- core.bool watch,
core.String fieldSelector,
+ core.bool includeUninitialized,
+ core.String labelSelector,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -1681,27 +1681,27 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
- }
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
- }
if (continue_ != null) {
_queryParams['continue'] = [continue_];
}
+ if (fieldSelector != null) {
+ _queryParams['fieldSelector'] = [fieldSelector];
+ }
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
+ }
if (watch != null) {
_queryParams['watch'] = ['${watch}'];
}
- if (fieldSelector != null) {
- _queryParams['fieldSelector'] = [fieldSelector];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1797,10 +1797,10 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/domainmappings/[^/]+$".
///
- /// [kind] - Cloud Run currently ignores this parameter.
- ///
/// [apiVersion] - Cloud Run currently ignores this parameter.
///
+ /// [kind] - Cloud Run currently ignores this parameter.
+ ///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
/// Run currently ignores this setting, and deletes in the background. Please
/// see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
@@ -1818,8 +1818,8 @@
/// this method will complete with the same error.
async.Future<Status> delete(
core.String name, {
- core.String kind,
core.String apiVersion,
+ core.String kind,
core.String propagationPolicy,
core.String $fields,
}) {
@@ -1833,12 +1833,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (kind != null) {
- _queryParams['kind'] = [kind];
- }
if (apiVersion != null) {
_queryParams['apiVersion'] = [apiVersion];
}
+ if (kind != null) {
+ _queryParams['kind'] = [kind];
+ }
if (propagationPolicy != null) {
_queryParams['propagationPolicy'] = [propagationPolicy];
}
@@ -1920,25 +1920,25 @@
/// or number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [resourceVersion] - The baseline resource version from which the list or
- /// watch operation should start. Not currently used by Cloud Run.
- ///
- /// [limit] - The maximum number of records that should be returned.
- ///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
- ///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
+ /// [includeUninitialized] - Not currently used by Cloud Run.
+ ///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
+ /// [limit] - The maximum number of records that should be returned.
+ ///
+ /// [resourceVersion] - The baseline resource version from which the list or
+ /// watch operation should start. Not currently used by Cloud Run.
+ ///
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1951,13 +1951,13 @@
/// this method will complete with the same error.
async.Future<ListDomainMappingsResponse> list(
core.String parent, {
- core.String resourceVersion,
- core.int limit,
- core.String labelSelector,
core.String continue_,
- core.bool includeUninitialized,
- core.bool watch,
core.String fieldSelector,
+ core.bool includeUninitialized,
+ core.String labelSelector,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -1970,27 +1970,27 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
- }
- if (limit != null) {
- _queryParams['limit'] = ['${limit}'];
- }
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
- }
if (continue_ != null) {
_queryParams['continue'] = [continue_];
}
+ if (fieldSelector != null) {
+ _queryParams['fieldSelector'] = [fieldSelector];
+ }
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
+ if (limit != null) {
+ _queryParams['limit'] = ['${limit}'];
+ }
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
+ }
if (watch != null) {
_queryParams['watch'] = ['${watch}'];
}
- if (fieldSelector != null) {
- _queryParams['fieldSelector'] = [fieldSelector];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2027,6 +2027,8 @@
/// Value must have pattern
/// "^projects/[^/]+/locations/[^/]+/revisions/[^/]+$".
///
+ /// [apiVersion] - Cloud Run currently ignores this parameter.
+ ///
/// [kind] - Cloud Run currently ignores this parameter.
///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
@@ -2034,8 +2036,6 @@
/// see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
/// for more information.
///
- /// [apiVersion] - Cloud Run currently ignores this parameter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2048,9 +2048,9 @@
/// this method will complete with the same error.
async.Future<Status> delete(
core.String name, {
+ core.String apiVersion,
core.String kind,
core.String propagationPolicy,
- core.String apiVersion,
core.String $fields,
}) {
core.String _url;
@@ -2063,15 +2063,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (apiVersion != null) {
+ _queryParams['apiVersion'] = [apiVersion];
+ }
if (kind != null) {
_queryParams['kind'] = [kind];
}
if (propagationPolicy != null) {
_queryParams['propagationPolicy'] = [propagationPolicy];
}
- if (apiVersion != null) {
- _queryParams['apiVersion'] = [apiVersion];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2150,24 +2150,24 @@
/// number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
+ /// [continue_] - Optional encoded string to continue paging.
+ ///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
/// [includeUninitialized] - Not currently used by Cloud Run.
///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
+ /// [limit] - The maximum number of records that should be returned.
///
/// [resourceVersion] - The baseline resource version from which the list or
/// watch operation should start. Not currently used by Cloud Run.
///
- /// [limit] - The maximum number of records that should be returned.
- ///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
- /// [continue_] - Optional encoded string to continue paging.
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2181,13 +2181,13 @@
/// this method will complete with the same error.
async.Future<ListRevisionsResponse> list(
core.String parent, {
+ core.String continue_,
core.String fieldSelector,
core.bool includeUninitialized,
- core.bool watch,
- core.String resourceVersion,
- core.int limit,
core.String labelSelector,
- core.String continue_,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -2200,26 +2200,26 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (continue_ != null) {
+ _queryParams['continue'] = [continue_];
+ }
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
}
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
- if (watch != null) {
- _queryParams['watch'] = ['${watch}'];
- }
- if (resourceVersion != null) {
- _queryParams['resourceVersion'] = [resourceVersion];
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
}
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
+ if (resourceVersion != null) {
+ _queryParams['resourceVersion'] = [resourceVersion];
}
- if (continue_ != null) {
- _queryParams['continue'] = [continue_];
+ if (watch != null) {
+ _queryParams['watch'] = ['${watch}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -2305,25 +2305,25 @@
/// Run (fully managed), replace {namespace_id} with the project ID or number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [limit] - The maximum number of records that should be returned.
- ///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
- ///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
- ///
/// [includeUninitialized] - Not currently used by Cloud Run.
///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
+ /// [limit] - The maximum number of records that should be returned.
+ ///
/// [resourceVersion] - The baseline resource version from which the list or
/// watch operation should start. Not currently used by Cloud Run.
///
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2336,13 +2336,13 @@
/// this method will complete with the same error.
async.Future<ListRoutesResponse> list(
core.String parent, {
- core.int limit,
core.String continue_,
- core.String labelSelector,
core.String fieldSelector,
- core.bool watch,
core.bool includeUninitialized,
+ core.String labelSelector,
+ core.int limit,
core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -2355,27 +2355,27 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (limit != null) {
- _queryParams['limit'] = ['${limit}'];
- }
if (continue_ != null) {
_queryParams['continue'] = [continue_];
}
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
- }
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
}
- if (watch != null) {
- _queryParams['watch'] = ['${watch}'];
- }
if (includeUninitialized != null) {
_queryParams['includeUninitialized'] = ['${includeUninitialized}'];
}
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
+ if (limit != null) {
+ _queryParams['limit'] = ['${limit}'];
+ }
if (resourceVersion != null) {
_queryParams['resourceVersion'] = [resourceVersion];
}
+ if (watch != null) {
+ _queryParams['watch'] = ['${watch}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2467,15 +2467,15 @@
/// replace {namespace_id} with the project ID or number.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+/services/[^/]+$".
///
+ /// [apiVersion] - Cloud Run currently ignores this parameter.
+ ///
+ /// [kind] - Cloud Run currently ignores this parameter.
+ ///
/// [propagationPolicy] - Specifies the propagation policy of delete. Cloud
/// Run currently ignores this setting, and deletes in the background. Please
/// see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
/// for more information.
///
- /// [apiVersion] - Cloud Run currently ignores this parameter.
- ///
- /// [kind] - Cloud Run currently ignores this parameter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2488,9 +2488,9 @@
/// this method will complete with the same error.
async.Future<Status> delete(
core.String name, {
- core.String propagationPolicy,
core.String apiVersion,
core.String kind,
+ core.String propagationPolicy,
core.String $fields,
}) {
core.String _url;
@@ -2503,15 +2503,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (propagationPolicy != null) {
- _queryParams['propagationPolicy'] = [propagationPolicy];
- }
if (apiVersion != null) {
_queryParams['apiVersion'] = [apiVersion];
}
if (kind != null) {
_queryParams['kind'] = [kind];
}
+ if (propagationPolicy != null) {
+ _queryParams['propagationPolicy'] = [propagationPolicy];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2659,22 +2659,22 @@
///
/// [continue_] - Optional encoded string to continue paging.
///
- /// [watch] - Flag that indicates that the client expects to watch this
- /// resource as well. Not currently used by Cloud Run.
- ///
/// [fieldSelector] - Allows to filter resources based on a specific value for
/// a field name. Send this in a query string format. i.e.
/// 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
///
+ /// [includeUninitialized] - Not currently used by Cloud Run.
+ ///
+ /// [labelSelector] - Allows to filter resources based on a label. Supported
+ /// operations are =, !=, exists, in, and notIn.
+ ///
/// [limit] - The maximum number of records that should be returned.
///
/// [resourceVersion] - The baseline resource version from which the list or
/// watch operation should start. Not currently used by Cloud Run.
///
- /// [includeUninitialized] - Not currently used by Cloud Run.
- ///
- /// [labelSelector] - Allows to filter resources based on a label. Supported
- /// operations are =, !=, exists, in, and notIn.
+ /// [watch] - Flag that indicates that the client expects to watch this
+ /// resource as well. Not currently used by Cloud Run.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2689,12 +2689,12 @@
async.Future<ListServicesResponse> list(
core.String parent, {
core.String continue_,
- core.bool watch,
core.String fieldSelector,
- core.int limit,
- core.String resourceVersion,
core.bool includeUninitialized,
core.String labelSelector,
+ core.int limit,
+ core.String resourceVersion,
+ core.bool watch,
core.String $fields,
}) {
core.String _url;
@@ -2710,23 +2710,23 @@
if (continue_ != null) {
_queryParams['continue'] = [continue_];
}
- if (watch != null) {
- _queryParams['watch'] = ['${watch}'];
- }
if (fieldSelector != null) {
_queryParams['fieldSelector'] = [fieldSelector];
}
+ if (includeUninitialized != null) {
+ _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
+ }
+ if (labelSelector != null) {
+ _queryParams['labelSelector'] = [labelSelector];
+ }
if (limit != null) {
_queryParams['limit'] = ['${limit}'];
}
if (resourceVersion != null) {
_queryParams['resourceVersion'] = [resourceVersion];
}
- if (includeUninitialized != null) {
- _queryParams['includeUninitialized'] = ['${includeUninitialized}'];
- }
- if (labelSelector != null) {
- _queryParams['labelSelector'] = [labelSelector];
+ if (watch != null) {
+ _queryParams['watch'] = ['${watch}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/runtimeconfig/v1.dart b/generated/googleapis/lib/runtimeconfig/v1.dart
index ad3e38f..119e99f 100644
--- a/generated/googleapis/lib/runtimeconfig/v1.dart
+++ b/generated/googleapis/lib/runtimeconfig/v1.dart
@@ -188,11 +188,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -206,9 +206,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -221,14 +221,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/safebrowsing/v4.dart b/generated/googleapis/lib/safebrowsing/v4.dart
index 206bff3..d4dae73 100644
--- a/generated/googleapis/lib/safebrowsing/v4.dart
+++ b/generated/googleapis/lib/safebrowsing/v4.dart
@@ -66,11 +66,11 @@
///
/// [encodedRequest] - A serialized FindFullHashesRequest proto.
///
- /// [clientVersion] - The version of the client implementation.
- ///
/// [clientId] - A client ID that (hopefully) uniquely identifies the client
/// implementation of the Safe Browsing API.
///
+ /// [clientVersion] - The version of the client implementation.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -83,8 +83,8 @@
/// this method will complete with the same error.
async.Future<FindFullHashesResponse> get(
core.String encodedRequest, {
- core.String clientVersion,
core.String clientId,
+ core.String clientVersion,
core.String $fields,
}) {
core.String _url;
@@ -97,12 +97,12 @@
if (encodedRequest == null) {
throw core.ArgumentError('Parameter encodedRequest is required.');
}
- if (clientVersion != null) {
- _queryParams['clientVersion'] = [clientVersion];
- }
if (clientId != null) {
_queryParams['clientId'] = [clientId];
}
+ if (clientVersion != null) {
+ _queryParams['clientVersion'] = [clientVersion];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/script/v1.dart b/generated/googleapis/lib/script/v1.dart
index 157b7e3..38142ca 100644
--- a/generated/googleapis/lib/script/v1.dart
+++ b/generated/googleapis/lib/script/v1.dart
@@ -121,14 +121,19 @@
///
/// Request parameters:
///
- /// [userProcessFilter_types] - Optional field used to limit returned
- /// processes to those having one of the specified process types.
- ///
/// [pageSize] - The maximum number of returned processes per page of results.
/// Defaults to 50.
///
- /// [userProcessFilter_startTime] - Optional field used to limit returned
- /// processes to those that were started on or after the given timestamp.
+ /// [pageToken] - The token for continuing a previous list request on the next
+ /// page. This should be set to the value of `nextPageToken` from a previous
+ /// response.
+ ///
+ /// [userProcessFilter_deploymentId] - Optional field used to limit returned
+ /// processes to those originating from projects with a specific deployment
+ /// ID.
+ ///
+ /// [userProcessFilter_endTime] - Optional field used to limit returned
+ /// processes to those that completed on or before the given timestamp.
///
/// [userProcessFilter_functionName] - Optional field used to limit returned
/// processes to those originating from a script function with the given
@@ -138,27 +143,22 @@
/// processes to those originating from projects with project names containing
/// a specific string.
///
- /// [userProcessFilter_endTime] - Optional field used to limit returned
- /// processes to those that completed on or before the given timestamp.
+ /// [userProcessFilter_scriptId] - Optional field used to limit returned
+ /// processes to those originating from projects with a specific script ID.
+ ///
+ /// [userProcessFilter_startTime] - Optional field used to limit returned
+ /// processes to those that were started on or after the given timestamp.
///
/// [userProcessFilter_statuses] - Optional field used to limit returned
/// processes to those having one of the specified process statuses.
///
- /// [userProcessFilter_scriptId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific script ID.
- ///
- /// [pageToken] - The token for continuing a previous list request on the next
- /// page. This should be set to the value of `nextPageToken` from a previous
- /// response.
+ /// [userProcessFilter_types] - Optional field used to limit returned
+ /// processes to those having one of the specified process types.
///
/// [userProcessFilter_userAccessLevels] - Optional field used to limit
/// returned processes to those having one of the specified user access
/// levels.
///
- /// [userProcessFilter_deploymentId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific deployment
- /// ID.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -170,17 +170,17 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListUserProcessesResponse> list({
- core.List<core.String> userProcessFilter_types,
core.int pageSize,
- core.String userProcessFilter_startTime,
+ core.String pageToken,
+ core.String userProcessFilter_deploymentId,
+ core.String userProcessFilter_endTime,
core.String userProcessFilter_functionName,
core.String userProcessFilter_projectName,
- core.String userProcessFilter_endTime,
- core.List<core.String> userProcessFilter_statuses,
core.String userProcessFilter_scriptId,
- core.String pageToken,
+ core.String userProcessFilter_startTime,
+ core.List<core.String> userProcessFilter_statuses,
+ core.List<core.String> userProcessFilter_types,
core.List<core.String> userProcessFilter_userAccessLevels,
- core.String userProcessFilter_deploymentId,
core.String $fields,
}) {
core.String _url;
@@ -190,17 +190,20 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (userProcessFilter_types != null) {
- _queryParams['userProcessFilter.types'] = userProcessFilter_types;
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (userProcessFilter_startTime != null) {
- _queryParams['userProcessFilter.startTime'] = [
- userProcessFilter_startTime
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (userProcessFilter_deploymentId != null) {
+ _queryParams['userProcessFilter.deploymentId'] = [
+ userProcessFilter_deploymentId
];
}
+ if (userProcessFilter_endTime != null) {
+ _queryParams['userProcessFilter.endTime'] = [userProcessFilter_endTime];
+ }
if (userProcessFilter_functionName != null) {
_queryParams['userProcessFilter.functionName'] = [
userProcessFilter_functionName
@@ -211,27 +214,24 @@
userProcessFilter_projectName
];
}
- if (userProcessFilter_endTime != null) {
- _queryParams['userProcessFilter.endTime'] = [userProcessFilter_endTime];
+ if (userProcessFilter_scriptId != null) {
+ _queryParams['userProcessFilter.scriptId'] = [userProcessFilter_scriptId];
+ }
+ if (userProcessFilter_startTime != null) {
+ _queryParams['userProcessFilter.startTime'] = [
+ userProcessFilter_startTime
+ ];
}
if (userProcessFilter_statuses != null) {
_queryParams['userProcessFilter.statuses'] = userProcessFilter_statuses;
}
- if (userProcessFilter_scriptId != null) {
- _queryParams['userProcessFilter.scriptId'] = [userProcessFilter_scriptId];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (userProcessFilter_types != null) {
+ _queryParams['userProcessFilter.types'] = userProcessFilter_types;
}
if (userProcessFilter_userAccessLevels != null) {
_queryParams['userProcessFilter.userAccessLevels'] =
userProcessFilter_userAccessLevels;
}
- if (userProcessFilter_deploymentId != null) {
- _queryParams['userProcessFilter.deploymentId'] = [
- userProcessFilter_deploymentId
- ];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -255,14 +255,28 @@
///
/// Request parameters:
///
- /// [scriptProcessFilter_startTime] - Optional field used to limit returned
- /// processes to those that were started on or after the given timestamp.
+ /// [pageSize] - The maximum number of returned processes per page of results.
+ /// Defaults to 50.
+ ///
+ /// [pageToken] - The token for continuing a previous list request on the next
+ /// page. This should be set to the value of `nextPageToken` from a previous
+ /// response.
+ ///
+ /// [scriptId] - The script ID of the project whose processes are listed.
+ ///
+ /// [scriptProcessFilter_deploymentId] - Optional field used to limit returned
+ /// processes to those originating from projects with a specific deployment
+ /// ID.
+ ///
+ /// [scriptProcessFilter_endTime] - Optional field used to limit returned
+ /// processes to those that completed on or before the given timestamp.
///
/// [scriptProcessFilter_functionName] - Optional field used to limit returned
/// processes to those originating from a script function with the given
/// function name.
///
- /// [scriptId] - The script ID of the project whose processes are listed.
+ /// [scriptProcessFilter_startTime] - Optional field used to limit returned
+ /// processes to those that were started on or after the given timestamp.
///
/// [scriptProcessFilter_statuses] - Optional field used to limit returned
/// processes to those having one of the specified process statuses.
@@ -270,24 +284,10 @@
/// [scriptProcessFilter_types] - Optional field used to limit returned
/// processes to those having one of the specified process types.
///
- /// [pageToken] - The token for continuing a previous list request on the next
- /// page. This should be set to the value of `nextPageToken` from a previous
- /// response.
- ///
- /// [scriptProcessFilter_deploymentId] - Optional field used to limit returned
- /// processes to those originating from projects with a specific deployment
- /// ID.
- ///
/// [scriptProcessFilter_userAccessLevels] - Optional field used to limit
/// returned processes to those having one of the specified user access
/// levels.
///
- /// [pageSize] - The maximum number of returned processes per page of results.
- /// Defaults to 50.
- ///
- /// [scriptProcessFilter_endTime] - Optional field used to limit returned
- /// processes to those that completed on or before the given timestamp.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -299,16 +299,16 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListScriptProcessesResponse> listScriptProcesses({
- core.String scriptProcessFilter_startTime,
- core.String scriptProcessFilter_functionName,
+ core.int pageSize,
+ core.String pageToken,
core.String scriptId,
+ core.String scriptProcessFilter_deploymentId,
+ core.String scriptProcessFilter_endTime,
+ core.String scriptProcessFilter_functionName,
+ core.String scriptProcessFilter_startTime,
core.List<core.String> scriptProcessFilter_statuses,
core.List<core.String> scriptProcessFilter_types,
- core.String pageToken,
- core.String scriptProcessFilter_deploymentId,
core.List<core.String> scriptProcessFilter_userAccessLevels,
- core.int pageSize,
- core.String scriptProcessFilter_endTime,
core.String $fields,
}) {
core.String _url;
@@ -318,9 +318,23 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (scriptProcessFilter_startTime != null) {
- _queryParams['scriptProcessFilter.startTime'] = [
- scriptProcessFilter_startTime
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (scriptId != null) {
+ _queryParams['scriptId'] = [scriptId];
+ }
+ if (scriptProcessFilter_deploymentId != null) {
+ _queryParams['scriptProcessFilter.deploymentId'] = [
+ scriptProcessFilter_deploymentId
+ ];
+ }
+ if (scriptProcessFilter_endTime != null) {
+ _queryParams['scriptProcessFilter.endTime'] = [
+ scriptProcessFilter_endTime
];
}
if (scriptProcessFilter_functionName != null) {
@@ -328,8 +342,10 @@
scriptProcessFilter_functionName
];
}
- if (scriptId != null) {
- _queryParams['scriptId'] = [scriptId];
+ if (scriptProcessFilter_startTime != null) {
+ _queryParams['scriptProcessFilter.startTime'] = [
+ scriptProcessFilter_startTime
+ ];
}
if (scriptProcessFilter_statuses != null) {
_queryParams['scriptProcessFilter.statuses'] =
@@ -338,26 +354,10 @@
if (scriptProcessFilter_types != null) {
_queryParams['scriptProcessFilter.types'] = scriptProcessFilter_types;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (scriptProcessFilter_deploymentId != null) {
- _queryParams['scriptProcessFilter.deploymentId'] = [
- scriptProcessFilter_deploymentId
- ];
- }
if (scriptProcessFilter_userAccessLevels != null) {
_queryParams['scriptProcessFilter.userAccessLevels'] =
scriptProcessFilter_userAccessLevels;
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (scriptProcessFilter_endTime != null) {
- _queryParams['scriptProcessFilter.endTime'] = [
- scriptProcessFilter_endTime
- ];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -549,6 +549,9 @@
///
/// [scriptId] - Required field indicating the script to get metrics for.
///
+ /// [metricsFilter_deploymentId] - Optional field indicating a specific
+ /// deployment to retrieve metrics from.
+ ///
/// [metricsGranularity] - Required field indicating what granularity of
/// metrics are returned.
/// Possible string values are:
@@ -557,9 +560,6 @@
/// - "WEEKLY" : Represents weekly metrics.
/// - "DAILY" : Represents daily metrics over a period of 7 days.
///
- /// [metricsFilter_deploymentId] - Optional field indicating a specific
- /// deployment to retrieve metrics from.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -572,8 +572,8 @@
/// this method will complete with the same error.
async.Future<Metrics> getMetrics(
core.String scriptId, {
- core.String metricsGranularity,
core.String metricsFilter_deploymentId,
+ core.String metricsGranularity,
core.String $fields,
}) {
core.String _url;
@@ -586,12 +586,12 @@
if (scriptId == null) {
throw core.ArgumentError('Parameter scriptId is required.');
}
- if (metricsGranularity != null) {
- _queryParams['metricsGranularity'] = [metricsGranularity];
- }
if (metricsFilter_deploymentId != null) {
_queryParams['metricsFilter.deploymentId'] = [metricsFilter_deploymentId];
}
+ if (metricsGranularity != null) {
+ _queryParams['metricsGranularity'] = [metricsGranularity];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/secretmanager/v1.dart b/generated/googleapis/lib/secretmanager/v1.dart
index 3c3bcc5..1432886 100644
--- a/generated/googleapis/lib/secretmanager/v1.dart
+++ b/generated/googleapis/lib/secretmanager/v1.dart
@@ -120,12 +120,12 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -138,9 +138,9 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -153,15 +153,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/securitycenter/v1.dart b/generated/googleapis/lib/securitycenter/v1.dart
index 1e467e7..ff4384a 100644
--- a/generated/googleapis/lib/securitycenter/v1.dart
+++ b/generated/googleapis/lib/securitycenter/v1.dart
@@ -250,22 +250,23 @@
/// format is "organizations/[organization_id]".
/// Value must have pattern "^organizations/[^/]+$".
///
- /// [orderBy] - Expression that defines what fields and order to use for
- /// sorting. The string value should follow SQL syntax: comma separated list
- /// of fields. For example: "name,resource_properties.a_property". The default
- /// sorting order is ascending. To specify descending order for a field, a
- /// suffix " desc" should be appended to the field name. For example: "name
- /// desc,resource_properties.a_property". Redundant space characters in the
- /// syntax are insignificant. "name desc,resource_properties.a_property" and "
- /// name desc , resource_properties.a_property " are equivalent. The following
- /// fields are supported: name update_time resource_properties
- /// security_marks.marks security_center_properties.resource_name
- /// security_center_properties.resource_display_name
- /// security_center_properties.resource_parent
- /// security_center_properties.resource_parent_display_name
- /// security_center_properties.resource_project
- /// security_center_properties.resource_project_display_name
- /// security_center_properties.resource_type
+ /// [compareDuration] - When compare_duration is set, the ListAssetsResult's
+ /// "state_change" attribute is updated to indicate whether the asset was
+ /// added, removed, or remained present during the compare_duration period of
+ /// time that precedes the read_time. This is the time between (read_time -
+ /// compare_duration) and read_time. The state_change value is derived based
+ /// on the presence of the asset at the two points in time. Intermediate state
+ /// changes between the two times don't affect the result. For example, the
+ /// results aren't affected if the asset is removed and re-created again.
+ /// Possible "state_change" values when compare_duration is specified: *
+ /// "ADDED": indicates that the asset was not present at the start of
+ /// compare_duration, but present at read_time. * "REMOVED": indicates that
+ /// the asset was present at the start of compare_duration, but not present at
+ /// read_time. * "ACTIVE": indicates that the asset was present at both the
+ /// start and the end of the time period defined by compare_duration and
+ /// read_time. If compare_duration is not specified, then the only possible
+ /// state_change is "UNUSED", which will be the state_change set for all
+ /// assets present at read_time.
///
/// [fieldMask] - A field mask to specify the ListAssetsResult fields to be
/// listed in the response. An empty field mask will list all fields.
@@ -304,36 +305,35 @@
/// empty string to filter based on a property not existing:
/// `-resource_properties.my_property : ""`
///
+ /// [orderBy] - Expression that defines what fields and order to use for
+ /// sorting. The string value should follow SQL syntax: comma separated list
+ /// of fields. For example: "name,resource_properties.a_property". The default
+ /// sorting order is ascending. To specify descending order for a field, a
+ /// suffix " desc" should be appended to the field name. For example: "name
+ /// desc,resource_properties.a_property". Redundant space characters in the
+ /// syntax are insignificant. "name desc,resource_properties.a_property" and "
+ /// name desc , resource_properties.a_property " are equivalent. The following
+ /// fields are supported: name update_time resource_properties
+ /// security_marks.marks security_center_properties.resource_name
+ /// security_center_properties.resource_display_name
+ /// security_center_properties.resource_parent
+ /// security_center_properties.resource_parent_display_name
+ /// security_center_properties.resource_project
+ /// security_center_properties.resource_project_display_name
+ /// security_center_properties.resource_type
+ ///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ /// Default is 10, minimum is 1, maximum is 1000.
+ ///
/// [pageToken] - The value returned by the last `ListAssetsResponse`;
/// indicates that this is a continuation of a prior `ListAssets` call, and
/// that the system should return the next page of data.
///
- /// [compareDuration] - When compare_duration is set, the ListAssetsResult's
- /// "state_change" attribute is updated to indicate whether the asset was
- /// added, removed, or remained present during the compare_duration period of
- /// time that precedes the read_time. This is the time between (read_time -
- /// compare_duration) and read_time. The state_change value is derived based
- /// on the presence of the asset at the two points in time. Intermediate state
- /// changes between the two times don't affect the result. For example, the
- /// results aren't affected if the asset is removed and re-created again.
- /// Possible "state_change" values when compare_duration is specified: *
- /// "ADDED": indicates that the asset was not present at the start of
- /// compare_duration, but present at read_time. * "REMOVED": indicates that
- /// the asset was present at the start of compare_duration, but not present at
- /// read_time. * "ACTIVE": indicates that the asset was present at both the
- /// start and the end of the time period defined by compare_duration and
- /// read_time. If compare_duration is not specified, then the only possible
- /// state_change is "UNUSED", which will be the state_change set for all
- /// assets present at read_time.
- ///
/// [readTime] - Time used as a reference point when filtering assets. The
/// filter is limited to assets existing at the supplied time and their values
/// are those at that specific time. Absence of this field will default to the
/// API's version of NOW.
///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -346,13 +346,13 @@
/// this method will complete with the same error.
async.Future<ListAssetsResponse> list(
core.String parent, {
- core.String orderBy,
+ core.String compareDuration,
core.String fieldMask,
core.String filter,
- core.String pageToken,
- core.String compareDuration,
- core.String readTime,
+ core.String orderBy,
core.int pageSize,
+ core.String pageToken,
+ core.String readTime,
core.String $fields,
}) {
core.String _url;
@@ -365,8 +365,8 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (compareDuration != null) {
+ _queryParams['compareDuration'] = [compareDuration];
}
if (fieldMask != null) {
_queryParams['fieldMask'] = [fieldMask];
@@ -374,18 +374,18 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (compareDuration != null) {
- _queryParams['compareDuration'] = [compareDuration];
- }
- if (readTime != null) {
- _queryParams['readTime'] = [readTime];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (readTime != null) {
+ _queryParams['readTime'] = [readTime];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -723,14 +723,14 @@
/// configs. Its format is "organizations/[organization_id]".
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ /// Default is 10, minimum is 1, maximum is 1000.
+ ///
/// [pageToken] - The value returned by the last
/// `ListNotificationConfigsResponse`; indicates that this is a continuation
/// of a prior `ListNotificationConfigs` call, and that the system should
/// return the next page of data.
///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -743,8 +743,8 @@
/// this method will complete with the same error.
async.Future<ListNotificationConfigsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -757,12 +757,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1276,13 +1276,13 @@
/// format should be "organizations/[organization_id]".
/// Value must have pattern "^organizations/[^/]+$".
///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ /// Default is 10, minimum is 1, maximum is 1000.
+ ///
/// [pageToken] - The value returned by the last `ListSourcesResponse`;
/// indicates that this is a continuation of a prior `ListSources` call, and
/// that the system should return the next page of data.
///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1295,8 +1295,8 @@
/// this method will complete with the same error.
async.Future<ListSourcesResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1309,12 +1309,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1663,10 +1663,6 @@
/// organizations/{organization_id}/sources/-
/// Value must have pattern "^organizations/[^/]+/sources/[^/]+$".
///
- /// [pageToken] - The value returned by the last `ListFindingsResponse`;
- /// indicates that this is a continuation of a prior `ListFindings` call, and
- /// that the system should return the next page of data.
- ///
/// [compareDuration] - When compare_duration is set, the ListFindingsResult's
/// "state_change" attribute is updated to indicate whether the finding had
/// its state changed, the finding's state remained unchanged, or if the
@@ -1690,19 +1686,8 @@
/// "UNUSED", which will be the state_change set for all findings present at
/// read_time.
///
- /// [pageSize] - The maximum number of results to return in a single response.
- /// Default is 10, minimum is 1, maximum is 1000.
- ///
- /// [orderBy] - Expression that defines what fields and order to use for
- /// sorting. The string value should follow SQL syntax: comma separated list
- /// of fields. For example: "name,resource_properties.a_property". The default
- /// sorting order is ascending. To specify descending order for a field, a
- /// suffix " desc" should be appended to the field name. For example: "name
- /// desc,source_properties.a_property". Redundant space characters in the
- /// syntax are insignificant. "name desc,source_properties.a_property" and "
- /// name desc , source_properties.a_property " are equivalent. The following
- /// fields are supported: name parent state category resource_name event_time
- /// source_properties security_marks.marks
+ /// [fieldMask] - A field mask to specify the Finding fields to be listed in
+ /// the response. An empty field mask will list all fields.
///
/// [filter] - Expression that defines the filter to apply across findings.
/// The expression is a list of one or more restrictions combined via logical
@@ -1726,14 +1711,29 @@
/// partial match on the empty string to filter based on a property not
/// existing: `-source_properties.my_property : ""`
///
+ /// [orderBy] - Expression that defines what fields and order to use for
+ /// sorting. The string value should follow SQL syntax: comma separated list
+ /// of fields. For example: "name,resource_properties.a_property". The default
+ /// sorting order is ascending. To specify descending order for a field, a
+ /// suffix " desc" should be appended to the field name. For example: "name
+ /// desc,source_properties.a_property". Redundant space characters in the
+ /// syntax are insignificant. "name desc,source_properties.a_property" and "
+ /// name desc , source_properties.a_property " are equivalent. The following
+ /// fields are supported: name parent state category resource_name event_time
+ /// source_properties security_marks.marks
+ ///
+ /// [pageSize] - The maximum number of results to return in a single response.
+ /// Default is 10, minimum is 1, maximum is 1000.
+ ///
+ /// [pageToken] - The value returned by the last `ListFindingsResponse`;
+ /// indicates that this is a continuation of a prior `ListFindings` call, and
+ /// that the system should return the next page of data.
+ ///
/// [readTime] - Time used as a reference point when filtering findings. The
/// filter is limited to findings existing at the supplied time and their
/// values are those at that specific time. Absence of this field will default
/// to the API's version of NOW.
///
- /// [fieldMask] - A field mask to specify the Finding fields to be listed in
- /// the response. An empty field mask will list all fields.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1746,13 +1746,13 @@
/// this method will complete with the same error.
async.Future<ListFindingsResponse> list(
core.String parent, {
- core.String pageToken,
core.String compareDuration,
- core.int pageSize,
- core.String orderBy,
- core.String filter,
- core.String readTime,
core.String fieldMask,
+ core.String filter,
+ core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
+ core.String readTime,
core.String $fields,
}) {
core.String _url;
@@ -1765,27 +1765,27 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (compareDuration != null) {
_queryParams['compareDuration'] = [compareDuration];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (fieldMask != null) {
+ _queryParams['fieldMask'] = [fieldMask];
}
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
+ }
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (readTime != null) {
_queryParams['readTime'] = [readTime];
}
- if (fieldMask != null) {
- _queryParams['fieldMask'] = [fieldMask];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1948,15 +1948,15 @@
/// Value must have pattern
/// "^organizations/[^/]+/sources/[^/]+/findings/[^/]+/securityMarks$".
///
+ /// [startTime] - The time at which the updated SecurityMarks take effect. If
+ /// not set uses current server time. Updates will be applied to the
+ /// SecurityMarks that are active immediately preceding this time.
+ ///
/// [updateMask] - The FieldMask to use when updating the security marks
/// resource. The field mask must not contain duplicate fields. If empty or
/// set to "marks", all marks will be replaced. Individual marks can be
/// updated using "marks.".
///
- /// [startTime] - The time at which the updated SecurityMarks take effect. If
- /// not set uses current server time. Updates will be applied to the
- /// SecurityMarks that are active immediately preceding this time.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1970,8 +1970,8 @@
async.Future<SecurityMarks> updateSecurityMarks(
SecurityMarks request,
core.String name, {
- core.String updateMask,
core.String startTime,
+ core.String updateMask,
core.String $fields,
}) {
core.String _url;
@@ -1987,12 +1987,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (updateMask != null) {
- _queryParams['updateMask'] = [updateMask];
- }
if (startTime != null) {
_queryParams['startTime'] = [startTime];
}
+ if (updateMask != null) {
+ _queryParams['updateMask'] = [updateMask];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/serviceconsumermanagement/v1.dart b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
index 7bc5772..1592ad1 100644
--- a/generated/googleapis/lib/serviceconsumermanagement/v1.dart
+++ b/generated/googleapis/lib/serviceconsumermanagement/v1.dart
@@ -234,11 +234,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -252,9 +252,9 @@
/// call, this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -267,14 +267,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/servicemanagement/v1.dart b/generated/googleapis/lib/servicemanagement/v1.dart
index 8e4b973..b87e448 100644
--- a/generated/googleapis/lib/servicemanagement/v1.dart
+++ b/generated/googleapis/lib/servicemanagement/v1.dart
@@ -121,13 +121,6 @@
///
/// Request parameters:
///
- /// [pageSize] - The maximum number of operations to return. If unspecified,
- /// defaults to 50. The maximum value is 100.
- ///
- /// [name] - Not used.
- ///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - A string for filtering Operations. The following filter fields
/// are supported: * serviceName: Required. Only `=` operator is allowed. *
/// startTime: The time this job was started, in ISO 8601 format. Allowed
@@ -142,6 +135,13 @@
/// `serviceName={some-service}.googleapis.com AND (status=done OR
/// startTime>="2017-02-01")`
///
+ /// [name] - Not used.
+ ///
+ /// [pageSize] - The maximum number of operations to return. If unspecified,
+ /// defaults to 50. The maximum value is 100.
+ ///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -153,10 +153,10 @@
/// If the used [http_1.Client] completes with an error when making a REST
/// call, this method will complete with the same error.
async.Future<ListOperationsResponse> list({
- core.int pageSize,
- core.String name,
- core.String pageToken,
core.String filter,
+ core.String name,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -166,18 +166,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (name != null) {
_queryParams['name'] = [name];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -490,6 +490,10 @@
/// [overview](/service-management/overview) for naming requirements. For
/// example: `example.googleapis.com`.
///
+ /// [configId] - Required. The id of the service configuration resource. This
+ /// field must be specified for the server to return all fields, including
+ /// `SourceInfo`.
+ ///
/// [view] - Specifies which parts of the Service Config should be returned in
/// the response.
/// Possible string values are:
@@ -499,10 +503,6 @@
/// are only available for configs created using the SubmitConfigSource
/// method.
///
- /// [configId] - Required. The id of the service configuration resource. This
- /// field must be specified for the server to return all fields, including
- /// `SourceInfo`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -515,8 +515,8 @@
/// call, this method will complete with the same error.
async.Future<Service> getConfig(
core.String serviceName, {
- core.String view,
core.String configId,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -529,12 +529,12 @@
if (serviceName == null) {
throw core.ArgumentError('Parameter serviceName is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (configId != null) {
_queryParams['configId'] = [configId];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -624,17 +624,17 @@
///
/// Request parameters:
///
- /// [pageToken] - Token identifying which result to start with; returned by a
- /// previous list call.
+ /// [consumerId] - Include services consumed by the specified consumer. The
+ /// Google Service Management implementation accepts the following forms: -
+ /// project:
///
/// [pageSize] - The max number of items to include in the response list. Page
/// size is 50 if not specified. Maximum value is 100.
///
- /// [producerProjectId] - Include services produced by the specified project.
+ /// [pageToken] - Token identifying which result to start with; returned by a
+ /// previous list call.
///
- /// [consumerId] - Include services consumed by the specified consumer. The
- /// Google Service Management implementation accepts the following forms: -
- /// project:
+ /// [producerProjectId] - Include services produced by the specified project.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -647,10 +647,10 @@
/// If the used [http_1.Client] completes with an error when making a REST
/// call, this method will complete with the same error.
async.Future<ListServicesResponse> list({
- core.String pageToken,
- core.int pageSize,
- core.String producerProjectId,
core.String consumerId,
+ core.int pageSize,
+ core.String pageToken,
+ core.String producerProjectId,
core.String $fields,
}) {
core.String _url;
@@ -660,18 +660,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (consumerId != null) {
+ _queryParams['consumerId'] = [consumerId];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (producerProjectId != null) {
_queryParams['producerProjectId'] = [producerProjectId];
}
- if (consumerId != null) {
- _queryParams['consumerId'] = [consumerId];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/servicenetworking/v1.dart b/generated/googleapis/lib/servicenetworking/v1.dart
index f40e809..6665012 100644
--- a/generated/googleapis/lib/servicenetworking/v1.dart
+++ b/generated/googleapis/lib/servicenetworking/v1.dart
@@ -238,11 +238,11 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
+ /// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
- /// [filter] - The standard list filter.
+ /// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -256,9 +256,9 @@
/// call, this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
- core.int pageSize,
core.String filter,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -271,14 +271,14 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/serviceusage/v1.dart b/generated/googleapis/lib/serviceusage/v1.dart
index 21c3dcc..00fa92d 100644
--- a/generated/googleapis/lib/serviceusage/v1.dart
+++ b/generated/googleapis/lib/serviceusage/v1.dart
@@ -240,11 +240,11 @@
///
/// Request parameters:
///
- /// [pageSize] - The standard list page size.
+ /// [filter] - The standard list filter.
///
/// [name] - The name of the operation's parent resource.
///
- /// [filter] - The standard list filter.
+ /// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
@@ -259,9 +259,9 @@
/// If the used [http_1.Client] completes with an error when making a REST
/// call, this method will complete with the same error.
async.Future<ListOperationsResponse> list({
- core.int pageSize,
- core.String name,
core.String filter,
+ core.String name,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -272,14 +272,14 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (name != null) {
_queryParams['name'] = [name];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -627,15 +627,15 @@
/// `projects/123` where `123` is the project number.
/// Value must have pattern "^[^/]+/[^/]+$".
///
+ /// [filter] - Only list services that conform to the given filter. The
+ /// allowed filter strings are `state:ENABLED` and `state:DISABLED`.
+ ///
/// [pageSize] - Requested size of the next page of data. Requested page size
/// cannot exceed 200. If not set, the default page size is 50.
///
/// [pageToken] - Token identifying which result to start with, which is
/// returned by a previous list call.
///
- /// [filter] - Only list services that conform to the given filter. The
- /// allowed filter strings are `state:ENABLED` and `state:DISABLED`.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -648,9 +648,9 @@
/// call, this method will complete with the same error.
async.Future<ListServicesResponse> list(
core.String parent, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -663,15 +663,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/sheets/v4.dart b/generated/googleapis/lib/sheets/v4.dart
index 59e5c50..e1b0a1d 100644
--- a/generated/googleapis/lib/sheets/v4.dart
+++ b/generated/googleapis/lib/sheets/v4.dart
@@ -206,11 +206,11 @@
///
/// [spreadsheetId] - The spreadsheet to request.
///
- /// [ranges] - The ranges to retrieve from the spreadsheet.
- ///
/// [includeGridData] - True if grid data should be returned. This parameter
/// is ignored if a field mask was set in the request.
///
+ /// [ranges] - The ranges to retrieve from the spreadsheet.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -223,8 +223,8 @@
/// this method will complete with the same error.
async.Future<Spreadsheet> get(
core.String spreadsheetId, {
- core.List<core.String> ranges,
core.bool includeGridData,
+ core.List<core.String> ranges,
core.String $fields,
}) {
core.String _url;
@@ -237,12 +237,12 @@
if (spreadsheetId == null) {
throw core.ArgumentError('Parameter spreadsheetId is required.');
}
- if (ranges != null) {
- _queryParams['ranges'] = ranges;
- }
if (includeGridData != null) {
_queryParams['includeGridData'] = ['${includeGridData}'];
}
+ if (ranges != null) {
+ _queryParams['ranges'] = ranges;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -553,21 +553,16 @@
/// [range] - The A1 notation of a range to search for a logical table of
/// data. Values are appended after the last row of the table.
///
- /// [responseValueRenderOption] - Determines how values in the response should
- /// be rendered. The default render option is
- /// ValueRenderOption.FORMATTED_VALUE.
+ /// [includeValuesInResponse] - Determines if the update response should
+ /// include the values of the cells that were appended. By default, responses
+ /// do not include the updated values.
+ ///
+ /// [insertDataOption] - How the input data should be inserted.
/// Possible string values are:
- /// - "FORMATTED_VALUE" : Values will be calculated & formatted in the reply
- /// according to the cell's formatting. Formatting is based on the
- /// spreadsheet's locale, not the requesting user's locale. For example, if
- /// `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2`
- /// would return `"$1.23"`.
- /// - "UNFORMATTED_VALUE" : Values will be calculated, but not formatted in
- /// the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
- /// as currency, then `A2` would return the number `1.23`.
- /// - "FORMULA" : Values will not be calculated. The reply will include the
- /// formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
- /// as currency, then A2 would return `"=A1"`.
+ /// - "OVERWRITE" : The new data overwrites existing data in the areas it is
+ /// written. (Note: adding data to the end of the sheet will still insert new
+ /// rows or columns so the data can be written.)
+ /// - "INSERT_ROWS" : Rows are inserted for the new data.
///
/// [responseDateTimeRenderOption] - Determines how dates, times, and
/// durations in the response should be rendered. This is ignored if
@@ -586,9 +581,21 @@
/// to be output as strings in their given number format (which is dependent
/// on the spreadsheet locale).
///
- /// [includeValuesInResponse] - Determines if the update response should
- /// include the values of the cells that were appended. By default, responses
- /// do not include the updated values.
+ /// [responseValueRenderOption] - Determines how values in the response should
+ /// be rendered. The default render option is
+ /// ValueRenderOption.FORMATTED_VALUE.
+ /// Possible string values are:
+ /// - "FORMATTED_VALUE" : Values will be calculated & formatted in the reply
+ /// according to the cell's formatting. Formatting is based on the
+ /// spreadsheet's locale, not the requesting user's locale. For example, if
+ /// `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2`
+ /// would return `"$1.23"`.
+ /// - "UNFORMATTED_VALUE" : Values will be calculated, but not formatted in
+ /// the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
+ /// as currency, then `A2` would return the number `1.23`.
+ /// - "FORMULA" : Values will not be calculated. The reply will include the
+ /// formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
+ /// as currency, then A2 would return `"=A1"`.
///
/// [valueInputOption] - How the input data should be interpreted.
/// Possible string values are:
@@ -601,13 +608,6 @@
/// numbers, dates, etc. following the same rules that are applied when
/// entering text into a cell via the Google Sheets UI.
///
- /// [insertDataOption] - How the input data should be inserted.
- /// Possible string values are:
- /// - "OVERWRITE" : The new data overwrites existing data in the areas it is
- /// written. (Note: adding data to the end of the sheet will still insert new
- /// rows or columns so the data can be written.)
- /// - "INSERT_ROWS" : Rows are inserted for the new data.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -622,11 +622,11 @@
ValueRange request,
core.String spreadsheetId,
core.String range, {
- core.String responseValueRenderOption,
- core.String responseDateTimeRenderOption,
core.bool includeValuesInResponse,
- core.String valueInputOption,
core.String insertDataOption,
+ core.String responseDateTimeRenderOption,
+ core.String responseValueRenderOption,
+ core.String valueInputOption,
core.String $fields,
}) {
core.String _url;
@@ -645,23 +645,23 @@
if (range == null) {
throw core.ArgumentError('Parameter range is required.');
}
- if (responseValueRenderOption != null) {
- _queryParams['responseValueRenderOption'] = [responseValueRenderOption];
+ if (includeValuesInResponse != null) {
+ _queryParams['includeValuesInResponse'] = ['${includeValuesInResponse}'];
+ }
+ if (insertDataOption != null) {
+ _queryParams['insertDataOption'] = [insertDataOption];
}
if (responseDateTimeRenderOption != null) {
_queryParams['responseDateTimeRenderOption'] = [
responseDateTimeRenderOption
];
}
- if (includeValuesInResponse != null) {
- _queryParams['includeValuesInResponse'] = ['${includeValuesInResponse}'];
+ if (responseValueRenderOption != null) {
+ _queryParams['responseValueRenderOption'] = [responseValueRenderOption];
}
if (valueInputOption != null) {
_queryParams['valueInputOption'] = [valueInputOption];
}
- if (insertDataOption != null) {
- _queryParams['insertDataOption'] = [insertDataOption];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -811,8 +811,6 @@
///
/// [spreadsheetId] - The ID of the spreadsheet to retrieve data from.
///
- /// [ranges] - The A1 notation of the values to retrieve.
- ///
/// [dateTimeRenderOption] - How dates, times, and durations should be
/// represented in the output. This is ignored if value_render_option is
/// FORMATTED_VALUE. The default dateTime render option is
@@ -830,6 +828,18 @@
/// to be output as strings in their given number format (which is dependent
/// on the spreadsheet locale).
///
+ /// [majorDimension] - The major dimension that results should use. For
+ /// example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then
+ /// requesting `range=A1:B2,majorDimension=ROWS` returns `[[1,2],[3,4]]`,
+ /// whereas requesting `range=A1:B2,majorDimension=COLUMNS` returns
+ /// `[[1,3],[2,4]]`.
+ /// Possible string values are:
+ /// - "DIMENSION_UNSPECIFIED" : The default value, do not use.
+ /// - "ROWS" : Operates on the rows of a sheet.
+ /// - "COLUMNS" : Operates on the columns of a sheet.
+ ///
+ /// [ranges] - The A1 notation of the values to retrieve.
+ ///
/// [valueRenderOption] - How values should be represented in the output. The
/// default render option is ValueRenderOption.FORMATTED_VALUE.
/// Possible string values are:
@@ -845,16 +855,6 @@
/// formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
/// as currency, then A2 would return `"=A1"`.
///
- /// [majorDimension] - The major dimension that results should use. For
- /// example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then
- /// requesting `range=A1:B2,majorDimension=ROWS` returns `[[1,2],[3,4]]`,
- /// whereas requesting `range=A1:B2,majorDimension=COLUMNS` returns
- /// `[[1,3],[2,4]]`.
- /// Possible string values are:
- /// - "DIMENSION_UNSPECIFIED" : The default value, do not use.
- /// - "ROWS" : Operates on the rows of a sheet.
- /// - "COLUMNS" : Operates on the columns of a sheet.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -867,10 +867,10 @@
/// this method will complete with the same error.
async.Future<BatchGetValuesResponse> batchGet(
core.String spreadsheetId, {
- core.List<core.String> ranges,
core.String dateTimeRenderOption,
- core.String valueRenderOption,
core.String majorDimension,
+ core.List<core.String> ranges,
+ core.String valueRenderOption,
core.String $fields,
}) {
core.String _url;
@@ -883,18 +883,18 @@
if (spreadsheetId == null) {
throw core.ArgumentError('Parameter spreadsheetId is required.');
}
- if (ranges != null) {
- _queryParams['ranges'] = ranges;
- }
if (dateTimeRenderOption != null) {
_queryParams['dateTimeRenderOption'] = [dateTimeRenderOption];
}
- if (valueRenderOption != null) {
- _queryParams['valueRenderOption'] = [valueRenderOption];
- }
if (majorDimension != null) {
_queryParams['majorDimension'] = [majorDimension];
}
+ if (ranges != null) {
+ _queryParams['ranges'] = ranges;
+ }
+ if (valueRenderOption != null) {
+ _queryParams['valueRenderOption'] = [valueRenderOption];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1167,21 +1167,6 @@
///
/// [range] - The A1 notation of the values to retrieve.
///
- /// [valueRenderOption] - How values should be represented in the output. The
- /// default render option is ValueRenderOption.FORMATTED_VALUE.
- /// Possible string values are:
- /// - "FORMATTED_VALUE" : Values will be calculated & formatted in the reply
- /// according to the cell's formatting. Formatting is based on the
- /// spreadsheet's locale, not the requesting user's locale. For example, if
- /// `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2`
- /// would return `"$1.23"`.
- /// - "UNFORMATTED_VALUE" : Values will be calculated, but not formatted in
- /// the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
- /// as currency, then `A2` would return the number `1.23`.
- /// - "FORMULA" : Values will not be calculated. The reply will include the
- /// formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
- /// as currency, then A2 would return `"=A1"`.
- ///
/// [dateTimeRenderOption] - How dates, times, and durations should be
/// represented in the output. This is ignored if value_render_option is
/// FORMATTED_VALUE. The default dateTime render option is
@@ -1209,6 +1194,21 @@
/// - "ROWS" : Operates on the rows of a sheet.
/// - "COLUMNS" : Operates on the columns of a sheet.
///
+ /// [valueRenderOption] - How values should be represented in the output. The
+ /// default render option is ValueRenderOption.FORMATTED_VALUE.
+ /// Possible string values are:
+ /// - "FORMATTED_VALUE" : Values will be calculated & formatted in the reply
+ /// according to the cell's formatting. Formatting is based on the
+ /// spreadsheet's locale, not the requesting user's locale. For example, if
+ /// `A1` is `1.23` and `A2` is `=A1` and formatted as currency, then `A2`
+ /// would return `"$1.23"`.
+ /// - "UNFORMATTED_VALUE" : Values will be calculated, but not formatted in
+ /// the reply. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
+ /// as currency, then `A2` would return the number `1.23`.
+ /// - "FORMULA" : Values will not be calculated. The reply will include the
+ /// formulas. For example, if `A1` is `1.23` and `A2` is `=A1` and formatted
+ /// as currency, then A2 would return `"=A1"`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1222,9 +1222,9 @@
async.Future<ValueRange> get(
core.String spreadsheetId,
core.String range, {
- core.String valueRenderOption,
core.String dateTimeRenderOption,
core.String majorDimension,
+ core.String valueRenderOption,
core.String $fields,
}) {
core.String _url;
@@ -1240,15 +1240,15 @@
if (range == null) {
throw core.ArgumentError('Parameter range is required.');
}
- if (valueRenderOption != null) {
- _queryParams['valueRenderOption'] = [valueRenderOption];
- }
if (dateTimeRenderOption != null) {
_queryParams['dateTimeRenderOption'] = [dateTimeRenderOption];
}
if (majorDimension != null) {
_queryParams['majorDimension'] = [majorDimension];
}
+ if (valueRenderOption != null) {
+ _queryParams['valueRenderOption'] = [valueRenderOption];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1281,6 +1281,12 @@
///
/// [range] - The A1 notation of the values to update.
///
+ /// [includeValuesInResponse] - Determines if the update response should
+ /// include the values of the cells that were updated. By default, responses
+ /// do not include the updated values. If the range to write was larger than
+ /// the range actually written, the response includes all values in the
+ /// requested range (excluding trailing empty rows and columns).
+ ///
/// [responseDateTimeRenderOption] - Determines how dates, times, and
/// durations in the response should be rendered. This is ignored if
/// response_value_render_option is FORMATTED_VALUE. The default dateTime
@@ -1325,12 +1331,6 @@
/// numbers, dates, etc. following the same rules that are applied when
/// entering text into a cell via the Google Sheets UI.
///
- /// [includeValuesInResponse] - Determines if the update response should
- /// include the values of the cells that were updated. By default, responses
- /// do not include the updated values. If the range to write was larger than
- /// the range actually written, the response includes all values in the
- /// requested range (excluding trailing empty rows and columns).
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1345,10 +1345,10 @@
ValueRange request,
core.String spreadsheetId,
core.String range, {
+ core.bool includeValuesInResponse,
core.String responseDateTimeRenderOption,
core.String responseValueRenderOption,
core.String valueInputOption,
- core.bool includeValuesInResponse,
core.String $fields,
}) {
core.String _url;
@@ -1367,6 +1367,9 @@
if (range == null) {
throw core.ArgumentError('Parameter range is required.');
}
+ if (includeValuesInResponse != null) {
+ _queryParams['includeValuesInResponse'] = ['${includeValuesInResponse}'];
+ }
if (responseDateTimeRenderOption != null) {
_queryParams['responseDateTimeRenderOption'] = [
responseDateTimeRenderOption
@@ -1378,9 +1381,6 @@
if (valueInputOption != null) {
_queryParams['valueInputOption'] = [valueInputOption];
}
- if (includeValuesInResponse != null) {
- _queryParams['includeValuesInResponse'] = ['${includeValuesInResponse}'];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/slides/v1.dart b/generated/googleapis/lib/slides/v1.dart
index f5264ed..10e24e3 100644
--- a/generated/googleapis/lib/slides/v1.dart
+++ b/generated/googleapis/lib/slides/v1.dart
@@ -324,6 +324,11 @@
///
/// [pageObjectId] - The object ID of the page whose thumbnail to retrieve.
///
+ /// [thumbnailProperties_mimeType] - The optional mime type of the thumbnail
+ /// image. If you don't specify the mime type, the mime type defaults to PNG.
+ /// Possible string values are:
+ /// - "PNG" : The default mime type.
+ ///
/// [thumbnailProperties_thumbnailSize] - The optional thumbnail image size.
/// If you don't specify the size, the server chooses a default size of the
/// image.
@@ -335,11 +340,6 @@
/// - "MEDIUM" : The thumbnail image width of 800px.
/// - "SMALL" : The thumbnail image width of 200px.
///
- /// [thumbnailProperties_mimeType] - The optional mime type of the thumbnail
- /// image. If you don't specify the mime type, the mime type defaults to PNG.
- /// Possible string values are:
- /// - "PNG" : The default mime type.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -353,8 +353,8 @@
async.Future<Thumbnail> getThumbnail(
core.String presentationId,
core.String pageObjectId, {
- core.String thumbnailProperties_thumbnailSize,
core.String thumbnailProperties_mimeType,
+ core.String thumbnailProperties_thumbnailSize,
core.String $fields,
}) {
core.String _url;
@@ -370,16 +370,16 @@
if (pageObjectId == null) {
throw core.ArgumentError('Parameter pageObjectId is required.');
}
- if (thumbnailProperties_thumbnailSize != null) {
- _queryParams['thumbnailProperties.thumbnailSize'] = [
- thumbnailProperties_thumbnailSize
- ];
- }
if (thumbnailProperties_mimeType != null) {
_queryParams['thumbnailProperties.mimeType'] = [
thumbnailProperties_mimeType
];
}
+ if (thumbnailProperties_thumbnailSize != null) {
+ _queryParams['thumbnailProperties.thumbnailSize'] = [
+ thumbnailProperties_thumbnailSize
+ ];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/spanner/v1.dart b/generated/googleapis/lib/spanner/v1.dart
index b493de4..2e2379c 100644
--- a/generated/googleapis/lib/spanner/v1.dart
+++ b/generated/googleapis/lib/spanner/v1.dart
@@ -461,12 +461,6 @@
/// is requested. Values are of the form `projects/`.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - Number of instances to be returned in the response. If 0 or
- /// less, defaults to the server's maximum allowed page size.
- ///
- /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
- /// from a previous ListInstancesResponse.
- ///
/// [filter] - An expression for filtering the results of the request. Filter
/// rules are case insensitive. The fields eligible for filtering are: *
/// `name` * `display_name` * `labels.key` where key is the name of a label
@@ -479,6 +473,12 @@
/// instance's name contains "howl" and it has the label "env" with its value
/// containing "dev".
///
+ /// [pageSize] - Number of instances to be returned in the response. If 0 or
+ /// less, defaults to the server's maximum allowed page size.
+ ///
+ /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
+ /// from a previous ListInstancesResponse.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -491,9 +491,9 @@
/// this method will complete with the same error.
async.Future<ListInstancesResponse> list(
core.String parent, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -506,15 +506,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1107,10 +1107,6 @@
/// form `projects//instances/`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
- /// from a previous ListBackupsResponse to the same `parent` and with the same
- /// `filter`.
- ///
/// [filter] - An expression that filters the list of returned backups. A
/// filter expression consists of a field name, a comparison operator, and a
/// value for filtering. The value must be a string, a number, or a boolean.
@@ -1135,6 +1131,10 @@
/// [pageSize] - Number of backups to be returned in the response. If 0 or
/// less, defaults to the server's maximum allowed page size.
///
+ /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
+ /// from a previous ListBackupsResponse to the same `parent` and with the same
+ /// `filter`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1147,9 +1147,9 @@
/// this method will complete with the same error.
async.Future<ListBackupsResponse> list(
core.String parent, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1162,15 +1162,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1576,12 +1576,12 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations$".
///
+ /// [filter] - The standard list filter.
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
///
- /// [filter] - The standard list filter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1594,9 +1594,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -1609,15 +1609,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1655,10 +1655,6 @@
/// of the form `projects//instances/`.
/// Value must have pattern "^projects/[^/]+/instances/[^/]+$".
///
- /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
- /// from a previous ListDatabaseOperationsResponse to the same `parent` and
- /// with the same `filter`.
- ///
/// [filter] - An expression that filters the list of returned operations. A
/// filter expression consists of a field name, a comparison operator, and a
/// value for filtering. The value must be a string, a number, or a boolean.
@@ -1690,6 +1686,10 @@
/// [pageSize] - Number of operations to be returned in the response. If 0 or
/// less, defaults to the server's maximum allowed page size.
///
+ /// [pageToken] - If non-empty, `page_token` should contain a next_page_token
+ /// from a previous ListDatabaseOperationsResponse to the same `parent` and
+ /// with the same `filter`.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1702,9 +1702,9 @@
/// this method will complete with the same error.
async.Future<ListDatabaseOperationsResponse> list(
core.String parent, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1717,15 +1717,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2553,10 +2553,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2570,8 +2570,8 @@
async.Future<ListOperationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2587,12 +2587,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3179,9 +3179,6 @@
/// Value must have pattern
/// "^projects/[^/]+/instances/[^/]+/databases/[^/]+$".
///
- /// [pageSize] - Number of sessions to be returned in the response. If 0 or
- /// less, defaults to the server's maximum allowed page size.
- ///
/// [filter] - An expression for filtering the results of the request. Filter
/// rules are case insensitive. The fields eligible for filtering are: *
/// `labels.key` where key is the name of a label Some examples of using
@@ -3189,6 +3186,9 @@
/// `labels.env:dev` --> The session has the label "env" and the value of the
/// label contains the string "dev".
///
+ /// [pageSize] - Number of sessions to be returned in the response. If 0 or
+ /// less, defaults to the server's maximum allowed page size.
+ ///
/// [pageToken] - If non-empty, `page_token` should contain a next_page_token
/// from a previous ListSessionsResponse.
///
@@ -3204,8 +3204,8 @@
/// this method will complete with the same error.
async.Future<ListSessionsResponse> list(
core.String database, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -3219,12 +3219,12 @@
if (database == null) {
throw core.ArgumentError('Parameter database is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/speech/v1.dart b/generated/googleapis/lib/speech/v1.dart
index da703ce..80ebab2 100644
--- a/generated/googleapis/lib/speech/v1.dart
+++ b/generated/googleapis/lib/speech/v1.dart
@@ -116,10 +116,10 @@
///
/// Request parameters:
///
- /// [name] - The name of the operation's parent resource.
- ///
/// [filter] - The standard list filter.
///
+ /// [name] - The name of the operation's parent resource.
+ ///
/// [pageSize] - The standard list page size.
///
/// [pageToken] - The standard list page token.
@@ -135,8 +135,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list({
- core.String name,
core.String filter,
+ core.String name,
core.int pageSize,
core.String pageToken,
core.String $fields,
@@ -148,12 +148,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (name != null) {
- _queryParams['name'] = [name];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (name != null) {
+ _queryParams['name'] = [name];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
@@ -271,10 +271,10 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -289,8 +289,8 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -304,12 +304,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index 992447b..cbb9581 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -228,8 +228,6 @@
///
/// Request parameters:
///
- /// [pageSize] - The list page size. The max allowed value is 256.
- ///
/// [filter] - Required. A list of query parameters specified as JSON text in
/// the form of: {"project_id":"my_project_id",
/// "job_names":["jobid1","jobid2",...],
@@ -239,6 +237,8 @@
/// `job_statuses` are optional. The valid values for `job_statuses` are
/// case-insensitive: ENABLED, DISABLED, and DELETED.
///
+ /// [pageSize] - The list page size. The max allowed value is 256.
+ ///
/// [pageToken] - The list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -252,8 +252,8 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListTransferJobsResponse> list({
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -264,12 +264,12 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -486,10 +486,6 @@
/// [name] - Required. The value `transferOperations`.
/// Value must have pattern "^transferOperations$".
///
- /// [pageSize] - The list page size. The max allowed value is 256.
- ///
- /// [pageToken] - The list page token.
- ///
/// [filter] - Required. A list of query parameters specified as JSON text in
/// the form of: {"project_id":"my_project_id",
/// "job_names":["jobid1","jobid2",...],
@@ -501,6 +497,10 @@
/// valid values for `transfer_statuses` are case-insensitive: IN_PROGRESS,
/// PAUSED, SUCCESS, FAILED, and ABORTED.
///
+ /// [pageSize] - The list page size. The max allowed value is 256.
+ ///
+ /// [pageToken] - The list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -513,9 +513,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
+ core.String filter,
core.int pageSize,
core.String pageToken,
- core.String filter,
core.String $fields,
}) {
core.String _url;
@@ -528,15 +528,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
+ }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/streetviewpublish/v1.dart b/generated/googleapis/lib/streetviewpublish/v1.dart
index c8f9e8f..b41229d 100644
--- a/generated/googleapis/lib/streetviewpublish/v1.dart
+++ b/generated/googleapis/lib/streetviewpublish/v1.dart
@@ -174,6 +174,12 @@
///
/// [photoId] - Required. ID of the Photo.
///
+ /// [languageCode] - The BCP-47 language code, such as "en-US" or "sr-Latn".
+ /// For more information, see
+ /// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If
+ /// language_code is unspecified, the user's language preference for Google
+ /// services is used.
+ ///
/// [view] - Required. Specifies if a download URL for the photo bytes should
/// be returned in the Photo response.
/// Possible string values are:
@@ -182,12 +188,6 @@
/// - "INCLUDE_DOWNLOAD_URL" : Server responses include the download URL for
/// the photo bytes.
///
- /// [languageCode] - The BCP-47 language code, such as "en-US" or "sr-Latn".
- /// For more information, see
- /// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If
- /// language_code is unspecified, the user's language preference for Google
- /// services is used.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -200,8 +200,8 @@
/// this method will complete with the same error.
async.Future<Photo> get(
core.String photoId, {
- core.String view,
core.String languageCode,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -214,12 +214,12 @@
if (photoId == null) {
throw core.ArgumentError('Parameter photoId is required.');
}
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -444,14 +444,6 @@
///
/// Request parameters:
///
- /// [view] - Required. Specifies if a download URL for the photo bytes should
- /// be returned in the Photo response.
- /// Possible string values are:
- /// - "BASIC" : Server reponses do not include the download URL for the photo
- /// bytes. The default value.
- /// - "INCLUDE_DOWNLOAD_URL" : Server responses include the download URL for
- /// the photo bytes.
- ///
/// [languageCode] - The BCP-47 language code, such as "en-US" or "sr-Latn".
/// For more information, see
/// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If
@@ -461,6 +453,14 @@
/// [photoIds] - Required. IDs of the Photos. For HTTP GET requests, the URL
/// query parameter should be `photoIds=&photoIds=&...`.
///
+ /// [view] - Required. Specifies if a download URL for the photo bytes should
+ /// be returned in the Photo response.
+ /// Possible string values are:
+ /// - "BASIC" : Server reponses do not include the download URL for the photo
+ /// bytes. The default value.
+ /// - "INCLUDE_DOWNLOAD_URL" : Server responses include the download URL for
+ /// the photo bytes.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -472,9 +472,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<BatchGetPhotosResponse> batchGet({
- core.String view,
core.String languageCode,
core.List<core.String> photoIds,
+ core.String view,
core.String $fields,
}) {
core.String _url;
@@ -484,15 +484,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (view != null) {
- _queryParams['view'] = [view];
- }
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
if (photoIds != null) {
_queryParams['photoIds'] = photoIds;
}
+ if (view != null) {
+ _queryParams['view'] = [view];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -576,15 +576,6 @@
///
/// Request parameters:
///
- /// [pageToken] - The nextPageToken value returned from a previous ListPhotos
- /// request, if any.
- ///
- /// [pageSize] - The maximum number of photos to return. `pageSize` must be
- /// non-negative. If `pageSize` is zero or is not provided, the default page
- /// size of 100 is used. The number of photos returned in the response may be
- /// less than `pageSize` if the number of photos that belong to the user is
- /// less than `pageSize`.
- ///
/// [filter] - Required. The filter expression. For example:
/// `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`. The only filter supported at the
/// moment is `placeId`.
@@ -595,6 +586,15 @@
/// language_code is unspecified, the user's language preference for Google
/// services is used.
///
+ /// [pageSize] - The maximum number of photos to return. `pageSize` must be
+ /// non-negative. If `pageSize` is zero or is not provided, the default page
+ /// size of 100 is used. The number of photos returned in the response may be
+ /// less than `pageSize` if the number of photos that belong to the user is
+ /// less than `pageSize`.
+ ///
+ /// [pageToken] - The nextPageToken value returned from a previous ListPhotos
+ /// request, if any.
+ ///
/// [view] - Required. Specifies if a download URL for the photos bytes should
/// be returned in the Photos response.
/// Possible string values are:
@@ -614,10 +614,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListPhotosResponse> list({
- core.String pageToken,
- core.int pageSize,
core.String filter,
core.String languageCode,
+ core.int pageSize,
+ core.String pageToken,
core.String view,
core.String $fields,
}) {
@@ -628,18 +628,18 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (languageCode != null) {
_queryParams['languageCode'] = [languageCode];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (view != null) {
_queryParams['view'] = [view];
}
diff --git a/generated/googleapis/lib/tagmanager/v1.dart b/generated/googleapis/lib/tagmanager/v1.dart
index cd47ed7..f9f3ca2 100644
--- a/generated/googleapis/lib/tagmanager/v1.dart
+++ b/generated/googleapis/lib/tagmanager/v1.dart
@@ -1319,12 +1319,12 @@
///
/// [folderId] - The GTM Folder ID.
///
- /// [variableId] - The variables to be moved to the folder.
- ///
/// [tagId] - The tags to be moved to the folder.
///
/// [triggerId] - The triggers to be moved to the folder.
///
+ /// [variableId] - The variables to be moved to the folder.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1338,9 +1338,9 @@
core.String accountId,
core.String containerId,
core.String folderId, {
- core.List<core.String> variableId,
core.List<core.String> tagId,
core.List<core.String> triggerId,
+ core.List<core.String> variableId,
core.String $fields,
}) {
core.String _url;
@@ -1362,15 +1362,15 @@
if (folderId == null) {
throw core.ArgumentError('Parameter folderId is required.');
}
- if (variableId != null) {
- _queryParams['variableId'] = variableId;
- }
if (tagId != null) {
_queryParams['tagId'] = tagId;
}
if (triggerId != null) {
_queryParams['triggerId'] = triggerId;
}
+ if (variableId != null) {
+ _queryParams['variableId'] = variableId;
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2697,10 +2697,10 @@
///
/// [containerId] - The GTM Container ID.
///
- /// [includeDeleted] - Also retrieve deleted (archived) versions when true.
- ///
/// [headers] - Retrieve headers only when true.
///
+ /// [includeDeleted] - Also retrieve deleted (archived) versions when true.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2714,8 +2714,8 @@
async.Future<ListContainerVersionsResponse> list(
core.String accountId,
core.String containerId, {
- core.bool includeDeleted,
core.bool headers,
+ core.bool includeDeleted,
core.String $fields,
}) {
core.String _url;
@@ -2731,12 +2731,12 @@
if (containerId == null) {
throw core.ArgumentError('Parameter containerId is required.');
}
- if (includeDeleted != null) {
- _queryParams['includeDeleted'] = ['${includeDeleted}'];
- }
if (headers != null) {
_queryParams['headers'] = ['${headers}'];
}
+ if (includeDeleted != null) {
+ _queryParams['includeDeleted'] = ['${includeDeleted}'];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/tagmanager/v2.dart b/generated/googleapis/lib/tagmanager/v2.dart
index 82714d7..1999438 100644
--- a/generated/googleapis/lib/tagmanager/v2.dart
+++ b/generated/googleapis/lib/tagmanager/v2.dart
@@ -2657,11 +2657,11 @@
/// Value must have pattern
/// "^accounts/[^/]+/containers/[^/]+/workspaces/[^/]+/folders/[^/]+$".
///
- /// [variableId] - The variables to be moved to the folder.
+ /// [tagId] - The tags to be moved to the folder.
///
/// [triggerId] - The triggers to be moved to the folder.
///
- /// [tagId] - The tags to be moved to the folder.
+ /// [variableId] - The variables to be moved to the folder.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -2674,9 +2674,9 @@
async.Future moveEntitiesToFolder(
Folder request,
core.String path, {
- core.List<core.String> variableId,
- core.List<core.String> triggerId,
core.List<core.String> tagId,
+ core.List<core.String> triggerId,
+ core.List<core.String> variableId,
core.String $fields,
}) {
core.String _url;
@@ -2692,14 +2692,14 @@
if (path == null) {
throw core.ArgumentError('Parameter path is required.');
}
- if (variableId != null) {
- _queryParams['variableId'] = variableId;
+ if (tagId != null) {
+ _queryParams['tagId'] = tagId;
}
if (triggerId != null) {
_queryParams['triggerId'] = triggerId;
}
- if (tagId != null) {
- _queryParams['tagId'] = tagId;
+ if (variableId != null) {
+ _queryParams['variableId'] = variableId;
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/tasks/v1.dart b/generated/googleapis/lib/tasks/v1.dart
index 1643855..d4cd304 100644
--- a/generated/googleapis/lib/tasks/v1.dart
+++ b/generated/googleapis/lib/tasks/v1.dart
@@ -548,13 +548,13 @@
///
/// [tasklist] - Task list identifier.
///
+ /// [parent] - Parent task identifier. If the task is created at the top
+ /// level, this parameter is omitted. Optional.
+ ///
/// [previous] - Previous sibling task identifier. If the task is created at
/// the first position among its siblings, this parameter is omitted.
/// Optional.
///
- /// [parent] - Parent task identifier. If the task is created at the top
- /// level, this parameter is omitted. Optional.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -568,8 +568,8 @@
async.Future<Task> insert(
Task request,
core.String tasklist, {
- core.String previous,
core.String parent,
+ core.String previous,
core.String $fields,
}) {
core.String _url;
@@ -585,12 +585,12 @@
if (tasklist == null) {
throw core.ArgumentError('Parameter tasklist is required.');
}
- if (previous != null) {
- _queryParams['previous'] = [previous];
- }
if (parent != null) {
_queryParams['parent'] = [parent];
}
+ if (previous != null) {
+ _queryParams['previous'] = [previous];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -617,40 +617,40 @@
///
/// [tasklist] - Task list identifier.
///
+ /// [completedMax] - Upper bound for a task's completion date (as a RFC 3339
+ /// timestamp) to filter by. Optional. The default is not to filter by
+ /// completion date.
+ ///
/// [completedMin] - Lower bound for a task's completion date (as a RFC 3339
/// timestamp) to filter by. Optional. The default is not to filter by
/// completion date.
///
+ /// [dueMax] - Upper bound for a task's due date (as a RFC 3339 timestamp) to
+ /// filter by. Optional. The default is not to filter by due date.
+ ///
+ /// [dueMin] - Lower bound for a task's due date (as a RFC 3339 timestamp) to
+ /// filter by. Optional. The default is not to filter by due date.
+ ///
+ /// [maxResults] - Maximum number of task lists returned on one page.
+ /// Optional. The default is 20 (max allowed: 100).
+ ///
+ /// [pageToken] - Token specifying the result page to return. Optional.
+ ///
/// [showCompleted] - Flag indicating whether completed tasks are returned in
/// the result. Optional. The default is True. Note that showHidden must also
/// be True to show tasks completed in first party clients, such as the web UI
/// and Google's mobile apps.
///
- /// [maxResults] - Maximum number of task lists returned on one page.
- /// Optional. The default is 20 (max allowed: 100).
- ///
- /// [completedMax] - Upper bound for a task's completion date (as a RFC 3339
- /// timestamp) to filter by. Optional. The default is not to filter by
- /// completion date.
- ///
- /// [dueMin] - Lower bound for a task's due date (as a RFC 3339 timestamp) to
- /// filter by. Optional. The default is not to filter by due date.
- ///
/// [showDeleted] - Flag indicating whether deleted tasks are returned in the
/// result. Optional. The default is False.
///
+ /// [showHidden] - Flag indicating whether hidden tasks are returned in the
+ /// result. Optional. The default is False.
+ ///
/// [updatedMin] - Lower bound for a task's last modification time (as a RFC
/// 3339 timestamp) to filter by. Optional. The default is not to filter by
/// last modification time.
///
- /// [dueMax] - Upper bound for a task's due date (as a RFC 3339 timestamp) to
- /// filter by. Optional. The default is not to filter by due date.
- ///
- /// [pageToken] - Token specifying the result page to return. Optional.
- ///
- /// [showHidden] - Flag indicating whether hidden tasks are returned in the
- /// result. Optional. The default is False.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -663,16 +663,16 @@
/// this method will complete with the same error.
async.Future<Tasks> list(
core.String tasklist, {
- core.String completedMin,
- core.bool showCompleted,
- core.int maxResults,
core.String completedMax,
- core.String dueMin,
- core.bool showDeleted,
- core.String updatedMin,
+ core.String completedMin,
core.String dueMax,
+ core.String dueMin,
+ core.int maxResults,
core.String pageToken,
+ core.bool showCompleted,
+ core.bool showDeleted,
core.bool showHidden,
+ core.String updatedMin,
core.String $fields,
}) {
core.String _url;
@@ -685,36 +685,36 @@
if (tasklist == null) {
throw core.ArgumentError('Parameter tasklist is required.');
}
- if (completedMin != null) {
- _queryParams['completedMin'] = [completedMin];
- }
- if (showCompleted != null) {
- _queryParams['showCompleted'] = ['${showCompleted}'];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (completedMax != null) {
_queryParams['completedMax'] = [completedMax];
}
- if (dueMin != null) {
- _queryParams['dueMin'] = [dueMin];
- }
- if (showDeleted != null) {
- _queryParams['showDeleted'] = ['${showDeleted}'];
- }
- if (updatedMin != null) {
- _queryParams['updatedMin'] = [updatedMin];
+ if (completedMin != null) {
+ _queryParams['completedMin'] = [completedMin];
}
if (dueMax != null) {
_queryParams['dueMax'] = [dueMax];
}
+ if (dueMin != null) {
+ _queryParams['dueMin'] = [dueMin];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (showCompleted != null) {
+ _queryParams['showCompleted'] = ['${showCompleted}'];
+ }
+ if (showDeleted != null) {
+ _queryParams['showDeleted'] = ['${showDeleted}'];
+ }
if (showHidden != null) {
_queryParams['showHidden'] = ['${showHidden}'];
}
+ if (updatedMin != null) {
+ _queryParams['updatedMin'] = [updatedMin];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/tpu/v1.dart b/generated/googleapis/lib/tpu/v1.dart
index d15b7a0..8ed044c 100644
--- a/generated/googleapis/lib/tpu/v1.dart
+++ b/generated/googleapis/lib/tpu/v1.dart
@@ -251,11 +251,11 @@
/// [parent] - The parent resource name.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageSize] - The maximum number of items to return.
+ /// [filter] - List filter.
///
/// [orderBy] - Sort results.
///
- /// [filter] - List filter.
+ /// [pageSize] - The maximum number of items to return.
///
/// [pageToken] - The next_page_token value returned from a previous List
/// request, if any.
@@ -272,9 +272,9 @@
/// this method will complete with the same error.
async.Future<ListAcceleratorTypesResponse> list(
core.String parent, {
- core.int pageSize,
- core.String orderBy,
core.String filter,
+ core.String orderBy,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -288,14 +288,14 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (orderBy != null) {
_queryParams['orderBy'] = [orderBy];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -901,10 +901,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -918,8 +918,8 @@
async.Future<ListOperationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -935,12 +935,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1026,12 +1026,12 @@
///
/// [filter] - List filter.
///
- /// [pageToken] - The next_page_token value returned from a previous List
- /// request, if any.
+ /// [orderBy] - Sort results.
///
/// [pageSize] - The maximum number of items to return.
///
- /// [orderBy] - Sort results.
+ /// [pageToken] - The next_page_token value returned from a previous List
+ /// request, if any.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -1046,9 +1046,9 @@
async.Future<ListTensorFlowVersionsResponse> list(
core.String parent, {
core.String filter,
- core.String pageToken,
- core.int pageSize,
core.String orderBy,
+ core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1064,14 +1064,14 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (orderBy != null) {
+ _queryParams['orderBy'] = [orderBy];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (orderBy != null) {
- _queryParams['orderBy'] = [orderBy];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/translate/v3.dart b/generated/googleapis/lib/translate/v3.dart
index 8e0a672..09bf914 100644
--- a/generated/googleapis/lib/translate/v3.dart
+++ b/generated/googleapis/lib/translate/v3.dart
@@ -135,6 +135,10 @@
/// can be used, otherwise an INVALID_ARGUMENT (400) error is returned.
/// Value must have pattern "^projects/[^/]+$".
///
+ /// [displayLanguageCode] - Optional. The language to use to return localized,
+ /// human readable names of supported languages. If missing, then display
+ /// names are not returned in a response.
+ ///
/// [model] - Optional. Get supported languages of this model. The format
/// depends on model type: - AutoML Translation models:
/// `projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
@@ -144,10 +148,6 @@
/// Returns languages supported by the specified model. If missing, we get
/// supported languages of Google general base (PBMT) model.
///
- /// [displayLanguageCode] - Optional. The language to use to return localized,
- /// human readable names of supported languages. If missing, then display
- /// names are not returned in a response.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -160,8 +160,8 @@
/// this method will complete with the same error.
async.Future<SupportedLanguages> getSupportedLanguages(
core.String parent, {
- core.String model,
core.String displayLanguageCode,
+ core.String model,
core.String $fields,
}) {
core.String _url;
@@ -174,12 +174,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (model != null) {
- _queryParams['model'] = [model];
- }
if (displayLanguageCode != null) {
_queryParams['displayLanguageCode'] = [displayLanguageCode];
}
+ if (model != null) {
+ _queryParams['model'] = [model];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -541,10 +541,10 @@
/// [name] - The resource that owns the locations collection, if applicable.
/// Value must have pattern "^projects/[^/]+$".
///
- /// [pageSize] - The standard list page size.
- ///
/// [filter] - The standard list filter.
///
+ /// [pageSize] - The standard list page size.
+ ///
/// [pageToken] - The standard list page token.
///
/// [$fields] - Selector specifying which fields to include in a partial
@@ -559,8 +559,8 @@
/// this method will complete with the same error.
async.Future<ListLocationsResponse> list(
core.String name, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -574,12 +574,12 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -841,12 +841,6 @@
/// glossaries.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - Optional. A token identifying a page of results the server
- /// should return. Typically, this is the value of
- /// [ListGlossariesResponse.next_page_token] returned from the previous call
- /// to `ListGlossaries` method. The first page is returned if `page_token`is
- /// empty or missing.
- ///
/// [filter] - Optional. Filter specifying constraints of a list operation.
/// Specify the constraint by the format of "key=value", where key must be
/// "src" or "tgt", and the value must be a valid language code. For multiple
@@ -867,6 +861,12 @@
/// glossaries than requested. If unspecified, the server picks an appropriate
/// default.
///
+ /// [pageToken] - Optional. A token identifying a page of results the server
+ /// should return. Typically, this is the value of
+ /// [ListGlossariesResponse.next_page_token] returned from the previous call
+ /// to `ListGlossaries` method. The first page is returned if `page_token`is
+ /// empty or missing.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -879,9 +879,9 @@
/// this method will complete with the same error.
async.Future<ListGlossariesResponse> list(
core.String parent, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -894,15 +894,15 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1116,10 +1116,10 @@
///
/// [filter] - The standard list filter.
///
- /// [pageToken] - The standard list page token.
- ///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1133,8 +1133,8 @@
async.Future<ListOperationsResponse> list(
core.String name, {
core.String filter,
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1150,12 +1150,12 @@
if (filter != null) {
_queryParams['filter'] = [filter];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/vault/v1.dart b/generated/googleapis/lib/vault/v1.dart
index b9811d5..90d580a 100644
--- a/generated/googleapis/lib/vault/v1.dart
+++ b/generated/googleapis/lib/vault/v1.dart
@@ -334,6 +334,9 @@
///
/// Request parameters:
///
+ /// [pageSize] - The number of matters to return in the response. Default and
+ /// maximum are 100.
+ ///
/// [pageToken] - The pagination token as returned in the response.
///
/// [state] - If set, list only matters with that specific state. The default
@@ -344,9 +347,6 @@
/// - "CLOSED" : This matter is closed.
/// - "DELETED" : This matter is deleted.
///
- /// [pageSize] - The number of matters to return in the response. Default and
- /// maximum are 100.
- ///
/// [view] - Specifies which parts of the matter to return in response.
/// Possible string values are:
/// - "VIEW_UNSPECIFIED" : There is no specified view.
@@ -366,9 +366,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListMattersResponse> list({
+ core.int pageSize,
core.String pageToken,
core.String state,
- core.int pageSize,
core.String view,
core.String $fields,
}) {
@@ -379,15 +379,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
if (state != null) {
_queryParams['state'] = [state];
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (view != null) {
_queryParams['view'] = [view];
}
diff --git a/generated/googleapis/lib/videointelligence/v1.dart b/generated/googleapis/lib/videointelligence/v1.dart
index faa224e..40fc9fc 100644
--- a/generated/googleapis/lib/videointelligence/v1.dart
+++ b/generated/googleapis/lib/videointelligence/v1.dart
@@ -602,12 +602,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^projects/[^/]+/locations/[^/]+$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -620,9 +620,9 @@
/// this method will complete with the same error.
async.Future<GoogleLongrunningListOperationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -635,15 +635,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart
index d50ccab..a12b938 100644
--- a/generated/googleapis/lib/vision/v1.dart
+++ b/generated/googleapis/lib/vision/v1.dart
@@ -529,12 +529,12 @@
/// [name] - The name of the operation's parent resource.
/// Value must have pattern "^operations$".
///
- /// [pageToken] - The standard list page token.
- ///
/// [filter] - The standard list filter.
///
/// [pageSize] - The standard list page size.
///
+ /// [pageToken] - The standard list page token.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -547,9 +547,9 @@
/// this method will complete with the same error.
async.Future<ListOperationsResponse> list(
core.String name, {
- core.String pageToken,
core.String filter,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -562,15 +562,15 @@
if (name == null) {
throw core.ArgumentError('Parameter name is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/websecurityscanner/v1.dart b/generated/googleapis/lib/websecurityscanner/v1.dart
index 392f55c..c056d8b 100644
--- a/generated/googleapis/lib/websecurityscanner/v1.dart
+++ b/generated/googleapis/lib/websecurityscanner/v1.dart
@@ -625,14 +625,14 @@
/// Value must have pattern
/// "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$".
///
- /// [pageToken] - A token identifying a page of results to be returned. This
- /// should be a `next_page_token` value returned from a previous List request.
- /// If unspecified, the first page of results is returned.
- ///
/// [pageSize] - The maximum number of CrawledUrls to return, can be limited
/// by server. If not specified or not positive, the implementation will
/// select a reasonable value.
///
+ /// [pageToken] - A token identifying a page of results to be returned. This
+ /// should be a `next_page_token` value returned from a previous List request.
+ /// If unspecified, the first page of results is returned.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -645,8 +645,8 @@
/// this method will complete with the same error.
async.Future<ListCrawledUrlsResponse> list(
core.String parent, {
- core.String pageToken,
core.int pageSize,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -659,12 +659,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -817,13 +817,13 @@
/// Value must have pattern
/// "^projects/[^/]+/scanConfigs/[^/]+/scanRuns/[^/]+$".
///
+ /// [filter] - The filter expression. The expression must be in the format: .
+ /// Supported field: 'finding_type'. Supported operator: '='.
+ ///
/// [pageSize] - The maximum number of Findings to return, can be limited by
/// server. If not specified or not positive, the implementation will select a
/// reasonable value.
///
- /// [filter] - The filter expression. The expression must be in the format: .
- /// Supported field: 'finding_type'. Supported operator: '='.
- ///
/// [pageToken] - A token identifying a page of results to be returned. This
/// should be a `next_page_token` value returned from a previous List request.
/// If unspecified, the first page of results is returned.
@@ -840,8 +840,8 @@
/// this method will complete with the same error.
async.Future<ListFindingsResponse> list(
core.String parent, {
- core.int pageSize,
core.String filter,
+ core.int pageSize,
core.String pageToken,
core.String $fields,
}) {
@@ -855,12 +855,12 @@
if (parent == null) {
throw core.ArgumentError('Parameter parent is required.');
}
- if (pageSize != null) {
- _queryParams['pageSize'] = ['${pageSize}'];
- }
if (filter != null) {
_queryParams['filter'] = [filter];
}
+ if (pageSize != null) {
+ _queryParams['pageSize'] = ['${pageSize}'];
+ }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
diff --git a/generated/googleapis/lib/youtube/v3.dart b/generated/googleapis/lib/youtube/v3.dart
index 82132c7..5536775 100644
--- a/generated/googleapis/lib/youtube/v3.dart
+++ b/generated/googleapis/lib/youtube/v3.dart
@@ -207,25 +207,25 @@
/// forth. If you set *part=snippet*, the API response will also contain all
/// of those nested properties.
///
- /// [publishedAfter] - null
- ///
- /// [mine] - null
- ///
/// [channelId] - null
///
+ /// [home] - null
+ ///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
- /// [publishedBefore] - null
- ///
- /// [regionCode] - null
- ///
- /// [home] - null
+ /// [mine] - null
///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
+ /// [publishedAfter] - null
+ ///
+ /// [publishedBefore] - null
+ ///
+ /// [regionCode] - null
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -238,14 +238,14 @@
/// this method will complete with the same error.
async.Future<ActivityListResponse> list(
core.List<core.String> part, {
- core.String publishedAfter,
- core.bool mine,
core.String channelId,
+ core.bool home,
core.int maxResults,
+ core.bool mine,
+ core.String pageToken,
+ core.String publishedAfter,
core.String publishedBefore,
core.String regionCode,
- core.bool home,
- core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -259,17 +259,23 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (publishedAfter != null) {
- _queryParams['publishedAfter'] = [publishedAfter];
+ if (channelId != null) {
+ _queryParams['channelId'] = [channelId];
+ }
+ if (home != null) {
+ _queryParams['home'] = ['${home}'];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (mine != null) {
_queryParams['mine'] = ['${mine}'];
}
- if (channelId != null) {
- _queryParams['channelId'] = [channelId];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (publishedAfter != null) {
+ _queryParams['publishedAfter'] = [publishedAfter];
}
if (publishedBefore != null) {
_queryParams['publishedBefore'] = [publishedBefore];
@@ -277,12 +283,6 @@
if (regionCode != null) {
_queryParams['regionCode'] = [regionCode];
}
- if (home != null) {
- _queryParams['home'] = ['${home}'];
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -384,6 +384,9 @@
///
/// [id] - The ID of the caption track to download, required for One Platform.
///
+ /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
+ /// be on behalf of
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -395,15 +398,12 @@
/// individual channel. The actual CMS account that the user authenticates
/// with must be linked to the specified YouTube content owner.
///
- /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
- /// be on behalf of
+ /// [tfmt] - Convert the captions into this format. Supported options are sbv,
+ /// srt, and vtt.
///
/// [tlang] - tlang is the language code; machine translate the captions into
/// this language.
///
- /// [tfmt] - Convert the captions into this format. Supported options are sbv,
- /// srt, and vtt.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -418,10 +418,10 @@
/// this method will complete with the same error.
async.Future download(
core.String id, {
- core.String onBehalfOfContentOwner,
core.String onBehalfOf,
- core.String tlang,
+ core.String onBehalfOfContentOwner,
core.String tfmt,
+ core.String tlang,
core.String $fields,
commons.DownloadOptions downloadOptions = commons.DownloadOptions.Metadata,
}) {
@@ -435,18 +435,18 @@
if (id == null) {
throw core.ArgumentError('Parameter id is required.');
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if (onBehalfOf != null) {
_queryParams['onBehalfOf'] = [onBehalfOf];
}
- if (tlang != null) {
- _queryParams['tlang'] = [tlang];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
if (tfmt != null) {
_queryParams['tfmt'] = [tfmt];
}
+ if (tlang != null) {
+ _queryParams['tlang'] = [tlang];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -481,6 +481,9 @@
/// [part] - The *part* parameter specifies the caption resource parts that
/// the API response will include. Set the parameter value to snippet.
///
+ /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
+ /// be on behalf of
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -492,9 +495,6 @@
/// individual channel. The actual CMS account that the user authenticates
/// with must be linked to the specified YouTube content owner.
///
- /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
- /// be on behalf of
- ///
/// [sync] - Extra parameter to allow automatically syncing the uploaded
/// caption/transcript with the audio.
///
@@ -517,8 +517,8 @@
async.Future<Caption> insert(
Caption request,
core.List<core.String> part, {
- core.String onBehalfOfContentOwner,
core.String onBehalfOf,
+ core.String onBehalfOfContentOwner,
core.bool sync,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
@@ -538,12 +538,12 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if (onBehalfOf != null) {
_queryParams['onBehalfOf'] = [onBehalfOf];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (sync != null) {
_queryParams['sync'] = ['${sync}'];
}
@@ -584,6 +584,8 @@
/// more caption resource parts that the API response will include. The part
/// names that you can include in the parameter value are id and snippet.
///
+ /// [id] - Returns the captions with the given IDs for Stubby or Apiary.
+ ///
/// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
/// on behalf of.
///
@@ -598,8 +600,6 @@
/// individual channel. The actual CMS account that the user authenticates
/// with must be linked to the specified YouTube content owner.
///
- /// [id] - Returns the captions with the given IDs for Stubby or Apiary.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -613,9 +613,9 @@
async.Future<CaptionListResponse> list(
core.String videoId,
core.List<core.String> part, {
+ core.List<core.String> id,
core.String onBehalfOf,
core.String onBehalfOfContentOwner,
- core.List<core.String> id,
core.String $fields,
}) {
core.String _url;
@@ -633,15 +633,15 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
if (onBehalfOf != null) {
_queryParams['onBehalfOf'] = [onBehalfOf];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (id != null) {
- _queryParams['id'] = id;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -670,8 +670,8 @@
/// more caption resource parts that the API response will include. The part
/// names that you can include in the parameter value are id and snippet.
///
- /// [sync] - Extra parameter to allow automatically syncing the uploaded
- /// caption/transcript with the audio.
+ /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
+ /// on behalf of.
///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
@@ -684,8 +684,8 @@
/// individual channel. The actual CMS account that the user authenticates
/// with must be linked to the specified YouTube content owner.
///
- /// [onBehalfOf] - ID of the Google+ Page for the channel that the request is
- /// on behalf of.
+ /// [sync] - Extra parameter to allow automatically syncing the uploaded
+ /// caption/transcript with the audio.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -706,9 +706,9 @@
async.Future<Caption> update(
Caption request,
core.List<core.String> part, {
- core.bool sync,
- core.String onBehalfOfContentOwner,
core.String onBehalfOf,
+ core.String onBehalfOfContentOwner,
+ core.bool sync,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia,
@@ -727,14 +727,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (sync != null) {
- _queryParams['sync'] = ['${sync}'];
+ if (onBehalfOf != null) {
+ _queryParams['onBehalfOf'] = [onBehalfOf];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (onBehalfOf != null) {
- _queryParams['onBehalfOf'] = [onBehalfOf];
+ if (sync != null) {
+ _queryParams['sync'] = ['${sync}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -775,6 +775,9 @@
///
/// Request parameters:
///
+ /// [channelId] - Unused, channel_id is currently derived from the security
+ /// context of the requestor.
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -786,9 +789,6 @@
/// individual channel. The actual CMS account that the user authenticates
/// with must be linked to the specified YouTube content owner.
///
- /// [channelId] - Unused, channel_id is currently derived from the security
- /// context of the requestor.
- ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -824,8 +824,8 @@
/// this method will complete with the same error.
async.Future<ChannelBannerResource> insert(
ChannelBannerResource request, {
- core.String onBehalfOfContentOwner,
core.String channelId,
+ core.String onBehalfOfContentOwner,
core.String onBehalfOfContentOwnerChannel,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
@@ -841,12 +841,12 @@
if (request != null) {
_body = convert.json.encode(request.toJson());
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if (channelId != null) {
_queryParams['channelId'] = [channelId];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
@@ -1059,15 +1059,15 @@
/// channelSection. If you set *part=snippet*, the API response will also
/// contain all of those nested properties.
///
- /// [id] - Return the ChannelSections with the given IDs for Stubby or Apiary.
- ///
- /// [mine] - Return the ChannelSections owned by the authenticated user.
- ///
/// [channelId] - Return the ChannelSections owned by the specified channel
/// ID.
///
/// [hl] - Return content in specified language
///
+ /// [id] - Return the ChannelSections with the given IDs for Stubby or Apiary.
+ ///
+ /// [mine] - Return the ChannelSections owned by the authenticated user.
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -1091,10 +1091,10 @@
/// this method will complete with the same error.
async.Future<ChannelSectionListResponse> list(
core.List<core.String> part, {
- core.List<core.String> id,
- core.bool mine,
core.String channelId,
core.String hl,
+ core.List<core.String> id,
+ core.bool mine,
core.String onBehalfOfContentOwner,
core.String $fields,
}) {
@@ -1109,18 +1109,18 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (id != null) {
- _queryParams['id'] = id;
- }
- if (mine != null) {
- _queryParams['mine'] = ['${mine}'];
- }
if (channelId != null) {
_queryParams['channelId'] = [channelId];
}
if (hl != null) {
_queryParams['hl'] = [hl];
}
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
+ if (mine != null) {
+ _queryParams['mine'] = ['${mine}'];
+ }
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
@@ -1233,19 +1233,27 @@
/// such as the uploads properties. As such, if you set *part=contentDetails*,
/// the API response will also contain all of those nested properties.
///
- /// [id] - Return the channels with the specified IDs.
- ///
/// [categoryId] - Return the channels within the specified guide category ID.
///
+ /// [forUsername] - Return the channel associated with a YouTube username.
+ ///
/// [hl] - Stands for "host language". Specifies the localization language of
/// the metadata to be filled into snippet.localized. The field is filled with
/// the default metadata if there is no localization in the specified
/// language. The parameter value must be a language code included in the list
/// returned by the i18nLanguages.list method (e.g. en_US, es_MX).
///
+ /// [id] - Return the channels with the specified IDs.
+ ///
+ /// [managedByMe] - Return the channels managed by the authenticated user.
+ ///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
+ /// [mine] - Return the ids of channels owned by the authenticated user.
+ ///
+ /// [mySubscribers] - Return the channels subscribed to the authenticated user
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -1257,18 +1265,10 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [forUsername] - Return the channel associated with a YouTube username.
- ///
- /// [managedByMe] - Return the channels managed by the authenticated user.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [mine] - Return the ids of channels owned by the authenticated user.
- ///
- /// [mySubscribers] - Return the channels subscribed to the authenticated user
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1281,16 +1281,16 @@
/// this method will complete with the same error.
async.Future<ChannelListResponse> list(
core.List<core.String> part, {
- core.List<core.String> id,
core.String categoryId,
- core.String hl,
- core.int maxResults,
- core.String onBehalfOfContentOwner,
core.String forUsername,
+ core.String hl,
+ core.List<core.String> id,
core.bool managedByMe,
- core.String pageToken,
+ core.int maxResults,
core.bool mine,
core.bool mySubscribers,
+ core.String onBehalfOfContentOwner,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -1304,29 +1304,23 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (id != null) {
- _queryParams['id'] = id;
- }
if (categoryId != null) {
_queryParams['categoryId'] = [categoryId];
}
- if (hl != null) {
- _queryParams['hl'] = [hl];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if (forUsername != null) {
_queryParams['forUsername'] = [forUsername];
}
+ if (hl != null) {
+ _queryParams['hl'] = [hl];
+ }
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
if (managedByMe != null) {
_queryParams['managedByMe'] = ['${managedByMe}'];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (mine != null) {
_queryParams['mine'] = ['${mine}'];
@@ -1334,6 +1328,12 @@
if (mySubscribers != null) {
_queryParams['mySubscribers'] = ['${mySubscribers}'];
}
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1498,20 +1498,18 @@
/// [part] - The *part* parameter specifies a comma-separated list of one or
/// more commentThread resource properties that the API response will include.
///
- /// [order] - null
- /// Possible string values are:
- /// - "orderUnspecified"
- /// - "time" : Order by time.
- /// - "relevance" : Order by relevance.
+ /// [allThreadsRelatedToChannelId] - Returns the comment threads of all videos
+ /// of the channel and the channel comments as well.
///
- /// [videoId] - Returns the comment threads of the specified video.
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
+ /// [channelId] - Returns the comment threads for all the channel comments (ie
+ /// does not include comments left on videos).
///
/// [id] - Returns the comment threads with the given IDs for Stubby or
/// Apiary.
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
/// [moderationStatus] - Limits the returned comment threads to those with the
/// specified moderation status. Not compatible with the 'id' filter. Valid
/// values: published, heldForReview, likelySpam.
@@ -1521,8 +1519,11 @@
/// - "likelySpam"
/// - "rejected" : The comment is unfit for display.
///
- /// [channelId] - Returns the comment threads for all the channel comments (ie
- /// does not include comments left on videos).
+ /// [order] - null
+ /// Possible string values are:
+ /// - "orderUnspecified"
+ /// - "time" : Order by time.
+ /// - "relevance" : Order by relevance.
///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
@@ -1531,15 +1532,14 @@
/// [searchTerms] - Limits the returned comment threads to those matching the
/// specified key words. Not compatible with the 'id' filter.
///
- /// [allThreadsRelatedToChannelId] - Returns the comment threads of all videos
- /// of the channel and the channel comments as well.
- ///
/// [textFormat] - The requested text format for the returned comments.
/// Possible string values are:
/// - "textFormatUnspecified"
/// - "html" : Returns the comments in HTML format. This is the default value.
/// - "plainText" : Returns the comments in plain text format.
///
+ /// [videoId] - Returns the comment threads of the specified video.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1552,16 +1552,16 @@
/// this method will complete with the same error.
async.Future<CommentThreadListResponse> list(
core.List<core.String> part, {
- core.String order,
- core.String videoId,
- core.int maxResults,
- core.List<core.String> id,
- core.String moderationStatus,
+ core.String allThreadsRelatedToChannelId,
core.String channelId,
+ core.List<core.String> id,
+ core.int maxResults,
+ core.String moderationStatus,
+ core.String order,
core.String pageToken,
core.String searchTerms,
- core.String allThreadsRelatedToChannelId,
core.String textFormat,
+ core.String videoId,
core.String $fields,
}) {
core.String _url;
@@ -1575,23 +1575,25 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (order != null) {
- _queryParams['order'] = [order];
+ if (allThreadsRelatedToChannelId != null) {
+ _queryParams['allThreadsRelatedToChannelId'] = [
+ allThreadsRelatedToChannelId
+ ];
}
- if (videoId != null) {
- _queryParams['videoId'] = [videoId];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (channelId != null) {
+ _queryParams['channelId'] = [channelId];
}
if (id != null) {
_queryParams['id'] = id;
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (moderationStatus != null) {
_queryParams['moderationStatus'] = [moderationStatus];
}
- if (channelId != null) {
- _queryParams['channelId'] = [channelId];
+ if (order != null) {
+ _queryParams['order'] = [order];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -1599,14 +1601,12 @@
if (searchTerms != null) {
_queryParams['searchTerms'] = [searchTerms];
}
- if (allThreadsRelatedToChannelId != null) {
- _queryParams['allThreadsRelatedToChannelId'] = [
- allThreadsRelatedToChannelId
- ];
- }
if (textFormat != null) {
_queryParams['textFormat'] = [textFormat];
}
+ if (videoId != null) {
+ _queryParams['videoId'] = [videoId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -1804,12 +1804,16 @@
///
/// [id] - Returns the comments with the given IDs for One Platform.
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
+ /// [parentId] - Returns replies to the specified comment. Note, currently
+ /// YouTube features only one level of replies (ie replies to top level
+ /// comments). However replies to replies may be supported in the future.
///
/// [textFormat] - The requested text format for the returned comments.
/// Possible string values are:
@@ -1817,10 +1821,6 @@
/// - "html" : Returns the comments in HTML format. This is the default value.
/// - "plainText" : Returns the comments in plain text format.
///
- /// [parentId] - Returns replies to the specified comment. Note, currently
- /// YouTube features only one level of replies (ie replies to top level
- /// comments). However replies to replies may be supported in the future.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -1834,10 +1834,10 @@
async.Future<CommentListResponse> list(
core.List<core.String> part, {
core.List<core.String> id,
- core.String pageToken,
core.int maxResults,
- core.String textFormat,
+ core.String pageToken,
core.String parentId,
+ core.String textFormat,
core.String $fields,
}) {
core.String _url;
@@ -1854,18 +1854,18 @@
if (id != null) {
_queryParams['id'] = id;
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (textFormat != null) {
- _queryParams['textFormat'] = [textFormat];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if (parentId != null) {
_queryParams['parentId'] = [parentId];
}
+ if (textFormat != null) {
+ _queryParams['textFormat'] = [textFormat];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2219,8 +2219,6 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [streamId] - Stream to bind, if not set unbind the current one.
- ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -2238,6 +2236,8 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
+ /// [streamId] - Stream to bind, if not set unbind the current one.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2252,8 +2252,8 @@
core.String id,
core.List<core.String> part, {
core.String onBehalfOfContentOwner,
- core.String streamId,
core.String onBehalfOfContentOwnerChannel,
+ core.String streamId,
core.String $fields,
}) {
core.String _url;
@@ -2274,14 +2274,14 @@
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (streamId != null) {
- _queryParams['streamId'] = [streamId];
- }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
+ if (streamId != null) {
+ _queryParams['streamId'] = [streamId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2315,6 +2315,22 @@
///
/// [displaySlate] - Whether display or hide slate.
///
+ /// [offsetTimeMs] - The exact time when the actions (e.g. slate on) are
+ /// executed. It is an offset from the first frame of the monitor stream. If
+ /// not set, it means "now" or ASAP. This field should not be set if the
+ /// monitor stream is disabled, otherwise an error will be returned.
+ ///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -2335,22 +2351,6 @@
/// [walltime] - The wall clock time at which the action should be executed.
/// Only one of offset_time_ms and walltime may be set at a time.
///
- /// [offsetTimeMs] - The exact time when the actions (e.g. slate on) are
- /// executed. It is an offset from the first frame of the monitor stream. If
- /// not set, it means "now" or ASAP. This field should not be set if the
- /// monitor stream is disabled, otherwise an error will be returned.
- ///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2365,10 +2365,10 @@
core.String id,
core.List<core.String> part, {
core.bool displaySlate,
- core.String onBehalfOfContentOwnerChannel,
- core.String walltime,
core.String offsetTimeMs,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
+ core.String walltime,
core.String $fields,
}) {
core.String _url;
@@ -2389,6 +2389,12 @@
if (displaySlate != null) {
_queryParams['displaySlate'] = ['${displaySlate}'];
}
+ if (offsetTimeMs != null) {
+ _queryParams['offsetTimeMs'] = [offsetTimeMs];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
@@ -2397,12 +2403,6 @@
if (walltime != null) {
_queryParams['walltime'] = [walltime];
}
- if (offsetTimeMs != null) {
- _queryParams['offsetTimeMs'] = [offsetTimeMs];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2520,6 +2520,17 @@
/// you can include in the parameter value are id, snippet, contentDetails,
/// and status.
///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -2537,17 +2548,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2561,8 +2561,8 @@
async.Future<LiveBroadcast> insert(
LiveBroadcast request,
core.List<core.String> part, {
- core.String onBehalfOfContentOwnerChannel,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields,
}) {
core.String _url;
@@ -2579,14 +2579,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2614,9 +2614,40 @@
/// The part names that you can include in the parameter value are id,
/// snippet, contentDetails, status and statistics.
///
+ /// [broadcastStatus] - Return broadcasts with a certain status, e.g. active
+ /// broadcasts.
+ /// Possible string values are:
+ /// - "broadcastStatusFilterUnspecified"
+ /// - "all" : Return all broadcasts.
+ /// - "active" : Return current live broadcasts.
+ /// - "upcoming" : Return broadcasts that have not yet started.
+ /// - "completed" : Return broadcasts that have already ended.
+ ///
+ /// [broadcastType] - Return only broadcasts with the selected type.
+ /// Possible string values are:
+ /// - "broadcastTypeFilterUnspecified"
+ /// - "all" : Return all broadcasts.
+ /// - "event" : Return only scheduled event broadcasts.
+ /// - "persistent" : Return only persistent broadcasts.
+ ///
+ /// [id] - Return broadcasts with the given ids from Stubby or Apiary.
+ ///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
+ /// [mine] - null
+ ///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -2634,41 +2665,10 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [broadcastType] - Return only broadcasts with the selected type.
- /// Possible string values are:
- /// - "broadcastTypeFilterUnspecified"
- /// - "all" : Return all broadcasts.
- /// - "event" : Return only scheduled event broadcasts.
- /// - "persistent" : Return only persistent broadcasts.
- ///
- /// [broadcastStatus] - Return broadcasts with a certain status, e.g. active
- /// broadcasts.
- /// Possible string values are:
- /// - "broadcastStatusFilterUnspecified"
- /// - "all" : Return all broadcasts.
- /// - "active" : Return current live broadcasts.
- /// - "upcoming" : Return broadcasts that have not yet started.
- /// - "completed" : Return broadcasts that have already ended.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [mine] - null
- ///
- /// [id] - Return broadcasts with the given ids from Stubby or Apiary.
- ///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2681,14 +2681,14 @@
/// this method will complete with the same error.
async.Future<LiveBroadcastListResponse> list(
core.List<core.String> part, {
- core.int maxResults,
- core.String onBehalfOfContentOwnerChannel,
- core.String broadcastType,
core.String broadcastStatus,
- core.String pageToken,
- core.bool mine,
+ core.String broadcastType,
core.List<core.String> id,
+ core.int maxResults,
+ core.bool mine,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -2702,32 +2702,32 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (broadcastStatus != null) {
+ _queryParams['broadcastStatus'] = [broadcastStatus];
+ }
+ if (broadcastType != null) {
+ _queryParams['broadcastType'] = [broadcastType];
+ }
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (mine != null) {
+ _queryParams['mine'] = ['${mine}'];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (broadcastType != null) {
- _queryParams['broadcastType'] = [broadcastType];
- }
- if (broadcastStatus != null) {
- _queryParams['broadcastStatus'] = [broadcastStatus];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (mine != null) {
- _queryParams['mine'] = ['${mine}'];
- }
- if (id != null) {
- _queryParams['id'] = id;
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -2769,6 +2769,17 @@
/// The part names that you can include in the parameter value are id,
/// snippet, contentDetails, and status.
///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -2786,17 +2797,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -2811,8 +2811,8 @@
core.String id,
core.String broadcastStatus,
core.List<core.String> part, {
- core.String onBehalfOfContentOwnerChannel,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields,
}) {
core.String _url;
@@ -2834,14 +2834,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3201,19 +3201,19 @@
/// [part] - The *part* parameter specifies the liveChatComment resource parts
/// that the API response will include. Supported values are id and snippet.
///
- /// [pageToken] - The *pageToken* parameter identifies a specific page in the
- /// result set that should be returned. In an API response, the nextPageToken
- /// property identify other pages that could be retrieved.
+ /// [hl] - Specifies the localization language in which the system messages
+ /// should be returned.
///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
+ /// [pageToken] - The *pageToken* parameter identifies a specific page in the
+ /// result set that should be returned. In an API response, the nextPageToken
+ /// property identify other pages that could be retrieved.
+ ///
/// [profileImageSize] - Specifies the size of the profile image that should
/// be returned for each user.
///
- /// [hl] - Specifies the localization language in which the system messages
- /// should be returned.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3227,10 +3227,10 @@
async.Future<LiveChatMessageListResponse> list(
core.String liveChatId,
core.List<core.String> part, {
- core.String pageToken,
- core.int maxResults,
- core.int profileImageSize,
core.String hl,
+ core.int maxResults,
+ core.String pageToken,
+ core.int profileImageSize,
core.String $fields,
}) {
core.String _url;
@@ -3248,18 +3248,18 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (hl != null) {
+ _queryParams['hl'] = [hl];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
if (profileImageSize != null) {
_queryParams['profileImageSize'] = ['${profileImageSize}'];
}
- if (hl != null) {
- _queryParams['hl'] = [hl];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3479,6 +3479,17 @@
///
/// [id] - null
///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -3496,17 +3507,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3517,8 +3517,8 @@
/// this method will complete with the same error.
async.Future delete(
core.String id, {
- core.String onBehalfOfContentOwnerChannel,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields,
}) {
core.String _url;
@@ -3532,14 +3532,14 @@
throw core.ArgumentError('Parameter id is required.');
}
_queryParams['id'] = [id];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3667,6 +3667,22 @@
///
/// [id] - Return LiveStreams with the given ids from Stubby or Apiary.
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [mine] - null
+ ///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -3684,26 +3700,10 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [mine] - null
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3717,11 +3717,11 @@
async.Future<LiveStreamListResponse> list(
core.List<core.String> part, {
core.List<core.String> id,
- core.String onBehalfOfContentOwnerChannel,
- core.bool mine,
core.int maxResults,
- core.String pageToken,
+ core.bool mine,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3738,23 +3738,23 @@
if (id != null) {
_queryParams['id'] = id;
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
+ if (mine != null) {
+ _queryParams['mine'] = ['${mine}'];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (mine != null) {
- _queryParams['mine'] = ['${mine}'];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3788,6 +3788,17 @@
/// value specifies. If the request body does not specify a value for a
/// mutable property, the existing value for that property will be removed.
///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -3805,17 +3816,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -3829,8 +3829,8 @@
async.Future<LiveStream> update(
LiveStream request,
core.List<core.String> part, {
- core.String onBehalfOfContentOwnerChannel,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields,
}) {
core.String _url;
@@ -3847,14 +3847,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -3889,9 +3889,11 @@
/// [filterByMemberChannelId] - Comma separated list of channel IDs. Only data
/// about members that are part of this list will be included in the response.
///
- /// [pageToken] - The *pageToken* parameter identifies a specific page in the
- /// result set that should be returned. In an API response, the nextPageToken
- /// and prevPageToken properties identify other pages that could be retrieved.
+ /// [hasAccessToLevel] - Filter members in the results set to the ones that
+ /// have access to a level.
+ ///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
///
/// [mode] - Parameter that specifies which channel members to return.
/// Possible string values are:
@@ -3900,11 +3902,9 @@
/// this mode was made.
/// - "all_current" : Return all current members, from newest to oldest.
///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
- /// [hasAccessToLevel] - Filter members in the results set to the ones that
- /// have access to a level.
+ /// [pageToken] - The *pageToken* parameter identifies a specific page in the
+ /// result set that should be returned. In an API response, the nextPageToken
+ /// and prevPageToken properties identify other pages that could be retrieved.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -3919,10 +3919,10 @@
async.Future<MemberListResponse> list(
core.List<core.String> part, {
core.String filterByMemberChannelId,
- core.String pageToken,
- core.String mode,
- core.int maxResults,
core.String hasAccessToLevel,
+ core.int maxResults,
+ core.String mode,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -3939,17 +3939,17 @@
if (filterByMemberChannelId != null) {
_queryParams['filterByMemberChannelId'] = [filterByMemberChannelId];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (mode != null) {
- _queryParams['mode'] = [mode];
+ if (hasAccessToLevel != null) {
+ _queryParams['hasAccessToLevel'] = [hasAccessToLevel];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (hasAccessToLevel != null) {
- _queryParams['hasAccessToLevel'] = [hasAccessToLevel];
+ if (mode != null) {
+ _queryParams['mode'] = [mode];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -4183,6 +4183,8 @@
/// such, if you set *part=snippet*, the API response will contain all of
/// those properties.
///
+ /// [id] - null
+ ///
/// [maxResults] - The *maxResults* parameter specifies the maximum number of
/// items that should be returned in the result set.
///
@@ -4197,15 +4199,13 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [playlistId] - Return the playlist items within the given playlist.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [videoId] - Return the playlist items associated with the given video ID.
+ /// [playlistId] - Return the playlist items within the given playlist.
///
- /// [id] - null
+ /// [videoId] - Return the playlist items associated with the given video ID.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -4219,12 +4219,12 @@
/// this method will complete with the same error.
async.Future<PlaylistItemListResponse> list(
core.List<core.String> part, {
+ core.List<core.String> id,
core.int maxResults,
core.String onBehalfOfContentOwner,
- core.String playlistId,
core.String pageToken,
+ core.String playlistId,
core.String videoId,
- core.List<core.String> id,
core.String $fields,
}) {
core.String _url;
@@ -4238,24 +4238,24 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (playlistId != null) {
- _queryParams['playlistId'] = [playlistId];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
+ if (playlistId != null) {
+ _queryParams['playlistId'] = [playlistId];
+ }
if (videoId != null) {
_queryParams['videoId'] = [videoId];
}
- if (id != null) {
- _queryParams['id'] = id;
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4436,6 +4436,17 @@
/// identifies the properties that the write operation will set as well as the
/// properties that the API response will include.
///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -4453,17 +4464,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4477,8 +4477,8 @@
async.Future<Playlist> insert(
Playlist request,
core.List<core.String> part, {
- core.String onBehalfOfContentOwnerChannel,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String $fields,
}) {
core.String _url;
@@ -4495,14 +4495,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
];
}
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -4533,6 +4533,17 @@
/// title, description, tags, and timeCreated. As such, if you set
/// *part=snippet*, the API response will contain all of those properties.
///
+ /// [channelId] - Return the playlists owned by the specified channel ID.
+ ///
+ /// [hl] - Returen content in specified language
+ ///
+ /// [id] - Return the playlists with the given IDs for Stubby or Apiary.
+ ///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [mine] - Return the playlists owned by the authenticated user.
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -4561,17 +4572,6 @@
/// actions on behalf of the channel specified in the parameter value, without
/// having to provide authentication credentials for each separate channel.
///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
- /// [hl] - Returen content in specified language
- ///
- /// [id] - Return the playlists with the given IDs for Stubby or Apiary.
- ///
- /// [mine] - Return the playlists owned by the authenticated user.
- ///
- /// [channelId] - Return the playlists owned by the specified channel ID.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
@@ -4588,13 +4588,13 @@
/// this method will complete with the same error.
async.Future<PlaylistListResponse> list(
core.List<core.String> part, {
- core.String onBehalfOfContentOwner,
- core.String onBehalfOfContentOwnerChannel,
- core.int maxResults,
+ core.String channelId,
core.String hl,
core.List<core.String> id,
+ core.int maxResults,
core.bool mine,
- core.String channelId,
+ core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
core.String pageToken,
core.String $fields,
}) {
@@ -4609,16 +4609,8 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
- if (onBehalfOfContentOwnerChannel != null) {
- _queryParams['onBehalfOfContentOwnerChannel'] = [
- onBehalfOfContentOwnerChannel
- ];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (channelId != null) {
+ _queryParams['channelId'] = [channelId];
}
if (hl != null) {
_queryParams['hl'] = [hl];
@@ -4626,11 +4618,19 @@
if (id != null) {
_queryParams['id'] = id;
}
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (mine != null) {
_queryParams['mine'] = ['${mine}'];
}
- if (channelId != null) {
- _queryParams['channelId'] = [channelId];
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
+ if (onBehalfOfContentOwnerChannel != null) {
+ _queryParams['onBehalfOfContentOwnerChannel'] = [
+ onBehalfOfContentOwnerChannel
+ ];
}
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
@@ -4745,42 +4745,13 @@
/// more search resource properties that the API response will include. Set
/// the parameter value to snippet.
///
- /// [videoType] - Filter on videos of a specific type.
+ /// [channelId] - Filter on resources belonging to this channelId.
+ ///
+ /// [channelType] - Add a filter on the channel search.
/// Possible string values are:
- /// - "videoTypeUnspecified"
- /// - "any" : Return all videos.
- /// - "movie" : Only retrieve movies.
- /// - "episode" : Only retrieve episodes of shows.
- ///
- /// [videoDimension] - Filter on 3d videos.
- /// Possible string values are:
- /// - "any"
- /// - "2d" : Restrict search results to exclude 3D videos.
- /// - "3d" : Restrict search results to only include 3D videos.
- ///
- /// [forDeveloper] - Restrict the search to only retrieve videos uploaded
- /// using the project id of the authenticated user.
- ///
- /// [videoCategoryId] - Filter on videos in a specific category.
- ///
- /// [forContentOwner] - Search owned by a content owner.
- ///
- /// [videoLicense] - Filter on the license of the videos.
- /// Possible string values are:
- /// - "any" : Return all videos, regardless of which license they have, that
- /// match the query parameters.
- /// - "youtube" : Only return videos that have the standard YouTube license.
- /// - "creativeCommon" : Only return videos that have a Creative Commons
- /// license. Users can reuse videos with this license in other videos that
- /// they create. Learn more.
- ///
- /// [regionCode] - Display the content as seen by viewers in this country.
- ///
- /// [videoSyndicated] - Filter on syndicated videos.
- /// Possible string values are:
- /// - "videoSyndicatedUnspecified"
- /// - "any" : Return all videos, syndicated or not.
- /// - "true" : Only retrieve syndicated videos.
+ /// - "channelTypeUnspecified"
+ /// - "any" : Return all channels.
+ /// - "show" : Only retrieve shows.
///
/// [eventType] - Filter on the livestream status of the videos.
/// Possible string values are:
@@ -4789,31 +4760,31 @@
/// - "live" : The live broadcast is active.
/// - "completed" : The live broadcast has been completed.
///
+ /// [forContentOwner] - Search owned by a content owner.
+ ///
+ /// [forDeveloper] - Restrict the search to only retrieve videos uploaded
+ /// using the project id of the authenticated user.
+ ///
/// [forMine] - Search for the private videos of the authenticated user.
///
- /// [publishedBefore] - Filter on resources published before this date.
- ///
- /// [safeSearch] - Indicates whether the search results should include
- /// restricted content as well as standard content.
- /// Possible string values are:
- /// - "safeSearchSettingUnspecified"
- /// - "none" : YouTube will not filter the search result set.
- /// - "moderate" : YouTube will filter some content from search results and,
- /// at the least, will filter content that is restricted in your locale. Based
- /// on their content, search results could be removed from search results or
- /// demoted in search results. This is the default parameter value.
- /// - "strict" : YouTube will try to exclude all restricted content from the
- /// search result set. Based on their content, search results could be removed
- /// from search results or demoted in search results.
- ///
- /// [q] - Textual search terms to match.
- ///
/// [location] - Filter on location of the video
///
- /// [relatedToVideoId] - Search related to a resource.
- ///
/// [locationRadius] - Filter on distance from the location (specified above).
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [order] - Sort order of the results.
/// Possible string values are:
/// - "searchSortUnspecified"
@@ -4828,44 +4799,36 @@
/// - "videoCount" : Channels are sorted in descending order of their number
/// of uploaded videos.
///
- /// [videoDuration] - Filter on the duration of the videos.
- /// Possible string values are:
- /// - "videoDurationUnspecified"
- /// - "any" : Do not filter video search results based on their duration. This
- /// is the default value.
- /// - "short" : Only include videos that are less than four minutes long.
- /// - "medium" : Only include videos that are between four and 20 minutes long
- /// (inclusive).
- /// - "long" : Only include videos longer than 20 minutes.
+ /// [pageToken] - The *pageToken* parameter identifies a specific page in the
+ /// result set that should be returned. In an API response, the nextPageToken
+ /// and prevPageToken properties identify other pages that could be retrieved.
///
- /// [videoDefinition] - Filter on the definition of the videos.
- /// Possible string values are:
- /// - "any" : Return all videos, regardless of their resolution.
- /// - "standard" : Only retrieve videos in standard definition.
- /// - "high" : Only retrieve HD videos.
+ /// [publishedAfter] - Filter on resources published after this date.
///
- /// [channelType] - Add a filter on the channel search.
- /// Possible string values are:
- /// - "channelTypeUnspecified"
- /// - "any" : Return all channels.
- /// - "show" : Only retrieve shows.
+ /// [publishedBefore] - Filter on resources published before this date.
///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
+ /// [q] - Textual search terms to match.
///
- /// [channelId] - Filter on resources belonging to this channelId.
+ /// [regionCode] - Display the content as seen by viewers in this country.
+ ///
+ /// [relatedToVideoId] - Search related to a resource.
///
/// [relevanceLanguage] - Return results relevant to this language.
///
- /// [publishedAfter] - Filter on resources published after this date.
+ /// [safeSearch] - Indicates whether the search results should include
+ /// restricted content as well as standard content.
+ /// Possible string values are:
+ /// - "safeSearchSettingUnspecified"
+ /// - "none" : YouTube will not filter the search result set.
+ /// - "moderate" : YouTube will filter some content from search results and,
+ /// at the least, will filter content that is restricted in your locale. Based
+ /// on their content, search results could be removed from search results or
+ /// demoted in search results. This is the default parameter value.
+ /// - "strict" : YouTube will try to exclude all restricted content from the
+ /// search result set. Based on their content, search results could be removed
+ /// from search results or demoted in search results.
+ ///
+ /// [topicId] - Restrict results to a particular topic.
///
/// [type] - Restrict results to a particular set of resource types from One
/// Platform.
@@ -4877,14 +4840,29 @@
/// - "closedCaption" : Only include videos that have captions.
/// - "none" : Only include videos that do not have captions.
///
- /// [pageToken] - The *pageToken* parameter identifies a specific page in the
- /// result set that should be returned. In an API response, the nextPageToken
- /// and prevPageToken properties identify other pages that could be retrieved.
+ /// [videoCategoryId] - Filter on videos in a specific category.
///
- /// [topicId] - Restrict results to a particular topic.
+ /// [videoDefinition] - Filter on the definition of the videos.
+ /// Possible string values are:
+ /// - "any" : Return all videos, regardless of their resolution.
+ /// - "standard" : Only retrieve videos in standard definition.
+ /// - "high" : Only retrieve HD videos.
///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
+ /// [videoDimension] - Filter on 3d videos.
+ /// Possible string values are:
+ /// - "any"
+ /// - "2d" : Restrict search results to exclude 3D videos.
+ /// - "3d" : Restrict search results to only include 3D videos.
+ ///
+ /// [videoDuration] - Filter on the duration of the videos.
+ /// Possible string values are:
+ /// - "videoDurationUnspecified"
+ /// - "any" : Do not filter video search results based on their duration. This
+ /// is the default value.
+ /// - "short" : Only include videos that are less than four minutes long.
+ /// - "medium" : Only include videos that are between four and 20 minutes long
+ /// (inclusive).
+ /// - "long" : Only include videos longer than 20 minutes.
///
/// [videoEmbeddable] - Filter on embeddable videos.
/// Possible string values are:
@@ -4892,6 +4870,28 @@
/// - "any" : Return all videos, embeddable or not.
/// - "true" : Only retrieve embeddable videos.
///
+ /// [videoLicense] - Filter on the license of the videos.
+ /// Possible string values are:
+ /// - "any" : Return all videos, regardless of which license they have, that
+ /// match the query parameters.
+ /// - "youtube" : Only return videos that have the standard YouTube license.
+ /// - "creativeCommon" : Only return videos that have a Creative Commons
+ /// license. Users can reuse videos with this license in other videos that
+ /// they create. Learn more.
+ ///
+ /// [videoSyndicated] - Filter on syndicated videos.
+ /// Possible string values are:
+ /// - "videoSyndicatedUnspecified"
+ /// - "any" : Return all videos, syndicated or not.
+ /// - "true" : Only retrieve syndicated videos.
+ ///
+ /// [videoType] - Filter on videos of a specific type.
+ /// Possible string values are:
+ /// - "videoTypeUnspecified"
+ /// - "any" : Return all videos.
+ /// - "movie" : Only retrieve movies.
+ /// - "episode" : Only retrieve episodes of shows.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -4904,36 +4904,36 @@
/// this method will complete with the same error.
async.Future<SearchListResponse> list(
core.List<core.String> part, {
- core.String videoType,
- core.String videoDimension,
- core.bool forDeveloper,
- core.String videoCategoryId,
- core.bool forContentOwner,
- core.String videoLicense,
- core.String regionCode,
- core.String videoSyndicated,
- core.String eventType,
- core.bool forMine,
- core.String publishedBefore,
- core.String safeSearch,
- core.String q,
- core.String location,
- core.String relatedToVideoId,
- core.String locationRadius,
- core.String order,
- core.String videoDuration,
- core.String videoDefinition,
- core.String channelType,
- core.String onBehalfOfContentOwner,
core.String channelId,
- core.String relevanceLanguage,
+ core.String channelType,
+ core.String eventType,
+ core.bool forContentOwner,
+ core.bool forDeveloper,
+ core.bool forMine,
+ core.String location,
+ core.String locationRadius,
+ core.int maxResults,
+ core.String onBehalfOfContentOwner,
+ core.String order,
+ core.String pageToken,
core.String publishedAfter,
+ core.String publishedBefore,
+ core.String q,
+ core.String regionCode,
+ core.String relatedToVideoId,
+ core.String relevanceLanguage,
+ core.String safeSearch,
+ core.String topicId,
core.List<core.String> type,
core.String videoCaption,
- core.String pageToken,
- core.String topicId,
- core.int maxResults,
+ core.String videoCategoryId,
+ core.String videoDefinition,
+ core.String videoDimension,
+ core.String videoDuration,
core.String videoEmbeddable,
+ core.String videoLicense,
+ core.String videoSyndicated,
+ core.String videoType,
core.String $fields,
}) {
core.String _url;
@@ -4947,77 +4947,65 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (videoType != null) {
- _queryParams['videoType'] = [videoType];
- }
- if (videoDimension != null) {
- _queryParams['videoDimension'] = [videoDimension];
- }
- if (forDeveloper != null) {
- _queryParams['forDeveloper'] = ['${forDeveloper}'];
- }
- if (videoCategoryId != null) {
- _queryParams['videoCategoryId'] = [videoCategoryId];
- }
- if (forContentOwner != null) {
- _queryParams['forContentOwner'] = ['${forContentOwner}'];
- }
- if (videoLicense != null) {
- _queryParams['videoLicense'] = [videoLicense];
- }
- if (regionCode != null) {
- _queryParams['regionCode'] = [regionCode];
- }
- if (videoSyndicated != null) {
- _queryParams['videoSyndicated'] = [videoSyndicated];
- }
- if (eventType != null) {
- _queryParams['eventType'] = [eventType];
- }
- if (forMine != null) {
- _queryParams['forMine'] = ['${forMine}'];
- }
- if (publishedBefore != null) {
- _queryParams['publishedBefore'] = [publishedBefore];
- }
- if (safeSearch != null) {
- _queryParams['safeSearch'] = [safeSearch];
- }
- if (q != null) {
- _queryParams['q'] = [q];
- }
- if (location != null) {
- _queryParams['location'] = [location];
- }
- if (relatedToVideoId != null) {
- _queryParams['relatedToVideoId'] = [relatedToVideoId];
- }
- if (locationRadius != null) {
- _queryParams['locationRadius'] = [locationRadius];
- }
- if (order != null) {
- _queryParams['order'] = [order];
- }
- if (videoDuration != null) {
- _queryParams['videoDuration'] = [videoDuration];
- }
- if (videoDefinition != null) {
- _queryParams['videoDefinition'] = [videoDefinition];
+ if (channelId != null) {
+ _queryParams['channelId'] = [channelId];
}
if (channelType != null) {
_queryParams['channelType'] = [channelType];
}
+ if (eventType != null) {
+ _queryParams['eventType'] = [eventType];
+ }
+ if (forContentOwner != null) {
+ _queryParams['forContentOwner'] = ['${forContentOwner}'];
+ }
+ if (forDeveloper != null) {
+ _queryParams['forDeveloper'] = ['${forDeveloper}'];
+ }
+ if (forMine != null) {
+ _queryParams['forMine'] = ['${forMine}'];
+ }
+ if (location != null) {
+ _queryParams['location'] = [location];
+ }
+ if (locationRadius != null) {
+ _queryParams['locationRadius'] = [locationRadius];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
+ }
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (channelId != null) {
- _queryParams['channelId'] = [channelId];
+ if (order != null) {
+ _queryParams['order'] = [order];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (publishedAfter != null) {
+ _queryParams['publishedAfter'] = [publishedAfter];
+ }
+ if (publishedBefore != null) {
+ _queryParams['publishedBefore'] = [publishedBefore];
+ }
+ if (q != null) {
+ _queryParams['q'] = [q];
+ }
+ if (regionCode != null) {
+ _queryParams['regionCode'] = [regionCode];
+ }
+ if (relatedToVideoId != null) {
+ _queryParams['relatedToVideoId'] = [relatedToVideoId];
}
if (relevanceLanguage != null) {
_queryParams['relevanceLanguage'] = [relevanceLanguage];
}
- if (publishedAfter != null) {
- _queryParams['publishedAfter'] = [publishedAfter];
+ if (safeSearch != null) {
+ _queryParams['safeSearch'] = [safeSearch];
+ }
+ if (topicId != null) {
+ _queryParams['topicId'] = [topicId];
}
if (type != null) {
_queryParams['type'] = type;
@@ -5025,18 +5013,30 @@
if (videoCaption != null) {
_queryParams['videoCaption'] = [videoCaption];
}
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (videoCategoryId != null) {
+ _queryParams['videoCategoryId'] = [videoCategoryId];
}
- if (topicId != null) {
- _queryParams['topicId'] = [topicId];
+ if (videoDefinition != null) {
+ _queryParams['videoDefinition'] = [videoDefinition];
}
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
+ if (videoDimension != null) {
+ _queryParams['videoDimension'] = [videoDimension];
+ }
+ if (videoDuration != null) {
+ _queryParams['videoDuration'] = [videoDuration];
}
if (videoEmbeddable != null) {
_queryParams['videoEmbeddable'] = [videoEmbeddable];
}
+ if (videoLicense != null) {
+ _queryParams['videoLicense'] = [videoLicense];
+ }
+ if (videoSyndicated != null) {
+ _queryParams['videoSyndicated'] = [videoSyndicated];
+ }
+ if (videoType != null) {
+ _queryParams['videoType'] = [videoType];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5069,19 +5069,19 @@
/// [part] - The *part* parameter specifies the sponsor resource parts that
/// the API response will include. Supported values are id and snippet.
///
- /// [pageToken] - The *pageToken* parameter identifies a specific page in the
- /// result set that should be returned. In an API response, the nextPageToken
- /// and prevPageToken properties identify other pages that could be retrieved.
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
/// [filter] - Parameter that specifies which channel sponsors to return.
/// Possible string values are:
/// - "sponsorFilterUnknown"
/// - "newest" : Return the most recent sponsors, from newest to oldest.
/// - "all" : Return all sponsors, from newest to oldest.
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [pageToken] - The *pageToken* parameter identifies a specific page in the
+ /// result set that should be returned. In an API response, the nextPageToken
+ /// and prevPageToken properties identify other pages that could be retrieved.
+ ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5094,9 +5094,9 @@
/// this method will complete with the same error.
async.Future<SponsorListResponse> list(
core.List<core.String> part, {
- core.String pageToken,
- core.int maxResults,
core.String filter,
+ core.int maxResults,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -5110,14 +5110,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (filter != null) {
+ _queryParams['filter'] = [filter];
}
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
- if (filter != null) {
- _queryParams['filter'] = [filter];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -5261,6 +5261,22 @@
/// such as a display title for the subscription. If you set *part=snippet*,
/// the API response will also contain all of those nested properties.
///
+ /// [channelId] - Return the subscriptions of the given channel owner.
+ ///
+ /// [forChannelId] - Return the subscriptions to the subset of these channels
+ /// that the authenticated user is subscribed to.
+ ///
+ /// [id] - Return the subscriptions with the given IDs for Stubby or Apiary.
+ ///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set.
+ ///
+ /// [mine] - Flag for returning the subscriptions of the authenticated user.
+ ///
+ /// [myRecentSubscribers] - null
+ ///
+ /// [mySubscribers] - Return the subscribers of the given channel owner.
+ ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -5272,16 +5288,6 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [mine] - Flag for returning the subscriptions of the authenticated user.
- ///
- /// [channelId] - Return the subscriptions of the given channel owner.
- ///
- /// [forChannelId] - Return the subscriptions to the subset of these channels
- /// that the authenticated user is subscribed to.
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set.
- ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -5306,12 +5312,6 @@
/// - "unread" : Sort by order of activity.
/// - "alphabetical" : Sort alphabetically.
///
- /// [id] - Return the subscriptions with the given IDs for Stubby or Apiary.
- ///
- /// [myRecentSubscribers] - null
- ///
- /// [mySubscribers] - Return the subscribers of the given channel owner.
- ///
/// [pageToken] - The *pageToken* parameter identifies a specific page in the
/// result set that should be returned. In an API response, the nextPageToken
/// and prevPageToken properties identify other pages that could be retrieved.
@@ -5328,16 +5328,16 @@
/// this method will complete with the same error.
async.Future<SubscriptionListResponse> list(
core.List<core.String> part, {
- core.String onBehalfOfContentOwner,
- core.bool mine,
core.String channelId,
core.String forChannelId,
- core.int maxResults,
- core.String onBehalfOfContentOwnerChannel,
- core.String order,
core.List<core.String> id,
+ core.int maxResults,
+ core.bool mine,
core.bool myRecentSubscribers,
core.bool mySubscribers,
+ core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
+ core.String order,
core.String pageToken,
core.String $fields,
}) {
@@ -5352,21 +5352,30 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
- if (mine != null) {
- _queryParams['mine'] = ['${mine}'];
- }
if (channelId != null) {
_queryParams['channelId'] = [channelId];
}
if (forChannelId != null) {
_queryParams['forChannelId'] = [forChannelId];
}
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (mine != null) {
+ _queryParams['mine'] = ['${mine}'];
+ }
+ if (myRecentSubscribers != null) {
+ _queryParams['myRecentSubscribers'] = ['${myRecentSubscribers}'];
+ }
+ if (mySubscribers != null) {
+ _queryParams['mySubscribers'] = ['${mySubscribers}'];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
@@ -5375,15 +5384,6 @@
if (order != null) {
_queryParams['order'] = [order];
}
- if (id != null) {
- _queryParams['id'] = id;
- }
- if (myRecentSubscribers != null) {
- _queryParams['myRecentSubscribers'] = ['${myRecentSubscribers}'];
- }
- if (mySubscribers != null) {
- _queryParams['mySubscribers'] = ['${mySubscribers}'];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -5681,6 +5681,8 @@
/// that the API response will include. Supported values are linkingToken,
/// status, and snippet.
///
+ /// [linkingToken] - Get a third party link with the given linking token.
+ ///
/// [type] - Get a third party link of the given type.
/// Possible string values are:
/// - "linkUnspecified"
@@ -5688,8 +5690,6 @@
/// channel with a store on a merchandising platform in order to enable retail
/// commerce capabilities for that channel on YouTube.
///
- /// [linkingToken] - Get a third party link with the given linking token.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -5702,8 +5702,8 @@
/// this method will complete with the same error.
async.Future<ThirdPartyLink> list(
core.List<core.String> part, {
- core.String type,
core.String linkingToken,
+ core.String type,
core.String $fields,
}) {
core.String _url;
@@ -5717,12 +5717,12 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (type != null) {
- _queryParams['type'] = [type];
- }
if (linkingToken != null) {
_queryParams['linkingToken'] = [linkingToken];
}
+ if (type != null) {
+ _queryParams['type'] = [type];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -5966,12 +5966,12 @@
/// properties that the API response will include. Set the parameter value to
/// snippet.
///
- /// [regionCode] - null
+ /// [hl] - null
///
/// [id] - Returns the video categories with the given IDs for Stubby or
/// Apiary.
///
- /// [hl] - null
+ /// [regionCode] - null
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -5985,9 +5985,9 @@
/// this method will complete with the same error.
async.Future<VideoCategoryListResponse> list(
core.List<core.String> part, {
- core.String regionCode,
- core.List<core.String> id,
core.String hl,
+ core.List<core.String> id,
+ core.String regionCode,
core.String $fields,
}) {
core.String _url;
@@ -6001,14 +6001,14 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (regionCode != null) {
- _queryParams['regionCode'] = [regionCode];
+ if (hl != null) {
+ _queryParams['hl'] = [hl];
}
if (id != null) {
_queryParams['id'] = id;
}
- if (hl != null) {
- _queryParams['hl'] = [hl];
+ if (regionCode != null) {
+ _queryParams['regionCode'] = [regionCode];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -6180,6 +6180,20 @@
///
/// [autoLevels] - Should auto-levels be applied to the upload.
///
+ /// [notifySubscribers] - Notify the channel subscribers about the new video.
+ /// As default, the notification is enabled.
+ ///
+ /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
+ /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
+ /// indicates that the request's authorization credentials identify a YouTube
+ /// CMS user who is acting on behalf of the content owner specified in the
+ /// parameter value. This parameter is intended for YouTube content partners
+ /// that own and manage many different YouTube channels. It allows content
+ /// owners to authenticate once and get access to all their video and channel
+ /// data, without having to provide authentication credentials for each
+ /// individual channel. The CMS account that the user authenticates with must
+ /// be linked to the specified YouTube content owner.
+ ///
/// [onBehalfOfContentOwnerChannel] - This parameter can only be used in a
/// properly authorized request. *Note:* This parameter is intended
/// exclusively for YouTube content partners. The
@@ -6199,20 +6213,6 @@
///
/// [stabilize] - Should stabilize be applied to the upload.
///
- /// [notifySubscribers] - Notify the channel subscribers about the new video.
- /// As default, the notification is enabled.
- ///
- /// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
- /// for YouTube content partners. The *onBehalfOfContentOwner* parameter
- /// indicates that the request's authorization credentials identify a YouTube
- /// CMS user who is acting on behalf of the content owner specified in the
- /// parameter value. This parameter is intended for YouTube content partners
- /// that own and manage many different YouTube channels. It allows content
- /// owners to authenticate once and get access to all their video and channel
- /// data, without having to provide authentication credentials for each
- /// individual channel. The CMS account that the user authenticates with must
- /// be linked to the specified YouTube content owner.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6233,10 +6233,10 @@
Video request,
core.List<core.String> part, {
core.bool autoLevels,
- core.String onBehalfOfContentOwnerChannel,
- core.bool stabilize,
core.bool notifySubscribers,
core.String onBehalfOfContentOwner,
+ core.String onBehalfOfContentOwnerChannel,
+ core.bool stabilize,
core.String $fields,
commons.UploadOptions uploadOptions = commons.UploadOptions.Default,
commons.Media uploadMedia,
@@ -6258,6 +6258,12 @@
if (autoLevels != null) {
_queryParams['autoLevels'] = ['${autoLevels}'];
}
+ if (notifySubscribers != null) {
+ _queryParams['notifySubscribers'] = ['${notifySubscribers}'];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
if (onBehalfOfContentOwnerChannel != null) {
_queryParams['onBehalfOfContentOwnerChannel'] = [
onBehalfOfContentOwnerChannel
@@ -6266,12 +6272,6 @@
if (stabilize != null) {
_queryParams['stabilize'] = ['${stabilize}'];
}
- if (notifySubscribers != null) {
- _queryParams['notifySubscribers'] = ['${notifySubscribers}'];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
@@ -6311,16 +6311,31 @@
/// tags, and categoryId properties. As such, if you set *part=snippet*, the
/// API response will contain all of those properties.
///
- /// [maxWidth] - Return the player with maximum height specified in
- ///
/// [chart] - Return the videos that are in the specified chart.
/// Possible string values are:
/// - "chartUnspecified"
/// - "mostPopular" : Return the most popular videos for the specified content
/// region and video category.
///
+ /// [hl] - Stands for "host language". Specifies the localization language of
+ /// the metadata to be filled into snippet.localized. The field is filled with
+ /// the default metadata if there is no localization in the specified
+ /// language. The parameter value must be a language code included in the list
+ /// returned by the i18nLanguages.list method (e.g. en_US, es_MX).
+ ///
+ /// [id] - Return videos with the given ids.
+ ///
+ /// [locale] - null
+ ///
/// [maxHeight] - null
///
+ /// [maxResults] - The *maxResults* parameter specifies the maximum number of
+ /// items that should be returned in the result set. *Note:* This parameter is
+ /// supported for use in conjunction with the myRating and chart parameters,
+ /// but it is not supported for use in conjunction with the id parameter.
+ ///
+ /// [maxWidth] - Return the player with maximum height specified in
+ ///
/// [myRating] - Return videos liked/disliked by the authenticated user. Does
/// not support RateType.RATED_TYPE_NONE.
/// Possible string values are:
@@ -6328,19 +6343,6 @@
/// - "like" : The entity is liked.
/// - "dislike" : The entity is disliked.
///
- /// [regionCode] - Use a chart that is specific to the specified region
- ///
- /// [id] - Return videos with the given ids.
- ///
- /// [pageToken] - The *pageToken* parameter identifies a specific page in the
- /// result set that should be returned. In an API response, the nextPageToken
- /// and prevPageToken properties identify other pages that could be retrieved.
- /// *Note:* This parameter is supported for use in conjunction with the
- /// myRating and chart parameters, but it is not supported for use in
- /// conjunction with the id parameter.
- ///
- /// [locale] - null
- ///
/// [onBehalfOfContentOwner] - *Note:* This parameter is intended exclusively
/// for YouTube content partners. The *onBehalfOfContentOwner* parameter
/// indicates that the request's authorization credentials identify a YouTube
@@ -6352,20 +6354,18 @@
/// individual channel. The CMS account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
+ /// [pageToken] - The *pageToken* parameter identifies a specific page in the
+ /// result set that should be returned. In an API response, the nextPageToken
+ /// and prevPageToken properties identify other pages that could be retrieved.
+ /// *Note:* This parameter is supported for use in conjunction with the
+ /// myRating and chart parameters, but it is not supported for use in
+ /// conjunction with the id parameter.
+ ///
+ /// [regionCode] - Use a chart that is specific to the specified region
+ ///
/// [videoCategoryId] - Use chart that is specific to the specified video
/// category
///
- /// [hl] - Stands for "host language". Specifies the localization language of
- /// the metadata to be filled into snippet.localized. The field is filled with
- /// the default metadata if there is no localization in the specified
- /// language. The parameter value must be a language code included in the list
- /// returned by the i18nLanguages.list method (e.g. en_US, es_MX).
- ///
- /// [maxResults] - The *maxResults* parameter specifies the maximum number of
- /// items that should be returned in the result set. *Note:* This parameter is
- /// supported for use in conjunction with the myRating and chart parameters,
- /// but it is not supported for use in conjunction with the id parameter.
- ///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
///
@@ -6378,18 +6378,18 @@
/// this method will complete with the same error.
async.Future<VideoListResponse> list(
core.List<core.String> part, {
- core.int maxWidth,
core.String chart,
- core.int maxHeight,
- core.String myRating,
- core.String regionCode,
- core.List<core.String> id,
- core.String pageToken,
- core.String locale,
- core.String onBehalfOfContentOwner,
- core.String videoCategoryId,
core.String hl,
+ core.List<core.String> id,
+ core.String locale,
+ core.int maxHeight,
core.int maxResults,
+ core.int maxWidth,
+ core.String myRating,
+ core.String onBehalfOfContentOwner,
+ core.String pageToken,
+ core.String regionCode,
+ core.String videoCategoryId,
core.String $fields,
}) {
core.String _url;
@@ -6403,42 +6403,42 @@
throw core.ArgumentError('Parameter part is required.');
}
_queryParams['part'] = part;
- if (maxWidth != null) {
- _queryParams['maxWidth'] = ['${maxWidth}'];
- }
if (chart != null) {
_queryParams['chart'] = [chart];
}
- if (maxHeight != null) {
- _queryParams['maxHeight'] = ['${maxHeight}'];
- }
- if (myRating != null) {
- _queryParams['myRating'] = [myRating];
- }
- if (regionCode != null) {
- _queryParams['regionCode'] = [regionCode];
- }
- if (id != null) {
- _queryParams['id'] = id;
- }
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
- }
- if (locale != null) {
- _queryParams['locale'] = [locale];
- }
- if (onBehalfOfContentOwner != null) {
- _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
- }
- if (videoCategoryId != null) {
- _queryParams['videoCategoryId'] = [videoCategoryId];
- }
if (hl != null) {
_queryParams['hl'] = [hl];
}
+ if (id != null) {
+ _queryParams['id'] = id;
+ }
+ if (locale != null) {
+ _queryParams['locale'] = [locale];
+ }
+ if (maxHeight != null) {
+ _queryParams['maxHeight'] = ['${maxHeight}'];
+ }
if (maxResults != null) {
_queryParams['maxResults'] = ['${maxResults}'];
}
+ if (maxWidth != null) {
+ _queryParams['maxWidth'] = ['${maxWidth}'];
+ }
+ if (myRating != null) {
+ _queryParams['myRating'] = [myRating];
+ }
+ if (onBehalfOfContentOwner != null) {
+ _queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
+ }
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
+ }
+ if (regionCode != null) {
+ _queryParams['regionCode'] = [regionCode];
+ }
+ if (videoCategoryId != null) {
+ _queryParams['videoCategoryId'] = [videoCategoryId];
+ }
if ($fields != null) {
_queryParams['fields'] = [$fields];
}
diff --git a/generated/googleapis/lib/youtubeanalytics/v2.dart b/generated/googleapis/lib/youtubeanalytics/v2.dart
index f4b3d1d..4a28f4e 100644
--- a/generated/googleapis/lib/youtubeanalytics/v2.dart
+++ b/generated/googleapis/lib/youtubeanalytics/v2.dart
@@ -399,6 +399,13 @@
///
/// Request parameters:
///
+ /// [id] - The `id` parameter specifies a comma-separated list of the YouTube
+ /// group ID(s) for the resource(s) that are being retrieved. Each group must
+ /// be owned by the authenticated user. In a `group` resource, the `id`
+ /// property specifies the group's YouTube group ID. Note that if you do not
+ /// specify a value for the `id` parameter, then you must set the `mine`
+ /// parameter to `true`.
+ ///
/// [mine] - This parameter can only be used in a properly authorized request.
/// Set this parameter's value to true to retrieve all groups owned by the
/// authenticated user.
@@ -414,13 +421,6 @@
/// each individual channel. The account that the user authenticates with must
/// be linked to the specified YouTube content owner.
///
- /// [id] - The `id` parameter specifies a comma-separated list of the YouTube
- /// group ID(s) for the resource(s) that are being retrieved. Each group must
- /// be owned by the authenticated user. In a `group` resource, the `id`
- /// property specifies the group's YouTube group ID. Note that if you do not
- /// specify a value for the `id` parameter, then you must set the `mine`
- /// parameter to `true`.
- ///
/// [pageToken] - The `pageToken` parameter identifies a specific page in the
/// result set that should be returned. In an API response, the
/// `nextPageToken` property identifies the next page that can be retrieved.
@@ -436,9 +436,9 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListGroupsResponse> list({
+ core.String id,
core.bool mine,
core.String onBehalfOfContentOwner,
- core.String id,
core.String pageToken,
core.String $fields,
}) {
@@ -449,15 +449,15 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
+ if (id != null) {
+ _queryParams['id'] = [id];
+ }
if (mine != null) {
_queryParams['mine'] = ['${mine}'];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
}
- if (id != null) {
- _queryParams['id'] = [id];
- }
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
@@ -552,9 +552,46 @@
///
/// Request parameters:
///
- /// [startIndex] - An index of the first entity to retrieve. Use this
- /// parameter as a pagination mechanism along with the max-results parameter
- /// (one-based, inclusive).", minValue: 1
+ /// [currency] - The currency to which financial metrics should be converted.
+ /// The default is US Dollar (USD). If the result contains no financial
+ /// metrics, this flag will be ignored. Responds with an error if the
+ /// specified currency is not recognized.", pattern: [A-Z]{3}
+ ///
+ /// [dimensions] - A comma-separated list of YouTube Analytics dimensions,
+ /// such as `views` or `ageGroup,gender`. See the [Available
+ /// Reports](/youtube/analytics/v2/available_reports) document for a list of
+ /// the reports that you can retrieve and the dimensions used for those
+ /// reports. Also see the [Dimensions](/youtube/analytics/v2/dimsmets/dims)
+ /// document for definitions of those dimensions." pattern: [0-9a-zA-Z,]+
+ ///
+ /// [endDate] - The end date for fetching YouTube Analytics data. The value
+ /// should be in `YYYY-MM-DD` format. required: true, pattern:
+ /// [0-9]{4}-[0-9]{2}-[0-9]{2}
+ ///
+ /// [filters] - A list of filters that should be applied when retrieving
+ /// YouTube Analytics data. The [Available
+ /// Reports](/youtube/analytics/v2/available_reports) document identifies the
+ /// dimensions that can be used to filter each report, and the
+ /// [Dimensions](/youtube/analytics/v2/dimsmets/dims) document defines those
+ /// dimensions. If a request uses multiple filters, join them together with a
+ /// semicolon (`;`), and the returned result table will satisfy both filters.
+ /// For example, a filters parameter value of `video==dMH0bHeiRNg;country==IT`
+ /// restricts the result set to include data for the given video in Italy.",
+ ///
+ /// [ids] - Identifies the YouTube channel or content owner for which you are
+ /// retrieving YouTube Analytics data. - To request data for a YouTube user,
+ /// set the `ids` parameter value to `channel==CHANNEL_ID`, where `CHANNEL_ID`
+ /// specifies the unique YouTube channel ID. - To request data for a YouTube
+ /// CMS content owner, set the `ids` parameter value to
+ /// `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name of the
+ /// content owner. required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
+ ///
+ /// [includeHistoricalChannelData] - If set to true historical data (i.e.
+ /// channel data from before the linking of the channel to the content owner)
+ /// will be retrieved.",
+ ///
+ /// [maxResults] - The maximum number of rows to include in the response.",
+ /// minValue: 1
///
/// [metrics] - A comma-separated list of YouTube Analytics metrics, such as
/// `views` or `likes,dislikes`. See the [Available
@@ -569,50 +606,13 @@
/// ascending. The '`-`' prefix causes descending sort order.", pattern:
/// [-0-9a-zA-Z,]+
///
- /// [includeHistoricalChannelData] - If set to true historical data (i.e.
- /// channel data from before the linking of the channel to the content owner)
- /// will be retrieved.",
- ///
- /// [dimensions] - A comma-separated list of YouTube Analytics dimensions,
- /// such as `views` or `ageGroup,gender`. See the [Available
- /// Reports](/youtube/analytics/v2/available_reports) document for a list of
- /// the reports that you can retrieve and the dimensions used for those
- /// reports. Also see the [Dimensions](/youtube/analytics/v2/dimsmets/dims)
- /// document for definitions of those dimensions." pattern: [0-9a-zA-Z,]+
- ///
- /// [filters] - A list of filters that should be applied when retrieving
- /// YouTube Analytics data. The [Available
- /// Reports](/youtube/analytics/v2/available_reports) document identifies the
- /// dimensions that can be used to filter each report, and the
- /// [Dimensions](/youtube/analytics/v2/dimsmets/dims) document defines those
- /// dimensions. If a request uses multiple filters, join them together with a
- /// semicolon (`;`), and the returned result table will satisfy both filters.
- /// For example, a filters parameter value of `video==dMH0bHeiRNg;country==IT`
- /// restricts the result set to include data for the given video in Italy.",
- ///
- /// [maxResults] - The maximum number of rows to include in the response.",
- /// minValue: 1
- ///
- /// [currency] - The currency to which financial metrics should be converted.
- /// The default is US Dollar (USD). If the result contains no financial
- /// metrics, this flag will be ignored. Responds with an error if the
- /// specified currency is not recognized.", pattern: [A-Z]{3}
- ///
- /// [endDate] - The end date for fetching YouTube Analytics data. The value
- /// should be in `YYYY-MM-DD` format. required: true, pattern:
- /// [0-9]{4}-[0-9]{2}-[0-9]{2}
- ///
/// [startDate] - The start date for fetching YouTube Analytics data. The
/// value should be in `YYYY-MM-DD` format. required: true, pattern:
/// "[0-9]{4}-[0-9]{2}-[0-9]{2}
///
- /// [ids] - Identifies the YouTube channel or content owner for which you are
- /// retrieving YouTube Analytics data. - To request data for a YouTube user,
- /// set the `ids` parameter value to `channel==CHANNEL_ID`, where `CHANNEL_ID`
- /// specifies the unique YouTube channel ID. - To request data for a YouTube
- /// CMS content owner, set the `ids` parameter value to
- /// `contentOwner==OWNER_NAME`, where `OWNER_NAME` is the CMS name of the
- /// content owner. required: true, pattern: [a-zA-Z]+==[a-zA-Z0-9_+-]+
+ /// [startIndex] - An index of the first entity to retrieve. Use this
+ /// parameter as a pagination mechanism along with the max-results parameter
+ /// (one-based, inclusive).", minValue: 1
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -625,17 +625,17 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<QueryResponse> query({
- core.int startIndex,
+ core.String currency,
+ core.String dimensions,
+ core.String endDate,
+ core.String filters,
+ core.String ids,
+ core.bool includeHistoricalChannelData,
+ core.int maxResults,
core.String metrics,
core.String sort,
- core.bool includeHistoricalChannelData,
- core.String dimensions,
- core.String filters,
- core.int maxResults,
- core.String currency,
- core.String endDate,
core.String startDate,
- core.String ids,
+ core.int startIndex,
core.String $fields,
}) {
core.String _url;
@@ -645,8 +645,28 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (startIndex != null) {
- _queryParams['startIndex'] = ['${startIndex}'];
+ if (currency != null) {
+ _queryParams['currency'] = [currency];
+ }
+ if (dimensions != null) {
+ _queryParams['dimensions'] = [dimensions];
+ }
+ if (endDate != null) {
+ _queryParams['endDate'] = [endDate];
+ }
+ if (filters != null) {
+ _queryParams['filters'] = [filters];
+ }
+ if (ids != null) {
+ _queryParams['ids'] = [ids];
+ }
+ if (includeHistoricalChannelData != null) {
+ _queryParams['includeHistoricalChannelData'] = [
+ '${includeHistoricalChannelData}'
+ ];
+ }
+ if (maxResults != null) {
+ _queryParams['maxResults'] = ['${maxResults}'];
}
if (metrics != null) {
_queryParams['metrics'] = [metrics];
@@ -654,31 +674,11 @@
if (sort != null) {
_queryParams['sort'] = [sort];
}
- if (includeHistoricalChannelData != null) {
- _queryParams['includeHistoricalChannelData'] = [
- '${includeHistoricalChannelData}'
- ];
- }
- if (dimensions != null) {
- _queryParams['dimensions'] = [dimensions];
- }
- if (filters != null) {
- _queryParams['filters'] = [filters];
- }
- if (maxResults != null) {
- _queryParams['maxResults'] = ['${maxResults}'];
- }
- if (currency != null) {
- _queryParams['currency'] = [currency];
- }
- if (endDate != null) {
- _queryParams['endDate'] = [endDate];
- }
if (startDate != null) {
_queryParams['startDate'] = [startDate];
}
- if (ids != null) {
- _queryParams['ids'] = [ids];
+ if (startIndex != null) {
+ _queryParams['startIndex'] = ['${startIndex}'];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
diff --git a/generated/googleapis/lib/youtubereporting/v1.dart b/generated/googleapis/lib/youtubereporting/v1.dart
index d32fb89..754ad5b 100644
--- a/generated/googleapis/lib/youtubereporting/v1.dart
+++ b/generated/googleapis/lib/youtubereporting/v1.dart
@@ -241,10 +241,9 @@
///
/// Request parameters:
///
- /// [pageToken] - A token identifying a page of results the server should
- /// return. Typically, this is the value of
- /// ListReportTypesResponse.next_page_token returned in response to the
- /// previous call to the `ListJobs` method.
+ /// [includeSystemManaged] - If set to true, also system-managed jobs will be
+ /// returned; otherwise only user-created jobs will be returned.
+ /// System-managed jobs can neither be modified nor deleted.
///
/// [onBehalfOfContentOwner] - The content owner's external ID on which behalf
/// the user is acting on. If not set, the user is acting for himself (his own
@@ -253,9 +252,10 @@
/// [pageSize] - Requested page size. Server may return fewer jobs than
/// requested. If unspecified, server will pick an appropriate default.
///
- /// [includeSystemManaged] - If set to true, also system-managed jobs will be
- /// returned; otherwise only user-created jobs will be returned.
- /// System-managed jobs can neither be modified nor deleted.
+ /// [pageToken] - A token identifying a page of results the server should
+ /// return. Typically, this is the value of
+ /// ListReportTypesResponse.next_page_token returned in response to the
+ /// previous call to the `ListJobs` method.
///
/// [$fields] - Selector specifying which fields to include in a partial
/// response.
@@ -268,10 +268,10 @@
/// If the used [http.Client] completes with an error when making a REST call,
/// this method will complete with the same error.
async.Future<ListJobsResponse> list({
- core.String pageToken,
+ core.bool includeSystemManaged,
core.String onBehalfOfContentOwner,
core.int pageSize,
- core.bool includeSystemManaged,
+ core.String pageToken,
core.String $fields,
}) {
core.String _url;
@@ -281,8 +281,8 @@
var _downloadOptions = commons.DownloadOptions.Metadata;
core.String _body;
- if (pageToken != null) {
- _queryParams['pageToken'] = [pageToken];
+ if (includeSystemManaged != null) {
+ _queryParams['includeSystemManaged'] = ['${includeSystemManaged}'];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
@@ -290,8 +290,8 @@
if (pageSize != null) {
_queryParams['pageSize'] = ['${pageSize}'];
}
- if (includeSystemManaged != null) {
- _queryParams['includeSystemManaged'] = ['${includeSystemManaged}'];
+ if (pageToken != null) {
+ _queryParams['pageToken'] = [pageToken];
}
if ($fields != null) {
_queryParams['fields'] = [$fields];
@@ -389,8 +389,8 @@
///
/// [jobId] - The ID of the job.
///
- /// [startTimeAtOrAfter] - If set, only reports whose start time is greater
- /// than or equal the specified date/time are returned.
+ /// [createdAfter] - If set, only reports created after the specified
+ /// date/time are returned.
///
/// [onBehalfOfContentOwner] - The content owner's external ID on which behalf
/// the user is acting on. If not set, the user is acting for himself (his own
@@ -404,8 +404,8 @@
/// ListReportsResponse.next_page_token returned in response to the previous
/// call to the `ListReports` method.
///
- /// [createdAfter] - If set, only reports created after the specified
- /// date/time are returned.
+ /// [startTimeAtOrAfter] - If set, only reports whose start time is greater
+ /// than or equal the specified date/time are returned.
///
/// [startTimeBefore] - If set, only reports whose start time is smaller than
/// the specified date/time are returned.
@@ -422,11 +422,11 @@
/// this method will complete with the same error.
async.Future<ListReportsResponse> list(
core.String jobId, {
- core.String startTimeAtOrAfter,
+ core.String createdAfter,
core.String onBehalfOfContentOwner,
core.int pageSize,
core.String pageToken,
- core.String createdAfter,
+ core.String startTimeAtOrAfter,
core.String startTimeBefore,
core.String $fields,
}) {
@@ -440,8 +440,8 @@
if (jobId == null) {
throw core.ArgumentError('Parameter jobId is required.');
}
- if (startTimeAtOrAfter != null) {
- _queryParams['startTimeAtOrAfter'] = [startTimeAtOrAfter];
+ if (createdAfter != null) {
+ _queryParams['createdAfter'] = [createdAfter];
}
if (onBehalfOfContentOwner != null) {
_queryParams['onBehalfOfContentOwner'] = [onBehalfOfContentOwner];
@@ -452,8 +452,8 @@
if (pageToken != null) {
_queryParams['pageToken'] = [pageToken];
}
- if (createdAfter != null) {
- _queryParams['createdAfter'] = [createdAfter];
+ if (startTimeAtOrAfter != null) {
+ _queryParams['startTimeAtOrAfter'] = [startTimeAtOrAfter];
}
if (startTimeBefore != null) {
_queryParams['startTimeBefore'] = [startTimeBefore];
diff --git a/generated/googleapis/test/accessapproval/v1_test.dart b/generated/googleapis/test/accessapproval/v1_test.dart
index 9faeca0..9c8f7d7 100644
--- a/generated/googleapis/test/accessapproval/v1_test.dart
+++ b/generated/googleapis/test/accessapproval/v1_test.dart
@@ -765,8 +765,8 @@
api.FoldersApprovalRequestsResourceApi res =
api.AccessapprovalApi(mock).folders.approvalRequests;
var arg_parent = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -796,9 +796,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -811,8 +811,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1133,9 +1133,9 @@
api.OrganizationsApprovalRequestsResourceApi res =
api.AccessapprovalApi(mock).organizations.approvalRequests;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1164,11 +1164,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1179,9 +1179,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListApprovalRequestsResponse(response);
@@ -1498,8 +1498,8 @@
api.ProjectsApprovalRequestsResourceApi res =
api.AccessapprovalApi(mock).projects.approvalRequests;
var arg_parent = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1529,9 +1529,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1544,8 +1544,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/accesscontextmanager/v1_test.dart b/generated/googleapis/test/accesscontextmanager/v1_test.dart
index 331321d..3e563fa 100644
--- a/generated/googleapis/test/accesscontextmanager/v1_test.dart
+++ b/generated/googleapis/test/accesscontextmanager/v1_test.dart
@@ -1438,8 +1438,8 @@
var mock = HttpServerMock();
api.AccessPoliciesResourceApi res =
api.AccesscontextmanagerApi(mock).accessPolicies;
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_parent = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1468,10 +1468,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1483,8 +1483,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2393,9 +2393,9 @@
api.OperationsResourceApi res =
api.AccesscontextmanagerApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2424,11 +2424,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2439,9 +2439,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/admin/datatransfer_v1_test.dart b/generated/googleapis/test/admin/datatransfer_v1_test.dart
index 890609e..83f0529 100644
--- a/generated/googleapis/test/admin/datatransfer_v1_test.dart
+++ b/generated/googleapis/test/admin/datatransfer_v1_test.dart
@@ -401,9 +401,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ApplicationsResourceApi res = api.AdminApi(mock).applications;
- var arg_pageToken = 'foo';
var arg_customerId = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -432,11 +432,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -447,9 +447,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
customerId: arg_customerId,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkApplicationsListResponse(response);
@@ -560,11 +560,11 @@
var mock = HttpServerMock();
api.TransfersResourceApi res = api.AdminApi(mock).transfers;
var arg_customerId = 'foo';
- var arg_pageToken = 'foo';
- var arg_newOwnerUserId = 'foo';
var arg_maxResults = 42;
- var arg_status = 'foo';
+ var arg_newOwnerUserId = 'foo';
var arg_oldOwnerUserId = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_status = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -594,15 +594,15 @@
}
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["newOwnerUserId"].first,
- unittest.equals(arg_newOwnerUserId));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
+ unittest.expect(queryMap["newOwnerUserId"].first,
+ unittest.equals(arg_newOwnerUserId));
unittest.expect(queryMap["oldOwnerUserId"].first,
unittest.equals(arg_oldOwnerUserId));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -614,11 +614,11 @@
res
.list(
customerId: arg_customerId,
- pageToken: arg_pageToken,
- newOwnerUserId: arg_newOwnerUserId,
maxResults: arg_maxResults,
- status: arg_status,
+ newOwnerUserId: arg_newOwnerUserId,
oldOwnerUserId: arg_oldOwnerUserId,
+ pageToken: arg_pageToken,
+ status: arg_status,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDataTransfersListResponse(response);
diff --git a/generated/googleapis/test/admin/directory_v1_test.dart b/generated/googleapis/test/admin/directory_v1_test.dart
index b7b2c39..766a580 100644
--- a/generated/googleapis/test/admin/directory_v1_test.dart
+++ b/generated/googleapis/test/admin/directory_v1_test.dart
@@ -4301,13 +4301,13 @@
var mock = HttpServerMock();
api.ChromeosdevicesResourceApi res = api.AdminApi(mock).chromeosdevices;
var arg_customerId = 'foo';
- var arg_orderBy = 'foo';
- var arg_query = 'foo';
var arg_maxResults = 42;
- var arg_projection = 'foo';
+ var arg_orderBy = 'foo';
var arg_orgUnitPath = 'foo';
- var arg_sortOrder = 'foo';
var arg_pageToken = 'foo';
+ var arg_projection = 'foo';
+ var arg_query = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4344,19 +4344,19 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["orgUnitPath"].first, unittest.equals(arg_orgUnitPath));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4367,13 +4367,13 @@
}), true);
res
.list(arg_customerId,
- orderBy: arg_orderBy,
- query: arg_query,
maxResults: arg_maxResults,
- projection: arg_projection,
+ orderBy: arg_orderBy,
orgUnitPath: arg_orgUnitPath,
- sortOrder: arg_sortOrder,
pageToken: arg_pageToken,
+ projection: arg_projection,
+ query: arg_query,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChromeOsDevices(response);
@@ -5350,14 +5350,14 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.GroupsResourceApi res = api.AdminApi(mock).groups;
+ var arg_customer = 'foo';
+ var arg_domain = 'foo';
+ var arg_maxResults = 42;
var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
- var arg_sortOrder = 'foo';
- var arg_customer = 'foo';
var arg_query = 'foo';
- var arg_domain = 'foo';
+ var arg_sortOrder = 'foo';
var arg_userKey = 'foo';
- var arg_maxResults = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5386,19 +5386,19 @@
}
}
unittest.expect(
+ queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
- unittest.expect(
queryMap["userKey"].first, unittest.equals(arg_userKey));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5409,14 +5409,14 @@
}), true);
res
.list(
+ customer: arg_customer,
+ domain: arg_domain,
+ maxResults: arg_maxResults,
orderBy: arg_orderBy,
pageToken: arg_pageToken,
- sortOrder: arg_sortOrder,
- customer: arg_customer,
query: arg_query,
- domain: arg_domain,
+ sortOrder: arg_sortOrder,
userKey: arg_userKey,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGroups(response);
@@ -5942,9 +5942,9 @@
var mock = HttpServerMock();
api.MembersResourceApi res = api.AdminApi(mock).members;
var arg_groupKey = 'foo';
+ var arg_includeDerivedMembership = true;
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_includeDerivedMembership = true;
var arg_roles = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5982,12 +5982,12 @@
);
}
}
+ unittest.expect(queryMap["includeDerivedMembership"].first,
+ unittest.equals("$arg_includeDerivedMembership"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["includeDerivedMembership"].first,
- unittest.equals("$arg_includeDerivedMembership"));
unittest.expect(queryMap["roles"].first, unittest.equals(arg_roles));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5999,9 +5999,9 @@
}), true);
res
.list(arg_groupKey,
+ includeDerivedMembership: arg_includeDerivedMembership,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- includeDerivedMembership: arg_includeDerivedMembership,
roles: arg_roles,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6330,12 +6330,12 @@
var mock = HttpServerMock();
api.MobiledevicesResourceApi res = api.AdminApi(mock).mobiledevices;
var arg_customerId = 'foo';
- var arg_projection = 'foo';
- var arg_pageToken = 'foo';
- var arg_query = 'foo';
- var arg_orderBy = 'foo';
- var arg_sortOrder = 'foo';
var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_projection = 'foo';
+ var arg_query = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6372,17 +6372,17 @@
);
}
}
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6393,12 +6393,12 @@
}), true);
res
.list(arg_customerId,
- projection: arg_projection,
- pageToken: arg_pageToken,
- query: arg_query,
- orderBy: arg_orderBy,
- sortOrder: arg_sortOrder,
maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ projection: arg_projection,
+ query: arg_query,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMobileDevices(response);
@@ -7392,10 +7392,10 @@
api.ResourcesCalendarsResourceApi res =
api.AdminApi(mock).resources.calendars;
var arg_customer = 'foo';
- var arg_orderBy = 'foo';
- var arg_query = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_query = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7432,13 +7432,13 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7449,10 +7449,10 @@
}), true);
res
.list(arg_customer,
- orderBy: arg_orderBy,
- query: arg_query,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ query: arg_query,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCalendarResources(response);
@@ -9289,9 +9289,9 @@
var mock = HttpServerMock();
api.UsersResourceApi res = api.AdminApi(mock).users;
var arg_userKey = 'foo';
- var arg_viewType = 'foo';
var arg_customFieldMask = 'foo';
var arg_projection = 'foo';
+ var arg_viewType = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9322,12 +9322,12 @@
);
}
}
- unittest.expect(
- queryMap["viewType"].first, unittest.equals(arg_viewType));
unittest.expect(queryMap["customFieldMask"].first,
unittest.equals(arg_customFieldMask));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(
+ queryMap["viewType"].first, unittest.equals(arg_viewType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9338,9 +9338,9 @@
}), true);
res
.get(arg_userKey,
- viewType: arg_viewType,
customFieldMask: arg_customFieldMask,
projection: arg_projection,
+ viewType: arg_viewType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUser(response);
@@ -9399,17 +9399,17 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.UsersResourceApi res = api.AdminApi(mock).users;
- var arg_maxResults = 42;
+ var arg_customFieldMask = 'foo';
+ var arg_customer = 'foo';
var arg_domain = 'foo';
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
+ var arg_projection = 'foo';
+ var arg_query = 'foo';
+ var arg_showDeleted = 'foo';
var arg_sortOrder = 'foo';
var arg_viewType = 'foo';
- var arg_orderBy = 'foo';
- var arg_showDeleted = 'foo';
- var arg_query = 'foo';
- var arg_projection = 'foo';
- var arg_customer = 'foo';
- var arg_customFieldMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9437,26 +9437,26 @@
);
}
}
+ unittest.expect(queryMap["customFieldMask"].first,
+ unittest.equals(arg_customFieldMask));
+ unittest.expect(
+ queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals(arg_showDeleted));
+ unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(
queryMap["viewType"].first, unittest.equals(arg_viewType));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals(arg_showDeleted));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(queryMap["customFieldMask"].first,
- unittest.equals(arg_customFieldMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9467,17 +9467,17 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
+ customFieldMask: arg_customFieldMask,
+ customer: arg_customer,
domain: arg_domain,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ projection: arg_projection,
+ query: arg_query,
+ showDeleted: arg_showDeleted,
sortOrder: arg_sortOrder,
viewType: arg_viewType,
- orderBy: arg_orderBy,
- showDeleted: arg_showDeleted,
- query: arg_query,
- projection: arg_projection,
- customer: arg_customer,
- customFieldMask: arg_customFieldMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsers(response);
@@ -9761,18 +9761,18 @@
var mock = HttpServerMock();
api.UsersResourceApi res = api.AdminApi(mock).users;
var arg_request = buildChannel();
- var arg_viewType = 'foo';
- var arg_query = 'foo';
- var arg_domain = 'foo';
- var arg_sortOrder = 'foo';
- var arg_event = 'foo';
- var arg_pageToken = 'foo';
- var arg_customer = 'foo';
- var arg_orderBy = 'foo';
- var arg_maxResults = 42;
var arg_customFieldMask = 'foo';
- var arg_showDeleted = 'foo';
+ var arg_customer = 'foo';
+ var arg_domain = 'foo';
+ var arg_event = 'foo';
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
var arg_projection = 'foo';
+ var arg_query = 'foo';
+ var arg_showDeleted = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_viewType = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -9803,27 +9803,27 @@
);
}
}
- unittest.expect(
- queryMap["viewType"].first, unittest.equals(arg_viewType));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["event"].first, unittest.equals(arg_event));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["customFieldMask"].first,
unittest.equals(arg_customFieldMask));
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals(arg_showDeleted));
+ queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(queryMap["domain"].first, unittest.equals(arg_domain));
+ unittest.expect(queryMap["event"].first, unittest.equals(arg_event));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals(arg_showDeleted));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["viewType"].first, unittest.equals(arg_viewType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9834,18 +9834,18 @@
}), true);
res
.watch(arg_request,
- viewType: arg_viewType,
- query: arg_query,
- domain: arg_domain,
- sortOrder: arg_sortOrder,
- event: arg_event,
- pageToken: arg_pageToken,
- customer: arg_customer,
- orderBy: arg_orderBy,
- maxResults: arg_maxResults,
customFieldMask: arg_customFieldMask,
- showDeleted: arg_showDeleted,
+ customer: arg_customer,
+ domain: arg_domain,
+ event: arg_event,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
projection: arg_projection,
+ query: arg_query,
+ showDeleted: arg_showDeleted,
+ sortOrder: arg_sortOrder,
+ viewType: arg_viewType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
index 9ee2855..317747f 100644
--- a/generated/googleapis/test/admin/reports_v1_test.dart
+++ b/generated/googleapis/test/admin/reports_v1_test.dart
@@ -882,14 +882,14 @@
var arg_userKey = 'foo';
var arg_applicationName = 'foo';
var arg_actorIpAddress = 'foo';
- var arg_filters = 'foo';
- var arg_startTime = 'foo';
- var arg_orgUnitID = 'foo';
- var arg_endTime = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_customerId = 'foo';
+ var arg_endTime = 'foo';
var arg_eventName = 'foo';
+ var arg_filters = 'foo';
+ var arg_maxResults = 42;
+ var arg_orgUnitID = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_startTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -932,21 +932,21 @@
unittest.expect(queryMap["actorIpAddress"].first,
unittest.equals(arg_actorIpAddress));
unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
- unittest.expect(
- queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
+ queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["eventName"].first, unittest.equals(arg_eventName));
+ unittest.expect(
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["customerId"].first, unittest.equals(arg_customerId));
+ queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
unittest.expect(
- queryMap["eventName"].first, unittest.equals(arg_eventName));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -958,14 +958,14 @@
res
.list(arg_userKey, arg_applicationName,
actorIpAddress: arg_actorIpAddress,
- filters: arg_filters,
- startTime: arg_startTime,
- orgUnitID: arg_orgUnitID,
- endTime: arg_endTime,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
customerId: arg_customerId,
+ endTime: arg_endTime,
eventName: arg_eventName,
+ filters: arg_filters,
+ maxResults: arg_maxResults,
+ orgUnitID: arg_orgUnitID,
+ pageToken: arg_pageToken,
+ startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkActivities(response);
@@ -978,14 +978,14 @@
var arg_request = buildChannel();
var arg_userKey = 'foo';
var arg_applicationName = 'foo';
- var arg_eventName = 'foo';
+ var arg_actorIpAddress = 'foo';
var arg_customerId = 'foo';
- var arg_orgUnitID = 'foo';
var arg_endTime = 'foo';
+ var arg_eventName = 'foo';
var arg_filters = 'foo';
var arg_maxResults = 42;
+ var arg_orgUnitID = 'foo';
var arg_pageToken = 'foo';
- var arg_actorIpAddress = 'foo';
var arg_startTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1035,22 +1035,22 @@
);
}
}
- unittest.expect(
- queryMap["eventName"].first, unittest.equals(arg_eventName));
+ unittest.expect(queryMap["actorIpAddress"].first,
+ unittest.equals(arg_actorIpAddress));
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(
- queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
- unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(
+ queryMap["eventName"].first, unittest.equals(arg_eventName));
+ unittest.expect(
queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["actorIpAddress"].first,
- unittest.equals(arg_actorIpAddress));
unittest.expect(
queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1063,14 +1063,14 @@
}), true);
res
.watch(arg_request, arg_userKey, arg_applicationName,
- eventName: arg_eventName,
+ actorIpAddress: arg_actorIpAddress,
customerId: arg_customerId,
- orgUnitID: arg_orgUnitID,
endTime: arg_endTime,
+ eventName: arg_eventName,
filters: arg_filters,
maxResults: arg_maxResults,
+ orgUnitID: arg_orgUnitID,
pageToken: arg_pageToken,
- actorIpAddress: arg_actorIpAddress,
startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1135,8 +1135,8 @@
api.AdminApi(mock).customerUsageReports;
var arg_date = 'foo';
var arg_customerId = 'foo';
- var arg_parameters = 'foo';
var arg_pageToken = 'foo';
+ var arg_parameters = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1170,9 +1170,9 @@
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(
- queryMap["parameters"].first, unittest.equals(arg_parameters));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["parameters"].first, unittest.equals(arg_parameters));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1184,8 +1184,8 @@
res
.get(arg_date,
customerId: arg_customerId,
- parameters: arg_parameters,
pageToken: arg_pageToken,
+ parameters: arg_parameters,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
@@ -1201,11 +1201,11 @@
var arg_entityType = 'foo';
var arg_entityKey = 'foo';
var arg_date = 'foo';
+ var arg_customerId = 'foo';
var arg_filters = 'foo';
var arg_maxResults = 42;
- var arg_parameters = 'foo';
var arg_pageToken = 'foo';
- var arg_customerId = 'foo';
+ var arg_parameters = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1255,15 +1255,15 @@
}
}
unittest.expect(
+ queryMap["customerId"].first, unittest.equals(arg_customerId));
+ unittest.expect(
queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["parameters"].first, unittest.equals(arg_parameters));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["customerId"].first, unittest.equals(arg_customerId));
+ queryMap["parameters"].first, unittest.equals(arg_parameters));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1274,11 +1274,11 @@
}), true);
res
.get(arg_entityType, arg_entityKey, arg_date,
+ customerId: arg_customerId,
filters: arg_filters,
maxResults: arg_maxResults,
- parameters: arg_parameters,
pageToken: arg_pageToken,
- customerId: arg_customerId,
+ parameters: arg_parameters,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
@@ -1292,12 +1292,12 @@
api.UserUsageReportResourceApi res = api.AdminApi(mock).userUsageReport;
var arg_userKey = 'foo';
var arg_date = 'foo';
- var arg_maxResults = 42;
var arg_customerId = 'foo';
- var arg_orgUnitID = 'foo';
- var arg_parameters = 'foo';
- var arg_pageToken = 'foo';
var arg_filters = 'foo';
+ var arg_maxResults = 42;
+ var arg_orgUnitID = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_parameters = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1337,18 +1337,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
unittest.expect(
- queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
+ queryMap["filters"].first, unittest.equals(arg_filters));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["parameters"].first, unittest.equals(arg_parameters));
+ queryMap["orgUnitID"].first, unittest.equals(arg_orgUnitID));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
+ queryMap["parameters"].first, unittest.equals(arg_parameters));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1359,12 +1359,12 @@
}), true);
res
.get(arg_userKey, arg_date,
- maxResults: arg_maxResults,
customerId: arg_customerId,
- orgUnitID: arg_orgUnitID,
- parameters: arg_parameters,
- pageToken: arg_pageToken,
filters: arg_filters,
+ maxResults: arg_maxResults,
+ orgUnitID: arg_orgUnitID,
+ pageToken: arg_pageToken,
+ parameters: arg_parameters,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUsageReports(response);
diff --git a/generated/googleapis/test/adsense/v1_4_test.dart b/generated/googleapis/test/adsense/v1_4_test.dart
index 4becf69..d628ee4 100644
--- a/generated/googleapis/test/adsense/v1_4_test.dart
+++ b/generated/googleapis/test/adsense/v1_4_test.dart
@@ -1575,8 +1575,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.AccountsResourceApi res = api.AdsenseApi(mock).accounts;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1607,10 +1607,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1621,8 +1621,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAccounts(response);
@@ -1935,8 +1935,8 @@
var arg_accountId = 'foo';
var arg_adClientId = 'foo';
var arg_includeInactive = true;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1987,10 +1987,10 @@
}
unittest.expect(queryMap["includeInactive"].first,
unittest.equals("$arg_includeInactive"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2002,8 +2002,8 @@
res
.list(arg_accountId, arg_adClientId,
includeInactive: arg_includeInactive,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdUnits(response);
@@ -2543,15 +2543,15 @@
var arg_accountId = 'foo';
var arg_startDate = 'foo';
var arg_endDate = 'foo';
- var arg_useTimezoneReporting = true;
- var arg_locale = 'foo';
var arg_currency = 'foo';
- var arg_filter = buildUnnamed3660();
+ var arg_dimension = buildUnnamed3660();
+ var arg_filter = buildUnnamed3661();
+ var arg_locale = 'foo';
var arg_maxResults = 42;
- var arg_sort = buildUnnamed3661();
- var arg_dimension = buildUnnamed3662();
- var arg_metric = buildUnnamed3663();
+ var arg_metric = buildUnnamed3662();
+ var arg_sort = buildUnnamed3663();
var arg_startIndex = 42;
+ var arg_useTimezoneReporting = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2595,19 +2595,19 @@
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(queryMap["useTimezoneReporting"].first,
- unittest.equals("$arg_useTimezoneReporting"));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(
queryMap["currency"].first, unittest.equals(arg_currency));
+ unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
- unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["useTimezoneReporting"].first,
+ unittest.equals("$arg_useTimezoneReporting"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2618,15 +2618,15 @@
}), true);
res
.generate(arg_accountId, arg_startDate, arg_endDate,
- useTimezoneReporting: arg_useTimezoneReporting,
- locale: arg_locale,
currency: arg_currency,
- filter: arg_filter,
- maxResults: arg_maxResults,
- sort: arg_sort,
dimension: arg_dimension,
+ filter: arg_filter,
+ locale: arg_locale,
+ maxResults: arg_maxResults,
metric: arg_metric,
+ sort: arg_sort,
startIndex: arg_startIndex,
+ useTimezoneReporting: arg_useTimezoneReporting,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -2641,9 +2641,9 @@
api.AdsenseApi(mock).accounts.reports.saved;
var arg_accountId = 'foo';
var arg_savedReportId = 'foo';
- var arg_startIndex = 42;
var arg_locale = 'foo';
var arg_maxResults = 42;
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2686,11 +2686,11 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2701,9 +2701,9 @@
}), true);
res
.generate(arg_accountId, arg_savedReportId,
- startIndex: arg_startIndex,
locale: arg_locale,
maxResults: arg_maxResults,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -2715,8 +2715,8 @@
api.AccountsReportsSavedResourceApi res =
api.AdsenseApi(mock).accounts.reports.saved;
var arg_accountId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2756,10 +2756,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2770,8 +2770,8 @@
}), true);
res
.list(arg_accountId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedReports(response);
@@ -3186,9 +3186,9 @@
var mock = HttpServerMock();
api.AdunitsResourceApi res = api.AdsenseApi(mock).adunits;
var arg_adClientId = 'foo';
+ var arg_includeInactive = true;
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_includeInactive = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3228,12 +3228,12 @@
);
}
}
+ unittest.expect(queryMap["includeInactive"].first,
+ unittest.equals("$arg_includeInactive"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3244,9 +3244,9 @@
}), true);
res
.list(arg_adClientId,
+ includeInactive: arg_includeInactive,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- includeInactive: arg_includeInactive,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdUnits(response);
@@ -3261,8 +3261,8 @@
api.AdsenseApi(mock).adunits.customchannels;
var arg_adClientId = 'foo';
var arg_adUnitId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3311,10 +3311,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3325,8 +3325,8 @@
}), true);
res
.list(arg_adClientId, arg_adUnitId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomChannels(response);
@@ -3503,8 +3503,8 @@
var mock = HttpServerMock();
api.CustomchannelsResourceApi res = api.AdsenseApi(mock).customchannels;
var arg_adClientId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3544,10 +3544,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3558,8 +3558,8 @@
}), true);
res
.list(arg_adClientId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomChannels(response);
@@ -3574,9 +3574,9 @@
api.AdsenseApi(mock).customchannels.adunits;
var arg_adClientId = 'foo';
var arg_customChannelId = 'foo';
- var arg_pageToken = 'foo';
var arg_includeInactive = true;
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3625,12 +3625,12 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeInactive"].first,
unittest.equals("$arg_includeInactive"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3641,9 +3641,9 @@
}), true);
res
.list(arg_adClientId, arg_customChannelId,
- pageToken: arg_pageToken,
includeInactive: arg_includeInactive,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdUnits(response);
@@ -3806,16 +3806,16 @@
api.ReportsResourceApi res = api.AdsenseApi(mock).reports;
var arg_startDate = 'foo';
var arg_endDate = 'foo';
- var arg_metric = buildUnnamed3664();
- var arg_accountId = buildUnnamed3665();
+ var arg_accountId = buildUnnamed3664();
var arg_currency = 'foo';
+ var arg_dimension = buildUnnamed3665();
+ var arg_filter = buildUnnamed3666();
var arg_locale = 'foo';
- var arg_useTimezoneReporting = true;
- var arg_startIndex = 42;
var arg_maxResults = 42;
- var arg_sort = buildUnnamed3666();
- var arg_dimension = buildUnnamed3667();
- var arg_filter = buildUnnamed3668();
+ var arg_metric = buildUnnamed3667();
+ var arg_sort = buildUnnamed3668();
+ var arg_startIndex = 42;
+ var arg_useTimezoneReporting = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3850,20 +3850,20 @@
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["accountId"], unittest.equals(arg_accountId));
unittest.expect(
queryMap["currency"].first, unittest.equals(arg_currency));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["useTimezoneReporting"].first,
- unittest.equals("$arg_useTimezoneReporting"));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["useTimezoneReporting"].first,
+ unittest.equals("$arg_useTimezoneReporting"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3874,16 +3874,16 @@
}), true);
res
.generate(arg_startDate, arg_endDate,
- metric: arg_metric,
accountId: arg_accountId,
currency: arg_currency,
- locale: arg_locale,
- useTimezoneReporting: arg_useTimezoneReporting,
- startIndex: arg_startIndex,
- maxResults: arg_maxResults,
- sort: arg_sort,
dimension: arg_dimension,
filter: arg_filter,
+ locale: arg_locale,
+ maxResults: arg_maxResults,
+ metric: arg_metric,
+ sort: arg_sort,
+ startIndex: arg_startIndex,
+ useTimezoneReporting: arg_useTimezoneReporting,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -3896,9 +3896,9 @@
var mock = HttpServerMock();
api.ReportsSavedResourceApi res = api.AdsenseApi(mock).reports.saved;
var arg_savedReportId = 'foo';
- var arg_startIndex = 42;
- var arg_maxResults = 42;
var arg_locale = 'foo';
+ var arg_maxResults = 42;
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3932,11 +3932,11 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3947,9 +3947,9 @@
}), true);
res
.generate(arg_savedReportId,
- startIndex: arg_startIndex,
- maxResults: arg_maxResults,
locale: arg_locale,
+ maxResults: arg_maxResults,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsenseReportsGenerateResponse(response);
@@ -3959,8 +3959,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ReportsSavedResourceApi res = api.AdsenseApi(mock).reports.saved;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3991,10 +3991,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4005,8 +4005,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedReports(response);
@@ -4070,8 +4070,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.SavedadstylesResourceApi res = api.AdsenseApi(mock).savedadstyles;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4102,10 +4102,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4116,8 +4116,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSavedAdStyles(response);
@@ -4130,8 +4130,8 @@
var mock = HttpServerMock();
api.UrlchannelsResourceApi res = api.AdsenseApi(mock).urlchannels;
var arg_adClientId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4171,10 +4171,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4185,8 +4185,8 @@
}), true);
res
.list(arg_adClientId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUrlChannels(response);
diff --git a/generated/googleapis/test/adsensehost/v4_1_test.dart b/generated/googleapis/test/adsensehost/v4_1_test.dart
index f32c509..68e8328 100644
--- a/generated/googleapis/test/adsensehost/v4_1_test.dart
+++ b/generated/googleapis/test/adsensehost/v4_1_test.dart
@@ -1590,8 +1590,8 @@
var arg_accountId = 'foo';
var arg_adClientId = 'foo';
var arg_includeInactive = true;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1642,10 +1642,10 @@
}
unittest.expect(queryMap["includeInactive"].first,
unittest.equals("$arg_includeInactive"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1657,8 +1657,8 @@
res
.list(arg_accountId, arg_adClientId,
includeInactive: arg_includeInactive,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdUnits(response);
@@ -1825,13 +1825,13 @@
var arg_accountId = 'foo';
var arg_startDate = 'foo';
var arg_endDate = 'foo';
- var arg_filter = buildUnnamed4320();
- var arg_startIndex = 42;
+ var arg_dimension = buildUnnamed4320();
+ var arg_filter = buildUnnamed4321();
var arg_locale = 'foo';
- var arg_metric = buildUnnamed4321();
- var arg_sort = buildUnnamed4322();
var arg_maxResults = 42;
- var arg_dimension = buildUnnamed4323();
+ var arg_metric = buildUnnamed4322();
+ var arg_sort = buildUnnamed4323();
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1875,15 +1875,15 @@
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
+ unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
- unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
+ unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1894,13 +1894,13 @@
}), true);
res
.generate(arg_accountId, arg_startDate, arg_endDate,
+ dimension: arg_dimension,
filter: arg_filter,
- startIndex: arg_startIndex,
locale: arg_locale,
+ maxResults: arg_maxResults,
metric: arg_metric,
sort: arg_sort,
- maxResults: arg_maxResults,
- dimension: arg_dimension,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReport(response);
@@ -1964,8 +1964,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.AdclientsResourceApi res = api.AdsensehostApi(mock).adclients;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1996,10 +1996,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2010,8 +2010,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdClients(response);
@@ -2026,9 +2026,9 @@
api.AdsensehostApi(mock).associationsessions;
var arg_productCode = buildUnnamed4324();
var arg_websiteUrl = 'foo';
+ var arg_callbackUrl = 'foo';
var arg_userLocale = 'foo';
var arg_websiteLocale = 'foo';
- var arg_callbackUrl = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2064,11 +2064,11 @@
unittest.expect(
queryMap["websiteUrl"].first, unittest.equals(arg_websiteUrl));
unittest.expect(
+ queryMap["callbackUrl"].first, unittest.equals(arg_callbackUrl));
+ unittest.expect(
queryMap["userLocale"].first, unittest.equals(arg_userLocale));
unittest.expect(queryMap["websiteLocale"].first,
unittest.equals(arg_websiteLocale));
- unittest.expect(
- queryMap["callbackUrl"].first, unittest.equals(arg_callbackUrl));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2079,9 +2079,9 @@
}), true);
res
.start(arg_productCode, arg_websiteUrl,
+ callbackUrl: arg_callbackUrl,
userLocale: arg_userLocale,
websiteLocale: arg_websiteLocale,
- callbackUrl: arg_callbackUrl,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAssociationSession(response);
@@ -2335,8 +2335,8 @@
api.CustomchannelsResourceApi res =
api.AdsensehostApi(mock).customchannels;
var arg_adClientId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2376,10 +2376,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2390,8 +2390,8 @@
}), true);
res
.list(arg_adClientId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomChannels(response);
@@ -2536,11 +2536,11 @@
var arg_startDate = 'foo';
var arg_endDate = 'foo';
var arg_dimension = buildUnnamed4325();
- var arg_metric = buildUnnamed4326();
- var arg_filter = buildUnnamed4327();
- var arg_maxResults = 42;
- var arg_sort = buildUnnamed4328();
+ var arg_filter = buildUnnamed4326();
var arg_locale = 'foo';
+ var arg_maxResults = 42;
+ var arg_metric = buildUnnamed4327();
+ var arg_sort = buildUnnamed4328();
var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2577,12 +2577,12 @@
unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
unittest.expect(queryMap["dimension"], unittest.equals(arg_dimension));
- unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["filter"], unittest.equals(arg_filter));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["metric"], unittest.equals(arg_metric));
unittest.expect(queryMap["sort"], unittest.equals(arg_sort));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2596,11 +2596,11 @@
res
.generate(arg_startDate, arg_endDate,
dimension: arg_dimension,
- metric: arg_metric,
filter: arg_filter,
- maxResults: arg_maxResults,
- sort: arg_sort,
locale: arg_locale,
+ maxResults: arg_maxResults,
+ metric: arg_metric,
+ sort: arg_sort,
startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2738,8 +2738,8 @@
var mock = HttpServerMock();
api.UrlchannelsResourceApi res = api.AdsensehostApi(mock).urlchannels;
var arg_adClientId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2779,10 +2779,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2793,8 +2793,8 @@
}), true);
res
.list(arg_adClientId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUrlChannels(response);
diff --git a/generated/googleapis/test/analytics/v3_test.dart b/generated/googleapis/test/analytics/v3_test.dart
index bf76caf..705bb72 100644
--- a/generated/googleapis/test/analytics/v3_test.dart
+++ b/generated/googleapis/test/analytics/v3_test.dart
@@ -4911,14 +4911,14 @@
var arg_start_date = 'foo';
var arg_end_date = 'foo';
var arg_metrics = 'foo';
- var arg_output = 'foo';
- var arg_filters = 'foo';
var arg_dimensions = 'foo';
+ var arg_filters = 'foo';
var arg_include_empty_rows = true;
- var arg_sort = 'foo';
+ var arg_max_results = 42;
+ var arg_output = 'foo';
var arg_samplingLevel = 'foo';
var arg_segment = 'foo';
- var arg_max_results = 42;
+ var arg_sort = 'foo';
var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4957,20 +4957,20 @@
queryMap["end-date"].first, unittest.equals(arg_end_date));
unittest.expect(
queryMap["metrics"].first, unittest.equals(arg_metrics));
- unittest.expect(queryMap["output"].first, unittest.equals(arg_output));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(
queryMap["dimensions"].first, unittest.equals(arg_dimensions));
+ unittest.expect(
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(queryMap["include-empty-rows"].first,
unittest.equals("$arg_include_empty_rows"));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["max-results"].first),
+ unittest.equals(arg_max_results));
+ unittest.expect(queryMap["output"].first, unittest.equals(arg_output));
unittest.expect(queryMap["samplingLevel"].first,
unittest.equals(arg_samplingLevel));
unittest.expect(
queryMap["segment"].first, unittest.equals(arg_segment));
- unittest.expect(core.int.parse(queryMap["max-results"].first),
- unittest.equals(arg_max_results));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
unittest.expect(core.int.parse(queryMap["start-index"].first),
unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4983,14 +4983,14 @@
}), true);
res
.get(arg_ids, arg_start_date, arg_end_date, arg_metrics,
- output: arg_output,
- filters: arg_filters,
dimensions: arg_dimensions,
+ filters: arg_filters,
include_empty_rows: arg_include_empty_rows,
- sort: arg_sort,
+ max_results: arg_max_results,
+ output: arg_output,
samplingLevel: arg_samplingLevel,
segment: arg_segment,
- max_results: arg_max_results,
+ sort: arg_sort,
start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5009,10 +5009,10 @@
var arg_metrics = 'foo';
var arg_dimensions = 'foo';
var arg_filters = 'foo';
- var arg_start_index = 42;
- var arg_sort = 'foo';
var arg_max_results = 42;
var arg_samplingLevel = 'foo';
+ var arg_sort = 'foo';
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5054,13 +5054,13 @@
queryMap["dimensions"].first, unittest.equals(arg_dimensions));
unittest.expect(
queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
unittest.expect(queryMap["samplingLevel"].first,
unittest.equals(arg_samplingLevel));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5073,10 +5073,10 @@
.get(arg_ids, arg_start_date, arg_end_date, arg_metrics,
dimensions: arg_dimensions,
filters: arg_filters,
- start_index: arg_start_index,
- sort: arg_sort,
max_results: arg_max_results,
samplingLevel: arg_samplingLevel,
+ sort: arg_sort,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMcfData(response);
@@ -5090,10 +5090,10 @@
api.DataRealtimeResourceApi res = api.AnalyticsApi(mock).data.realtime;
var arg_ids = 'foo';
var arg_metrics = 'foo';
- var arg_max_results = 42;
- var arg_filters = 'foo';
- var arg_sort = 'foo';
var arg_dimensions = 'foo';
+ var arg_filters = 'foo';
+ var arg_max_results = 42;
+ var arg_sort = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5127,13 +5127,13 @@
unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
unittest.expect(
queryMap["metrics"].first, unittest.equals(arg_metrics));
- unittest.expect(core.int.parse(queryMap["max-results"].first),
- unittest.equals(arg_max_results));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
unittest.expect(
queryMap["dimensions"].first, unittest.equals(arg_dimensions));
+ unittest.expect(
+ queryMap["filters"].first, unittest.equals(arg_filters));
+ unittest.expect(core.int.parse(queryMap["max-results"].first),
+ unittest.equals(arg_max_results));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5144,10 +5144,10 @@
}), true);
res
.get(arg_ids, arg_metrics,
- max_results: arg_max_results,
- filters: arg_filters,
- sort: arg_sort,
dimensions: arg_dimensions,
+ filters: arg_filters,
+ max_results: arg_max_results,
+ sort: arg_sort,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRealtimeData(response);
@@ -6220,8 +6220,8 @@
api.AnalyticsApi(mock).management.customMetrics;
var arg_accountId = 'foo';
var arg_webPropertyId = 'foo';
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6270,10 +6270,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6284,8 +6284,8 @@
}), true);
res
.list(arg_accountId, arg_webPropertyId,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomMetrics(response);
@@ -7174,8 +7174,8 @@
api.ManagementFiltersResourceApi res =
api.AnalyticsApi(mock).management.filters;
var arg_accountId = 'foo';
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7215,10 +7215,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7229,8 +7229,8 @@
}), true);
res
.list(arg_accountId,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFilters(response);
@@ -9594,8 +9594,8 @@
var mock = HttpServerMock();
api.ManagementSegmentsResourceApi res =
api.AnalyticsApi(mock).management.segments;
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9626,10 +9626,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9640,8 +9640,8 @@
}), true);
res
.list(
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSegments(response);
@@ -9909,8 +9909,8 @@
var arg_accountId = 'foo';
var arg_webPropertyId = 'foo';
var arg_profileId = 'foo';
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9968,10 +9968,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9982,8 +9982,8 @@
}), true);
res
.list(arg_accountId, arg_webPropertyId, arg_profileId,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUnsampledReports(response);
@@ -10927,8 +10927,8 @@
api.ManagementWebpropertiesResourceApi res =
api.AnalyticsApi(mock).management.webproperties;
var arg_accountId = 'foo';
- var arg_start_index = 42;
var arg_max_results = 42;
+ var arg_start_index = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10968,10 +10968,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["start-index"].first),
- unittest.equals(arg_start_index));
unittest.expect(core.int.parse(queryMap["max-results"].first),
unittest.equals(arg_max_results));
+ unittest.expect(core.int.parse(queryMap["start-index"].first),
+ unittest.equals(arg_start_index));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10982,8 +10982,8 @@
}), true);
res
.list(arg_accountId,
- start_index: arg_start_index,
max_results: arg_max_results,
+ start_index: arg_start_index,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkWebproperties(response);
diff --git a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
index 6e4769b..37b14c0 100644
--- a/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
+++ b/generated/googleapis/test/androiddeviceprovisioning/v1_test.dart
@@ -2070,8 +2070,8 @@
api.CustomersDevicesResourceApi res =
api.AndroiddeviceprovisioningApi(mock).customers.devices;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2101,9 +2101,9 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["pageSize"].first, unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2114,8 +2114,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCustomerListDevicesResponse(response);
diff --git a/generated/googleapis/test/androidenterprise/v1_test.dart b/generated/googleapis/test/androidenterprise/v1_test.dart
index ba3eee8..2c4608d 100644
--- a/generated/googleapis/test/androidenterprise/v1_test.dart
+++ b/generated/googleapis/test/androidenterprise/v1_test.dart
@@ -3859,8 +3859,8 @@
var mock = HttpServerMock();
api.EnterprisesResourceApi res =
api.AndroidenterpriseApi(mock).enterprises;
- var arg_enterpriseToken = 'foo';
var arg_completionToken = 'foo';
+ var arg_enterpriseToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3888,10 +3888,10 @@
);
}
}
- unittest.expect(queryMap["enterpriseToken"].first,
- unittest.equals(arg_enterpriseToken));
unittest.expect(queryMap["completionToken"].first,
unittest.equals(arg_completionToken));
+ unittest.expect(queryMap["enterpriseToken"].first,
+ unittest.equals(arg_enterpriseToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3902,8 +3902,8 @@
}), true);
res
.completeSignup(
- enterpriseToken: arg_enterpriseToken,
completionToken: arg_completionToken,
+ enterpriseToken: arg_enterpriseToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEnterprise(response);
@@ -6447,10 +6447,10 @@
api.ProductsResourceApi res = api.AndroidenterpriseApi(mock).products;
var arg_enterpriseId = 'foo';
var arg_approved = true;
- var arg_maxResults = 42;
- var arg_token = 'foo';
- var arg_query = 'foo';
var arg_language = 'foo';
+ var arg_maxResults = 42;
+ var arg_query = 'foo';
+ var arg_token = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6489,12 +6489,12 @@
}
unittest.expect(
queryMap["approved"].first, unittest.equals("$arg_approved"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6506,10 +6506,10 @@
res
.list(arg_enterpriseId,
approved: arg_approved,
- maxResults: arg_maxResults,
- token: arg_token,
- query: arg_query,
language: arg_language,
+ maxResults: arg_maxResults,
+ query: arg_query,
+ token: arg_token,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkProductsListResponse(response);
diff --git a/generated/googleapis/test/androidmanagement/v1_test.dart b/generated/googleapis/test/androidmanagement/v1_test.dart
index a7e9eb3..36145d7 100644
--- a/generated/googleapis/test/androidmanagement/v1_test.dart
+++ b/generated/googleapis/test/androidmanagement/v1_test.dart
@@ -3636,8 +3636,8 @@
api.EnterprisesResourceApi res =
api.AndroidmanagementApi(mock).enterprises;
var arg_request = buildEnterprise();
- var arg_projectId = 'foo';
var arg_enterpriseToken = 'foo';
+ var arg_projectId = 'foo';
var arg_signupUrlName = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3669,10 +3669,10 @@
);
}
}
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["enterpriseToken"].first,
unittest.equals(arg_enterpriseToken));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["signupUrlName"].first,
unittest.equals(arg_signupUrlName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3685,8 +3685,8 @@
}), true);
res
.create(arg_request,
- projectId: arg_projectId,
enterpriseToken: arg_enterpriseToken,
+ projectId: arg_projectId,
signupUrlName: arg_signupUrlName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3858,8 +3858,8 @@
api.EnterprisesDevicesResourceApi res =
api.AndroidmanagementApi(mock).enterprises.devices;
var arg_name = 'foo';
- var arg_wipeReasonMessage = 'foo';
var arg_wipeDataFlags = buildUnnamed5285();
+ var arg_wipeReasonMessage = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3888,10 +3888,10 @@
);
}
}
- unittest.expect(queryMap["wipeReasonMessage"].first,
- unittest.equals(arg_wipeReasonMessage));
unittest.expect(
queryMap["wipeDataFlags"], unittest.equals(arg_wipeDataFlags));
+ unittest.expect(queryMap["wipeReasonMessage"].first,
+ unittest.equals(arg_wipeReasonMessage));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3902,8 +3902,8 @@
}), true);
res
.delete(arg_name,
- wipeReasonMessage: arg_wipeReasonMessage,
wipeDataFlags: arg_wipeDataFlags,
+ wipeReasonMessage: arg_wipeReasonMessage,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
diff --git a/generated/googleapis/test/androidpublisher/v3_test.dart b/generated/googleapis/test/androidpublisher/v3_test.dart
index e83db24..36c798a 100644
--- a/generated/googleapis/test/androidpublisher/v3_test.dart
+++ b/generated/googleapis/test/androidpublisher/v3_test.dart
@@ -5047,9 +5047,9 @@
api.InappproductsResourceApi res =
api.AndroidpublisherApi(mock).inappproducts;
var arg_packageName = 'foo';
- var arg_token = 'foo';
var arg_maxResults = 42;
var arg_startIndex = 42;
+ var arg_token = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5086,11 +5086,11 @@
);
}
}
- unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5101,9 +5101,9 @@
}), true);
res
.list(arg_packageName,
- token: arg_token,
maxResults: arg_maxResults,
startIndex: arg_startIndex,
+ token: arg_token,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkInappproductsListResponse(response);
@@ -6048,11 +6048,11 @@
api.PurchasesVoidedpurchasesResourceApi res =
api.AndroidpublisherApi(mock).purchases.voidedpurchases;
var arg_packageName = 'foo';
- var arg_startIndex = 42;
- var arg_maxResults = 42;
- var arg_token = 'foo';
- var arg_startTime = 'foo';
var arg_endTime = 'foo';
+ var arg_maxResults = 42;
+ var arg_startIndex = 42;
+ var arg_startTime = 'foo';
+ var arg_token = 'foo';
var arg_type = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6090,15 +6090,15 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
- unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(
queryMap["endTime"].first, unittest.equals(arg_endTime));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
+ unittest.expect(
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
unittest.expect(
core.int.parse(queryMap["type"].first), unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6111,11 +6111,11 @@
}), true);
res
.list(arg_packageName,
- startIndex: arg_startIndex,
- maxResults: arg_maxResults,
- token: arg_token,
- startTime: arg_startTime,
endTime: arg_endTime,
+ maxResults: arg_maxResults,
+ startIndex: arg_startIndex,
+ startTime: arg_startTime,
+ token: arg_token,
type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6193,10 +6193,10 @@
var mock = HttpServerMock();
api.ReviewsResourceApi res = api.AndroidpublisherApi(mock).reviews;
var arg_packageName = 'foo';
- var arg_translationLanguage = 'foo';
+ var arg_maxResults = 42;
var arg_startIndex = 42;
var arg_token = 'foo';
- var arg_maxResults = 42;
+ var arg_translationLanguage = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6233,13 +6233,13 @@
);
}
}
- unittest.expect(queryMap["translationLanguage"].first,
- unittest.equals(arg_translationLanguage));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(queryMap["token"].first, unittest.equals(arg_token));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["translationLanguage"].first,
+ unittest.equals(arg_translationLanguage));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6250,10 +6250,10 @@
}), true);
res
.list(arg_packageName,
- translationLanguage: arg_translationLanguage,
+ maxResults: arg_maxResults,
startIndex: arg_startIndex,
token: arg_token,
- maxResults: arg_maxResults,
+ translationLanguage: arg_translationLanguage,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReviewsListResponse(response);
diff --git a/generated/googleapis/test/apigee/v1_test.dart b/generated/googleapis/test/apigee/v1_test.dart
index 0a5c395..997f27b 100644
--- a/generated/googleapis/test/apigee/v1_test.dart
+++ b/generated/googleapis/test/apigee/v1_test.dart
@@ -8507,11 +8507,11 @@
api.OrganizationsApiproductsResourceApi res =
api.ApigeeApi(mock).organizations.apiproducts;
var arg_parent = 'foo';
- var arg_expand = true;
- var arg_attributevalue = 'foo';
- var arg_startKey = 'foo';
- var arg_count = 'foo';
var arg_attributename = 'foo';
+ var arg_attributevalue = 'foo';
+ var arg_count = 'foo';
+ var arg_expand = true;
+ var arg_startKey = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8540,15 +8540,15 @@
);
}
}
- unittest.expect(
- queryMap["expand"].first, unittest.equals("$arg_expand"));
- unittest.expect(queryMap["attributevalue"].first,
- unittest.equals(arg_attributevalue));
- unittest.expect(
- queryMap["startKey"].first, unittest.equals(arg_startKey));
- unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
unittest.expect(queryMap["attributename"].first,
unittest.equals(arg_attributename));
+ unittest.expect(queryMap["attributevalue"].first,
+ unittest.equals(arg_attributevalue));
+ unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
+ unittest.expect(
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
+ unittest.expect(
+ queryMap["startKey"].first, unittest.equals(arg_startKey));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8560,11 +8560,11 @@
}), true);
res
.list(arg_parent,
- expand: arg_expand,
- attributevalue: arg_attributevalue,
- startKey: arg_startKey,
- count: arg_count,
attributename: arg_attributename,
+ attributevalue: arg_attributevalue,
+ count: arg_count,
+ expand: arg_expand,
+ startKey: arg_startKey,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListApiProductsResponse(response);
@@ -8830,9 +8830,9 @@
api.ApigeeApi(mock).organizations.apis;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = 'foo';
+ var arg_action = 'foo';
var arg_name = 'foo';
var arg_validate = true;
- var arg_action = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleApiHttpBody.fromJson(json);
@@ -8864,10 +8864,10 @@
);
}
}
+ unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["validate"].first, unittest.equals("$arg_validate"));
- unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8879,9 +8879,9 @@
}), true);
res
.create(arg_request, arg_parent,
+ action: arg_action,
name: arg_name,
validate: arg_validate,
- action: arg_action,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ApiProxyRevision(response);
@@ -9460,15 +9460,15 @@
api.OrganizationsAppsResourceApi res =
api.ApigeeApi(mock).organizations.apps;
var arg_parent = 'foo';
- var arg_startKey = 'foo';
- var arg_expand = true;
- var arg_includeCred = true;
- var arg_rows = 'foo';
- var arg_status = 'foo';
- var arg_keyStatus = 'foo';
- var arg_apptype = 'foo';
var arg_apiProduct = 'foo';
+ var arg_apptype = 'foo';
+ var arg_expand = true;
var arg_ids = 'foo';
+ var arg_includeCred = true;
+ var arg_keyStatus = 'foo';
+ var arg_rows = 'foo';
+ var arg_startKey = 'foo';
+ var arg_status = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9498,20 +9498,20 @@
}
}
unittest.expect(
- queryMap["startKey"].first, unittest.equals(arg_startKey));
- unittest.expect(
- queryMap["expand"].first, unittest.equals("$arg_expand"));
- unittest.expect(
- queryMap["includeCred"].first, unittest.equals("$arg_includeCred"));
- unittest.expect(queryMap["rows"].first, unittest.equals(arg_rows));
- unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
- unittest.expect(
- queryMap["keyStatus"].first, unittest.equals(arg_keyStatus));
+ queryMap["apiProduct"].first, unittest.equals(arg_apiProduct));
unittest.expect(
queryMap["apptype"].first, unittest.equals(arg_apptype));
unittest.expect(
- queryMap["apiProduct"].first, unittest.equals(arg_apiProduct));
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["includeCred"].first, unittest.equals("$arg_includeCred"));
+ unittest.expect(
+ queryMap["keyStatus"].first, unittest.equals(arg_keyStatus));
+ unittest.expect(queryMap["rows"].first, unittest.equals(arg_rows));
+ unittest.expect(
+ queryMap["startKey"].first, unittest.equals(arg_startKey));
+ unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9523,15 +9523,15 @@
}), true);
res
.list(arg_parent,
- startKey: arg_startKey,
- expand: arg_expand,
- includeCred: arg_includeCred,
- rows: arg_rows,
- status: arg_status,
- keyStatus: arg_keyStatus,
- apptype: arg_apptype,
apiProduct: arg_apiProduct,
+ apptype: arg_apptype,
+ expand: arg_expand,
ids: arg_ids,
+ includeCred: arg_includeCred,
+ keyStatus: arg_keyStatus,
+ rows: arg_rows,
+ startKey: arg_startKey,
+ status: arg_status,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListAppsResponse(response);
@@ -9801,11 +9801,11 @@
api.OrganizationsDevelopersResourceApi res =
api.ApigeeApi(mock).organizations.developers;
var arg_parent = 'foo';
+ var arg_count = 'foo';
var arg_expand = true;
+ var arg_ids = 'foo';
var arg_includeCompany = true;
var arg_startKey = 'foo';
- var arg_ids = 'foo';
- var arg_count = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9834,14 +9834,14 @@
);
}
}
+ unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
unittest.expect(
queryMap["expand"].first, unittest.equals("$arg_expand"));
+ unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
unittest.expect(queryMap["includeCompany"].first,
unittest.equals("$arg_includeCompany"));
unittest.expect(
queryMap["startKey"].first, unittest.equals(arg_startKey));
- unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
- unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9853,11 +9853,11 @@
}), true);
res
.list(arg_parent,
+ count: arg_count,
expand: arg_expand,
+ ids: arg_ids,
includeCompany: arg_includeCompany,
startKey: arg_startKey,
- ids: arg_ids,
- count: arg_count,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListOfDevelopersResponse(response);
@@ -10181,8 +10181,8 @@
api.OrganizationsDevelopersAppsResourceApi res =
api.ApigeeApi(mock).organizations.developers.apps;
var arg_name = 'foo';
- var arg_query = 'foo';
var arg_entity = 'foo';
+ var arg_query = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10211,8 +10211,8 @@
);
}
}
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["entity"].first, unittest.equals(arg_entity));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10223,7 +10223,7 @@
}), true);
res
.get(arg_name,
- query: arg_query, entity: arg_entity, $fields: arg_$fields)
+ entity: arg_entity, query: arg_query, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1DeveloperApp(response);
})));
@@ -10234,10 +10234,10 @@
api.OrganizationsDevelopersAppsResourceApi res =
api.ApigeeApi(mock).organizations.developers.apps;
var arg_parent = 'foo';
- var arg_startKey = 'foo';
- var arg_shallowExpand = true;
- var arg_expand = true;
var arg_count = 'foo';
+ var arg_expand = true;
+ var arg_shallowExpand = true;
+ var arg_startKey = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10266,13 +10266,13 @@
);
}
}
+ unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
unittest.expect(
- queryMap["startKey"].first, unittest.equals(arg_startKey));
+ queryMap["expand"].first, unittest.equals("$arg_expand"));
unittest.expect(queryMap["shallowExpand"].first,
unittest.equals("$arg_shallowExpand"));
unittest.expect(
- queryMap["expand"].first, unittest.equals("$arg_expand"));
- unittest.expect(queryMap["count"].first, unittest.equals(arg_count));
+ queryMap["startKey"].first, unittest.equals(arg_startKey));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10284,10 +10284,10 @@
}), true);
res
.list(arg_parent,
- startKey: arg_startKey,
- shallowExpand: arg_shallowExpand,
- expand: arg_expand,
count: arg_count,
+ expand: arg_expand,
+ shallowExpand: arg_shallowExpand,
+ startKey: arg_startKey,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListDeveloperAppsResponse(response);
@@ -11323,8 +11323,8 @@
api.OrganizationsEnvgroupsResourceApi res =
api.ApigeeApi(mock).organizations.envgroups;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11353,10 +11353,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11368,8 +11368,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListEnvironmentGroupsResponse(response);
@@ -11589,8 +11589,8 @@
api.OrganizationsEnvgroupsAttachmentsResourceApi res =
api.ApigeeApi(mock).organizations.envgroups.attachments;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11619,10 +11619,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11634,8 +11634,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse(
@@ -12210,8 +12210,8 @@
api.ApigeeApi(mock).organizations.environments;
var arg_request = buildGoogleCloudApigeeV1DebugMask();
var arg_name = 'foo';
- var arg_updateMask = 'foo';
var arg_replaceRepeatedFields = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleCloudApigeeV1DebugMask.fromJson(json);
@@ -12243,10 +12243,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["replaceRepeatedFields"].first,
unittest.equals("$arg_replaceRepeatedFields"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12257,8 +12257,8 @@
}), true);
res
.updateDebugmask(arg_request, arg_name,
- updateMask: arg_updateMask,
replaceRepeatedFields: arg_replaceRepeatedFields,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1DebugMask(response);
@@ -12915,8 +12915,8 @@
.revisions
.debugsessions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12945,10 +12945,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12960,8 +12960,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListDebugSessionsResponse(response);
@@ -13560,11 +13560,11 @@
api.ApigeeApi(mock).organizations.environments.keystores.aliases;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = 'foo';
- var arg_alias = 'foo';
- var arg_ignoreNewlineValidation = true;
var arg_P_password = 'foo';
- var arg_ignoreExpiryValidation = true;
+ var arg_alias = 'foo';
var arg_format = 'foo';
+ var arg_ignoreExpiryValidation = true;
+ var arg_ignoreNewlineValidation = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleApiHttpBody.fromJson(json);
@@ -13596,14 +13596,14 @@
);
}
}
- unittest.expect(queryMap["alias"].first, unittest.equals(arg_alias));
- unittest.expect(queryMap["ignoreNewlineValidation"].first,
- unittest.equals("$arg_ignoreNewlineValidation"));
unittest.expect(
queryMap["_password"].first, unittest.equals(arg_P_password));
+ unittest.expect(queryMap["alias"].first, unittest.equals(arg_alias));
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(queryMap["ignoreExpiryValidation"].first,
unittest.equals("$arg_ignoreExpiryValidation"));
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
+ unittest.expect(queryMap["ignoreNewlineValidation"].first,
+ unittest.equals("$arg_ignoreNewlineValidation"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13614,11 +13614,11 @@
}), true);
res
.create(arg_request, arg_parent,
- alias: arg_alias,
- ignoreNewlineValidation: arg_ignoreNewlineValidation,
P_password: arg_P_password,
- ignoreExpiryValidation: arg_ignoreExpiryValidation,
+ alias: arg_alias,
format: arg_format,
+ ignoreExpiryValidation: arg_ignoreExpiryValidation,
+ ignoreNewlineValidation: arg_ignoreNewlineValidation,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Alias(response);
@@ -13823,8 +13823,8 @@
api.ApigeeApi(mock).organizations.environments.keystores.aliases;
var arg_request = buildGoogleApiHttpBody();
var arg_name = 'foo';
- var arg_ignoreNewlineValidation = true;
var arg_ignoreExpiryValidation = true;
+ var arg_ignoreNewlineValidation = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleApiHttpBody.fromJson(json);
@@ -13856,10 +13856,10 @@
);
}
}
- unittest.expect(queryMap["ignoreNewlineValidation"].first,
- unittest.equals("$arg_ignoreNewlineValidation"));
unittest.expect(queryMap["ignoreExpiryValidation"].first,
unittest.equals("$arg_ignoreExpiryValidation"));
+ unittest.expect(queryMap["ignoreNewlineValidation"].first,
+ unittest.equals("$arg_ignoreNewlineValidation"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13870,8 +13870,8 @@
}), true);
res
.update(arg_request, arg_name,
- ignoreNewlineValidation: arg_ignoreNewlineValidation,
ignoreExpiryValidation: arg_ignoreExpiryValidation,
+ ignoreNewlineValidation: arg_ignoreNewlineValidation,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Alias(response);
@@ -13989,21 +13989,21 @@
api.OrganizationsEnvironmentsOptimizedStatsResourceApi res =
api.ApigeeApi(mock).organizations.environments.optimizedStats;
var arg_name = 'foo';
- var arg_offset = 'foo';
- var arg_sonar = true;
var arg_accuracy = 'foo';
- var arg_limit = 'foo';
- var arg_timeUnit = 'foo';
- var arg_sort = 'foo';
- var arg_realtime = true;
var arg_aggTable = 'foo';
- var arg_timeRange = 'foo';
- var arg_tzo = 'foo';
- var arg_sortby = 'foo';
- var arg_topk = 'foo';
- var arg_select = 'foo';
- var arg_tsAscending = true;
var arg_filter = 'foo';
+ var arg_limit = 'foo';
+ var arg_offset = 'foo';
+ var arg_realtime = true;
+ var arg_select = 'foo';
+ var arg_sonar = true;
+ var arg_sort = 'foo';
+ var arg_sortby = 'foo';
+ var arg_timeRange = 'foo';
+ var arg_timeUnit = 'foo';
+ var arg_topk = 'foo';
+ var arg_tsAscending = true;
+ var arg_tzo = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14032,27 +14032,27 @@
);
}
}
- unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
- unittest.expect(queryMap["sonar"].first, unittest.equals("$arg_sonar"));
unittest.expect(
queryMap["accuracy"].first, unittest.equals(arg_accuracy));
- unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
- unittest.expect(
- queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["realtime"].first, unittest.equals("$arg_realtime"));
unittest.expect(
queryMap["aggTable"].first, unittest.equals(arg_aggTable));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
+ unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
+ unittest.expect(
+ queryMap["realtime"].first, unittest.equals("$arg_realtime"));
+ unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
+ unittest.expect(queryMap["sonar"].first, unittest.equals("$arg_sonar"));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
unittest.expect(
queryMap["timeRange"].first, unittest.equals(arg_timeRange));
- unittest.expect(queryMap["tzo"].first, unittest.equals(arg_tzo));
- unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
+ unittest.expect(
+ queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
- unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
unittest.expect(
queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["tzo"].first, unittest.equals(arg_tzo));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14064,21 +14064,21 @@
}), true);
res
.get(arg_name,
- offset: arg_offset,
- sonar: arg_sonar,
accuracy: arg_accuracy,
- limit: arg_limit,
- timeUnit: arg_timeUnit,
- sort: arg_sort,
- realtime: arg_realtime,
aggTable: arg_aggTable,
- timeRange: arg_timeRange,
- tzo: arg_tzo,
- sortby: arg_sortby,
- topk: arg_topk,
- select: arg_select,
- tsAscending: arg_tsAscending,
filter: arg_filter,
+ limit: arg_limit,
+ offset: arg_offset,
+ realtime: arg_realtime,
+ select: arg_select,
+ sonar: arg_sonar,
+ sort: arg_sort,
+ sortby: arg_sortby,
+ timeRange: arg_timeRange,
+ timeUnit: arg_timeUnit,
+ topk: arg_topk,
+ tsAscending: arg_tsAscending,
+ tzo: arg_tzo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1OptimizedStats(response);
@@ -14240,12 +14240,12 @@
api.OrganizationsEnvironmentsQueriesResourceApi res =
api.ApigeeApi(mock).organizations.environments.queries;
var arg_parent = 'foo';
- var arg_submittedBy = 'foo';
+ var arg_dataset = 'foo';
var arg_from = 'foo';
var arg_inclQueriesWithoutReport = 'foo';
- var arg_to = 'foo';
var arg_status = 'foo';
- var arg_dataset = 'foo';
+ var arg_submittedBy = 'foo';
+ var arg_to = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14275,14 +14275,14 @@
}
}
unittest.expect(
- queryMap["submittedBy"].first, unittest.equals(arg_submittedBy));
+ queryMap["dataset"].first, unittest.equals(arg_dataset));
unittest.expect(queryMap["from"].first, unittest.equals(arg_from));
unittest.expect(queryMap["inclQueriesWithoutReport"].first,
unittest.equals(arg_inclQueriesWithoutReport));
- unittest.expect(queryMap["to"].first, unittest.equals(arg_to));
unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
unittest.expect(
- queryMap["dataset"].first, unittest.equals(arg_dataset));
+ queryMap["submittedBy"].first, unittest.equals(arg_submittedBy));
+ unittest.expect(queryMap["to"].first, unittest.equals(arg_to));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14294,12 +14294,12 @@
}), true);
res
.list(arg_parent,
- submittedBy: arg_submittedBy,
+ dataset: arg_dataset,
from: arg_from,
inclQueriesWithoutReport: arg_inclQueriesWithoutReport,
- to: arg_to,
status: arg_status,
- dataset: arg_dataset,
+ submittedBy: arg_submittedBy,
+ to: arg_to,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListAsyncQueriesResponse(response);
@@ -14517,8 +14517,8 @@
api.ApigeeApi(mock).organizations.environments.resourcefiles;
var arg_request = buildGoogleApiHttpBody();
var arg_parent = 'foo';
- var arg_type = 'foo';
var arg_name = 'foo';
+ var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleApiHttpBody.fromJson(json);
@@ -14550,8 +14550,8 @@
);
}
}
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14562,7 +14562,7 @@
}), true);
res
.create(arg_request, arg_parent,
- type: arg_type, name: arg_name, $fields: arg_$fields)
+ name: arg_name, type: arg_type, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ResourceFile(response);
})));
@@ -15038,21 +15038,21 @@
api.OrganizationsEnvironmentsStatsResourceApi res =
api.ApigeeApi(mock).organizations.environments.stats;
var arg_name = 'foo';
- var arg_realtime = true;
- var arg_timeUnit = 'foo';
- var arg_sortby = 'foo';
var arg_accuracy = 'foo';
- var arg_filter = 'foo';
- var arg_tzo = 'foo';
- var arg_sort = 'foo';
- var arg_select = 'foo';
- var arg_offset = 'foo';
- var arg_limit = 'foo';
- var arg_sonar = true;
- var arg_topk = 'foo';
- var arg_timeRange = 'foo';
- var arg_tsAscending = true;
var arg_aggTable = 'foo';
+ var arg_filter = 'foo';
+ var arg_limit = 'foo';
+ var arg_offset = 'foo';
+ var arg_realtime = true;
+ var arg_select = 'foo';
+ var arg_sonar = true;
+ var arg_sort = 'foo';
+ var arg_sortby = 'foo';
+ var arg_timeRange = 'foo';
+ var arg_timeUnit = 'foo';
+ var arg_topk = 'foo';
+ var arg_tsAscending = true;
+ var arg_tzo = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15082,26 +15082,26 @@
}
}
unittest.expect(
- queryMap["realtime"].first, unittest.equals("$arg_realtime"));
- unittest.expect(
- queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
- unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
- unittest.expect(
queryMap["accuracy"].first, unittest.equals(arg_accuracy));
+ unittest.expect(
+ queryMap["aggTable"].first, unittest.equals(arg_aggTable));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["tzo"].first, unittest.equals(arg_tzo));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
- unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
unittest.expect(queryMap["limit"].first, unittest.equals(arg_limit));
+ unittest.expect(queryMap["offset"].first, unittest.equals(arg_offset));
+ unittest.expect(
+ queryMap["realtime"].first, unittest.equals("$arg_realtime"));
+ unittest.expect(queryMap["select"].first, unittest.equals(arg_select));
unittest.expect(queryMap["sonar"].first, unittest.equals("$arg_sonar"));
- unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(queryMap["sortby"].first, unittest.equals(arg_sortby));
unittest.expect(
queryMap["timeRange"].first, unittest.equals(arg_timeRange));
unittest.expect(
- queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
+ queryMap["timeUnit"].first, unittest.equals(arg_timeUnit));
+ unittest.expect(queryMap["topk"].first, unittest.equals(arg_topk));
unittest.expect(
- queryMap["aggTable"].first, unittest.equals(arg_aggTable));
+ queryMap["tsAscending"].first, unittest.equals("$arg_tsAscending"));
+ unittest.expect(queryMap["tzo"].first, unittest.equals(arg_tzo));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15112,21 +15112,21 @@
}), true);
res
.get(arg_name,
- realtime: arg_realtime,
- timeUnit: arg_timeUnit,
- sortby: arg_sortby,
accuracy: arg_accuracy,
- filter: arg_filter,
- tzo: arg_tzo,
- sort: arg_sort,
- select: arg_select,
- offset: arg_offset,
- limit: arg_limit,
- sonar: arg_sonar,
- topk: arg_topk,
- timeRange: arg_timeRange,
- tsAscending: arg_tsAscending,
aggTable: arg_aggTable,
+ filter: arg_filter,
+ limit: arg_limit,
+ offset: arg_offset,
+ realtime: arg_realtime,
+ select: arg_select,
+ sonar: arg_sonar,
+ sort: arg_sort,
+ sortby: arg_sortby,
+ timeRange: arg_timeRange,
+ timeUnit: arg_timeUnit,
+ topk: arg_topk,
+ tsAscending: arg_tsAscending,
+ tzo: arg_tzo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1Stats(response);
@@ -15756,8 +15756,8 @@
api.OrganizationsInstancesAttachmentsResourceApi res =
api.ApigeeApi(mock).organizations.instances.attachments;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15786,10 +15786,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15801,8 +15801,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudApigeeV1ListInstanceAttachmentsResponse(response);
diff --git a/generated/googleapis/test/appengine/v1_test.dart b/generated/googleapis/test/appengine/v1_test.dart
index babd68e..d2c0fdd 100644
--- a/generated/googleapis/test/appengine/v1_test.dart
+++ b/generated/googleapis/test/appengine/v1_test.dart
@@ -3344,8 +3344,8 @@
api.AppengineApi(mock).apps.authorizedCertificates;
var arg_appsId = 'foo';
var arg_pageSize = 42;
- var arg_view = 'foo';
var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3384,9 +3384,9 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3399,8 +3399,8 @@
res
.list(arg_appsId,
pageSize: arg_pageSize,
- view: arg_view,
pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAuthorizedCertificatesResponse(response);
@@ -4109,9 +4109,9 @@
api.AppsFirewallIngressRulesResourceApi res =
api.AppengineApi(mock).apps.firewall.ingressRules;
var arg_appsId = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_matchingAddress = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4148,12 +4148,12 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["matchingAddress"].first,
unittest.equals(arg_matchingAddress));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4164,9 +4164,9 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
matchingAddress: arg_matchingAddress,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListIngressRulesResponse(response);
@@ -4306,9 +4306,9 @@
var mock = HttpServerMock();
api.AppsLocationsResourceApi res = api.AppengineApi(mock).apps.locations;
var arg_appsId = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4345,11 +4345,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4360,9 +4360,9 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -4436,9 +4436,9 @@
api.AppsOperationsResourceApi res =
api.AppengineApi(mock).apps.operations;
var arg_appsId = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4475,11 +4475,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4490,9 +4490,9 @@
}), true);
res
.list(arg_appsId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4689,8 +4689,8 @@
var arg_request = buildService();
var arg_appsId = 'foo';
var arg_servicesId = 'foo';
- var arg_updateMask = 'foo';
var arg_migrateTraffic = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Service.fromJson(json);
@@ -4733,10 +4733,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["migrateTraffic"].first,
unittest.equals("$arg_migrateTraffic"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4747,8 +4747,8 @@
}), true);
res
.patch(arg_request, arg_appsId, arg_servicesId,
- updateMask: arg_updateMask,
migrateTraffic: arg_migrateTraffic,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -4978,8 +4978,8 @@
var arg_appsId = 'foo';
var arg_servicesId = 'foo';
var arg_pageSize = 42;
- var arg_view = 'foo';
var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5027,9 +5027,9 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5041,8 +5041,8 @@
res
.list(arg_appsId, arg_servicesId,
pageSize: arg_pageSize,
- view: arg_view,
pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListVersionsResponse(response);
@@ -5390,8 +5390,8 @@
var arg_appsId = 'foo';
var arg_servicesId = 'foo';
var arg_versionsId = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5446,10 +5446,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5460,8 +5460,8 @@
}), true);
res
.list(arg_appsId, arg_servicesId, arg_versionsId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInstancesResponse(response);
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart
index 9623f57..85fc793 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -6685,11 +6685,11 @@
api.JobsResourceApi res = api.BigqueryApi(mock).jobs;
var arg_projectId = 'foo';
var arg_jobId = 'foo';
+ var arg_location = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_startIndex = 'foo';
var arg_timeoutMs = 42;
- var arg_location = 'foo';
- var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6732,16 +6732,16 @@
);
}
}
+ unittest.expect(
+ queryMap["location"].first, unittest.equals(arg_location));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["startIndex"].first, unittest.equals(arg_startIndex));
unittest.expect(core.int.parse(queryMap["timeoutMs"].first),
unittest.equals(arg_timeoutMs));
- unittest.expect(
- queryMap["location"].first, unittest.equals(arg_location));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6752,11 +6752,11 @@
}), true);
res
.getQueryResults(arg_projectId, arg_jobId,
+ location: arg_location,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
startIndex: arg_startIndex,
timeoutMs: arg_timeoutMs,
- location: arg_location,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetQueryResultsResponse(response);
@@ -6832,14 +6832,14 @@
var mock = HttpServerMock();
api.JobsResourceApi res = api.BigqueryApi(mock).jobs;
var arg_projectId = 'foo';
+ var arg_allUsers = true;
var arg_maxCreationTime = 'foo';
var arg_maxResults = 42;
- var arg_stateFilter = buildUnnamed1311();
var arg_minCreationTime = 'foo';
+ var arg_pageToken = 'foo';
var arg_parentJobId = 'foo';
var arg_projection = 'foo';
- var arg_pageToken = 'foo';
- var arg_allUsers = true;
+ var arg_stateFilter = buildUnnamed1311();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6879,22 +6879,22 @@
);
}
}
+ unittest.expect(
+ queryMap["allUsers"].first, unittest.equals("$arg_allUsers"));
unittest.expect(queryMap["maxCreationTime"].first,
unittest.equals(arg_maxCreationTime));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["stateFilter"], unittest.equals(arg_stateFilter));
unittest.expect(queryMap["minCreationTime"].first,
unittest.equals(arg_minCreationTime));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["parentJobId"].first, unittest.equals(arg_parentJobId));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["allUsers"].first, unittest.equals("$arg_allUsers"));
+ queryMap["stateFilter"], unittest.equals(arg_stateFilter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6905,14 +6905,14 @@
}), true);
res
.list(arg_projectId,
+ allUsers: arg_allUsers,
maxCreationTime: arg_maxCreationTime,
maxResults: arg_maxResults,
- stateFilter: arg_stateFilter,
minCreationTime: arg_minCreationTime,
+ pageToken: arg_pageToken,
parentJobId: arg_parentJobId,
projection: arg_projection,
- pageToken: arg_pageToken,
- allUsers: arg_allUsers,
+ stateFilter: arg_stateFilter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkJobList(response);
@@ -7091,8 +7091,8 @@
api.ModelsResourceApi res = api.BigqueryApi(mock).models;
var arg_projectId = 'foo';
var arg_datasetId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7124,10 +7124,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7138,8 +7138,8 @@
}), true);
res
.list(arg_projectId, arg_datasetId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListModelsResponse(response);
@@ -7266,8 +7266,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.BigqueryApi(mock).projects;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7298,10 +7298,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7312,8 +7312,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkProjectList(response);
@@ -7490,10 +7490,10 @@
api.RoutinesResourceApi res = api.BigqueryApi(mock).routines;
var arg_projectId = 'foo';
var arg_datasetId = 'foo';
- var arg_readMask = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_filter = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_readMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7525,13 +7525,13 @@
);
}
}
- unittest.expect(
- queryMap["readMask"].first, unittest.equals(arg_readMask));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["readMask"].first, unittest.equals(arg_readMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7542,10 +7542,10 @@
}), true);
res
.list(arg_projectId, arg_datasetId,
- readMask: arg_readMask,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
filter: arg_filter,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ readMask: arg_readMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutinesResponse(response);
@@ -7701,9 +7701,9 @@
var arg_datasetId = 'foo';
var arg_tableId = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_selectedFields = 'foo';
var arg_startIndex = 'foo';
- var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7763,12 +7763,12 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["selectedFields"].first,
unittest.equals(arg_selectedFields));
unittest.expect(
queryMap["startIndex"].first, unittest.equals(arg_startIndex));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7780,9 +7780,9 @@
res
.list(arg_projectId, arg_datasetId, arg_tableId,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
selectedFields: arg_selectedFields,
startIndex: arg_startIndex,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTableDataList(response);
@@ -8063,8 +8063,8 @@
api.TablesResourceApi res = api.BigqueryApi(mock).tables;
var arg_projectId = 'foo';
var arg_datasetId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8113,10 +8113,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8127,8 +8127,8 @@
}), true);
res
.list(arg_projectId, arg_datasetId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTableList(response);
diff --git a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
index e7948c2..4a6bcc0 100644
--- a/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
+++ b/generated/googleapis/test/bigquerydatatransfer/v1_test.dart
@@ -1281,8 +1281,8 @@
api.ProjectsDataSourcesResourceApi res =
api.BigquerydatatransferApi(mock).projects.dataSources;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1311,10 +1311,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1325,8 +1325,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDataSourcesResponse(response);
@@ -1550,8 +1550,8 @@
api.ProjectsLocationsDataSourcesResourceApi res =
api.BigquerydatatransferApi(mock).projects.locations.dataSources;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1580,10 +1580,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1594,8 +1594,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDataSourcesResponse(response);
@@ -1610,9 +1610,9 @@
api.BigquerydatatransferApi(mock).projects.locations.transferConfigs;
var arg_request = buildTransferConfig();
var arg_parent = 'foo';
- var arg_versionInfo = 'foo';
- var arg_serviceAccountName = 'foo';
var arg_authorizationCode = 'foo';
+ var arg_serviceAccountName = 'foo';
+ var arg_versionInfo = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.TransferConfig.fromJson(json);
@@ -1644,12 +1644,12 @@
);
}
}
- unittest.expect(
- queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
- unittest.expect(queryMap["serviceAccountName"].first,
- unittest.equals(arg_serviceAccountName));
unittest.expect(queryMap["authorizationCode"].first,
unittest.equals(arg_authorizationCode));
+ unittest.expect(queryMap["serviceAccountName"].first,
+ unittest.equals(arg_serviceAccountName));
+ unittest.expect(
+ queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1660,9 +1660,9 @@
}), true);
res
.create(arg_request, arg_parent,
- versionInfo: arg_versionInfo,
- serviceAccountName: arg_serviceAccountName,
authorizationCode: arg_authorizationCode,
+ serviceAccountName: arg_serviceAccountName,
+ versionInfo: arg_versionInfo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -1770,8 +1770,8 @@
api.ProjectsLocationsTransferConfigsResourceApi res =
api.BigquerydatatransferApi(mock).projects.locations.transferConfigs;
var arg_parent = 'foo';
- var arg_pageSize = 42;
var arg_dataSourceIds = buildUnnamed2282();
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1801,10 +1801,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1817,8 +1817,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
dataSourceIds: arg_dataSourceIds,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1834,8 +1834,8 @@
var arg_name = 'foo';
var arg_authorizationCode = 'foo';
var arg_serviceAccountName = 'foo';
- var arg_versionInfo = 'foo';
var arg_updateMask = 'foo';
+ var arg_versionInfo = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.TransferConfig.fromJson(json);
@@ -1872,9 +1872,9 @@
unittest.expect(queryMap["serviceAccountName"].first,
unittest.equals(arg_serviceAccountName));
unittest.expect(
- queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
- unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ unittest.expect(
+ queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1887,8 +1887,8 @@
.patch(arg_request, arg_name,
authorizationCode: arg_authorizationCode,
serviceAccountName: arg_serviceAccountName,
- versionInfo: arg_versionInfo,
updateMask: arg_updateMask,
+ versionInfo: arg_versionInfo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -2115,10 +2115,10 @@
.transferConfigs
.runs;
var arg_parent = 'foo';
- var arg_states = buildUnnamed2283();
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_runAttempt = 'foo';
+ var arg_states = buildUnnamed2283();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2147,13 +2147,13 @@
);
}
}
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2164,10 +2164,10 @@
}), true);
res
.list(arg_parent,
- states: arg_states,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
runAttempt: arg_runAttempt,
+ states: arg_states,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferRunsResponse(response);
@@ -2188,9 +2188,9 @@
.runs
.transferLogs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_messageTypes = buildUnnamed2284();
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2220,11 +2220,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["messageTypes"], unittest.equals(arg_messageTypes));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["messageTypes"], unittest.equals(arg_messageTypes));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2235,9 +2235,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
messageTypes: arg_messageTypes,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferLogsResponse(response);
@@ -2252,9 +2252,9 @@
api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_request = buildTransferConfig();
var arg_parent = 'foo';
- var arg_versionInfo = 'foo';
- var arg_serviceAccountName = 'foo';
var arg_authorizationCode = 'foo';
+ var arg_serviceAccountName = 'foo';
+ var arg_versionInfo = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.TransferConfig.fromJson(json);
@@ -2286,12 +2286,12 @@
);
}
}
- unittest.expect(
- queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
- unittest.expect(queryMap["serviceAccountName"].first,
- unittest.equals(arg_serviceAccountName));
unittest.expect(queryMap["authorizationCode"].first,
unittest.equals(arg_authorizationCode));
+ unittest.expect(queryMap["serviceAccountName"].first,
+ unittest.equals(arg_serviceAccountName));
+ unittest.expect(
+ queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2302,9 +2302,9 @@
}), true);
res
.create(arg_request, arg_parent,
- versionInfo: arg_versionInfo,
- serviceAccountName: arg_serviceAccountName,
authorizationCode: arg_authorizationCode,
+ serviceAccountName: arg_serviceAccountName,
+ versionInfo: arg_versionInfo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -2412,9 +2412,9 @@
api.ProjectsTransferConfigsResourceApi res =
api.BigquerydatatransferApi(mock).projects.transferConfigs;
var arg_parent = 'foo';
+ var arg_dataSourceIds = buildUnnamed2285();
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_dataSourceIds = buildUnnamed2285();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2443,12 +2443,12 @@
);
}
}
+ unittest.expect(
+ queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["dataSourceIds"], unittest.equals(arg_dataSourceIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2459,9 +2459,9 @@
}), true);
res
.list(arg_parent,
+ dataSourceIds: arg_dataSourceIds,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- dataSourceIds: arg_dataSourceIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferConfigsResponse(response);
@@ -2475,9 +2475,9 @@
var arg_request = buildTransferConfig();
var arg_name = 'foo';
var arg_authorizationCode = 'foo';
+ var arg_serviceAccountName = 'foo';
var arg_updateMask = 'foo';
var arg_versionInfo = 'foo';
- var arg_serviceAccountName = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.TransferConfig.fromJson(json);
@@ -2511,12 +2511,12 @@
}
unittest.expect(queryMap["authorizationCode"].first,
unittest.equals(arg_authorizationCode));
+ unittest.expect(queryMap["serviceAccountName"].first,
+ unittest.equals(arg_serviceAccountName));
unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(
queryMap["versionInfo"].first, unittest.equals(arg_versionInfo));
- unittest.expect(queryMap["serviceAccountName"].first,
- unittest.equals(arg_serviceAccountName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2528,9 +2528,9 @@
res
.patch(arg_request, arg_name,
authorizationCode: arg_authorizationCode,
+ serviceAccountName: arg_serviceAccountName,
updateMask: arg_updateMask,
versionInfo: arg_versionInfo,
- serviceAccountName: arg_serviceAccountName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTransferConfig(response);
@@ -2745,9 +2745,9 @@
api.BigquerydatatransferApi(mock).projects.transferConfigs.runs;
var arg_parent = 'foo';
var arg_pageSize = 42;
- var arg_states = buildUnnamed2286();
var arg_pageToken = 'foo';
var arg_runAttempt = 'foo';
+ var arg_states = buildUnnamed2286();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2778,11 +2778,11 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["runAttempt"].first, unittest.equals(arg_runAttempt));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2794,9 +2794,9 @@
res
.list(arg_parent,
pageSize: arg_pageSize,
- states: arg_states,
pageToken: arg_pageToken,
runAttempt: arg_runAttempt,
+ states: arg_states,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferRunsResponse(response);
@@ -2815,9 +2815,9 @@
.runs
.transferLogs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_messageTypes = buildUnnamed2287();
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2847,11 +2847,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["messageTypes"], unittest.equals(arg_messageTypes));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["messageTypes"], unittest.equals(arg_messageTypes));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2862,9 +2862,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
messageTypes: arg_messageTypes,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTransferLogsResponse(response);
diff --git a/generated/googleapis/test/bigqueryreservation/v1_test.dart b/generated/googleapis/test/bigqueryreservation/v1_test.dart
index 46c5ec9..5b85e0f 100644
--- a/generated/googleapis/test/bigqueryreservation/v1_test.dart
+++ b/generated/googleapis/test/bigqueryreservation/v1_test.dart
@@ -966,8 +966,8 @@
api.BigqueryreservationApi(mock).projects.locations;
var arg_parent = 'foo';
var arg_pageSize = 42;
- var arg_query = 'foo';
var arg_pageToken = 'foo';
+ var arg_query = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -998,9 +998,9 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1012,8 +1012,8 @@
res
.searchAllAssignments(arg_parent,
pageSize: arg_pageSize,
- query: arg_query,
pageToken: arg_pageToken,
+ query: arg_query,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchAllAssignmentsResponse(response);
@@ -1310,8 +1310,8 @@
.locations
.capacityCommitments;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1340,10 +1340,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1354,8 +1354,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCapacityCommitmentsResponse(response);
diff --git a/generated/googleapis/test/bigtableadmin/v2_test.dart b/generated/googleapis/test/bigtableadmin/v2_test.dart
index e310d7f..f265c56 100644
--- a/generated/googleapis/test/bigtableadmin/v2_test.dart
+++ b/generated/googleapis/test/bigtableadmin/v2_test.dart
@@ -2509,9 +2509,9 @@
api.OperationsProjectsOperationsResourceApi res =
api.BigtableadminApi(mock).operations.projects.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2540,11 +2540,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2555,9 +2555,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -3037,8 +3037,8 @@
api.BigtableadminApi(mock).projects.instances.appProfiles;
var arg_request = buildAppProfile();
var arg_parent = 'foo';
- var arg_ignoreWarnings = true;
var arg_appProfileId = 'foo';
+ var arg_ignoreWarnings = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.AppProfile.fromJson(json);
@@ -3070,10 +3070,10 @@
);
}
}
- unittest.expect(queryMap["ignoreWarnings"].first,
- unittest.equals("$arg_ignoreWarnings"));
unittest.expect(
queryMap["appProfileId"].first, unittest.equals(arg_appProfileId));
+ unittest.expect(queryMap["ignoreWarnings"].first,
+ unittest.equals("$arg_ignoreWarnings"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3084,8 +3084,8 @@
}), true);
res
.create(arg_request, arg_parent,
- ignoreWarnings: arg_ignoreWarnings,
appProfileId: arg_appProfileId,
+ ignoreWarnings: arg_ignoreWarnings,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAppProfile(response);
@@ -3197,8 +3197,8 @@
api.ProjectsInstancesAppProfilesResourceApi res =
api.BigtableadminApi(mock).projects.instances.appProfiles;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3227,10 +3227,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3241,8 +3241,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAppProfilesResponse(response);
@@ -3779,8 +3779,8 @@
api.BigtableadminApi(mock).projects.instances.clusters.backups;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3811,10 +3811,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3828,8 +3828,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4362,9 +4362,9 @@
api.ProjectsInstancesTablesResourceApi res =
api.BigtableadminApi(mock).projects.instances.tables;
var arg_parent = 'foo';
- var arg_view = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4393,11 +4393,11 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4408,9 +4408,9 @@
}), true);
res
.list(arg_parent,
- view: arg_view,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTablesResponse(response);
@@ -4680,9 +4680,9 @@
api.ProjectsLocationsResourceApi res =
api.BigtableadminApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4711,11 +4711,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4726,9 +4726,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/blogger/v3_test.dart b/generated/googleapis/test/blogger/v3_test.dart
index 140c82e..b8c94dc 100644
--- a/generated/googleapis/test/blogger/v3_test.dart
+++ b/generated/googleapis/test/blogger/v3_test.dart
@@ -1538,8 +1538,8 @@
var mock = HttpServerMock();
api.BlogsResourceApi res = api.BloggerApi(mock).blogs;
var arg_blogId = 'foo';
- var arg_view = 'foo';
var arg_maxPosts = 42;
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1570,9 +1570,9 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(core.int.parse(queryMap["maxPosts"].first),
unittest.equals(arg_maxPosts));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1583,7 +1583,7 @@
}), true);
res
.get(arg_blogId,
- view: arg_view, maxPosts: arg_maxPosts, $fields: arg_$fields)
+ maxPosts: arg_maxPosts, view: arg_view, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBlog(response);
})));
@@ -1642,10 +1642,10 @@
var mock = HttpServerMock();
api.BlogsResourceApi res = api.BloggerApi(mock).blogs;
var arg_userId = 'foo';
+ var arg_fetchUserInfo = true;
var arg_role = buildUnnamed159();
var arg_status = buildUnnamed160();
var arg_view = 'foo';
- var arg_fetchUserInfo = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1682,11 +1682,11 @@
);
}
}
+ unittest.expect(queryMap["fetchUserInfo"].first,
+ unittest.equals("$arg_fetchUserInfo"));
unittest.expect(queryMap["role"], unittest.equals(arg_role));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["fetchUserInfo"].first,
- unittest.equals("$arg_fetchUserInfo"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1697,10 +1697,10 @@
}), true);
res
.listByUser(arg_userId,
+ fetchUserInfo: arg_fetchUserInfo,
role: arg_role,
status: arg_status,
view: arg_view,
- fetchUserInfo: arg_fetchUserInfo,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBlogList(response);
@@ -1928,13 +1928,13 @@
api.CommentsResourceApi res = api.BloggerApi(mock).comments;
var arg_blogId = 'foo';
var arg_postId = 'foo';
+ var arg_endDate = 'foo';
var arg_fetchBodies = true;
- var arg_view = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_startDate = 'foo';
var arg_status = 'foo';
- var arg_endDate = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1981,8 +1981,9 @@
}
}
unittest.expect(
+ queryMap["endDate"].first, unittest.equals(arg_endDate));
+ unittest.expect(
queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
@@ -1990,8 +1991,7 @@
unittest.expect(
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
- unittest.expect(
- queryMap["endDate"].first, unittest.equals(arg_endDate));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2002,13 +2002,13 @@
}), true);
res
.list(arg_blogId, arg_postId,
+ endDate: arg_endDate,
fetchBodies: arg_fetchBodies,
- view: arg_view,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
startDate: arg_startDate,
status: arg_status,
- endDate: arg_endDate,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentList(response);
@@ -2019,12 +2019,12 @@
var mock = HttpServerMock();
api.CommentsResourceApi res = api.BloggerApi(mock).comments;
var arg_blogId = 'foo';
- var arg_fetchBodies = true;
var arg_endDate = 'foo';
+ var arg_fetchBodies = true;
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_startDate = 'foo';
var arg_status = buildUnnamed161();
- var arg_maxResults = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2062,16 +2062,16 @@
}
}
unittest.expect(
- queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
unittest.expect(
+ queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2082,12 +2082,12 @@
}), true);
res
.listByBlog(arg_blogId,
- fetchBodies: arg_fetchBodies,
endDate: arg_endDate,
+ fetchBodies: arg_fetchBodies,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
startDate: arg_startDate,
status: arg_status,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentList(response);
@@ -2492,11 +2492,11 @@
var mock = HttpServerMock();
api.PagesResourceApi res = api.BloggerApi(mock).pages;
var arg_blogId = 'foo';
- var arg_view = 'foo';
- var arg_maxResults = 42;
var arg_fetchBodies = true;
- var arg_status = buildUnnamed163();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_status = buildUnnamed163();
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2533,14 +2533,14 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(
+ queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["status"], unittest.equals(arg_status));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2551,11 +2551,11 @@
}), true);
res
.list(arg_blogId,
- view: arg_view,
- maxResults: arg_maxResults,
fetchBodies: arg_fetchBodies,
- status: arg_status,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ status: arg_status,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPageList(response);
@@ -2770,8 +2770,8 @@
var arg_request = buildPage();
var arg_blogId = 'foo';
var arg_pageId = 'foo';
- var arg_revert_1 = true;
var arg_publish_1 = true;
+ var arg_revert_1 = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Page.fromJson(json);
@@ -2815,9 +2815,9 @@
}
}
unittest.expect(
- queryMap["revert"].first, unittest.equals("$arg_revert_1"));
- unittest.expect(
queryMap["publish"].first, unittest.equals("$arg_publish_1"));
+ unittest.expect(
+ queryMap["revert"].first, unittest.equals("$arg_revert_1"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2828,8 +2828,8 @@
}), true);
res
.update(arg_request, arg_blogId, arg_pageId,
- revert_1: arg_revert_1,
publish_1: arg_publish_1,
+ revert_1: arg_revert_1,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPage(response);
@@ -2916,15 +2916,15 @@
api.PostUserInfosResourceApi res = api.BloggerApi(mock).postUserInfos;
var arg_userId = 'foo';
var arg_blogId = 'foo';
- var arg_orderBy = 'foo';
- var arg_fetchBodies = true;
- var arg_view = 'foo';
- var arg_maxResults = 42;
- var arg_startDate = 'foo';
- var arg_labels = 'foo';
var arg_endDate = 'foo';
+ var arg_fetchBodies = true;
+ var arg_labels = 'foo';
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
+ var arg_startDate = 'foo';
var arg_status = buildUnnamed164();
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2971,20 +2971,20 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["endDate"].first, unittest.equals(arg_endDate));
unittest.expect(
queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(queryMap["labels"].first, unittest.equals(arg_labels));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["startDate"].first, unittest.equals(arg_startDate));
- unittest.expect(queryMap["labels"].first, unittest.equals(arg_labels));
- unittest.expect(
- queryMap["endDate"].first, unittest.equals(arg_endDate));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2995,15 +2995,15 @@
}), true);
res
.list(arg_userId, arg_blogId,
- orderBy: arg_orderBy,
- fetchBodies: arg_fetchBodies,
- view: arg_view,
- maxResults: arg_maxResults,
- startDate: arg_startDate,
- labels: arg_labels,
endDate: arg_endDate,
+ fetchBodies: arg_fetchBodies,
+ labels: arg_labels,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
+ startDate: arg_startDate,
status: arg_status,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPostUserInfosList(response);
@@ -3074,9 +3074,9 @@
api.PostsResourceApi res = api.BloggerApi(mock).posts;
var arg_blogId = 'foo';
var arg_postId = 'foo';
- var arg_maxComments = 42;
var arg_fetchBody = true;
var arg_fetchImages = true;
+ var arg_maxComments = 42;
var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3117,12 +3117,12 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxComments"].first),
- unittest.equals(arg_maxComments));
unittest.expect(
queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ unittest.expect(core.int.parse(queryMap["maxComments"].first),
+ unittest.equals(arg_maxComments));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3134,9 +3134,9 @@
}), true);
res
.get(arg_blogId, arg_postId,
- maxComments: arg_maxComments,
fetchBody: arg_fetchBody,
fetchImages: arg_fetchImages,
+ maxComments: arg_maxComments,
view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3149,8 +3149,8 @@
api.PostsResourceApi res = api.BloggerApi(mock).posts;
var arg_blogId = 'foo';
var arg_path = 'foo';
- var arg_view = 'foo';
var arg_maxComments = 42;
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3188,9 +3188,9 @@
}
}
unittest.expect(queryMap["path"].first, unittest.equals(arg_path));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(core.int.parse(queryMap["maxComments"].first),
unittest.equals(arg_maxComments));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3201,8 +3201,8 @@
}), true);
res
.getByPath(arg_blogId, arg_path,
- view: arg_view,
maxComments: arg_maxComments,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPost(response);
@@ -3214,9 +3214,9 @@
api.PostsResourceApi res = api.BloggerApi(mock).posts;
var arg_request = buildPost();
var arg_blogId = 'foo';
- var arg_isDraft = true;
var arg_fetchBody = true;
var arg_fetchImages = true;
+ var arg_isDraft = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Post.fromJson(json);
@@ -3257,11 +3257,11 @@
}
}
unittest.expect(
- queryMap["isDraft"].first, unittest.equals("$arg_isDraft"));
- unittest.expect(
queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ unittest.expect(
+ queryMap["isDraft"].first, unittest.equals("$arg_isDraft"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3272,9 +3272,9 @@
}), true);
res
.insert(arg_request, arg_blogId,
- isDraft: arg_isDraft,
fetchBody: arg_fetchBody,
fetchImages: arg_fetchImages,
+ isDraft: arg_isDraft,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPost(response);
@@ -3285,16 +3285,16 @@
var mock = HttpServerMock();
api.PostsResourceApi res = api.BloggerApi(mock).posts;
var arg_blogId = 'foo';
- var arg_maxResults = 42;
- var arg_pageToken = 'foo';
- var arg_fetchBodies = true;
var arg_endDate = 'foo';
- var arg_view = 'foo';
+ var arg_fetchBodies = true;
var arg_fetchImages = true;
+ var arg_labels = 'foo';
+ var arg_maxResults = 42;
var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
var arg_startDate = 'foo';
var arg_status = buildUnnamed165();
- var arg_labels = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3331,23 +3331,23 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["endDate"].first, unittest.equals(arg_endDate));
unittest.expect(
queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
unittest.expect(
- queryMap["endDate"].first, unittest.equals(arg_endDate));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ unittest.expect(queryMap["labels"].first, unittest.equals(arg_labels));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["startDate"].first, unittest.equals(arg_startDate));
unittest.expect(queryMap["status"], unittest.equals(arg_status));
- unittest.expect(queryMap["labels"].first, unittest.equals(arg_labels));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3358,16 +3358,16 @@
}), true);
res
.list(arg_blogId,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
- fetchBodies: arg_fetchBodies,
endDate: arg_endDate,
- view: arg_view,
+ fetchBodies: arg_fetchBodies,
fetchImages: arg_fetchImages,
+ labels: arg_labels,
+ maxResults: arg_maxResults,
orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
startDate: arg_startDate,
status: arg_status,
- labels: arg_labels,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPostList(response);
@@ -3380,10 +3380,10 @@
var arg_request = buildPost();
var arg_blogId = 'foo';
var arg_postId = 'foo';
- var arg_publish_1 = true;
+ var arg_fetchBody = true;
var arg_fetchImages = true;
var arg_maxComments = 42;
- var arg_fetchBody = true;
+ var arg_publish_1 = true;
var arg_revert_1 = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3428,13 +3428,13 @@
}
}
unittest.expect(
- queryMap["publish"].first, unittest.equals("$arg_publish_1"));
+ queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(
queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
unittest.expect(core.int.parse(queryMap["maxComments"].first),
unittest.equals(arg_maxComments));
unittest.expect(
- queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
+ queryMap["publish"].first, unittest.equals("$arg_publish_1"));
unittest.expect(
queryMap["revert"].first, unittest.equals("$arg_revert_1"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3447,10 +3447,10 @@
}), true);
res
.patch(arg_request, arg_blogId, arg_postId,
- publish_1: arg_publish_1,
+ fetchBody: arg_fetchBody,
fetchImages: arg_fetchImages,
maxComments: arg_maxComments,
- fetchBody: arg_fetchBody,
+ publish_1: arg_publish_1,
revert_1: arg_revert_1,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3597,8 +3597,8 @@
api.PostsResourceApi res = api.BloggerApi(mock).posts;
var arg_blogId = 'foo';
var arg_q = 'foo';
- var arg_orderBy = 'foo';
var arg_fetchBodies = true;
+ var arg_orderBy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3637,9 +3637,9 @@
}
unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["fetchBodies"].first, unittest.equals("$arg_fetchBodies"));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3650,8 +3650,8 @@
}), true);
res
.search(arg_blogId, arg_q,
- orderBy: arg_orderBy,
fetchBodies: arg_fetchBodies,
+ orderBy: arg_orderBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPostList(response);
@@ -3664,11 +3664,11 @@
var arg_request = buildPost();
var arg_blogId = 'foo';
var arg_postId = 'foo';
+ var arg_fetchBody = true;
+ var arg_fetchImages = true;
+ var arg_maxComments = 42;
var arg_publish_1 = true;
var arg_revert_1 = true;
- var arg_maxComments = 42;
- var arg_fetchImages = true;
- var arg_fetchBody = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Post.fromJson(json);
@@ -3712,15 +3712,15 @@
}
}
unittest.expect(
- queryMap["publish"].first, unittest.equals("$arg_publish_1"));
+ queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
unittest.expect(
- queryMap["revert"].first, unittest.equals("$arg_revert_1"));
+ queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
unittest.expect(core.int.parse(queryMap["maxComments"].first),
unittest.equals(arg_maxComments));
unittest.expect(
- queryMap["fetchImages"].first, unittest.equals("$arg_fetchImages"));
+ queryMap["publish"].first, unittest.equals("$arg_publish_1"));
unittest.expect(
- queryMap["fetchBody"].first, unittest.equals("$arg_fetchBody"));
+ queryMap["revert"].first, unittest.equals("$arg_revert_1"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3731,11 +3731,11 @@
}), true);
res
.update(arg_request, arg_blogId, arg_postId,
+ fetchBody: arg_fetchBody,
+ fetchImages: arg_fetchImages,
+ maxComments: arg_maxComments,
publish_1: arg_publish_1,
revert_1: arg_revert_1,
- maxComments: arg_maxComments,
- fetchImages: arg_fetchImages,
- fetchBody: arg_fetchBody,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPost(response);
diff --git a/generated/googleapis/test/books/v1_test.dart b/generated/googleapis/test/books/v1_test.dart
index 3b08bbc..f8509e2 100644
--- a/generated/googleapis/test/books/v1_test.dart
+++ b/generated/googleapis/test/books/v1_test.dart
@@ -4672,10 +4672,10 @@
api.BooksApi(mock).bookshelves.volumes;
var arg_userId = 'foo';
var arg_shelf = 'foo';
- var arg_startIndex = 42;
- var arg_source = 'foo';
var arg_maxResults = 42;
var arg_showPreorders = true;
+ var arg_source = 'foo';
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4721,13 +4721,13 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(queryMap["showPreorders"].first,
unittest.equals("$arg_showPreorders"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4738,10 +4738,10 @@
}), true);
res
.list(arg_userId, arg_shelf,
- startIndex: arg_startIndex,
- source: arg_source,
maxResults: arg_maxResults,
showPreorders: arg_showPreorders,
+ source: arg_source,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -4753,9 +4753,9 @@
unittest.test('method--addBook', () {
var mock = HttpServerMock();
api.CloudloadingResourceApi res = api.BooksApi(mock).cloudloading;
- var arg_name = 'foo';
var arg_driveDocumentId = 'foo';
var arg_mimeType = 'foo';
+ var arg_name = 'foo';
var arg_uploadClientToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4784,11 +4784,11 @@
);
}
}
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["drive_document_id"].first,
unittest.equals(arg_driveDocumentId));
unittest.expect(
queryMap["mime_type"].first, unittest.equals(arg_mimeType));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["upload_client_token"].first,
unittest.equals(arg_uploadClientToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4801,9 +4801,9 @@
}), true);
res
.addBook(
- name: arg_name,
driveDocumentId: arg_driveDocumentId,
mimeType: arg_mimeType,
+ name: arg_name,
uploadClientToken: arg_uploadClientToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5010,8 +5010,8 @@
unittest.test('method--share', () {
var mock = HttpServerMock();
api.FamilysharingResourceApi res = api.BooksApi(mock).familysharing;
- var arg_source = 'foo';
var arg_docId = 'foo';
+ var arg_source = 'foo';
var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5040,8 +5040,8 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5054,8 +5054,8 @@
}), true);
res
.share(
- source: arg_source,
docId: arg_docId,
+ source: arg_source,
volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5067,8 +5067,8 @@
var mock = HttpServerMock();
api.FamilysharingResourceApi res = api.BooksApi(mock).familysharing;
var arg_docId = 'foo';
- var arg_volumeId = 'foo';
var arg_source = 'foo';
+ var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5097,9 +5097,9 @@
}
}
unittest.expect(queryMap["docId"].first, unittest.equals(arg_docId));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5111,8 +5111,8 @@
res
.unshare(
docId: arg_docId,
- volumeId: arg_volumeId,
source: arg_source,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -5126,8 +5126,8 @@
api.LayersResourceApi res = api.BooksApi(mock).layers;
var arg_volumeId = 'foo';
var arg_summaryId = 'foo';
- var arg_source = 'foo';
var arg_contentVersion = 'foo';
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5167,9 +5167,9 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["contentVersion"].first,
unittest.equals(arg_contentVersion));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5180,8 +5180,8 @@
}), true);
res
.get(arg_volumeId, arg_summaryId,
- source: arg_source,
contentVersion: arg_contentVersion,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLayersummary(response);
@@ -5192,10 +5192,10 @@
var mock = HttpServerMock();
api.LayersResourceApi res = api.BooksApi(mock).layers;
var arg_volumeId = 'foo';
+ var arg_contentVersion = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_source = 'foo';
- var arg_contentVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5232,13 +5232,13 @@
);
}
}
+ unittest.expect(queryMap["contentVersion"].first,
+ unittest.equals(arg_contentVersion));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5249,10 +5249,10 @@
}), true);
res
.list(arg_volumeId,
+ contentVersion: arg_contentVersion,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
source: arg_source,
- contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLayersummaries(response);
@@ -5269,12 +5269,12 @@
var arg_layerId = 'foo';
var arg_annotationDataId = 'foo';
var arg_allowWebDefinitions = true;
- var arg_source = 'foo';
+ var arg_contentVersion = 'foo';
+ var arg_h = 42;
var arg_locale = 'foo';
var arg_scale = 42;
- var arg_h = 42;
+ var arg_source = 'foo';
var arg_w = 42;
- var arg_contentVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5325,16 +5325,16 @@
}
unittest.expect(queryMap["allowWebDefinitions"].first,
unittest.equals("$arg_allowWebDefinitions"));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["contentVersion"].first,
+ unittest.equals(arg_contentVersion));
+ unittest.expect(
+ core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["scale"].first),
unittest.equals(arg_scale));
- unittest.expect(
- core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
core.int.parse(queryMap["w"].first), unittest.equals(arg_w));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5346,12 +5346,12 @@
res
.get(arg_volumeId, arg_layerId, arg_annotationDataId,
allowWebDefinitions: arg_allowWebDefinitions,
- source: arg_source,
+ contentVersion: arg_contentVersion,
+ h: arg_h,
locale: arg_locale,
scale: arg_scale,
- h: arg_h,
+ source: arg_source,
w: arg_w,
- contentVersion: arg_contentVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDictionaryAnnotationdata(response);
@@ -5364,17 +5364,17 @@
api.BooksApi(mock).layers.annotationData;
var arg_volumeId = 'foo';
var arg_layerId = 'foo';
- var arg_w = 42;
- var arg_scale = 42;
- var arg_updatedMin = 'foo';
- var arg_maxResults = 42;
- var arg_locale = 'foo';
- var arg_pageToken = 'foo';
- var arg_source = 'foo';
- var arg_contentVersion = 'foo';
var arg_annotationDataId = buildUnnamed5828();
- var arg_updatedMax = 'foo';
+ var arg_contentVersion = 'foo';
var arg_h = 42;
+ var arg_locale = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_scale = 42;
+ var arg_source = 'foo';
+ var arg_updatedMax = 'foo';
+ var arg_updatedMin = 'foo';
+ var arg_w = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5420,26 +5420,26 @@
);
}
}
- unittest.expect(
- core.int.parse(queryMap["w"].first), unittest.equals(arg_w));
- unittest.expect(core.int.parse(queryMap["scale"].first),
- unittest.equals(arg_scale));
- unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
unittest.expect(queryMap["annotationDataId"],
unittest.equals(arg_annotationDataId));
+ unittest.expect(queryMap["contentVersion"].first,
+ unittest.equals(arg_contentVersion));
+ unittest.expect(
+ core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["scale"].first),
+ unittest.equals(arg_scale));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["updatedMax"].first, unittest.equals(arg_updatedMax));
unittest.expect(
- core.int.parse(queryMap["h"].first), unittest.equals(arg_h));
+ queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
+ unittest.expect(
+ core.int.parse(queryMap["w"].first), unittest.equals(arg_w));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5450,17 +5450,17 @@
}), true);
res
.list(arg_volumeId, arg_layerId,
- w: arg_w,
- scale: arg_scale,
- updatedMin: arg_updatedMin,
- maxResults: arg_maxResults,
- locale: arg_locale,
- pageToken: arg_pageToken,
- source: arg_source,
- contentVersion: arg_contentVersion,
annotationDataId: arg_annotationDataId,
- updatedMax: arg_updatedMax,
+ contentVersion: arg_contentVersion,
h: arg_h,
+ locale: arg_locale,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ scale: arg_scale,
+ source: arg_source,
+ updatedMax: arg_updatedMax,
+ updatedMin: arg_updatedMin,
+ w: arg_w,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotationsdata(response);
@@ -5550,19 +5550,19 @@
api.BooksApi(mock).layers.volumeAnnotations;
var arg_volumeId = 'foo';
var arg_layerId = 'foo';
- var arg_updatedMin = 'foo';
var arg_contentVersion = 'foo';
- var arg_startPosition = 'foo';
- var arg_endPosition = 'foo';
- var arg_startOffset = 'foo';
- var arg_updatedMax = 'foo';
- var arg_volumeAnnotationsVersion = 'foo';
- var arg_source = 'foo';
var arg_endOffset = 'foo';
- var arg_maxResults = 42;
+ var arg_endPosition = 'foo';
var arg_locale = 'foo';
- var arg_showDeleted = true;
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
+ var arg_source = 'foo';
+ var arg_startOffset = 'foo';
+ var arg_startPosition = 'foo';
+ var arg_updatedMax = 'foo';
+ var arg_updatedMin = 'foo';
+ var arg_volumeAnnotationsVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5602,30 +5602,30 @@
);
}
}
- unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
unittest.expect(queryMap["contentVersion"].first,
unittest.equals(arg_contentVersion));
+ unittest.expect(
+ queryMap["endOffset"].first, unittest.equals(arg_endOffset));
+ unittest.expect(
+ queryMap["endPosition"].first, unittest.equals(arg_endPosition));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(
+ queryMap["startOffset"].first, unittest.equals(arg_startOffset));
unittest.expect(queryMap["startPosition"].first,
unittest.equals(arg_startPosition));
unittest.expect(
- queryMap["endPosition"].first, unittest.equals(arg_endPosition));
- unittest.expect(
- queryMap["startOffset"].first, unittest.equals(arg_startOffset));
- unittest.expect(
queryMap["updatedMax"].first, unittest.equals(arg_updatedMax));
+ unittest.expect(
+ queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
unittest.expect(queryMap["volumeAnnotationsVersion"].first,
unittest.equals(arg_volumeAnnotationsVersion));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(
- queryMap["endOffset"].first, unittest.equals(arg_endOffset));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5636,19 +5636,19 @@
}), true);
res
.list(arg_volumeId, arg_layerId,
- updatedMin: arg_updatedMin,
contentVersion: arg_contentVersion,
- startPosition: arg_startPosition,
- endPosition: arg_endPosition,
- startOffset: arg_startOffset,
- updatedMax: arg_updatedMax,
- volumeAnnotationsVersion: arg_volumeAnnotationsVersion,
- source: arg_source,
endOffset: arg_endOffset,
- maxResults: arg_maxResults,
+ endPosition: arg_endPosition,
locale: arg_locale,
- showDeleted: arg_showDeleted,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
+ source: arg_source,
+ startOffset: arg_startOffset,
+ startPosition: arg_startPosition,
+ updatedMax: arg_updatedMax,
+ updatedMin: arg_updatedMin,
+ volumeAnnotationsVersion: arg_volumeAnnotationsVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumeannotations(response);
@@ -5767,11 +5767,11 @@
unittest.test('method--requestAccess', () {
var mock = HttpServerMock();
api.MyconfigResourceApi res = api.BooksApi(mock).myconfig;
- var arg_source = 'foo';
- var arg_locale = 'foo';
- var arg_nonce = 'foo';
var arg_cpksver = 'foo';
var arg_licenseTypes = 'foo';
+ var arg_locale = 'foo';
+ var arg_nonce = 'foo';
+ var arg_source = 'foo';
var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5800,13 +5800,13 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["nonce"].first, unittest.equals(arg_nonce));
unittest.expect(
queryMap["cpksver"].first, unittest.equals(arg_cpksver));
unittest.expect(
queryMap["licenseTypes"].first, unittest.equals(arg_licenseTypes));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(queryMap["nonce"].first, unittest.equals(arg_nonce));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5819,11 +5819,11 @@
}), true);
res
.requestAccess(
- source: arg_source,
- locale: arg_locale,
- nonce: arg_nonce,
cpksver: arg_cpksver,
licenseTypes: arg_licenseTypes,
+ locale: arg_locale,
+ nonce: arg_nonce,
+ source: arg_source,
volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5835,12 +5835,12 @@
var mock = HttpServerMock();
api.MyconfigResourceApi res = api.BooksApi(mock).myconfig;
var arg_cpksver = 'foo';
- var arg_source = 'foo';
- var arg_locale = 'foo';
- var arg_showPreorders = true;
- var arg_includeNonComicsSeries = true;
var arg_features = buildUnnamed5830();
+ var arg_includeNonComicsSeries = true;
+ var arg_locale = 'foo';
var arg_nonce = 'foo';
+ var arg_showPreorders = true;
+ var arg_source = 'foo';
var arg_volumeIds = buildUnnamed5831();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5871,14 +5871,14 @@
}
unittest.expect(
queryMap["cpksver"].first, unittest.equals(arg_cpksver));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["showPreorders"].first,
- unittest.equals("$arg_showPreorders"));
+ unittest.expect(queryMap["features"], unittest.equals(arg_features));
unittest.expect(queryMap["includeNonComicsSeries"].first,
unittest.equals("$arg_includeNonComicsSeries"));
- unittest.expect(queryMap["features"], unittest.equals(arg_features));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["nonce"].first, unittest.equals(arg_nonce));
+ unittest.expect(queryMap["showPreorders"].first,
+ unittest.equals("$arg_showPreorders"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["volumeIds"], unittest.equals(arg_volumeIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5891,12 +5891,12 @@
res
.syncVolumeLicenses(
cpksver: arg_cpksver,
- source: arg_source,
- locale: arg_locale,
- showPreorders: arg_showPreorders,
- includeNonComicsSeries: arg_includeNonComicsSeries,
features: arg_features,
+ includeNonComicsSeries: arg_includeNonComicsSeries,
+ locale: arg_locale,
nonce: arg_nonce,
+ showPreorders: arg_showPreorders,
+ source: arg_source,
volumeIds: arg_volumeIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6013,9 +6013,9 @@
api.BooksApi(mock).mylibrary.annotations;
var arg_request = buildAnnotation();
var arg_annotationId = 'foo';
- var arg_source = 'foo';
- var arg_showOnlySummaryInResponse = true;
var arg_country = 'foo';
+ var arg_showOnlySummaryInResponse = true;
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Annotation.fromJson(json);
@@ -6048,11 +6048,11 @@
}
unittest.expect(
queryMap["annotationId"].first, unittest.equals(arg_annotationId));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["showOnlySummaryInResponse"].first,
- unittest.equals("$arg_showOnlySummaryInResponse"));
unittest.expect(
queryMap["country"].first, unittest.equals(arg_country));
+ unittest.expect(queryMap["showOnlySummaryInResponse"].first,
+ unittest.equals("$arg_showOnlySummaryInResponse"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6064,9 +6064,9 @@
res
.insert(arg_request,
annotationId: arg_annotationId,
- source: arg_source,
- showOnlySummaryInResponse: arg_showOnlySummaryInResponse,
country: arg_country,
+ showOnlySummaryInResponse: arg_showOnlySummaryInResponse,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotation(response);
@@ -6077,16 +6077,16 @@
var mock = HttpServerMock();
api.MylibraryAnnotationsResourceApi res =
api.BooksApi(mock).mylibrary.annotations;
- var arg_source = 'foo';
- var arg_layerIds = buildUnnamed5832();
- var arg_layerId = 'foo';
- var arg_updatedMax = 'foo';
- var arg_showDeleted = true;
- var arg_volumeId = 'foo';
- var arg_updatedMin = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_contentVersion = 'foo';
+ var arg_layerId = 'foo';
+ var arg_layerIds = buildUnnamed5832();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
+ var arg_source = 'foo';
+ var arg_updatedMax = 'foo';
+ var arg_updatedMin = 'foo';
+ var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6114,24 +6114,24 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
+ unittest.expect(queryMap["contentVersion"].first,
+ unittest.equals(arg_contentVersion));
unittest.expect(
queryMap["layerId"].first, unittest.equals(arg_layerId));
+ unittest.expect(queryMap["layerIds"], unittest.equals(arg_layerIds));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["updatedMax"].first, unittest.equals(arg_updatedMax));
unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(
- queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(
queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["contentVersion"].first,
- unittest.equals(arg_contentVersion));
+ queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6142,16 +6142,16 @@
}), true);
res
.list(
- source: arg_source,
- layerIds: arg_layerIds,
- layerId: arg_layerId,
- updatedMax: arg_updatedMax,
- showDeleted: arg_showDeleted,
- volumeId: arg_volumeId,
- updatedMin: arg_updatedMin,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
contentVersion: arg_contentVersion,
+ layerId: arg_layerId,
+ layerIds: arg_layerIds,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
+ source: arg_source,
+ updatedMax: arg_updatedMax,
+ updatedMin: arg_updatedMin,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAnnotations(response);
@@ -6276,8 +6276,8 @@
api.MylibraryBookshelvesResourceApi res =
api.BooksApi(mock).mylibrary.bookshelves;
var arg_shelf = 'foo';
- var arg_source = 'foo';
var arg_reason = 'foo';
+ var arg_source = 'foo';
var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6315,8 +6315,8 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["reason"].first, unittest.equals(arg_reason));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6329,8 +6329,8 @@
}), true);
res
.addVolume(arg_shelf,
- source: arg_source,
reason: arg_reason,
+ source: arg_source,
volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6501,8 +6501,8 @@
api.MylibraryBookshelvesResourceApi res =
api.BooksApi(mock).mylibrary.bookshelves;
var arg_shelf = 'foo';
- var arg_volumeId = 'foo';
var arg_source = 'foo';
+ var arg_volumeId = 'foo';
var arg_volumePosition = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6540,9 +6540,9 @@
);
}
}
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(core.int.parse(queryMap["volumePosition"].first),
unittest.equals(arg_volumePosition));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6555,8 +6555,8 @@
}), true);
res
.moveVolume(arg_shelf,
- volumeId: arg_volumeId,
source: arg_source,
+ volumeId: arg_volumeId,
volumePosition: arg_volumePosition,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6569,9 +6569,9 @@
api.MylibraryBookshelvesResourceApi res =
api.BooksApi(mock).mylibrary.bookshelves;
var arg_shelf = 'foo';
+ var arg_reason = 'foo';
var arg_source = 'foo';
var arg_volumeId = 'foo';
- var arg_reason = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6608,10 +6608,10 @@
);
}
}
+ unittest.expect(queryMap["reason"].first, unittest.equals(arg_reason));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["reason"].first, unittest.equals(arg_reason));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6622,9 +6622,9 @@
}), true);
res
.removeVolume(arg_shelf,
+ reason: arg_reason,
source: arg_source,
volumeId: arg_volumeId,
- reason: arg_reason,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -6638,12 +6638,12 @@
api.MylibraryBookshelvesVolumesResourceApi res =
api.BooksApi(mock).mylibrary.bookshelves.volumes;
var arg_shelf = 'foo';
- var arg_maxResults = 42;
- var arg_source = 'foo';
var arg_country = 'foo';
+ var arg_maxResults = 42;
var arg_projection = 'foo';
- var arg_showPreorders = true;
var arg_q = 'foo';
+ var arg_showPreorders = true;
+ var arg_source = 'foo';
var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6681,16 +6681,16 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["country"].first, unittest.equals(arg_country));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["projection"].first, unittest.equals(arg_projection));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["showPreorders"].first,
unittest.equals("$arg_showPreorders"));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6703,12 +6703,12 @@
}), true);
res
.list(arg_shelf,
- maxResults: arg_maxResults,
- source: arg_source,
country: arg_country,
+ maxResults: arg_maxResults,
projection: arg_projection,
- showPreorders: arg_showPreorders,
q: arg_q,
+ showPreorders: arg_showPreorders,
+ source: arg_source,
startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6723,8 +6723,8 @@
api.MylibraryReadingpositionsResourceApi res =
api.BooksApi(mock).mylibrary.readingpositions;
var arg_volumeId = 'foo';
- var arg_source = 'foo';
var arg_contentVersion = 'foo';
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6755,9 +6755,9 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["contentVersion"].first,
unittest.equals(arg_contentVersion));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6768,8 +6768,8 @@
}), true);
res
.get(arg_volumeId,
- source: arg_source,
contentVersion: arg_contentVersion,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReadingPosition(response);
@@ -6781,12 +6781,12 @@
api.MylibraryReadingpositionsResourceApi res =
api.BooksApi(mock).mylibrary.readingpositions;
var arg_volumeId = 'foo';
- var arg_position = 'foo';
- var arg_deviceCookie = 'foo';
- var arg_source = 'foo';
- var arg_contentVersion = 'foo';
- var arg_timestamp = 'foo';
var arg_action = 'foo';
+ var arg_contentVersion = 'foo';
+ var arg_deviceCookie = 'foo';
+ var arg_position = 'foo';
+ var arg_source = 'foo';
+ var arg_timestamp = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6823,16 +6823,16 @@
);
}
}
- unittest.expect(
- queryMap["position"].first, unittest.equals(arg_position));
- unittest.expect(
- queryMap["deviceCookie"].first, unittest.equals(arg_deviceCookie));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
unittest.expect(queryMap["contentVersion"].first,
unittest.equals(arg_contentVersion));
unittest.expect(
+ queryMap["deviceCookie"].first, unittest.equals(arg_deviceCookie));
+ unittest.expect(
+ queryMap["position"].first, unittest.equals(arg_position));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(
queryMap["timestamp"].first, unittest.equals(arg_timestamp));
- unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6843,12 +6843,12 @@
}), true);
res
.setPosition(arg_volumeId,
- position: arg_position,
- deviceCookie: arg_deviceCookie,
- source: arg_source,
- contentVersion: arg_contentVersion,
- timestamp: arg_timestamp,
action: arg_action,
+ contentVersion: arg_contentVersion,
+ deviceCookie: arg_deviceCookie,
+ position: arg_position,
+ source: arg_source,
+ timestamp: arg_timestamp,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -6860,9 +6860,9 @@
unittest.test('method--get', () {
var mock = HttpServerMock();
api.NotificationResourceApi res = api.BooksApi(mock).notification;
- var arg_source = 'foo';
var arg_locale = 'foo';
var arg_notificationId = 'foo';
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6890,10 +6890,10 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["notification_id"].first,
unittest.equals(arg_notificationId));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6904,9 +6904,9 @@
}), true);
res
.get(
- source: arg_source,
locale: arg_locale,
notificationId: arg_notificationId,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkNotification(response);
@@ -6965,11 +6965,11 @@
unittest.test('method--listCategoryVolumes', () {
var mock = HttpServerMock();
api.OnboardingResourceApi res = api.BooksApi(mock).onboarding;
- var arg_locale = 'foo';
var arg_categoryId = buildUnnamed5834();
- var arg_pageToken = 'foo';
+ var arg_locale = 'foo';
var arg_maxAllowedMaturityRating = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6997,15 +6997,15 @@
);
}
}
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(
queryMap["categoryId"], unittest.equals(arg_categoryId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["maxAllowedMaturityRating"].first,
unittest.equals(arg_maxAllowedMaturityRating));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7016,11 +7016,11 @@
}), true);
res
.listCategoryVolumes(
- locale: arg_locale,
categoryId: arg_categoryId,
- pageToken: arg_pageToken,
+ locale: arg_locale,
maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolume2(response);
@@ -7033,9 +7033,9 @@
var mock = HttpServerMock();
api.PersonalizedstreamResourceApi res =
api.BooksApi(mock).personalizedstream;
+ var arg_locale = 'foo';
var arg_maxAllowedMaturityRating = 'foo';
var arg_source = 'foo';
- var arg_locale = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7063,10 +7063,10 @@
);
}
}
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["maxAllowedMaturityRating"].first,
unittest.equals(arg_maxAllowedMaturityRating));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7077,9 +7077,9 @@
}), true);
res
.get(
+ locale: arg_locale,
maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
source: arg_source,
- locale: arg_locale,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDiscoveryclusters(response);
@@ -7091,14 +7091,14 @@
unittest.test('method--accept', () {
var mock = HttpServerMock();
api.PromoofferResourceApi res = api.BooksApi(mock).promooffer;
- var arg_offerId = 'foo';
- var arg_manufacturer = 'foo';
- var arg_product = 'foo';
- var arg_model = 'foo';
- var arg_volumeId = 'foo';
- var arg_device = 'foo';
var arg_androidId = 'foo';
+ var arg_device = 'foo';
+ var arg_manufacturer = 'foo';
+ var arg_model = 'foo';
+ var arg_offerId = 'foo';
+ var arg_product = 'foo';
var arg_serial = 'foo';
+ var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7127,18 +7127,18 @@
}
}
unittest.expect(
- queryMap["offerId"].first, unittest.equals(arg_offerId));
- unittest.expect(
- queryMap["manufacturer"].first, unittest.equals(arg_manufacturer));
- unittest.expect(
- queryMap["product"].first, unittest.equals(arg_product));
- unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
- unittest.expect(
- queryMap["volumeId"].first, unittest.equals(arg_volumeId));
+ queryMap["androidId"].first, unittest.equals(arg_androidId));
unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
unittest.expect(
- queryMap["androidId"].first, unittest.equals(arg_androidId));
+ queryMap["manufacturer"].first, unittest.equals(arg_manufacturer));
+ unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
+ unittest.expect(
+ queryMap["offerId"].first, unittest.equals(arg_offerId));
+ unittest.expect(
+ queryMap["product"].first, unittest.equals(arg_product));
unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
+ unittest.expect(
+ queryMap["volumeId"].first, unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7149,14 +7149,14 @@
}), true);
res
.accept(
- offerId: arg_offerId,
- manufacturer: arg_manufacturer,
- product: arg_product,
- model: arg_model,
- volumeId: arg_volumeId,
- device: arg_device,
androidId: arg_androidId,
+ device: arg_device,
+ manufacturer: arg_manufacturer,
+ model: arg_model,
+ offerId: arg_offerId,
+ product: arg_product,
serial: arg_serial,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -7167,12 +7167,12 @@
var mock = HttpServerMock();
api.PromoofferResourceApi res = api.BooksApi(mock).promooffer;
var arg_androidId = 'foo';
- var arg_product = 'foo';
- var arg_serial = 'foo';
- var arg_model = 'foo';
- var arg_offerId = 'foo';
var arg_device = 'foo';
var arg_manufacturer = 'foo';
+ var arg_model = 'foo';
+ var arg_offerId = 'foo';
+ var arg_product = 'foo';
+ var arg_serial = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7202,15 +7202,15 @@
}
unittest.expect(
queryMap["androidId"].first, unittest.equals(arg_androidId));
- unittest.expect(
- queryMap["product"].first, unittest.equals(arg_product));
- unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
- unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
- unittest.expect(
- queryMap["offerId"].first, unittest.equals(arg_offerId));
unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
unittest.expect(
queryMap["manufacturer"].first, unittest.equals(arg_manufacturer));
+ unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
+ unittest.expect(
+ queryMap["offerId"].first, unittest.equals(arg_offerId));
+ unittest.expect(
+ queryMap["product"].first, unittest.equals(arg_product));
+ unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7222,12 +7222,12 @@
res
.dismiss(
androidId: arg_androidId,
- product: arg_product,
- serial: arg_serial,
- model: arg_model,
- offerId: arg_offerId,
device: arg_device,
manufacturer: arg_manufacturer,
+ model: arg_model,
+ offerId: arg_offerId,
+ product: arg_product,
+ serial: arg_serial,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -7237,12 +7237,12 @@
unittest.test('method--get', () {
var mock = HttpServerMock();
api.PromoofferResourceApi res = api.BooksApi(mock).promooffer;
- var arg_serial = 'foo';
var arg_androidId = 'foo';
+ var arg_device = 'foo';
var arg_manufacturer = 'foo';
var arg_model = 'foo';
- var arg_device = 'foo';
var arg_product = 'foo';
+ var arg_serial = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7270,15 +7270,15 @@
);
}
}
- unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
unittest.expect(
queryMap["androidId"].first, unittest.equals(arg_androidId));
+ unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
unittest.expect(
queryMap["manufacturer"].first, unittest.equals(arg_manufacturer));
unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
- unittest.expect(queryMap["device"].first, unittest.equals(arg_device));
unittest.expect(
queryMap["product"].first, unittest.equals(arg_product));
+ unittest.expect(queryMap["serial"].first, unittest.equals(arg_serial));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7289,12 +7289,12 @@
}), true);
res
.get(
- serial: arg_serial,
androidId: arg_androidId,
+ device: arg_device,
manufacturer: arg_manufacturer,
model: arg_model,
- device: arg_device,
product: arg_product,
+ serial: arg_serial,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOffers(response);
@@ -7418,9 +7418,9 @@
api.VolumesResourceApi res = api.BooksApi(mock).volumes;
var arg_volumeId = 'foo';
var arg_country = 'foo';
- var arg_projection = 'foo';
- var arg_partner = 'foo';
var arg_includeNonComicsSeries = true;
+ var arg_partner = 'foo';
+ var arg_projection = 'foo';
var arg_source = 'foo';
var arg_userLibraryConsistentRead = true;
var arg_$fields = 'foo';
@@ -7455,12 +7455,12 @@
}
unittest.expect(
queryMap["country"].first, unittest.equals(arg_country));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(
- queryMap["partner"].first, unittest.equals(arg_partner));
unittest.expect(queryMap["includeNonComicsSeries"].first,
unittest.equals("$arg_includeNonComicsSeries"));
+ unittest.expect(
+ queryMap["partner"].first, unittest.equals(arg_partner));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["user_library_consistent_read"].first,
unittest.equals("$arg_userLibraryConsistentRead"));
@@ -7475,9 +7475,9 @@
res
.get(arg_volumeId,
country: arg_country,
- projection: arg_projection,
- partner: arg_partner,
includeNonComicsSeries: arg_includeNonComicsSeries,
+ partner: arg_partner,
+ projection: arg_projection,
source: arg_source,
userLibraryConsistentRead: arg_userLibraryConsistentRead,
$fields: arg_$fields)
@@ -7489,20 +7489,20 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.VolumesResourceApi res = api.BooksApi(mock).volumes;
- var arg_partner = 'foo';
- var arg_startIndex = 42;
- var arg_libraryRestrict = 'foo';
- var arg_maxResults = 42;
- var arg_source = 'foo';
- var arg_filter = 'foo';
- var arg_showPreorders = true;
- var arg_projection = 'foo';
- var arg_printType = 'foo';
- var arg_maxAllowedMaturityRating = 'foo';
var arg_download = 'foo';
+ var arg_filter = 'foo';
var arg_langRestrict = 'foo';
+ var arg_libraryRestrict = 'foo';
+ var arg_maxAllowedMaturityRating = 'foo';
+ var arg_maxResults = 42;
var arg_orderBy = 'foo';
+ var arg_partner = 'foo';
+ var arg_printType = 'foo';
+ var arg_projection = 'foo';
var arg_q = 'foo';
+ var arg_showPreorders = true;
+ var arg_source = 'foo';
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7531,30 +7531,30 @@
}
}
unittest.expect(
- queryMap["partner"].first, unittest.equals(arg_partner));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(queryMap["libraryRestrict"].first,
- unittest.equals(arg_libraryRestrict));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["showPreorders"].first,
- unittest.equals("$arg_showPreorders"));
- unittest.expect(
- queryMap["projection"].first, unittest.equals(arg_projection));
- unittest.expect(
- queryMap["printType"].first, unittest.equals(arg_printType));
- unittest.expect(queryMap["maxAllowedMaturityRating"].first,
- unittest.equals(arg_maxAllowedMaturityRating));
- unittest.expect(
queryMap["download"].first, unittest.equals(arg_download));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["langRestrict"].first, unittest.equals(arg_langRestrict));
+ unittest.expect(queryMap["libraryRestrict"].first,
+ unittest.equals(arg_libraryRestrict));
+ unittest.expect(queryMap["maxAllowedMaturityRating"].first,
+ unittest.equals(arg_maxAllowedMaturityRating));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["partner"].first, unittest.equals(arg_partner));
+ unittest.expect(
+ queryMap["printType"].first, unittest.equals(arg_printType));
+ unittest.expect(
+ queryMap["projection"].first, unittest.equals(arg_projection));
unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["showPreorders"].first,
+ unittest.equals("$arg_showPreorders"));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7565,20 +7565,20 @@
}), true);
res
.list(
- partner: arg_partner,
- startIndex: arg_startIndex,
- libraryRestrict: arg_libraryRestrict,
- maxResults: arg_maxResults,
- source: arg_source,
- filter: arg_filter,
- showPreorders: arg_showPreorders,
- projection: arg_projection,
- printType: arg_printType,
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
download: arg_download,
+ filter: arg_filter,
langRestrict: arg_langRestrict,
+ libraryRestrict: arg_libraryRestrict,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
+ maxResults: arg_maxResults,
orderBy: arg_orderBy,
+ partner: arg_partner,
+ printType: arg_printType,
+ projection: arg_projection,
q: arg_q,
+ showPreorders: arg_showPreorders,
+ source: arg_source,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7592,10 +7592,10 @@
api.VolumesAssociatedResourceApi res =
api.BooksApi(mock).volumes.associated;
var arg_volumeId = 'foo';
- var arg_source = 'foo';
- var arg_locale = 'foo';
var arg_association = 'foo';
+ var arg_locale = 'foo';
var arg_maxAllowedMaturityRating = 'foo';
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7632,12 +7632,12 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(
queryMap["association"].first, unittest.equals(arg_association));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["maxAllowedMaturityRating"].first,
unittest.equals(arg_maxAllowedMaturityRating));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7648,10 +7648,10 @@
}), true);
res
.list(arg_volumeId,
- source: arg_source,
- locale: arg_locale,
association: arg_association,
+ locale: arg_locale,
maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7663,12 +7663,12 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.VolumesMybooksResourceApi res = api.BooksApi(mock).volumes.mybooks;
- var arg_processingState = buildUnnamed5836();
- var arg_maxResults = 42;
- var arg_source = 'foo';
- var arg_locale = 'foo';
- var arg_acquireMethod = buildUnnamed5837();
+ var arg_acquireMethod = buildUnnamed5836();
var arg_country = 'foo';
+ var arg_locale = 'foo';
+ var arg_maxResults = 42;
+ var arg_processingState = buildUnnamed5837();
+ var arg_source = 'foo';
var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7698,15 +7698,15 @@
}
}
unittest.expect(
- queryMap["processingState"], unittest.equals(arg_processingState));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(
queryMap["acquireMethod"], unittest.equals(arg_acquireMethod));
unittest.expect(
queryMap["country"].first, unittest.equals(arg_country));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["processingState"], unittest.equals(arg_processingState));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(core.int.parse(queryMap["startIndex"].first),
unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7719,12 +7719,12 @@
}), true);
res
.list(
- processingState: arg_processingState,
- maxResults: arg_maxResults,
- source: arg_source,
- locale: arg_locale,
acquireMethod: arg_acquireMethod,
country: arg_country,
+ locale: arg_locale,
+ maxResults: arg_maxResults,
+ processingState: arg_processingState,
+ source: arg_source,
startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7738,9 +7738,9 @@
var mock = HttpServerMock();
api.VolumesRecommendedResourceApi res =
api.BooksApi(mock).volumes.recommended;
- var arg_source = 'foo';
- var arg_maxAllowedMaturityRating = 'foo';
var arg_locale = 'foo';
+ var arg_maxAllowedMaturityRating = 'foo';
+ var arg_source = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7768,10 +7768,10 @@
);
}
}
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(queryMap["maxAllowedMaturityRating"].first,
unittest.equals(arg_maxAllowedMaturityRating));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7782,9 +7782,9 @@
}), true);
res
.list(
- source: arg_source,
- maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
locale: arg_locale,
+ maxAllowedMaturityRating: arg_maxAllowedMaturityRating,
+ source: arg_source,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
@@ -7795,10 +7795,10 @@
var mock = HttpServerMock();
api.VolumesRecommendedResourceApi res =
api.BooksApi(mock).volumes.recommended;
- var arg_volumeId = 'foo';
- var arg_rating = 'foo';
var arg_locale = 'foo';
+ var arg_rating = 'foo';
var arg_source = 'foo';
+ var arg_volumeId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7826,11 +7826,11 @@
);
}
}
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(queryMap["rating"].first, unittest.equals(arg_rating));
+ unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(
queryMap["volumeId"].first, unittest.equals(arg_volumeId));
- unittest.expect(queryMap["rating"].first, unittest.equals(arg_rating));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7842,10 +7842,10 @@
}), true);
res
.rate(
- volumeId: arg_volumeId,
- rating: arg_rating,
locale: arg_locale,
+ rating: arg_rating,
source: arg_source,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBooksVolumesRecommendedRateResponse(response);
@@ -7858,12 +7858,12 @@
var mock = HttpServerMock();
api.VolumesUseruploadedResourceApi res =
api.BooksApi(mock).volumes.useruploaded;
- var arg_processingState = buildUnnamed5838();
var arg_locale = 'foo';
- var arg_volumeId = buildUnnamed5839();
- var arg_startIndex = 42;
var arg_maxResults = 42;
+ var arg_processingState = buildUnnamed5838();
var arg_source = 'foo';
+ var arg_startIndex = 42;
+ var arg_volumeId = buildUnnamed5839();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7891,15 +7891,15 @@
);
}
}
- unittest.expect(
- queryMap["processingState"], unittest.equals(arg_processingState));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["volumeId"], unittest.equals(arg_volumeId));
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["processingState"], unittest.equals(arg_processingState));
unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
+ unittest.expect(queryMap["volumeId"], unittest.equals(arg_volumeId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7910,12 +7910,12 @@
}), true);
res
.list(
- processingState: arg_processingState,
locale: arg_locale,
- volumeId: arg_volumeId,
- startIndex: arg_startIndex,
maxResults: arg_maxResults,
+ processingState: arg_processingState,
source: arg_source,
+ startIndex: arg_startIndex,
+ volumeId: arg_volumeId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVolumes(response);
diff --git a/generated/googleapis/test/calendar/v3_test.dart b/generated/googleapis/test/calendar/v3_test.dart
index bdc6440..6c3ce56 100644
--- a/generated/googleapis/test/calendar/v3_test.dart
+++ b/generated/googleapis/test/calendar/v3_test.dart
@@ -2139,10 +2139,10 @@
var mock = HttpServerMock();
api.AclResourceApi res = api.CalendarApi(mock).acl;
var arg_calendarId = 'foo';
- var arg_pageToken = 'foo';
- var arg_syncToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_showDeleted = true;
+ var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2182,14 +2182,14 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2200,10 +2200,10 @@
}), true);
res
.list(arg_calendarId,
- pageToken: arg_pageToken,
- syncToken: arg_syncToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
showDeleted: arg_showDeleted,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAcl(response);
@@ -2355,10 +2355,10 @@
api.AclResourceApi res = api.CalendarApi(mock).acl;
var arg_request = buildChannel();
var arg_calendarId = 'foo';
- var arg_showDeleted = true;
- var arg_pageToken = 'foo';
- var arg_syncToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
+ var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -2401,14 +2401,14 @@
);
}
}
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2419,10 +2419,10 @@
}), true);
res
.watch(arg_request, arg_calendarId,
- showDeleted: arg_showDeleted,
- pageToken: arg_pageToken,
- syncToken: arg_syncToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -2593,11 +2593,11 @@
var mock = HttpServerMock();
api.CalendarListResourceApi res = api.CalendarApi(mock).calendarList;
var arg_maxResults = 42;
+ var arg_minAccessRole = 'foo';
+ var arg_pageToken = 'foo';
var arg_showDeleted = true;
var arg_showHidden = true;
- var arg_minAccessRole = 'foo';
var arg_syncToken = 'foo';
- var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2630,16 +2630,16 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["minAccessRole"].first,
+ unittest.equals(arg_minAccessRole));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(
queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
- unittest.expect(queryMap["minAccessRole"].first,
- unittest.equals(arg_minAccessRole));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2651,11 +2651,11 @@
res
.list(
maxResults: arg_maxResults,
+ minAccessRole: arg_minAccessRole,
+ pageToken: arg_pageToken,
showDeleted: arg_showDeleted,
showHidden: arg_showHidden,
- minAccessRole: arg_minAccessRole,
syncToken: arg_syncToken,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCalendarList(response);
@@ -2786,12 +2786,12 @@
var mock = HttpServerMock();
api.CalendarListResourceApi res = api.CalendarApi(mock).calendarList;
var arg_request = buildChannel();
- var arg_pageToken = 'foo';
- var arg_showHidden = true;
- var arg_minAccessRole = 'foo';
- var arg_syncToken = 'foo';
- var arg_showDeleted = true;
var arg_maxResults = 42;
+ var arg_minAccessRole = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
+ var arg_showHidden = true;
+ var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -2825,18 +2825,18 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["minAccessRole"].first,
unittest.equals(arg_minAccessRole));
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
+ unittest.expect(
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2847,12 +2847,12 @@
}), true);
res
.watch(arg_request,
- pageToken: arg_pageToken,
- showHidden: arg_showHidden,
- minAccessRole: arg_minAccessRole,
- syncToken: arg_syncToken,
- showDeleted: arg_showDeleted,
maxResults: arg_maxResults,
+ minAccessRole: arg_minAccessRole,
+ pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
+ showHidden: arg_showHidden,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -3359,9 +3359,9 @@
api.EventsResourceApi res = api.CalendarApi(mock).events;
var arg_calendarId = 'foo';
var arg_eventId = 'foo';
- var arg_timeZone = 'foo';
- var arg_maxAttendees = 42;
var arg_alwaysIncludeEmail = true;
+ var arg_maxAttendees = 42;
+ var arg_timeZone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3404,12 +3404,12 @@
);
}
}
- unittest.expect(
- queryMap["timeZone"].first, unittest.equals(arg_timeZone));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
unittest.expect(queryMap["alwaysIncludeEmail"].first,
unittest.equals("$arg_alwaysIncludeEmail"));
+ unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
+ unittest.equals(arg_maxAttendees));
+ unittest.expect(
+ queryMap["timeZone"].first, unittest.equals(arg_timeZone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3420,9 +3420,9 @@
}), true);
res
.get(arg_calendarId, arg_eventId,
- timeZone: arg_timeZone,
- maxAttendees: arg_maxAttendees,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
+ maxAttendees: arg_maxAttendees,
+ timeZone: arg_timeZone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -3506,9 +3506,9 @@
var arg_request = buildEvent();
var arg_calendarId = 'foo';
var arg_conferenceDataVersion = 42;
- var arg_sendUpdates = 'foo';
var arg_maxAttendees = 42;
var arg_sendNotifications = true;
+ var arg_sendUpdates = 'foo';
var arg_supportsAttachments = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3554,12 +3554,12 @@
}
unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
unittest.equals(arg_conferenceDataVersion));
- unittest.expect(
- queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
unittest.equals(arg_maxAttendees));
unittest.expect(queryMap["sendNotifications"].first,
unittest.equals("$arg_sendNotifications"));
+ unittest.expect(
+ queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["supportsAttachments"].first,
unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3573,9 +3573,9 @@
res
.insert(arg_request, arg_calendarId,
conferenceDataVersion: arg_conferenceDataVersion,
- sendUpdates: arg_sendUpdates,
maxAttendees: arg_maxAttendees,
sendNotifications: arg_sendNotifications,
+ sendUpdates: arg_sendUpdates,
supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3588,15 +3588,15 @@
api.EventsResourceApi res = api.CalendarApi(mock).events;
var arg_calendarId = 'foo';
var arg_eventId = 'foo';
- var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_alwaysIncludeEmail = true;
var arg_maxAttendees = 42;
- var arg_showDeleted = true;
+ var arg_maxResults = 42;
var arg_originalStart = 'foo';
var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
var arg_timeZone = 'foo';
- var arg_maxResults = 42;
- var arg_alwaysIncludeEmail = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3645,24 +3645,24 @@
);
}
}
- unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
- unittest.equals(arg_timeMin));
+ unittest.expect(queryMap["alwaysIncludeEmail"].first,
+ unittest.equals("$arg_alwaysIncludeEmail"));
unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
unittest.equals(arg_maxAttendees));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["originalStart"].first,
unittest.equals(arg_originalStart));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
unittest.equals(arg_timeMax));
+ unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
+ unittest.equals(arg_timeMin));
unittest.expect(
queryMap["timeZone"].first, unittest.equals(arg_timeZone));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["alwaysIncludeEmail"].first,
- unittest.equals("$arg_alwaysIncludeEmail"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3673,15 +3673,15 @@
}), true);
res
.instances(arg_calendarId, arg_eventId,
- timeMin: arg_timeMin,
+ alwaysIncludeEmail: arg_alwaysIncludeEmail,
maxAttendees: arg_maxAttendees,
- showDeleted: arg_showDeleted,
+ maxResults: arg_maxResults,
originalStart: arg_originalStart,
pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
timeMax: arg_timeMax,
+ timeMin: arg_timeMin,
timeZone: arg_timeZone,
- maxResults: arg_maxResults,
- alwaysIncludeEmail: arg_alwaysIncludeEmail,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvents(response);
@@ -3692,23 +3692,23 @@
var mock = HttpServerMock();
api.EventsResourceApi res = api.CalendarApi(mock).events;
var arg_calendarId = 'foo';
- var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_showDeleted = true;
var arg_alwaysIncludeEmail = true;
- var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_timeZone = 'foo';
- var arg_sharedExtendedProperty = buildUnnamed3918();
- var arg_privateExtendedProperty = buildUnnamed3919();
- var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
var arg_iCalUID = 'foo';
- var arg_showHiddenInvitations = true;
- var arg_maxResults = 42;
- var arg_syncToken = 'foo';
- var arg_pageToken = 'foo';
- var arg_q = 'foo';
- var arg_singleEvents = true;
- var arg_orderBy = 'foo';
var arg_maxAttendees = 42;
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_privateExtendedProperty = buildUnnamed3918();
+ var arg_q = 'foo';
+ var arg_sharedExtendedProperty = buildUnnamed3919();
+ var arg_showDeleted = true;
+ var arg_showHiddenInvitations = true;
+ var arg_singleEvents = true;
+ var arg_syncToken = 'foo';
+ var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_timeZone = 'foo';
+ var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3748,39 +3748,39 @@
);
}
}
- unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
- unittest.equals(arg_timeMax));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["alwaysIncludeEmail"].first,
unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(core.DateTime.parse(queryMap["updatedMin"].first),
- unittest.equals(arg_updatedMin));
- unittest.expect(
- queryMap["timeZone"].first, unittest.equals(arg_timeZone));
- unittest.expect(queryMap["sharedExtendedProperty"],
- unittest.equals(arg_sharedExtendedProperty));
- unittest.expect(queryMap["privateExtendedProperty"],
- unittest.equals(arg_privateExtendedProperty));
- unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
- unittest.equals(arg_timeMin));
unittest.expect(
queryMap["iCalUID"].first, unittest.equals(arg_iCalUID));
- unittest.expect(queryMap["showHiddenInvitations"].first,
- unittest.equals("$arg_showHiddenInvitations"));
+ unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
+ unittest.equals(arg_maxAttendees));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["privateExtendedProperty"],
+ unittest.equals(arg_privateExtendedProperty));
unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["sharedExtendedProperty"],
+ unittest.equals(arg_sharedExtendedProperty));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["showHiddenInvitations"].first,
+ unittest.equals("$arg_showHiddenInvitations"));
unittest.expect(queryMap["singleEvents"].first,
unittest.equals("$arg_singleEvents"));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
+ unittest.equals(arg_timeMax));
+ unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
+ unittest.equals(arg_timeMin));
+ unittest.expect(
+ queryMap["timeZone"].first, unittest.equals(arg_timeZone));
+ unittest.expect(core.DateTime.parse(queryMap["updatedMin"].first),
+ unittest.equals(arg_updatedMin));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3791,23 +3791,23 @@
}), true);
res
.list(arg_calendarId,
- timeMax: arg_timeMax,
- showDeleted: arg_showDeleted,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
- updatedMin: arg_updatedMin,
- timeZone: arg_timeZone,
- sharedExtendedProperty: arg_sharedExtendedProperty,
- privateExtendedProperty: arg_privateExtendedProperty,
- timeMin: arg_timeMin,
iCalUID: arg_iCalUID,
- showHiddenInvitations: arg_showHiddenInvitations,
- maxResults: arg_maxResults,
- syncToken: arg_syncToken,
- pageToken: arg_pageToken,
- q: arg_q,
- singleEvents: arg_singleEvents,
- orderBy: arg_orderBy,
maxAttendees: arg_maxAttendees,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ privateExtendedProperty: arg_privateExtendedProperty,
+ q: arg_q,
+ sharedExtendedProperty: arg_sharedExtendedProperty,
+ showDeleted: arg_showDeleted,
+ showHiddenInvitations: arg_showHiddenInvitations,
+ singleEvents: arg_singleEvents,
+ syncToken: arg_syncToken,
+ timeMax: arg_timeMax,
+ timeMin: arg_timeMin,
+ timeZone: arg_timeZone,
+ updatedMin: arg_updatedMin,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvents(response);
@@ -3900,11 +3900,11 @@
var arg_request = buildEvent();
var arg_calendarId = 'foo';
var arg_eventId = 'foo';
- var arg_sendUpdates = 'foo';
var arg_alwaysIncludeEmail = true;
- var arg_sendNotifications = true;
var arg_conferenceDataVersion = 42;
var arg_maxAttendees = 42;
+ var arg_sendNotifications = true;
+ var arg_sendUpdates = 'foo';
var arg_supportsAttachments = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3951,16 +3951,16 @@
);
}
}
- unittest.expect(
- queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["alwaysIncludeEmail"].first,
unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(queryMap["sendNotifications"].first,
- unittest.equals("$arg_sendNotifications"));
unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
unittest.equals(arg_conferenceDataVersion));
unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
unittest.equals(arg_maxAttendees));
+ unittest.expect(queryMap["sendNotifications"].first,
+ unittest.equals("$arg_sendNotifications"));
+ unittest.expect(
+ queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["supportsAttachments"].first,
unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3973,11 +3973,11 @@
}), true);
res
.patch(arg_request, arg_calendarId, arg_eventId,
- sendUpdates: arg_sendUpdates,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
- sendNotifications: arg_sendNotifications,
conferenceDataVersion: arg_conferenceDataVersion,
maxAttendees: arg_maxAttendees,
+ sendNotifications: arg_sendNotifications,
+ sendUpdates: arg_sendUpdates,
supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3990,8 +3990,8 @@
api.EventsResourceApi res = api.CalendarApi(mock).events;
var arg_calendarId = 'foo';
var arg_text = 'foo';
- var arg_sendUpdates = 'foo';
var arg_sendNotifications = true;
+ var arg_sendUpdates = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4032,10 +4032,10 @@
}
}
unittest.expect(queryMap["text"].first, unittest.equals(arg_text));
- unittest.expect(
- queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["sendNotifications"].first,
unittest.equals("$arg_sendNotifications"));
+ unittest.expect(
+ queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4046,8 +4046,8 @@
}), true);
res
.quickAdd(arg_calendarId, arg_text,
- sendUpdates: arg_sendUpdates,
sendNotifications: arg_sendNotifications,
+ sendUpdates: arg_sendUpdates,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -4062,10 +4062,10 @@
var arg_eventId = 'foo';
var arg_alwaysIncludeEmail = true;
var arg_conferenceDataVersion = 42;
- var arg_supportsAttachments = true;
- var arg_sendNotifications = true;
var arg_maxAttendees = 42;
+ var arg_sendNotifications = true;
var arg_sendUpdates = 'foo';
+ var arg_supportsAttachments = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Event.fromJson(json);
@@ -4115,14 +4115,14 @@
unittest.equals("$arg_alwaysIncludeEmail"));
unittest.expect(core.int.parse(queryMap["conferenceDataVersion"].first),
unittest.equals(arg_conferenceDataVersion));
- unittest.expect(queryMap["supportsAttachments"].first,
- unittest.equals("$arg_supportsAttachments"));
- unittest.expect(queryMap["sendNotifications"].first,
- unittest.equals("$arg_sendNotifications"));
unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
unittest.equals(arg_maxAttendees));
+ unittest.expect(queryMap["sendNotifications"].first,
+ unittest.equals("$arg_sendNotifications"));
unittest.expect(
queryMap["sendUpdates"].first, unittest.equals(arg_sendUpdates));
+ unittest.expect(queryMap["supportsAttachments"].first,
+ unittest.equals("$arg_supportsAttachments"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4135,10 +4135,10 @@
.update(arg_request, arg_calendarId, arg_eventId,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
conferenceDataVersion: arg_conferenceDataVersion,
- supportsAttachments: arg_supportsAttachments,
- sendNotifications: arg_sendNotifications,
maxAttendees: arg_maxAttendees,
+ sendNotifications: arg_sendNotifications,
sendUpdates: arg_sendUpdates,
+ supportsAttachments: arg_supportsAttachments,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEvent(response);
@@ -4150,23 +4150,23 @@
api.EventsResourceApi res = api.CalendarApi(mock).events;
var arg_request = buildChannel();
var arg_calendarId = 'foo';
- var arg_q = 'foo';
- var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_pageToken = 'foo';
var arg_alwaysIncludeEmail = true;
- var arg_sharedExtendedProperty = buildUnnamed3920();
var arg_iCalUID = 'foo';
- var arg_showHiddenInvitations = true;
- var arg_timeZone = 'foo';
- var arg_orderBy = 'foo';
- var arg_syncToken = 'foo';
- var arg_privateExtendedProperty = buildUnnamed3921();
- var arg_showDeleted = true;
- var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
- var arg_maxResults = 42;
var arg_maxAttendees = 42;
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_privateExtendedProperty = buildUnnamed3920();
+ var arg_q = 'foo';
+ var arg_sharedExtendedProperty = buildUnnamed3921();
+ var arg_showDeleted = true;
+ var arg_showHiddenInvitations = true;
var arg_singleEvents = true;
+ var arg_syncToken = 'foo';
+ var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
+ var arg_timeZone = 'foo';
+ var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -4209,39 +4209,39 @@
);
}
}
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
- unittest.equals(arg_timeMax));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["alwaysIncludeEmail"].first,
unittest.equals("$arg_alwaysIncludeEmail"));
- unittest.expect(queryMap["sharedExtendedProperty"],
- unittest.equals(arg_sharedExtendedProperty));
unittest.expect(
queryMap["iCalUID"].first, unittest.equals(arg_iCalUID));
- unittest.expect(queryMap["showHiddenInvitations"].first,
- unittest.equals("$arg_showHiddenInvitations"));
- unittest.expect(
- queryMap["timeZone"].first, unittest.equals(arg_timeZone));
+ unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
+ unittest.equals(arg_maxAttendees));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["privateExtendedProperty"],
unittest.equals(arg_privateExtendedProperty));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(queryMap["sharedExtendedProperty"],
+ unittest.equals(arg_sharedExtendedProperty));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(core.DateTime.parse(queryMap["updatedMin"].first),
- unittest.equals(arg_updatedMin));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(core.int.parse(queryMap["maxAttendees"].first),
- unittest.equals(arg_maxAttendees));
+ unittest.expect(queryMap["showHiddenInvitations"].first,
+ unittest.equals("$arg_showHiddenInvitations"));
unittest.expect(queryMap["singleEvents"].first,
unittest.equals("$arg_singleEvents"));
+ unittest.expect(
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
+ unittest.expect(core.DateTime.parse(queryMap["timeMax"].first),
+ unittest.equals(arg_timeMax));
unittest.expect(core.DateTime.parse(queryMap["timeMin"].first),
unittest.equals(arg_timeMin));
+ unittest.expect(
+ queryMap["timeZone"].first, unittest.equals(arg_timeZone));
+ unittest.expect(core.DateTime.parse(queryMap["updatedMin"].first),
+ unittest.equals(arg_updatedMin));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4252,23 +4252,23 @@
}), true);
res
.watch(arg_request, arg_calendarId,
- q: arg_q,
- timeMax: arg_timeMax,
- pageToken: arg_pageToken,
alwaysIncludeEmail: arg_alwaysIncludeEmail,
- sharedExtendedProperty: arg_sharedExtendedProperty,
iCalUID: arg_iCalUID,
- showHiddenInvitations: arg_showHiddenInvitations,
- timeZone: arg_timeZone,
- orderBy: arg_orderBy,
- syncToken: arg_syncToken,
- privateExtendedProperty: arg_privateExtendedProperty,
- showDeleted: arg_showDeleted,
- updatedMin: arg_updatedMin,
- maxResults: arg_maxResults,
maxAttendees: arg_maxAttendees,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
+ privateExtendedProperty: arg_privateExtendedProperty,
+ q: arg_q,
+ sharedExtendedProperty: arg_sharedExtendedProperty,
+ showDeleted: arg_showDeleted,
+ showHiddenInvitations: arg_showHiddenInvitations,
singleEvents: arg_singleEvents,
+ syncToken: arg_syncToken,
+ timeMax: arg_timeMax,
timeMin: arg_timeMin,
+ timeZone: arg_timeZone,
+ updatedMin: arg_updatedMin,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -4386,8 +4386,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.SettingsResourceApi res = api.CalendarApi(mock).settings;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4419,11 +4419,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4435,8 +4435,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4448,9 +4448,9 @@
var mock = HttpServerMock();
api.SettingsResourceApi res = api.CalendarApi(mock).settings;
var arg_request = buildChannel();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_syncToken = 'foo';
- var arg_maxResults = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -4484,12 +4484,12 @@
);
}
}
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4500,9 +4500,9 @@
}), true);
res
.watch(arg_request,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
syncToken: arg_syncToken,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
diff --git a/generated/googleapis/test/chat/v1_test.dart b/generated/googleapis/test/chat/v1_test.dart
index a47a101..011585a 100644
--- a/generated/googleapis/test/chat/v1_test.dart
+++ b/generated/googleapis/test/chat/v1_test.dart
@@ -1447,8 +1447,8 @@
var mock = HttpServerMock();
api.SpacesMembersResourceApi res = api.ChatApi(mock).spaces.members;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1477,10 +1477,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1491,8 +1491,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMembershipsResponse(response);
diff --git a/generated/googleapis/test/civicinfo/v2_test.dart b/generated/googleapis/test/civicinfo/v2_test.dart
index 0b9b423..900b6cb 100644
--- a/generated/googleapis/test/civicinfo/v2_test.dart
+++ b/generated/googleapis/test/civicinfo/v2_test.dart
@@ -1462,9 +1462,9 @@
var mock = HttpServerMock();
api.ElectionsResourceApi res = api.CivicinfoApi(mock).elections;
var arg_address = 'foo';
- var arg_returnAllAvailableData = true;
- var arg_officialOnly = true;
var arg_electionId = 'foo';
+ var arg_officialOnly = true;
+ var arg_returnAllAvailableData = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1494,12 +1494,12 @@
}
unittest.expect(
queryMap["address"].first, unittest.equals(arg_address));
- unittest.expect(queryMap["returnAllAvailableData"].first,
- unittest.equals("$arg_returnAllAvailableData"));
- unittest.expect(queryMap["officialOnly"].first,
- unittest.equals("$arg_officialOnly"));
unittest.expect(
queryMap["electionId"].first, unittest.equals(arg_electionId));
+ unittest.expect(queryMap["officialOnly"].first,
+ unittest.equals("$arg_officialOnly"));
+ unittest.expect(queryMap["returnAllAvailableData"].first,
+ unittest.equals("$arg_returnAllAvailableData"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1510,9 +1510,9 @@
}), true);
res
.voterInfoQuery(arg_address,
- returnAllAvailableData: arg_returnAllAvailableData,
- officialOnly: arg_officialOnly,
electionId: arg_electionId,
+ officialOnly: arg_officialOnly,
+ returnAllAvailableData: arg_returnAllAvailableData,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVoterInfoResponse(response);
@@ -1525,10 +1525,10 @@
var mock = HttpServerMock();
api.RepresentativesResourceApi res =
api.CivicinfoApi(mock).representatives;
- var arg_levels = buildUnnamed2258();
- var arg_includeOffices = true;
- var arg_roles = buildUnnamed2259();
var arg_address = 'foo';
+ var arg_includeOffices = true;
+ var arg_levels = buildUnnamed2258();
+ var arg_roles = buildUnnamed2259();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1556,12 +1556,12 @@
);
}
}
- unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
- unittest.expect(queryMap["includeOffices"].first,
- unittest.equals("$arg_includeOffices"));
- unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
unittest.expect(
queryMap["address"].first, unittest.equals(arg_address));
+ unittest.expect(queryMap["includeOffices"].first,
+ unittest.equals("$arg_includeOffices"));
+ unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
+ unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1572,10 +1572,10 @@
}), true);
res
.representativeInfoByAddress(
- levels: arg_levels,
- includeOffices: arg_includeOffices,
- roles: arg_roles,
address: arg_address,
+ includeOffices: arg_includeOffices,
+ levels: arg_levels,
+ roles: arg_roles,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRepresentativeInfoResponse(response);
@@ -1587,9 +1587,9 @@
api.RepresentativesResourceApi res =
api.CivicinfoApi(mock).representatives;
var arg_ocdId = 'foo';
- var arg_roles = buildUnnamed2260();
+ var arg_levels = buildUnnamed2260();
var arg_recursive = true;
- var arg_levels = buildUnnamed2261();
+ var arg_roles = buildUnnamed2261();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1620,10 +1620,10 @@
);
}
}
- unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
+ unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
unittest.expect(
queryMap["recursive"].first, unittest.equals("$arg_recursive"));
- unittest.expect(queryMap["levels"], unittest.equals(arg_levels));
+ unittest.expect(queryMap["roles"], unittest.equals(arg_roles));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1634,9 +1634,9 @@
}), true);
res
.representativeInfoByDivision(arg_ocdId,
- roles: arg_roles,
- recursive: arg_recursive,
levels: arg_levels,
+ recursive: arg_recursive,
+ roles: arg_roles,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRepresentativeInfoData(response);
diff --git a/generated/googleapis/test/classroom/v1_test.dart b/generated/googleapis/test/classroom/v1_test.dart
index 6221520..3d74a5c 100644
--- a/generated/googleapis/test/classroom/v1_test.dart
+++ b/generated/googleapis/test/classroom/v1_test.dart
@@ -2576,11 +2576,11 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.CoursesResourceApi res = api.ClassroomApi(mock).courses;
+ var arg_courseStates = buildUnnamed4691();
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_studentId = 'foo';
var arg_teacherId = 'foo';
- var arg_courseStates = buildUnnamed4691();
- var arg_pageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2609,15 +2609,15 @@
}
}
unittest.expect(
+ queryMap["courseStates"], unittest.equals(arg_courseStates));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["studentId"].first, unittest.equals(arg_studentId));
unittest.expect(
queryMap["teacherId"].first, unittest.equals(arg_teacherId));
- unittest.expect(
- queryMap["courseStates"], unittest.equals(arg_courseStates));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2628,11 +2628,11 @@
}), true);
res
.list(
+ courseStates: arg_courseStates,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
studentId: arg_studentId,
teacherId: arg_teacherId,
- courseStates: arg_courseStates,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCoursesResponse(response);
@@ -3123,10 +3123,10 @@
api.CoursesAnnouncementsResourceApi res =
api.ClassroomApi(mock).courses.announcements;
var arg_courseId = 'foo';
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_announcementStates = buildUnnamed4692();
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3163,14 +3163,14 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["announcementStates"],
unittest.equals(arg_announcementStates));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3181,10 +3181,10 @@
}), true);
res
.list(arg_courseId,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
announcementStates: arg_announcementStates,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAnnouncementsResponse(response);
@@ -3517,10 +3517,10 @@
api.CoursesCourseWorkResourceApi res =
api.ClassroomApi(mock).courses.courseWork;
var arg_courseId = 'foo';
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_courseWorkStates = buildUnnamed4693();
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3557,14 +3557,14 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["courseWorkStates"],
unittest.equals(arg_courseWorkStates));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3575,10 +3575,10 @@
}), true);
res
.list(arg_courseId,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
courseWorkStates: arg_courseWorkStates,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCourseWorkResponse(response);
@@ -3802,11 +3802,11 @@
api.ClassroomApi(mock).courses.courseWork.studentSubmissions;
var arg_courseId = 'foo';
var arg_courseWorkId = 'foo';
- var arg_pageSize = 42;
- var arg_userId = 'foo';
- var arg_states = buildUnnamed4694();
var arg_late = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
+ var arg_states = buildUnnamed4694();
+ var arg_userId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3852,13 +3852,13 @@
);
}
}
+ unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
- unittest.expect(queryMap["late"].first, unittest.equals(arg_late));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3869,11 +3869,11 @@
}), true);
res
.list(arg_courseId, arg_courseWorkId,
- pageSize: arg_pageSize,
- userId: arg_userId,
- states: arg_states,
late: arg_late,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ states: arg_states,
+ userId: arg_userId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListStudentSubmissionsResponse(response);
@@ -4470,12 +4470,12 @@
api.CoursesCourseWorkMaterialsResourceApi res =
api.ClassroomApi(mock).courses.courseWorkMaterials;
var arg_courseId = 'foo';
- var arg_pageToken = 'foo';
- var arg_materialLink = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_courseWorkMaterialStates = buildUnnamed4695();
var arg_materialDriveId = 'foo';
+ var arg_materialLink = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4512,18 +4512,18 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["materialLink"].first, unittest.equals(arg_materialLink));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["courseWorkMaterialStates"],
unittest.equals(arg_courseWorkMaterialStates));
unittest.expect(queryMap["materialDriveId"].first,
unittest.equals(arg_materialDriveId));
+ unittest.expect(
+ queryMap["materialLink"].first, unittest.equals(arg_materialLink));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4534,12 +4534,12 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
- materialLink: arg_materialLink,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
courseWorkMaterialStates: arg_courseWorkMaterialStates,
materialDriveId: arg_materialDriveId,
+ materialLink: arg_materialLink,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCourseWorkMaterialResponse(response);
@@ -4805,8 +4805,8 @@
api.CoursesStudentsResourceApi res =
api.ClassroomApi(mock).courses.students;
var arg_courseId = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4843,10 +4843,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4857,8 +4857,8 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListStudentsResponse(response);
@@ -5052,8 +5052,8 @@
api.CoursesTeachersResourceApi res =
api.ClassroomApi(mock).courses.teachers;
var arg_courseId = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5090,10 +5090,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5104,8 +5104,8 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTeachersResponse(response);
@@ -5295,8 +5295,8 @@
var mock = HttpServerMock();
api.CoursesTopicsResourceApi res = api.ClassroomApi(mock).courses.topics;
var arg_courseId = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5333,10 +5333,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5347,8 +5347,8 @@
}), true);
res
.list(arg_courseId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTopicResponse(response);
@@ -5629,10 +5629,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.InvitationsResourceApi res = api.ClassroomApi(mock).invitations;
- var arg_pageToken = 'foo';
- var arg_userId = 'foo';
var arg_courseId = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_userId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5661,12 +5661,12 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
- unittest.expect(
queryMap["courseId"].first, unittest.equals(arg_courseId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5677,10 +5677,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- userId: arg_userId,
courseId: arg_courseId,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ userId: arg_userId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInvitationsResponse(response);
@@ -5965,10 +5965,10 @@
api.UserProfilesGuardianInvitationsResourceApi res =
api.ClassroomApi(mock).userProfiles.guardianInvitations;
var arg_studentId = 'foo';
- var arg_pageSize = 42;
var arg_invitedEmailAddress = 'foo';
- var arg_states = buildUnnamed4696();
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
+ var arg_states = buildUnnamed4696();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6005,13 +6005,13 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["invitedEmailAddress"].first,
unittest.equals(arg_invitedEmailAddress));
- unittest.expect(queryMap["states"], unittest.equals(arg_states));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["states"], unittest.equals(arg_states));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6022,10 +6022,10 @@
}), true);
res
.list(arg_studentId,
- pageSize: arg_pageSize,
invitedEmailAddress: arg_invitedEmailAddress,
- states: arg_states,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ states: arg_states,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGuardianInvitationsResponse(response);
diff --git a/generated/googleapis/test/cloudasset/v1_test.dart b/generated/googleapis/test/cloudasset/v1_test.dart
index 1f47502..95abd72 100644
--- a/generated/googleapis/test/cloudasset/v1_test.dart
+++ b/generated/googleapis/test/cloudasset/v1_test.dart
@@ -2419,10 +2419,10 @@
var mock = HttpServerMock();
api.V1ResourceApi res = api.CloudassetApi(mock).v1;
var arg_parent = 'foo';
- var arg_readTimeWindow_startTime = 'foo';
+ var arg_assetNames = buildUnnamed2707();
var arg_contentType = 'foo';
var arg_readTimeWindow_endTime = 'foo';
- var arg_assetNames = buildUnnamed2707();
+ var arg_readTimeWindow_startTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2451,14 +2451,14 @@
);
}
}
- unittest.expect(queryMap["readTimeWindow.startTime"].first,
- unittest.equals(arg_readTimeWindow_startTime));
+ unittest.expect(
+ queryMap["assetNames"], unittest.equals(arg_assetNames));
unittest.expect(
queryMap["contentType"].first, unittest.equals(arg_contentType));
unittest.expect(queryMap["readTimeWindow.endTime"].first,
unittest.equals(arg_readTimeWindow_endTime));
- unittest.expect(
- queryMap["assetNames"], unittest.equals(arg_assetNames));
+ unittest.expect(queryMap["readTimeWindow.startTime"].first,
+ unittest.equals(arg_readTimeWindow_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2469,10 +2469,10 @@
}), true);
res
.batchGetAssetsHistory(arg_parent,
- readTimeWindow_startTime: arg_readTimeWindow_startTime,
+ assetNames: arg_assetNames,
contentType: arg_contentType,
readTimeWindow_endTime: arg_readTimeWindow_endTime,
- assetNames: arg_assetNames,
+ readTimeWindow_startTime: arg_readTimeWindow_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBatchGetAssetsHistoryResponse(response);
@@ -2595,9 +2595,9 @@
var arg_scope = 'foo';
var arg_assetTypes = buildUnnamed2708();
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_query = 'foo';
- var arg_pageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2630,11 +2630,11 @@
queryMap["assetTypes"], unittest.equals(arg_assetTypes));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2647,9 +2647,9 @@
.searchAllResources(arg_scope,
assetTypes: arg_assetTypes,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
query: arg_query,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchAllResourcesResponse(response);
diff --git a/generated/googleapis/test/cloudbilling/v1_test.dart b/generated/googleapis/test/cloudbilling/v1_test.dart
index 78b1f93..5be30e1 100644
--- a/generated/googleapis/test/cloudbilling/v1_test.dart
+++ b/generated/googleapis/test/cloudbilling/v1_test.dart
@@ -1141,9 +1141,9 @@
var mock = HttpServerMock();
api.BillingAccountsResourceApi res =
api.CloudbillingApi(mock).billingAccounts;
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1171,11 +1171,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1186,9 +1186,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBillingAccountsResponse(response);
@@ -1519,8 +1519,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ServicesResourceApi res = api.CloudbillingApi(mock).services;
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1548,10 +1548,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1562,8 +1562,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -1577,10 +1577,10 @@
api.ServicesSkusResourceApi res = api.CloudbillingApi(mock).services.skus;
var arg_parent = 'foo';
var arg_currencyCode = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_startTime = 'foo';
var arg_endTime = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_startTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1612,13 +1612,13 @@
unittest.expect(
queryMap["currencyCode"].first, unittest.equals(arg_currencyCode));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["startTime"].first, unittest.equals(arg_startTime));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["endTime"].first, unittest.equals(arg_endTime));
+ queryMap["startTime"].first, unittest.equals(arg_startTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1630,10 +1630,10 @@
res
.list(arg_parent,
currencyCode: arg_currencyCode,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- startTime: arg_startTime,
endTime: arg_endTime,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ startTime: arg_startTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSkusResponse(response);
diff --git a/generated/googleapis/test/cloudbuild/v1_test.dart b/generated/googleapis/test/cloudbuild/v1_test.dart
index 494daaf..760a57e 100644
--- a/generated/googleapis/test/cloudbuild/v1_test.dart
+++ b/generated/googleapis/test/cloudbuild/v1_test.dart
@@ -2213,10 +2213,10 @@
api.ProjectsBuildsResourceApi res =
api.CloudbuildApi(mock).projects.builds;
var arg_projectId = 'foo';
- var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_parent = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2253,12 +2253,12 @@
);
}
}
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2269,10 +2269,10 @@
}), true);
res
.list(arg_projectId,
- parent: arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBuildsResponse(response);
@@ -2518,10 +2518,10 @@
api.ProjectsLocationsBuildsResourceApi res =
api.CloudbuildApi(mock).projects.locations.builds;
var arg_parent = 'foo';
- var arg_projectId = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
+ var arg_projectId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2550,13 +2550,13 @@
);
}
}
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2567,10 +2567,10 @@
}), true);
res
.list(arg_parent,
- projectId: arg_projectId,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
+ projectId: arg_projectId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBuildsResponse(response);
@@ -2918,8 +2918,8 @@
api.ProjectsTriggersResourceApi res =
api.CloudbuildApi(mock).projects.triggers;
var arg_projectId = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2956,10 +2956,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2970,8 +2970,8 @@
}), true);
res
.list(arg_projectId,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBuildTriggersResponse(response);
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart
index 0d6e21e..b4353d5 100644
--- a/generated/googleapis/test/clouddebugger/v2_test.dart
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart
@@ -1313,8 +1313,8 @@
api.DebuggerDebuggeesResourceApi res =
api.ClouddebuggerApi(mock).debugger.debuggees;
var arg_clientVersion = 'foo';
- var arg_project = 'foo';
var arg_includeInactive = true;
+ var arg_project = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1344,10 +1344,10 @@
}
unittest.expect(queryMap["clientVersion"].first,
unittest.equals(arg_clientVersion));
- unittest.expect(
- queryMap["project"].first, unittest.equals(arg_project));
unittest.expect(queryMap["includeInactive"].first,
unittest.equals("$arg_includeInactive"));
+ unittest.expect(
+ queryMap["project"].first, unittest.equals(arg_project));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1359,8 +1359,8 @@
res
.list(
clientVersion: arg_clientVersion,
- project: arg_project,
includeInactive: arg_includeInactive,
+ project: arg_project,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDebuggeesResponse(response);
@@ -1502,12 +1502,12 @@
api.DebuggerDebuggeesBreakpointsResourceApi res =
api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_debuggeeId = 'foo';
- var arg_clientVersion = 'foo';
- var arg_waitToken = 'foo';
var arg_action_value = 'foo';
- var arg_stripResults = true;
- var arg_includeInactive = true;
+ var arg_clientVersion = 'foo';
var arg_includeAllUsers = true;
+ var arg_includeInactive = true;
+ var arg_stripResults = true;
+ var arg_waitToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1544,18 +1544,18 @@
);
}
}
- unittest.expect(queryMap["clientVersion"].first,
- unittest.equals(arg_clientVersion));
- unittest.expect(
- queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(
queryMap["action.value"].first, unittest.equals(arg_action_value));
- unittest.expect(queryMap["stripResults"].first,
- unittest.equals("$arg_stripResults"));
- unittest.expect(queryMap["includeInactive"].first,
- unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["clientVersion"].first,
+ unittest.equals(arg_clientVersion));
unittest.expect(queryMap["includeAllUsers"].first,
unittest.equals("$arg_includeAllUsers"));
+ unittest.expect(queryMap["includeInactive"].first,
+ unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["stripResults"].first,
+ unittest.equals("$arg_stripResults"));
+ unittest.expect(
+ queryMap["waitToken"].first, unittest.equals(arg_waitToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1566,12 +1566,12 @@
}), true);
res
.list(arg_debuggeeId,
- clientVersion: arg_clientVersion,
- waitToken: arg_waitToken,
action_value: arg_action_value,
- stripResults: arg_stripResults,
- includeInactive: arg_includeInactive,
+ clientVersion: arg_clientVersion,
includeAllUsers: arg_includeAllUsers,
+ includeInactive: arg_includeInactive,
+ stripResults: arg_stripResults,
+ waitToken: arg_waitToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBreakpointsResponse(response);
@@ -1584,8 +1584,8 @@
api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints;
var arg_request = buildBreakpoint();
var arg_debuggeeId = 'foo';
- var arg_clientVersion = 'foo';
var arg_canaryOption = 'foo';
+ var arg_clientVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Breakpoint.fromJson(json);
@@ -1625,10 +1625,10 @@
);
}
}
- unittest.expect(queryMap["clientVersion"].first,
- unittest.equals(arg_clientVersion));
unittest.expect(
queryMap["canaryOption"].first, unittest.equals(arg_canaryOption));
+ unittest.expect(queryMap["clientVersion"].first,
+ unittest.equals(arg_clientVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1639,8 +1639,8 @@
}), true);
res
.set(arg_request, arg_debuggeeId,
- clientVersion: arg_clientVersion,
canaryOption: arg_canaryOption,
+ clientVersion: arg_clientVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSetBreakpointResponse(response);
diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
index 0552dfe..42e905e 100644
--- a/generated/googleapis/test/cloudfunctions/v1_test.dart
+++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
@@ -1310,10 +1310,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.OperationsResourceApi res = api.CloudfunctionsApi(mock).operations;
- var arg_pageSize = 42;
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_name = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1341,12 +1341,12 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1357,10 +1357,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
name: arg_name,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -1374,9 +1374,9 @@
api.ProjectsLocationsResourceApi res =
api.CloudfunctionsApi(mock).projects.locations;
var arg_name = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1405,11 +1405,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1420,9 +1420,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/cloudidentity/v1_test.dart b/generated/googleapis/test/cloudidentity/v1_test.dart
index 4ee5d9e..d84c971 100644
--- a/generated/googleapis/test/cloudidentity/v1_test.dart
+++ b/generated/googleapis/test/cloudidentity/v1_test.dart
@@ -1785,10 +1785,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.DevicesResourceApi res = api.CloudidentityApi(mock).devices;
- var arg_pageSize = 42;
+ var arg_customer = 'foo';
var arg_filter = 'foo';
var arg_orderBy = 'foo';
- var arg_customer = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_view = 'foo';
var arg_$fields = 'foo';
@@ -1818,13 +1818,13 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["customer"].first, unittest.equals(arg_customer));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
@@ -1839,10 +1839,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
+ customer: arg_customer,
filter: arg_filter,
orderBy: arg_orderBy,
- customer: arg_customer,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
view: arg_view,
$fields: arg_$fields)
@@ -2179,11 +2179,11 @@
api.DevicesDeviceUsersResourceApi res =
api.CloudidentityApi(mock).devices.deviceUsers;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_customer = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2213,14 +2213,14 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2232,11 +2232,11 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
customer: arg_customer,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse(response);
@@ -2248,11 +2248,11 @@
api.DevicesDeviceUsersResourceApi res =
api.CloudidentityApi(mock).devices.deviceUsers;
var arg_parent = 'foo';
- var arg_rawResourceId = 'foo';
- var arg_userId = 'foo';
- var arg_pageToken = 'foo';
var arg_androidId = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_rawResourceId = 'foo';
+ var arg_userId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2281,15 +2281,15 @@
);
}
}
- unittest.expect(queryMap["rawResourceId"].first,
- unittest.equals(arg_rawResourceId));
- unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["androidId"].first, unittest.equals(arg_androidId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["rawResourceId"].first,
+ unittest.equals(arg_rawResourceId));
+ unittest.expect(queryMap["userId"].first, unittest.equals(arg_userId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2301,11 +2301,11 @@
}), true);
res
.lookup(arg_parent,
- rawResourceId: arg_rawResourceId,
- userId: arg_userId,
- pageToken: arg_pageToken,
androidId: arg_androidId,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ rawResourceId: arg_rawResourceId,
+ userId: arg_userId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse(
@@ -2427,10 +2427,10 @@
api.DevicesDeviceUsersClientStatesResourceApi res =
api.CloudidentityApi(mock).devices.deviceUsers.clientStates;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
- var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_customer = 'foo';
+ var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2460,12 +2460,12 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["customer"].first, unittest.equals(arg_customer));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
- queryMap["customer"].first, unittest.equals(arg_customer));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2477,10 +2477,10 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- filter: arg_filter,
- pageToken: arg_pageToken,
customer: arg_customer,
+ filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleAppsCloudidentityDevicesV1ListClientStatesResponse(response);
@@ -2493,8 +2493,8 @@
api.CloudidentityApi(mock).devices.deviceUsers.clientStates;
var arg_request = buildGoogleAppsCloudidentityDevicesV1ClientState();
var arg_name = 'foo';
- var arg_updateMask = 'foo';
var arg_customer = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj =
@@ -2528,9 +2528,9 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["customer"].first, unittest.equals(arg_customer));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2541,8 +2541,8 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask: arg_updateMask,
customer: arg_customer,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -2702,9 +2702,9 @@
var mock = HttpServerMock();
api.GroupsResourceApi res = api.CloudidentityApi(mock).groups;
var arg_pageSize = 42;
- var arg_view = 'foo';
- var arg_parent = 'foo';
var arg_pageToken = 'foo';
+ var arg_parent = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2734,10 +2734,10 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2749,9 +2749,9 @@
res
.list(
pageSize: arg_pageSize,
- view: arg_view,
- parent: arg_parent,
pageToken: arg_pageToken,
+ parent: arg_parent,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupsResponse(response);
@@ -2761,8 +2761,8 @@
unittest.test('method--lookup', () {
var mock = HttpServerMock();
api.GroupsResourceApi res = api.CloudidentityApi(mock).groups;
- var arg_groupKey_namespace = 'foo';
var arg_groupKey_id = 'foo';
+ var arg_groupKey_namespace = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2790,10 +2790,10 @@
);
}
}
- unittest.expect(queryMap["groupKey.namespace"].first,
- unittest.equals(arg_groupKey_namespace));
unittest.expect(
queryMap["groupKey.id"].first, unittest.equals(arg_groupKey_id));
+ unittest.expect(queryMap["groupKey.namespace"].first,
+ unittest.equals(arg_groupKey_namespace));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2804,8 +2804,8 @@
}), true);
res
.lookup(
- groupKey_namespace: arg_groupKey_namespace,
groupKey_id: arg_groupKey_id,
+ groupKey_namespace: arg_groupKey_namespace,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLookupGroupNameResponse(response);
@@ -2870,10 +2870,10 @@
unittest.test('method--search', () {
var mock = HttpServerMock();
api.GroupsResourceApi res = api.CloudidentityApi(mock).groups;
- var arg_view = 'foo';
- var arg_query = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_query = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2901,12 +2901,12 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2917,10 +2917,10 @@
}), true);
res
.search(
- view: arg_view,
- query: arg_query,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ query: arg_query,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchGroupsResponse(response);
@@ -3083,8 +3083,8 @@
api.CloudidentityApi(mock).groups.memberships;
var arg_parent = 'foo';
var arg_pageSize = 42;
- var arg_view = 'foo';
var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3115,9 +3115,9 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3129,8 +3129,8 @@
res
.list(arg_parent,
pageSize: arg_pageSize,
- view: arg_view,
pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMembershipsResponse(response);
diff --git a/generated/googleapis/test/cloudiot/v1_test.dart b/generated/googleapis/test/cloudiot/v1_test.dart
index 38b8e2b..2e52a59 100644
--- a/generated/googleapis/test/cloudiot/v1_test.dart
+++ b/generated/googleapis/test/cloudiot/v1_test.dart
@@ -2042,14 +2042,14 @@
api.ProjectsLocationsRegistriesDevicesResourceApi res =
api.CloudiotApi(mock).projects.locations.registries.devices;
var arg_parent = 'foo';
- var arg_gatewayListOptions_gatewayType = 'foo';
+ var arg_deviceIds = buildUnnamed2513();
+ var arg_deviceNumIds = buildUnnamed2514();
var arg_fieldMask = 'foo';
var arg_gatewayListOptions_associationsDeviceId = 'foo';
var arg_gatewayListOptions_associationsGatewayId = 'foo';
+ var arg_gatewayListOptions_gatewayType = 'foo';
var arg_pageSize = 42;
- var arg_deviceNumIds = buildUnnamed2513();
var arg_pageToken = 'foo';
- var arg_deviceIds = buildUnnamed2514();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2078,8 +2078,9 @@
);
}
}
- unittest.expect(queryMap["gatewayListOptions.gatewayType"].first,
- unittest.equals(arg_gatewayListOptions_gatewayType));
+ unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
+ unittest.expect(
+ queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
unittest.expect(
queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(
@@ -2088,13 +2089,12 @@
unittest.expect(
queryMap["gatewayListOptions.associationsGatewayId"].first,
unittest.equals(arg_gatewayListOptions_associationsGatewayId));
+ unittest.expect(queryMap["gatewayListOptions.gatewayType"].first,
+ unittest.equals(arg_gatewayListOptions_gatewayType));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2105,17 +2105,17 @@
}), true);
res
.list(arg_parent,
- gatewayListOptions_gatewayType:
- arg_gatewayListOptions_gatewayType,
+ deviceIds: arg_deviceIds,
+ deviceNumIds: arg_deviceNumIds,
fieldMask: arg_fieldMask,
gatewayListOptions_associationsDeviceId:
arg_gatewayListOptions_associationsDeviceId,
gatewayListOptions_associationsGatewayId:
arg_gatewayListOptions_associationsGatewayId,
+ gatewayListOptions_gatewayType:
+ arg_gatewayListOptions_gatewayType,
pageSize: arg_pageSize,
- deviceNumIds: arg_deviceNumIds,
pageToken: arg_pageToken,
- deviceIds: arg_deviceIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDevicesResponse(response);
@@ -2563,14 +2563,14 @@
api.ProjectsLocationsRegistriesGroupsDevicesResourceApi res =
api.CloudiotApi(mock).projects.locations.registries.groups.devices;
var arg_parent = 'foo';
+ var arg_deviceIds = buildUnnamed2515();
+ var arg_deviceNumIds = buildUnnamed2516();
+ var arg_fieldMask = 'foo';
+ var arg_gatewayListOptions_associationsDeviceId = 'foo';
var arg_gatewayListOptions_associationsGatewayId = 'foo';
var arg_gatewayListOptions_gatewayType = 'foo';
- var arg_deviceIds = buildUnnamed2515();
- var arg_gatewayListOptions_associationsDeviceId = 'foo';
- var arg_deviceNumIds = buildUnnamed2516();
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_fieldMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2599,23 +2599,23 @@
);
}
}
+ unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
+ unittest.expect(
+ queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
+ unittest.expect(
+ queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
+ unittest.expect(
+ queryMap["gatewayListOptions.associationsDeviceId"].first,
+ unittest.equals(arg_gatewayListOptions_associationsDeviceId));
unittest.expect(
queryMap["gatewayListOptions.associationsGatewayId"].first,
unittest.equals(arg_gatewayListOptions_associationsGatewayId));
unittest.expect(queryMap["gatewayListOptions.gatewayType"].first,
unittest.equals(arg_gatewayListOptions_gatewayType));
- unittest.expect(queryMap["deviceIds"], unittest.equals(arg_deviceIds));
- unittest.expect(
- queryMap["gatewayListOptions.associationsDeviceId"].first,
- unittest.equals(arg_gatewayListOptions_associationsDeviceId));
- unittest.expect(
- queryMap["deviceNumIds"], unittest.equals(arg_deviceNumIds));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2626,17 +2626,17 @@
}), true);
res
.list(arg_parent,
+ deviceIds: arg_deviceIds,
+ deviceNumIds: arg_deviceNumIds,
+ fieldMask: arg_fieldMask,
+ gatewayListOptions_associationsDeviceId:
+ arg_gatewayListOptions_associationsDeviceId,
gatewayListOptions_associationsGatewayId:
arg_gatewayListOptions_associationsGatewayId,
gatewayListOptions_gatewayType:
arg_gatewayListOptions_gatewayType,
- deviceIds: arg_deviceIds,
- gatewayListOptions_associationsDeviceId:
- arg_gatewayListOptions_associationsDeviceId,
- deviceNumIds: arg_deviceNumIds,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- fieldMask: arg_fieldMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDevicesResponse(response);
diff --git a/generated/googleapis/test/cloudkms/v1_test.dart b/generated/googleapis/test/cloudkms/v1_test.dart
index 9ccb9d3..60318b8 100644
--- a/generated/googleapis/test/cloudkms/v1_test.dart
+++ b/generated/googleapis/test/cloudkms/v1_test.dart
@@ -1564,8 +1564,8 @@
api.ProjectsLocationsResourceApi res =
api.CloudkmsApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1595,9 +1595,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1610,8 +1610,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1785,9 +1785,9 @@
api.ProjectsLocationsKeyRingsResourceApi res =
api.CloudkmsApi(mock).projects.locations.keyRings;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1817,11 +1817,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1834,9 +1834,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1956,8 +1956,8 @@
api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_request = buildCryptoKey();
var arg_parent = 'foo';
- var arg_skipInitialVersionCreation = true;
var arg_cryptoKeyId = 'foo';
+ var arg_skipInitialVersionCreation = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.CryptoKey.fromJson(json);
@@ -1989,10 +1989,10 @@
);
}
}
- unittest.expect(queryMap["skipInitialVersionCreation"].first,
- unittest.equals("$arg_skipInitialVersionCreation"));
unittest.expect(
queryMap["cryptoKeyId"].first, unittest.equals(arg_cryptoKeyId));
+ unittest.expect(queryMap["skipInitialVersionCreation"].first,
+ unittest.equals("$arg_skipInitialVersionCreation"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2003,8 +2003,8 @@
}), true);
res
.create(arg_request, arg_parent,
- skipInitialVersionCreation: arg_skipInitialVersionCreation,
cryptoKeyId: arg_cryptoKeyId,
+ skipInitialVersionCreation: arg_skipInitialVersionCreation,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCryptoKey(response);
@@ -2223,11 +2223,11 @@
api.ProjectsLocationsKeyRingsCryptoKeysResourceApi res =
api.CloudkmsApi(mock).projects.locations.keyRings.cryptoKeys;
var arg_parent = 'foo';
- var arg_versionView = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_versionView = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2256,15 +2256,15 @@
);
}
}
- unittest.expect(
- queryMap["versionView"].first, unittest.equals(arg_versionView));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["versionView"].first, unittest.equals(arg_versionView));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2275,11 +2275,11 @@
}), true);
res
.list(arg_parent,
- versionView: arg_versionView,
- pageToken: arg_pageToken,
filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ versionView: arg_versionView,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCryptoKeysResponse(response);
@@ -2904,9 +2904,9 @@
.cryptoKeyVersions;
var arg_parent = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2937,12 +2937,12 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2955,9 +2955,9 @@
res
.list(arg_parent,
filter: arg_filter,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3249,10 +3249,10 @@
api.ProjectsLocationsKeyRingsImportJobsResourceApi res =
api.CloudkmsApi(mock).projects.locations.keyRings.importJobs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3281,13 +3281,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3298,10 +3298,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListImportJobsResponse(response);
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index 3f5947a..6db1503 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -2153,8 +2153,8 @@
var mock = HttpServerMock();
api.LiensResourceApi res = api.CloudresourcemanagerApi(mock).liens;
var arg_pageSize = 42;
- var arg_parent = 'foo';
var arg_pageToken = 'foo';
+ var arg_parent = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2184,9 +2184,9 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2198,8 +2198,8 @@
res
.list(
pageSize: arg_pageSize,
- parent: arg_parent,
pageToken: arg_pageToken,
+ parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLiensResponse(response);
@@ -3251,9 +3251,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.CloudresourcemanagerApi(mock).projects;
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3281,11 +3281,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3296,9 +3296,9 @@
}), true);
res
.list(
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListProjectsResponse(response);
diff --git a/generated/googleapis/test/cloudresourcemanager/v2_test.dart b/generated/googleapis/test/cloudresourcemanager/v2_test.dart
index dabfbf6..a240044 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2_test.dart
@@ -1109,10 +1109,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.FoldersResourceApi res = api.CloudresourcemanagerApi(mock).folders;
- var arg_showDeleted = true;
- var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_parent = 'foo';
+ var arg_showDeleted = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1140,13 +1140,13 @@
);
}
}
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1157,10 +1157,10 @@
}), true);
res
.list(
- showDeleted: arg_showDeleted,
- parent: arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ parent: arg_parent,
+ showDeleted: arg_showDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFoldersResponse(response);
diff --git a/generated/googleapis/test/cloudscheduler/v1_test.dart b/generated/googleapis/test/cloudscheduler/v1_test.dart
index dc8085d..f6cc9dd 100644
--- a/generated/googleapis/test/cloudscheduler/v1_test.dart
+++ b/generated/googleapis/test/cloudscheduler/v1_test.dart
@@ -816,9 +816,9 @@
api.ProjectsLocationsResourceApi res =
api.CloudschedulerApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -847,11 +847,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -862,9 +862,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/cloudsearch/v1_test.dart b/generated/googleapis/test/cloudsearch/v1_test.dart
index b9dc517..48cd22a 100644
--- a/generated/googleapis/test/cloudsearch/v1_test.dart
+++ b/generated/googleapis/test/cloudsearch/v1_test.dart
@@ -5891,8 +5891,8 @@
api.CloudsearchApi(mock).debug.datasources.items.unmappedids;
var arg_parent = 'foo';
var arg_debugOptions_enableDebugging = true;
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5923,10 +5923,10 @@
}
unittest.expect(queryMap["debugOptions.enableDebugging"].first,
unittest.equals("$arg_debugOptions_enableDebugging"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5938,8 +5938,8 @@
res
.list(arg_parent,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUnmappedIdentitiesResponse(response);
@@ -5953,11 +5953,11 @@
api.DebugIdentitysourcesItemsResourceApi res =
api.CloudsearchApi(mock).debug.identitysources.items;
var arg_parent = 'foo';
- var arg_userResourceName = 'foo';
- var arg_groupResourceName = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_debugOptions_enableDebugging = true;
+ var arg_groupResourceName = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_userResourceName = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5986,16 +5986,16 @@
);
}
}
- unittest.expect(queryMap["userResourceName"].first,
- unittest.equals(arg_userResourceName));
- unittest.expect(queryMap["groupResourceName"].first,
- unittest.equals(arg_groupResourceName));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["debugOptions.enableDebugging"].first,
unittest.equals("$arg_debugOptions_enableDebugging"));
+ unittest.expect(queryMap["groupResourceName"].first,
+ unittest.equals(arg_groupResourceName));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["userResourceName"].first,
+ unittest.equals(arg_userResourceName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6007,11 +6007,11 @@
}), true);
res
.listForunmappedidentity(arg_parent,
- userResourceName: arg_userResourceName,
- groupResourceName: arg_groupResourceName,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
+ groupResourceName: arg_groupResourceName,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ userResourceName: arg_userResourceName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListItemNamesForUnmappedIdentityResponse(response);
@@ -6025,10 +6025,10 @@
api.DebugIdentitysourcesUnmappedidsResourceApi res =
api.CloudsearchApi(mock).debug.identitysources.unmappedids;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_resolutionStatusCode = 'foo';
var arg_debugOptions_enableDebugging = true;
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_resolutionStatusCode = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6057,14 +6057,14 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["resolutionStatusCode"].first,
- unittest.equals(arg_resolutionStatusCode));
unittest.expect(queryMap["debugOptions.enableDebugging"].first,
unittest.equals("$arg_debugOptions_enableDebugging"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["resolutionStatusCode"].first,
+ unittest.equals(arg_resolutionStatusCode));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6075,10 +6075,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- resolutionStatusCode: arg_resolutionStatusCode,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ resolutionStatusCode: arg_resolutionStatusCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUnmappedIdentitiesResponse(response);
@@ -6252,10 +6252,10 @@
api.IndexingDatasourcesItemsResourceApi res =
api.CloudsearchApi(mock).indexing.datasources.items;
var arg_name = 'foo';
- var arg_debugOptions_enableDebugging = true;
- var arg_version = 'foo';
var arg_connectorName = 'foo';
+ var arg_debugOptions_enableDebugging = true;
var arg_mode = 'foo';
+ var arg_version = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6284,13 +6284,13 @@
);
}
}
- unittest.expect(queryMap["debugOptions.enableDebugging"].first,
- unittest.equals("$arg_debugOptions_enableDebugging"));
- unittest.expect(
- queryMap["version"].first, unittest.equals(arg_version));
unittest.expect(queryMap["connectorName"].first,
unittest.equals(arg_connectorName));
+ unittest.expect(queryMap["debugOptions.enableDebugging"].first,
+ unittest.equals("$arg_debugOptions_enableDebugging"));
unittest.expect(queryMap["mode"].first, unittest.equals(arg_mode));
+ unittest.expect(
+ queryMap["version"].first, unittest.equals(arg_version));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6301,10 +6301,10 @@
}), true);
res
.delete(arg_name,
- debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
- version: arg_version,
connectorName: arg_connectorName,
+ debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
mode: arg_mode,
+ version: arg_version,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -6477,9 +6477,9 @@
api.IndexingDatasourcesItemsResourceApi res =
api.CloudsearchApi(mock).indexing.datasources.items;
var arg_name = 'foo';
+ var arg_brief = true;
var arg_connectorName = 'foo';
var arg_debugOptions_enableDebugging = true;
- var arg_brief = true;
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -6510,11 +6510,11 @@
);
}
}
+ unittest.expect(queryMap["brief"].first, unittest.equals("$arg_brief"));
unittest.expect(queryMap["connectorName"].first,
unittest.equals(arg_connectorName));
unittest.expect(queryMap["debugOptions.enableDebugging"].first,
unittest.equals("$arg_debugOptions_enableDebugging"));
- unittest.expect(queryMap["brief"].first, unittest.equals("$arg_brief"));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -6529,9 +6529,9 @@
}), true);
res
.list(arg_name,
+ brief: arg_brief,
connectorName: arg_connectorName,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
- brief: arg_brief,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -6860,9 +6860,9 @@
api.OperationsLroResourceApi res =
api.CloudsearchApi(mock).operations.lro;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6891,11 +6891,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6906,9 +6906,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -7020,11 +7020,11 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.QuerySourcesResourceApi res = api.CloudsearchApi(mock).query.sources;
- var arg_requestOptions_languageCode = 'foo';
- var arg_requestOptions_debugOptions_enableDebugging = true;
var arg_pageToken = 'foo';
- var arg_requestOptions_timeZone = 'foo';
+ var arg_requestOptions_debugOptions_enableDebugging = true;
+ var arg_requestOptions_languageCode = 'foo';
var arg_requestOptions_searchApplicationId = 'foo';
+ var arg_requestOptions_timeZone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7052,18 +7052,18 @@
);
}
}
- unittest.expect(queryMap["requestOptions.languageCode"].first,
- unittest.equals(arg_requestOptions_languageCode));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["requestOptions.debugOptions.enableDebugging"].first,
unittest
.equals("$arg_requestOptions_debugOptions_enableDebugging"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["requestOptions.timeZone"].first,
- unittest.equals(arg_requestOptions_timeZone));
+ unittest.expect(queryMap["requestOptions.languageCode"].first,
+ unittest.equals(arg_requestOptions_languageCode));
unittest.expect(queryMap["requestOptions.searchApplicationId"].first,
unittest.equals(arg_requestOptions_searchApplicationId));
+ unittest.expect(queryMap["requestOptions.timeZone"].first,
+ unittest.equals(arg_requestOptions_timeZone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7074,13 +7074,13 @@
}), true);
res
.list(
- requestOptions_languageCode: arg_requestOptions_languageCode,
+ pageToken: arg_pageToken,
requestOptions_debugOptions_enableDebugging:
arg_requestOptions_debugOptions_enableDebugging,
- pageToken: arg_pageToken,
- requestOptions_timeZone: arg_requestOptions_timeZone,
+ requestOptions_languageCode: arg_requestOptions_languageCode,
requestOptions_searchApplicationId:
arg_requestOptions_searchApplicationId,
+ requestOptions_timeZone: arg_requestOptions_timeZone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListQuerySourcesResponse(response);
@@ -7249,8 +7249,8 @@
var mock = HttpServerMock();
api.SettingsDatasourcesResourceApi res =
api.CloudsearchApi(mock).settings.datasources;
- var arg_pageSize = 42;
var arg_debugOptions_enableDebugging = true;
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7279,10 +7279,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["debugOptions.enableDebugging"].first,
unittest.equals("$arg_debugOptions_enableDebugging"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7295,8 +7295,8 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
debugOptions_enableDebugging: arg_debugOptions_enableDebugging,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7682,12 +7682,12 @@
unittest.test('method--getIndex', () {
var mock = HttpServerMock();
api.StatsResourceApi res = api.CloudsearchApi(mock).stats;
- var arg_toDate_month = 42;
- var arg_toDate_year = 42;
+ var arg_fromDate_day = 42;
+ var arg_fromDate_month = 42;
var arg_fromDate_year = 42;
var arg_toDate_day = 42;
- var arg_fromDate_month = 42;
- var arg_fromDate_day = 42;
+ var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7715,18 +7715,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["toDate.month"].first),
- unittest.equals(arg_toDate_month));
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
+ unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
+ unittest.equals(arg_fromDate_day));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["toDate.day"].first),
unittest.equals(arg_toDate_day));
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
- unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
- unittest.equals(arg_fromDate_day));
+ unittest.expect(core.int.parse(queryMap["toDate.month"].first),
+ unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7737,12 +7737,12 @@
}), true);
res
.getIndex(
- toDate_month: arg_toDate_month,
- toDate_year: arg_toDate_year,
+ fromDate_day: arg_fromDate_day,
+ fromDate_month: arg_fromDate_month,
fromDate_year: arg_fromDate_year,
toDate_day: arg_toDate_day,
- fromDate_month: arg_fromDate_month,
- fromDate_day: arg_fromDate_day,
+ toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerIndexStatsResponse(response);
@@ -7752,12 +7752,12 @@
unittest.test('method--getQuery', () {
var mock = HttpServerMock();
api.StatsResourceApi res = api.CloudsearchApi(mock).stats;
- var arg_toDate_month = 42;
- var arg_fromDate_year = 42;
var arg_fromDate_day = 42;
- var arg_toDate_year = 42;
var arg_fromDate_month = 42;
+ var arg_fromDate_year = 42;
var arg_toDate_day = 42;
+ var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7785,18 +7785,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["toDate.month"].first),
- unittest.equals(arg_toDate_month));
- unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
- unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
unittest.equals(arg_fromDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
+ unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["toDate.day"].first),
unittest.equals(arg_toDate_day));
+ unittest.expect(core.int.parse(queryMap["toDate.month"].first),
+ unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7807,12 +7807,12 @@
}), true);
res
.getQuery(
- toDate_month: arg_toDate_month,
- fromDate_year: arg_fromDate_year,
fromDate_day: arg_fromDate_day,
- toDate_year: arg_toDate_year,
fromDate_month: arg_fromDate_month,
+ fromDate_year: arg_fromDate_year,
toDate_day: arg_toDate_day,
+ toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerQueryStatsResponse(response);
@@ -7822,12 +7822,12 @@
unittest.test('method--getSession', () {
var mock = HttpServerMock();
api.StatsResourceApi res = api.CloudsearchApi(mock).stats;
- var arg_fromDate_year = 42;
- var arg_fromDate_month = 42;
var arg_fromDate_day = 42;
+ var arg_fromDate_month = 42;
+ var arg_fromDate_year = 42;
+ var arg_toDate_day = 42;
var arg_toDate_month = 42;
var arg_toDate_year = 42;
- var arg_toDate_day = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7855,18 +7855,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
- unittest.equals(arg_fromDate_year));
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
+ unittest.equals(arg_fromDate_year));
+ unittest.expect(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["toDate.month"].first),
unittest.equals(arg_toDate_month));
unittest.expect(core.int.parse(queryMap["toDate.year"].first),
unittest.equals(arg_toDate_year));
- unittest.expect(core.int.parse(queryMap["toDate.day"].first),
- unittest.equals(arg_toDate_day));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7877,12 +7877,12 @@
}), true);
res
.getSession(
- fromDate_year: arg_fromDate_year,
- fromDate_month: arg_fromDate_month,
fromDate_day: arg_fromDate_day,
+ fromDate_month: arg_fromDate_month,
+ fromDate_year: arg_fromDate_year,
+ toDate_day: arg_toDate_day,
toDate_month: arg_toDate_month,
toDate_year: arg_toDate_year,
- toDate_day: arg_toDate_day,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetCustomerSessionStatsResponse(response);
@@ -7892,11 +7892,11 @@
unittest.test('method--getUser', () {
var mock = HttpServerMock();
api.StatsResourceApi res = api.CloudsearchApi(mock).stats;
- var arg_fromDate_month = 42;
- var arg_toDate_day = 42;
var arg_fromDate_day = 42;
- var arg_toDate_month = 42;
+ var arg_fromDate_month = 42;
var arg_fromDate_year = 42;
+ var arg_toDate_day = 42;
+ var arg_toDate_month = 42;
var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7925,16 +7925,16 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
- unittest.expect(core.int.parse(queryMap["toDate.day"].first),
- unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
- unittest.expect(core.int.parse(queryMap["toDate.month"].first),
- unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
unittest.equals(arg_fromDate_year));
+ unittest.expect(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
+ unittest.expect(core.int.parse(queryMap["toDate.month"].first),
+ unittest.equals(arg_toDate_month));
unittest.expect(core.int.parse(queryMap["toDate.year"].first),
unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7947,11 +7947,11 @@
}), true);
res
.getUser(
- fromDate_month: arg_fromDate_month,
- toDate_day: arg_toDate_day,
fromDate_day: arg_fromDate_day,
- toDate_month: arg_toDate_month,
+ fromDate_month: arg_fromDate_month,
fromDate_year: arg_fromDate_year,
+ toDate_day: arg_toDate_day,
+ toDate_month: arg_toDate_month,
toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7966,12 +7966,12 @@
api.StatsIndexDatasourcesResourceApi res =
api.CloudsearchApi(mock).stats.index.datasources;
var arg_name = 'foo';
- var arg_fromDate_month = 42;
- var arg_toDate_day = 42;
var arg_fromDate_day = 42;
+ var arg_fromDate_month = 42;
var arg_fromDate_year = 42;
- var arg_toDate_year = 42;
+ var arg_toDate_day = 42;
var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8000,18 +8000,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
- unittest.expect(core.int.parse(queryMap["toDate.day"].first),
- unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
unittest.equals(arg_fromDate_year));
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
+ unittest.expect(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["toDate.month"].first),
unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8022,12 +8022,12 @@
}), true);
res
.get(arg_name,
- fromDate_month: arg_fromDate_month,
- toDate_day: arg_toDate_day,
fromDate_day: arg_fromDate_day,
+ fromDate_month: arg_fromDate_month,
fromDate_year: arg_fromDate_year,
- toDate_year: arg_toDate_year,
+ toDate_day: arg_toDate_day,
toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetDataSourceIndexStatsResponse(response);
@@ -8041,12 +8041,12 @@
api.StatsQuerySearchapplicationsResourceApi res =
api.CloudsearchApi(mock).stats.query.searchapplications;
var arg_name = 'foo';
- var arg_toDate_year = 42;
- var arg_fromDate_year = 42;
var arg_fromDate_day = 42;
- var arg_toDate_day = 42;
var arg_fromDate_month = 42;
+ var arg_fromDate_year = 42;
+ var arg_toDate_day = 42;
var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8075,18 +8075,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
- unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
- unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
- unittest.expect(core.int.parse(queryMap["toDate.day"].first),
- unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
unittest.equals(arg_fromDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
+ unittest.equals(arg_fromDate_year));
+ unittest.expect(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
unittest.expect(core.int.parse(queryMap["toDate.month"].first),
unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8098,12 +8098,12 @@
}), true);
res
.get(arg_name,
- toDate_year: arg_toDate_year,
- fromDate_year: arg_fromDate_year,
fromDate_day: arg_fromDate_day,
- toDate_day: arg_toDate_day,
fromDate_month: arg_fromDate_month,
+ fromDate_year: arg_fromDate_year,
+ toDate_day: arg_toDate_day,
toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetSearchApplicationQueryStatsResponse(response);
@@ -8117,12 +8117,12 @@
api.StatsSessionSearchapplicationsResourceApi res =
api.CloudsearchApi(mock).stats.session.searchapplications;
var arg_name = 'foo';
- var arg_toDate_month = 42;
- var arg_fromDate_month = 42;
- var arg_toDate_year = 42;
- var arg_toDate_day = 42;
- var arg_fromDate_year = 42;
var arg_fromDate_day = 42;
+ var arg_fromDate_month = 42;
+ var arg_fromDate_year = 42;
+ var arg_toDate_day = 42;
+ var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8151,18 +8151,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["toDate.month"].first),
- unittest.equals(arg_toDate_month));
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
- unittest.expect(core.int.parse(queryMap["toDate.day"].first),
- unittest.equals(arg_toDate_day));
- unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
- unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
+ unittest.equals(arg_fromDate_year));
+ unittest.expect(core.int.parse(queryMap["toDate.day"].first),
+ unittest.equals(arg_toDate_day));
+ unittest.expect(core.int.parse(queryMap["toDate.month"].first),
+ unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8174,12 +8174,12 @@
}), true);
res
.get(arg_name,
- toDate_month: arg_toDate_month,
- fromDate_month: arg_fromDate_month,
- toDate_year: arg_toDate_year,
- toDate_day: arg_toDate_day,
- fromDate_year: arg_fromDate_year,
fromDate_day: arg_fromDate_day,
+ fromDate_month: arg_fromDate_month,
+ fromDate_year: arg_fromDate_year,
+ toDate_day: arg_toDate_day,
+ toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetSearchApplicationSessionStatsResponse(response);
@@ -8193,12 +8193,12 @@
api.StatsUserSearchapplicationsResourceApi res =
api.CloudsearchApi(mock).stats.user.searchapplications;
var arg_name = 'foo';
- var arg_fromDate_year = 42;
- var arg_toDate_year = 42;
- var arg_fromDate_month = 42;
var arg_fromDate_day = 42;
- var arg_toDate_month = 42;
+ var arg_fromDate_month = 42;
+ var arg_fromDate_year = 42;
var arg_toDate_day = 42;
+ var arg_toDate_month = 42;
+ var arg_toDate_year = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8227,18 +8227,18 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
- unittest.equals(arg_fromDate_year));
- unittest.expect(core.int.parse(queryMap["toDate.year"].first),
- unittest.equals(arg_toDate_year));
- unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
- unittest.equals(arg_fromDate_month));
unittest.expect(core.int.parse(queryMap["fromDate.day"].first),
unittest.equals(arg_fromDate_day));
- unittest.expect(core.int.parse(queryMap["toDate.month"].first),
- unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.month"].first),
+ unittest.equals(arg_fromDate_month));
+ unittest.expect(core.int.parse(queryMap["fromDate.year"].first),
+ unittest.equals(arg_fromDate_year));
unittest.expect(core.int.parse(queryMap["toDate.day"].first),
unittest.equals(arg_toDate_day));
+ unittest.expect(core.int.parse(queryMap["toDate.month"].first),
+ unittest.equals(arg_toDate_month));
+ unittest.expect(core.int.parse(queryMap["toDate.year"].first),
+ unittest.equals(arg_toDate_year));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8250,12 +8250,12 @@
}), true);
res
.get(arg_name,
- fromDate_year: arg_fromDate_year,
- toDate_year: arg_toDate_year,
- fromDate_month: arg_fromDate_month,
fromDate_day: arg_fromDate_day,
- toDate_month: arg_toDate_month,
+ fromDate_month: arg_fromDate_month,
+ fromDate_year: arg_fromDate_year,
toDate_day: arg_toDate_day,
+ toDate_month: arg_toDate_month,
+ toDate_year: arg_toDate_year,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGetSearchApplicationUserStatsResponse(response);
diff --git a/generated/googleapis/test/cloudshell/v1_test.dart b/generated/googleapis/test/cloudshell/v1_test.dart
index d44c2af..6d0db67 100644
--- a/generated/googleapis/test/cloudshell/v1_test.dart
+++ b/generated/googleapis/test/cloudshell/v1_test.dart
@@ -896,9 +896,9 @@
var mock = HttpServerMock();
api.OperationsResourceApi res = api.CloudshellApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -927,11 +927,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -942,9 +942,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/cloudtasks/v2_test.dart b/generated/googleapis/test/cloudtasks/v2_test.dart
index 3c6c5f4..cd30e94 100644
--- a/generated/googleapis/test/cloudtasks/v2_test.dart
+++ b/generated/googleapis/test/cloudtasks/v2_test.dart
@@ -1230,8 +1230,8 @@
api.ProjectsLocationsResourceApi res =
api.CloudtasksApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1261,9 +1261,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1276,8 +1276,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1492,9 +1492,9 @@
api.ProjectsLocationsQueuesResourceApi res =
api.CloudtasksApi(mock).projects.locations.queues;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1523,11 +1523,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1538,9 +1538,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListQueuesResponse(response);
@@ -2021,9 +2021,9 @@
api.ProjectsLocationsQueuesTasksResourceApi res =
api.CloudtasksApi(mock).projects.locations.queues.tasks;
var arg_parent = 'foo';
- var arg_responseView = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_responseView = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2052,12 +2052,12 @@
);
}
}
- unittest.expect(
- queryMap["responseView"].first, unittest.equals(arg_responseView));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["responseView"].first, unittest.equals(arg_responseView));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2068,9 +2068,9 @@
}), true);
res
.list(arg_parent,
- responseView: arg_responseView,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ responseView: arg_responseView,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTasksResponse(response);
diff --git a/generated/googleapis/test/composer/v1_test.dart b/generated/googleapis/test/composer/v1_test.dart
index abf8d45..8fc8241 100644
--- a/generated/googleapis/test/composer/v1_test.dart
+++ b/generated/googleapis/test/composer/v1_test.dart
@@ -952,8 +952,8 @@
api.ProjectsLocationsEnvironmentsResourceApi res =
api.ComposerApi(mock).projects.locations.environments;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -982,10 +982,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -996,8 +996,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListEnvironmentsResponse(response);
@@ -1067,8 +1067,8 @@
api.ProjectsLocationsImageVersionsResourceApi res =
api.ComposerApi(mock).projects.locations.imageVersions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1097,10 +1097,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1111,8 +1111,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListImageVersionsResponse(response);
@@ -1222,9 +1222,9 @@
api.ProjectsLocationsOperationsResourceApi res =
api.ComposerApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1253,11 +1253,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1268,9 +1268,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/container/v1_test.dart b/generated/googleapis/test/container/v1_test.dart
index 754ce31..635d0ed 100644
--- a/generated/googleapis/test/container/v1_test.dart
+++ b/generated/googleapis/test/container/v1_test.dart
@@ -3807,9 +3807,9 @@
api.ProjectsAggregatedUsableSubnetworksResourceApi res =
api.ContainerApi(mock).projects.aggregated.usableSubnetworks;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3838,11 +3838,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3853,9 +3853,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUsableSubnetworksResponse(response);
@@ -4089,9 +4089,9 @@
api.ProjectsLocationsClustersResourceApi res =
api.ContainerApi(mock).projects.locations.clusters;
var arg_name = 'foo';
- var arg_zone = 'foo';
var arg_clusterId = 'foo';
var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4120,11 +4120,11 @@
);
}
}
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(
queryMap["clusterId"].first, unittest.equals(arg_clusterId));
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4135,9 +4135,9 @@
}), true);
res
.get(arg_name,
- zone: arg_zone,
clusterId: arg_clusterId,
projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCluster(response);
@@ -4197,8 +4197,8 @@
api.ProjectsLocationsClustersResourceApi res =
api.ContainerApi(mock).projects.locations.clusters;
var arg_parent = 'foo';
- var arg_zone = 'foo';
var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4227,9 +4227,9 @@
);
}
}
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4240,7 +4240,7 @@
}), true);
res
.list(arg_parent,
- zone: arg_zone, projectId: arg_projectId, $fields: arg_$fields)
+ projectId: arg_projectId, zone: arg_zone, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListClustersResponse(response);
})));
@@ -4930,9 +4930,9 @@
api.ContainerApi(mock).projects.locations.clusters.nodePools;
var arg_name = 'foo';
var arg_clusterId = 'foo';
- var arg_zone = 'foo';
- var arg_projectId = 'foo';
var arg_nodePoolId = 'foo';
+ var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4963,11 +4963,11 @@
}
unittest.expect(
queryMap["clusterId"].first, unittest.equals(arg_clusterId));
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(
queryMap["nodePoolId"].first, unittest.equals(arg_nodePoolId));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4979,9 +4979,9 @@
res
.delete(arg_name,
clusterId: arg_clusterId,
- zone: arg_zone,
- projectId: arg_projectId,
nodePoolId: arg_nodePoolId,
+ projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -4994,9 +4994,9 @@
api.ContainerApi(mock).projects.locations.clusters.nodePools;
var arg_name = 'foo';
var arg_clusterId = 'foo';
- var arg_zone = 'foo';
var arg_nodePoolId = 'foo';
var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5027,11 +5027,11 @@
}
unittest.expect(
queryMap["clusterId"].first, unittest.equals(arg_clusterId));
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(
queryMap["nodePoolId"].first, unittest.equals(arg_nodePoolId));
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5043,9 +5043,9 @@
res
.get(arg_name,
clusterId: arg_clusterId,
- zone: arg_zone,
nodePoolId: arg_nodePoolId,
projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkNodePool(response);
@@ -5057,9 +5057,9 @@
api.ProjectsLocationsClustersNodePoolsResourceApi res =
api.ContainerApi(mock).projects.locations.clusters.nodePools;
var arg_parent = 'foo';
- var arg_zone = 'foo';
- var arg_projectId = 'foo';
var arg_clusterId = 'foo';
+ var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5088,11 +5088,11 @@
);
}
}
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(
queryMap["clusterId"].first, unittest.equals(arg_clusterId));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5103,9 +5103,9 @@
}), true);
res
.list(arg_parent,
- zone: arg_zone,
- projectId: arg_projectId,
clusterId: arg_clusterId,
+ projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNodePoolsResponse(response);
@@ -5481,9 +5481,9 @@
api.ProjectsLocationsOperationsResourceApi res =
api.ContainerApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_zone = 'foo';
- var arg_projectId = 'foo';
var arg_operationId = 'foo';
+ var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5512,11 +5512,11 @@
);
}
}
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
- unittest.expect(
- queryMap["projectId"].first, unittest.equals(arg_projectId));
unittest.expect(
queryMap["operationId"].first, unittest.equals(arg_operationId));
+ unittest.expect(
+ queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5527,9 +5527,9 @@
}), true);
res
.get(arg_name,
- zone: arg_zone,
- projectId: arg_projectId,
operationId: arg_operationId,
+ projectId: arg_projectId,
+ zone: arg_zone,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -5541,8 +5541,8 @@
api.ProjectsLocationsOperationsResourceApi res =
api.ContainerApi(mock).projects.locations.operations;
var arg_parent = 'foo';
- var arg_zone = 'foo';
var arg_projectId = 'foo';
+ var arg_zone = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5571,9 +5571,9 @@
);
}
}
- unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(
queryMap["projectId"].first, unittest.equals(arg_projectId));
+ unittest.expect(queryMap["zone"].first, unittest.equals(arg_zone));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5584,7 +5584,7 @@
}), true);
res
.list(arg_parent,
- zone: arg_zone, projectId: arg_projectId, $fields: arg_$fields)
+ projectId: arg_projectId, zone: arg_zone, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
})));
diff --git a/generated/googleapis/test/customsearch/v1_test.dart b/generated/googleapis/test/customsearch/v1_test.dart
index 437dd19..e8f0642 100644
--- a/generated/googleapis/test/customsearch/v1_test.dart
+++ b/generated/googleapis/test/customsearch/v1_test.dart
@@ -900,37 +900,37 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.CseResourceApi res = api.CustomsearchApi(mock).cse;
- var arg_dateRestrict = 'foo';
- var arg_relatedSite = 'foo';
- var arg_hl = 'foo';
- var arg_fileType = 'foo';
- var arg_googlehost = 'foo';
- var arg_imgType = 'foo';
- var arg_q = 'foo';
- var arg_imgColorType = 'foo';
- var arg_rights = 'foo';
+ var arg_c2coff = 'foo';
var arg_cr = 'foo';
var arg_cx = 'foo';
- var arg_siteSearchFilter = 'foo';
- var arg_orTerms = 'foo';
- var arg_sort = 'foo';
- var arg_highRange = 'foo';
- var arg_imgDominantColor = 'foo';
- var arg_safe = 'foo';
- var arg_num = 42;
- var arg_filter = 'foo';
- var arg_searchType = 'foo';
+ var arg_dateRestrict = 'foo';
var arg_exactTerms = 'foo';
+ var arg_excludeTerms = 'foo';
+ var arg_fileType = 'foo';
+ var arg_filter = 'foo';
+ var arg_gl = 'foo';
+ var arg_googlehost = 'foo';
+ var arg_highRange = 'foo';
+ var arg_hl = 'foo';
+ var arg_hq = 'foo';
+ var arg_imgColorType = 'foo';
+ var arg_imgDominantColor = 'foo';
+ var arg_imgSize = 'foo';
+ var arg_imgType = 'foo';
var arg_linkSite = 'foo';
var arg_lowRange = 'foo';
- var arg_gl = 'foo';
- var arg_excludeTerms = 'foo';
- var arg_c2coff = 'foo';
- var arg_start = 42;
var arg_lr = 'foo';
- var arg_imgSize = 'foo';
+ var arg_num = 42;
+ var arg_orTerms = 'foo';
+ var arg_q = 'foo';
+ var arg_relatedSite = 'foo';
+ var arg_rights = 'foo';
+ var arg_safe = 'foo';
+ var arg_searchType = 'foo';
var arg_siteSearch = 'foo';
- var arg_hq = 'foo';
+ var arg_siteSearchFilter = 'foo';
+ var arg_sort = 'foo';
+ var arg_start = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -958,56 +958,56 @@
);
}
}
+ unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
+ unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
+ unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
unittest.expect(
queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
unittest.expect(
- queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
+ unittest.expect(
+ queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms));
unittest.expect(
queryMap["fileType"].first, unittest.equals(arg_fileType));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
unittest.expect(
queryMap["googlehost"].first, unittest.equals(arg_googlehost));
unittest.expect(
- queryMap["imgType"].first, unittest.equals(arg_imgType));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ queryMap["highRange"].first, unittest.equals(arg_highRange));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
unittest.expect(
queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
- unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights));
- unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
- unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
- unittest.expect(queryMap["siteSearchFilter"].first,
- unittest.equals(arg_siteSearchFilter));
- unittest.expect(
- queryMap["orTerms"].first, unittest.equals(arg_orTerms));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["highRange"].first, unittest.equals(arg_highRange));
unittest.expect(queryMap["imgDominantColor"].first,
unittest.equals(arg_imgDominantColor));
- unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
unittest.expect(
- core.int.parse(queryMap["num"].first), unittest.equals(arg_num));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["imgSize"].first, unittest.equals(arg_imgSize));
unittest.expect(
- queryMap["searchType"].first, unittest.equals(arg_searchType));
- unittest.expect(
- queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
+ queryMap["imgType"].first, unittest.equals(arg_imgType));
unittest.expect(
queryMap["linkSite"].first, unittest.equals(arg_linkSite));
unittest.expect(
queryMap["lowRange"].first, unittest.equals(arg_lowRange));
- unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
- unittest.expect(
- queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms));
- unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
- unittest.expect(core.int.parse(queryMap["start"].first),
- unittest.equals(arg_start));
unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr));
unittest.expect(
- queryMap["imgSize"].first, unittest.equals(arg_imgSize));
+ core.int.parse(queryMap["num"].first), unittest.equals(arg_num));
+ unittest.expect(
+ queryMap["orTerms"].first, unittest.equals(arg_orTerms));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(
+ queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
+ unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights));
+ unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
+ unittest.expect(
+ queryMap["searchType"].first, unittest.equals(arg_searchType));
unittest.expect(
queryMap["siteSearch"].first, unittest.equals(arg_siteSearch));
- unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
+ unittest.expect(queryMap["siteSearchFilter"].first,
+ unittest.equals(arg_siteSearchFilter));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["start"].first),
+ unittest.equals(arg_start));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1018,37 +1018,37 @@
}), true);
res
.list(
- dateRestrict: arg_dateRestrict,
- relatedSite: arg_relatedSite,
- hl: arg_hl,
- fileType: arg_fileType,
- googlehost: arg_googlehost,
- imgType: arg_imgType,
- q: arg_q,
- imgColorType: arg_imgColorType,
- rights: arg_rights,
+ c2coff: arg_c2coff,
cr: arg_cr,
cx: arg_cx,
- siteSearchFilter: arg_siteSearchFilter,
- orTerms: arg_orTerms,
- sort: arg_sort,
- highRange: arg_highRange,
- imgDominantColor: arg_imgDominantColor,
- safe: arg_safe,
- num: arg_num,
- filter: arg_filter,
- searchType: arg_searchType,
+ dateRestrict: arg_dateRestrict,
exactTerms: arg_exactTerms,
+ excludeTerms: arg_excludeTerms,
+ fileType: arg_fileType,
+ filter: arg_filter,
+ gl: arg_gl,
+ googlehost: arg_googlehost,
+ highRange: arg_highRange,
+ hl: arg_hl,
+ hq: arg_hq,
+ imgColorType: arg_imgColorType,
+ imgDominantColor: arg_imgDominantColor,
+ imgSize: arg_imgSize,
+ imgType: arg_imgType,
linkSite: arg_linkSite,
lowRange: arg_lowRange,
- gl: arg_gl,
- excludeTerms: arg_excludeTerms,
- c2coff: arg_c2coff,
- start: arg_start,
lr: arg_lr,
- imgSize: arg_imgSize,
+ num: arg_num,
+ orTerms: arg_orTerms,
+ q: arg_q,
+ relatedSite: arg_relatedSite,
+ rights: arg_rights,
+ safe: arg_safe,
+ searchType: arg_searchType,
siteSearch: arg_siteSearch,
- hq: arg_hq,
+ siteSearchFilter: arg_siteSearchFilter,
+ sort: arg_sort,
+ start: arg_start,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearch(response);
@@ -1061,37 +1061,37 @@
var mock = HttpServerMock();
api.CseSiterestrictResourceApi res =
api.CustomsearchApi(mock).cse.siterestrict;
- var arg_relatedSite = 'foo';
+ var arg_c2coff = 'foo';
+ var arg_cr = 'foo';
var arg_cx = 'foo';
- var arg_hl = 'foo';
- var arg_imgType = 'foo';
- var arg_siteSearch = 'foo';
- var arg_lowRange = 'foo';
- var arg_gl = 'foo';
+ var arg_dateRestrict = 'foo';
+ var arg_exactTerms = 'foo';
+ var arg_excludeTerms = 'foo';
+ var arg_fileType = 'foo';
var arg_filter = 'foo';
- var arg_q = 'foo';
- var arg_siteSearchFilter = 'foo';
+ var arg_gl = 'foo';
+ var arg_googlehost = 'foo';
+ var arg_highRange = 'foo';
+ var arg_hl = 'foo';
var arg_hq = 'foo';
+ var arg_imgColorType = 'foo';
+ var arg_imgDominantColor = 'foo';
+ var arg_imgSize = 'foo';
+ var arg_imgType = 'foo';
+ var arg_linkSite = 'foo';
+ var arg_lowRange = 'foo';
+ var arg_lr = 'foo';
var arg_num = 42;
var arg_orTerms = 'foo';
- var arg_lr = 'foo';
+ var arg_q = 'foo';
+ var arg_relatedSite = 'foo';
var arg_rights = 'foo';
- var arg_sort = 'foo';
- var arg_imgSize = 'foo';
- var arg_cr = 'foo';
- var arg_dateRestrict = 'foo';
- var arg_start = 42;
- var arg_linkSite = 'foo';
- var arg_searchType = 'foo';
- var arg_fileType = 'foo';
- var arg_highRange = 'foo';
- var arg_exactTerms = 'foo';
- var arg_c2coff = 'foo';
- var arg_excludeTerms = 'foo';
- var arg_imgDominantColor = 'foo';
var arg_safe = 'foo';
- var arg_imgColorType = 'foo';
- var arg_googlehost = 'foo';
+ var arg_searchType = 'foo';
+ var arg_siteSearch = 'foo';
+ var arg_siteSearchFilter = 'foo';
+ var arg_sort = 'foo';
+ var arg_start = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1119,56 +1119,56 @@
);
}
}
- unittest.expect(
- queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
+ unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
+ unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
unittest.expect(queryMap["cx"].first, unittest.equals(arg_cx));
+ unittest.expect(
+ queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
+ unittest.expect(
+ queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
+ unittest.expect(
+ queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms));
+ unittest.expect(
+ queryMap["fileType"].first, unittest.equals(arg_fileType));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
+ unittest.expect(
+ queryMap["googlehost"].first, unittest.equals(arg_googlehost));
+ unittest.expect(
+ queryMap["highRange"].first, unittest.equals(arg_highRange));
unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
+ unittest.expect(
+ queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
+ unittest.expect(queryMap["imgDominantColor"].first,
+ unittest.equals(arg_imgDominantColor));
+ unittest.expect(
+ queryMap["imgSize"].first, unittest.equals(arg_imgSize));
unittest.expect(
queryMap["imgType"].first, unittest.equals(arg_imgType));
unittest.expect(
- queryMap["siteSearch"].first, unittest.equals(arg_siteSearch));
+ queryMap["linkSite"].first, unittest.equals(arg_linkSite));
unittest.expect(
queryMap["lowRange"].first, unittest.equals(arg_lowRange));
- unittest.expect(queryMap["gl"].first, unittest.equals(arg_gl));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(queryMap["siteSearchFilter"].first,
- unittest.equals(arg_siteSearchFilter));
- unittest.expect(queryMap["hq"].first, unittest.equals(arg_hq));
+ unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr));
unittest.expect(
core.int.parse(queryMap["num"].first), unittest.equals(arg_num));
unittest.expect(
queryMap["orTerms"].first, unittest.equals(arg_orTerms));
- unittest.expect(queryMap["lr"].first, unittest.equals(arg_lr));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(
+ queryMap["relatedSite"].first, unittest.equals(arg_relatedSite));
unittest.expect(queryMap["rights"].first, unittest.equals(arg_rights));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(
- queryMap["imgSize"].first, unittest.equals(arg_imgSize));
- unittest.expect(queryMap["cr"].first, unittest.equals(arg_cr));
- unittest.expect(
- queryMap["dateRestrict"].first, unittest.equals(arg_dateRestrict));
- unittest.expect(core.int.parse(queryMap["start"].first),
- unittest.equals(arg_start));
- unittest.expect(
- queryMap["linkSite"].first, unittest.equals(arg_linkSite));
+ unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
unittest.expect(
queryMap["searchType"].first, unittest.equals(arg_searchType));
unittest.expect(
- queryMap["fileType"].first, unittest.equals(arg_fileType));
- unittest.expect(
- queryMap["highRange"].first, unittest.equals(arg_highRange));
- unittest.expect(
- queryMap["exactTerms"].first, unittest.equals(arg_exactTerms));
- unittest.expect(queryMap["c2coff"].first, unittest.equals(arg_c2coff));
- unittest.expect(
- queryMap["excludeTerms"].first, unittest.equals(arg_excludeTerms));
- unittest.expect(queryMap["imgDominantColor"].first,
- unittest.equals(arg_imgDominantColor));
- unittest.expect(queryMap["safe"].first, unittest.equals(arg_safe));
- unittest.expect(
- queryMap["imgColorType"].first, unittest.equals(arg_imgColorType));
- unittest.expect(
- queryMap["googlehost"].first, unittest.equals(arg_googlehost));
+ queryMap["siteSearch"].first, unittest.equals(arg_siteSearch));
+ unittest.expect(queryMap["siteSearchFilter"].first,
+ unittest.equals(arg_siteSearchFilter));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(core.int.parse(queryMap["start"].first),
+ unittest.equals(arg_start));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1179,37 +1179,37 @@
}), true);
res
.list(
- relatedSite: arg_relatedSite,
+ c2coff: arg_c2coff,
+ cr: arg_cr,
cx: arg_cx,
- hl: arg_hl,
- imgType: arg_imgType,
- siteSearch: arg_siteSearch,
- lowRange: arg_lowRange,
- gl: arg_gl,
+ dateRestrict: arg_dateRestrict,
+ exactTerms: arg_exactTerms,
+ excludeTerms: arg_excludeTerms,
+ fileType: arg_fileType,
filter: arg_filter,
- q: arg_q,
- siteSearchFilter: arg_siteSearchFilter,
+ gl: arg_gl,
+ googlehost: arg_googlehost,
+ highRange: arg_highRange,
+ hl: arg_hl,
hq: arg_hq,
+ imgColorType: arg_imgColorType,
+ imgDominantColor: arg_imgDominantColor,
+ imgSize: arg_imgSize,
+ imgType: arg_imgType,
+ linkSite: arg_linkSite,
+ lowRange: arg_lowRange,
+ lr: arg_lr,
num: arg_num,
orTerms: arg_orTerms,
- lr: arg_lr,
+ q: arg_q,
+ relatedSite: arg_relatedSite,
rights: arg_rights,
- sort: arg_sort,
- imgSize: arg_imgSize,
- cr: arg_cr,
- dateRestrict: arg_dateRestrict,
- start: arg_start,
- linkSite: arg_linkSite,
- searchType: arg_searchType,
- fileType: arg_fileType,
- highRange: arg_highRange,
- exactTerms: arg_exactTerms,
- c2coff: arg_c2coff,
- excludeTerms: arg_excludeTerms,
- imgDominantColor: arg_imgDominantColor,
safe: arg_safe,
- imgColorType: arg_imgColorType,
- googlehost: arg_googlehost,
+ searchType: arg_searchType,
+ siteSearch: arg_siteSearch,
+ siteSearchFilter: arg_siteSearchFilter,
+ sort: arg_sort,
+ start: arg_start,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearch(response);
diff --git a/generated/googleapis/test/dataproc/v1_test.dart b/generated/googleapis/test/dataproc/v1_test.dart
index 3a32f68..9dcd4b5 100644
--- a/generated/googleapis/test/dataproc/v1_test.dart
+++ b/generated/googleapis/test/dataproc/v1_test.dart
@@ -4444,8 +4444,8 @@
api.ProjectsLocationsWorkflowTemplatesResourceApi res =
api.DataprocApi(mock).projects.locations.workflowTemplates;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4474,10 +4474,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4488,8 +4488,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListWorkflowTemplatesResponse(response);
@@ -5150,8 +5150,8 @@
var arg_projectId = 'foo';
var arg_region = 'foo';
var arg_clusterName = 'foo';
- var arg_requestId = 'foo';
var arg_clusterUuid = 'foo';
+ var arg_requestId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5201,9 +5201,9 @@
}
}
unittest.expect(
- queryMap["requestId"].first, unittest.equals(arg_requestId));
- unittest.expect(
queryMap["clusterUuid"].first, unittest.equals(arg_clusterUuid));
+ unittest.expect(
+ queryMap["requestId"].first, unittest.equals(arg_requestId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5214,8 +5214,8 @@
}), true);
res
.delete(arg_projectId, arg_region, arg_clusterName,
- requestId: arg_requestId,
clusterUuid: arg_clusterUuid,
+ requestId: arg_requestId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -5431,9 +5431,9 @@
api.DataprocApi(mock).projects.regions.clusters;
var arg_projectId = 'foo';
var arg_region = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5479,11 +5479,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5494,9 +5494,9 @@
}), true);
res
.list(arg_projectId, arg_region,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListClustersResponse(response);
@@ -5511,8 +5511,8 @@
var arg_projectId = 'foo';
var arg_region = 'foo';
var arg_clusterName = 'foo';
- var arg_requestId = 'foo';
var arg_gracefulDecommissionTimeout = 'foo';
+ var arg_requestId = 'foo';
var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5565,11 +5565,11 @@
);
}
}
- unittest.expect(
- queryMap["requestId"].first, unittest.equals(arg_requestId));
unittest.expect(queryMap["gracefulDecommissionTimeout"].first,
unittest.equals(arg_gracefulDecommissionTimeout));
unittest.expect(
+ queryMap["requestId"].first, unittest.equals(arg_requestId));
+ unittest.expect(
queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5581,8 +5581,8 @@
}), true);
res
.patch(arg_request, arg_projectId, arg_region, arg_clusterName,
- requestId: arg_requestId,
gracefulDecommissionTimeout: arg_gracefulDecommissionTimeout,
+ requestId: arg_requestId,
updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5975,11 +5975,11 @@
api.DataprocApi(mock).projects.regions.jobs;
var arg_projectId = 'foo';
var arg_region = 'foo';
- var arg_pageToken = 'foo';
var arg_clusterName = 'foo';
- var arg_jobStateMatcher = 'foo';
var arg_filter = 'foo';
+ var arg_jobStateMatcher = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6026,14 +6026,14 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["clusterName"].first, unittest.equals(arg_clusterName));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["jobStateMatcher"].first,
unittest.equals(arg_jobStateMatcher));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6044,11 +6044,11 @@
}), true);
res
.list(arg_projectId, arg_region,
- pageToken: arg_pageToken,
clusterName: arg_clusterName,
- jobStateMatcher: arg_jobStateMatcher,
filter: arg_filter,
+ jobStateMatcher: arg_jobStateMatcher,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
@@ -6581,9 +6581,9 @@
api.ProjectsRegionsOperationsResourceApi res =
api.DataprocApi(mock).projects.regions.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6612,11 +6612,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6627,9 +6627,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -7061,8 +7061,8 @@
api.ProjectsRegionsWorkflowTemplatesResourceApi res =
api.DataprocApi(mock).projects.regions.workflowTemplates;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7091,10 +7091,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7105,8 +7105,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListWorkflowTemplatesResponse(response);
diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
index a270eb0..5e80a08 100644
--- a/generated/googleapis/test/datastore/v1_test.dart
+++ b/generated/googleapis/test/datastore/v1_test.dart
@@ -3190,9 +3190,9 @@
api.ProjectsIndexesResourceApi res =
api.DatastoreApi(mock).projects.indexes;
var arg_projectId = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3229,11 +3229,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3245,9 +3245,9 @@
}), true);
res
.list(arg_projectId,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleDatastoreAdminV1ListIndexesResponse(response);
@@ -3405,9 +3405,9 @@
api.ProjectsOperationsResourceApi res =
api.DatastoreApi(mock).projects.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3436,11 +3436,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3452,9 +3452,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
diff --git a/generated/googleapis/test/deploymentmanager/v2_test.dart b/generated/googleapis/test/deploymentmanager/v2_test.dart
index e2a79c4..72855e7 100644
--- a/generated/googleapis/test/deploymentmanager/v2_test.dart
+++ b/generated/googleapis/test/deploymentmanager/v2_test.dart
@@ -2242,10 +2242,10 @@
api.DeploymentsResourceApi res =
api.DeploymentmanagerApi(mock).deployments;
var arg_project = 'foo';
- var arg_orderBy = 'foo';
- var arg_maxResults = 42;
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
+ var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2270,13 +2270,13 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2287,10 +2287,10 @@
}), true);
res
.list(arg_project,
- orderBy: arg_orderBy,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
filter: arg_filter,
+ maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDeploymentsListResponse(response);
@@ -2304,9 +2304,9 @@
var arg_request = buildDeployment();
var arg_project = 'foo';
var arg_deployment = 'foo';
+ var arg_createPolicy = 'foo';
var arg_deletePolicy = 'foo';
var arg_preview = true;
- var arg_createPolicy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Deployment.fromJson(json);
@@ -2335,11 +2335,11 @@
}
}
unittest.expect(
+ queryMap["createPolicy"].first, unittest.equals(arg_createPolicy));
+ unittest.expect(
queryMap["deletePolicy"].first, unittest.equals(arg_deletePolicy));
unittest.expect(
queryMap["preview"].first, unittest.equals("$arg_preview"));
- unittest.expect(
- queryMap["createPolicy"].first, unittest.equals(arg_createPolicy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2350,9 +2350,9 @@
}), true);
res
.patch(arg_request, arg_project, arg_deployment,
+ createPolicy: arg_createPolicy,
deletePolicy: arg_deletePolicy,
preview: arg_preview,
- createPolicy: arg_createPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOperation(response);
@@ -2622,8 +2622,8 @@
api.ManifestsResourceApi res = api.DeploymentmanagerApi(mock).manifests;
var arg_project = 'foo';
var arg_deployment = 'foo';
- var arg_maxResults = 42;
var arg_filter = 'foo';
+ var arg_maxResults = 42;
var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -2650,9 +2650,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(
@@ -2667,8 +2667,8 @@
}), true);
res
.list(arg_project, arg_deployment,
- maxResults: arg_maxResults,
filter: arg_filter,
+ maxResults: arg_maxResults,
orderBy: arg_orderBy,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -2728,8 +2728,8 @@
api.OperationsResourceApi res = api.DeploymentmanagerApi(mock).operations;
var arg_project = 'foo';
var arg_filter = 'foo';
- var arg_orderBy = 'foo';
var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2756,11 +2756,11 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2773,8 +2773,8 @@
res
.list(arg_project,
filter: arg_filter,
- orderBy: arg_orderBy,
maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2835,8 +2835,8 @@
var arg_project = 'foo';
var arg_deployment = 'foo';
var arg_filter = 'foo';
- var arg_orderBy = 'foo';
var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2863,11 +2863,11 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2880,8 +2880,8 @@
res
.list(arg_project, arg_deployment,
filter: arg_filter,
- orderBy: arg_orderBy,
maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2895,10 +2895,10 @@
var mock = HttpServerMock();
api.TypesResourceApi res = api.DeploymentmanagerApi(mock).types;
var arg_project = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
- var arg_orderBy = 'foo';
var arg_maxResults = 42;
+ var arg_orderBy = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2923,13 +2923,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2940,10 +2940,10 @@
}), true);
res
.list(arg_project,
- pageToken: arg_pageToken,
filter: arg_filter,
- orderBy: arg_orderBy,
maxResults: arg_maxResults,
+ orderBy: arg_orderBy,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTypesListResponse(response);
diff --git a/generated/googleapis/test/dfareporting/v3_4_test.dart b/generated/googleapis/test/dfareporting/v3_4_test.dart
index 4d253aa..23ebbe9 100644
--- a/generated/googleapis/test/dfareporting/v3_4_test.dart
+++ b/generated/googleapis/test/dfareporting/v3_4_test.dart
@@ -13724,15 +13724,15 @@
api.AccountUserProfilesResourceApi res =
api.DfareportingApi(mock).accountUserProfiles;
var arg_profileId = 'foo';
- var arg_subaccountId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_userRoleId = 'foo';
- var arg_pageToken = 'foo';
- var arg_ids = buildUnnamed4215();
- var arg_sortField = 'foo';
var arg_active = true;
- var arg_searchString = 'foo';
+ var arg_ids = buildUnnamed4215();
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_subaccountId = 'foo';
+ var arg_userRoleId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13773,22 +13773,22 @@
}
}
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["userRoleId"].first, unittest.equals(arg_userRoleId));
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(
+ queryMap["userRoleId"].first, unittest.equals(arg_userRoleId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13799,15 +13799,15 @@
}), true);
res
.list(arg_profileId,
- subaccountId: arg_subaccountId,
- sortOrder: arg_sortOrder,
- userRoleId: arg_userRoleId,
- pageToken: arg_pageToken,
- ids: arg_ids,
- sortField: arg_sortField,
active: arg_active,
- searchString: arg_searchString,
+ ids: arg_ids,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ userRoleId: arg_userRoleId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAccountUserProfilesListResponse(response);
@@ -14010,13 +14010,13 @@
var mock = HttpServerMock();
api.AccountsResourceApi res = api.DfareportingApi(mock).accounts;
var arg_profileId = 'foo';
+ var arg_active = true;
+ var arg_ids = buildUnnamed4216();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_searchString = 'foo';
var arg_sortField = 'foo';
- var arg_maxResults = 42;
- var arg_ids = buildUnnamed4216();
var arg_sortOrder = 'foo';
- var arg_active = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14057,18 +14057,18 @@
}
}
unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14079,13 +14079,13 @@
}), true);
res
.list(arg_profileId,
+ active: arg_active,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
searchString: arg_searchString,
sortField: arg_sortField,
- maxResults: arg_maxResults,
- ids: arg_ids,
sortOrder: arg_sortOrder,
- active: arg_active,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAccountsListResponse(response);
@@ -14348,29 +14348,29 @@
var mock = HttpServerMock();
api.AdsResourceApi res = api.DfareportingApi(mock).ads;
var arg_profileId = 'foo';
- var arg_placementIds = buildUnnamed4217();
- var arg_campaignIds = buildUnnamed4218();
- var arg_dynamicClickTracker = true;
- var arg_compatibility = 'foo';
- var arg_type = buildUnnamed4219();
- var arg_ids = buildUnnamed4220();
- var arg_sortOrder = 'foo';
- var arg_archived = true;
- var arg_audienceSegmentIds = buildUnnamed4221();
var arg_active = true;
- var arg_remarketingListIds = buildUnnamed4222();
- var arg_sizeIds = buildUnnamed4223();
- var arg_creativeOptimizationConfigurationIds = buildUnnamed4224();
var arg_advertiserId = 'foo';
+ var arg_archived = true;
+ var arg_audienceSegmentIds = buildUnnamed4217();
+ var arg_campaignIds = buildUnnamed4218();
+ var arg_compatibility = 'foo';
+ var arg_creativeIds = buildUnnamed4219();
+ var arg_creativeOptimizationConfigurationIds = buildUnnamed4220();
+ var arg_dynamicClickTracker = true;
+ var arg_ids = buildUnnamed4221();
+ var arg_landingPageIds = buildUnnamed4222();
var arg_maxResults = 42;
- var arg_pageToken = 'foo';
- var arg_sslCompliant = true;
- var arg_landingPageIds = buildUnnamed4225();
- var arg_creativeIds = buildUnnamed4226();
var arg_overriddenEventTagId = 'foo';
- var arg_sslRequired = true;
- var arg_sortField = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_placementIds = buildUnnamed4223();
+ var arg_remarketingListIds = buildUnnamed4224();
var arg_searchString = 'foo';
+ var arg_sizeIds = buildUnnamed4225();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_sslCompliant = true;
+ var arg_sslRequired = true;
+ var arg_type = buildUnnamed4226();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14411,48 +14411,48 @@
}
}
unittest.expect(
- queryMap["placementIds"], unittest.equals(arg_placementIds));
+ queryMap["active"].first, unittest.equals("$arg_active"));
unittest.expect(
- queryMap["campaignIds"], unittest.equals(arg_campaignIds));
- unittest.expect(queryMap["dynamicClickTracker"].first,
- unittest.equals("$arg_dynamicClickTracker"));
- unittest.expect(queryMap["compatibility"].first,
- unittest.equals(arg_compatibility));
- unittest.expect(queryMap["type"], unittest.equals(arg_type));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
unittest.expect(queryMap["audienceSegmentIds"],
unittest.equals(arg_audienceSegmentIds));
unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(queryMap["remarketingListIds"],
- unittest.equals(arg_remarketingListIds));
- unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
- unittest.expect(queryMap["creativeOptimizationConfigurationIds"],
- unittest.equals(arg_creativeOptimizationConfigurationIds));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["sslCompliant"].first,
- unittest.equals("$arg_sslCompliant"));
- unittest.expect(
- queryMap["landingPageIds"], unittest.equals(arg_landingPageIds));
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["compatibility"].first,
+ unittest.equals(arg_compatibility));
unittest.expect(
queryMap["creativeIds"], unittest.equals(arg_creativeIds));
+ unittest.expect(queryMap["creativeOptimizationConfigurationIds"],
+ unittest.equals(arg_creativeOptimizationConfigurationIds));
+ unittest.expect(queryMap["dynamicClickTracker"].first,
+ unittest.equals("$arg_dynamicClickTracker"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["landingPageIds"], unittest.equals(arg_landingPageIds));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["overriddenEventTagId"].first,
unittest.equals(arg_overriddenEventTagId));
unittest.expect(
- queryMap["sslRequired"].first, unittest.equals("$arg_sslRequired"));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["placementIds"], unittest.equals(arg_placementIds));
+ unittest.expect(queryMap["remarketingListIds"],
+ unittest.equals(arg_remarketingListIds));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["sslCompliant"].first,
+ unittest.equals("$arg_sslCompliant"));
+ unittest.expect(
+ queryMap["sslRequired"].first, unittest.equals("$arg_sslRequired"));
+ unittest.expect(queryMap["type"], unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14463,30 +14463,30 @@
}), true);
res
.list(arg_profileId,
- placementIds: arg_placementIds,
- campaignIds: arg_campaignIds,
- dynamicClickTracker: arg_dynamicClickTracker,
- compatibility: arg_compatibility,
- type: arg_type,
- ids: arg_ids,
- sortOrder: arg_sortOrder,
+ active: arg_active,
+ advertiserId: arg_advertiserId,
archived: arg_archived,
audienceSegmentIds: arg_audienceSegmentIds,
- active: arg_active,
- remarketingListIds: arg_remarketingListIds,
- sizeIds: arg_sizeIds,
+ campaignIds: arg_campaignIds,
+ compatibility: arg_compatibility,
+ creativeIds: arg_creativeIds,
creativeOptimizationConfigurationIds:
arg_creativeOptimizationConfigurationIds,
- advertiserId: arg_advertiserId,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
- sslCompliant: arg_sslCompliant,
+ dynamicClickTracker: arg_dynamicClickTracker,
+ ids: arg_ids,
landingPageIds: arg_landingPageIds,
- creativeIds: arg_creativeIds,
+ maxResults: arg_maxResults,
overriddenEventTagId: arg_overriddenEventTagId,
- sslRequired: arg_sslRequired,
- sortField: arg_sortField,
+ pageToken: arg_pageToken,
+ placementIds: arg_placementIds,
+ remarketingListIds: arg_remarketingListIds,
searchString: arg_searchString,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ sslCompliant: arg_sslCompliant,
+ sslRequired: arg_sslRequired,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdsListResponse(response);
@@ -14813,12 +14813,12 @@
api.AdvertiserGroupsResourceApi res =
api.DfareportingApi(mock).advertiserGroups;
var arg_profileId = 'foo';
- var arg_searchString = 'foo';
- var arg_maxResults = 42;
var arg_ids = buildUnnamed4227();
- var arg_sortOrder = 'foo';
- var arg_sortField = 'foo';
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14858,17 +14858,17 @@
);
}
}
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14879,12 +14879,12 @@
}), true);
res
.list(arg_profileId,
- searchString: arg_searchString,
- maxResults: arg_maxResults,
ids: arg_ids,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdvertiserGroupsListResponse(response);
@@ -15152,16 +15152,16 @@
api.AdvertiserLandingPagesResourceApi res =
api.DfareportingApi(mock).advertiserLandingPages;
var arg_profileId = 'foo';
- var arg_subaccountId = 'foo';
- var arg_campaignIds = buildUnnamed4228();
- var arg_sortOrder = 'foo';
- var arg_advertiserIds = buildUnnamed4229();
- var arg_pageToken = 'foo';
- var arg_sortField = 'foo';
+ var arg_advertiserIds = buildUnnamed4228();
var arg_archived = true;
- var arg_searchString = 'foo';
- var arg_maxResults = 42;
+ var arg_campaignIds = buildUnnamed4229();
var arg_ids = buildUnnamed4230();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_subaccountId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15202,24 +15202,24 @@
}
}
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(
- queryMap["campaignIds"], unittest.equals(arg_campaignIds));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15231,16 +15231,16 @@
}), true);
res
.list(arg_profileId,
- subaccountId: arg_subaccountId,
- campaignIds: arg_campaignIds,
- sortOrder: arg_sortOrder,
advertiserIds: arg_advertiserIds,
- pageToken: arg_pageToken,
- sortField: arg_sortField,
archived: arg_archived,
- searchString: arg_searchString,
- maxResults: arg_maxResults,
+ campaignIds: arg_campaignIds,
ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdvertiserLandingPagesListResponse(response);
@@ -15505,18 +15505,18 @@
var mock = HttpServerMock();
api.AdvertisersResourceApi res = api.DfareportingApi(mock).advertisers;
var arg_profileId = 'foo';
+ var arg_advertiserGroupIds = buildUnnamed4231();
+ var arg_floodlightConfigurationIds = buildUnnamed4232();
+ var arg_ids = buildUnnamed4233();
+ var arg_includeAdvertisersWithoutGroupsOnly = true;
var arg_maxResults = 42;
- var arg_subaccountId = 'foo';
- var arg_ids = buildUnnamed4231();
+ var arg_onlyParent = true;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
var arg_status = 'foo';
- var arg_onlyParent = true;
- var arg_floodlightConfigurationIds = buildUnnamed4232();
- var arg_sortField = 'foo';
- var arg_searchString = 'foo';
- var arg_advertiserGroupIds = buildUnnamed4233();
- var arg_pageToken = 'foo';
- var arg_includeAdvertisersWithoutGroupsOnly = true;
+ var arg_subaccountId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15556,28 +15556,28 @@
);
}
}
+ unittest.expect(queryMap["advertiserGroupIds"],
+ unittest.equals(arg_advertiserGroupIds));
+ unittest.expect(queryMap["floodlightConfigurationIds"],
+ unittest.equals(arg_floodlightConfigurationIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(queryMap["includeAdvertisersWithoutGroupsOnly"].first,
+ unittest.equals("$arg_includeAdvertisersWithoutGroupsOnly"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ queryMap["onlyParent"].first, unittest.equals("$arg_onlyParent"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["status"].first, unittest.equals(arg_status));
unittest.expect(
- queryMap["onlyParent"].first, unittest.equals("$arg_onlyParent"));
- unittest.expect(queryMap["floodlightConfigurationIds"],
- unittest.equals(arg_floodlightConfigurationIds));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["advertiserGroupIds"],
- unittest.equals(arg_advertiserGroupIds));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["includeAdvertisersWithoutGroupsOnly"].first,
- unittest.equals("$arg_includeAdvertisersWithoutGroupsOnly"));
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15588,19 +15588,19 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- subaccountId: arg_subaccountId,
- ids: arg_ids,
- sortOrder: arg_sortOrder,
- status: arg_status,
- onlyParent: arg_onlyParent,
- floodlightConfigurationIds: arg_floodlightConfigurationIds,
- sortField: arg_sortField,
- searchString: arg_searchString,
advertiserGroupIds: arg_advertiserGroupIds,
- pageToken: arg_pageToken,
+ floodlightConfigurationIds: arg_floodlightConfigurationIds,
+ ids: arg_ids,
includeAdvertisersWithoutGroupsOnly:
arg_includeAdvertisersWithoutGroupsOnly,
+ maxResults: arg_maxResults,
+ onlyParent: arg_onlyParent,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ status: arg_status,
+ subaccountId: arg_subaccountId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAdvertisersListResponse(response);
@@ -15876,8 +15876,8 @@
var arg_profileId = 'foo';
var arg_campaignId = 'foo';
var arg_maxResults = 42;
- var arg_sortOrder = 'foo';
var arg_pageToken = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15929,9 +15929,9 @@
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15944,8 +15944,8 @@
res
.list(arg_profileId, arg_campaignId,
maxResults: arg_maxResults,
- sortOrder: arg_sortOrder,
pageToken: arg_pageToken,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCampaignCreativeAssociationsListResponse(response);
@@ -16082,19 +16082,19 @@
var mock = HttpServerMock();
api.CampaignsResourceApi res = api.DfareportingApi(mock).campaigns;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
+ var arg_advertiserGroupIds = buildUnnamed4234();
+ var arg_advertiserIds = buildUnnamed4235();
var arg_archived = true;
- var arg_sortField = 'foo';
- var arg_ids = buildUnnamed4234();
var arg_atLeastOneOptimizationActivity = true;
- var arg_excludedIds = buildUnnamed4235();
- var arg_sortOrder = 'foo';
- var arg_searchString = 'foo';
- var arg_advertiserGroupIds = buildUnnamed4236();
+ var arg_excludedIds = buildUnnamed4236();
+ var arg_ids = buildUnnamed4237();
+ var arg_maxResults = 42;
var arg_overriddenEventTagId = 'foo';
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_subaccountId = 'foo';
- var arg_advertiserIds = buildUnnamed4237();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16134,31 +16134,31 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["advertiserGroupIds"],
+ unittest.equals(arg_advertiserGroupIds));
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["atLeastOneOptimizationActivity"].first,
unittest.equals("$arg_atLeastOneOptimizationActivity"));
unittest.expect(
queryMap["excludedIds"], unittest.equals(arg_excludedIds));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["advertiserGroupIds"],
- unittest.equals(arg_advertiserGroupIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["overriddenEventTagId"].first,
unittest.equals(arg_overriddenEventTagId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16169,20 +16169,20 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
+ advertiserGroupIds: arg_advertiserGroupIds,
+ advertiserIds: arg_advertiserIds,
archived: arg_archived,
- sortField: arg_sortField,
- ids: arg_ids,
atLeastOneOptimizationActivity:
arg_atLeastOneOptimizationActivity,
excludedIds: arg_excludedIds,
- sortOrder: arg_sortOrder,
- searchString: arg_searchString,
- advertiserGroupIds: arg_advertiserGroupIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
overriddenEventTagId: arg_overriddenEventTagId,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
subaccountId: arg_subaccountId,
- advertiserIds: arg_advertiserIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCampaignsListResponse(response);
@@ -16384,15 +16384,15 @@
api.ChangeLogsResourceApi res = api.DfareportingApi(mock).changeLogs;
var arg_profileId = 'foo';
var arg_action = 'foo';
- var arg_objectType = 'foo';
+ var arg_ids = buildUnnamed4238();
var arg_maxChangeTime = 'foo';
- var arg_objectIds = buildUnnamed4238();
- var arg_userProfileIds = buildUnnamed4239();
var arg_maxResults = 42;
var arg_minChangeTime = 'foo';
+ var arg_objectIds = buildUnnamed4239();
+ var arg_objectType = 'foo';
var arg_pageToken = 'foo';
var arg_searchString = 'foo';
- var arg_ids = buildUnnamed4240();
+ var arg_userProfileIds = buildUnnamed4240();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16433,22 +16433,22 @@
}
}
unittest.expect(queryMap["action"].first, unittest.equals(arg_action));
- unittest.expect(
- queryMap["objectType"].first, unittest.equals(arg_objectType));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["maxChangeTime"].first,
unittest.equals(arg_maxChangeTime));
- unittest.expect(queryMap["objectIds"], unittest.equals(arg_objectIds));
- unittest.expect(
- queryMap["userProfileIds"], unittest.equals(arg_userProfileIds));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(queryMap["minChangeTime"].first,
unittest.equals(arg_minChangeTime));
+ unittest.expect(queryMap["objectIds"], unittest.equals(arg_objectIds));
+ unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["userProfileIds"], unittest.equals(arg_userProfileIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16460,15 +16460,15 @@
res
.list(arg_profileId,
action: arg_action,
- objectType: arg_objectType,
+ ids: arg_ids,
maxChangeTime: arg_maxChangeTime,
- objectIds: arg_objectIds,
- userProfileIds: arg_userProfileIds,
maxResults: arg_maxResults,
minChangeTime: arg_minChangeTime,
+ objectIds: arg_objectIds,
+ objectType: arg_objectType,
pageToken: arg_pageToken,
searchString: arg_searchString,
- ids: arg_ids,
+ userProfileIds: arg_userProfileIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChangeLogsListResponse(response);
@@ -16482,8 +16482,8 @@
api.CitiesResourceApi res = api.DfareportingApi(mock).cities;
var arg_profileId = 'foo';
var arg_countryDartIds = buildUnnamed4241();
- var arg_namePrefix = 'foo';
var arg_dartIds = buildUnnamed4242();
+ var arg_namePrefix = 'foo';
var arg_regionDartIds = buildUnnamed4243();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -16526,9 +16526,9 @@
}
unittest.expect(
queryMap["countryDartIds"], unittest.equals(arg_countryDartIds));
+ unittest.expect(queryMap["dartIds"], unittest.equals(arg_dartIds));
unittest.expect(
queryMap["namePrefix"].first, unittest.equals(arg_namePrefix));
- unittest.expect(queryMap["dartIds"], unittest.equals(arg_dartIds));
unittest.expect(
queryMap["regionDartIds"], unittest.equals(arg_regionDartIds));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -16542,8 +16542,8 @@
res
.list(arg_profileId,
countryDartIds: arg_countryDartIds,
- namePrefix: arg_namePrefix,
dartIds: arg_dartIds,
+ namePrefix: arg_namePrefix,
regionDartIds: arg_regionDartIds,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -16869,12 +16869,12 @@
api.ContentCategoriesResourceApi res =
api.DfareportingApi(mock).contentCategories;
var arg_profileId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_searchString = 'foo';
+ var arg_ids = buildUnnamed4244();
var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_sortField = 'foo';
- var arg_ids = buildUnnamed4244();
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -16914,17 +16914,17 @@
);
}
}
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -16935,12 +16935,12 @@
}), true);
res
.list(arg_profileId,
- sortOrder: arg_sortOrder,
- searchString: arg_searchString,
+ ids: arg_ids,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
sortField: arg_sortField,
- ids: arg_ids,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkContentCategoriesListResponse(response);
@@ -17629,11 +17629,11 @@
api.DfareportingApi(mock).creativeFieldValues;
var arg_profileId = 'foo';
var arg_creativeFieldId = 'foo';
- var arg_searchString = 'foo';
- var arg_sortField = 'foo';
+ var arg_ids = buildUnnamed4245();
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_ids = buildUnnamed4245();
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -17683,15 +17683,15 @@
);
}
}
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -17704,11 +17704,11 @@
}), true);
res
.list(arg_profileId, arg_creativeFieldId,
- searchString: arg_searchString,
- sortField: arg_sortField,
+ ids: arg_ids,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- ids: arg_ids,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -18060,13 +18060,13 @@
api.CreativeFieldsResourceApi res =
api.DfareportingApi(mock).creativeFields;
var arg_profileId = 'foo';
- var arg_searchString = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
- var arg_sortField = 'foo';
var arg_advertiserIds = buildUnnamed4246();
- var arg_sortOrder = 'foo';
var arg_ids = buildUnnamed4247();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -18107,18 +18107,18 @@
}
}
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
- unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -18129,13 +18129,13 @@
}), true);
res
.list(arg_profileId,
- searchString: arg_searchString,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- sortField: arg_sortField,
advertiserIds: arg_advertiserIds,
- sortOrder: arg_sortOrder,
ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativeFieldsListResponse(response);
@@ -18403,13 +18403,13 @@
api.CreativeGroupsResourceApi res =
api.DfareportingApi(mock).creativeGroups;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
+ var arg_advertiserIds = buildUnnamed4248();
var arg_groupNumber = 42;
- var arg_sortField = 'foo';
- var arg_ids = buildUnnamed4248();
- var arg_advertiserIds = buildUnnamed4249();
- var arg_searchString = 'foo';
+ var arg_ids = buildUnnamed4249();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -18450,19 +18450,19 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(core.int.parse(queryMap["groupNumber"].first),
- unittest.equals(arg_groupNumber));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(core.int.parse(queryMap["groupNumber"].first),
+ unittest.equals(arg_groupNumber));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -18475,13 +18475,13 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- groupNumber: arg_groupNumber,
- sortField: arg_sortField,
- ids: arg_ids,
advertiserIds: arg_advertiserIds,
- searchString: arg_searchString,
+ groupNumber: arg_groupNumber,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -18747,22 +18747,22 @@
var mock = HttpServerMock();
api.CreativesResourceApi res = api.DfareportingApi(mock).creatives;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
- var arg_creativeFieldIds = buildUnnamed4250();
- var arg_types = buildUnnamed4251();
- var arg_sizeIds = buildUnnamed4252();
- var arg_campaignId = 'foo';
- var arg_advertiserId = 'foo';
var arg_active = true;
- var arg_sortField = 'foo';
- var arg_searchString = 'foo';
- var arg_studioCreativeId = 'foo';
- var arg_pageToken = 'foo';
- var arg_ids = buildUnnamed4253();
- var arg_companionCreativeIds = buildUnnamed4254();
- var arg_renderingIds = buildUnnamed4255();
+ var arg_advertiserId = 'foo';
var arg_archived = true;
+ var arg_campaignId = 'foo';
+ var arg_companionCreativeIds = buildUnnamed4250();
+ var arg_creativeFieldIds = buildUnnamed4251();
+ var arg_ids = buildUnnamed4252();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_renderingIds = buildUnnamed4253();
+ var arg_searchString = 'foo';
+ var arg_sizeIds = buildUnnamed4254();
+ var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
+ var arg_studioCreativeId = 'foo';
+ var arg_types = buildUnnamed4255();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -18802,35 +18802,35 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["creativeFieldIds"],
- unittest.equals(arg_creativeFieldIds));
- unittest.expect(queryMap["types"], unittest.equals(arg_types));
- unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
- unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
queryMap["active"].first, unittest.equals("$arg_active"));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["studioCreativeId"].first,
- unittest.equals(arg_studioCreativeId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["companionCreativeIds"],
- unittest.equals(arg_companionCreativeIds));
- unittest.expect(
- queryMap["renderingIds"], unittest.equals(arg_renderingIds));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
unittest.expect(
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(queryMap["companionCreativeIds"],
+ unittest.equals(arg_companionCreativeIds));
+ unittest.expect(queryMap["creativeFieldIds"],
+ unittest.equals(arg_creativeFieldIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["renderingIds"], unittest.equals(arg_renderingIds));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["studioCreativeId"].first,
+ unittest.equals(arg_studioCreativeId));
+ unittest.expect(queryMap["types"], unittest.equals(arg_types));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -18841,22 +18841,22 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- creativeFieldIds: arg_creativeFieldIds,
- types: arg_types,
- sizeIds: arg_sizeIds,
- campaignId: arg_campaignId,
- advertiserId: arg_advertiserId,
active: arg_active,
- sortField: arg_sortField,
- searchString: arg_searchString,
- studioCreativeId: arg_studioCreativeId,
- pageToken: arg_pageToken,
- ids: arg_ids,
- companionCreativeIds: arg_companionCreativeIds,
- renderingIds: arg_renderingIds,
+ advertiserId: arg_advertiserId,
archived: arg_archived,
+ campaignId: arg_campaignId,
+ companionCreativeIds: arg_companionCreativeIds,
+ creativeFieldIds: arg_creativeFieldIds,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ renderingIds: arg_renderingIds,
+ searchString: arg_searchString,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
sortOrder: arg_sortOrder,
+ studioCreativeId: arg_studioCreativeId,
+ types: arg_types,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCreativesListResponse(response);
@@ -19061,8 +19061,8 @@
api.DfareportingApi(mock).dimensionValues;
var arg_request = buildDimensionValueRequest();
var arg_profileId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.DimensionValueRequest.fromJson(json);
@@ -19105,10 +19105,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19119,8 +19119,8 @@
}), true);
res
.query(arg_request, arg_profileId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDimensionValueList(response);
@@ -19260,17 +19260,17 @@
api.DirectorySitesResourceApi res =
api.DfareportingApi(mock).directorySites;
var arg_profileId = 'foo';
+ var arg_acceptsInStreamVideoPlacements = true;
+ var arg_acceptsInterstitialPlacements = true;
var arg_acceptsPublisherPaidPlacements = true;
+ var arg_active = true;
+ var arg_dfpNetworkCode = 'foo';
+ var arg_ids = buildUnnamed4256();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
- var arg_ids = buildUnnamed4256();
- var arg_active = true;
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
- var arg_acceptsInStreamVideoPlacements = true;
- var arg_searchString = 'foo';
- var arg_dfpNetworkCode = 'foo';
- var arg_acceptsInterstitialPlacements = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -19310,27 +19310,27 @@
);
}
}
+ unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
+ unittest.equals("$arg_acceptsInStreamVideoPlacements"));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
unittest.equals("$arg_acceptsPublisherPaidPlacements"));
unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["dfpNetworkCode"].first,
+ unittest.equals(arg_dfpNetworkCode));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
- unittest.equals("$arg_acceptsInStreamVideoPlacements"));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["dfpNetworkCode"].first,
- unittest.equals(arg_dfpNetworkCode));
- unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
- unittest.equals("$arg_acceptsInterstitialPlacements"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19341,19 +19341,19 @@
}), true);
res
.list(arg_profileId,
- acceptsPublisherPaidPlacements:
- arg_acceptsPublisherPaidPlacements,
- sortField: arg_sortField,
- sortOrder: arg_sortOrder,
- ids: arg_ids,
- active: arg_active,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
acceptsInStreamVideoPlacements:
arg_acceptsInStreamVideoPlacements,
- searchString: arg_searchString,
- dfpNetworkCode: arg_dfpNetworkCode,
acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
+ acceptsPublisherPaidPlacements:
+ arg_acceptsPublisherPaidPlacements,
+ active: arg_active,
+ dfpNetworkCode: arg_dfpNetworkCode,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDirectorySitesListResponse(response);
@@ -19497,10 +19497,10 @@
api.DynamicTargetingKeysResourceApi res =
api.DfareportingApi(mock).dynamicTargetingKeys;
var arg_profileId = 'foo';
- var arg_objectType = 'foo';
- var arg_objectId = 'foo';
- var arg_names = buildUnnamed4257();
var arg_advertiserId = 'foo';
+ var arg_names = buildUnnamed4257();
+ var arg_objectId = 'foo';
+ var arg_objectType = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -19541,12 +19541,12 @@
}
}
unittest.expect(
- queryMap["objectType"].first, unittest.equals(arg_objectType));
- unittest.expect(
- queryMap["objectId"].first, unittest.equals(arg_objectId));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["names"], unittest.equals(arg_names));
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ queryMap["objectId"].first, unittest.equals(arg_objectId));
+ unittest.expect(
+ queryMap["objectType"].first, unittest.equals(arg_objectType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -19557,10 +19557,10 @@
}), true);
res
.list(arg_profileId,
- objectType: arg_objectType,
- objectId: arg_objectId,
- names: arg_names,
advertiserId: arg_advertiserId,
+ names: arg_names,
+ objectId: arg_objectId,
+ objectType: arg_objectType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDynamicTargetingKeysListResponse(response);
@@ -19757,15 +19757,15 @@
var mock = HttpServerMock();
api.EventTagsResourceApi res = api.DfareportingApi(mock).eventTags;
var arg_profileId = 'foo';
- var arg_definitionsOnly = true;
var arg_adId = 'foo';
- var arg_searchString = 'foo';
var arg_advertiserId = 'foo';
- var arg_ids = buildUnnamed4258();
- var arg_sortField = 'foo';
- var arg_enabled = true;
- var arg_eventTagTypes = buildUnnamed4259();
var arg_campaignId = 'foo';
+ var arg_definitionsOnly = true;
+ var arg_enabled = true;
+ var arg_eventTagTypes = buildUnnamed4258();
+ var arg_ids = buildUnnamed4259();
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -19806,22 +19806,22 @@
);
}
}
- unittest.expect(queryMap["definitionsOnly"].first,
- unittest.equals("$arg_definitionsOnly"));
unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ unittest.expect(queryMap["definitionsOnly"].first,
+ unittest.equals("$arg_definitionsOnly"));
unittest.expect(
queryMap["enabled"].first, unittest.equals("$arg_enabled"));
unittest.expect(
queryMap["eventTagTypes"], unittest.equals(arg_eventTagTypes));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -19834,15 +19834,15 @@
}), true);
res
.list(arg_profileId,
- definitionsOnly: arg_definitionsOnly,
adId: arg_adId,
- searchString: arg_searchString,
advertiserId: arg_advertiserId,
- ids: arg_ids,
- sortField: arg_sortField,
+ campaignId: arg_campaignId,
+ definitionsOnly: arg_definitionsOnly,
enabled: arg_enabled,
eventTagTypes: arg_eventTagTypes,
- campaignId: arg_campaignId,
+ ids: arg_ids,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -20047,11 +20047,11 @@
var mock = HttpServerMock();
api.FilesResourceApi res = api.DfareportingApi(mock).files;
var arg_profileId = 'foo';
- var arg_scope = 'foo';
- var arg_pageToken = 'foo';
- var arg_sortOrder = 'foo';
- var arg_sortField = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_scope = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20091,15 +20091,15 @@
);
}
}
- unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -20110,11 +20110,11 @@
}), true);
res
.list(arg_profileId,
- scope: arg_scope,
- pageToken: arg_pageToken,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ scope: arg_scope,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFileList(response);
@@ -20381,18 +20381,18 @@
api.DfareportingApi(mock).floodlightActivities;
var arg_profileId = 'foo';
var arg_advertiserId = 'foo';
- var arg_sortField = 'foo';
- var arg_sortOrder = 'foo';
var arg_floodlightActivityGroupIds = buildUnnamed4260();
- var arg_floodlightConfigurationId = 'foo';
- var arg_maxResults = 42;
- var arg_ids = buildUnnamed4261();
- var arg_tagString = 'foo';
- var arg_pageToken = 'foo';
var arg_floodlightActivityGroupName = 'foo';
var arg_floodlightActivityGroupTagString = 'foo';
var arg_floodlightActivityGroupType = 'foo';
+ var arg_floodlightConfigurationId = 'foo';
+ var arg_ids = buildUnnamed4261();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_tagString = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -20434,29 +20434,29 @@
}
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["floodlightActivityGroupIds"],
unittest.equals(arg_floodlightActivityGroupIds));
- unittest.expect(queryMap["floodlightConfigurationId"].first,
- unittest.equals(arg_floodlightConfigurationId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["tagString"].first, unittest.equals(arg_tagString));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["floodlightActivityGroupName"].first,
unittest.equals(arg_floodlightActivityGroupName));
unittest.expect(queryMap["floodlightActivityGroupTagString"].first,
unittest.equals(arg_floodlightActivityGroupTagString));
unittest.expect(queryMap["floodlightActivityGroupType"].first,
unittest.equals(arg_floodlightActivityGroupType));
+ unittest.expect(queryMap["floodlightConfigurationId"].first,
+ unittest.equals(arg_floodlightConfigurationId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["tagString"].first, unittest.equals(arg_tagString));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -20468,19 +20468,19 @@
res
.list(arg_profileId,
advertiserId: arg_advertiserId,
- sortField: arg_sortField,
- sortOrder: arg_sortOrder,
floodlightActivityGroupIds: arg_floodlightActivityGroupIds,
- floodlightConfigurationId: arg_floodlightConfigurationId,
- maxResults: arg_maxResults,
- ids: arg_ids,
- tagString: arg_tagString,
- pageToken: arg_pageToken,
floodlightActivityGroupName: arg_floodlightActivityGroupName,
floodlightActivityGroupTagString:
arg_floodlightActivityGroupTagString,
floodlightActivityGroupType: arg_floodlightActivityGroupType,
+ floodlightConfigurationId: arg_floodlightConfigurationId,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ tagString: arg_tagString,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFloodlightActivitiesListResponse(response);
@@ -20749,13 +20749,13 @@
api.DfareportingApi(mock).floodlightActivityGroups;
var arg_profileId = 'foo';
var arg_advertiserId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_ids = buildUnnamed4262();
var arg_floodlightConfigurationId = 'foo';
- var arg_sortField = 'foo';
+ var arg_ids = buildUnnamed4262();
var arg_maxResults = 42;
- var arg_searchString = 'foo';
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -20798,19 +20798,19 @@
}
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["floodlightConfigurationId"].first,
unittest.equals(arg_floodlightConfigurationId));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -20824,13 +20824,13 @@
res
.list(arg_profileId,
advertiserId: arg_advertiserId,
- sortOrder: arg_sortOrder,
- ids: arg_ids,
floodlightConfigurationId: arg_floodlightConfigurationId,
- sortField: arg_sortField,
+ ids: arg_ids,
maxResults: arg_maxResults,
- searchString: arg_searchString,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -21302,14 +21302,14 @@
api.DfareportingApi(mock).inventoryItems;
var arg_profileId = 'foo';
var arg_projectId = 'foo';
+ var arg_ids = buildUnnamed4264();
var arg_inPlan = true;
- var arg_orderId = buildUnnamed4264();
- var arg_siteId = buildUnnamed4265();
- var arg_ids = buildUnnamed4266();
- var arg_sortOrder = 'foo';
- var arg_sortField = 'foo';
var arg_maxResults = 42;
+ var arg_orderId = buildUnnamed4265();
var arg_pageToken = 'foo';
+ var arg_siteId = buildUnnamed4266();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -21359,19 +21359,19 @@
);
}
}
- unittest.expect(
- queryMap["inPlan"].first, unittest.equals("$arg_inPlan"));
- unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
- unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["inPlan"].first, unittest.equals("$arg_inPlan"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -21383,14 +21383,14 @@
}), true);
res
.list(arg_profileId, arg_projectId,
- inPlan: arg_inPlan,
- orderId: arg_orderId,
- siteId: arg_siteId,
ids: arg_ids,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
+ inPlan: arg_inPlan,
maxResults: arg_maxResults,
+ orderId: arg_orderId,
pageToken: arg_pageToken,
+ siteId: arg_siteId,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -21586,11 +21586,11 @@
var mock = HttpServerMock();
api.MobileAppsResourceApi res = api.DfareportingApi(mock).mobileApps;
var arg_profileId = 'foo';
- var arg_pageToken = 'foo';
var arg_directories = buildUnnamed4267();
- var arg_searchString = 'foo';
- var arg_maxResults = 42;
var arg_ids = buildUnnamed4268();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -21631,14 +21631,14 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["directories"], unittest.equals(arg_directories));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -21649,11 +21649,11 @@
}), true);
res
.list(arg_profileId,
- pageToken: arg_pageToken,
directories: arg_directories,
- searchString: arg_searchString,
- maxResults: arg_maxResults,
ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMobileAppsListResponse(response);
@@ -22114,15 +22114,15 @@
api.DfareportingApi(mock).orderDocuments;
var arg_profileId = 'foo';
var arg_projectId = 'foo';
- var arg_maxResults = 42;
- var arg_pageToken = 'foo';
var arg_approved = true;
- var arg_sortOrder = 'foo';
- var arg_orderId = buildUnnamed4269();
- var arg_siteId = buildUnnamed4270();
- var arg_sortField = 'foo';
+ var arg_ids = buildUnnamed4269();
+ var arg_maxResults = 42;
+ var arg_orderId = buildUnnamed4270();
+ var arg_pageToken = 'foo';
var arg_searchString = 'foo';
- var arg_ids = buildUnnamed4271();
+ var arg_siteId = buildUnnamed4271();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22171,21 +22171,21 @@
);
}
}
+ unittest.expect(
+ queryMap["approved"].first, unittest.equals("$arg_approved"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["approved"].first, unittest.equals("$arg_approved"));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["orderId"], unittest.equals(arg_orderId));
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -22196,15 +22196,15 @@
}), true);
res
.list(arg_profileId, arg_projectId,
- maxResults: arg_maxResults,
- pageToken: arg_pageToken,
approved: arg_approved,
- sortOrder: arg_sortOrder,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
orderId: arg_orderId,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
siteId: arg_siteId,
sortField: arg_sortField,
- searchString: arg_searchString,
- ids: arg_ids,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOrderDocumentsListResponse(response);
@@ -22290,13 +22290,13 @@
api.OrdersResourceApi res = api.DfareportingApi(mock).orders;
var arg_profileId = 'foo';
var arg_projectId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_sortField = 'foo';
+ var arg_ids = buildUnnamed4272();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_searchString = 'foo';
- var arg_siteId = buildUnnamed4272();
- var arg_maxResults = 42;
- var arg_ids = buildUnnamed4273();
+ var arg_siteId = buildUnnamed4273();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22345,18 +22345,18 @@
);
}
}
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(queryMap["siteId"], unittest.equals(arg_siteId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -22367,13 +22367,13 @@
}), true);
res
.list(arg_profileId, arg_projectId,
- sortOrder: arg_sortOrder,
- sortField: arg_sortField,
+ ids: arg_ids,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
searchString: arg_searchString,
siteId: arg_siteId,
- maxResults: arg_maxResults,
- ids: arg_ids,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkOrdersListResponse(response);
@@ -22513,25 +22513,25 @@
api.PlacementGroupsResourceApi res =
api.DfareportingApi(mock).placementGroups;
var arg_profileId = 'foo';
- var arg_placementStrategyIds = buildUnnamed4274();
- var arg_contentCategoryIds = buildUnnamed4275();
- var arg_searchString = 'foo';
- var arg_sortField = 'foo';
- var arg_advertiserIds = buildUnnamed4276();
- var arg_campaignIds = buildUnnamed4277();
- var arg_minEndDate = 'foo';
+ var arg_advertiserIds = buildUnnamed4274();
var arg_archived = true;
- var arg_directorySiteIds = buildUnnamed4278();
- var arg_siteIds = buildUnnamed4279();
- var arg_pricingTypes = buildUnnamed4280();
- var arg_pageToken = 'foo';
- var arg_ids = buildUnnamed4281();
- var arg_sortOrder = 'foo';
- var arg_placementGroupType = 'foo';
+ var arg_campaignIds = buildUnnamed4275();
+ var arg_contentCategoryIds = buildUnnamed4276();
+ var arg_directorySiteIds = buildUnnamed4277();
+ var arg_ids = buildUnnamed4278();
var arg_maxEndDate = 'foo';
var arg_maxResults = 42;
- var arg_minStartDate = 'foo';
var arg_maxStartDate = 'foo';
+ var arg_minEndDate = 'foo';
+ var arg_minStartDate = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_placementGroupType = 'foo';
+ var arg_placementStrategyIds = buildUnnamed4279();
+ var arg_pricingTypes = buildUnnamed4280();
+ var arg_searchString = 'foo';
+ var arg_siteIds = buildUnnamed4281();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -22571,42 +22571,42 @@
);
}
}
- unittest.expect(queryMap["placementStrategyIds"],
- unittest.equals(arg_placementStrategyIds));
- unittest.expect(queryMap["contentCategoryIds"],
- unittest.equals(arg_contentCategoryIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
unittest.expect(
- queryMap["campaignIds"], unittest.equals(arg_campaignIds));
- unittest.expect(
- queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
- unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
+ unittest.expect(
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["contentCategoryIds"],
+ unittest.equals(arg_contentCategoryIds));
unittest.expect(queryMap["directorySiteIds"],
unittest.equals(arg_directorySiteIds));
- unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
- unittest.expect(
- queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["placementGroupType"].first,
- unittest.equals(arg_placementGroupType));
- unittest.expect(
queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
+ unittest.expect(
+ queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
+ unittest.expect(
queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
unittest.expect(
- queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["placementGroupType"].first,
+ unittest.equals(arg_placementGroupType));
+ unittest.expect(queryMap["placementStrategyIds"],
+ unittest.equals(arg_placementStrategyIds));
+ unittest.expect(
+ queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -22617,25 +22617,25 @@
}), true);
res
.list(arg_profileId,
- placementStrategyIds: arg_placementStrategyIds,
- contentCategoryIds: arg_contentCategoryIds,
- searchString: arg_searchString,
- sortField: arg_sortField,
advertiserIds: arg_advertiserIds,
- campaignIds: arg_campaignIds,
- minEndDate: arg_minEndDate,
archived: arg_archived,
+ campaignIds: arg_campaignIds,
+ contentCategoryIds: arg_contentCategoryIds,
directorySiteIds: arg_directorySiteIds,
- siteIds: arg_siteIds,
- pricingTypes: arg_pricingTypes,
- pageToken: arg_pageToken,
ids: arg_ids,
- sortOrder: arg_sortOrder,
- placementGroupType: arg_placementGroupType,
maxEndDate: arg_maxEndDate,
maxResults: arg_maxResults,
- minStartDate: arg_minStartDate,
maxStartDate: arg_maxStartDate,
+ minEndDate: arg_minEndDate,
+ minStartDate: arg_minStartDate,
+ pageToken: arg_pageToken,
+ placementGroupType: arg_placementGroupType,
+ placementStrategyIds: arg_placementStrategyIds,
+ pricingTypes: arg_pricingTypes,
+ searchString: arg_searchString,
+ siteIds: arg_siteIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementGroupsListResponse(response);
@@ -22964,12 +22964,12 @@
api.PlacementStrategiesResourceApi res =
api.DfareportingApi(mock).placementStrategies;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
- var arg_searchString = 'foo';
- var arg_pageToken = 'foo';
var arg_ids = buildUnnamed4282();
- var arg_sortOrder = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23009,17 +23009,17 @@
);
}
}
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -23030,12 +23030,12 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- searchString: arg_searchString,
- pageToken: arg_pageToken,
ids: arg_ids,
- sortOrder: arg_sortOrder,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementStrategiesListResponse(response);
@@ -23176,9 +23176,9 @@
var mock = HttpServerMock();
api.PlacementsResourceApi res = api.DfareportingApi(mock).placements;
var arg_profileId = 'foo';
- var arg_tagFormats = buildUnnamed4283();
- var arg_placementIds = buildUnnamed4284();
var arg_campaignId = 'foo';
+ var arg_placementIds = buildUnnamed4283();
+ var arg_tagFormats = buildUnnamed4284();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23219,11 +23219,11 @@
}
}
unittest.expect(
- queryMap["tagFormats"], unittest.equals(arg_tagFormats));
+ queryMap["campaignId"].first, unittest.equals(arg_campaignId));
unittest.expect(
queryMap["placementIds"], unittest.equals(arg_placementIds));
unittest.expect(
- queryMap["campaignId"].first, unittest.equals(arg_campaignId));
+ queryMap["tagFormats"], unittest.equals(arg_tagFormats));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -23234,9 +23234,9 @@
}), true);
res
.generatetags(arg_profileId,
- tagFormats: arg_tagFormats,
- placementIds: arg_placementIds,
campaignId: arg_campaignId,
+ placementIds: arg_placementIds,
+ tagFormats: arg_tagFormats,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementsGenerateTagsResponse(response);
@@ -23371,28 +23371,28 @@
var mock = HttpServerMock();
api.PlacementsResourceApi res = api.DfareportingApi(mock).placements;
var arg_profileId = 'foo';
+ var arg_advertiserIds = buildUnnamed4285();
var arg_archived = true;
- var arg_campaignIds = buildUnnamed4285();
+ var arg_campaignIds = buildUnnamed4286();
+ var arg_compatibilities = buildUnnamed4287();
+ var arg_contentCategoryIds = buildUnnamed4288();
+ var arg_directorySiteIds = buildUnnamed4289();
+ var arg_groupIds = buildUnnamed4290();
+ var arg_ids = buildUnnamed4291();
var arg_maxEndDate = 'foo';
- var arg_compatibilities = buildUnnamed4286();
- var arg_advertiserIds = buildUnnamed4287();
- var arg_minEndDate = 'foo';
- var arg_sortOrder = 'foo';
- var arg_siteIds = buildUnnamed4288();
- var arg_pageToken = 'foo';
- var arg_sortField = 'foo';
- var arg_searchString = 'foo';
- var arg_groupIds = buildUnnamed4289();
- var arg_contentCategoryIds = buildUnnamed4290();
- var arg_pricingTypes = buildUnnamed4291();
- var arg_maxStartDate = 'foo';
- var arg_directorySiteIds = buildUnnamed4292();
- var arg_paymentSource = 'foo';
- var arg_ids = buildUnnamed4293();
- var arg_minStartDate = 'foo';
- var arg_sizeIds = buildUnnamed4294();
var arg_maxResults = 42;
- var arg_placementStrategyIds = buildUnnamed4295();
+ var arg_maxStartDate = 'foo';
+ var arg_minEndDate = 'foo';
+ var arg_minStartDate = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_paymentSource = 'foo';
+ var arg_placementStrategyIds = buildUnnamed4292();
+ var arg_pricingTypes = buildUnnamed4293();
+ var arg_searchString = 'foo';
+ var arg_siteIds = buildUnnamed4294();
+ var arg_sizeIds = buildUnnamed4295();
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23433,45 +23433,45 @@
}
}
unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(
queryMap["archived"].first, unittest.equals("$arg_archived"));
unittest.expect(
queryMap["campaignIds"], unittest.equals(arg_campaignIds));
unittest.expect(
- queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
- unittest.expect(
queryMap["compatibilities"], unittest.equals(arg_compatibilities));
+ unittest.expect(queryMap["contentCategoryIds"],
+ unittest.equals(arg_contentCategoryIds));
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
+ unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ queryMap["maxEndDate"].first, unittest.equals(arg_maxEndDate));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
unittest.expect(
queryMap["minEndDate"].first, unittest.equals(arg_minEndDate));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
+ queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["groupIds"], unittest.equals(arg_groupIds));
- unittest.expect(queryMap["contentCategoryIds"],
- unittest.equals(arg_contentCategoryIds));
+ unittest.expect(queryMap["paymentSource"].first,
+ unittest.equals(arg_paymentSource));
+ unittest.expect(queryMap["placementStrategyIds"],
+ unittest.equals(arg_placementStrategyIds));
unittest.expect(
queryMap["pricingTypes"], unittest.equals(arg_pricingTypes));
unittest.expect(
- queryMap["maxStartDate"].first, unittest.equals(arg_maxStartDate));
- unittest.expect(queryMap["directorySiteIds"],
- unittest.equals(arg_directorySiteIds));
- unittest.expect(queryMap["paymentSource"].first,
- unittest.equals(arg_paymentSource));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
- queryMap["minStartDate"].first, unittest.equals(arg_minStartDate));
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["siteIds"], unittest.equals(arg_siteIds));
unittest.expect(queryMap["sizeIds"], unittest.equals(arg_sizeIds));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["placementStrategyIds"],
- unittest.equals(arg_placementStrategyIds));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -23482,28 +23482,28 @@
}), true);
res
.list(arg_profileId,
+ advertiserIds: arg_advertiserIds,
archived: arg_archived,
campaignIds: arg_campaignIds,
- maxEndDate: arg_maxEndDate,
compatibilities: arg_compatibilities,
- advertiserIds: arg_advertiserIds,
- minEndDate: arg_minEndDate,
- sortOrder: arg_sortOrder,
- siteIds: arg_siteIds,
- pageToken: arg_pageToken,
- sortField: arg_sortField,
- searchString: arg_searchString,
- groupIds: arg_groupIds,
contentCategoryIds: arg_contentCategoryIds,
- pricingTypes: arg_pricingTypes,
- maxStartDate: arg_maxStartDate,
directorySiteIds: arg_directorySiteIds,
- paymentSource: arg_paymentSource,
+ groupIds: arg_groupIds,
ids: arg_ids,
- minStartDate: arg_minStartDate,
- sizeIds: arg_sizeIds,
+ maxEndDate: arg_maxEndDate,
maxResults: arg_maxResults,
+ maxStartDate: arg_maxStartDate,
+ minEndDate: arg_minEndDate,
+ minStartDate: arg_minStartDate,
+ pageToken: arg_pageToken,
+ paymentSource: arg_paymentSource,
placementStrategyIds: arg_placementStrategyIds,
+ pricingTypes: arg_pricingTypes,
+ searchString: arg_searchString,
+ siteIds: arg_siteIds,
+ sizeIds: arg_sizeIds,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlacementsListResponse(response);
@@ -23950,13 +23950,13 @@
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.DfareportingApi(mock).projects;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
var arg_advertiserIds = buildUnnamed4296();
- var arg_sortOrder = 'foo';
var arg_ids = buildUnnamed4297();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_sortField = 'foo';
var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -23996,19 +23996,19 @@
);
}
}
+ unittest.expect(
+ queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["advertiserIds"], unittest.equals(arg_advertiserIds));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -24019,13 +24019,13 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
advertiserIds: arg_advertiserIds,
- sortOrder: arg_sortOrder,
ids: arg_ids,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
- sortField: arg_sortField,
searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkProjectsListResponse(response);
@@ -24419,13 +24419,13 @@
api.DfareportingApi(mock).remarketingLists;
var arg_profileId = 'foo';
var arg_advertiserId = 'foo';
+ var arg_active = true;
+ var arg_floodlightActivityId = 'foo';
+ var arg_maxResults = 42;
+ var arg_name = 'foo';
+ var arg_pageToken = 'foo';
var arg_sortField = 'foo';
var arg_sortOrder = 'foo';
- var arg_floodlightActivityId = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
- var arg_active = true;
- var arg_name = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -24468,18 +24468,18 @@
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
+ queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(queryMap["floodlightActivityId"].first,
+ unittest.equals(arg_floodlightActivityId));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["floodlightActivityId"].first,
- unittest.equals(arg_floodlightActivityId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["active"].first, unittest.equals("$arg_active"));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -24490,13 +24490,13 @@
}), true);
res
.list(arg_profileId, arg_advertiserId,
+ active: arg_active,
+ floodlightActivityId: arg_floodlightActivityId,
+ maxResults: arg_maxResults,
+ name: arg_name,
+ pageToken: arg_pageToken,
sortField: arg_sortField,
sortOrder: arg_sortOrder,
- floodlightActivityId: arg_floodlightActivityId,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- active: arg_active,
- name: arg_name,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkRemarketingListsListResponse(response);
@@ -24821,11 +24821,11 @@
var mock = HttpServerMock();
api.ReportsResourceApi res = api.DfareportingApi(mock).reports;
var arg_profileId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_scope = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_scope = 'foo';
var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -24865,15 +24865,15 @@
);
}
}
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -24884,11 +24884,11 @@
}), true);
res
.list(arg_profileId,
- sortOrder: arg_sortOrder,
- scope: arg_scope,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ scope: arg_scope,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkReportList(response);
@@ -25248,9 +25248,9 @@
var arg_profileId = 'foo';
var arg_reportId = 'foo';
var arg_maxResults = 42;
- var arg_sortOrder = 'foo';
var arg_pageToken = 'foo';
var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -25302,11 +25302,11 @@
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -25318,9 +25318,9 @@
res
.list(arg_profileId, arg_reportId,
maxResults: arg_maxResults,
- sortOrder: arg_sortOrder,
pageToken: arg_pageToken,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFileList(response);
@@ -25457,21 +25457,21 @@
var mock = HttpServerMock();
api.SitesResourceApi res = api.DfareportingApi(mock).sites;
var arg_profileId = 'foo';
- var arg_unmappedSite = true;
- var arg_sortOrder = 'foo';
var arg_acceptsInStreamVideoPlacements = true;
+ var arg_acceptsInterstitialPlacements = true;
var arg_acceptsPublisherPaidPlacements = true;
- var arg_maxResults = 42;
- var arg_campaignIds = buildUnnamed4298();
- var arg_searchString = 'foo';
- var arg_directorySiteIds = buildUnnamed4299();
var arg_adWordsSite = true;
var arg_approved = true;
- var arg_pageToken = 'foo';
+ var arg_campaignIds = buildUnnamed4298();
+ var arg_directorySiteIds = buildUnnamed4299();
var arg_ids = buildUnnamed4300();
- var arg_acceptsInterstitialPlacements = true;
- var arg_subaccountId = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_subaccountId = 'foo';
+ var arg_unmappedSite = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -25511,35 +25511,35 @@
);
}
}
- unittest.expect(queryMap["unmappedSite"].first,
- unittest.equals("$arg_unmappedSite"));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["acceptsInStreamVideoPlacements"].first,
unittest.equals("$arg_acceptsInStreamVideoPlacements"));
+ unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
+ unittest.equals("$arg_acceptsInterstitialPlacements"));
unittest.expect(queryMap["acceptsPublisherPaidPlacements"].first,
unittest.equals("$arg_acceptsPublisherPaidPlacements"));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["campaignIds"], unittest.equals(arg_campaignIds));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(queryMap["directorySiteIds"],
- unittest.equals(arg_directorySiteIds));
unittest.expect(
queryMap["adWordsSite"].first, unittest.equals("$arg_adWordsSite"));
unittest.expect(
queryMap["approved"].first, unittest.equals("$arg_approved"));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["campaignIds"], unittest.equals(arg_campaignIds));
+ unittest.expect(queryMap["directorySiteIds"],
+ unittest.equals(arg_directorySiteIds));
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["acceptsInterstitialPlacements"].first,
- unittest.equals("$arg_acceptsInterstitialPlacements"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
+ unittest.expect(queryMap["unmappedSite"].first,
+ unittest.equals("$arg_unmappedSite"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -25550,23 +25550,23 @@
}), true);
res
.list(arg_profileId,
- unmappedSite: arg_unmappedSite,
- sortOrder: arg_sortOrder,
acceptsInStreamVideoPlacements:
arg_acceptsInStreamVideoPlacements,
+ acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
acceptsPublisherPaidPlacements:
arg_acceptsPublisherPaidPlacements,
- maxResults: arg_maxResults,
- campaignIds: arg_campaignIds,
- searchString: arg_searchString,
- directorySiteIds: arg_directorySiteIds,
adWordsSite: arg_adWordsSite,
approved: arg_approved,
- pageToken: arg_pageToken,
+ campaignIds: arg_campaignIds,
+ directorySiteIds: arg_directorySiteIds,
ids: arg_ids,
- acceptsInterstitialPlacements: arg_acceptsInterstitialPlacements,
- subaccountId: arg_subaccountId,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
+ unmappedSite: arg_unmappedSite,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSitesListResponse(response);
@@ -25831,8 +25831,8 @@
var arg_profileId = 'foo';
var arg_height = 42;
var arg_iabStandard = true;
- var arg_width = 42;
var arg_ids = buildUnnamed4301();
+ var arg_width = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -25876,9 +25876,9 @@
unittest.equals(arg_height));
unittest.expect(
queryMap["iabStandard"].first, unittest.equals("$arg_iabStandard"));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["width"].first),
unittest.equals(arg_width));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -25891,8 +25891,8 @@
.list(arg_profileId,
height: arg_height,
iabStandard: arg_iabStandard,
- width: arg_width,
ids: arg_ids,
+ width: arg_width,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSizesListResponse(response);
@@ -26029,12 +26029,12 @@
var mock = HttpServerMock();
api.SubaccountsResourceApi res = api.DfareportingApi(mock).subaccounts;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
- var arg_searchString = 'foo';
- var arg_sortOrder = 'foo';
var arg_ids = buildUnnamed4302();
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26074,17 +26074,17 @@
);
}
}
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -26095,12 +26095,12 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- searchString: arg_searchString,
- sortOrder: arg_sortOrder,
ids: arg_ids,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSubaccountsListResponse(response);
@@ -26304,12 +26304,12 @@
api.DfareportingApi(mock).targetableRemarketingLists;
var arg_profileId = 'foo';
var arg_advertiserId = 'foo';
- var arg_sortField = 'foo';
- var arg_sortOrder = 'foo';
var arg_active = true;
+ var arg_maxResults = 42;
var arg_name = 'foo';
var arg_pageToken = 'foo';
- var arg_maxResults = 42;
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26352,16 +26352,16 @@
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(
queryMap["active"].first, unittest.equals("$arg_active"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -26373,12 +26373,12 @@
}), true);
res
.list(arg_profileId, arg_advertiserId,
- sortField: arg_sortField,
- sortOrder: arg_sortOrder,
active: arg_active,
+ maxResults: arg_maxResults,
name: arg_name,
pageToken: arg_pageToken,
- maxResults: arg_maxResults,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTargetableRemarketingListsListResponse(response);
@@ -26518,13 +26518,13 @@
api.TargetingTemplatesResourceApi res =
api.DfareportingApi(mock).targetingTemplates;
var arg_profileId = 'foo';
- var arg_maxResults = 42;
- var arg_sortField = 'foo';
- var arg_searchString = 'foo';
- var arg_pageToken = 'foo';
var arg_advertiserId = 'foo';
- var arg_sortOrder = 'foo';
var arg_ids = buildUnnamed4303();
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -26564,19 +26564,19 @@
);
}
}
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchString"].first, unittest.equals(arg_searchString));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
unittest.expect(
queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -26587,13 +26587,13 @@
}), true);
res
.list(arg_profileId,
- maxResults: arg_maxResults,
- sortField: arg_sortField,
- searchString: arg_searchString,
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
- sortOrder: arg_sortOrder,
ids: arg_ids,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTargetingTemplatesListResponse(response);
@@ -27269,14 +27269,14 @@
var mock = HttpServerMock();
api.UserRolesResourceApi res = api.DfareportingApi(mock).userRoles;
var arg_profileId = 'foo';
- var arg_subaccountId = 'foo';
- var arg_sortOrder = 'foo';
- var arg_ids = buildUnnamed4305();
var arg_accountUserRoleOnly = true;
- var arg_sortField = 'foo';
- var arg_searchString = 'foo';
+ var arg_ids = buildUnnamed4305();
var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_searchString = 'foo';
+ var arg_sortField = 'foo';
+ var arg_sortOrder = 'foo';
+ var arg_subaccountId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -27316,21 +27316,21 @@
);
}
}
- unittest.expect(
- queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(queryMap["accountUserRoleOnly"].first,
unittest.equals("$arg_accountUserRoleOnly"));
- unittest.expect(
- queryMap["sortField"].first, unittest.equals(arg_sortField));
- unittest.expect(
- queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["searchString"].first, unittest.equals(arg_searchString));
+ unittest.expect(
+ queryMap["sortField"].first, unittest.equals(arg_sortField));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(
+ queryMap["subaccountId"].first, unittest.equals(arg_subaccountId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -27341,14 +27341,14 @@
}), true);
res
.list(arg_profileId,
- subaccountId: arg_subaccountId,
- sortOrder: arg_sortOrder,
- ids: arg_ids,
accountUserRoleOnly: arg_accountUserRoleOnly,
- sortField: arg_sortField,
- searchString: arg_searchString,
+ ids: arg_ids,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ searchString: arg_searchString,
+ sortField: arg_sortField,
+ sortOrder: arg_sortOrder,
+ subaccountId: arg_subaccountId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUserRolesListResponse(response);
diff --git a/generated/googleapis/test/dialogflow/v2_test.dart b/generated/googleapis/test/dialogflow/v2_test.dart
index 71d19d8..cd4b3e4 100644
--- a/generated/googleapis/test/dialogflow/v2_test.dart
+++ b/generated/googleapis/test/dialogflow/v2_test.dart
@@ -9932,8 +9932,8 @@
var mock = HttpServerMock();
api.ProjectsAgentResourceApi res = api.DialogflowApi(mock).projects.agent;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9962,10 +9962,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9977,8 +9977,8 @@
}), true);
res
.search(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2SearchAgentsResponse(response);
@@ -10366,9 +10366,9 @@
api.ProjectsAgentEntityTypesResourceApi res =
api.DialogflowApi(mock).projects.agent.entityTypes;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_languageCode = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10398,11 +10398,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10414,9 +10414,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
languageCode: arg_languageCode,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListEntityTypesResponse(response);
@@ -10659,8 +10659,8 @@
api.ProjectsAgentEnvironmentsResourceApi res =
api.DialogflowApi(mock).projects.agent.environments;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10689,10 +10689,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10704,8 +10704,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListEnvironmentsResponse(response);
@@ -10996,8 +10996,8 @@
.sessions
.contexts;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11026,10 +11026,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11041,8 +11041,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListContextsResponse(response);
@@ -11294,8 +11294,8 @@
.sessions
.entityTypes;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11324,10 +11324,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11339,8 +11339,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListSessionEntityTypesResponse(response);
@@ -11689,10 +11689,10 @@
api.ProjectsAgentIntentsResourceApi res =
api.DialogflowApi(mock).projects.agent.intents;
var arg_parent = 'foo';
+ var arg_intentView = 'foo';
var arg_languageCode = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_intentView = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11722,13 +11722,13 @@
}
}
unittest.expect(
+ queryMap["intentView"].first, unittest.equals(arg_intentView));
+ unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["intentView"].first, unittest.equals(arg_intentView));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11740,10 +11740,10 @@
}), true);
res
.list(arg_parent,
+ intentView: arg_intentView,
languageCode: arg_languageCode,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- intentView: arg_intentView,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2ListIntentsResponse(response);
@@ -11756,9 +11756,9 @@
api.DialogflowApi(mock).projects.agent.intents;
var arg_request = buildGoogleCloudDialogflowV2Intent();
var arg_name = 'foo';
- var arg_updateMask = 'foo';
- var arg_languageCode = 'foo';
var arg_intentView = 'foo';
+ var arg_languageCode = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.GoogleCloudDialogflowV2Intent.fromJson(json);
@@ -11791,11 +11791,11 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
+ queryMap["intentView"].first, unittest.equals(arg_intentView));
unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(
- queryMap["intentView"].first, unittest.equals(arg_intentView));
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11806,9 +11806,9 @@
}), true);
res
.patch(arg_request, arg_name,
- updateMask: arg_updateMask,
- languageCode: arg_languageCode,
intentView: arg_intentView,
+ languageCode: arg_languageCode,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudDialogflowV2Intent(response);
@@ -12552,8 +12552,8 @@
api.ProjectsLocationsOperationsResourceApi res =
api.DialogflowApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12583,9 +12583,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -12599,8 +12599,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -12711,8 +12711,8 @@
api.ProjectsOperationsResourceApi res =
api.DialogflowApi(mock).projects.operations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -12742,9 +12742,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -12758,8 +12758,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/digitalassetlinks/v1_test.dart b/generated/googleapis/test/digitalassetlinks/v1_test.dart
index 4930747..94ba318 100644
--- a/generated/googleapis/test/digitalassetlinks/v1_test.dart
+++ b/generated/googleapis/test/digitalassetlinks/v1_test.dart
@@ -319,13 +319,13 @@
unittest.test('method--check', () {
var mock = HttpServerMock();
api.AssetlinksResourceApi res = api.DigitalassetlinksApi(mock).assetlinks;
- var arg_source_web_site = 'foo';
- var arg_target_androidApp_packageName = 'foo';
- var arg_source_androidApp_certificate_sha256Fingerprint = 'foo';
var arg_relation = 'foo';
- var arg_target_androidApp_certificate_sha256Fingerprint = 'foo';
- var arg_target_web_site = 'foo';
+ var arg_source_androidApp_certificate_sha256Fingerprint = 'foo';
var arg_source_androidApp_packageName = 'foo';
+ var arg_source_web_site = 'foo';
+ var arg_target_androidApp_certificate_sha256Fingerprint = 'foo';
+ var arg_target_androidApp_packageName = 'foo';
+ var arg_target_web_site = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -353,24 +353,24 @@
);
}
}
- unittest.expect(queryMap["source.web.site"].first,
- unittest.equals(arg_source_web_site));
- unittest.expect(queryMap["target.androidApp.packageName"].first,
- unittest.equals(arg_target_androidApp_packageName));
+ unittest.expect(
+ queryMap["relation"].first, unittest.equals(arg_relation));
unittest.expect(
queryMap["source.androidApp.certificate.sha256Fingerprint"].first,
unittest
.equals(arg_source_androidApp_certificate_sha256Fingerprint));
- unittest.expect(
- queryMap["relation"].first, unittest.equals(arg_relation));
+ unittest.expect(queryMap["source.androidApp.packageName"].first,
+ unittest.equals(arg_source_androidApp_packageName));
+ unittest.expect(queryMap["source.web.site"].first,
+ unittest.equals(arg_source_web_site));
unittest.expect(
queryMap["target.androidApp.certificate.sha256Fingerprint"].first,
unittest
.equals(arg_target_androidApp_certificate_sha256Fingerprint));
+ unittest.expect(queryMap["target.androidApp.packageName"].first,
+ unittest.equals(arg_target_androidApp_packageName));
unittest.expect(queryMap["target.web.site"].first,
unittest.equals(arg_target_web_site));
- unittest.expect(queryMap["source.androidApp.packageName"].first,
- unittest.equals(arg_source_androidApp_packageName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -381,15 +381,15 @@
}), true);
res
.check(
- source_web_site: arg_source_web_site,
- target_androidApp_packageName: arg_target_androidApp_packageName,
+ relation: arg_relation,
source_androidApp_certificate_sha256Fingerprint:
arg_source_androidApp_certificate_sha256Fingerprint,
- relation: arg_relation,
+ source_androidApp_packageName: arg_source_androidApp_packageName,
+ source_web_site: arg_source_web_site,
target_androidApp_certificate_sha256Fingerprint:
arg_target_androidApp_certificate_sha256Fingerprint,
+ target_androidApp_packageName: arg_target_androidApp_packageName,
target_web_site: arg_target_web_site,
- source_androidApp_packageName: arg_source_androidApp_packageName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCheckResponse(response);
@@ -401,10 +401,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.StatementsResourceApi res = api.DigitalassetlinksApi(mock).statements;
- var arg_source_web_site = 'foo';
- var arg_source_androidApp_packageName = 'foo';
var arg_relation = 'foo';
var arg_source_androidApp_certificate_sha256Fingerprint = 'foo';
+ var arg_source_androidApp_packageName = 'foo';
+ var arg_source_web_site = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -432,16 +432,16 @@
);
}
}
- unittest.expect(queryMap["source.web.site"].first,
- unittest.equals(arg_source_web_site));
- unittest.expect(queryMap["source.androidApp.packageName"].first,
- unittest.equals(arg_source_androidApp_packageName));
unittest.expect(
queryMap["relation"].first, unittest.equals(arg_relation));
unittest.expect(
queryMap["source.androidApp.certificate.sha256Fingerprint"].first,
unittest
.equals(arg_source_androidApp_certificate_sha256Fingerprint));
+ unittest.expect(queryMap["source.androidApp.packageName"].first,
+ unittest.equals(arg_source_androidApp_packageName));
+ unittest.expect(queryMap["source.web.site"].first,
+ unittest.equals(arg_source_web_site));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -452,11 +452,11 @@
}), true);
res
.list(
- source_web_site: arg_source_web_site,
- source_androidApp_packageName: arg_source_androidApp_packageName,
relation: arg_relation,
source_androidApp_certificate_sha256Fingerprint:
arg_source_androidApp_certificate_sha256Fingerprint,
+ source_androidApp_packageName: arg_source_androidApp_packageName,
+ source_web_site: arg_source_web_site,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListResponse(response);
diff --git a/generated/googleapis/test/displayvideo/v1_test.dart b/generated/googleapis/test/displayvideo/v1_test.dart
index 43464c1..1dfc7ed 100644
--- a/generated/googleapis/test/displayvideo/v1_test.dart
+++ b/generated/googleapis/test/displayvideo/v1_test.dart
@@ -8752,10 +8752,10 @@
var mock = HttpServerMock();
api.AdvertisersResourceApi res = api.DisplayvideoApi(mock).advertisers;
var arg_advertiserId = 'foo';
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8784,13 +8784,13 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8802,10 +8802,10 @@
}), true);
res
.bulkListAdvertiserAssignedTargetingOptions(arg_advertiserId,
- orderBy: arg_orderBy,
filter: arg_filter,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBulkListAdvertiserAssignedTargetingOptionsResponse(response);
@@ -8958,11 +8958,11 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.AdvertisersResourceApi res = api.DisplayvideoApi(mock).advertisers;
- var arg_partnerId = 'foo';
var arg_filter = 'foo';
var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8990,15 +8990,15 @@
);
}
}
- unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9009,11 +9009,11 @@
}), true);
res
.list(
- partnerId: arg_partnerId,
filter: arg_filter,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAdvertisersResponse(response);
@@ -9289,10 +9289,10 @@
api.AdvertisersCampaignsResourceApi res =
api.DisplayvideoApi(mock).advertisers.campaigns;
var arg_advertiserId = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9321,13 +9321,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9338,10 +9338,10 @@
}), true);
res
.list(arg_advertiserId,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCampaignsResponse(response);
@@ -9521,10 +9521,10 @@
api.AdvertisersChannelsResourceApi res =
api.DisplayvideoApi(mock).advertisers.channels;
var arg_advertiserId = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9554,13 +9554,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -9573,10 +9573,10 @@
}), true);
res
.list(arg_advertiserId,
- pageToken: arg_pageToken,
filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9591,8 +9591,8 @@
var arg_request = buildChannel();
var arg_advertiserId = 'foo';
var arg_channelId = 'foo';
- var arg_updateMask = 'foo';
var arg_partnerId = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -9625,9 +9625,9 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9638,8 +9638,8 @@
}), true);
res
.patch(arg_request, arg_advertiserId, arg_channelId,
- updateMask: arg_updateMask,
partnerId: arg_partnerId,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -9846,11 +9846,11 @@
api.DisplayvideoApi(mock).advertisers.channels.sites;
var arg_advertiserId = 'foo';
var arg_channelId = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
- var arg_partnerId = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9879,15 +9879,15 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9898,11 +9898,11 @@
}), true);
res
.list(arg_advertiserId, arg_channelId,
- pageToken: arg_pageToken,
filter: arg_filter,
- partnerId: arg_partnerId,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSitesResponse(response);
@@ -10066,10 +10066,10 @@
api.AdvertisersCreativesResourceApi res =
api.DisplayvideoApi(mock).advertisers.creatives;
var arg_advertiserId = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10098,13 +10098,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10115,10 +10115,10 @@
}), true);
res
.list(arg_advertiserId,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCreativesResponse(response);
@@ -10339,10 +10339,10 @@
api.AdvertisersInsertionOrdersResourceApi res =
api.DisplayvideoApi(mock).advertisers.insertionOrders;
var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10371,13 +10371,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10388,10 +10388,10 @@
}), true);
res
.list(arg_advertiserId,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInsertionOrdersResponse(response);
@@ -10520,10 +10520,10 @@
api.DisplayvideoApi(mock).advertisers.lineItems;
var arg_advertiserId = 'foo';
var arg_lineItemId = 'foo';
- var arg_pageToken = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10552,13 +10552,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10571,10 +10571,10 @@
res
.bulkListLineItemAssignedTargetingOptions(
arg_advertiserId, arg_lineItemId,
- pageToken: arg_pageToken,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBulkListLineItemAssignedTargetingOptionsResponse(response);
@@ -10736,10 +10736,10 @@
api.AdvertisersLineItemsResourceApi res =
api.DisplayvideoApi(mock).advertisers.lineItems;
var arg_advertiserId = 'foo';
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10768,13 +10768,13 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10785,10 +10785,10 @@
}), true);
res
.list(arg_advertiserId,
- orderBy: arg_orderBy,
filter: arg_filter,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLineItemsResponse(response);
@@ -11041,10 +11041,10 @@
var arg_advertiserId = 'foo';
var arg_lineItemId = 'foo';
var arg_targetingType = 'foo';
+ var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11073,13 +11073,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11091,10 +11091,10 @@
}), true);
res
.list(arg_advertiserId, arg_lineItemId, arg_targetingType,
+ filter: arg_filter,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLineItemAssignedTargetingOptionsResponse(response);
@@ -11209,9 +11209,9 @@
api.AdvertisersLocationListsResourceApi res =
api.DisplayvideoApi(mock).advertisers.locationLists;
var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11241,11 +11241,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -11258,9 +11258,9 @@
}), true);
res
.list(arg_advertiserId,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -11538,10 +11538,10 @@
api.DisplayvideoApi(mock).advertisers.locationLists.assignedLocations;
var arg_advertiserId = 'foo';
var arg_locationListId = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11587,13 +11587,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11604,10 +11604,10 @@
}), true);
res
.list(arg_advertiserId, arg_locationListId,
- pageToken: arg_pageToken,
filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssignedLocationsResponse(response);
@@ -12090,8 +12090,8 @@
.negativeKeywords;
var arg_advertiserId = 'foo';
var arg_negativeKeywordListId = 'foo';
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -12122,9 +12122,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -12139,8 +12139,8 @@
}), true);
res
.list(arg_advertiserId, arg_negativeKeywordListId,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -12329,10 +12329,10 @@
.assignedTargetingOptions;
var arg_advertiserId = 'foo';
var arg_targetingType = 'foo';
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12361,13 +12361,13 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12379,10 +12379,10 @@
}), true);
res
.list(arg_advertiserId, arg_targetingType,
- orderBy: arg_orderBy,
filter: arg_filter,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAdvertiserAssignedTargetingOptionsResponse(response);
@@ -12452,12 +12452,12 @@
var mock = HttpServerMock();
api.CombinedAudiencesResourceApi res =
api.DisplayvideoApi(mock).combinedAudiences;
+ var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_partnerId = 'foo';
- var arg_filter = 'foo';
- var arg_pageSize = 42;
- var arg_advertiserId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12486,16 +12486,16 @@
}
}
unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12506,12 +12506,12 @@
}), true);
res
.list(
+ advertiserId: arg_advertiserId,
+ filter: arg_filter,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
partnerId: arg_partnerId,
- filter: arg_filter,
- pageSize: arg_pageSize,
- advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCombinedAudiencesResponse(response);
@@ -12581,12 +12581,12 @@
var mock = HttpServerMock();
api.CustomBiddingAlgorithmsResourceApi res =
api.DisplayvideoApi(mock).customBiddingAlgorithms;
- var arg_partnerId = 'foo';
- var arg_pageSize = 42;
- var arg_pageToken = 'foo';
var arg_advertiserId = 'foo';
var arg_filter = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12615,16 +12615,16 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12636,12 +12636,12 @@
}), true);
res
.list(
- partnerId: arg_partnerId,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
filter: arg_filter,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCustomBiddingAlgorithmsResponse(response);
@@ -12704,11 +12704,11 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.CustomListsResourceApi res = api.DisplayvideoApi(mock).customLists;
- var arg_pageToken = 'foo';
var arg_advertiserId = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12737,14 +12737,14 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12755,11 +12755,11 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCustomListsResponse(response);
@@ -12773,8 +12773,8 @@
api.FirstAndThirdPartyAudiencesResourceApi res =
api.DisplayvideoApi(mock).firstAndThirdPartyAudiences;
var arg_firstAndThirdPartyAudienceId = 'foo';
- var arg_partnerId = 'foo';
var arg_advertiserId = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12804,9 +12804,9 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12817,8 +12817,8 @@
}), true);
res
.get(arg_firstAndThirdPartyAudienceId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFirstAndThirdPartyAudience(response);
@@ -12830,11 +12830,11 @@
api.FirstAndThirdPartyAudiencesResourceApi res =
api.DisplayvideoApi(mock).firstAndThirdPartyAudiences;
var arg_advertiserId = 'foo';
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_partnerId = 'foo';
- var arg_pageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12864,15 +12864,15 @@
}
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12885,11 +12885,11 @@
res
.list(
advertiserId: arg_advertiserId,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
partnerId: arg_partnerId,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFirstAndThirdPartyAudiencesResponse(response);
@@ -12956,8 +12956,8 @@
api.DisplayvideoApi(mock).floodlightGroups;
var arg_request = buildFloodlightGroup();
var arg_floodlightGroupId = 'foo';
- var arg_updateMask = 'foo';
var arg_partnerId = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.FloodlightGroup.fromJson(json);
@@ -12992,9 +12992,9 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13005,8 +13005,8 @@
}), true);
res
.patch(arg_request, arg_floodlightGroupId,
- updateMask: arg_updateMask,
partnerId: arg_partnerId,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFloodlightGroup(response);
@@ -13078,10 +13078,10 @@
api.DisplayvideoApi(mock).googleAudiences;
var arg_advertiserId = 'foo';
var arg_filter = 'foo';
- var arg_partnerId = 'foo';
- var arg_pageToken = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13113,13 +13113,13 @@
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13132,10 +13132,10 @@
.list(
advertiserId: arg_advertiserId,
filter: arg_filter,
- partnerId: arg_partnerId,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGoogleAudiencesResponse(response);
@@ -13208,8 +13208,8 @@
api.InventorySourceGroupsResourceApi res =
api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_inventorySourceGroupId = 'foo';
- var arg_partnerId = 'foo';
var arg_advertiserId = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13239,9 +13239,9 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13252,8 +13252,8 @@
}), true);
res
.delete(arg_inventorySourceGroupId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEmpty(response);
@@ -13265,8 +13265,8 @@
api.InventorySourceGroupsResourceApi res =
api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_inventorySourceGroupId = 'foo';
- var arg_partnerId = 'foo';
var arg_advertiserId = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13296,9 +13296,9 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13309,8 +13309,8 @@
}), true);
res
.get(arg_inventorySourceGroupId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkInventorySourceGroup(response);
@@ -13324,8 +13324,8 @@
var arg_advertiserId = 'foo';
var arg_filter = 'foo';
var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -13359,11 +13359,11 @@
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -13379,8 +13379,8 @@
advertiserId: arg_advertiserId,
filter: arg_filter,
orderBy: arg_orderBy,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -13394,9 +13394,9 @@
api.DisplayvideoApi(mock).inventorySourceGroups;
var arg_request = buildInventorySourceGroup();
var arg_inventorySourceGroupId = 'foo';
- var arg_updateMask = 'foo';
var arg_advertiserId = 'foo';
var arg_partnerId = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.InventorySourceGroup.fromJson(json);
@@ -13432,11 +13432,11 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13447,9 +13447,9 @@
}), true);
res
.patch(arg_request, arg_inventorySourceGroupId,
- updateMask: arg_updateMask,
advertiserId: arg_advertiserId,
partnerId: arg_partnerId,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkInventorySourceGroup(response);
@@ -13523,8 +13523,8 @@
.assignedInventorySources;
var arg_request = buildAssignedInventorySource();
var arg_inventorySourceGroupId = 'foo';
- var arg_partnerId = 'foo';
var arg_advertiserId = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.AssignedInventorySource.fromJson(json);
@@ -13557,9 +13557,9 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13570,8 +13570,8 @@
}), true);
res
.create(arg_request, arg_inventorySourceGroupId,
- partnerId: arg_partnerId,
advertiserId: arg_advertiserId,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAssignedInventorySource(response);
@@ -13645,12 +13645,12 @@
.inventorySourceGroups
.assignedInventorySources;
var arg_inventorySourceGroupId = 'foo';
+ var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
var arg_partnerId = 'foo';
- var arg_filter = 'foo';
- var arg_advertiserId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13679,17 +13679,17 @@
);
}
}
+ unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13701,12 +13701,12 @@
}), true);
res
.list(arg_inventorySourceGroupId,
+ advertiserId: arg_advertiserId,
+ filter: arg_filter,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
partnerId: arg_partnerId,
- filter: arg_filter,
- advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssignedInventorySourcesResponse(response);
@@ -13771,12 +13771,12 @@
var mock = HttpServerMock();
api.InventorySourcesResourceApi res =
api.DisplayvideoApi(mock).inventorySources;
- var arg_partnerId = 'foo';
- var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_partnerId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -13805,16 +13805,16 @@
}
}
unittest.expect(
- queryMap["partnerId"].first, unittest.equals(arg_partnerId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["partnerId"].first, unittest.equals(arg_partnerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -13825,12 +13825,12 @@
}), true);
res
.list(
- partnerId: arg_partnerId,
- filter: arg_filter,
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ partnerId: arg_partnerId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInventorySourcesResponse(response);
@@ -13996,9 +13996,9 @@
var mock = HttpServerMock();
api.PartnersResourceApi res = api.DisplayvideoApi(mock).partners;
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14028,11 +14028,11 @@
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14044,9 +14044,9 @@
res
.list(
filter: arg_filter,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPartnersResponse(response);
@@ -14169,11 +14169,11 @@
api.PartnersChannelsResourceApi res =
api.DisplayvideoApi(mock).partners.channels;
var arg_partnerId = 'foo';
+ var arg_advertiserId = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
- var arg_advertiserId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14203,14 +14203,14 @@
}
}
unittest.expect(
+ queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14221,11 +14221,11 @@
}), true);
res
.list(arg_partnerId,
+ advertiserId: arg_advertiserId,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
- advertiserId: arg_advertiserId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListChannelsResponse(response);
@@ -14239,8 +14239,8 @@
var arg_request = buildChannel();
var arg_partnerId = 'foo';
var arg_channelId = 'foo';
- var arg_updateMask = 'foo';
var arg_advertiserId = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Channel.fromJson(json);
@@ -14273,9 +14273,9 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14286,8 +14286,8 @@
}), true);
res
.patch(arg_request, arg_partnerId, arg_channelId,
- updateMask: arg_updateMask,
advertiserId: arg_advertiserId,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannel(response);
@@ -14494,11 +14494,11 @@
api.DisplayvideoApi(mock).partners.channels.sites;
var arg_partnerId = 'foo';
var arg_channelId = 'foo';
- var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_advertiserId = 'foo';
- var arg_pageSize = 42;
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14527,15 +14527,15 @@
);
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14546,11 +14546,11 @@
}), true);
res
.list(arg_partnerId, arg_channelId,
- filter: arg_filter,
- pageToken: arg_pageToken,
advertiserId: arg_advertiserId,
- pageSize: arg_pageSize,
+ filter: arg_filter,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSitesResponse(response);
@@ -14735,10 +14735,10 @@
.assignedTargetingOptions;
var arg_partnerId = 'foo';
var arg_targetingType = 'foo';
- var arg_pageToken = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -14767,13 +14767,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -14785,10 +14785,10 @@
}), true);
res
.list(arg_partnerId, arg_targetingType,
- pageToken: arg_pageToken,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPartnerAssignedTargetingOptionsResponse(response);
@@ -14957,10 +14957,10 @@
api.TargetingTypesTargetingOptionsResourceApi res =
api.DisplayvideoApi(mock).targetingTypes.targetingOptions;
var arg_targetingType = 'foo';
- var arg_orderBy = 'foo';
var arg_advertiserId = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -14991,12 +14991,12 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["advertiserId"].first, unittest.equals(arg_advertiserId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -15009,10 +15009,10 @@
}), true);
res
.list(arg_targetingType,
- orderBy: arg_orderBy,
advertiserId: arg_advertiserId,
- pageSize: arg_pageSize,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -15221,10 +15221,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.UsersResourceApi res = api.DisplayvideoApi(mock).users;
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -15252,13 +15252,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -15269,10 +15269,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUsersResponse(response);
diff --git a/generated/googleapis/test/dlp/v2_test.dart b/generated/googleapis/test/dlp/v2_test.dart
index 4a7c7f3..5d32ff2 100644
--- a/generated/googleapis/test/dlp/v2_test.dart
+++ b/generated/googleapis/test/dlp/v2_test.dart
@@ -7367,9 +7367,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.InfoTypesResourceApi res = api.DlpApi(mock).infoTypes;
- var arg_locationId = 'foo';
- var arg_languageCode = 'foo';
var arg_filter = 'foo';
+ var arg_languageCode = 'foo';
+ var arg_locationId = 'foo';
var arg_parent = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -7398,11 +7398,11 @@
);
}
}
- unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -7415,9 +7415,9 @@
}), true);
res
.list(
- locationId: arg_locationId,
- languageCode: arg_languageCode,
filter: arg_filter,
+ languageCode: arg_languageCode,
+ locationId: arg_locationId,
parent: arg_parent,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -7433,8 +7433,8 @@
api.DlpApi(mock).locations.infoTypes;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_locationId = 'foo';
var arg_languageCode = 'foo';
+ var arg_locationId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7465,9 +7465,9 @@
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
- unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+ unittest.expect(
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7480,8 +7480,8 @@
res
.list(arg_parent,
filter: arg_filter,
- locationId: arg_locationId,
languageCode: arg_languageCode,
+ locationId: arg_locationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInfoTypesResponse(response);
@@ -7648,10 +7648,10 @@
api.OrganizationsDeidentifyTemplatesResourceApi res =
api.DlpApi(mock).organizations.deidentifyTemplates;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
var arg_locationId = 'foo';
- var arg_pageToken = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7681,13 +7681,13 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7699,10 +7699,10 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
locationId: arg_locationId,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse(response);
@@ -8199,10 +8199,10 @@
api.OrganizationsLocationsDeidentifyTemplatesResourceApi res =
api.DlpApi(mock).organizations.locations.deidentifyTemplates;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8232,13 +8232,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8250,10 +8250,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- orderBy: arg_orderBy,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse(response);
@@ -8475,8 +8475,8 @@
api.OrganizationsLocationsInspectTemplatesResourceApi res =
api.DlpApi(mock).organizations.locations.inspectTemplates;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -8508,9 +8508,9 @@
}
}
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -8526,8 +8526,8 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -8747,9 +8747,9 @@
api.OrganizationsLocationsStoredInfoTypesResourceApi res =
api.DlpApi(mock).organizations.locations.storedInfoTypes;
var arg_parent = 'foo';
+ var arg_locationId = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_locationId = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -8780,12 +8780,12 @@
}
}
unittest.expect(
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -8798,9 +8798,9 @@
}), true);
res
.list(arg_parent,
+ locationId: arg_locationId,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- locationId: arg_locationId,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9017,10 +9017,10 @@
api.OrganizationsStoredInfoTypesResourceApi res =
api.DlpApi(mock).organizations.storedInfoTypes;
var arg_parent = 'foo';
- var arg_pageSize = 42;
- var arg_pageToken = 'foo';
var arg_locationId = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9049,14 +9049,14 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9068,10 +9068,10 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- pageToken: arg_pageToken,
locationId: arg_locationId,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListStoredInfoTypesResponse(response);
@@ -9449,10 +9449,10 @@
api.ProjectsDeidentifyTemplatesResourceApi res =
api.DlpApi(mock).projects.deidentifyTemplates;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_locationId = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9482,13 +9482,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9500,10 +9500,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
locationId: arg_locationId,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse(response);
@@ -9768,12 +9768,12 @@
var mock = HttpServerMock();
api.ProjectsDlpJobsResourceApi res = api.DlpApi(mock).projects.dlpJobs;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_locationId = 'foo';
var arg_orderBy = 'foo';
- var arg_type = 'foo';
- var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
+ var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9802,16 +9802,16 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9823,12 +9823,12 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
locationId: arg_locationId,
orderBy: arg_orderBy,
- type: arg_type,
- filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDlpJobsResponse(response);
@@ -10370,11 +10370,11 @@
api.ProjectsJobTriggersResourceApi res =
api.DlpApi(mock).projects.jobTriggers;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
- var arg_locationId = 'foo';
var arg_filter = 'foo';
+ var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10403,15 +10403,15 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10423,11 +10423,11 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
- locationId: arg_locationId,
filter: arg_filter,
+ locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListJobTriggersResponse(response);
@@ -10808,10 +10808,10 @@
api.ProjectsLocationsDeidentifyTemplatesResourceApi res =
api.DlpApi(mock).projects.locations.deidentifyTemplates;
var arg_parent = 'foo';
+ var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
- var arg_locationId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10840,14 +10840,14 @@
);
}
}
+ unittest.expect(
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10859,10 +10859,10 @@
}), true);
res
.list(arg_parent,
+ locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- orderBy: arg_orderBy,
- locationId: arg_locationId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListDeidentifyTemplatesResponse(response);
@@ -11238,11 +11238,11 @@
api.ProjectsLocationsDlpJobsResourceApi res =
api.DlpApi(mock).projects.locations.dlpJobs;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11272,15 +11272,15 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -11293,11 +11293,11 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
filter: arg_filter,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -11518,10 +11518,10 @@
api.ProjectsLocationsInspectTemplatesResourceApi res =
api.DlpApi(mock).projects.locations.inspectTemplates;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_orderBy = 'foo';
var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11551,13 +11551,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11569,10 +11569,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- orderBy: arg_orderBy,
locationId: arg_locationId,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListInspectTemplatesResponse(response);
@@ -11895,11 +11895,11 @@
api.ProjectsLocationsJobTriggersResourceApi res =
api.DlpApi(mock).projects.locations.jobTriggers;
var arg_parent = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
- var arg_locationId = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
+ var arg_locationId = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11928,15 +11928,15 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11948,11 +11948,11 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
- locationId: arg_locationId,
- pageToken: arg_pageToken,
filter: arg_filter,
+ locationId: arg_locationId,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListJobTriggersResponse(response);
@@ -12167,10 +12167,10 @@
api.ProjectsLocationsStoredInfoTypesResourceApi res =
api.DlpApi(mock).projects.locations.storedInfoTypes;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_locationId = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12200,13 +12200,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12218,10 +12218,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
locationId: arg_locationId,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListStoredInfoTypesResponse(response);
@@ -12437,10 +12437,10 @@
api.ProjectsStoredInfoTypesResourceApi res =
api.DlpApi(mock).projects.storedInfoTypes;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_locationId = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12470,13 +12470,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["locationId"].first, unittest.equals(arg_locationId));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12488,10 +12488,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
locationId: arg_locationId,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGooglePrivacyDlpV2ListStoredInfoTypesResponse(response);
diff --git a/generated/googleapis/test/dns/v1_test.dart b/generated/googleapis/test/dns/v1_test.dart
index 6fc0c9e..cce4e4a 100644
--- a/generated/googleapis/test/dns/v1_test.dart
+++ b/generated/googleapis/test/dns/v1_test.dart
@@ -1564,10 +1564,10 @@
api.ChangesResourceApi res = api.DnsApi(mock).changes;
var arg_project = 'foo';
var arg_managedZone = 'foo';
- var arg_sortBy = 'foo';
- var arg_sortOrder = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_sortBy = 'foo';
+ var arg_sortOrder = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1613,13 +1613,13 @@
);
}
}
- unittest.expect(queryMap["sortBy"].first, unittest.equals(arg_sortBy));
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["sortBy"].first, unittest.equals(arg_sortBy));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1630,10 +1630,10 @@
}), true);
res
.list(arg_project, arg_managedZone,
- sortBy: arg_sortBy,
- sortOrder: arg_sortOrder,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ sortBy: arg_sortBy,
+ sortOrder: arg_sortOrder,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChangesListResponse(response);
@@ -1880,8 +1880,8 @@
api.DnsApi(mock).managedZoneOperations;
var arg_project = 'foo';
var arg_managedZone = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_sortBy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1928,10 +1928,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["sortBy"].first, unittest.equals(arg_sortBy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1944,8 +1944,8 @@
}), true);
res
.list(arg_project, arg_managedZone,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
sortBy: arg_sortBy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2146,9 +2146,9 @@
var mock = HttpServerMock();
api.ManagedZonesResourceApi res = api.DnsApi(mock).managedZones;
var arg_project = 'foo';
+ var arg_dnsName = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_dnsName = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2185,12 +2185,12 @@
);
}
}
+ unittest.expect(
+ queryMap["dnsName"].first, unittest.equals(arg_dnsName));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["dnsName"].first, unittest.equals(arg_dnsName));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2201,9 +2201,9 @@
}), true);
res
.list(arg_project,
+ dnsName: arg_dnsName,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- dnsName: arg_dnsName,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkManagedZonesListResponse(response);
@@ -2537,8 +2537,8 @@
var mock = HttpServerMock();
api.PoliciesResourceApi res = api.DnsApi(mock).policies;
var arg_project = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2575,10 +2575,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2589,8 +2589,8 @@
}), true);
res
.list(arg_project,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPoliciesListResponse(response);
@@ -2795,9 +2795,9 @@
var arg_project = 'foo';
var arg_managedZone = 'foo';
var arg_maxResults = 42;
- var arg_type = 'foo';
var arg_name = 'foo';
var arg_pageToken = 'foo';
+ var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2845,10 +2845,10 @@
}
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2860,9 +2860,9 @@
res
.list(arg_project, arg_managedZone,
maxResults: arg_maxResults,
- type: arg_type,
name: arg_name,
pageToken: arg_pageToken,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkResourceRecordSetsListResponse(response);
diff --git a/generated/googleapis/test/doubleclicksearch/v2_test.dart b/generated/googleapis/test/doubleclicksearch/v2_test.dart
index 7529d71..43eff25 100644
--- a/generated/googleapis/test/doubleclicksearch/v2_test.dart
+++ b/generated/googleapis/test/doubleclicksearch/v2_test.dart
@@ -919,9 +919,9 @@
var arg_startDate = 42;
var arg_startRow = 42;
var arg_adGroupId = 'foo';
- var arg_criterionId = 'foo';
- var arg_campaignId = 'foo';
var arg_adId = 'foo';
+ var arg_campaignId = 'foo';
+ var arg_criterionId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -986,11 +986,11 @@
unittest.equals(arg_startRow));
unittest.expect(
queryMap["adGroupId"].first, unittest.equals(arg_adGroupId));
- unittest.expect(
- queryMap["criterionId"].first, unittest.equals(arg_criterionId));
+ unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
unittest.expect(
queryMap["campaignId"].first, unittest.equals(arg_campaignId));
- unittest.expect(queryMap["adId"].first, unittest.equals(arg_adId));
+ unittest.expect(
+ queryMap["criterionId"].first, unittest.equals(arg_criterionId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1003,9 +1003,9 @@
.get(arg_agencyId, arg_advertiserId, arg_engineAccountId, arg_endDate,
arg_rowCount, arg_startDate, arg_startRow,
adGroupId: arg_adGroupId,
- criterionId: arg_criterionId,
- campaignId: arg_campaignId,
adId: arg_adId,
+ campaignId: arg_campaignId,
+ criterionId: arg_criterionId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkConversionList(response);
diff --git a/generated/googleapis/test/file/v1_test.dart b/generated/googleapis/test/file/v1_test.dart
index ed16952..842f30d 100644
--- a/generated/googleapis/test/file/v1_test.dart
+++ b/generated/googleapis/test/file/v1_test.dart
@@ -1267,10 +1267,10 @@
api.ProjectsLocationsResourceApi res =
api.FileApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_includeUnrevealedLocations = true;
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_includeUnrevealedLocations = true;
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1299,13 +1299,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["includeUnrevealedLocations"].first,
unittest.equals("$arg_includeUnrevealedLocations"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1316,10 +1316,10 @@
}), true);
res
.list(arg_name,
- includeUnrevealedLocations: arg_includeUnrevealedLocations,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ includeUnrevealedLocations: arg_includeUnrevealedLocations,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1485,10 +1485,10 @@
api.ProjectsLocationsInstancesResourceApi res =
api.FileApi(mock).projects.locations.instances;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1517,13 +1517,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1534,10 +1534,10 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInstancesResponse(response);
@@ -1756,8 +1756,8 @@
api.FileApi(mock).projects.locations.operations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1787,10 +1787,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1802,8 +1802,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
index 969e394..d6d6eac 100644
--- a/generated/googleapis/test/firebaserules/v1_test.dart
+++ b/generated/googleapis/test/firebaserules/v1_test.dart
@@ -1328,9 +1328,9 @@
api.ProjectsReleasesResourceApi res =
api.FirebaserulesApi(mock).projects.releases;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1359,11 +1359,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1374,9 +1374,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListReleasesResponse(response);
@@ -1591,8 +1591,8 @@
api.FirebaserulesApi(mock).projects.rulesets;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1622,10 +1622,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1637,8 +1637,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRulesetsResponse(response);
diff --git a/generated/googleapis/test/firestore/v1_test.dart b/generated/googleapis/test/firestore/v1_test.dart
index ca79b4d..bd070fa 100644
--- a/generated/googleapis/test/firestore/v1_test.dart
+++ b/generated/googleapis/test/firestore/v1_test.dart
@@ -3613,9 +3613,9 @@
api.ProjectsDatabasesCollectionGroupsIndexesResourceApi res =
api.FirestoreApi(mock).projects.databases.collectionGroups.indexes;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3644,11 +3644,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3660,9 +3660,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleFirestoreAdminV1ListIndexesResponse(response);
@@ -4004,8 +4004,8 @@
api.FirestoreApi(mock).projects.databases.documents;
var arg_name = 'foo';
var arg_mask_fieldPaths = buildUnnamed3303();
- var arg_transaction = 'foo';
var arg_readTime = 'foo';
+ var arg_transaction = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4037,9 +4037,9 @@
unittest.expect(
queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
unittest.expect(
- queryMap["transaction"].first, unittest.equals(arg_transaction));
- unittest.expect(
queryMap["readTime"].first, unittest.equals(arg_readTime));
+ unittest.expect(
+ queryMap["transaction"].first, unittest.equals(arg_transaction));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4051,8 +4051,8 @@
res
.get(arg_name,
mask_fieldPaths: arg_mask_fieldPaths,
- transaction: arg_transaction,
readTime: arg_readTime,
+ transaction: arg_transaction,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDocument(response);
@@ -4066,12 +4066,12 @@
var arg_parent = 'foo';
var arg_collectionId = 'foo';
var arg_mask_fieldPaths = buildUnnamed3304();
- var arg_pageToken = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_readTime = 'foo';
var arg_showMissing = true;
var arg_transaction = 'foo';
- var arg_pageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4103,17 +4103,17 @@
unittest.expect(
queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["readTime"].first, unittest.equals(arg_readTime));
unittest.expect(
queryMap["showMissing"].first, unittest.equals("$arg_showMissing"));
unittest.expect(
queryMap["transaction"].first, unittest.equals(arg_transaction));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4125,12 +4125,12 @@
res
.list(arg_parent, arg_collectionId,
mask_fieldPaths: arg_mask_fieldPaths,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
readTime: arg_readTime,
showMissing: arg_showMissing,
transaction: arg_transaction,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDocumentsResponse(response);
@@ -4300,9 +4300,9 @@
var arg_request = buildDocument();
var arg_name = 'foo';
var arg_currentDocument_exists = true;
- var arg_updateMask_fieldPaths = buildUnnamed3305();
- var arg_mask_fieldPaths = buildUnnamed3306();
var arg_currentDocument_updateTime = 'foo';
+ var arg_mask_fieldPaths = buildUnnamed3305();
+ var arg_updateMask_fieldPaths = buildUnnamed3306();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Document.fromJson(json);
@@ -4336,12 +4336,12 @@
}
unittest.expect(queryMap["currentDocument.exists"].first,
unittest.equals("$arg_currentDocument_exists"));
- unittest.expect(queryMap["updateMask.fieldPaths"],
- unittest.equals(arg_updateMask_fieldPaths));
- unittest.expect(
- queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
unittest.expect(queryMap["currentDocument.updateTime"].first,
unittest.equals(arg_currentDocument_updateTime));
+ unittest.expect(
+ queryMap["mask.fieldPaths"], unittest.equals(arg_mask_fieldPaths));
+ unittest.expect(queryMap["updateMask.fieldPaths"],
+ unittest.equals(arg_updateMask_fieldPaths));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4353,9 +4353,9 @@
res
.patch(arg_request, arg_name,
currentDocument_exists: arg_currentDocument_exists,
- updateMask_fieldPaths: arg_updateMask_fieldPaths,
- mask_fieldPaths: arg_mask_fieldPaths,
currentDocument_updateTime: arg_currentDocument_updateTime,
+ mask_fieldPaths: arg_mask_fieldPaths,
+ updateMask_fieldPaths: arg_updateMask_fieldPaths,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDocument(response);
@@ -4673,9 +4673,9 @@
api.ProjectsDatabasesOperationsResourceApi res =
api.FirestoreApi(mock).projects.databases.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4704,11 +4704,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4720,9 +4720,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
@@ -4784,9 +4784,9 @@
api.ProjectsLocationsResourceApi res =
api.FirestoreApi(mock).projects.locations;
var arg_name = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4815,11 +4815,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4830,9 +4830,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/fitness/v1_test.dart b/generated/googleapis/test/fitness/v1_test.dart
index 0e0805a..256692d 100644
--- a/generated/googleapis/test/fitness/v1_test.dart
+++ b/generated/googleapis/test/fitness/v1_test.dart
@@ -1348,8 +1348,8 @@
var arg_userId = 'foo';
var arg_dataSourceId = 'foo';
var arg_datasetId = 'foo';
- var arg_pageToken = 'foo';
var arg_limit = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1374,10 +1374,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["limit"].first),
unittest.equals(arg_limit));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1388,7 +1388,7 @@
}), true);
res
.get(arg_userId, arg_dataSourceId, arg_datasetId,
- pageToken: arg_pageToken, limit: arg_limit, $fields: arg_$fields)
+ limit: arg_limit, pageToken: arg_pageToken, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDataset(response);
})));
@@ -1549,8 +1549,8 @@
var mock = HttpServerMock();
api.UsersSessionsResourceApi res = api.FitnessApi(mock).users.sessions;
var arg_userId = 'foo';
- var arg_endTime = 'foo';
var arg_activityType = buildUnnamed1327();
+ var arg_endTime = 'foo';
var arg_includeDeleted = true;
var arg_pageToken = 'foo';
var arg_startTime = 'foo';
@@ -1578,10 +1578,10 @@
);
}
}
- unittest.expect(
- queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(queryMap["activityType"].map(core.int.parse).toList(),
unittest.equals(arg_activityType));
+ unittest.expect(
+ queryMap["endTime"].first, unittest.equals(arg_endTime));
unittest.expect(queryMap["includeDeleted"].first,
unittest.equals("$arg_includeDeleted"));
unittest.expect(
@@ -1598,8 +1598,8 @@
}), true);
res
.list(arg_userId,
- endTime: arg_endTime,
activityType: arg_activityType,
+ endTime: arg_endTime,
includeDeleted: arg_includeDeleted,
pageToken: arg_pageToken,
startTime: arg_startTime,
diff --git a/generated/googleapis/test/games/v1_test.dart b/generated/googleapis/test/games/v1_test.dart
index 6326e7a..73a31ab 100644
--- a/generated/googleapis/test/games/v1_test.dart
+++ b/generated/googleapis/test/games/v1_test.dart
@@ -2481,8 +2481,8 @@
var mock = HttpServerMock();
api.AchievementDefinitionsResourceApi res =
api.GamesApi(mock).achievementDefinitions;
- var arg_maxResults = 42;
var arg_language = 'foo';
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2511,10 +2511,10 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2528,8 +2528,8 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
language: arg_language,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2605,10 +2605,10 @@
var mock = HttpServerMock();
api.AchievementsResourceApi res = api.GamesApi(mock).achievements;
var arg_playerId = 'foo';
- var arg_state = 'foo';
+ var arg_language = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_language = 'foo';
+ var arg_state = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2645,13 +2645,13 @@
);
}
}
- unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
+ unittest.expect(
+ queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2662,10 +2662,10 @@
}), true);
res
.list(arg_playerId,
- state: arg_state,
+ language: arg_language,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- language: arg_language,
+ state: arg_state,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerAchievementListResponse(response);
@@ -3052,9 +3052,9 @@
unittest.test('method--listByPlayer', () {
var mock = HttpServerMock();
api.EventsResourceApi res = api.GamesApi(mock).events;
- var arg_pageToken = 'foo';
var arg_language = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3083,11 +3083,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3098,9 +3098,9 @@
}), true);
res
.listByPlayer(
- pageToken: arg_pageToken,
language: arg_language,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerEventListResponse(response);
@@ -3111,8 +3111,8 @@
var mock = HttpServerMock();
api.EventsResourceApi res = api.GamesApi(mock).events;
var arg_language = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3142,10 +3142,10 @@
}
unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3157,8 +3157,8 @@
res
.listDefinitions(
language: arg_language,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkEventDefinitionListResponse(response);
@@ -3274,9 +3274,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.LeaderboardsResourceApi res = api.GamesApi(mock).leaderboards;
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_language = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3305,11 +3305,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3320,9 +3320,9 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
language: arg_language,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLeaderboardListResponse(response);
@@ -3506,9 +3506,9 @@
var mock = HttpServerMock();
api.PlayersResourceApi res = api.GamesApi(mock).players;
var arg_collection = 'foo';
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_language = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3540,11 +3540,11 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3555,9 +3555,9 @@
}), true);
res
.list(arg_collection,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
language: arg_language,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerListResponse(response);
@@ -3622,10 +3622,10 @@
var arg_playerId = 'foo';
var arg_leaderboardId = 'foo';
var arg_timeSpan = 'foo';
- var arg_maxResults = 42;
var arg_includeRankType = 'foo';
- var arg_pageToken = 'foo';
var arg_language = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3674,14 +3674,14 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["includeRankType"].first,
unittest.equals(arg_includeRankType));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3693,10 +3693,10 @@
}), true);
res
.get(arg_playerId, arg_leaderboardId, arg_timeSpan,
- maxResults: arg_maxResults,
includeRankType: arg_includeRankType,
- pageToken: arg_pageToken,
language: arg_language,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerLeaderboardScoreListResponse(response);
@@ -3709,9 +3709,9 @@
var arg_leaderboardId = 'foo';
var arg_collection = 'foo';
var arg_timeSpan = 'foo';
- var arg_pageToken = 'foo';
var arg_language = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3754,11 +3754,11 @@
unittest.expect(
queryMap["timeSpan"].first, unittest.equals(arg_timeSpan));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3769,9 +3769,9 @@
}), true);
res
.list(arg_leaderboardId, arg_collection, arg_timeSpan,
- pageToken: arg_pageToken,
language: arg_language,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLeaderboardScores(response);
@@ -3784,11 +3784,11 @@
var arg_leaderboardId = 'foo';
var arg_collection = 'foo';
var arg_timeSpan = 'foo';
+ var arg_language = 'foo';
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_resultsAbove = 42;
var arg_returnTopIfAbsent = true;
- var arg_language = 'foo';
- var arg_maxResults = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3831,15 +3831,15 @@
unittest.expect(
queryMap["timeSpan"].first, unittest.equals(arg_timeSpan));
unittest.expect(
+ queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["resultsAbove"].first),
unittest.equals(arg_resultsAbove));
unittest.expect(queryMap["returnTopIfAbsent"].first,
unittest.equals("$arg_returnTopIfAbsent"));
- unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3850,11 +3850,11 @@
}), true);
res
.listWindow(arg_leaderboardId, arg_collection, arg_timeSpan,
+ language: arg_language,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
resultsAbove: arg_resultsAbove,
returnTopIfAbsent: arg_returnTopIfAbsent,
- language: arg_language,
- maxResults: arg_maxResults,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLeaderboardScores(response);
@@ -3866,8 +3866,8 @@
api.ScoresResourceApi res = api.GamesApi(mock).scores;
var arg_leaderboardId = 'foo';
var arg_score = 'foo';
- var arg_scoreTag = 'foo';
var arg_language = 'foo';
+ var arg_scoreTag = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3906,9 +3906,9 @@
}
unittest.expect(queryMap["score"].first, unittest.equals(arg_score));
unittest.expect(
- queryMap["scoreTag"].first, unittest.equals(arg_scoreTag));
- unittest.expect(
queryMap["language"].first, unittest.equals(arg_language));
+ unittest.expect(
+ queryMap["scoreTag"].first, unittest.equals(arg_scoreTag));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3919,8 +3919,8 @@
}), true);
res
.submit(arg_leaderboardId, arg_score,
- scoreTag: arg_scoreTag,
language: arg_language,
+ scoreTag: arg_scoreTag,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlayerScoreResponse(response);
@@ -4038,9 +4038,9 @@
var mock = HttpServerMock();
api.SnapshotsResourceApi res = api.GamesApi(mock).snapshots;
var arg_playerId = 'foo';
+ var arg_language = 'foo';
var arg_maxResults = 42;
var arg_pageToken = 'foo';
- var arg_language = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4077,12 +4077,12 @@
);
}
}
+ unittest.expect(
+ queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["language"].first, unittest.equals(arg_language));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4093,9 +4093,9 @@
}), true);
res
.list(arg_playerId,
+ language: arg_language,
maxResults: arg_maxResults,
pageToken: arg_pageToken,
- language: arg_language,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSnapshotListResponse(response);
diff --git a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
index 97f67f9..97cdb12 100644
--- a/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
+++ b/generated/googleapis/test/gamesconfiguration/v1configuration_test.dart
@@ -653,8 +653,8 @@
api.AchievementConfigurationsResourceApi res =
api.GamesConfigurationApi(mock).achievementConfigurations;
var arg_applicationId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -691,10 +691,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -706,8 +706,8 @@
}), true);
res
.list(arg_applicationId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAchievementConfigurationListResponse(response);
diff --git a/generated/googleapis/test/gamesmanagement/v1management_test.dart b/generated/googleapis/test/gamesmanagement/v1management_test.dart
index ba0c811..0ba24f4 100644
--- a/generated/googleapis/test/gamesmanagement/v1management_test.dart
+++ b/generated/googleapis/test/gamesmanagement/v1management_test.dart
@@ -863,8 +863,8 @@
api.ApplicationsResourceApi res =
api.GamesManagementApi(mock).applications;
var arg_applicationId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -901,10 +901,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -915,8 +915,8 @@
}), true);
res
.listHidden(arg_applicationId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkHiddenPlayerList(response);
diff --git a/generated/googleapis/test/gmail/v1_test.dart b/generated/googleapis/test/gmail/v1_test.dart
index 124f53f..56a2ded 100644
--- a/generated/googleapis/test/gmail/v1_test.dart
+++ b/generated/googleapis/test/gmail/v1_test.dart
@@ -2265,8 +2265,8 @@
api.UsersDraftsResourceApi res = api.GmailApi(mock).users.drafts;
var arg_userId = 'foo';
var arg_includeSpamTrash = true;
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_q = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2306,10 +2306,10 @@
}
unittest.expect(queryMap["includeSpamTrash"].first,
unittest.equals("$arg_includeSpamTrash"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2322,8 +2322,8 @@
res
.list(arg_userId,
includeSpamTrash: arg_includeSpamTrash,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
q: arg_q,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -2467,8 +2467,8 @@
var arg_userId = 'foo';
var arg_historyTypes = buildUnnamed3205();
var arg_labelId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_startHistoryId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2510,10 +2510,10 @@
queryMap["historyTypes"], unittest.equals(arg_historyTypes));
unittest.expect(
queryMap["labelId"].first, unittest.equals(arg_labelId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["startHistoryId"].first,
unittest.equals(arg_startHistoryId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2528,8 +2528,8 @@
.list(arg_userId,
historyTypes: arg_historyTypes,
labelId: arg_labelId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
startHistoryId: arg_startHistoryId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3073,8 +3073,8 @@
api.UsersMessagesResourceApi res = api.GmailApi(mock).users.messages;
var arg_userId = 'foo';
var arg_id = 'foo';
- var arg_metadataHeaders = buildUnnamed3206();
var arg_format = 'foo';
+ var arg_metadataHeaders = buildUnnamed3206();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3114,9 +3114,9 @@
);
}
}
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(
queryMap["metadataHeaders"], unittest.equals(arg_metadataHeaders));
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3127,8 +3127,8 @@
}), true);
res
.get(arg_userId, arg_id,
- metadataHeaders: arg_metadataHeaders,
format: arg_format,
+ metadataHeaders: arg_metadataHeaders,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMessage(response);
@@ -3143,10 +3143,10 @@
api.UsersMessagesResourceApi res = api.GmailApi(mock).users.messages;
var arg_request = buildMessage();
var arg_userId = 'foo';
- var arg_processForCalendar = true;
+ var arg_deleted = true;
var arg_internalDateSource = 'foo';
var arg_neverMarkSpam = true;
- var arg_deleted = true;
+ var arg_processForCalendar = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Message.fromJson(json);
@@ -3186,14 +3186,14 @@
);
}
}
- unittest.expect(queryMap["processForCalendar"].first,
- unittest.equals("$arg_processForCalendar"));
+ unittest.expect(
+ queryMap["deleted"].first, unittest.equals("$arg_deleted"));
unittest.expect(queryMap["internalDateSource"].first,
unittest.equals(arg_internalDateSource));
unittest.expect(queryMap["neverMarkSpam"].first,
unittest.equals("$arg_neverMarkSpam"));
- unittest.expect(
- queryMap["deleted"].first, unittest.equals("$arg_deleted"));
+ unittest.expect(queryMap["processForCalendar"].first,
+ unittest.equals("$arg_processForCalendar"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3204,10 +3204,10 @@
}), true);
res
.import(arg_request, arg_userId,
- processForCalendar: arg_processForCalendar,
+ deleted: arg_deleted,
internalDateSource: arg_internalDateSource,
neverMarkSpam: arg_neverMarkSpam,
- deleted: arg_deleted,
+ processForCalendar: arg_processForCalendar,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMessage(response);
@@ -3289,11 +3289,11 @@
var mock = HttpServerMock();
api.UsersMessagesResourceApi res = api.GmailApi(mock).users.messages;
var arg_userId = 'foo';
- var arg_pageToken = 'foo';
- var arg_q = 'foo';
var arg_includeSpamTrash = true;
var arg_labelIds = buildUnnamed3207();
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_q = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3330,14 +3330,14 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["includeSpamTrash"].first,
unittest.equals("$arg_includeSpamTrash"));
unittest.expect(queryMap["labelIds"], unittest.equals(arg_labelIds));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3348,11 +3348,11 @@
}), true);
res
.list(arg_userId,
- pageToken: arg_pageToken,
- q: arg_q,
includeSpamTrash: arg_includeSpamTrash,
labelIds: arg_labelIds,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ q: arg_q,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMessagesResponse(response);
@@ -5816,8 +5816,8 @@
api.UsersThreadsResourceApi res = api.GmailApi(mock).users.threads;
var arg_userId = 'foo';
var arg_id = 'foo';
- var arg_metadataHeaders = buildUnnamed3208();
var arg_format = 'foo';
+ var arg_metadataHeaders = buildUnnamed3208();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5857,9 +5857,9 @@
);
}
}
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(
queryMap["metadataHeaders"], unittest.equals(arg_metadataHeaders));
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5870,8 +5870,8 @@
}), true);
res
.get(arg_userId, arg_id,
- metadataHeaders: arg_metadataHeaders,
format: arg_format,
+ metadataHeaders: arg_metadataHeaders,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkThread(response);
@@ -5882,11 +5882,11 @@
var mock = HttpServerMock();
api.UsersThreadsResourceApi res = api.GmailApi(mock).users.threads;
var arg_userId = 'foo';
- var arg_labelIds = buildUnnamed3209();
- var arg_q = 'foo';
- var arg_pageToken = 'foo';
var arg_includeSpamTrash = true;
+ var arg_labelIds = buildUnnamed3209();
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_q = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5923,14 +5923,14 @@
);
}
}
- unittest.expect(queryMap["labelIds"], unittest.equals(arg_labelIds));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeSpamTrash"].first,
unittest.equals("$arg_includeSpamTrash"));
+ unittest.expect(queryMap["labelIds"], unittest.equals(arg_labelIds));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5941,11 +5941,11 @@
}), true);
res
.list(arg_userId,
- labelIds: arg_labelIds,
- q: arg_q,
- pageToken: arg_pageToken,
includeSpamTrash: arg_includeSpamTrash,
+ labelIds: arg_labelIds,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ q: arg_q,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListThreadsResponse(response);
diff --git a/generated/googleapis/test/healthcare/v1_test.dart b/generated/googleapis/test/healthcare/v1_test.dart
index 3297617..928744b 100644
--- a/generated/googleapis/test/healthcare/v1_test.dart
+++ b/generated/googleapis/test/healthcare/v1_test.dart
@@ -2926,8 +2926,8 @@
api.HealthcareApi(mock).projects.locations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2957,10 +2957,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2972,8 +2972,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -3829,9 +3829,9 @@
api.ProjectsLocationsDatasetsDicomStoresResourceApi res =
api.HealthcareApi(mock).projects.locations.datasets.dicomStores;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3860,11 +3860,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3875,9 +3875,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDicomStoresResponse(response);
@@ -5520,8 +5520,8 @@
api.ProjectsLocationsDatasetsFhirStoresResourceApi res =
api.HealthcareApi(mock).projects.locations.datasets.fhirStores;
var arg_parent = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -5551,9 +5551,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -5566,8 +5566,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -5743,12 +5743,12 @@
api.ProjectsLocationsDatasetsFhirStoresFhirResourceApi res =
api.HealthcareApi(mock).projects.locations.datasets.fhirStores.fhir;
var arg_name = 'foo';
- var arg_P_type = 'foo';
var arg_P_count = 42;
- var arg_start = 'foo';
- var arg_P_since = 'foo';
- var arg_end = 'foo';
var arg_P_pageToken = 'foo';
+ var arg_P_since = 'foo';
+ var arg_P_type = 'foo';
+ var arg_end = 'foo';
+ var arg_start = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5777,14 +5777,14 @@
);
}
}
- unittest.expect(queryMap["_type"].first, unittest.equals(arg_P_type));
unittest.expect(core.int.parse(queryMap["_count"].first),
unittest.equals(arg_P_count));
- unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
- unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
- unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
unittest.expect(
queryMap["_page_token"].first, unittest.equals(arg_P_pageToken));
+ unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
+ unittest.expect(queryMap["_type"].first, unittest.equals(arg_P_type));
+ unittest.expect(queryMap["end"].first, unittest.equals(arg_end));
+ unittest.expect(queryMap["start"].first, unittest.equals(arg_start));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5794,12 +5794,12 @@
return async.Future.value(stringResponse(200, h, resp));
}), true);
res.Patient_everything(arg_name,
- P_type: arg_P_type,
P_count: arg_P_count,
- start: arg_start,
- P_since: arg_P_since,
- end: arg_end,
P_pageToken: arg_P_pageToken,
+ P_since: arg_P_since,
+ P_type: arg_P_type,
+ end: arg_end,
+ start: arg_start,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkHttpBody(response);
@@ -6059,9 +6059,9 @@
api.ProjectsLocationsDatasetsFhirStoresFhirResourceApi res =
api.HealthcareApi(mock).projects.locations.datasets.fhirStores.fhir;
var arg_name = 'foo';
- var arg_P_pageToken = 'foo';
var arg_P_at = 'foo';
var arg_P_count = 42;
+ var arg_P_pageToken = 'foo';
var arg_P_since = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6091,11 +6091,11 @@
);
}
}
- unittest.expect(
- queryMap["_page_token"].first, unittest.equals(arg_P_pageToken));
unittest.expect(queryMap["_at"].first, unittest.equals(arg_P_at));
unittest.expect(core.int.parse(queryMap["_count"].first),
unittest.equals(arg_P_count));
+ unittest.expect(
+ queryMap["_page_token"].first, unittest.equals(arg_P_pageToken));
unittest.expect(queryMap["_since"].first, unittest.equals(arg_P_since));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6107,9 +6107,9 @@
}), true);
res
.history(arg_name,
- P_pageToken: arg_P_pageToken,
P_at: arg_P_at,
P_count: arg_P_count,
+ P_pageToken: arg_P_pageToken,
P_since: arg_P_since,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -6585,8 +6585,8 @@
api.HealthcareApi(mock).projects.locations.datasets.hl7V2Stores;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6616,10 +6616,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6631,8 +6631,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListHl7V2StoresResponse(response);
@@ -7034,11 +7034,11 @@
.hl7V2Stores
.messages;
var arg_parent = 'foo';
- var arg_view = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7067,14 +7067,14 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7085,11 +7085,11 @@
}), true);
res
.list(arg_parent,
- view: arg_view,
- pageToken: arg_pageToken,
filter: arg_filter,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMessagesResponse(response);
@@ -7264,9 +7264,9 @@
api.ProjectsLocationsDatasetsOperationsResourceApi res =
api.HealthcareApi(mock).projects.locations.datasets.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -7295,11 +7295,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -7310,9 +7310,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/iam/v1_test.dart b/generated/googleapis/test/iam/v1_test.dart
index 95f4e27..e864979 100644
--- a/generated/googleapis/test/iam/v1_test.dart
+++ b/generated/googleapis/test/iam/v1_test.dart
@@ -1904,9 +1904,9 @@
api.IamApi(mock).organizations.roles;
var arg_parent = 'foo';
var arg_pageSize = 42;
- var arg_view = 'foo';
- var arg_showDeleted = true;
var arg_pageToken = 'foo';
+ var arg_showDeleted = true;
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1937,11 +1937,11 @@
}
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1953,9 +1953,9 @@
res
.list(arg_parent,
pageSize: arg_pageSize,
- view: arg_view,
- showDeleted: arg_showDeleted,
pageToken: arg_pageToken,
+ showDeleted: arg_showDeleted,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRolesResponse(response);
@@ -2274,10 +2274,10 @@
var mock = HttpServerMock();
api.ProjectsRolesResourceApi res = api.IamApi(mock).projects.roles;
var arg_parent = 'foo';
- var arg_view = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_showDeleted = true;
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2306,13 +2306,13 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2323,10 +2323,10 @@
}), true);
res
.list(arg_parent,
- view: arg_view,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
showDeleted: arg_showDeleted,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRolesResponse(response);
@@ -2753,8 +2753,8 @@
api.ProjectsServiceAccountsResourceApi res =
api.IamApi(mock).projects.serviceAccounts;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2783,10 +2783,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2797,8 +2797,8 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServiceAccountsResponse(response);
@@ -3476,11 +3476,11 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.RolesResourceApi res = api.IamApi(mock).roles;
- var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
- var arg_view = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_parent = 'foo';
var arg_showDeleted = true;
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3508,14 +3508,14 @@
);
}
}
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3526,11 +3526,11 @@
}), true);
res
.list(
- parent: arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
- view: arg_view,
+ pageToken: arg_pageToken,
+ parent: arg_parent,
showDeleted: arg_showDeleted,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRolesResponse(response);
diff --git a/generated/googleapis/test/iap/v1_test.dart b/generated/googleapis/test/iap/v1_test.dart
index a4b38e9..1a2b0e0 100644
--- a/generated/googleapis/test/iap/v1_test.dart
+++ b/generated/googleapis/test/iap/v1_test.dart
@@ -1207,8 +1207,8 @@
api.ProjectsBrandsIdentityAwareProxyClientsResourceApi res =
api.IapApi(mock).projects.brands.identityAwareProxyClients;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1237,10 +1237,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1252,8 +1252,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListIdentityAwareProxyClientsResponse(response);
diff --git a/generated/googleapis/test/jobs/v2_test.dart b/generated/googleapis/test/jobs/v2_test.dart
index c33474c..770aed5 100644
--- a/generated/googleapis/test/jobs/v2_test.dart
+++ b/generated/googleapis/test/jobs/v2_test.dart
@@ -4075,11 +4075,11 @@
var mock = HttpServerMock();
api.CompaniesJobsResourceApi res = api.JobsApi(mock).companies.jobs;
var arg_companyName = 'foo';
+ var arg_idsOnly = true;
var arg_includeJobsCount = true;
var arg_jobRequisitionId = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_idsOnly = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4108,6 +4108,8 @@
);
}
}
+ unittest.expect(
+ queryMap["idsOnly"].first, unittest.equals("$arg_idsOnly"));
unittest.expect(queryMap["includeJobsCount"].first,
unittest.equals("$arg_includeJobsCount"));
unittest.expect(queryMap["jobRequisitionId"].first,
@@ -4116,8 +4118,6 @@
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["idsOnly"].first, unittest.equals("$arg_idsOnly"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4128,11 +4128,11 @@
}), true);
res
.list(arg_companyName,
+ idsOnly: arg_idsOnly,
includeJobsCount: arg_includeJobsCount,
jobRequisitionId: arg_jobRequisitionId,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- idsOnly: arg_idsOnly,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCompanyJobsResponse(response);
@@ -4438,9 +4438,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.JobsResourceApi res = api.JobsApi(mock).jobs;
- var arg_pageSize = 42;
var arg_filter = 'foo';
var arg_idsOnly = true;
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4469,11 +4469,11 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["idsOnly"].first, unittest.equals("$arg_idsOnly"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4486,9 +4486,9 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
filter: arg_filter,
idsOnly: arg_idsOnly,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4650,12 +4650,12 @@
unittest.test('method--complete', () {
var mock = HttpServerMock();
api.V2ResourceApi res = api.JobsApi(mock).v2;
- var arg_languageCode = 'foo';
- var arg_query = 'foo';
- var arg_pageSize = 42;
- var arg_type = 'foo';
- var arg_scope = 'foo';
var arg_companyName = 'foo';
+ var arg_languageCode = 'foo';
+ var arg_pageSize = 42;
+ var arg_query = 'foo';
+ var arg_scope = 'foo';
+ var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4684,14 +4684,14 @@
}
}
unittest.expect(
+ queryMap["companyName"].first, unittest.equals(arg_companyName));
+ unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
- unittest.expect(
- queryMap["companyName"].first, unittest.equals(arg_companyName));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4702,12 +4702,12 @@
}), true);
res
.complete(
- languageCode: arg_languageCode,
- query: arg_query,
- pageSize: arg_pageSize,
- type: arg_type,
- scope: arg_scope,
companyName: arg_companyName,
+ languageCode: arg_languageCode,
+ pageSize: arg_pageSize,
+ query: arg_query,
+ scope: arg_scope,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCompleteQueryResponse(response);
diff --git a/generated/googleapis/test/jobs/v3_test.dart b/generated/googleapis/test/jobs/v3_test.dart
index 3df0aa6..1319457 100644
--- a/generated/googleapis/test/jobs/v3_test.dart
+++ b/generated/googleapis/test/jobs/v3_test.dart
@@ -3345,11 +3345,11 @@
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.JobsApi(mock).projects;
var arg_name = 'foo';
+ var arg_companyName = 'foo';
var arg_languageCode = 'foo';
var arg_languageCodes = buildUnnamed2854();
- var arg_companyName = 'foo';
- var arg_query = 'foo';
var arg_pageSize = 42;
+ var arg_query = 'foo';
var arg_scope = 'foo';
var arg_type = 'foo';
var arg_$fields = 'foo';
@@ -3381,14 +3381,14 @@
}
}
unittest.expect(
+ queryMap["companyName"].first, unittest.equals(arg_companyName));
+ unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(
queryMap["languageCodes"], unittest.equals(arg_languageCodes));
- unittest.expect(
- queryMap["companyName"].first, unittest.equals(arg_companyName));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
unittest.expect(queryMap["scope"].first, unittest.equals(arg_scope));
unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3401,11 +3401,11 @@
}), true);
res
.complete(arg_name,
+ companyName: arg_companyName,
languageCode: arg_languageCode,
languageCodes: arg_languageCodes,
- companyName: arg_companyName,
- query: arg_query,
pageSize: arg_pageSize,
+ query: arg_query,
scope: arg_scope,
type: arg_type,
$fields: arg_$fields)
@@ -3623,9 +3623,9 @@
api.ProjectsCompaniesResourceApi res =
api.JobsApi(mock).projects.companies;
var arg_parent = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_requireOpenJobs = true;
- var arg_pageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3654,12 +3654,12 @@
);
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["requireOpenJobs"].first,
unittest.equals("$arg_requireOpenJobs"));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3670,9 +3670,9 @@
}), true);
res
.list(arg_parent,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
requireOpenJobs: arg_requireOpenJobs,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCompaniesResponse(response);
@@ -3933,10 +3933,10 @@
var mock = HttpServerMock();
api.ProjectsJobsResourceApi res = api.JobsApi(mock).projects.jobs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
var arg_jobView = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3965,13 +3965,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["jobView"].first, unittest.equals(arg_jobView));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3982,10 +3982,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
jobView: arg_jobView,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
diff --git a/generated/googleapis/test/kgsearch/v1_test.dart b/generated/googleapis/test/kgsearch/v1_test.dart
index a4aa41f..5ab3aa0 100644
--- a/generated/googleapis/test/kgsearch/v1_test.dart
+++ b/generated/googleapis/test/kgsearch/v1_test.dart
@@ -187,12 +187,12 @@
var mock = HttpServerMock();
api.EntitiesResourceApi res = api.KgsearchApi(mock).entities;
var arg_ids = buildUnnamed80();
- var arg_types = buildUnnamed81();
- var arg_query = 'foo';
- var arg_prefix = true;
var arg_indent = true;
+ var arg_languages = buildUnnamed81();
var arg_limit = 42;
- var arg_languages = buildUnnamed82();
+ var arg_prefix = true;
+ var arg_query = 'foo';
+ var arg_types = buildUnnamed82();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -221,15 +221,15 @@
}
}
unittest.expect(queryMap["ids"], unittest.equals(arg_ids));
- unittest.expect(queryMap["types"], unittest.equals(arg_types));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["prefix"].first, unittest.equals("$arg_prefix"));
unittest.expect(
queryMap["indent"].first, unittest.equals("$arg_indent"));
+ unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
unittest.expect(core.int.parse(queryMap["limit"].first),
unittest.equals(arg_limit));
- unittest.expect(queryMap["languages"], unittest.equals(arg_languages));
+ unittest.expect(
+ queryMap["prefix"].first, unittest.equals("$arg_prefix"));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(queryMap["types"], unittest.equals(arg_types));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -241,12 +241,12 @@
res
.search(
ids: arg_ids,
- types: arg_types,
- query: arg_query,
- prefix: arg_prefix,
indent: arg_indent,
- limit: arg_limit,
languages: arg_languages,
+ limit: arg_limit,
+ prefix: arg_prefix,
+ query: arg_query,
+ types: arg_types,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchResponse(response);
diff --git a/generated/googleapis/test/licensing/v1_test.dart b/generated/googleapis/test/licensing/v1_test.dart
index a13bf19..ba2392b 100644
--- a/generated/googleapis/test/licensing/v1_test.dart
+++ b/generated/googleapis/test/licensing/v1_test.dart
@@ -396,8 +396,8 @@
api.LicensingApi(mock).licenseAssignments;
var arg_productId = 'foo';
var arg_customerId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -436,10 +436,10 @@
}
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -450,8 +450,8 @@
}), true);
res
.listForProduct(arg_productId, arg_customerId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLicenseAssignmentList(response);
@@ -465,8 +465,8 @@
var arg_productId = 'foo';
var arg_skuId = 'foo';
var arg_customerId = 'foo';
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -514,10 +514,10 @@
}
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -528,8 +528,8 @@
}), true);
res
.listForProductAndSku(arg_productId, arg_skuId, arg_customerId,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLicenseAssignmentList(response);
diff --git a/generated/googleapis/test/logging/v2_test.dart b/generated/googleapis/test/logging/v2_test.dart
index cadba1a..731ef83 100644
--- a/generated/googleapis/test/logging/v2_test.dart
+++ b/generated/googleapis/test/logging/v2_test.dart
@@ -2343,8 +2343,8 @@
api.BillingAccountsLogsResourceApi res =
api.LoggingApi(mock).billingAccounts.logs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2373,10 +2373,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2387,8 +2387,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLogsResponse(response);
@@ -2613,8 +2613,8 @@
api.LoggingApi(mock).billingAccounts.sinks;
var arg_request = buildLogSink();
var arg_sinkName = 'foo';
- var arg_updateMask = 'foo';
var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LogSink.fromJson(json);
@@ -2646,10 +2646,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["uniqueWriterIdentity"].first,
unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2660,8 +2660,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- updateMask: arg_updateMask,
uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -2980,8 +2980,8 @@
var mock = HttpServerMock();
api.ExclusionsResourceApi res = api.LoggingApi(mock).exclusions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3010,10 +3010,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3024,8 +3024,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListExclusionsResponse(response);
@@ -3509,8 +3509,8 @@
api.FoldersLocationsBucketsResourceApi res =
api.LoggingApi(mock).folders.locations.buckets;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3539,10 +3539,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3553,8 +3553,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -3722,8 +3722,8 @@
var mock = HttpServerMock();
api.FoldersLogsResourceApi res = api.LoggingApi(mock).folders.logs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3752,10 +3752,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3766,8 +3766,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLogsResponse(response);
@@ -3987,8 +3987,8 @@
api.FoldersSinksResourceApi res = api.LoggingApi(mock).folders.sinks;
var arg_request = buildLogSink();
var arg_sinkName = 'foo';
- var arg_updateMask = 'foo';
var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LogSink.fromJson(json);
@@ -4020,10 +4020,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["uniqueWriterIdentity"].first,
unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4034,8 +4034,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- updateMask: arg_updateMask,
uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -4843,8 +4843,8 @@
api.OrganizationsExclusionsResourceApi res =
api.LoggingApi(mock).organizations.exclusions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4873,10 +4873,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4887,8 +4887,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListExclusionsResponse(response);
@@ -5110,8 +5110,8 @@
api.OrganizationsLocationsBucketsResourceApi res =
api.LoggingApi(mock).organizations.locations.buckets;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5140,10 +5140,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5154,8 +5154,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBucketsResponse(response);
@@ -5537,8 +5537,8 @@
api.OrganizationsSinksResourceApi res =
api.LoggingApi(mock).organizations.sinks;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5567,10 +5567,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5581,8 +5581,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSinksResponse(response);
@@ -5656,8 +5656,8 @@
api.LoggingApi(mock).organizations.sinks;
var arg_request = buildLogSink();
var arg_sinkName = 'foo';
- var arg_updateMask = 'foo';
var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LogSink.fromJson(json);
@@ -5689,10 +5689,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["uniqueWriterIdentity"].first,
unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5703,8 +5703,8 @@
}), true);
res
.update(arg_request, arg_sinkName,
- updateMask: arg_updateMask,
uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -5866,8 +5866,8 @@
api.ProjectsExclusionsResourceApi res =
api.LoggingApi(mock).projects.exclusions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5896,10 +5896,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5910,8 +5910,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListExclusionsResponse(response);
@@ -6870,8 +6870,8 @@
api.ProjectsSinksResourceApi res = api.LoggingApi(mock).projects.sinks;
var arg_request = buildLogSink();
var arg_sinkName = 'foo';
- var arg_updateMask = 'foo';
var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LogSink.fromJson(json);
@@ -6903,10 +6903,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["uniqueWriterIdentity"].first,
unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6917,8 +6917,8 @@
}), true);
res
.patch(arg_request, arg_sinkName,
- updateMask: arg_updateMask,
uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
@@ -6930,8 +6930,8 @@
api.ProjectsSinksResourceApi res = api.LoggingApi(mock).projects.sinks;
var arg_request = buildLogSink();
var arg_sinkName = 'foo';
- var arg_updateMask = 'foo';
var arg_uniqueWriterIdentity = true;
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LogSink.fromJson(json);
@@ -6963,10 +6963,10 @@
);
}
}
- unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["uniqueWriterIdentity"].first,
unittest.equals("$arg_uniqueWriterIdentity"));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6977,8 +6977,8 @@
}), true);
res
.update(arg_request, arg_sinkName,
- updateMask: arg_updateMask,
uniqueWriterIdentity: arg_uniqueWriterIdentity,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLogSink(response);
diff --git a/generated/googleapis/test/managedidentities/v1_test.dart b/generated/googleapis/test/managedidentities/v1_test.dart
index 5472352..9ca5032 100644
--- a/generated/googleapis/test/managedidentities/v1_test.dart
+++ b/generated/googleapis/test/managedidentities/v1_test.dart
@@ -1782,9 +1782,9 @@
api.ManagedidentitiesApi(mock).projects.locations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_includeUnrevealedLocations = true;
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1814,12 +1814,12 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["includeUnrevealedLocations"].first,
unittest.equals("$arg_includeUnrevealedLocations"));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1831,9 +1831,9 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
includeUnrevealedLocations: arg_includeUnrevealedLocations,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -2158,10 +2158,10 @@
api.ProjectsLocationsGlobalDomainsResourceApi res =
api.ManagedidentitiesApi(mock).projects.locations.global.domains;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
+ var arg_filter = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
- var arg_filter = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2190,13 +2190,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2207,10 +2207,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
+ filter: arg_filter,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
- filter: arg_filter,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDomainsResponse(response);
@@ -2688,9 +2688,9 @@
api.ProjectsLocationsGlobalOperationsResourceApi res =
api.ManagedidentitiesApi(mock).projects.locations.global.operations;
var arg_name = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2719,11 +2719,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2734,9 +2734,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/manufacturers/v1_test.dart b/generated/googleapis/test/manufacturers/v1_test.dart
index 4b1f1be..53c3755 100644
--- a/generated/googleapis/test/manufacturers/v1_test.dart
+++ b/generated/googleapis/test/manufacturers/v1_test.dart
@@ -795,9 +795,9 @@
api.AccountsProductsResourceApi res =
api.ManufacturersApi(mock).accounts.products;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_include = buildUnnamed1740();
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -826,11 +826,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["include"], unittest.equals(arg_include));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -841,9 +841,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
include: arg_include,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListProductsResponse(response);
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index f64c194..2361046 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -5310,8 +5310,8 @@
api.ProjectsModelsResourceApi res = api.MlApi(mock).projects.models;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5341,10 +5341,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5357,8 +5357,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListModelsResponse(response);
@@ -5678,9 +5678,9 @@
api.ProjectsModelsVersionsResourceApi res =
api.MlApi(mock).projects.models.versions;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5709,11 +5709,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5725,9 +5725,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListVersionsResponse(response);
@@ -5945,9 +5945,9 @@
api.ProjectsOperationsResourceApi res =
api.MlApi(mock).projects.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5976,11 +5976,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5992,9 +5992,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
index f8ee518..ad940eb 100644
--- a/generated/googleapis/test/monitoring/v3_test.dart
+++ b/generated/googleapis/test/monitoring/v3_test.dart
@@ -4230,10 +4230,10 @@
api.ProjectsAlertPoliciesResourceApi res =
api.MonitoringApi(mock).projects.alertPolicies;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4262,13 +4262,13 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4279,10 +4279,10 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAlertPoliciesResponse(response);
@@ -4561,11 +4561,11 @@
api.ProjectsGroupsResourceApi res =
api.MonitoringApi(mock).projects.groups;
var arg_name = 'foo';
+ var arg_ancestorsOfGroup = 'foo';
var arg_childrenOfGroup = 'foo';
var arg_descendantsOfGroup = 'foo';
- var arg_pageToken = 'foo';
- var arg_ancestorsOfGroup = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4594,16 +4594,16 @@
);
}
}
+ unittest.expect(queryMap["ancestorsOfGroup"].first,
+ unittest.equals(arg_ancestorsOfGroup));
unittest.expect(queryMap["childrenOfGroup"].first,
unittest.equals(arg_childrenOfGroup));
unittest.expect(queryMap["descendantsOfGroup"].first,
unittest.equals(arg_descendantsOfGroup));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["ancestorsOfGroup"].first,
- unittest.equals(arg_ancestorsOfGroup));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4614,11 +4614,11 @@
}), true);
res
.list(arg_name,
+ ancestorsOfGroup: arg_ancestorsOfGroup,
childrenOfGroup: arg_childrenOfGroup,
descendantsOfGroup: arg_descendantsOfGroup,
- pageToken: arg_pageToken,
- ancestorsOfGroup: arg_ancestorsOfGroup,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGroupsResponse(response);
@@ -4688,9 +4688,9 @@
api.ProjectsGroupsMembersResourceApi res =
api.MonitoringApi(mock).projects.groups.members;
var arg_name = 'foo';
- var arg_interval_startTime = 'foo';
- var arg_interval_endTime = 'foo';
var arg_filter = 'foo';
+ var arg_interval_endTime = 'foo';
+ var arg_interval_startTime = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -4721,11 +4721,11 @@
);
}
}
- unittest.expect(queryMap["interval.startTime"].first,
- unittest.equals(arg_interval_startTime));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["interval.endTime"].first,
unittest.equals(arg_interval_endTime));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["interval.startTime"].first,
+ unittest.equals(arg_interval_startTime));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -4740,9 +4740,9 @@
}), true);
res
.list(arg_name,
- interval_startTime: arg_interval_startTime,
- interval_endTime: arg_interval_endTime,
filter: arg_filter,
+ interval_endTime: arg_interval_endTime,
+ interval_startTime: arg_interval_startTime,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -4907,8 +4907,8 @@
api.MonitoringApi(mock).projects.metricDescriptors;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4938,10 +4938,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4953,8 +4953,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMetricDescriptorsResponse(response);
@@ -5017,9 +5017,9 @@
api.ProjectsMonitoredResourceDescriptorsResourceApi res =
api.MonitoringApi(mock).projects.monitoredResourceDescriptors;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5048,11 +5048,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5064,9 +5064,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListMonitoredResourceDescriptorsResponse(response);
@@ -5393,10 +5393,10 @@
api.ProjectsNotificationChannelsResourceApi res =
api.MonitoringApi(mock).projects.notificationChannels;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5425,13 +5425,13 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5442,10 +5442,10 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNotificationChannelsResponse(response);
@@ -5672,17 +5672,17 @@
api.ProjectsTimeSeriesResourceApi res =
api.MonitoringApi(mock).projects.timeSeries;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_interval_startTime = 'foo';
- var arg_aggregation_crossSeriesReducer = 'foo';
- var arg_filter = 'foo';
- var arg_view = 'foo';
var arg_aggregation_alignmentPeriod = 'foo';
- var arg_orderBy = 'foo';
- var arg_aggregation_perSeriesAligner = 'foo';
- var arg_interval_endTime = 'foo';
- var arg_pageSize = 42;
+ var arg_aggregation_crossSeriesReducer = 'foo';
var arg_aggregation_groupByFields = buildUnnamed2118();
+ var arg_aggregation_perSeriesAligner = 'foo';
+ var arg_filter = 'foo';
+ var arg_interval_endTime = 'foo';
+ var arg_interval_startTime = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5711,26 +5711,26 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["interval.startTime"].first,
- unittest.equals(arg_interval_startTime));
- unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
- unittest.equals(arg_aggregation_crossSeriesReducer));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["aggregation.alignmentPeriod"].first,
unittest.equals(arg_aggregation_alignmentPeriod));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["aggregation.perSeriesAligner"].first,
- unittest.equals(arg_aggregation_perSeriesAligner));
- unittest.expect(queryMap["interval.endTime"].first,
- unittest.equals(arg_interval_endTime));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["aggregation.crossSeriesReducer"].first,
+ unittest.equals(arg_aggregation_crossSeriesReducer));
unittest.expect(queryMap["aggregation.groupByFields"],
unittest.equals(arg_aggregation_groupByFields));
+ unittest.expect(queryMap["aggregation.perSeriesAligner"].first,
+ unittest.equals(arg_aggregation_perSeriesAligner));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["interval.endTime"].first,
+ unittest.equals(arg_interval_endTime));
+ unittest.expect(queryMap["interval.startTime"].first,
+ unittest.equals(arg_interval_startTime));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5741,18 +5741,18 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- interval_startTime: arg_interval_startTime,
+ aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
aggregation_crossSeriesReducer:
arg_aggregation_crossSeriesReducer,
- filter: arg_filter,
- view: arg_view,
- aggregation_alignmentPeriod: arg_aggregation_alignmentPeriod,
- orderBy: arg_orderBy,
- aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
- interval_endTime: arg_interval_endTime,
- pageSize: arg_pageSize,
aggregation_groupByFields: arg_aggregation_groupByFields,
+ aggregation_perSeriesAligner: arg_aggregation_perSeriesAligner,
+ filter: arg_filter,
+ interval_endTime: arg_interval_endTime,
+ interval_startTime: arg_interval_startTime,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTimeSeriesResponse(response);
@@ -6230,8 +6230,8 @@
api.ServicesResourceApi res = api.MonitoringApi(mock).services;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6261,10 +6261,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6276,8 +6276,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -6501,10 +6501,10 @@
api.ServicesServiceLevelObjectivesResourceApi res =
api.MonitoringApi(mock).services.serviceLevelObjectives;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_view = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6533,12 +6533,12 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6550,10 +6550,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- view: arg_view,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServiceLevelObjectivesResponse(response);
@@ -6622,8 +6622,8 @@
var mock = HttpServerMock();
api.UptimeCheckIpsResourceApi res =
api.MonitoringApi(mock).uptimeCheckIps;
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -6651,10 +6651,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -6665,8 +6665,8 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUptimeCheckIpsResponse(response);
diff --git a/generated/googleapis/test/networkmanagement/v1_test.dart b/generated/googleapis/test/networkmanagement/v1_test.dart
index a9002d2..e5e8b5d 100644
--- a/generated/googleapis/test/networkmanagement/v1_test.dart
+++ b/generated/googleapis/test/networkmanagement/v1_test.dart
@@ -1791,8 +1791,8 @@
api.NetworkmanagementApi(mock).projects.locations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1822,10 +1822,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1837,8 +1837,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -2079,10 +2079,10 @@
.global
.connectivityTests;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2111,13 +2111,13 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2128,10 +2128,10 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConnectivityTestsResponse(response);
diff --git a/generated/googleapis/test/osconfig/v1_test.dart b/generated/googleapis/test/osconfig/v1_test.dart
index 24ef686..b507ebc 100644
--- a/generated/googleapis/test/osconfig/v1_test.dart
+++ b/generated/googleapis/test/osconfig/v1_test.dart
@@ -1689,9 +1689,9 @@
api.ProjectsPatchJobsResourceApi res =
api.OsconfigApi(mock).projects.patchJobs;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1720,11 +1720,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1735,9 +1735,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListPatchJobsResponse(response);
diff --git a/generated/googleapis/test/pagespeedonline/v5_test.dart b/generated/googleapis/test/pagespeedonline/v5_test.dart
index f78edc4..2b940fd 100644
--- a/generated/googleapis/test/pagespeedonline/v5_test.dart
+++ b/generated/googleapis/test/pagespeedonline/v5_test.dart
@@ -912,13 +912,13 @@
var mock = HttpServerMock();
api.PagespeedapiResourceApi res =
api.PagespeedonlineApi(mock).pagespeedapi;
- var arg_strategy = 'foo';
- var arg_utmCampaign = 'foo';
+ var arg_captchaToken = 'foo';
var arg_category = buildUnnamed2498();
var arg_locale = 'foo';
+ var arg_strategy = 'foo';
var arg_url = 'foo';
+ var arg_utmCampaign = 'foo';
var arg_utmSource = 'foo';
- var arg_captchaToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -947,16 +947,16 @@
}
}
unittest.expect(
- queryMap["strategy"].first, unittest.equals(arg_strategy));
- unittest.expect(
- queryMap["utm_campaign"].first, unittest.equals(arg_utmCampaign));
+ queryMap["captchaToken"].first, unittest.equals(arg_captchaToken));
unittest.expect(queryMap["category"], unittest.equals(arg_category));
unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
+ unittest.expect(
+ queryMap["strategy"].first, unittest.equals(arg_strategy));
unittest.expect(queryMap["url"].first, unittest.equals(arg_url));
unittest.expect(
- queryMap["utm_source"].first, unittest.equals(arg_utmSource));
+ queryMap["utm_campaign"].first, unittest.equals(arg_utmCampaign));
unittest.expect(
- queryMap["captchaToken"].first, unittest.equals(arg_captchaToken));
+ queryMap["utm_source"].first, unittest.equals(arg_utmSource));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -967,13 +967,13 @@
}), true);
res
.runpagespeed(
- strategy: arg_strategy,
- utmCampaign: arg_utmCampaign,
+ captchaToken: arg_captchaToken,
category: arg_category,
locale: arg_locale,
+ strategy: arg_strategy,
url: arg_url,
+ utmCampaign: arg_utmCampaign,
utmSource: arg_utmSource,
- captchaToken: arg_captchaToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPagespeedApiPagespeedResponseV5(response);
diff --git a/generated/googleapis/test/people/v1_test.dart b/generated/googleapis/test/people/v1_test.dart
index 1eb20ee..d4ffe8b 100644
--- a/generated/googleapis/test/people/v1_test.dart
+++ b/generated/googleapis/test/people/v1_test.dart
@@ -3464,10 +3464,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.OtherContactsResourceApi res = api.PeopleApi(mock).otherContacts;
- var arg_requestSyncToken = true;
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_readMask = 'foo';
- var arg_pageSize = 42;
+ var arg_requestSyncToken = true;
var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3496,14 +3496,14 @@
);
}
}
- unittest.expect(queryMap["requestSyncToken"].first,
- unittest.equals("$arg_requestSyncToken"));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["readMask"].first, unittest.equals(arg_readMask));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["requestSyncToken"].first,
+ unittest.equals("$arg_requestSyncToken"));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3516,10 +3516,10 @@
}), true);
res
.list(
- requestSyncToken: arg_requestSyncToken,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
readMask: arg_readMask,
- pageSize: arg_pageSize,
+ requestSyncToken: arg_requestSyncToken,
syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3637,8 +3637,8 @@
var mock = HttpServerMock();
api.PeopleResourceApi res = api.PeopleApi(mock).people;
var arg_resourceName = 'foo';
- var arg_sources = buildUnnamed4918();
var arg_personFields = 'foo';
+ var arg_sources = buildUnnamed4918();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3667,9 +3667,9 @@
);
}
}
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3680,8 +3680,8 @@
}), true);
res
.deleteContactPhoto(arg_resourceName,
- sources: arg_sources,
personFields: arg_personFields,
+ sources: arg_sources,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkDeleteContactPhotoResponse(response);
@@ -3692,9 +3692,9 @@
var mock = HttpServerMock();
api.PeopleResourceApi res = api.PeopleApi(mock).people;
var arg_resourceName = 'foo';
- var arg_sources = buildUnnamed4919();
- var arg_requestMask_includeField = 'foo';
var arg_personFields = 'foo';
+ var arg_requestMask_includeField = 'foo';
+ var arg_sources = buildUnnamed4919();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3723,11 +3723,11 @@
);
}
}
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
- unittest.expect(queryMap["requestMask.includeField"].first,
- unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(queryMap["requestMask.includeField"].first,
+ unittest.equals(arg_requestMask_includeField));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3738,9 +3738,9 @@
}), true);
res
.get(arg_resourceName,
- sources: arg_sources,
- requestMask_includeField: arg_requestMask_includeField,
personFields: arg_personFields,
+ requestMask_includeField: arg_requestMask_includeField,
+ sources: arg_sources,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPerson(response);
@@ -3750,8 +3750,8 @@
unittest.test('method--getBatchGet', () {
var mock = HttpServerMock();
api.PeopleResourceApi res = api.PeopleApi(mock).people;
- var arg_requestMask_includeField = 'foo';
var arg_personFields = 'foo';
+ var arg_requestMask_includeField = 'foo';
var arg_resourceNames = buildUnnamed4920();
var arg_sources = buildUnnamed4921();
var arg_$fields = 'foo';
@@ -3781,10 +3781,10 @@
);
}
}
- unittest.expect(queryMap["requestMask.includeField"].first,
- unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(queryMap["requestMask.includeField"].first,
+ unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["resourceNames"], unittest.equals(arg_resourceNames));
unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
@@ -3798,8 +3798,8 @@
}), true);
res
.getBatchGet(
- requestMask_includeField: arg_requestMask_includeField,
personFields: arg_personFields,
+ requestMask_includeField: arg_requestMask_includeField,
resourceNames: arg_resourceNames,
sources: arg_sources,
$fields: arg_$fields)
@@ -3811,13 +3811,13 @@
unittest.test('method--listDirectoryPeople', () {
var mock = HttpServerMock();
api.PeopleResourceApi res = api.PeopleApi(mock).people;
- var arg_syncToken = 'foo';
var arg_mergeSources = buildUnnamed4922();
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
+ var arg_readMask = 'foo';
var arg_requestSyncToken = true;
var arg_sources = buildUnnamed4923();
- var arg_readMask = 'foo';
- var arg_pageSize = 42;
+ var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3846,18 +3846,18 @@
}
}
unittest.expect(
- queryMap["syncToken"].first, unittest.equals(arg_syncToken));
- unittest.expect(
queryMap["mergeSources"], unittest.equals(arg_mergeSources));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["readMask"].first, unittest.equals(arg_readMask));
unittest.expect(queryMap["requestSyncToken"].first,
unittest.equals("$arg_requestSyncToken"));
unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(
- queryMap["readMask"].first, unittest.equals(arg_readMask));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3868,13 +3868,13 @@
}), true);
res
.listDirectoryPeople(
- syncToken: arg_syncToken,
mergeSources: arg_mergeSources,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ readMask: arg_readMask,
requestSyncToken: arg_requestSyncToken,
sources: arg_sources,
- readMask: arg_readMask,
- pageSize: arg_pageSize,
+ syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDirectoryPeopleResponse(response);
@@ -3885,11 +3885,11 @@
var mock = HttpServerMock();
api.PeopleResourceApi res = api.PeopleApi(mock).people;
var arg_mergeSources = buildUnnamed4924();
- var arg_sources = buildUnnamed4925();
- var arg_query = 'foo';
- var arg_pageToken = 'foo';
- var arg_readMask = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_query = 'foo';
+ var arg_readMask = 'foo';
+ var arg_sources = buildUnnamed4925();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3919,14 +3919,14 @@
}
unittest.expect(
queryMap["mergeSources"], unittest.equals(arg_mergeSources));
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
- unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["readMask"].first, unittest.equals(arg_readMask));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["query"].first, unittest.equals(arg_query));
+ unittest.expect(
+ queryMap["readMask"].first, unittest.equals(arg_readMask));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3938,11 +3938,11 @@
res
.searchDirectoryPeople(
mergeSources: arg_mergeSources,
- sources: arg_sources,
- query: arg_query,
- pageToken: arg_pageToken,
- readMask: arg_readMask,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ query: arg_query,
+ readMask: arg_readMask,
+ sources: arg_sources,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchDirectoryPeopleResponse(response);
@@ -3954,9 +3954,9 @@
api.PeopleResourceApi res = api.PeopleApi(mock).people;
var arg_request = buildPerson();
var arg_resourceName = 'foo';
- var arg_updatePersonFields = 'foo';
- var arg_sources = buildUnnamed4926();
var arg_personFields = 'foo';
+ var arg_sources = buildUnnamed4926();
+ var arg_updatePersonFields = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Person.fromJson(json);
@@ -3988,11 +3988,11 @@
);
}
}
- unittest.expect(queryMap["updatePersonFields"].first,
- unittest.equals(arg_updatePersonFields));
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
+ unittest.expect(queryMap["updatePersonFields"].first,
+ unittest.equals(arg_updatePersonFields));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4003,9 +4003,9 @@
}), true);
res
.updateContact(arg_request, arg_resourceName,
- updatePersonFields: arg_updatePersonFields,
- sources: arg_sources,
personFields: arg_personFields,
+ sources: arg_sources,
+ updatePersonFields: arg_updatePersonFields,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPerson(response);
@@ -4071,13 +4071,13 @@
api.PeopleConnectionsResourceApi res =
api.PeopleApi(mock).people.connections;
var arg_resourceName = 'foo';
- var arg_sortOrder = 'foo';
- var arg_requestSyncToken = true;
var arg_pageSize = 42;
- var arg_sources = buildUnnamed4927();
- var arg_requestMask_includeField = 'foo';
var arg_pageToken = 'foo';
var arg_personFields = 'foo';
+ var arg_requestMask_includeField = 'foo';
+ var arg_requestSyncToken = true;
+ var arg_sortOrder = 'foo';
+ var arg_sources = buildUnnamed4927();
var arg_syncToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4107,19 +4107,19 @@
);
}
}
- unittest.expect(
- queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
- unittest.expect(queryMap["requestSyncToken"].first,
- unittest.equals("$arg_requestSyncToken"));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
- unittest.expect(queryMap["requestMask.includeField"].first,
- unittest.equals(arg_requestMask_includeField));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["personFields"].first, unittest.equals(arg_personFields));
+ unittest.expect(queryMap["requestMask.includeField"].first,
+ unittest.equals(arg_requestMask_includeField));
+ unittest.expect(queryMap["requestSyncToken"].first,
+ unittest.equals("$arg_requestSyncToken"));
+ unittest.expect(
+ queryMap["sortOrder"].first, unittest.equals(arg_sortOrder));
+ unittest.expect(queryMap["sources"], unittest.equals(arg_sources));
unittest.expect(
queryMap["syncToken"].first, unittest.equals(arg_syncToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4132,13 +4132,13 @@
}), true);
res
.list(arg_resourceName,
- sortOrder: arg_sortOrder,
- requestSyncToken: arg_requestSyncToken,
pageSize: arg_pageSize,
- sources: arg_sources,
- requestMask_includeField: arg_requestMask_includeField,
pageToken: arg_pageToken,
personFields: arg_personFields,
+ requestMask_includeField: arg_requestMask_includeField,
+ requestSyncToken: arg_requestSyncToken,
+ sortOrder: arg_sortOrder,
+ sources: arg_sources,
syncToken: arg_syncToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/poly/v1_test.dart b/generated/googleapis/test/poly/v1_test.dart
index 96fdec5..a915d92 100644
--- a/generated/googleapis/test/poly/v1_test.dart
+++ b/generated/googleapis/test/poly/v1_test.dart
@@ -698,14 +698,14 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.AssetsResourceApi res = api.PolyApi(mock).assets;
- var arg_maxComplexity = 'foo';
- var arg_pageSize = 42;
- var arg_keywords = 'foo';
- var arg_pageToken = 'foo';
- var arg_curated = true;
- var arg_orderBy = 'foo';
var arg_category = 'foo';
+ var arg_curated = true;
var arg_format = 'foo';
+ var arg_keywords = 'foo';
+ var arg_maxComplexity = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -733,21 +733,21 @@
);
}
}
+ unittest.expect(
+ queryMap["category"].first, unittest.equals(arg_category));
+ unittest.expect(
+ queryMap["curated"].first, unittest.equals("$arg_curated"));
+ unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
+ unittest.expect(
+ queryMap["keywords"].first, unittest.equals(arg_keywords));
unittest.expect(queryMap["maxComplexity"].first,
unittest.equals(arg_maxComplexity));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["keywords"].first, unittest.equals(arg_keywords));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["curated"].first, unittest.equals("$arg_curated"));
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(
- queryMap["category"].first, unittest.equals(arg_category));
- unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -758,14 +758,14 @@
}), true);
res
.list(
- maxComplexity: arg_maxComplexity,
- pageSize: arg_pageSize,
- keywords: arg_keywords,
- pageToken: arg_pageToken,
- curated: arg_curated,
- orderBy: arg_orderBy,
category: arg_category,
+ curated: arg_curated,
format: arg_format,
+ keywords: arg_keywords,
+ maxComplexity: arg_maxComplexity,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssetsResponse(response);
@@ -778,11 +778,11 @@
var mock = HttpServerMock();
api.UsersAssetsResourceApi res = api.PolyApi(mock).users.assets;
var arg_name = 'foo';
- var arg_orderBy = 'foo';
var arg_format = 'foo';
- var arg_visibility = 'foo';
- var arg_pageToken = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_visibility = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -811,15 +811,15 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(
- queryMap["visibility"].first, unittest.equals(arg_visibility));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["visibility"].first, unittest.equals(arg_visibility));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -830,11 +830,11 @@
}), true);
res
.list(arg_name,
- orderBy: arg_orderBy,
format: arg_format,
- visibility: arg_visibility,
- pageToken: arg_pageToken,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ visibility: arg_visibility,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUserAssetsResponse(response);
@@ -847,10 +847,10 @@
var mock = HttpServerMock();
api.UsersLikedassetsResourceApi res = api.PolyApi(mock).users.likedassets;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_format = 'foo';
var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -879,13 +879,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["format"].first, unittest.equals(arg_format));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -896,10 +896,10 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
format: arg_format,
orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLikedAssetsResponse(response);
diff --git a/generated/googleapis/test/pubsub/v1_test.dart b/generated/googleapis/test/pubsub/v1_test.dart
index 1a5feff..d93d26b 100644
--- a/generated/googleapis/test/pubsub/v1_test.dart
+++ b/generated/googleapis/test/pubsub/v1_test.dart
@@ -1634,8 +1634,8 @@
api.ProjectsSnapshotsResourceApi res =
api.PubsubApi(mock).projects.snapshots;
var arg_project = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1664,10 +1664,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1678,8 +1678,8 @@
}), true);
res
.list(arg_project,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSnapshotsResponse(response);
@@ -3096,8 +3096,8 @@
api.ProjectsTopicsSubscriptionsResourceApi res =
api.PubsubApi(mock).projects.topics.subscriptions;
var arg_topic = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3126,10 +3126,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3140,8 +3140,8 @@
}), true);
res
.list(arg_topic,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTopicSubscriptionsResponse(response);
diff --git a/generated/googleapis/test/recommender/v1_test.dart b/generated/googleapis/test/recommender/v1_test.dart
index 1847668..e2e8a4f 100644
--- a/generated/googleapis/test/recommender/v1_test.dart
+++ b/generated/googleapis/test/recommender/v1_test.dart
@@ -1224,8 +1224,8 @@
.recommendations;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1255,10 +1255,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1271,8 +1271,8 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudRecommenderV1ListRecommendationsResponse(response);
diff --git a/generated/googleapis/test/redis/v1_test.dart b/generated/googleapis/test/redis/v1_test.dart
index 5e458e1..9baf73b 100644
--- a/generated/googleapis/test/redis/v1_test.dart
+++ b/generated/googleapis/test/redis/v1_test.dart
@@ -940,9 +940,9 @@
api.ProjectsLocationsResourceApi res =
api.RedisApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -971,11 +971,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -986,9 +986,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
@@ -1621,9 +1621,9 @@
api.ProjectsLocationsOperationsResourceApi res =
api.RedisApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1652,11 +1652,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1667,9 +1667,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/remotebuildexecution/v2_test.dart b/generated/googleapis/test/remotebuildexecution/v2_test.dart
index 4fd85a5..71be913 100644
--- a/generated/googleapis/test/remotebuildexecution/v2_test.dart
+++ b/generated/googleapis/test/remotebuildexecution/v2_test.dart
@@ -3967,9 +3967,9 @@
var arg_instanceName = 'foo';
var arg_hash = 'foo';
var arg_sizeBytes = 'foo';
- var arg_inlineStdout = true;
- var arg_inlineStderr = true;
var arg_inlineOutputFiles = buildUnnamed5190();
+ var arg_inlineStderr = true;
+ var arg_inlineStdout = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3998,12 +3998,12 @@
);
}
}
- unittest.expect(queryMap["inlineStdout"].first,
- unittest.equals("$arg_inlineStdout"));
- unittest.expect(queryMap["inlineStderr"].first,
- unittest.equals("$arg_inlineStderr"));
unittest.expect(queryMap["inlineOutputFiles"],
unittest.equals(arg_inlineOutputFiles));
+ unittest.expect(queryMap["inlineStderr"].first,
+ unittest.equals("$arg_inlineStderr"));
+ unittest.expect(queryMap["inlineStdout"].first,
+ unittest.equals("$arg_inlineStdout"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4015,9 +4015,9 @@
}), true);
res
.get(arg_instanceName, arg_hash, arg_sizeBytes,
- inlineStdout: arg_inlineStdout,
- inlineStderr: arg_inlineStderr,
inlineOutputFiles: arg_inlineOutputFiles,
+ inlineStderr: arg_inlineStderr,
+ inlineStdout: arg_inlineStdout,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBuildBazelRemoteExecutionV2ActionResult(response);
@@ -4309,8 +4309,8 @@
var arg_instanceName = 'foo';
var arg_hash = 'foo';
var arg_sizeBytes = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4339,10 +4339,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4354,8 +4354,8 @@
}), true);
res
.getTree(arg_instanceName, arg_hash, arg_sizeBytes,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBuildBazelRemoteExecutionV2GetTreeResponse(response);
diff --git a/generated/googleapis/test/reseller/v1_test.dart b/generated/googleapis/test/reseller/v1_test.dart
index 547aaba..51e1747 100644
--- a/generated/googleapis/test/reseller/v1_test.dart
+++ b/generated/googleapis/test/reseller/v1_test.dart
@@ -1422,10 +1422,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.SubscriptionsResourceApi res = api.ResellerApi(mock).subscriptions;
- var arg_maxResults = 42;
- var arg_customerNamePrefix = 'foo';
var arg_customerAuthToken = 'foo';
var arg_customerId = 'foo';
+ var arg_customerNamePrefix = 'foo';
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1457,14 +1457,14 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["customerNamePrefix"].first,
- unittest.equals(arg_customerNamePrefix));
unittest.expect(queryMap["customerAuthToken"].first,
unittest.equals(arg_customerAuthToken));
unittest.expect(
queryMap["customerId"].first, unittest.equals(arg_customerId));
+ unittest.expect(queryMap["customerNamePrefix"].first,
+ unittest.equals(arg_customerNamePrefix));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1477,10 +1477,10 @@
}), true);
res
.list(
- maxResults: arg_maxResults,
- customerNamePrefix: arg_customerNamePrefix,
customerAuthToken: arg_customerAuthToken,
customerId: arg_customerId,
+ customerNamePrefix: arg_customerNamePrefix,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/run/v1_test.dart b/generated/googleapis/test/run/v1_test.dart
index c89c823..0447c4f 100644
--- a/generated/googleapis/test/run/v1_test.dart
+++ b/generated/googleapis/test/run/v1_test.dart
@@ -2874,8 +2874,8 @@
api.NamespacesAuthorizeddomainsResourceApi res =
api.RunApi(mock).namespaces.authorizeddomains;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2904,10 +2904,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2918,8 +2918,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAuthorizedDomainsResponse(response);
@@ -2981,13 +2981,13 @@
api.NamespacesConfigurationsResourceApi res =
api.RunApi(mock).namespaces.configurations;
var arg_parent = 'foo';
+ var arg_continue_ = 'foo';
+ var arg_fieldSelector = 'foo';
var arg_includeUninitialized = true;
var arg_labelSelector = 'foo';
- var arg_resourceVersion = 'foo';
- var arg_fieldSelector = 'foo';
var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
var arg_watch = true;
- var arg_continue_ = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3016,19 +3016,19 @@
);
}
}
+ unittest.expect(
+ queryMap["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(queryMap["fieldSelector"].first,
+ unittest.equals(arg_fieldSelector));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
unittest.expect(queryMap["labelSelector"].first,
unittest.equals(arg_labelSelector));
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(queryMap["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
unittest.expect(core.int.parse(queryMap["limit"].first),
unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(
- queryMap["continue"].first, unittest.equals(arg_continue_));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3039,13 +3039,13 @@
}), true);
res
.list(arg_parent,
+ continue_: arg_continue_,
+ fieldSelector: arg_fieldSelector,
includeUninitialized: arg_includeUninitialized,
labelSelector: arg_labelSelector,
- resourceVersion: arg_resourceVersion,
- fieldSelector: arg_fieldSelector,
limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
watch: arg_watch,
- continue_: arg_continue_,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConfigurationsResponse(response);
@@ -3111,8 +3111,8 @@
api.NamespacesDomainmappingsResourceApi res =
api.RunApi(mock).namespaces.domainmappings;
var arg_name = 'foo';
- var arg_kind = 'foo';
var arg_apiVersion = 'foo';
+ var arg_kind = 'foo';
var arg_propagationPolicy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3142,9 +3142,9 @@
);
}
}
- unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
+ unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(queryMap["propagationPolicy"].first,
unittest.equals(arg_propagationPolicy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3157,8 +3157,8 @@
}), true);
res
.delete(arg_name,
- kind: arg_kind,
apiVersion: arg_apiVersion,
+ kind: arg_kind,
propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -3219,13 +3219,13 @@
api.NamespacesDomainmappingsResourceApi res =
api.RunApi(mock).namespaces.domainmappings;
var arg_parent = 'foo';
- var arg_limit = 42;
+ var arg_continue_ = 'foo';
var arg_fieldSelector = 'foo';
var arg_includeUninitialized = true;
- var arg_continue_ = 'foo';
+ var arg_labelSelector = 'foo';
+ var arg_limit = 42;
var arg_resourceVersion = 'foo';
var arg_watch = true;
- var arg_labelSelector = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3254,19 +3254,19 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
+ unittest.expect(
+ queryMap["continue"].first, unittest.equals(arg_continue_));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
- unittest.expect(
- queryMap["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
unittest.expect(queryMap["resourceVersion"].first,
unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3277,13 +3277,13 @@
}), true);
res
.list(arg_parent,
- limit: arg_limit,
+ continue_: arg_continue_,
fieldSelector: arg_fieldSelector,
includeUninitialized: arg_includeUninitialized,
- continue_: arg_continue_,
+ labelSelector: arg_labelSelector,
+ limit: arg_limit,
resourceVersion: arg_resourceVersion,
watch: arg_watch,
- labelSelector: arg_labelSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDomainMappingsResponse(response);
@@ -3405,13 +3405,13 @@
api.NamespacesRevisionsResourceApi res =
api.RunApi(mock).namespaces.revisions;
var arg_parent = 'foo';
- var arg_resourceVersion = 'foo';
- var arg_includeUninitialized = true;
- var arg_fieldSelector = 'foo';
- var arg_limit = 42;
- var arg_watch = true;
- var arg_labelSelector = 'foo';
var arg_continue_ = 'foo';
+ var arg_fieldSelector = 'foo';
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3440,19 +3440,19 @@
);
}
}
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
- unittest.expect(queryMap["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(queryMap["fieldSelector"].first,
+ unittest.equals(arg_fieldSelector));
+ unittest.expect(queryMap["includeUninitialized"].first,
+ unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3463,13 +3463,13 @@
}), true);
res
.list(arg_parent,
- resourceVersion: arg_resourceVersion,
- includeUninitialized: arg_includeUninitialized,
- fieldSelector: arg_fieldSelector,
- limit: arg_limit,
- watch: arg_watch,
- labelSelector: arg_labelSelector,
continue_: arg_continue_,
+ fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRevisionsResponse(response);
@@ -3530,12 +3530,12 @@
api.NamespacesRoutesResourceApi res = api.RunApi(mock).namespaces.routes;
var arg_parent = 'foo';
var arg_continue_ = 'foo';
+ var arg_fieldSelector = 'foo';
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = 'foo';
var arg_limit = 42;
var arg_resourceVersion = 'foo';
var arg_watch = true;
- var arg_labelSelector = 'foo';
- var arg_includeUninitialized = true;
- var arg_fieldSelector = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3566,17 +3566,17 @@
}
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(queryMap["fieldSelector"].first,
+ unittest.equals(arg_fieldSelector));
+ unittest.expect(queryMap["includeUninitialized"].first,
+ unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
unittest.expect(core.int.parse(queryMap["limit"].first),
unittest.equals(arg_limit));
unittest.expect(queryMap["resourceVersion"].first,
unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
- unittest.expect(queryMap["fieldSelector"].first,
- unittest.equals(arg_fieldSelector));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3588,12 +3588,12 @@
res
.list(arg_parent,
continue_: arg_continue_,
+ fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
limit: arg_limit,
resourceVersion: arg_resourceVersion,
watch: arg_watch,
- labelSelector: arg_labelSelector,
- includeUninitialized: arg_includeUninitialized,
- fieldSelector: arg_fieldSelector,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutesResponse(response);
@@ -3660,8 +3660,8 @@
api.RunApi(mock).namespaces.services;
var arg_name = 'foo';
var arg_apiVersion = 'foo';
- var arg_propagationPolicy = 'foo';
var arg_kind = 'foo';
+ var arg_propagationPolicy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3692,9 +3692,9 @@
}
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
+ unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(queryMap["propagationPolicy"].first,
unittest.equals(arg_propagationPolicy));
- unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3706,8 +3706,8 @@
res
.delete(arg_name,
apiVersion: arg_apiVersion,
- propagationPolicy: arg_propagationPolicy,
kind: arg_kind,
+ propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -3769,11 +3769,11 @@
var arg_parent = 'foo';
var arg_continue_ = 'foo';
var arg_fieldSelector = 'foo';
- var arg_watch = true;
- var arg_resourceVersion = 'foo';
- var arg_limit = 42;
var arg_includeUninitialized = true;
var arg_labelSelector = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3806,15 +3806,15 @@
queryMap["continue"].first, unittest.equals(arg_continue_));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
unittest.expect(queryMap["labelSelector"].first,
unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3827,11 +3827,11 @@
.list(arg_parent,
continue_: arg_continue_,
fieldSelector: arg_fieldSelector,
- watch: arg_watch,
- resourceVersion: arg_resourceVersion,
- limit: arg_limit,
includeUninitialized: arg_includeUninitialized,
labelSelector: arg_labelSelector,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
@@ -3956,8 +3956,8 @@
api.ProjectsLocationsResourceApi res =
api.RunApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3987,9 +3987,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4002,8 +4002,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4018,8 +4018,8 @@
api.ProjectsLocationsAuthorizeddomainsResourceApi res =
api.RunApi(mock).projects.locations.authorizeddomains;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4048,10 +4048,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4062,8 +4062,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAuthorizedDomainsResponse(response);
@@ -4125,13 +4125,13 @@
api.ProjectsLocationsConfigurationsResourceApi res =
api.RunApi(mock).projects.locations.configurations;
var arg_parent = 'foo';
- var arg_labelSelector = 'foo';
- var arg_resourceVersion = 'foo';
var arg_continue_ = 'foo';
- var arg_includeUninitialized = true;
- var arg_limit = 42;
- var arg_watch = true;
var arg_fieldSelector = 'foo';
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4160,19 +4160,19 @@
);
}
}
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
+ unittest.expect(queryMap["includeUninitialized"].first,
+ unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4183,13 +4183,13 @@
}), true);
res
.list(arg_parent,
- labelSelector: arg_labelSelector,
- resourceVersion: arg_resourceVersion,
continue_: arg_continue_,
- includeUninitialized: arg_includeUninitialized,
- limit: arg_limit,
- watch: arg_watch,
fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListConfigurationsResponse(response);
@@ -4255,8 +4255,8 @@
api.ProjectsLocationsDomainmappingsResourceApi res =
api.RunApi(mock).projects.locations.domainmappings;
var arg_name = 'foo';
- var arg_kind = 'foo';
var arg_apiVersion = 'foo';
+ var arg_kind = 'foo';
var arg_propagationPolicy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -4286,9 +4286,9 @@
);
}
}
- unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
+ unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(queryMap["propagationPolicy"].first,
unittest.equals(arg_propagationPolicy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -4301,8 +4301,8 @@
}), true);
res
.delete(arg_name,
- kind: arg_kind,
apiVersion: arg_apiVersion,
+ kind: arg_kind,
propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4363,13 +4363,13 @@
api.ProjectsLocationsDomainmappingsResourceApi res =
api.RunApi(mock).projects.locations.domainmappings;
var arg_parent = 'foo';
- var arg_resourceVersion = 'foo';
- var arg_limit = 42;
- var arg_labelSelector = 'foo';
var arg_continue_ = 'foo';
- var arg_includeUninitialized = true;
- var arg_watch = true;
var arg_fieldSelector = 'foo';
+ var arg_includeUninitialized = true;
+ var arg_labelSelector = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4398,19 +4398,19 @@
);
}
}
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["includeUninitialized"].first,
- unittest.equals("$arg_includeUninitialized"));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
+ unittest.expect(queryMap["includeUninitialized"].first,
+ unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4421,13 +4421,13 @@
}), true);
res
.list(arg_parent,
- resourceVersion: arg_resourceVersion,
- limit: arg_limit,
- labelSelector: arg_labelSelector,
continue_: arg_continue_,
- includeUninitialized: arg_includeUninitialized,
- watch: arg_watch,
fieldSelector: arg_fieldSelector,
+ includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDomainMappingsResponse(response);
@@ -4441,9 +4441,9 @@
api.ProjectsLocationsRevisionsResourceApi res =
api.RunApi(mock).projects.locations.revisions;
var arg_name = 'foo';
+ var arg_apiVersion = 'foo';
var arg_kind = 'foo';
var arg_propagationPolicy = 'foo';
- var arg_apiVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4472,11 +4472,11 @@
);
}
}
+ unittest.expect(
+ queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
unittest.expect(queryMap["propagationPolicy"].first,
unittest.equals(arg_propagationPolicy));
- unittest.expect(
- queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4487,9 +4487,9 @@
}), true);
res
.delete(arg_name,
+ apiVersion: arg_apiVersion,
kind: arg_kind,
propagationPolicy: arg_propagationPolicy,
- apiVersion: arg_apiVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -4549,13 +4549,13 @@
api.ProjectsLocationsRevisionsResourceApi res =
api.RunApi(mock).projects.locations.revisions;
var arg_parent = 'foo';
+ var arg_continue_ = 'foo';
var arg_fieldSelector = 'foo';
var arg_includeUninitialized = true;
- var arg_watch = true;
- var arg_resourceVersion = 'foo';
- var arg_limit = 42;
var arg_labelSelector = 'foo';
- var arg_continue_ = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4584,19 +4584,19 @@
);
}
}
+ unittest.expect(
+ queryMap["continue"].first, unittest.equals(arg_continue_));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
unittest.expect(queryMap["labelSelector"].first,
unittest.equals(arg_labelSelector));
- unittest.expect(
- queryMap["continue"].first, unittest.equals(arg_continue_));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4607,13 +4607,13 @@
}), true);
res
.list(arg_parent,
+ continue_: arg_continue_,
fieldSelector: arg_fieldSelector,
includeUninitialized: arg_includeUninitialized,
- watch: arg_watch,
- resourceVersion: arg_resourceVersion,
- limit: arg_limit,
labelSelector: arg_labelSelector,
- continue_: arg_continue_,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRevisionsResponse(response);
@@ -4675,13 +4675,13 @@
api.ProjectsLocationsRoutesResourceApi res =
api.RunApi(mock).projects.locations.routes;
var arg_parent = 'foo';
- var arg_limit = 42;
var arg_continue_ = 'foo';
- var arg_labelSelector = 'foo';
var arg_fieldSelector = 'foo';
- var arg_watch = true;
var arg_includeUninitialized = true;
+ var arg_labelSelector = 'foo';
+ var arg_limit = 42;
var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4710,19 +4710,19 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["labelSelector"].first,
- unittest.equals(arg_labelSelector));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
+ unittest.expect(queryMap["labelSelector"].first,
+ unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
unittest.expect(queryMap["resourceVersion"].first,
unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4733,13 +4733,13 @@
}), true);
res
.list(arg_parent,
- limit: arg_limit,
continue_: arg_continue_,
- labelSelector: arg_labelSelector,
fieldSelector: arg_fieldSelector,
- watch: arg_watch,
includeUninitialized: arg_includeUninitialized,
+ labelSelector: arg_labelSelector,
+ limit: arg_limit,
resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListRoutesResponse(response);
@@ -4805,9 +4805,9 @@
api.ProjectsLocationsServicesResourceApi res =
api.RunApi(mock).projects.locations.services;
var arg_name = 'foo';
- var arg_propagationPolicy = 'foo';
var arg_apiVersion = 'foo';
var arg_kind = 'foo';
+ var arg_propagationPolicy = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4836,11 +4836,11 @@
);
}
}
- unittest.expect(queryMap["propagationPolicy"].first,
- unittest.equals(arg_propagationPolicy));
unittest.expect(
queryMap["apiVersion"].first, unittest.equals(arg_apiVersion));
unittest.expect(queryMap["kind"].first, unittest.equals(arg_kind));
+ unittest.expect(queryMap["propagationPolicy"].first,
+ unittest.equals(arg_propagationPolicy));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4851,9 +4851,9 @@
}), true);
res
.delete(arg_name,
- propagationPolicy: arg_propagationPolicy,
apiVersion: arg_apiVersion,
kind: arg_kind,
+ propagationPolicy: arg_propagationPolicy,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkStatus(response);
@@ -4969,12 +4969,12 @@
api.RunApi(mock).projects.locations.services;
var arg_parent = 'foo';
var arg_continue_ = 'foo';
- var arg_watch = true;
var arg_fieldSelector = 'foo';
- var arg_limit = 42;
- var arg_resourceVersion = 'foo';
var arg_includeUninitialized = true;
var arg_labelSelector = 'foo';
+ var arg_limit = 42;
+ var arg_resourceVersion = 'foo';
+ var arg_watch = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5005,17 +5005,17 @@
}
unittest.expect(
queryMap["continue"].first, unittest.equals(arg_continue_));
- unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fieldSelector"].first,
unittest.equals(arg_fieldSelector));
- unittest.expect(core.int.parse(queryMap["limit"].first),
- unittest.equals(arg_limit));
- unittest.expect(queryMap["resourceVersion"].first,
- unittest.equals(arg_resourceVersion));
unittest.expect(queryMap["includeUninitialized"].first,
unittest.equals("$arg_includeUninitialized"));
unittest.expect(queryMap["labelSelector"].first,
unittest.equals(arg_labelSelector));
+ unittest.expect(core.int.parse(queryMap["limit"].first),
+ unittest.equals(arg_limit));
+ unittest.expect(queryMap["resourceVersion"].first,
+ unittest.equals(arg_resourceVersion));
+ unittest.expect(queryMap["watch"].first, unittest.equals("$arg_watch"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5027,12 +5027,12 @@
res
.list(arg_parent,
continue_: arg_continue_,
- watch: arg_watch,
fieldSelector: arg_fieldSelector,
- limit: arg_limit,
- resourceVersion: arg_resourceVersion,
includeUninitialized: arg_includeUninitialized,
labelSelector: arg_labelSelector,
+ limit: arg_limit,
+ resourceVersion: arg_resourceVersion,
+ watch: arg_watch,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
diff --git a/generated/googleapis/test/runtimeconfig/v1_test.dart b/generated/googleapis/test/runtimeconfig/v1_test.dart
index a04fdb5..58381e7 100644
--- a/generated/googleapis/test/runtimeconfig/v1_test.dart
+++ b/generated/googleapis/test/runtimeconfig/v1_test.dart
@@ -424,9 +424,9 @@
var mock = HttpServerMock();
api.OperationsResourceApi res = api.RuntimeconfigApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -455,11 +455,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -470,9 +470,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/safebrowsing/v4_test.dart b/generated/googleapis/test/safebrowsing/v4_test.dart
index ee9684b..d3b961b 100644
--- a/generated/googleapis/test/safebrowsing/v4_test.dart
+++ b/generated/googleapis/test/safebrowsing/v4_test.dart
@@ -1089,8 +1089,8 @@
api.EncodedFullHashesResourceApi res =
api.SafebrowsingApi(mock).encodedFullHashes;
var arg_encodedRequest = 'foo';
- var arg_clientVersion = 'foo';
var arg_clientId = 'foo';
+ var arg_clientVersion = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1121,10 +1121,10 @@
);
}
}
- unittest.expect(queryMap["clientVersion"].first,
- unittest.equals(arg_clientVersion));
unittest.expect(
queryMap["clientId"].first, unittest.equals(arg_clientId));
+ unittest.expect(queryMap["clientVersion"].first,
+ unittest.equals(arg_clientVersion));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1135,8 +1135,8 @@
}), true);
res
.get(arg_encodedRequest,
- clientVersion: arg_clientVersion,
clientId: arg_clientId,
+ clientVersion: arg_clientVersion,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkFindFullHashesResponse(response);
diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
index b2a343b..62cd413 100644
--- a/generated/googleapis/test/script/v1_test.dart
+++ b/generated/googleapis/test/script/v1_test.dart
@@ -1570,17 +1570,17 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ProcessesResourceApi res = api.ScriptApi(mock).processes;
- var arg_userProcessFilter_types = buildUnnamed1476();
var arg_pageSize = 42;
- var arg_userProcessFilter_startTime = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_userProcessFilter_deploymentId = 'foo';
+ var arg_userProcessFilter_endTime = 'foo';
var arg_userProcessFilter_functionName = 'foo';
var arg_userProcessFilter_projectName = 'foo';
- var arg_userProcessFilter_endTime = 'foo';
- var arg_userProcessFilter_statuses = buildUnnamed1477();
var arg_userProcessFilter_scriptId = 'foo';
- var arg_pageToken = 'foo';
+ var arg_userProcessFilter_startTime = 'foo';
+ var arg_userProcessFilter_statuses = buildUnnamed1476();
+ var arg_userProcessFilter_types = buildUnnamed1477();
var arg_userProcessFilter_userAccessLevels = buildUnnamed1478();
- var arg_userProcessFilter_deploymentId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1608,28 +1608,28 @@
);
}
}
- unittest.expect(queryMap["userProcessFilter.types"],
- unittest.equals(arg_userProcessFilter_types));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["userProcessFilter.startTime"].first,
- unittest.equals(arg_userProcessFilter_startTime));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["userProcessFilter.deploymentId"].first,
+ unittest.equals(arg_userProcessFilter_deploymentId));
+ unittest.expect(queryMap["userProcessFilter.endTime"].first,
+ unittest.equals(arg_userProcessFilter_endTime));
unittest.expect(queryMap["userProcessFilter.functionName"].first,
unittest.equals(arg_userProcessFilter_functionName));
unittest.expect(queryMap["userProcessFilter.projectName"].first,
unittest.equals(arg_userProcessFilter_projectName));
- unittest.expect(queryMap["userProcessFilter.endTime"].first,
- unittest.equals(arg_userProcessFilter_endTime));
- unittest.expect(queryMap["userProcessFilter.statuses"],
- unittest.equals(arg_userProcessFilter_statuses));
unittest.expect(queryMap["userProcessFilter.scriptId"].first,
unittest.equals(arg_userProcessFilter_scriptId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["userProcessFilter.startTime"].first,
+ unittest.equals(arg_userProcessFilter_startTime));
+ unittest.expect(queryMap["userProcessFilter.statuses"],
+ unittest.equals(arg_userProcessFilter_statuses));
+ unittest.expect(queryMap["userProcessFilter.types"],
+ unittest.equals(arg_userProcessFilter_types));
unittest.expect(queryMap["userProcessFilter.userAccessLevels"],
unittest.equals(arg_userProcessFilter_userAccessLevels));
- unittest.expect(queryMap["userProcessFilter.deploymentId"].first,
- unittest.equals(arg_userProcessFilter_deploymentId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1640,20 +1640,20 @@
}), true);
res
.list(
- userProcessFilter_types: arg_userProcessFilter_types,
pageSize: arg_pageSize,
- userProcessFilter_startTime: arg_userProcessFilter_startTime,
+ pageToken: arg_pageToken,
+ userProcessFilter_deploymentId:
+ arg_userProcessFilter_deploymentId,
+ userProcessFilter_endTime: arg_userProcessFilter_endTime,
userProcessFilter_functionName:
arg_userProcessFilter_functionName,
userProcessFilter_projectName: arg_userProcessFilter_projectName,
- userProcessFilter_endTime: arg_userProcessFilter_endTime,
- userProcessFilter_statuses: arg_userProcessFilter_statuses,
userProcessFilter_scriptId: arg_userProcessFilter_scriptId,
- pageToken: arg_pageToken,
+ userProcessFilter_startTime: arg_userProcessFilter_startTime,
+ userProcessFilter_statuses: arg_userProcessFilter_statuses,
+ userProcessFilter_types: arg_userProcessFilter_types,
userProcessFilter_userAccessLevels:
arg_userProcessFilter_userAccessLevels,
- userProcessFilter_deploymentId:
- arg_userProcessFilter_deploymentId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListUserProcessesResponse(response);
@@ -1663,16 +1663,16 @@
unittest.test('method--listScriptProcesses', () {
var mock = HttpServerMock();
api.ProcessesResourceApi res = api.ScriptApi(mock).processes;
- var arg_scriptProcessFilter_startTime = 'foo';
- var arg_scriptProcessFilter_functionName = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_scriptId = 'foo';
+ var arg_scriptProcessFilter_deploymentId = 'foo';
+ var arg_scriptProcessFilter_endTime = 'foo';
+ var arg_scriptProcessFilter_functionName = 'foo';
+ var arg_scriptProcessFilter_startTime = 'foo';
var arg_scriptProcessFilter_statuses = buildUnnamed1479();
var arg_scriptProcessFilter_types = buildUnnamed1480();
- var arg_pageToken = 'foo';
- var arg_scriptProcessFilter_deploymentId = 'foo';
var arg_scriptProcessFilter_userAccessLevels = buildUnnamed1481();
- var arg_pageSize = 42;
- var arg_scriptProcessFilter_endTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1700,26 +1700,26 @@
);
}
}
- unittest.expect(queryMap["scriptProcessFilter.startTime"].first,
- unittest.equals(arg_scriptProcessFilter_startTime));
- unittest.expect(queryMap["scriptProcessFilter.functionName"].first,
- unittest.equals(arg_scriptProcessFilter_functionName));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["scriptId"].first, unittest.equals(arg_scriptId));
+ unittest.expect(queryMap["scriptProcessFilter.deploymentId"].first,
+ unittest.equals(arg_scriptProcessFilter_deploymentId));
+ unittest.expect(queryMap["scriptProcessFilter.endTime"].first,
+ unittest.equals(arg_scriptProcessFilter_endTime));
+ unittest.expect(queryMap["scriptProcessFilter.functionName"].first,
+ unittest.equals(arg_scriptProcessFilter_functionName));
+ unittest.expect(queryMap["scriptProcessFilter.startTime"].first,
+ unittest.equals(arg_scriptProcessFilter_startTime));
unittest.expect(queryMap["scriptProcessFilter.statuses"],
unittest.equals(arg_scriptProcessFilter_statuses));
unittest.expect(queryMap["scriptProcessFilter.types"],
unittest.equals(arg_scriptProcessFilter_types));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["scriptProcessFilter.deploymentId"].first,
- unittest.equals(arg_scriptProcessFilter_deploymentId));
unittest.expect(queryMap["scriptProcessFilter.userAccessLevels"],
unittest.equals(arg_scriptProcessFilter_userAccessLevels));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
- unittest.expect(queryMap["scriptProcessFilter.endTime"].first,
- unittest.equals(arg_scriptProcessFilter_endTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1730,19 +1730,19 @@
}), true);
res
.listScriptProcesses(
- scriptProcessFilter_startTime: arg_scriptProcessFilter_startTime,
- scriptProcessFilter_functionName:
- arg_scriptProcessFilter_functionName,
- scriptId: arg_scriptId,
- scriptProcessFilter_statuses: arg_scriptProcessFilter_statuses,
- scriptProcessFilter_types: arg_scriptProcessFilter_types,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
+ scriptId: arg_scriptId,
scriptProcessFilter_deploymentId:
arg_scriptProcessFilter_deploymentId,
+ scriptProcessFilter_endTime: arg_scriptProcessFilter_endTime,
+ scriptProcessFilter_functionName:
+ arg_scriptProcessFilter_functionName,
+ scriptProcessFilter_startTime: arg_scriptProcessFilter_startTime,
+ scriptProcessFilter_statuses: arg_scriptProcessFilter_statuses,
+ scriptProcessFilter_types: arg_scriptProcessFilter_types,
scriptProcessFilter_userAccessLevels:
arg_scriptProcessFilter_userAccessLevels,
- pageSize: arg_pageSize,
- scriptProcessFilter_endTime: arg_scriptProcessFilter_endTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListScriptProcessesResponse(response);
@@ -1912,8 +1912,8 @@
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.ScriptApi(mock).projects;
var arg_scriptId = 'foo';
- var arg_metricsGranularity = 'foo';
var arg_metricsFilter_deploymentId = 'foo';
+ var arg_metricsGranularity = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1950,10 +1950,10 @@
);
}
}
- unittest.expect(queryMap["metricsGranularity"].first,
- unittest.equals(arg_metricsGranularity));
unittest.expect(queryMap["metricsFilter.deploymentId"].first,
unittest.equals(arg_metricsFilter_deploymentId));
+ unittest.expect(queryMap["metricsGranularity"].first,
+ unittest.equals(arg_metricsGranularity));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1964,8 +1964,8 @@
}), true);
res
.getMetrics(arg_scriptId,
- metricsGranularity: arg_metricsGranularity,
metricsFilter_deploymentId: arg_metricsFilter_deploymentId,
+ metricsGranularity: arg_metricsGranularity,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMetrics(response);
diff --git a/generated/googleapis/test/secretmanager/v1_test.dart b/generated/googleapis/test/secretmanager/v1_test.dart
index 073e6c3..c57a8f8 100644
--- a/generated/googleapis/test/secretmanager/v1_test.dart
+++ b/generated/googleapis/test/secretmanager/v1_test.dart
@@ -1220,9 +1220,9 @@
api.ProjectsLocationsResourceApi res =
api.SecretmanagerApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1251,11 +1251,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1266,9 +1266,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListLocationsResponse(response);
diff --git a/generated/googleapis/test/securitycenter/v1_test.dart b/generated/googleapis/test/securitycenter/v1_test.dart
index a4942ca..553b966 100644
--- a/generated/googleapis/test/securitycenter/v1_test.dart
+++ b/generated/googleapis/test/securitycenter/v1_test.dart
@@ -2204,13 +2204,13 @@
api.OrganizationsAssetsResourceApi res =
api.SecuritycenterApi(mock).organizations.assets;
var arg_parent = 'foo';
- var arg_orderBy = 'foo';
+ var arg_compareDuration = 'foo';
var arg_fieldMask = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
- var arg_compareDuration = 'foo';
- var arg_readTime = 'foo';
+ var arg_orderBy = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_readTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2239,19 +2239,19 @@
);
}
}
- unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ unittest.expect(queryMap["compareDuration"].first,
+ unittest.equals(arg_compareDuration));
unittest.expect(
queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["compareDuration"].first,
- unittest.equals(arg_compareDuration));
- unittest.expect(
- queryMap["readTime"].first, unittest.equals(arg_readTime));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["readTime"].first, unittest.equals(arg_readTime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2262,13 +2262,13 @@
}), true);
res
.list(arg_parent,
- orderBy: arg_orderBy,
+ compareDuration: arg_compareDuration,
fieldMask: arg_fieldMask,
filter: arg_filter,
- pageToken: arg_pageToken,
- compareDuration: arg_compareDuration,
- readTime: arg_readTime,
+ orderBy: arg_orderBy,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ readTime: arg_readTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListAssetsResponse(response);
@@ -2547,8 +2547,8 @@
api.OrganizationsNotificationConfigsResourceApi res =
api.SecuritycenterApi(mock).organizations.notificationConfigs;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2577,10 +2577,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2591,8 +2591,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListNotificationConfigsResponse(response);
@@ -3020,8 +3020,8 @@
api.OrganizationsSourcesResourceApi res =
api.SecuritycenterApi(mock).organizations.sources;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3050,10 +3050,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3064,8 +3064,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListSourcesResponse(response);
@@ -3347,13 +3347,13 @@
api.OrganizationsSourcesFindingsResourceApi res =
api.SecuritycenterApi(mock).organizations.sources.findings;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_compareDuration = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
- var arg_filter = 'foo';
- var arg_readTime = 'foo';
var arg_fieldMask = 'foo';
+ var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_readTime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3382,19 +3382,19 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["compareDuration"].first,
unittest.equals(arg_compareDuration));
+ unittest.expect(
+ queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["readTime"].first, unittest.equals(arg_readTime));
- unittest.expect(
- queryMap["fieldMask"].first, unittest.equals(arg_fieldMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3405,13 +3405,13 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
compareDuration: arg_compareDuration,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
- filter: arg_filter,
- readTime: arg_readTime,
fieldMask: arg_fieldMask,
+ filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ readTime: arg_readTime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListFindingsResponse(response);
@@ -3532,8 +3532,8 @@
api.SecuritycenterApi(mock).organizations.sources.findings;
var arg_request = buildSecurityMarks();
var arg_name = 'foo';
- var arg_updateMask = 'foo';
var arg_startTime = 'foo';
+ var arg_updateMask = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.SecurityMarks.fromJson(json);
@@ -3566,9 +3566,9 @@
}
}
unittest.expect(
- queryMap["updateMask"].first, unittest.equals(arg_updateMask));
- unittest.expect(
queryMap["startTime"].first, unittest.equals(arg_startTime));
+ unittest.expect(
+ queryMap["updateMask"].first, unittest.equals(arg_updateMask));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3579,8 +3579,8 @@
}), true);
res
.updateSecurityMarks(arg_request, arg_name,
- updateMask: arg_updateMask,
startTime: arg_startTime,
+ updateMask: arg_updateMask,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSecurityMarks(response);
diff --git a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
index 8134e40..d1726ba 100644
--- a/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
+++ b/generated/googleapis/test/serviceconsumermanagement/v1_test.dart
@@ -4190,9 +4190,9 @@
api.OperationsResourceApi res =
api.ServiceconsumermanagementApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4221,11 +4221,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4236,9 +4236,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/servicemanagement/v1_test.dart b/generated/googleapis/test/servicemanagement/v1_test.dart
index 5621280..cd4b2a1 100644
--- a/generated/googleapis/test/servicemanagement/v1_test.dart
+++ b/generated/googleapis/test/servicemanagement/v1_test.dart
@@ -4165,10 +4165,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.OperationsResourceApi res = api.ServicemanagementApi(mock).operations;
- var arg_pageSize = 42;
- var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
+ var arg_name = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4196,12 +4196,12 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4212,10 +4212,10 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- name: arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
+ name: arg_name,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4483,8 +4483,8 @@
var mock = HttpServerMock();
api.ServicesResourceApi res = api.ServicemanagementApi(mock).services;
var arg_serviceName = 'foo';
- var arg_view = 'foo';
var arg_configId = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4521,9 +4521,9 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["configId"].first, unittest.equals(arg_configId));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4534,7 +4534,7 @@
}), true);
res
.getConfig(arg_serviceName,
- view: arg_view, configId: arg_configId, $fields: arg_$fields)
+ configId: arg_configId, view: arg_view, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkService(response);
})));
@@ -4594,10 +4594,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.ServicesResourceApi res = api.ServicemanagementApi(mock).services;
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
- var arg_producerProjectId = 'foo';
var arg_consumerId = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
+ var arg_producerProjectId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4626,13 +4626,13 @@
}
}
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["consumerId"].first, unittest.equals(arg_consumerId));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["producerProjectId"].first,
unittest.equals(arg_producerProjectId));
- unittest.expect(
- queryMap["consumerId"].first, unittest.equals(arg_consumerId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4643,10 +4643,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
- producerProjectId: arg_producerProjectId,
consumerId: arg_consumerId,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
+ producerProjectId: arg_producerProjectId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
diff --git a/generated/googleapis/test/servicenetworking/v1_test.dart b/generated/googleapis/test/servicenetworking/v1_test.dart
index b2d7661..2e58c45 100644
--- a/generated/googleapis/test/servicenetworking/v1_test.dart
+++ b/generated/googleapis/test/servicenetworking/v1_test.dart
@@ -4132,9 +4132,9 @@
var mock = HttpServerMock();
api.OperationsResourceApi res = api.ServicenetworkingApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4163,11 +4163,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4178,9 +4178,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/serviceusage/v1_test.dart b/generated/googleapis/test/serviceusage/v1_test.dart
index 7959b4a..133a4fc 100644
--- a/generated/googleapis/test/serviceusage/v1_test.dart
+++ b/generated/googleapis/test/serviceusage/v1_test.dart
@@ -3931,9 +3931,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.OperationsResourceApi res = api.ServiceusageApi(mock).operations;
- var arg_pageSize = 42;
- var arg_name = 'foo';
var arg_filter = 'foo';
+ var arg_name = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -3962,10 +3962,10 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -3978,9 +3978,9 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
- name: arg_name,
filter: arg_filter,
+ name: arg_name,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -4243,9 +4243,9 @@
var mock = HttpServerMock();
api.ServicesResourceApi res = api.ServiceusageApi(mock).services;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4274,11 +4274,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4289,9 +4289,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListServicesResponse(response);
diff --git a/generated/googleapis/test/sheets/v4_test.dart b/generated/googleapis/test/sheets/v4_test.dart
index 894dc58..2f0200c 100644
--- a/generated/googleapis/test/sheets/v4_test.dart
+++ b/generated/googleapis/test/sheets/v4_test.dart
@@ -9259,8 +9259,8 @@
var mock = HttpServerMock();
api.SpreadsheetsResourceApi res = api.SheetsApi(mock).spreadsheets;
var arg_spreadsheetId = 'foo';
- var arg_ranges = buildUnnamed549();
var arg_includeGridData = true;
+ var arg_ranges = buildUnnamed549();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9291,9 +9291,9 @@
);
}
}
- unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["includeGridData"].first,
unittest.equals("$arg_includeGridData"));
+ unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9304,8 +9304,8 @@
}), true);
res
.get(arg_spreadsheetId,
- ranges: arg_ranges,
includeGridData: arg_includeGridData,
+ ranges: arg_ranges,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSpreadsheet(response);
@@ -9575,11 +9575,11 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = 'foo';
var arg_range = 'foo';
- var arg_responseValueRenderOption = 'foo';
- var arg_responseDateTimeRenderOption = 'foo';
var arg_includeValuesInResponse = true;
- var arg_valueInputOption = 'foo';
var arg_insertDataOption = 'foo';
+ var arg_responseDateTimeRenderOption = 'foo';
+ var arg_responseValueRenderOption = 'foo';
+ var arg_valueInputOption = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.ValueRange.fromJson(json);
@@ -9628,16 +9628,16 @@
);
}
}
- unittest.expect(queryMap["responseValueRenderOption"].first,
- unittest.equals(arg_responseValueRenderOption));
- unittest.expect(queryMap["responseDateTimeRenderOption"].first,
- unittest.equals(arg_responseDateTimeRenderOption));
unittest.expect(queryMap["includeValuesInResponse"].first,
unittest.equals("$arg_includeValuesInResponse"));
- unittest.expect(queryMap["valueInputOption"].first,
- unittest.equals(arg_valueInputOption));
unittest.expect(queryMap["insertDataOption"].first,
unittest.equals(arg_insertDataOption));
+ unittest.expect(queryMap["responseDateTimeRenderOption"].first,
+ unittest.equals(arg_responseDateTimeRenderOption));
+ unittest.expect(queryMap["responseValueRenderOption"].first,
+ unittest.equals(arg_responseValueRenderOption));
+ unittest.expect(queryMap["valueInputOption"].first,
+ unittest.equals(arg_valueInputOption));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9648,11 +9648,11 @@
}), true);
res
.append(arg_request, arg_spreadsheetId, arg_range,
- responseValueRenderOption: arg_responseValueRenderOption,
- responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
includeValuesInResponse: arg_includeValuesInResponse,
- valueInputOption: arg_valueInputOption,
insertDataOption: arg_insertDataOption,
+ responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
+ responseValueRenderOption: arg_responseValueRenderOption,
+ valueInputOption: arg_valueInputOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkAppendValuesResponse(response);
@@ -9786,10 +9786,10 @@
api.SpreadsheetsValuesResourceApi res =
api.SheetsApi(mock).spreadsheets.values;
var arg_spreadsheetId = 'foo';
- var arg_ranges = buildUnnamed550();
var arg_dateTimeRenderOption = 'foo';
- var arg_valueRenderOption = 'foo';
var arg_majorDimension = 'foo';
+ var arg_ranges = buildUnnamed550();
+ var arg_valueRenderOption = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9826,13 +9826,13 @@
);
}
}
- unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
unittest.expect(queryMap["dateTimeRenderOption"].first,
unittest.equals(arg_dateTimeRenderOption));
- unittest.expect(queryMap["valueRenderOption"].first,
- unittest.equals(arg_valueRenderOption));
unittest.expect(queryMap["majorDimension"].first,
unittest.equals(arg_majorDimension));
+ unittest.expect(queryMap["ranges"], unittest.equals(arg_ranges));
+ unittest.expect(queryMap["valueRenderOption"].first,
+ unittest.equals(arg_valueRenderOption));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9843,10 +9843,10 @@
}), true);
res
.batchGet(arg_spreadsheetId,
- ranges: arg_ranges,
dateTimeRenderOption: arg_dateTimeRenderOption,
- valueRenderOption: arg_valueRenderOption,
majorDimension: arg_majorDimension,
+ ranges: arg_ranges,
+ valueRenderOption: arg_valueRenderOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBatchGetValuesResponse(response);
@@ -10114,9 +10114,9 @@
api.SheetsApi(mock).spreadsheets.values;
var arg_spreadsheetId = 'foo';
var arg_range = 'foo';
- var arg_valueRenderOption = 'foo';
var arg_dateTimeRenderOption = 'foo';
var arg_majorDimension = 'foo';
+ var arg_valueRenderOption = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10156,12 +10156,12 @@
);
}
}
- unittest.expect(queryMap["valueRenderOption"].first,
- unittest.equals(arg_valueRenderOption));
unittest.expect(queryMap["dateTimeRenderOption"].first,
unittest.equals(arg_dateTimeRenderOption));
unittest.expect(queryMap["majorDimension"].first,
unittest.equals(arg_majorDimension));
+ unittest.expect(queryMap["valueRenderOption"].first,
+ unittest.equals(arg_valueRenderOption));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10172,9 +10172,9 @@
}), true);
res
.get(arg_spreadsheetId, arg_range,
- valueRenderOption: arg_valueRenderOption,
dateTimeRenderOption: arg_dateTimeRenderOption,
majorDimension: arg_majorDimension,
+ valueRenderOption: arg_valueRenderOption,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkValueRange(response);
@@ -10188,10 +10188,10 @@
var arg_request = buildValueRange();
var arg_spreadsheetId = 'foo';
var arg_range = 'foo';
+ var arg_includeValuesInResponse = true;
var arg_responseDateTimeRenderOption = 'foo';
var arg_responseValueRenderOption = 'foo';
var arg_valueInputOption = 'foo';
- var arg_includeValuesInResponse = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.ValueRange.fromJson(json);
@@ -10234,14 +10234,14 @@
);
}
}
+ unittest.expect(queryMap["includeValuesInResponse"].first,
+ unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["responseDateTimeRenderOption"].first,
unittest.equals(arg_responseDateTimeRenderOption));
unittest.expect(queryMap["responseValueRenderOption"].first,
unittest.equals(arg_responseValueRenderOption));
unittest.expect(queryMap["valueInputOption"].first,
unittest.equals(arg_valueInputOption));
- unittest.expect(queryMap["includeValuesInResponse"].first,
- unittest.equals("$arg_includeValuesInResponse"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10252,10 +10252,10 @@
}), true);
res
.update(arg_request, arg_spreadsheetId, arg_range,
+ includeValuesInResponse: arg_includeValuesInResponse,
responseDateTimeRenderOption: arg_responseDateTimeRenderOption,
responseValueRenderOption: arg_responseValueRenderOption,
valueInputOption: arg_valueInputOption,
- includeValuesInResponse: arg_includeValuesInResponse,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkUpdateValuesResponse(response);
diff --git a/generated/googleapis/test/slides/v1_test.dart b/generated/googleapis/test/slides/v1_test.dart
index c691397..d83e348 100644
--- a/generated/googleapis/test/slides/v1_test.dart
+++ b/generated/googleapis/test/slides/v1_test.dart
@@ -4888,8 +4888,8 @@
api.SlidesApi(mock).presentations.pages;
var arg_presentationId = 'foo';
var arg_pageObjectId = 'foo';
- var arg_thumbnailProperties_thumbnailSize = 'foo';
var arg_thumbnailProperties_mimeType = 'foo';
+ var arg_thumbnailProperties_thumbnailSize = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4935,10 +4935,10 @@
);
}
}
- unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first,
- unittest.equals(arg_thumbnailProperties_thumbnailSize));
unittest.expect(queryMap["thumbnailProperties.mimeType"].first,
unittest.equals(arg_thumbnailProperties_mimeType));
+ unittest.expect(queryMap["thumbnailProperties.thumbnailSize"].first,
+ unittest.equals(arg_thumbnailProperties_thumbnailSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4949,9 +4949,9 @@
}), true);
res
.getThumbnail(arg_presentationId, arg_pageObjectId,
+ thumbnailProperties_mimeType: arg_thumbnailProperties_mimeType,
thumbnailProperties_thumbnailSize:
arg_thumbnailProperties_thumbnailSize,
- thumbnailProperties_mimeType: arg_thumbnailProperties_mimeType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkThumbnail(response);
diff --git a/generated/googleapis/test/spanner/v1_test.dart b/generated/googleapis/test/spanner/v1_test.dart
index b8cf4f5..78ec6c9 100644
--- a/generated/googleapis/test/spanner/v1_test.dart
+++ b/generated/googleapis/test/spanner/v1_test.dart
@@ -3896,9 +3896,9 @@
api.ProjectsInstancesResourceApi res =
api.SpannerApi(mock).projects.instances;
var arg_parent = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3927,11 +3927,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3942,9 +3942,9 @@
}), true);
res
.list(arg_parent,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListInstancesResponse(response);
@@ -4380,9 +4380,9 @@
api.ProjectsInstancesBackupsResourceApi res =
api.SpannerApi(mock).projects.instances.backups;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4411,11 +4411,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4426,9 +4426,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListBackupsResponse(response);
@@ -4746,9 +4746,9 @@
api.ProjectsInstancesBackupsOperationsResourceApi res =
api.SpannerApi(mock).projects.instances.backups.operations;
var arg_name = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4777,11 +4777,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4792,9 +4792,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -4808,9 +4808,9 @@
api.ProjectsInstancesDatabaseOperationsResourceApi res =
api.SpannerApi(mock).projects.instances.databaseOperations;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4839,11 +4839,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4854,9 +4854,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListDatabaseOperationsResponse(response);
@@ -5531,8 +5531,8 @@
api.SpannerApi(mock).projects.instances.databases.operations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -5562,10 +5562,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5577,8 +5577,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -6052,8 +6052,8 @@
api.ProjectsInstancesDatabasesSessionsResourceApi res =
api.SpannerApi(mock).projects.instances.databases.sessions;
var arg_database = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -6083,9 +6083,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -6098,8 +6098,8 @@
}), true);
res
.list(arg_database,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
index 727c06f..ac0054c 100644
--- a/generated/googleapis/test/speech/v1_test.dart
+++ b/generated/googleapis/test/speech/v1_test.dart
@@ -825,8 +825,8 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.OperationsResourceApi res = api.SpeechApi(mock).operations;
- var arg_name = 'foo';
var arg_filter = 'foo';
+ var arg_name = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
@@ -856,8 +856,8 @@
);
}
}
- unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(queryMap["name"].first, unittest.equals(arg_name));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
@@ -872,8 +872,8 @@
}), true);
res
.list(
- name: arg_name,
filter: arg_filter,
+ name: arg_name,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
@@ -937,8 +937,8 @@
api.ProjectsLocationsOperationsResourceApi res =
api.SpeechApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -968,9 +968,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -983,8 +983,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
index ea92e12..c78298d 100644
--- a/generated/googleapis/test/storagetransfer/v1_test.dart
+++ b/generated/googleapis/test/storagetransfer/v1_test.dart
@@ -1315,8 +1315,8 @@
var mock = HttpServerMock();
api.TransferJobsResourceApi res =
api.StoragetransferApi(mock).transferJobs;
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1345,9 +1345,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1360,8 +1360,8 @@
}), true);
res
.list(
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1528,9 +1528,9 @@
api.TransferOperationsResourceApi res =
api.StoragetransferApi(mock).transferOperations;
var arg_name = 'foo';
+ var arg_filter = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_filter = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1559,11 +1559,11 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1574,9 +1574,9 @@
}), true);
res
.list(arg_name,
+ filter: arg_filter,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/streetviewpublish/v1_test.dart b/generated/googleapis/test/streetviewpublish/v1_test.dart
index 6875c96..505543f 100644
--- a/generated/googleapis/test/streetviewpublish/v1_test.dart
+++ b/generated/googleapis/test/streetviewpublish/v1_test.dart
@@ -956,8 +956,8 @@
var mock = HttpServerMock();
api.PhotoResourceApi res = api.StreetviewpublishApi(mock).photo;
var arg_photoId = 'foo';
- var arg_view = 'foo';
var arg_languageCode = 'foo';
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -988,9 +988,9 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1001,8 +1001,8 @@
}), true);
res
.get(arg_photoId,
- view: arg_view,
languageCode: arg_languageCode,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPhoto(response);
@@ -1169,9 +1169,9 @@
unittest.test('method--batchGet', () {
var mock = HttpServerMock();
api.PhotosResourceApi res = api.StreetviewpublishApi(mock).photos;
- var arg_view = 'foo';
var arg_languageCode = 'foo';
var arg_photoIds = buildUnnamed5731();
+ var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1199,10 +1199,10 @@
);
}
}
- unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
unittest.expect(queryMap["photoIds"], unittest.equals(arg_photoIds));
+ unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1213,9 +1213,9 @@
}), true);
res
.batchGet(
- view: arg_view,
languageCode: arg_languageCode,
photoIds: arg_photoIds,
+ view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkBatchGetPhotosResponse(response);
@@ -1274,10 +1274,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.PhotosResourceApi res = api.StreetviewpublishApi(mock).photos;
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
var arg_languageCode = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1306,13 +1306,13 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["languageCode"].first, unittest.equals(arg_languageCode));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1324,10 +1324,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
filter: arg_filter,
languageCode: arg_languageCode,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/tagmanager/v1_test.dart b/generated/googleapis/test/tagmanager/v1_test.dart
index 80a4cb9..2682a6e 100644
--- a/generated/googleapis/test/tagmanager/v1_test.dart
+++ b/generated/googleapis/test/tagmanager/v1_test.dart
@@ -3095,9 +3095,9 @@
var arg_accountId = 'foo';
var arg_containerId = 'foo';
var arg_folderId = 'foo';
- var arg_variableId = buildUnnamed1898();
- var arg_tagId = buildUnnamed1899();
- var arg_triggerId = buildUnnamed1900();
+ var arg_tagId = buildUnnamed1898();
+ var arg_triggerId = buildUnnamed1899();
+ var arg_variableId = buildUnnamed1900();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Folder.fromJson(json);
@@ -3149,10 +3149,10 @@
);
}
}
- unittest.expect(
- queryMap["variableId"], unittest.equals(arg_variableId));
unittest.expect(queryMap["tagId"], unittest.equals(arg_tagId));
unittest.expect(queryMap["triggerId"], unittest.equals(arg_triggerId));
+ unittest.expect(
+ queryMap["variableId"], unittest.equals(arg_variableId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3163,9 +3163,9 @@
}), true);
res
.update(arg_request, arg_accountId, arg_containerId, arg_folderId,
- variableId: arg_variableId,
tagId: arg_tagId,
triggerId: arg_triggerId,
+ variableId: arg_variableId,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -4539,8 +4539,8 @@
api.TagmanagerApi(mock).accounts.containers.versions;
var arg_accountId = 'foo';
var arg_containerId = 'foo';
- var arg_includeDeleted = true;
var arg_headers = true;
+ var arg_includeDeleted = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -4586,10 +4586,10 @@
);
}
}
- unittest.expect(queryMap["includeDeleted"].first,
- unittest.equals("$arg_includeDeleted"));
unittest.expect(
queryMap["headers"].first, unittest.equals("$arg_headers"));
+ unittest.expect(queryMap["includeDeleted"].first,
+ unittest.equals("$arg_includeDeleted"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -4600,8 +4600,8 @@
}), true);
res
.list(arg_accountId, arg_containerId,
- includeDeleted: arg_includeDeleted,
headers: arg_headers,
+ includeDeleted: arg_includeDeleted,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListContainerVersionsResponse(response);
diff --git a/generated/googleapis/test/tagmanager/v2_test.dart b/generated/googleapis/test/tagmanager/v2_test.dart
index 83fa2f1..114f46d 100644
--- a/generated/googleapis/test/tagmanager/v2_test.dart
+++ b/generated/googleapis/test/tagmanager/v2_test.dart
@@ -4988,9 +4988,9 @@
api.TagmanagerApi(mock).accounts.containers.workspaces.folders;
var arg_request = buildFolder();
var arg_path = 'foo';
- var arg_variableId = buildUnnamed4479();
+ var arg_tagId = buildUnnamed4479();
var arg_triggerId = buildUnnamed4480();
- var arg_tagId = buildUnnamed4481();
+ var arg_variableId = buildUnnamed4481();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Folder.fromJson(json);
@@ -5022,10 +5022,10 @@
);
}
}
+ unittest.expect(queryMap["tagId"], unittest.equals(arg_tagId));
+ unittest.expect(queryMap["triggerId"], unittest.equals(arg_triggerId));
unittest.expect(
queryMap["variableId"], unittest.equals(arg_variableId));
- unittest.expect(queryMap["triggerId"], unittest.equals(arg_triggerId));
- unittest.expect(queryMap["tagId"], unittest.equals(arg_tagId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -5036,9 +5036,9 @@
}), true);
res
.moveEntitiesToFolder(arg_request, arg_path,
- variableId: arg_variableId,
- triggerId: arg_triggerId,
tagId: arg_tagId,
+ triggerId: arg_triggerId,
+ variableId: arg_variableId,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
diff --git a/generated/googleapis/test/tasks/v1_test.dart b/generated/googleapis/test/tasks/v1_test.dart
index b22d88d..406175e 100644
--- a/generated/googleapis/test/tasks/v1_test.dart
+++ b/generated/googleapis/test/tasks/v1_test.dart
@@ -777,8 +777,8 @@
api.TasksResourceApi res = api.TasksApi(mock).tasks;
var arg_request = buildTask();
var arg_tasklist = 'foo';
- var arg_previous = 'foo';
var arg_parent = 'foo';
+ var arg_previous = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Task.fromJson(json);
@@ -818,9 +818,9 @@
);
}
}
+ unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(
queryMap["previous"].first, unittest.equals(arg_previous));
- unittest.expect(queryMap["parent"].first, unittest.equals(arg_parent));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -831,7 +831,7 @@
}), true);
res
.insert(arg_request, arg_tasklist,
- previous: arg_previous, parent: arg_parent, $fields: arg_$fields)
+ parent: arg_parent, previous: arg_previous, $fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTask(response);
})));
@@ -841,16 +841,16 @@
var mock = HttpServerMock();
api.TasksResourceApi res = api.TasksApi(mock).tasks;
var arg_tasklist = 'foo';
- var arg_completedMin = 'foo';
- var arg_showCompleted = true;
- var arg_maxResults = 42;
var arg_completedMax = 'foo';
- var arg_dueMin = 'foo';
- var arg_showDeleted = true;
- var arg_updatedMin = 'foo';
+ var arg_completedMin = 'foo';
var arg_dueMax = 'foo';
+ var arg_dueMin = 'foo';
+ var arg_maxResults = 42;
var arg_pageToken = 'foo';
+ var arg_showCompleted = true;
+ var arg_showDeleted = true;
var arg_showHidden = true;
+ var arg_updatedMin = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -888,23 +888,23 @@
}
}
unittest.expect(
+ queryMap["completedMax"].first, unittest.equals(arg_completedMax));
+ unittest.expect(
queryMap["completedMin"].first, unittest.equals(arg_completedMin));
- unittest.expect(queryMap["showCompleted"].first,
- unittest.equals("$arg_showCompleted"));
+ unittest.expect(queryMap["dueMax"].first, unittest.equals(arg_dueMax));
+ unittest.expect(queryMap["dueMin"].first, unittest.equals(arg_dueMin));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["completedMax"].first, unittest.equals(arg_completedMax));
- unittest.expect(queryMap["dueMin"].first, unittest.equals(arg_dueMin));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["showCompleted"].first,
+ unittest.equals("$arg_showCompleted"));
unittest.expect(
queryMap["showDeleted"].first, unittest.equals("$arg_showDeleted"));
unittest.expect(
- queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
- unittest.expect(queryMap["dueMax"].first, unittest.equals(arg_dueMax));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
queryMap["showHidden"].first, unittest.equals("$arg_showHidden"));
+ unittest.expect(
+ queryMap["updatedMin"].first, unittest.equals(arg_updatedMin));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -915,16 +915,16 @@
}), true);
res
.list(arg_tasklist,
- completedMin: arg_completedMin,
- showCompleted: arg_showCompleted,
- maxResults: arg_maxResults,
completedMax: arg_completedMax,
- dueMin: arg_dueMin,
- showDeleted: arg_showDeleted,
- updatedMin: arg_updatedMin,
+ completedMin: arg_completedMin,
dueMax: arg_dueMax,
+ dueMin: arg_dueMin,
+ maxResults: arg_maxResults,
pageToken: arg_pageToken,
+ showCompleted: arg_showCompleted,
+ showDeleted: arg_showDeleted,
showHidden: arg_showHidden,
+ updatedMin: arg_updatedMin,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkTasks(response);
diff --git a/generated/googleapis/test/tpu/v1_test.dart b/generated/googleapis/test/tpu/v1_test.dart
index a87b2cd..d4406c1 100644
--- a/generated/googleapis/test/tpu/v1_test.dart
+++ b/generated/googleapis/test/tpu/v1_test.dart
@@ -1113,9 +1113,9 @@
api.ProjectsLocationsAcceleratorTypesResourceApi res =
api.TpuApi(mock).projects.locations.acceleratorTypes;
var arg_parent = 'foo';
- var arg_pageSize = 42;
- var arg_orderBy = 'foo';
var arg_filter = 'foo';
+ var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1145,11 +1145,11 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["orderBy"].first, unittest.equals(arg_orderBy));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1162,9 +1162,9 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
- orderBy: arg_orderBy,
filter: arg_filter,
+ orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1690,8 +1690,8 @@
api.TpuApi(mock).projects.locations.operations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1721,10 +1721,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1736,8 +1736,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
@@ -1800,9 +1800,9 @@
api.TpuApi(mock).projects.locations.tensorflowVersions;
var arg_parent = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
- var arg_pageSize = 42;
var arg_orderBy = 'foo';
+ var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1833,11 +1833,11 @@
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ queryMap["orderBy"].first, unittest.equals(arg_orderBy));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
- queryMap["orderBy"].first, unittest.equals(arg_orderBy));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1849,9 +1849,9 @@
res
.list(arg_parent,
filter: arg_filter,
- pageToken: arg_pageToken,
- pageSize: arg_pageSize,
orderBy: arg_orderBy,
+ pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListTensorFlowVersionsResponse(response);
diff --git a/generated/googleapis/test/translate/v3_test.dart b/generated/googleapis/test/translate/v3_test.dart
index 1637a14..59e4993 100644
--- a/generated/googleapis/test/translate/v3_test.dart
+++ b/generated/googleapis/test/translate/v3_test.dart
@@ -1285,8 +1285,8 @@
var mock = HttpServerMock();
api.ProjectsResourceApi res = api.TranslateApi(mock).projects;
var arg_parent = 'foo';
- var arg_model = 'foo';
var arg_displayLanguageCode = 'foo';
+ var arg_model = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1315,9 +1315,9 @@
);
}
}
- unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
unittest.expect(queryMap["displayLanguageCode"].first,
unittest.equals(arg_displayLanguageCode));
+ unittest.expect(queryMap["model"].first, unittest.equals(arg_model));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1328,8 +1328,8 @@
}), true);
res
.getSupportedLanguages(arg_parent,
- model: arg_model,
displayLanguageCode: arg_displayLanguageCode,
+ model: arg_model,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSupportedLanguages(response);
@@ -1602,8 +1602,8 @@
api.ProjectsLocationsResourceApi res =
api.TranslateApi(mock).projects.locations;
var arg_name = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1633,9 +1633,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1648,8 +1648,8 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -1864,9 +1864,9 @@
api.ProjectsLocationsGlossariesResourceApi res =
api.TranslateApi(mock).projects.locations.glossaries;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1895,11 +1895,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1910,9 +1910,9 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListGlossariesResponse(response);
@@ -2075,8 +2075,8 @@
api.TranslateApi(mock).projects.locations.operations;
var arg_name = 'foo';
var arg_filter = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2106,10 +2106,10 @@
}
}
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2121,8 +2121,8 @@
res
.list(arg_name,
filter: arg_filter,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/vault/v1_test.dart b/generated/googleapis/test/vault/v1_test.dart
index 6b1016b..50ec04f 100644
--- a/generated/googleapis/test/vault/v1_test.dart
+++ b/generated/googleapis/test/vault/v1_test.dart
@@ -2058,9 +2058,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.MattersResourceApi res = api.VaultApi(mock).matters;
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_state = 'foo';
- var arg_pageSize = 42;
var arg_view = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -2089,11 +2089,11 @@
);
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["state"].first, unittest.equals(arg_state));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -2105,9 +2105,9 @@
}), true);
res
.list(
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
state: arg_state,
- pageSize: arg_pageSize,
view: arg_view,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/videointelligence/v1_test.dart b/generated/googleapis/test/videointelligence/v1_test.dart
index f75fa2f..a01e76e 100644
--- a/generated/googleapis/test/videointelligence/v1_test.dart
+++ b/generated/googleapis/test/videointelligence/v1_test.dart
@@ -8875,9 +8875,9 @@
api.ProjectsLocationsOperationsResourceApi res =
api.VideointelligenceApi(mock).projects.locations.operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8906,11 +8906,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8922,9 +8922,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);
diff --git a/generated/googleapis/test/vision/v1_test.dart b/generated/googleapis/test/vision/v1_test.dart
index b98e741..13b9fb0 100644
--- a/generated/googleapis/test/vision/v1_test.dart
+++ b/generated/googleapis/test/vision/v1_test.dart
@@ -12845,9 +12845,9 @@
var mock = HttpServerMock();
api.OperationsResourceApi res = api.VisionApi(mock).operations;
var arg_name = 'foo';
- var arg_pageToken = 'foo';
var arg_filter = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12876,11 +12876,11 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12891,9 +12891,9 @@
}), true);
res
.list(arg_name,
- pageToken: arg_pageToken,
filter: arg_filter,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListOperationsResponse(response);
diff --git a/generated/googleapis/test/websecurityscanner/v1_test.dart b/generated/googleapis/test/websecurityscanner/v1_test.dart
index 7af01e7..de76f7f 100644
--- a/generated/googleapis/test/websecurityscanner/v1_test.dart
+++ b/generated/googleapis/test/websecurityscanner/v1_test.dart
@@ -1629,8 +1629,8 @@
.scanRuns
.crawledUrls;
var arg_parent = 'foo';
- var arg_pageToken = 'foo';
var arg_pageSize = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1659,10 +1659,10 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1673,8 +1673,8 @@
}), true);
res
.list(arg_parent,
- pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListCrawledUrlsResponse(response);
@@ -1799,8 +1799,8 @@
.scanRuns
.findings;
var arg_parent = 'foo';
- var arg_pageSize = 42;
var arg_filter = 'foo';
+ var arg_pageSize = 42;
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1830,9 +1830,9 @@
);
}
}
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1845,8 +1845,8 @@
}), true);
res
.list(arg_parent,
- pageSize: arg_pageSize,
filter: arg_filter,
+ pageSize: arg_pageSize,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
diff --git a/generated/googleapis/test/youtube/v3_test.dart b/generated/googleapis/test/youtube/v3_test.dart
index 0a895ae..448a8f4 100644
--- a/generated/googleapis/test/youtube/v3_test.dart
+++ b/generated/googleapis/test/youtube/v3_test.dart
@@ -8450,14 +8450,14 @@
var mock = HttpServerMock();
api.ActivitiesResourceApi res = api.YoutubeApi(mock).activities;
var arg_part = buildUnnamed2399();
- var arg_publishedAfter = 'foo';
- var arg_mine = true;
var arg_channelId = 'foo';
+ var arg_home = true;
var arg_maxResults = 42;
+ var arg_mine = true;
+ var arg_pageToken = 'foo';
+ var arg_publishedAfter = 'foo';
var arg_publishedBefore = 'foo';
var arg_regionCode = 'foo';
- var arg_home = true;
- var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8486,20 +8486,20 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["publishedAfter"].first,
- unittest.equals(arg_publishedAfter));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(queryMap["home"].first, unittest.equals("$arg_home"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["publishedAfter"].first,
+ unittest.equals(arg_publishedAfter));
unittest.expect(queryMap["publishedBefore"].first,
unittest.equals(arg_publishedBefore));
unittest.expect(
queryMap["regionCode"].first, unittest.equals(arg_regionCode));
- unittest.expect(queryMap["home"].first, unittest.equals("$arg_home"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8510,14 +8510,14 @@
}), true);
res
.list(arg_part,
- publishedAfter: arg_publishedAfter,
- mine: arg_mine,
channelId: arg_channelId,
+ home: arg_home,
maxResults: arg_maxResults,
+ mine: arg_mine,
+ pageToken: arg_pageToken,
+ publishedAfter: arg_publishedAfter,
publishedBefore: arg_publishedBefore,
regionCode: arg_regionCode,
- home: arg_home,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkActivityListResponse(response);
@@ -8587,10 +8587,10 @@
var mock = HttpServerMock();
api.CaptionsResourceApi res = api.YoutubeApi(mock).captions;
var arg_id = 'foo';
- var arg_onBehalfOfContentOwner = 'foo';
var arg_onBehalfOf = 'foo';
- var arg_tlang = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
var arg_tfmt = 'foo';
+ var arg_tlang = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8621,12 +8621,12 @@
);
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
- unittest.expect(queryMap["tlang"].first, unittest.equals(arg_tlang));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["tfmt"].first, unittest.equals(arg_tfmt));
+ unittest.expect(queryMap["tlang"].first, unittest.equals(arg_tlang));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8637,10 +8637,10 @@
}), true);
res
.download(arg_id,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOf: arg_onBehalfOf,
- tlang: arg_tlang,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
tfmt: arg_tfmt,
+ tlang: arg_tlang,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -8653,8 +8653,8 @@
api.CaptionsResourceApi res = api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
var arg_part = buildUnnamed2400();
- var arg_onBehalfOfContentOwner = 'foo';
var arg_onBehalfOf = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
var arg_sync = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -8687,10 +8687,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -8702,8 +8702,8 @@
}), true);
res
.insert(arg_request, arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOf: arg_onBehalfOf,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
sync: arg_sync,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -8716,9 +8716,9 @@
api.CaptionsResourceApi res = api.YoutubeApi(mock).captions;
var arg_videoId = 'foo';
var arg_part = buildUnnamed2401();
+ var arg_id = buildUnnamed2402();
var arg_onBehalfOf = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
- var arg_id = buildUnnamed2402();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -8749,11 +8749,11 @@
unittest.expect(
queryMap["videoId"].first, unittest.equals(arg_videoId));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(
queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8764,9 +8764,9 @@
}), true);
res
.list(arg_videoId, arg_part,
+ id: arg_id,
onBehalfOf: arg_onBehalfOf,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- id: arg_id,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCaptionListResponse(response);
@@ -8781,9 +8781,9 @@
api.CaptionsResourceApi res = api.YoutubeApi(mock).captions;
var arg_request = buildCaption();
var arg_part = buildUnnamed2403();
- var arg_sync = true;
- var arg_onBehalfOfContentOwner = 'foo';
var arg_onBehalfOf = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_sync = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Caption.fromJson(json);
@@ -8815,11 +8815,11 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["onBehalfOf"].first, unittest.equals(arg_onBehalfOf));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["sync"].first, unittest.equals("$arg_sync"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -8830,9 +8830,9 @@
}), true);
res
.update(arg_request, arg_part,
- sync: arg_sync,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOf: arg_onBehalfOf,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ sync: arg_sync,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCaption(response);
@@ -8848,8 +8848,8 @@
var mock = HttpServerMock();
api.ChannelBannersResourceApi res = api.YoutubeApi(mock).channelBanners;
var arg_request = buildChannelBannerResource();
- var arg_onBehalfOfContentOwner = 'foo';
var arg_channelId = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -8881,10 +8881,10 @@
);
}
}
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -8897,8 +8897,8 @@
}), true);
res
.insert(arg_request,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
channelId: arg_channelId,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9022,10 +9022,10 @@
var mock = HttpServerMock();
api.ChannelSectionsResourceApi res = api.YoutubeApi(mock).channelSections;
var arg_part = buildUnnamed2405();
- var arg_id = buildUnnamed2406();
- var arg_mine = true;
var arg_channelId = 'foo';
var arg_hl = 'foo';
+ var arg_id = buildUnnamed2406();
+ var arg_mine = true;
var arg_onBehalfOfContentOwner = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -9055,11 +9055,11 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -9072,10 +9072,10 @@
}), true);
res
.list(arg_part,
- id: arg_id,
- mine: arg_mine,
channelId: arg_channelId,
hl: arg_hl,
+ id: arg_id,
+ mine: arg_mine,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -9145,16 +9145,16 @@
var mock = HttpServerMock();
api.ChannelsResourceApi res = api.YoutubeApi(mock).channels;
var arg_part = buildUnnamed2408();
- var arg_id = buildUnnamed2409();
var arg_categoryId = 'foo';
- var arg_hl = 'foo';
- var arg_maxResults = 42;
- var arg_onBehalfOfContentOwner = 'foo';
var arg_forUsername = 'foo';
+ var arg_hl = 'foo';
+ var arg_id = buildUnnamed2409();
var arg_managedByMe = true;
- var arg_pageToken = 'foo';
+ var arg_maxResults = 42;
var arg_mine = true;
var arg_mySubscribers = true;
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9183,23 +9183,23 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(
queryMap["categoryId"].first, unittest.equals(arg_categoryId));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
queryMap["forUsername"].first, unittest.equals(arg_forUsername));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(
queryMap["managedByMe"].first, unittest.equals("$arg_managedByMe"));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["mySubscribers"].first,
unittest.equals("$arg_mySubscribers"));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9210,16 +9210,16 @@
}), true);
res
.list(arg_part,
- id: arg_id,
categoryId: arg_categoryId,
- hl: arg_hl,
- maxResults: arg_maxResults,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
forUsername: arg_forUsername,
+ hl: arg_hl,
+ id: arg_id,
managedByMe: arg_managedByMe,
- pageToken: arg_pageToken,
+ maxResults: arg_maxResults,
mine: arg_mine,
mySubscribers: arg_mySubscribers,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkChannelListResponse(response);
@@ -9339,16 +9339,16 @@
var mock = HttpServerMock();
api.CommentThreadsResourceApi res = api.YoutubeApi(mock).commentThreads;
var arg_part = buildUnnamed2412();
- var arg_order = 'foo';
- var arg_videoId = 'foo';
- var arg_maxResults = 42;
- var arg_id = buildUnnamed2413();
- var arg_moderationStatus = 'foo';
+ var arg_allThreadsRelatedToChannelId = 'foo';
var arg_channelId = 'foo';
+ var arg_id = buildUnnamed2413();
+ var arg_maxResults = 42;
+ var arg_moderationStatus = 'foo';
+ var arg_order = 'foo';
var arg_pageToken = 'foo';
var arg_searchTerms = 'foo';
- var arg_allThreadsRelatedToChannelId = 'foo';
var arg_textFormat = 'foo';
+ var arg_videoId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9377,24 +9377,24 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
- unittest.expect(
- queryMap["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["moderationStatus"].first,
- unittest.equals(arg_moderationStatus));
+ unittest.expect(queryMap["allThreadsRelatedToChannelId"].first,
+ unittest.equals(arg_allThreadsRelatedToChannelId));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["moderationStatus"].first,
+ unittest.equals(arg_moderationStatus));
+ unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["searchTerms"].first, unittest.equals(arg_searchTerms));
- unittest.expect(queryMap["allThreadsRelatedToChannelId"].first,
- unittest.equals(arg_allThreadsRelatedToChannelId));
unittest.expect(
queryMap["textFormat"].first, unittest.equals(arg_textFormat));
+ unittest.expect(
+ queryMap["videoId"].first, unittest.equals(arg_videoId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9405,16 +9405,16 @@
}), true);
res
.list(arg_part,
- order: arg_order,
- videoId: arg_videoId,
- maxResults: arg_maxResults,
- id: arg_id,
- moderationStatus: arg_moderationStatus,
+ allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId,
channelId: arg_channelId,
+ id: arg_id,
+ maxResults: arg_maxResults,
+ moderationStatus: arg_moderationStatus,
+ order: arg_order,
pageToken: arg_pageToken,
searchTerms: arg_searchTerms,
- allThreadsRelatedToChannelId: arg_allThreadsRelatedToChannelId,
textFormat: arg_textFormat,
+ videoId: arg_videoId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentThreadListResponse(response);
@@ -9575,10 +9575,10 @@
api.CommentsResourceApi res = api.YoutubeApi(mock).comments;
var arg_part = buildUnnamed2416();
var arg_id = buildUnnamed2417();
- var arg_pageToken = 'foo';
var arg_maxResults = 42;
- var arg_textFormat = 'foo';
+ var arg_pageToken = 'foo';
var arg_parentId = 'foo';
+ var arg_textFormat = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9608,14 +9608,14 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(
- queryMap["textFormat"].first, unittest.equals(arg_textFormat));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
queryMap["parentId"].first, unittest.equals(arg_parentId));
+ unittest.expect(
+ queryMap["textFormat"].first, unittest.equals(arg_textFormat));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9627,10 +9627,10 @@
res
.list(arg_part,
id: arg_id,
- pageToken: arg_pageToken,
maxResults: arg_maxResults,
- textFormat: arg_textFormat,
+ pageToken: arg_pageToken,
parentId: arg_parentId,
+ textFormat: arg_textFormat,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkCommentListResponse(response);
@@ -9895,8 +9895,8 @@
var arg_id = 'foo';
var arg_part = buildUnnamed2423();
var arg_onBehalfOfContentOwner = 'foo';
- var arg_streamId = 'foo';
var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_streamId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9928,10 +9928,10 @@
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(
- queryMap["streamId"].first, unittest.equals(arg_streamId));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(
+ queryMap["streamId"].first, unittest.equals(arg_streamId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -9943,8 +9943,8 @@
res
.bind(arg_id, arg_part,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- streamId: arg_streamId,
onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ streamId: arg_streamId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -9957,10 +9957,10 @@
var arg_id = 'foo';
var arg_part = buildUnnamed2424();
var arg_displaySlate = true;
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_walltime = 'foo';
var arg_offsetTimeMs = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_walltime = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -9992,14 +9992,14 @@
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["displaySlate"].first,
unittest.equals("$arg_displaySlate"));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(
- queryMap["walltime"].first, unittest.equals(arg_walltime));
unittest.expect(
queryMap["offsetTimeMs"].first, unittest.equals(arg_offsetTimeMs));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(
+ queryMap["walltime"].first, unittest.equals(arg_walltime));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10011,10 +10011,10 @@
res
.control(arg_id, arg_part,
displaySlate: arg_displaySlate,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- walltime: arg_walltime,
offsetTimeMs: arg_offsetTimeMs,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ walltime: arg_walltime,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10080,8 +10080,8 @@
api.LiveBroadcastsResourceApi res = api.YoutubeApi(mock).liveBroadcasts;
var arg_request = buildLiveBroadcast();
var arg_part = buildUnnamed2425();
- var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LiveBroadcast.fromJson(json);
@@ -10113,10 +10113,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10127,8 +10127,8 @@
}), true);
res
.insert(arg_request, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10139,14 +10139,14 @@
var mock = HttpServerMock();
api.LiveBroadcastsResourceApi res = api.YoutubeApi(mock).liveBroadcasts;
var arg_part = buildUnnamed2426();
- var arg_maxResults = 42;
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_broadcastType = 'foo';
var arg_broadcastStatus = 'foo';
- var arg_pageToken = 'foo';
- var arg_mine = true;
+ var arg_broadcastType = 'foo';
var arg_id = buildUnnamed2427();
+ var arg_maxResults = 42;
+ var arg_mine = true;
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10175,20 +10175,20 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(queryMap["broadcastType"].first,
- unittest.equals(arg_broadcastType));
unittest.expect(queryMap["broadcastStatus"].first,
unittest.equals(arg_broadcastStatus));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
+ unittest.expect(queryMap["broadcastType"].first,
+ unittest.equals(arg_broadcastType));
unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10199,14 +10199,14 @@
}), true);
res
.list(arg_part,
- maxResults: arg_maxResults,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- broadcastType: arg_broadcastType,
broadcastStatus: arg_broadcastStatus,
- pageToken: arg_pageToken,
- mine: arg_mine,
+ broadcastType: arg_broadcastType,
id: arg_id,
+ maxResults: arg_maxResults,
+ mine: arg_mine,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcastListResponse(response);
@@ -10219,8 +10219,8 @@
var arg_id = 'foo';
var arg_broadcastStatus = 'foo';
var arg_part = buildUnnamed2428();
- var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10252,10 +10252,10 @@
unittest.expect(queryMap["broadcastStatus"].first,
unittest.equals(arg_broadcastStatus));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10266,8 +10266,8 @@
}), true);
res
.transition(arg_id, arg_broadcastStatus, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveBroadcast(response);
@@ -10538,10 +10538,10 @@
api.YoutubeApi(mock).liveChatMessages;
var arg_liveChatId = 'foo';
var arg_part = buildUnnamed2432();
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
- var arg_profileImageSize = 42;
var arg_hl = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
+ var arg_profileImageSize = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10572,13 +10572,13 @@
unittest.expect(
queryMap["liveChatId"].first, unittest.equals(arg_liveChatId));
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["profileImageSize"].first),
unittest.equals(arg_profileImageSize));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10589,10 +10589,10 @@
}), true);
res
.list(arg_liveChatId, arg_part,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
- profileImageSize: arg_profileImageSize,
hl: arg_hl,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
+ profileImageSize: arg_profileImageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveChatMessageListResponse(response);
@@ -10765,8 +10765,8 @@
var mock = HttpServerMock();
api.LiveStreamsResourceApi res = api.YoutubeApi(mock).liveStreams;
var arg_id = 'foo';
- var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10795,10 +10795,10 @@
}
}
unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10809,8 +10809,8 @@
}), true);
res
.delete(arg_id,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1((_) {}));
});
@@ -10880,11 +10880,11 @@
api.LiveStreamsResourceApi res = api.YoutubeApi(mock).liveStreams;
var arg_part = buildUnnamed2436();
var arg_id = buildUnnamed2437();
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_mine = true;
var arg_maxResults = 42;
- var arg_pageToken = 'foo';
+ var arg_mine = true;
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -10914,15 +10914,15 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10934,11 +10934,11 @@
res
.list(arg_part,
id: arg_id,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- mine: arg_mine,
maxResults: arg_maxResults,
- pageToken: arg_pageToken,
+ mine: arg_mine,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveStreamListResponse(response);
@@ -10950,8 +10950,8 @@
api.LiveStreamsResourceApi res = api.YoutubeApi(mock).liveStreams;
var arg_request = buildLiveStream();
var arg_part = buildUnnamed2438();
- var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.LiveStream.fromJson(json);
@@ -10983,10 +10983,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -10997,8 +10997,8 @@
}), true);
res
.update(arg_request, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkLiveStream(response);
@@ -11012,10 +11012,10 @@
api.MembersResourceApi res = api.YoutubeApi(mock).members;
var arg_part = buildUnnamed2439();
var arg_filterByMemberChannelId = 'foo';
- var arg_pageToken = 'foo';
- var arg_mode = 'foo';
- var arg_maxResults = 42;
var arg_hasAccessToLevel = 'foo';
+ var arg_maxResults = 42;
+ var arg_mode = 'foo';
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11046,13 +11046,13 @@
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(queryMap["filterByMemberChannelId"].first,
unittest.equals(arg_filterByMemberChannelId));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["mode"].first, unittest.equals(arg_mode));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(queryMap["hasAccessToLevel"].first,
unittest.equals(arg_hasAccessToLevel));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["mode"].first, unittest.equals(arg_mode));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11064,10 +11064,10 @@
res
.list(arg_part,
filterByMemberChannelId: arg_filterByMemberChannelId,
- pageToken: arg_pageToken,
- mode: arg_mode,
- maxResults: arg_maxResults,
hasAccessToLevel: arg_hasAccessToLevel,
+ maxResults: arg_maxResults,
+ mode: arg_mode,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkMemberListResponse(response);
@@ -11236,12 +11236,12 @@
var mock = HttpServerMock();
api.PlaylistItemsResourceApi res = api.YoutubeApi(mock).playlistItems;
var arg_part = buildUnnamed2442();
+ var arg_id = buildUnnamed2443();
var arg_maxResults = 42;
var arg_onBehalfOfContentOwner = 'foo';
- var arg_playlistId = 'foo';
var arg_pageToken = 'foo';
+ var arg_playlistId = 'foo';
var arg_videoId = 'foo';
- var arg_id = buildUnnamed2443();
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11270,17 +11270,17 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(
- queryMap["playlistId"].first, unittest.equals(arg_playlistId));
- unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(
+ queryMap["playlistId"].first, unittest.equals(arg_playlistId));
+ unittest.expect(
queryMap["videoId"].first, unittest.equals(arg_videoId));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11291,12 +11291,12 @@
}), true);
res
.list(arg_part,
+ id: arg_id,
maxResults: arg_maxResults,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- playlistId: arg_playlistId,
pageToken: arg_pageToken,
+ playlistId: arg_playlistId,
videoId: arg_videoId,
- id: arg_id,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlaylistItemListResponse(response);
@@ -11416,8 +11416,8 @@
api.PlaylistsResourceApi res = api.YoutubeApi(mock).playlists;
var arg_request = buildPlaylist();
var arg_part = buildUnnamed2445();
- var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Playlist.fromJson(json);
@@ -11449,10 +11449,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11463,8 +11463,8 @@
}), true);
res
.insert(arg_request, arg_part,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkPlaylist(response);
@@ -11475,13 +11475,13 @@
var mock = HttpServerMock();
api.PlaylistsResourceApi res = api.YoutubeApi(mock).playlists;
var arg_part = buildUnnamed2446();
- var arg_onBehalfOfContentOwner = 'foo';
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_maxResults = 42;
+ var arg_channelId = 'foo';
var arg_hl = 'foo';
var arg_id = buildUnnamed2447();
+ var arg_maxResults = 42;
var arg_mine = true;
- var arg_channelId = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11511,17 +11511,17 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
+ unittest.expect(
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
- unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -11534,13 +11534,13 @@
}), true);
res
.list(arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- maxResults: arg_maxResults,
+ channelId: arg_channelId,
hl: arg_hl,
id: arg_id,
+ maxResults: arg_maxResults,
mine: arg_mine,
- channelId: arg_channelId,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -11610,36 +11610,36 @@
var mock = HttpServerMock();
api.SearchResourceApi res = api.YoutubeApi(mock).search;
var arg_part = buildUnnamed2449();
- var arg_videoType = 'foo';
- var arg_videoDimension = 'foo';
- var arg_forDeveloper = true;
- var arg_videoCategoryId = 'foo';
- var arg_forContentOwner = true;
- var arg_videoLicense = 'foo';
- var arg_regionCode = 'foo';
- var arg_videoSyndicated = 'foo';
- var arg_eventType = 'foo';
- var arg_forMine = true;
- var arg_publishedBefore = 'foo';
- var arg_safeSearch = 'foo';
- var arg_q = 'foo';
- var arg_location = 'foo';
- var arg_relatedToVideoId = 'foo';
- var arg_locationRadius = 'foo';
- var arg_order = 'foo';
- var arg_videoDuration = 'foo';
- var arg_videoDefinition = 'foo';
- var arg_channelType = 'foo';
- var arg_onBehalfOfContentOwner = 'foo';
var arg_channelId = 'foo';
- var arg_relevanceLanguage = 'foo';
+ var arg_channelType = 'foo';
+ var arg_eventType = 'foo';
+ var arg_forContentOwner = true;
+ var arg_forDeveloper = true;
+ var arg_forMine = true;
+ var arg_location = 'foo';
+ var arg_locationRadius = 'foo';
+ var arg_maxResults = 42;
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_order = 'foo';
+ var arg_pageToken = 'foo';
var arg_publishedAfter = 'foo';
+ var arg_publishedBefore = 'foo';
+ var arg_q = 'foo';
+ var arg_regionCode = 'foo';
+ var arg_relatedToVideoId = 'foo';
+ var arg_relevanceLanguage = 'foo';
+ var arg_safeSearch = 'foo';
+ var arg_topicId = 'foo';
var arg_type = buildUnnamed2450();
var arg_videoCaption = 'foo';
- var arg_pageToken = 'foo';
- var arg_topicId = 'foo';
- var arg_maxResults = 42;
+ var arg_videoCategoryId = 'foo';
+ var arg_videoDefinition = 'foo';
+ var arg_videoDimension = 'foo';
+ var arg_videoDuration = 'foo';
var arg_videoEmbeddable = 'foo';
+ var arg_videoLicense = 'foo';
+ var arg_videoSyndicated = 'foo';
+ var arg_videoType = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11669,62 +11669,62 @@
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(
- queryMap["videoType"].first, unittest.equals(arg_videoType));
- unittest.expect(queryMap["videoDimension"].first,
- unittest.equals(arg_videoDimension));
- unittest.expect(queryMap["forDeveloper"].first,
- unittest.equals("$arg_forDeveloper"));
- unittest.expect(queryMap["videoCategoryId"].first,
- unittest.equals(arg_videoCategoryId));
- unittest.expect(queryMap["forContentOwner"].first,
- unittest.equals("$arg_forContentOwner"));
- unittest.expect(
- queryMap["videoLicense"].first, unittest.equals(arg_videoLicense));
- unittest.expect(
- queryMap["regionCode"].first, unittest.equals(arg_regionCode));
- unittest.expect(queryMap["videoSyndicated"].first,
- unittest.equals(arg_videoSyndicated));
- unittest.expect(
- queryMap["eventType"].first, unittest.equals(arg_eventType));
- unittest.expect(
- queryMap["forMine"].first, unittest.equals("$arg_forMine"));
- unittest.expect(queryMap["publishedBefore"].first,
- unittest.equals(arg_publishedBefore));
- unittest.expect(
- queryMap["safeSearch"].first, unittest.equals(arg_safeSearch));
- unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
- unittest.expect(
- queryMap["location"].first, unittest.equals(arg_location));
- unittest.expect(queryMap["relatedToVideoId"].first,
- unittest.equals(arg_relatedToVideoId));
- unittest.expect(queryMap["locationRadius"].first,
- unittest.equals(arg_locationRadius));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
- unittest.expect(queryMap["videoDuration"].first,
- unittest.equals(arg_videoDuration));
- unittest.expect(queryMap["videoDefinition"].first,
- unittest.equals(arg_videoDefinition));
+ queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(
queryMap["channelType"].first, unittest.equals(arg_channelType));
+ unittest.expect(
+ queryMap["eventType"].first, unittest.equals(arg_eventType));
+ unittest.expect(queryMap["forContentOwner"].first,
+ unittest.equals("$arg_forContentOwner"));
+ unittest.expect(queryMap["forDeveloper"].first,
+ unittest.equals("$arg_forDeveloper"));
+ unittest.expect(
+ queryMap["forMine"].first, unittest.equals("$arg_forMine"));
+ unittest.expect(
+ queryMap["location"].first, unittest.equals(arg_location));
+ unittest.expect(queryMap["locationRadius"].first,
+ unittest.equals(arg_locationRadius));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
unittest.expect(
- queryMap["channelId"].first, unittest.equals(arg_channelId));
- unittest.expect(queryMap["relevanceLanguage"].first,
- unittest.equals(arg_relevanceLanguage));
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["publishedAfter"].first,
unittest.equals(arg_publishedAfter));
+ unittest.expect(queryMap["publishedBefore"].first,
+ unittest.equals(arg_publishedBefore));
+ unittest.expect(queryMap["q"].first, unittest.equals(arg_q));
+ unittest.expect(
+ queryMap["regionCode"].first, unittest.equals(arg_regionCode));
+ unittest.expect(queryMap["relatedToVideoId"].first,
+ unittest.equals(arg_relatedToVideoId));
+ unittest.expect(queryMap["relevanceLanguage"].first,
+ unittest.equals(arg_relevanceLanguage));
+ unittest.expect(
+ queryMap["safeSearch"].first, unittest.equals(arg_safeSearch));
+ unittest.expect(
+ queryMap["topicId"].first, unittest.equals(arg_topicId));
unittest.expect(queryMap["type"], unittest.equals(arg_type));
unittest.expect(
queryMap["videoCaption"].first, unittest.equals(arg_videoCaption));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["topicId"].first, unittest.equals(arg_topicId));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
+ unittest.expect(queryMap["videoCategoryId"].first,
+ unittest.equals(arg_videoCategoryId));
+ unittest.expect(queryMap["videoDefinition"].first,
+ unittest.equals(arg_videoDefinition));
+ unittest.expect(queryMap["videoDimension"].first,
+ unittest.equals(arg_videoDimension));
+ unittest.expect(queryMap["videoDuration"].first,
+ unittest.equals(arg_videoDuration));
unittest.expect(queryMap["videoEmbeddable"].first,
unittest.equals(arg_videoEmbeddable));
+ unittest.expect(
+ queryMap["videoLicense"].first, unittest.equals(arg_videoLicense));
+ unittest.expect(queryMap["videoSyndicated"].first,
+ unittest.equals(arg_videoSyndicated));
+ unittest.expect(
+ queryMap["videoType"].first, unittest.equals(arg_videoType));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11735,36 +11735,36 @@
}), true);
res
.list(arg_part,
- videoType: arg_videoType,
- videoDimension: arg_videoDimension,
- forDeveloper: arg_forDeveloper,
- videoCategoryId: arg_videoCategoryId,
- forContentOwner: arg_forContentOwner,
- videoLicense: arg_videoLicense,
- regionCode: arg_regionCode,
- videoSyndicated: arg_videoSyndicated,
- eventType: arg_eventType,
- forMine: arg_forMine,
- publishedBefore: arg_publishedBefore,
- safeSearch: arg_safeSearch,
- q: arg_q,
- location: arg_location,
- relatedToVideoId: arg_relatedToVideoId,
- locationRadius: arg_locationRadius,
- order: arg_order,
- videoDuration: arg_videoDuration,
- videoDefinition: arg_videoDefinition,
- channelType: arg_channelType,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
channelId: arg_channelId,
- relevanceLanguage: arg_relevanceLanguage,
+ channelType: arg_channelType,
+ eventType: arg_eventType,
+ forContentOwner: arg_forContentOwner,
+ forDeveloper: arg_forDeveloper,
+ forMine: arg_forMine,
+ location: arg_location,
+ locationRadius: arg_locationRadius,
+ maxResults: arg_maxResults,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ order: arg_order,
+ pageToken: arg_pageToken,
publishedAfter: arg_publishedAfter,
+ publishedBefore: arg_publishedBefore,
+ q: arg_q,
+ regionCode: arg_regionCode,
+ relatedToVideoId: arg_relatedToVideoId,
+ relevanceLanguage: arg_relevanceLanguage,
+ safeSearch: arg_safeSearch,
+ topicId: arg_topicId,
type: arg_type,
videoCaption: arg_videoCaption,
- pageToken: arg_pageToken,
- topicId: arg_topicId,
- maxResults: arg_maxResults,
+ videoCategoryId: arg_videoCategoryId,
+ videoDefinition: arg_videoDefinition,
+ videoDimension: arg_videoDimension,
+ videoDuration: arg_videoDuration,
videoEmbeddable: arg_videoEmbeddable,
+ videoLicense: arg_videoLicense,
+ videoSyndicated: arg_videoSyndicated,
+ videoType: arg_videoType,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSearchListResponse(response);
@@ -11777,9 +11777,9 @@
var mock = HttpServerMock();
api.SponsorsResourceApi res = api.YoutubeApi(mock).sponsors;
var arg_part = buildUnnamed2451();
- var arg_pageToken = 'foo';
- var arg_maxResults = 42;
var arg_filter = 'foo';
+ var arg_maxResults = 42;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -11808,11 +11808,11 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -11823,9 +11823,9 @@
}), true);
res
.list(arg_part,
- pageToken: arg_pageToken,
- maxResults: arg_maxResults,
filter: arg_filter,
+ maxResults: arg_maxResults,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkSponsorListResponse(response);
@@ -11934,16 +11934,16 @@
var mock = HttpServerMock();
api.SubscriptionsResourceApi res = api.YoutubeApi(mock).subscriptions;
var arg_part = buildUnnamed2453();
- var arg_onBehalfOfContentOwner = 'foo';
- var arg_mine = true;
var arg_channelId = 'foo';
var arg_forChannelId = 'foo';
- var arg_maxResults = 42;
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_order = 'foo';
var arg_id = buildUnnamed2454();
+ var arg_maxResults = 42;
+ var arg_mine = true;
var arg_myRecentSubscribers = true;
var arg_mySubscribers = true;
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_order = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -11973,23 +11973,23 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(
queryMap["channelId"].first, unittest.equals(arg_channelId));
unittest.expect(
queryMap["forChannelId"].first, unittest.equals(arg_forChannelId));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["myRecentSubscribers"].first,
unittest.equals("$arg_myRecentSubscribers"));
unittest.expect(queryMap["mySubscribers"].first,
unittest.equals("$arg_mySubscribers"));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(queryMap["order"].first, unittest.equals(arg_order));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -12002,16 +12002,16 @@
}), true);
res
.list(arg_part,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- mine: arg_mine,
channelId: arg_channelId,
forChannelId: arg_forChannelId,
- maxResults: arg_maxResults,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- order: arg_order,
id: arg_id,
+ maxResults: arg_maxResults,
+ mine: arg_mine,
myRecentSubscribers: arg_myRecentSubscribers,
mySubscribers: arg_mySubscribers,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ order: arg_order,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -12241,8 +12241,8 @@
var mock = HttpServerMock();
api.ThirdPartyLinksResourceApi res = api.YoutubeApi(mock).thirdPartyLinks;
var arg_part = buildUnnamed2459();
- var arg_type = 'foo';
var arg_linkingToken = 'foo';
+ var arg_type = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12271,9 +12271,9 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(
queryMap["linkingToken"].first, unittest.equals(arg_linkingToken));
+ unittest.expect(queryMap["type"].first, unittest.equals(arg_type));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12284,8 +12284,8 @@
}), true);
res
.list(arg_part,
- type: arg_type,
linkingToken: arg_linkingToken,
+ type: arg_type,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkThirdPartyLink(response);
@@ -12460,9 +12460,9 @@
var mock = HttpServerMock();
api.VideoCategoriesResourceApi res = api.YoutubeApi(mock).videoCategories;
var arg_part = buildUnnamed2462();
- var arg_regionCode = 'foo';
- var arg_id = buildUnnamed2463();
var arg_hl = 'foo';
+ var arg_id = buildUnnamed2463();
+ var arg_regionCode = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12491,10 +12491,10 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
unittest.expect(
queryMap["regionCode"].first, unittest.equals(arg_regionCode));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12505,9 +12505,9 @@
}), true);
res
.list(arg_part,
- regionCode: arg_regionCode,
- id: arg_id,
hl: arg_hl,
+ id: arg_id,
+ regionCode: arg_regionCode,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVideoCategoryListResponse(response);
@@ -12627,10 +12627,10 @@
var arg_request = buildVideo();
var arg_part = buildUnnamed2465();
var arg_autoLevels = true;
- var arg_onBehalfOfContentOwnerChannel = 'foo';
- var arg_stabilize = true;
var arg_notifySubscribers = true;
var arg_onBehalfOfContentOwner = 'foo';
+ var arg_onBehalfOfContentOwnerChannel = 'foo';
+ var arg_stabilize = true;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var obj = api.Video.fromJson(json);
@@ -12664,14 +12664,14 @@
unittest.expect(queryMap["part"], unittest.equals(arg_part));
unittest.expect(
queryMap["autoLevels"].first, unittest.equals("$arg_autoLevels"));
- unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
- unittest.equals(arg_onBehalfOfContentOwnerChannel));
- unittest.expect(
- queryMap["stabilize"].first, unittest.equals("$arg_stabilize"));
unittest.expect(queryMap["notifySubscribers"].first,
unittest.equals("$arg_notifySubscribers"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(queryMap["onBehalfOfContentOwnerChannel"].first,
+ unittest.equals(arg_onBehalfOfContentOwnerChannel));
+ unittest.expect(
+ queryMap["stabilize"].first, unittest.equals("$arg_stabilize"));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12683,10 +12683,10 @@
res
.insert(arg_request, arg_part,
autoLevels: arg_autoLevels,
- onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
- stabilize: arg_stabilize,
notifySubscribers: arg_notifySubscribers,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ onBehalfOfContentOwnerChannel: arg_onBehalfOfContentOwnerChannel,
+ stabilize: arg_stabilize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVideo(response);
@@ -12697,18 +12697,18 @@
var mock = HttpServerMock();
api.VideosResourceApi res = api.YoutubeApi(mock).videos;
var arg_part = buildUnnamed2466();
- var arg_maxWidth = 42;
var arg_chart = 'foo';
- var arg_maxHeight = 42;
- var arg_myRating = 'foo';
- var arg_regionCode = 'foo';
- var arg_id = buildUnnamed2467();
- var arg_pageToken = 'foo';
- var arg_locale = 'foo';
- var arg_onBehalfOfContentOwner = 'foo';
- var arg_videoCategoryId = 'foo';
var arg_hl = 'foo';
+ var arg_id = buildUnnamed2467();
+ var arg_locale = 'foo';
+ var arg_maxHeight = 42;
var arg_maxResults = 42;
+ var arg_maxWidth = 42;
+ var arg_myRating = 'foo';
+ var arg_onBehalfOfContentOwner = 'foo';
+ var arg_pageToken = 'foo';
+ var arg_regionCode = 'foo';
+ var arg_videoCategoryId = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -12737,26 +12737,26 @@
}
}
unittest.expect(queryMap["part"], unittest.equals(arg_part));
- unittest.expect(core.int.parse(queryMap["maxWidth"].first),
- unittest.equals(arg_maxWidth));
unittest.expect(queryMap["chart"].first, unittest.equals(arg_chart));
+ unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
+ unittest.expect(queryMap["id"], unittest.equals(arg_id));
+ unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
unittest.expect(core.int.parse(queryMap["maxHeight"].first),
unittest.equals(arg_maxHeight));
- unittest.expect(
- queryMap["myRating"].first, unittest.equals(arg_myRating));
- unittest.expect(
- queryMap["regionCode"].first, unittest.equals(arg_regionCode));
- unittest.expect(queryMap["id"], unittest.equals(arg_id));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
- unittest.expect(queryMap["onBehalfOfContentOwner"].first,
- unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["videoCategoryId"].first,
- unittest.equals(arg_videoCategoryId));
- unittest.expect(queryMap["hl"].first, unittest.equals(arg_hl));
unittest.expect(core.int.parse(queryMap["maxResults"].first),
unittest.equals(arg_maxResults));
+ unittest.expect(core.int.parse(queryMap["maxWidth"].first),
+ unittest.equals(arg_maxWidth));
+ unittest.expect(
+ queryMap["myRating"].first, unittest.equals(arg_myRating));
+ unittest.expect(queryMap["onBehalfOfContentOwner"].first,
+ unittest.equals(arg_onBehalfOfContentOwner));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(
+ queryMap["regionCode"].first, unittest.equals(arg_regionCode));
+ unittest.expect(queryMap["videoCategoryId"].first,
+ unittest.equals(arg_videoCategoryId));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -12767,18 +12767,18 @@
}), true);
res
.list(arg_part,
- maxWidth: arg_maxWidth,
chart: arg_chart,
- maxHeight: arg_maxHeight,
- myRating: arg_myRating,
- regionCode: arg_regionCode,
- id: arg_id,
- pageToken: arg_pageToken,
- locale: arg_locale,
- onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- videoCategoryId: arg_videoCategoryId,
hl: arg_hl,
+ id: arg_id,
+ locale: arg_locale,
+ maxHeight: arg_maxHeight,
maxResults: arg_maxResults,
+ maxWidth: arg_maxWidth,
+ myRating: arg_myRating,
+ onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
+ pageToken: arg_pageToken,
+ regionCode: arg_regionCode,
+ videoCategoryId: arg_videoCategoryId,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkVideoListResponse(response);
diff --git a/generated/googleapis/test/youtubeanalytics/v2_test.dart b/generated/googleapis/test/youtubeanalytics/v2_test.dart
index 4b3bd80..9851667 100644
--- a/generated/googleapis/test/youtubeanalytics/v2_test.dart
+++ b/generated/googleapis/test/youtubeanalytics/v2_test.dart
@@ -838,9 +838,9 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.GroupsResourceApi res = api.YoutubeAnalyticsApi(mock).groups;
+ var arg_id = 'foo';
var arg_mine = true;
var arg_onBehalfOfContentOwner = 'foo';
- var arg_id = 'foo';
var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -869,10 +869,10 @@
);
}
}
+ unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(queryMap["mine"].first, unittest.equals("$arg_mine"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
- unittest.expect(queryMap["id"].first, unittest.equals(arg_id));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -885,9 +885,9 @@
}), true);
res
.list(
+ id: arg_id,
mine: arg_mine,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
- id: arg_id,
pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
@@ -954,17 +954,17 @@
unittest.test('method--query', () {
var mock = HttpServerMock();
api.ReportsResourceApi res = api.YoutubeAnalyticsApi(mock).reports;
- var arg_startIndex = 42;
+ var arg_currency = 'foo';
+ var arg_dimensions = 'foo';
+ var arg_endDate = 'foo';
+ var arg_filters = 'foo';
+ var arg_ids = 'foo';
+ var arg_includeHistoricalChannelData = true;
+ var arg_maxResults = 42;
var arg_metrics = 'foo';
var arg_sort = 'foo';
- var arg_includeHistoricalChannelData = true;
- var arg_dimensions = 'foo';
- var arg_filters = 'foo';
- var arg_maxResults = 42;
- var arg_currency = 'foo';
- var arg_endDate = 'foo';
var arg_startDate = 'foo';
- var arg_ids = 'foo';
+ var arg_startIndex = 42;
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -992,26 +992,26 @@
);
}
}
- unittest.expect(core.int.parse(queryMap["startIndex"].first),
- unittest.equals(arg_startIndex));
- unittest.expect(
- queryMap["metrics"].first, unittest.equals(arg_metrics));
- unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
- unittest.expect(queryMap["includeHistoricalChannelData"].first,
- unittest.equals("$arg_includeHistoricalChannelData"));
- unittest.expect(
- queryMap["dimensions"].first, unittest.equals(arg_dimensions));
- unittest.expect(
- queryMap["filters"].first, unittest.equals(arg_filters));
- unittest.expect(core.int.parse(queryMap["maxResults"].first),
- unittest.equals(arg_maxResults));
unittest.expect(
queryMap["currency"].first, unittest.equals(arg_currency));
unittest.expect(
+ queryMap["dimensions"].first, unittest.equals(arg_dimensions));
+ unittest.expect(
queryMap["endDate"].first, unittest.equals(arg_endDate));
unittest.expect(
- queryMap["startDate"].first, unittest.equals(arg_startDate));
+ queryMap["filters"].first, unittest.equals(arg_filters));
unittest.expect(queryMap["ids"].first, unittest.equals(arg_ids));
+ unittest.expect(queryMap["includeHistoricalChannelData"].first,
+ unittest.equals("$arg_includeHistoricalChannelData"));
+ unittest.expect(core.int.parse(queryMap["maxResults"].first),
+ unittest.equals(arg_maxResults));
+ unittest.expect(
+ queryMap["metrics"].first, unittest.equals(arg_metrics));
+ unittest.expect(queryMap["sort"].first, unittest.equals(arg_sort));
+ unittest.expect(
+ queryMap["startDate"].first, unittest.equals(arg_startDate));
+ unittest.expect(core.int.parse(queryMap["startIndex"].first),
+ unittest.equals(arg_startIndex));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -1022,17 +1022,17 @@
}), true);
res
.query(
- startIndex: arg_startIndex,
+ currency: arg_currency,
+ dimensions: arg_dimensions,
+ endDate: arg_endDate,
+ filters: arg_filters,
+ ids: arg_ids,
+ includeHistoricalChannelData: arg_includeHistoricalChannelData,
+ maxResults: arg_maxResults,
metrics: arg_metrics,
sort: arg_sort,
- includeHistoricalChannelData: arg_includeHistoricalChannelData,
- dimensions: arg_dimensions,
- filters: arg_filters,
- maxResults: arg_maxResults,
- currency: arg_currency,
- endDate: arg_endDate,
startDate: arg_startDate,
- ids: arg_ids,
+ startIndex: arg_startIndex,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkQueryResponse(response);
diff --git a/generated/googleapis/test/youtubereporting/v1_test.dart b/generated/googleapis/test/youtubereporting/v1_test.dart
index d37c1fb..758ee5e 100644
--- a/generated/googleapis/test/youtubereporting/v1_test.dart
+++ b/generated/googleapis/test/youtubereporting/v1_test.dart
@@ -917,10 +917,10 @@
unittest.test('method--list', () {
var mock = HttpServerMock();
api.JobsResourceApi res = api.YoutubereportingApi(mock).jobs;
- var arg_pageToken = 'foo';
+ var arg_includeSystemManaged = true;
var arg_onBehalfOfContentOwner = 'foo';
var arg_pageSize = 42;
- var arg_includeSystemManaged = true;
+ var arg_pageToken = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -948,14 +948,14 @@
);
}
}
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(queryMap["includeSystemManaged"].first,
+ unittest.equals("$arg_includeSystemManaged"));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
- unittest.expect(queryMap["includeSystemManaged"].first,
- unittest.equals("$arg_includeSystemManaged"));
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -966,10 +966,10 @@
}), true);
res
.list(
- pageToken: arg_pageToken,
+ includeSystemManaged: arg_includeSystemManaged,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
pageSize: arg_pageSize,
- includeSystemManaged: arg_includeSystemManaged,
+ pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkListJobsResponse(response);
@@ -1048,11 +1048,11 @@
api.JobsReportsResourceApi res =
api.YoutubereportingApi(mock).jobs.reports;
var arg_jobId = 'foo';
- var arg_startTimeAtOrAfter = 'foo';
+ var arg_createdAfter = 'foo';
var arg_onBehalfOfContentOwner = 'foo';
var arg_pageSize = 42;
var arg_pageToken = 'foo';
- var arg_createdAfter = 'foo';
+ var arg_startTimeAtOrAfter = 'foo';
var arg_startTimeBefore = 'foo';
var arg_$fields = 'foo';
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
@@ -1090,16 +1090,16 @@
);
}
}
- unittest.expect(queryMap["startTimeAtOrAfter"].first,
- unittest.equals(arg_startTimeAtOrAfter));
+ unittest.expect(
+ queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
unittest.expect(queryMap["onBehalfOfContentOwner"].first,
unittest.equals(arg_onBehalfOfContentOwner));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(
- queryMap["createdAfter"].first, unittest.equals(arg_createdAfter));
+ unittest.expect(queryMap["startTimeAtOrAfter"].first,
+ unittest.equals(arg_startTimeAtOrAfter));
unittest.expect(queryMap["startTimeBefore"].first,
unittest.equals(arg_startTimeBefore));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
@@ -1112,11 +1112,11 @@
}), true);
res
.list(arg_jobId,
- startTimeAtOrAfter: arg_startTimeAtOrAfter,
+ createdAfter: arg_createdAfter,
onBehalfOfContentOwner: arg_onBehalfOfContentOwner,
pageSize: arg_pageSize,
pageToken: arg_pageToken,
- createdAfter: arg_createdAfter,
+ startTimeAtOrAfter: arg_startTimeAtOrAfter,
startTimeBefore: arg_startTimeBefore,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {